Private
globalDefault configuration applied to all SObjects
Private
Readonly
mergePrivate
scopedPrivate
sobjectDatapack export Configuration keyed by SObject type.
Adds a Datapack export definition to the configuration store. Replaces any existing configuration.
The item to add. Can be either a string representing the object type or an ObjectRef.
The configuration for the item.
Private
createOptional
config: Partial<DatapackExportDefinition>Retrieves a definition from the DatapackExportDefinition object.
The item from which to retrieve the value.
The DatapackExportDefinition for the specified item.
Retrieves the value of a specific key from a given item in the DatapackExportDefinition.
The item from which to retrieve the value.
The key of the value to retrieve.
The value associated with the specified key.
Private
getRetrieves the DatapackExportDefinition for the specified objectType and scope. If the definition does not exist, it creates a new one and stores it in the configuration store.
The type of the object for which to retrieve the definition.
The scope of the definition. Can be undefined.
The DatapackExportDefinition for the specified objectType.
Private
getOptional
configKey: keyof ExportFieldDefinitionOptional
field: stringLoads the provided configuration into the datapack exporter.
The configuration object containing datapack export definitions.
Get an array with all standard object definitions
Sets a value in the DatapackExportDefinition object.
The object reference.
The key of the value to set.
The value to set.
Class that stores and manages the configuration for exporting and expanding datapacks. Used by both the DatapackExporter and DatapackExpander to determine how to export and expand datapacks. Configurations can be loaded from a disk or added programmatically to the definition store.