import type * as Webflow from "../../../../index"; /** * @example * { * displayName: "Blog Posts", * singularName: "Blog Post", * slug: "posts", * fields: [{ * isRequired: true, * type: "PlainText", * displayName: "Title", * helpText: "The title of the blog post" * }, { * isRequired: true, * type: "RichText", * displayName: "Content", * helpText: "The content of the blog post" * }, { * isRequired: true, * type: "Reference", * displayName: "Author", * helpText: "The author of the blog post", * metadata: { * collectionId: "23cc2d952d4e4631ffd4345d2743db4e" * } * }] * } */ export interface CollectionsCreateRequest { /** Name of the collection. Each collection name must be distinct. */ displayName: string; /** Singular name of each item. */ singularName: string; /** Part of a URL that identifier */ slug?: string; /** An array of custom fields to add to the collection */ fields?: Webflow.FieldCreate[]; }