Filters
Hierarchy
- Schema
- Filters
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
options: SchemaOptions
Returns Filters
Properties
apiBaseUrl
optionalapiEndpoints
optionalauthorization
events
optionalfields
id
lastChangeTime
model
name
objectNamePlural
objectNameSingular
remote
strict
optionaltitle
type
Methods
addField
Parameters
field: Record<string, unknown> | SchemaField
Returns void
build
Parameters
options: any
Returns void
getColumns
Parameters
filters: any
Returns any[]
getData
Returns { apiBaseUrl: string; apiEndpoints: ApiEndpoints; authorization: AuthorizationCredentials; fields: ArrayIndexed<SchemaField>; id: number; name: string; objectNamePlural: string; objectNameSingular: string; remote: boolean; title: string; type: SchemaType }
apiBaseUrl: string
apiEndpoints: ApiEndpoints
authorization: AuthorizationCredentials
fields: ArrayIndexed<SchemaField>
id: number
name: string
objectNamePlural: string
objectNameSingular: string
remote: boolean
title: string
type: SchemaType
getField
Parameters
field: any
Returns SchemaField
getFieldByType
Parameters
type: any
Returns any
getFieldNames
Returns string[]
getFields
Returns ArrayIndexed<SchemaField>
loaded
Returns boolean
setApiBaseUrl
Parameters
url: string
Returns void
setApiEndpoints
Parameters
endpoints: ApiEndpoint[]
Returns ApiEndpoints
setAuthorization
Parameters
credentials: AuthorizationCredentials
Returns void
setFields
Parameters
fields: any[]
Returns void
setId
Parameters
id: number
Returns void
setName
Parameters
name: string
Returns void
setObjectNamePlural
Parameters
namePlural: string
Returns void
setObjectNameSingular
Parameters
nameSingular: string
Returns void
setRemote
Parameters
value: boolean
Returns void
setStrict
Parameters
value: boolean
Returns void
setTitle
Parameters
title: string
Returns void
setType
Parameters
val: SchemaType
Returns void
update
Parameters
options: any
Returns void
Schema class contains the list of fields with their options for MapSVG database or regions tables