Type Alias CreateTemplateRequest

type CreateTemplateRequest = {
    description?: string;
    name: string;
    sourceAppAction?: "validate" | "replace";
    sourceAppId?: string;
    temporaryContentId: string;
}
Index

Properties

description?: string

Template description

name: string

Template name

sourceAppAction?: "validate" | "replace"

Specifies the action to perform with the given source app id. Use "validate" to verify that the template source app matches the provided value. Use "replace" to migrate the template to a different app by replacing the source app id.

sourceAppId?: string

The ID of the app that this template is using as data source. The id stored in the template file metadata is used if no value is specified.

temporaryContentId: string

The ID of a previously uploaded temporary content file