@makehq/sdk
    Preparing search index...

    Type Alias ListTemplatesOptions<C>

    Options for listing templates.

    type ListTemplatesOptions<C extends keyof Template = never> = {
        cols?: C[] | ["*"];
        pg?: Partial<Pagination<Template>>;
        public?: boolean;
        teamId?: number;
        usedApps?: string[];
    }

    Type Parameters

    • C extends keyof Template = never

      Keys of the Template type to include in the response

    Index

    Properties

    cols?: C[] | ["*"]

    Specific columns/fields to include in the response

    pg?: Partial<Pagination<Template>>

    Pagination options

    public?: boolean

    Filter by public status; omit to get every status

    teamId?: number

    Filter templates by the owning team's ID

    usedApps?: string[]

    Filter templates by apps used