Properties
apiUrl
apiUrl: string = "/rest/"
Optional apiVersion
apiVersion: any
defaultLocale
defaultLocale: string = "en"
Private enumsLoadingListeners
enumsLoadingListeners: ((enums: any[]) => {})[] = ...
Private localeChangeListeners
localeChangeListeners: ((locale: string) => {})[] = ...
Private messagesLoadingListeners
restClientId
restClientId: string = "client"
restClientSecret
restClientSecret: string = "secret"
Private tokenExpiryListeners
tokenExpiryListeners: (() => {})[] = ...
Private Static LOCALE_STORAGE_KEY
LOCALE_STORAGE_KEY: string = "jmixLocale"
Static NOT_SUPPORTED_BY_API_VERSION
NOT_SUPPORTED_BY_API_VERSION: string = 'Not supported by current REST API version'
Private Static REST_TOKEN_STORAGE_KEY
REST_TOKEN_STORAGE_KEY: string = "jmixRestAccessToken"
Private Static USER_NAME_STORAGE_KEY
USER_NAME_STORAGE_KEY: string = "jmixRestUserName"
Shorthand for fetch that already has 'json' as default 'handleAs' property