/** * This file was auto-generated by Fern from our API Definition. */ import * as Flatfile from "../../../index"; /** * Configuration for flag mutation operations * * @example * { * type: "flag", * operation: Flatfile.FlagOperation.Apply, * flag: { * slug: "important", * label: "Important", * colorHex: "#FF0000" * } * } * * @example * { * type: "flag", * operation: Flatfile.FlagOperation.Delete, * flag: { * slug: "important" * } * } */ export interface FlagMutationConfig { /** The type of mutation (always "flag") */ type: "flag"; /** The operation to perform */ operation: Flatfile.FlagOperation; /** The flag data for the operation */ flag: Flatfile.FlagMutationConfigData; /** Array of flag slugs for delete operation */ flags?: string[]; }