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

DTO · api-market.ts

8 интерфейсов и 2 псевдонима типов shell-contract — market-маршруты: запросы и результаты сценарных маршрутов редактора и команды колонтитулов.

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

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:1

interface EditorV0Doc006015MarketRouteRequest {
writebackDir?: string | null;
insertText?: string | null;
reopenAfterWrite?: boolean;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:7

interface EditorV0Doc001005MarketRouteRequest {
writebackDir?: string | null;
reopenAfterWrite?: boolean;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:12

interface EditorV0Doc016025MarketRouteRequest {
writebackDir?: string | null;
objectDocumentPath?: string | null;
linkedDocumentPath?: string | null;
updatedLinkedDocumentPath?: string | null;
reopenAfterWrite?: boolean;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:20

interface EditorV0Doc006015MarketRouteResult {
schema: "fastdoc.shell.editor-v0-doc-006-015-market-route-action.v1";
operationKind: "doc-006-015-market-route";
applied: boolean;
documentPath: string | null;
writebackDir: string;
insertTextFilePath: string;
finalOutputPath: string | null;
reopenAfterWrite: boolean;
reopenedDocumentPath: string | null;
tasks: string[];
finalVisibleText: string | null;
snapshot: unknown;
popupWarningShown: false;
technicalPanelAdded: false;
wordParityClaim: false;
pixelParityClaim: false;
muscleMemoryParityClaim: false;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:40

interface EditorV0Doc001005MarketRouteResult {
schema: "fastdoc.shell.editor-v0-doc-001-005-market-route-action.v1";
operationKind: "doc-001-005-market-route";
applied: boolean;
documentPath: string | null;
writebackDir: string;
finalOutputPath: string | null;
reopenAfterWrite: boolean;
reopenedDocumentPath: string | null;
tasks: string[];
finalVisibleText: string | null;
snapshot: unknown;
popupWarningShown: false;
technicalPanelAdded: false;
wordParityClaim: false;
pixelParityClaim: false;
muscleMemoryParityClaim: false;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:59

interface EditorV0Doc016025MarketRouteResult {
schema: "fastdoc.shell.editor-v0-doc-016-025-market-route-action.v1";
operationKind: "doc-016-025-market-route";
applied: boolean;
documentPath: string | null;
writebackDir: string;
objectDocumentPath: string;
linkedDocumentPath: string;
updatedLinkedDocumentPath: string;
finalOutputPath: string | null;
reopenAfterWrite: boolean;
reopenedDocumentPath: string | null;
tasks: string[];
headingMap: string[];
finalVisibleText: string | null;
snapshot: unknown;
popupWarningShown: false;
technicalPanelAdded: false;
wordParityClaim: false;
pixelParityClaim: false;
muscleMemoryParityClaim: false;
}

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:82

type D36HeaderFooterMarketCommand = "header-default" | "footer-default" | "page-number-header" | "page-number-footer" | "page-number-first" | "page-number-even" | "page-number-start" | "page-number-continue" | "page-number-remove" | "link-default-header" | "link-default-footer" | "unlink-default-header" | "unlink-default-footer" | "different-first-page" | "different-odd-even" | "header-footer-distances";

TypeAliasDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:100

type D36HeaderFooterStoryVariant = "default" | "first" | "even";

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:102

interface D36HeaderFooterMarketRequest {
command: D36HeaderFooterMarketCommand;
paragraphIndex: number;
outputPath?: string | null;
reopenAfterWrite?: boolean;
pageNumberAlignment?: "left" | "center" | "right" | "inside" | "outside";
pageNumberFirstPage?: boolean;
pageNumberStart?: number;
pageNumberStyle?: "bottom-right-built-in" | null;
pageNumberEntryLayout?: "paragraph-before-number" | null;
enabled?: boolean;
storyVariant?: D36HeaderFooterStoryVariant;
headerDistanceTwips?: number | null;
footerDistanceTwips?: number | null;
}

InterfaceDeclaration · apps/fastdoc-shell/src/shell-contract/api-market.ts:118

interface D36HeaderFooterMarketResult {
schema: "fastdoc.shell.d36-header-footer-market-workflow.v1";
applied: boolean;
noOp: boolean;
outputPath: string;
command: D36HeaderFooterMarketCommand;
label: string;
paragraphIndex: number;
currentByCommand: Record<D36HeaderFooterMarketCommand, boolean>;
beforeHeaderFooterState: Record<string, unknown> | null;
afterHeaderFooterState: Record<string, unknown> | null;
beforePagination: Record<string, unknown> | null;
afterPagination: Record<string, unknown> | null;
writebackResult: Record<string, unknown> | null;
beforeTexts: string[];
afterTexts: string[];
popupWarningShown: false;
technicalPanelAdded: false;
wordParityClaim: false;
pixelParityClaim: false;
muscleMemoryParityClaim: false;
}

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

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