Properties
Private
Readonly
fieldInfo
Private
Readonly
objectInfo
Private
Readonly
storeVersion
storeVersion: 2 = 2
Methods
get
- get(type): undefined | SchemaData<CustomObjectMetadata, DescribeSObjectResult, EntityDefinition>
-
- get(type, field): undefined | SchemaData<CustomFieldMetadata, Field, FieldDefinition>
-
Parameters
-
type: string
-
field: string
- get(type, field?): undefined | SchemaData<CustomObjectMetadata, DescribeSObjectResult, EntityDefinition> | SchemaData<CustomFieldMetadata, Field, FieldDefinition>
-
Parameters
-
type: string
-
Optional
field: string
has
- has(type): boolean
-
Returns boolean
load
- load(data): Promise<SchemaDataStore>
-
Parameters
-
data: string | object | Buffer
Private
loadCacheVersion1
- loadCacheVersion1(data): void
-
Returns void
Private
loadCacheVersion2
- loadCacheVersion2(data): void
-
Returns void
Private
mergeStoreData
- mergeStoreData<D, T, M>(store, key, data): void
-
Parameters
-
store: Map<string, SchemaData<T, D, M>>
-
key: string
-
data: SchemaData<T, D, M>
Returns void
saveToFile
- saveToFile(file): Promise<void>
-
Returns Promise<void>
Add Salesforce table schema data to the store so it can be accessed at any time.