Lazy access to Salesforce schema objects, instead of pre-loading all schema data schema and describe calls are made when needed. This speeds up initial loading time but the total time needed for describing all objects will be significantly higher.

Hierarchy

  • ToolingApiSchemaAccess

Constructors

Properties

chunkSize: number = 50

Default chunk size for fetching entities

deferredProcessor: DeferredWorkQueue<string, any> = ...
entityDefinition: {
    fields: string[];
    filter: {
        IsDeprecatedAndHidden: boolean;
        IsEverCreatable: boolean;
        IsQueryable: boolean;
        KeyPrefix: {
            op: string;
            value: null;
        };
    };
    name: string;
} = ...

Type declaration

  • fields: string[]
  • filter: {
        IsDeprecatedAndHidden: boolean;
        IsEverCreatable: boolean;
        IsQueryable: boolean;
        KeyPrefix: {
            op: string;
            value: null;
        };
    }
    • IsDeprecatedAndHidden: boolean
    • IsEverCreatable: boolean
    • IsQueryable: boolean
    • KeyPrefix: {
          op: string;
          value: null;
      }
      • op: string
      • value: null
  • name: string
entityDefinitionFilter: {
    IsDeprecatedAndHidden: boolean;
    IsEverCreatable: boolean;
    IsQueryable: boolean;
    KeyPrefix: {
        op: string;
        value: null;
    };
} = ...

Type declaration

  • IsDeprecatedAndHidden: boolean
  • IsEverCreatable: boolean
  • IsQueryable: boolean
  • KeyPrefix: {
        op: string;
        value: null;
    }
    • op: string
    • value: null
entityDefinitionObjectFields: string[] = ...
entityDefinitionObjectName: "EntityDefinition" = 'EntityDefinition'
excludedObjectListPostFixes: string[] = ...
fieldDefinition: {
    fields: string[];
    name: string;
} = ...

Type declaration

  • fields: string[]
  • name: string
fieldDefinitionObjectFields: string[] = ...
fieldDefinitionObjectName: "FieldDefinition" = 'FieldDefinition'
logger: Logger
objectListChunkSize: 2000 = 2000
parallelism: number = 5

Number of parallel processing threads for fetching entity definitions from the server

queryService: QueryService
schemaStore: SchemaDataStore

Methods