The data representation for a Type to be imported that is persisted as a Type in the Project.

interface TypeImport {
    description?: LocalizedString;
    fieldDefinitions?: FieldDefinition[];
    key: string;
    name: LocalizedString;
    resourceTypeIds: string[];
}

Hierarchy (view full)

Properties

description?: LocalizedString

Maps to Type.description.

fieldDefinitions?: FieldDefinition[]

Maps to Type.fieldDefinitions.

key: string

User-defined unique identifier for the Type. If a Type with this key exists, it will be updated with the imported data.

Maps to Type.name.

resourceTypeIds: string[]

Maps to Type.resourceTypeIds. This value cannot be changed after the Type is imported.