Перейти к содержимому
FastOffice

DTO · api-edit.ts · часть 4

Часть 4 из 6: 49 интерфейсов и 11 псевдонимов типов shell-contract — правка документа: текстовые транзакции, форматирование, таблицы, буфер обмена, история и команды меню.

Источник: apps/fastdoc-shell/src/shell-contract/api-edit.ts.

Каталог разбит на несколько страниц: часть 1 · часть 2 · часть 3 · часть 4 · часть 5 · часть 6.

Типы на этой странице — 60

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2800

interface D37TableSelectionClearFormattingResult {
schema: "fastdoc.shell.d37-table-selection-clear-formatting.v1";
operationKind: "clear-table-cell-formatting-range";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
fillResultKind: string | null;
fillWritebackResultKind: string | null;
borderResultKind: string | null;
borderWritebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
fillSnapshot: unknown;
borderSnapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2818

interface D37TableSelectionClearFormattingCommandState {
schema: "fastdoc.shell.d37-table-selection-clear-formatting-command-state.v1";
operationKind: "clear-table-cell-formatting-range";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2834

interface D37TableSelectionClearContentFormatRequest {
selection: D37TableSelectionCellRangeFormatRange;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2840

interface D37TableSelectionClearContentFormatResult {
schema: "fastdoc.shell.d37-table-selection-clear-content-format.v1";
operationKind: "clear-table-cell-content-format-range";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2855

interface D37TableSelectionClearContentFormatCommandState {
schema: "fastdoc.shell.d37-table-selection-clear-content-format-command-state.v1";
operationKind: "clear-table-cell-content-format-range";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2871

type D37TableSelectionAllBordersAction = "set-selected-all-borders" | "clear-selected-all-borders";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2874

interface D37TableSelectionAllBordersRequest {
selection: D37TableSelectionCellRangeFormatRange;
action: D37TableSelectionAllBordersAction;
borderColorRgb?: string | null;
borderStyle?: "nil" | "single" | "dotted" | "dashed" | "dashSmallGap" | "thick" | null;
borderSizeEighths?: number | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2884

interface D37TableSelectionAllBordersResult {
schema: "fastdoc.shell.d37-table-selection-all-borders.v1";
action: D37TableSelectionAllBordersAction;
operationKind: "set-table-cell-all-borders-range" | "clear-table-cell-all-borders-range";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
computedBorderColorRgb: string | null;
computedBorderStyle: string | null;
computedBorderSizeEighths: number | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2903

interface D37TableSelectionAllBordersCommandState {
schema: "fastdoc.shell.d37-table-selection-all-borders-command-state.v1";
action: D37TableSelectionAllBordersAction;
operationKind: "set-table-cell-all-borders-range" | "clear-table-cell-all-borders-range";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
computedBorderColorRgb: string | null;
computedBorderStyle: string | null;
computedBorderSizeEighths: number | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2923

type D37TableSelectionOutsideBordersAction = "set-selected-outside-borders" | "clear-selected-outside-borders";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2926

interface D37TableSelectionOutsideBordersRequest {
selection: D37TableSelectionCellRangeFormatRange;
action: D37TableSelectionOutsideBordersAction;
borderColorRgb?: string | null;
borderStyle?: "single" | "dotted" | "dashed" | "dashSmallGap" | "thick" | null;
borderSizeEighths?: number | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2936

interface D37TableSelectionOutsideBordersResult {
schema: "fastdoc.shell.d37-table-selection-outside-borders.v1";
action: D37TableSelectionOutsideBordersAction;
operationKind: "set-table-cell-outside-borders-range" | "clear-table-cell-outside-borders-range";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
computedBorderColorRgb: string | null;
computedBorderStyle: string | null;
computedBorderSizeEighths: number | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2955

interface D37TableSelectionOutsideBordersCommandState {
schema: "fastdoc.shell.d37-table-selection-outside-borders-command-state.v1";
action: D37TableSelectionOutsideBordersAction;
operationKind: "set-table-cell-outside-borders-range" | "clear-table-cell-outside-borders-range";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
computedBorderColorRgb: string | null;
computedBorderStyle: string | null;
computedBorderSizeEighths: number | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2975

type D37TableSelectionInsideBordersAction = "set-selected-inside-borders" | "clear-selected-inside-borders";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2978

interface D37TableSelectionInsideBordersRequest {
selection: D37TableSelectionCellRangeFormatRange;
action: D37TableSelectionInsideBordersAction;
borderColorRgb?: string | null;
borderStyle?: "single" | "dotted" | "dashed" | "dashSmallGap" | "thick" | null;
borderSizeEighths?: number | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:2988

interface D37TableSelectionInsideBordersResult {
schema: "fastdoc.shell.d37-table-selection-inside-borders.v1";
action: D37TableSelectionInsideBordersAction;
operationKind: "set-table-cell-inside-borders-range" | "clear-table-cell-inside-borders-range";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
computedBorderColorRgb: string | null;
computedBorderStyle: string | null;
computedBorderSizeEighths: number | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3007

interface D37TableSelectionInsideBordersCommandState {
schema: "fastdoc.shell.d37-table-selection-inside-borders-command-state.v1";
action: D37TableSelectionInsideBordersAction;
operationKind: "set-table-cell-inside-borders-range" | "clear-table-cell-inside-borders-range";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
computedBorderColorRgb: string | null;
computedBorderStyle: string | null;
computedBorderSizeEighths: number | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3027

type D37TableStructureEditMode = "delete-table" | "delete-cell" | "delete-cell-shift-up" | "split-table" | "insert-row" | "insert-rows" | "delete-row" | "delete-rows" | "insert-column" | "insert-columns" | "delete-column" | "delete-columns";

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3041

type D37TableSelectionStructureEditAction = "insert-row-above" | "insert-row-below" | "insert-column-left" | "insert-column-right" | "split-table" | "delete-selected-rows" | "delete-selected-columns";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3050

interface D37TableStructureEditRequest {
bodyBlockIndex: number;
editMode: D37TableStructureEditMode;
rowIndex?: number | null;
columnIndex?: number | null;
spanCount?: number | null;
clipboardText?: string | null;
cellTexts?: string[] | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3062

interface D37TableStructureEditResult {
schema: "fastdoc.shell.d37-table-structure-edit.v1";
operationKind: "delete-table" | "delete-table-cell" | "delete-table-cell-shift-up" | "split-table" | "insert-table-row" | "insert-table-rows" | "delete-table-row" | "delete-table-rows" | "insert-table-column" | "insert-table-columns" | "delete-table-column" | "delete-table-columns";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
editMode: D37TableStructureEditMode;
bodyBlockIndex: number;
targetIndex: number;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
clipboardText: string | null;
cellTexts: string[];
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3093

interface D37TableSelectionRange {
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
rowCount: number;
columnCount: number;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3101

interface D37TableSelectionStructureEditRequest {
selection: D37TableSelectionRange;
action: D37TableSelectionStructureEditAction;
clipboardText?: string | null;
cellTexts?: string[] | null;
tableInputProvenance?: "mouse-internal-divider-intent" | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3111

interface D37TableSelectionStructureEditResult {
schema: "fastdoc.shell.d37-table-selection-structure-edit.v1";
action: D37TableSelectionStructureEditAction;
selection: D37TableSelectionRange;
computedEditMode: D37TableStructureEditMode;
computedTargetIndex: number;
structureEditResult: D37TableStructureEditResult;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3120

interface D37TableSelectionStructureCommandState {
schema: "fastdoc.shell.d37-table-selection-structure-command-state.v1";
action: D37TableSelectionStructureEditAction;
selection: D37TableSelectionRange;
computedEditMode: D37TableStructureEditMode;
computedTargetIndex: number;
operationKind: D37TableStructureEditResult["operationKind"];
canApply: boolean;
disabledReason: string | null;
canonicalReason: string | null;
canonicalDetail: string | null;
documentPath: string | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3141

interface D37TableDimensionsRequest {
bodyBlockIndex: number;
rowIndex?: number | null;
rowHeightTwips?: number | null;
rowHeightRule?: "exact" | "atLeast" | "at_least" | "auto" | "automatic" | null;
fitRowHeightToContents?: boolean | null;
allowRowToBreakAcrossPages?: boolean | null;
columnIndex?: number | null;
columnWidthTwips?: number | null;
tableWidthTwips?: number | null;
tableIndentTwips?: number | null;
tableAlignment?: "left" | "center" | "right" | null;
pairedColumnIndex?: number | null;
pairedColumnWidthTwips?: number | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3159

interface D37TableDimensionsResult {
schema: "fastdoc.shell.d37-table-dimensions.v1";
operationKind: "table-row-column-dimensions";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
rowIndex: number | null;
columnIndex: number | null;
rowOperationKind: string | null;
rowResultKind: string | null;
rowWritebackResultKind: string | null;
rowDimensionTwips: number | null;
rowHeightRule: string | null;
allowRowToBreakAcrossPages: boolean | null;
columnOperationKind: string | null;
columnResultKind: string | null;
columnWritebackResultKind: string | null;
columnDimensionTwips: number | null;
rowCount: number | null;
columnCount: number | null;
rowSnapshot: unknown;
columnSnapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3184

interface D37TableColumnAutofitRequest {
bodyBlockIndex: number;
columnIndex: number;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3191

interface D37TableColumnAutofitResult {
schema: "fastdoc.shell.d37-table-column-autofit.v1";
operationKind: "autofit-table-column-to-content";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
columnIndex: number;
resultKind: string | null;
writebackResultKind: string | null;
tableDimensionTwips: number | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3207

type D37TableSelectionColumnAutofitStrategy = "widest-content-column";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3209

interface D37TableSelectionColumnAutofitRange {
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
rowCount: number;
columnCount: number;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3217

interface D37TableSelectionColumnAutofitRequest {
selection: D37TableSelectionColumnAutofitRange;
strategy: D37TableSelectionColumnAutofitStrategy;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3224

interface D37TableSelectionColumnAutofitResult {
schema: "fastdoc.shell.d37-table-selection-column-autofit.v1";
strategy: D37TableSelectionColumnAutofitStrategy;
selection: D37TableSelectionColumnAutofitRange;
computedColumnIndex: number;
computedColumnTextLength: number;
columnTextLengths: number[];
columnAutofitResult: D37TableColumnAutofitResult;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3234

interface D37TableSelectionColumnAutofitCommandState {
schema: "fastdoc.shell.d37-table-selection-column-autofit-command-state.v1";
operationKind: "autofit-table-column-to-content";
strategy: D37TableSelectionColumnAutofitStrategy;
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionColumnAutofitRange;
computedColumnIndex: number | null;
computedColumnTextLength: number | null;
columnTextLengths: number[];
resultKind: string | null;
writebackResultKind: string | null;
tableDimensionTwips: number | null;
rowCount: number | null;
columnCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3254

type D37TableSelectionRowFitAction = "fit-selected-table-row-to-contents";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3256

interface D37TableSelectionRowFitRange {
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
rowCount: number;
columnCount: number;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3264

interface D37TableSelectionRowFitRequest {
selection: D37TableSelectionRowFitRange;
action?: D37TableSelectionRowFitAction | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3271

interface D37TableSelectionRowFitResult {
schema: "fastdoc.shell.d37-table-selection-row-fit.v1";
action: D37TableSelectionRowFitAction;
selection: D37TableSelectionRowFitRange;
computedRowIndex: number;
rowFitResult: D37TableDimensionsResult;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3279

interface D37TableSelectionRowFitCommandState {
schema: "fastdoc.shell.d37-table-selection-row-fit-command-state.v1";
operationKind: "table-row-column-dimensions";
action: D37TableSelectionRowFitAction;
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionRowFitRange;
computedRowIndex: number | null;
rowOperationKind: string | null;
rowResultKind: string | null;
rowWritebackResultKind: string | null;
rowDimensionTwips: number | null;
rowHeightRule: string | null;
rowCount: number | null;
columnCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3299

interface D37TableCellSpacingRequest {
bodyBlockIndex: number;
spacingTwips: number;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3306

interface D37TableCellSpacingResult {
schema: "fastdoc.shell.d37-table-cell-spacing.v1";
operationKind: "set-table-cell-spacing";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
resultKind: string | null;
writebackResultKind: string | null;
spacingTwips: number | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3321

interface D37TableCellSpacingCommandState {
schema: "fastdoc.shell.d37-table-cell-spacing-command-state.v1";
operationKind: "set-table-cell-spacing";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
bodyBlockIndex: number;
resultKind: string | null;
writebackResultKind: string | null;
spacingTwips: number | null;
rowCount: number | null;
columnCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3337

type D37TableWrappingStyleMode = "inline" | "floating";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3339

interface D37TableWrappingStyleRequest {
bodyBlockIndex: number;
wrappingStyle: D37TableWrappingStyleMode;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3346

interface D37TableWrappingStyleResult {
schema: "fastdoc.shell.d37-table-wrapping-style.v1";
operationKind: "set-table-wrapping-inline" | "set-table-wrapping-floating";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
wrappingStyle: D37TableWrappingStyleMode;
resultKind: string | null;
writebackResultKind: string | null;
tableWrappingStyle: string | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3362

interface D37TableWrappingStyleCommandState {
schema: "fastdoc.shell.d37-table-wrapping-style-command-state.v1";
operationKind: "set-table-wrapping-inline" | "set-table-wrapping-floating";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
bodyBlockIndex: number;
wrappingStyle: D37TableWrappingStyleMode;
resultKind: string | null;
writebackResultKind: string | null;
tableWrappingStyle: string | null;
rowCount: number | null;
columnCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3379

interface D37TableFloatingPositionRequest {
bodyBlockIndex: number;
leftFromTextTwips: number;
rightFromTextTwips: number;
topFromTextTwips: number;
bottomFromTextTwips: number;
positionXTwips: number;
positionYTwips: number;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3391

interface D37TableFloatingPositionResult {
schema: "fastdoc.shell.d37-table-floating-position.v1";
operationKind: "set-table-floating-position";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
leftFromTextTwips: number;
rightFromTextTwips: number;
topFromTextTwips: number;
bottomFromTextTwips: number;
positionXTwips: number;
positionYTwips: number;
resultKind: string | null;
writebackResultKind: string | null;
tableWrappingStyle: string | null;
tableFloatingLeftFromTextTwips: number | null;
tableFloatingRightFromTextTwips: number | null;
tableFloatingTopFromTextTwips: number | null;
tableFloatingBottomFromTextTwips: number | null;
tableFloatingPositionXTwips: number | null;
tableFloatingPositionYTwips: number | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3418

interface D37TableFloatingPositionCommandState {
schema: "fastdoc.shell.d37-table-floating-position-command-state.v1";
operationKind: "set-table-floating-position";
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
bodyBlockIndex: number;
leftFromTextTwips: number;
rightFromTextTwips: number;
topFromTextTwips: number;
bottomFromTextTwips: number;
positionXTwips: number;
positionYTwips: number;
resultKind: string | null;
writebackResultKind: string | null;
tableWrappingStyle: string | null;
tableFloatingLeftFromTextTwips: number | null;
tableFloatingRightFromTextTwips: number | null;
tableFloatingTopFromTextTwips: number | null;
tableFloatingBottomFromTextTwips: number | null;
tableFloatingPositionXTwips: number | null;
tableFloatingPositionYTwips: number | null;
rowCount: number | null;
columnCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3446

type D37TableAlignmentMode = "left" | "center" | "right";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3448

interface D37TableAlignmentRequest {
bodyBlockIndex: number;
alignment: D37TableAlignmentMode;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3455

interface D37TableAlignmentResult {
schema: "fastdoc.shell.d37-table-alignment.v1";
operationKind: "set-table-alignment";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
alignment: D37TableAlignmentMode;
resultKind: string | null;
writebackResultKind: string | null;
tableAlignment: string | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3471

interface D37TableAltTextRequest {
bodyBlockIndex: number;
title: string;
description: string;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3479

interface D37TableAltTextResult {
schema: "fastdoc.shell.d37-table-alt-text.v1";
operationKind: "set-table-alt-text";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
title: string | null;
description: string | null;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3495

type D37TableSelectionAlignmentAction = "align-selected-table-left" | "align-selected-table-center" | "align-selected-table-right";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3498

interface D37TableSelectionAlignmentRange {
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
rowCount: number;
columnCount: number;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3506

interface D37TableSelectionAlignmentRequest {
selection: D37TableSelectionAlignmentRange;
action: D37TableSelectionAlignmentAction;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3513

interface D37TableSelectionAlignmentResult {
schema: "fastdoc.shell.d37-table-selection-alignment.v1";
action: D37TableSelectionAlignmentAction;
selection: D37TableSelectionAlignmentRange;
computedAlignment: D37TableAlignmentMode;
alignmentResult: D37TableAlignmentResult;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3521

interface D37TableSelectionAlignmentCommandState {
schema: "fastdoc.shell.d37-table-selection-alignment-command-state.v1";
operationKind: "set-table-alignment";
action: D37TableSelectionAlignmentAction;
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionAlignmentRange;
computedAlignment: D37TableAlignmentMode;
resultKind: string | null;
writebackResultKind: string | null;
tableAlignment: string | null;
rowCount: number | null;
columnCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-edit.ts:3539

type D37TableWidthMode = "centimeters" | "percent" | "fit-contents" | "fit-window" | "fixed-column-width";

Ассистент документации

Ответ собран из документации и может быть неточным — сверяйтесь с источниками.