/** * This file was auto-generated by Fern from our API Definition. */ import * as Flatfile from "../../../index"; /** * @example * { * title: "My Document 1", * body: "My information", * actions: [{ * operation: "submitAction", * mode: Flatfile.ActionMode.Foreground, * label: "Submit", * description: "Submit data to webhook.site", * primary: true * }] * } * * @example * { * title: "Updated Title", * body: "Updated My information" * } */ export interface DocumentConfig { title: string; body: string; /** Certain treatments will cause your Document to look or behave differently. */ treatments?: string[]; actions?: Flatfile.Action[]; }