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

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

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

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

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

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

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

type D37TablePencilEraserSemanticOperation = "eraser-merge-horizontal" | "merge-rectangular" | "merge-vertical" | "pencil-split-cell" | "pencil-split-cell-vertical" | "pencil-split-cell-rectangular" | "draw-table-partial-span-cell-split" | "split-cell-grid";

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

interface D37TablePencilEraserSemanticRequest {
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
spanCount: number;
rowCount?: number | null;
columnCount?: number | null;
operation: D37TablePencilEraserSemanticOperation;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TablePencilEraserSemanticResult {
schema: "fastdoc.shell.d37-table-pencil-eraser-semantic.v1";
operationKind: "eraser-merge-table-cells-horizontal" | "merge-table-cells-rectangular" | "merge-table-cells-vertical" | "pencil-split-table-cell" | "pencil-split-table-cell-vertical" | "pencil-split-table-cell-rectangular" | "split-table-cell-grid";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
spanCount: number | null;
requestedSpanCount: number;
tableInputProvenance: 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:2238

type D37TableSelectionPencilEraserAction = "merge-selected-horizontal" | "merge-selected-rectangular" | "merge-selected-vertical" | "split-selected-horizontal" | "split-selected-vertical" | "split-selected-rectangular" | "split-draw-table-ordinary-cell" | "split-selected-cell";

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

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

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

interface D37TableSelectionPencilEraserRequest {
selection: D37TableSelectionPencilEraserRange;
action: D37TableSelectionPencilEraserAction;
splitRows?: number | null;
splitColumns?: number | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableSelectionPencilEraserResult {
schema: "fastdoc.shell.d37-table-selection-pencil-eraser.v1";
action: D37TableSelectionPencilEraserAction;
selection: D37TableSelectionPencilEraserRange;
computedOperation: D37TablePencilEraserSemanticOperation;
computedSpanCount: number;
pencilEraserResult: D37TablePencilEraserSemanticResult;
}

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

interface D37TableSelectionPencilEraserCommandState {
schema: "fastdoc.shell.d37-table-selection-pencil-eraser-command-state.v1";
action: D37TableSelectionPencilEraserAction;
selection: D37TableSelectionPencilEraserRange;
computedOperation: D37TablePencilEraserSemanticOperation;
computedSpanCount: number | null;
operationKind: D37TablePencilEraserSemanticResult["operationKind"];
canApply: boolean;
disabledReason: string | null;
documentPath: string | 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:2293

type D37TableEqualizeMode = "row-heights" | "column-widths" | "column-widths-from-existing";

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

interface D37TableEqualizeRequest {
bodyBlockIndex: number;
equalizeMode: D37TableEqualizeMode;
heightTwips?: number | null;
heightRule?: "exact" | "atLeast" | "auto" | "fit-content" | null;
widthTwips?: number | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableEqualizeResult {
schema: "fastdoc.shell.d37-table-equalize-dimensions.v1";
operationKind: "equalize-table-row-heights" | "equalize-table-column-widths" | "equalize-table-column-widths-from-existing";
applied: boolean;
unchanged: boolean;
historyEntryCreated: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
equalizeMode: D37TableEqualizeMode;
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:2326

type D37TableSelectionEqualizeColumnsAction = "equalize-selected-table-columns";

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

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

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

interface D37TableSelectionEqualizeColumnsRequest {
selection: D37TableSelectionEqualizeColumnsRange;
action: D37TableSelectionEqualizeColumnsAction;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableSelectionEqualizeColumnsResult {
schema: "fastdoc.shell.d37-table-selection-equalize-columns.v1";
action: D37TableSelectionEqualizeColumnsAction;
selection: D37TableSelectionEqualizeColumnsRange;
computedEqualizeMode: "column-widths-from-existing";
equalizeResult: D37TableEqualizeResult;
}

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

interface D37TableSelectionEqualizeColumnsCommandState {
schema: "fastdoc.shell.d37-table-selection-equalize-columns-command-state.v1";
operationKind: "equalize-table-column-widths-from-existing";
action: D37TableSelectionEqualizeColumnsAction;
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionEqualizeColumnsRange;
computedEqualizeMode: "column-widths-from-existing";
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:2369

type D37TableSelectionResizeAxis = "column-width" | "row-height";

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

type D37TableSelectionResizeEdge = "left" | "right" | "bottom";

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

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

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

interface D37TableSelectionResizeRequest {
selection: D37TableSelectionResizeRange;
resizeAxis: D37TableSelectionResizeAxis;
resizeEdge?: D37TableSelectionResizeEdge | null;
startDimensionTwips: number;
deltaTwips: number;
minDimensionTwips?: number | null;
maxDimensionTwips?: number | null;
tableWidthTwips?: number | null;
tableIndentTwips?: number | null;
tableAlignment?: "left" | "center" | "right" | null;
pairedColumnIndex?: number | null;
pairedColumnWidthTwips?: number | null;
startDimensionSource?: string | null;
rowHeightRule?: "exact" | "atLeast" | "at_least" | "auto" | "automatic" | null;
workflowSource?: "keyboard-nudge" | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableSelectionResizeCommandState {
operationKind: "set-table-column-width" | "set-table-row-height";
targetRowIndex: number | null;
targetColumnIndex: number | null;
startDimensionTwips: number;
deltaTwips: number;
requestedDimensionTwips: number;
clampedDimensionTwips: number;
minDimensionTwips: number;
maxDimensionTwips: number;
tableWidthTwips: number | null;
tableIndentTwips: number | null;
tableAlignment: "left" | "center" | "right" | null;
pairedColumnIndex: number | null;
pairedColumnWidthTwips: number | null;
startDimensionSource: string | null;
rowHeightRule: string | null;
workflowSource: string | null;
}

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

interface D37TableSelectionResizeResult {
schema: "fastdoc.shell.d37-table-selection-resize.v1";
resizeAxis: D37TableSelectionResizeAxis;
resizeEdge: D37TableSelectionResizeEdge;
selection: D37TableSelectionResizeRange;
computedCommandState: D37TableSelectionResizeCommandState;
dimensionsResult: D37TableDimensionsResult;
}

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

interface D37TableTemplateRequest {
bodyBlockIndex: number;
templateKind?: "banded-blue" | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableTemplateResult {
schema: "fastdoc.shell.d37-table-template-format.v1";
operationKind: "apply-table-template-banded-blue";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
templateKind: "banded-blue";
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

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

interface D37TableStyleRequest {
bodyBlockIndex: number;
styleKind?: "banded-blue" | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableStyleResult {
schema: "fastdoc.shell.d37-table-style.v1";
operationKind: "apply-table-style-banded-blue";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
styleKind: "banded-blue";
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

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

type D37TableHeaderRowMode = "set";

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

interface D37TableStyleOptions {
headerRow: boolean;
totalRow: boolean;
bandedRows: boolean;
firstColumn: boolean;
lastColumn: boolean;
bandedColumns: boolean;
}

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

interface D37TableHeaderRowRequest {
bodyBlockIndex: number;
headerRowMode?: D37TableHeaderRowMode | null;
styleOptions?: D37TableStyleOptions | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableHeaderRowResult {
schema: "fastdoc.shell.d37-table-header-row.v1";
operationKind: "set-table-header-row";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
headerRowMode: D37TableHeaderRowMode;
styleOptions: D37TableStyleOptions | 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:2508

type D37TableHeaderRepeatMode = "repeat" | "clear";

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

interface D37TableHeaderRepeatRequest {
bodyBlockIndex: number;
repeatMode?: D37TableHeaderRepeatMode | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableHeaderRepeatResult {
schema: "fastdoc.shell.d37-table-header-repeat.v1";
operationKind: "repeat-table-header-row" | "clear-repeat-table-header-row";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
repeatMode: D37TableHeaderRepeatMode;
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
snapshot: unknown;
}

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

type D37TableDataCommandKind = "sort-table-ascending" | "convert-table-to-text";

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

type D37TableTextSeparator = "paragraphs" | "tabs" | "semicolons" | "other";

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

type D37TableSortValueType = "text" | "number" | "date";

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

type D37TableSortDirection = "ascending" | "descending";

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

type D37TableSortHeaderMode = "header" | "no-header";

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

interface D37TableSortKey {
columnIndex: number;
valueType: D37TableSortValueType;
direction: D37TableSortDirection;
}

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

interface D37TableDataCommandRequest {
bodyBlockIndex: number;
command: D37TableDataCommandKind;
keyColumnIndex?: number | null;
sortKeys?: D37TableSortKey[];
sortHeaderMode?: D37TableSortHeaderMode;
sortCaseSensitive?: boolean;
sortLanguage?: string;
sortFieldSeparator?: Exclude<D37TableTextSeparator, "paragraphs">;
sortCustomSeparator?: string | null;
textSeparator?: D37TableTextSeparator;
customSeparator?: string | null;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableDataCommandResult {
schema: "fastdoc.shell.d37-table-data-command.v1";
operationKind: D37TableDataCommandKind;
applied: boolean;
documentPath: string | null;
outputPath: string | null;
bodyBlockIndex: number;
keyColumnIndex: number | null;
sortKeys: D37TableSortKey[] | null;
sortHeaderMode: D37TableSortHeaderMode | null;
textSeparator: D37TableTextSeparator | null;
customSeparator: string | null;
resultKind: string | null;
writebackResultKind: string | null;
sortCaseSensitive: boolean | null;
sortLanguage: string | null;
sortFieldSeparator: Exclude<D37TableTextSeparator, "paragraphs"> | null;
sortCustomSeparator: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
clipboardText: string | null;
snapshot: unknown;
}

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

type D37TableSelectionHeaderRepeatAction = "repeat-selected-header-row";

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

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

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

interface D37TableSelectionHeaderRepeatRequest {
selection: D37TableSelectionHeaderRepeatRange;
action: D37TableSelectionHeaderRepeatAction;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableSelectionHeaderRepeatResult {
schema: "fastdoc.shell.d37-table-selection-header-repeat.v1";
action: D37TableSelectionHeaderRepeatAction;
selection: D37TableSelectionHeaderRepeatRange;
computedRepeatMode: "repeat" | "clear";
headerRepeatResult: D37TableHeaderRepeatResult;
}

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

interface D37TableSelectionHeaderRepeatCommandState {
schema: "fastdoc.shell.d37-table-selection-header-repeat-command-state.v1";
operationKind: "repeat-table-header-row" | "clear-repeat-table-header-row";
action: D37TableSelectionHeaderRepeatAction;
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionHeaderRepeatRange;
computedRepeatMode: "repeat" | "clear";
resultKind: string | null;
writebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
supportMarkerKinds: string[];
snapshot: unknown;
}

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

interface D37TableCellRangeFormatRequest {
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
rowCount: number;
columnCount: number;
fillColorRgb?: string | null;
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:2641

interface D37TableCellRangeFormatResult {
schema: "fastdoc.shell.d37-table-cell-range-format.v1";
operationKind: "format-table-cell-range";
applied: boolean;
documentPath: string | null;
outputPath: string | null;
range: {
bodyBlockIndex: number;
rowIndex: number;
columnIndex: number;
rowCount: number;
columnCount: number;
};
fillColorRgb: string | null;
borderColorRgb: string | null;
borderStyle: string | null;
borderSizeEighths: number | null;
fillResultKind: string | null;
fillWritebackResultKind: string | null;
borderResultKind: string | null;
borderWritebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
fillSnapshot: unknown;
borderSnapshot: unknown;
}

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

type D37TableSelectionCellRangeFormatPreset = "market-emphasis" | "review-attention";

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

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

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

interface D37TableSelectionCellRangeFormatRequest {
selection: D37TableSelectionCellRangeFormatRange;
preset: D37TableSelectionCellRangeFormatPreset;
reopenAfterWrite?: boolean;
outputPath?: string | null;
}

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

interface D37TableSelectionCellRangeFormatResult {
schema: "fastdoc.shell.d37-table-selection-cell-range-format.v1";
preset: D37TableSelectionCellRangeFormatPreset;
selection: D37TableSelectionCellRangeFormatRange;
computedFillColorRgb: string;
computedBorderColorRgb: string;
computedBorderStyle: "single" | "thick";
computedBorderSizeEighths: number;
cellRangeFormatResult: D37TableCellRangeFormatResult;
}

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

interface D37TableSelectionCellRangeFormatCommandState {
schema: "fastdoc.shell.d37-table-selection-cell-range-format-command-state.v1";
operationKind: "format-table-cell-range";
preset: D37TableSelectionCellRangeFormatPreset;
canApply: boolean;
disabledReason: string | null;
documentPath: string | null;
selection: D37TableSelectionCellRangeFormatRange;
computedFillColorRgb: string;
computedBorderColorRgb: string;
computedBorderStyle: "single" | "thick";
computedBorderSizeEighths: number;
fillResultKind: string | null;
fillWritebackResultKind: string | null;
borderResultKind: string | null;
borderWritebackResultKind: string | null;
rowCount: number | null;
columnCount: number | null;
spanCount: number | null;
supportMarkerKinds: string[];
fillSnapshot: unknown;
borderSnapshot: unknown;
}

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

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

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

interface D37TableSelectionClearFillResult {
schema: "fastdoc.shell.d37-table-selection-clear-fill.v1";
operationKind: "clear-table-cell-fill-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:2741

interface D37TableSelectionClearFillCommandState {
schema: "fastdoc.shell.d37-table-selection-clear-fill-command-state.v1";
operationKind: "clear-table-cell-fill-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:2757

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

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

interface D37TableSelectionClearContentsResult {
schema: "fastdoc.shell.d37-table-selection-clear-contents.v1";
operationKind: "clear-table-cell-text-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:2778

interface D37TableSelectionClearContentsCommandState {
schema: "fastdoc.shell.d37-table-selection-clear-contents-command-state.v1";
operationKind: "clear-table-cell-text-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:2794

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

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

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