Configuration for the Datapack Exporter instance.
PrivatedatapackReadonlydefinitionsConfiguration for the Datapack Exporter instance.
PrivatefieldPrivate ReadonlyloggerPrivate StaticdatapackPrivatecollectPrivateevalGenerate a datapack export for an object by the object id.
The VlocityDatapackSObject to export.
Optionalcontext: { scope?: string }Optional context for the export.
The DatapackExapndResult containing the exported datapack.
PrivateexpandPrivatenormalizeOptionalextension: string
Represents a Datapack Expander that expand an exported datapack into a list of files that can be written to the file system or a zip archive. The expander can be used to expand a single datapack or a list of datapacks.
Example