interface UIExtension {
    extension: {
        fieldTypes: FieldType[];
        name: string;
        parameters?: {
            installation?: ParameterDefinition<InstallationParameterType>[];
            instance?: ParameterDefinition<ParameterType>[];
        };
        sidebar?: boolean;
        src?: string;
        srcdoc?: string;
    };
    parameters?: DefinedParameters;
    sys: ExtensionSysProps;
    delete(): Promise<void>;
    toPlainObject(): UIExtensionProps;
    update(): Promise<UIExtension>;
}

Hierarchy (view full)

Properties

extension: {
    fieldTypes: FieldType[];
    name: string;
    parameters?: {
        installation?: ParameterDefinition<InstallationParameterType>[];
        instance?: ParameterDefinition<ParameterType>[];
    };
    sidebar?: boolean;
    src?: string;
    srcdoc?: string;
}

Type declaration

parameters?: DefinedParameters

Values for installation parameters

sys: ExtensionSysProps

Methods

  • Deletes this object on the server.

    Returns Promise<void>

    Promise for the deletion. It contains no data, but the Promise error case should be handled.

  • Sends an update to the server with any changes made to the object's properties

    Returns Promise<UIExtension>

    Object returned from the server with updated changes.