AssistantProposal: {
    area: AssistantArea;
    base?: unknown;
    fields: AssistantField[];
    flagged: boolean;
    id: string;
    op: "add" | "update";
    target: Record<string, string>;
    title: string;
}

Type declaration

  • area: AssistantArea
  • Optionalbase?: unknown

    For areas whose route replaces the whole list (overrides): the stored rows to merge the change into before saving.

  • fields: AssistantField[]
  • flagged: boolean

    True when any field carries danger. Never tick a flagged row by default.

  • id: string

    Pass to sendAssistantOutcome. Valid for an hour.

  • op: "add" | "update"
  • target: Record<string, string>

    Which item: { username } for creators, { name } for auto roles, { priority } for overrides, {} otherwise.

  • title: string