@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias CardData<Subject, Props>

    CardData: {
        editable?: boolean;
        extrinsic?: boolean;
        ignorePaths?: ReadonlyArray<string>;
        projection?: ProjectionModel;
        subject: Subject;
    } & Props

    Surface data for card role.

    Type Parameters

    • Subject = unknown
    • Props extends {} = {}

    Type declaration

    • Optionaleditable?: boolean

      When true, card surfaces should render an editable variant of the subject (full-bleed editor) rather than a read-only preview. Hosts opt in per-cell — e.g. plugin-board passes editable for in-place editing in grid cells.

    • Optionalextrinsic?: boolean

      Set when the card is sized by its container (e.g. a frame on a canvas) rather than its intrinsic content, so the surface can fit its content to the box instead of sizing to it.

    • OptionalignorePaths?: ReadonlyArray<string>

      Paths to omit from the card body (caller-defined redundancy; e.g. Kanban hides pivot). Dynamic-schema cards honor this; fixed-shape cards may ignore.

    • Optionalprojection?: ProjectionModel

      Optional projection model (set by form/kanban/pipeline consumers that pre-project the subject).

    • subject: Subject