vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Interface ExportFieldDefinition

    interface ExportFieldDefinition {
        expandArray?: boolean;
        fileName?: string | string[];
        processor?: string;
    }

    Hierarchy

    • ExpandFileDefinition
      • ExportFieldDefinition
    Index

    Properties

    expandArray?: boolean

    When true expands an array value in the datapack to individual files.

    fileName?: string | string[]

    When set the data in the field is exported into a separate file with the specified name. The name can be a string which is evaluated as a template to include values from the datapack:

    fileName: "data_{Name}.json"
    

    If no extension is provided the extension is inferred from the field type:

    • json: .json
    • binary: .bin
    processor?: string

    Processor function snippet to use for processing the field data before exporting.