Skip to content
SumOfficeSumOfficeSumOffice

Types: general and utility

Compute Contract type definitions — everything that doesn't belong to a single topic: transport, refusals, shared enumerations. Names: 171.

Definitions of the names from the “TypeScript type” column on the operation pages.

Other dictionary topics: session, workbook, and sheets · cells and ranges · formulas and calculation · formatting · data and sheet objects · pivot tables · charts and graphics · printing and page layout · Power Query · VBA and macros · protection and review · general and utility.

Types on this page — 171
type ComputeBackendKind = "wasm" | "native-desktop" | "service-host";
interface ContractCreatedDocumentObject {
stableId: string;
nonVisualId: number;
sheetPath: string;
drawingPath: string;
family: "image" | "shape" | "text-box" | "chart" | "pivot-table";
name: string;
anchor: ContractObjectAnchor;
relationshipId?: string | null;
}
interface ContractCurrentSourceSaveReadiness {
scope: ContractCurrentSourceSaveReadinessScope;
failureCode?: string | null;
failureMessage?: string | null;
failureDetails?: string | null;
}
type ContractCurrentSourceSaveReadinessScope = (typeof CONTRACT_CURRENT_SOURCE_SAVE_READINESS_SCOPE_IDS)[number];
interface ContractCustomViewApplyTransaction {
transactionId: string;
viewId: string;
windowId: string;
registryRevision: number;
previousWindow?: ContractCustomViewWindowSnapshot;
nextWindow: ContractCustomViewWindowSnapshot;
sheetStates: ContractCustomViewSheetSnapshot[];
includePrintSettings: boolean;
includeHiddenRowCol: boolean;
workbookChanged: boolean;
contentFingerprintBefore: string;
contentFingerprintAfter: string;
}
interface ContractCustomViewDefinition {
id: string;
name: string;
includePrintSettings: boolean;
includeHiddenRowCol: boolean;
snapshot: ContractCustomViewSnapshot;
}
interface ContractCustomViewSnapshot {
window: ContractCustomViewWindowSnapshot;
sheets: ContractCustomViewSheetSnapshot[];
}
type ContractCustomViewsIntent =
| { action: "list"; windowId: string }
| { action: "add";
windowId: string;
name: string;
window: ContractCustomViewWindowSnapshot;
includePrintSettings: boolean;
includeHiddenRowCol: boolean;
expectedRegistryRevision?: number;
expectedRevision?: number;
readOnly?: boolean;
}
| { action: "show";
windowId: string;
viewId: string;
expectedRegistryRevision?: number;
expectedRevision?: number;
readOnly?: boolean;
}
| { action: "delete";
windowId: string;
viewId: string;
expectedRegistryRevision?: number;
expectedRevision?: number;
readOnly?: boolean;
};
interface ContractCustomViewsResult {
status: ContractCustomViewsStatus;
registryRevision: number;
views: ContractCustomViewDefinition[];
activeViewId?: string;
applyTransaction?: ContractCustomViewApplyTransaction;
reason?: string;
workbookChanged: boolean;
workbookHistory?: ContractWorkbookHistoryProjection;
}
type ContractCustomViewsStatus = "listed" | "added" | "shown" | "deleted" | "undone" | "redone" | "blocked";
type ContractDataAnalysisAction =
| { action: "preview"; analysis: ContractDataAnalysisTool; }
| { action: "run"; analysis: ContractDataAnalysisTool; destination: ContractDataAnalysisDestination; }
| { action: "undo" }
| { action: "redo" }
| { action: "cancel" };
type ContractDataAnalysisDestination =
| { mode: "existing_range"; anchor: CellRange }
| { mode: "new_worksheet"; name?: string
| null }
| { mode: "new_workbook"; name?: string
| null };
type ContractDataAnalysisRandomDistribution =
| { distribution: "uniform"; lowerBound: number; upperBound: number }
| { distribution: "normal"; mean: number; standardDeviation: number }
| { distribution: "bernoulli"; probability: number }
| { distribution: "binomial"; numberOfTrials: number; probability: number }
| { distribution: "poisson"; lambda: number }
| { distribution: "patterned";
fromValue: number;
toValue: number;
step: number;
repeatEach: number;
repeatSequence: number;
}
| { distribution: "discrete"; valueProbabilityRange: CellRange };
type ContractDataAnalysisSamplingMethod = | { method: "periodic";
period: number } | { method: "random";
sampleCount: number };
type ContractDataAnalysisTool =
| { tool: "analyze_insights";
inputRange: CellRange;
question?: string;
insertion?: ContractAnalyzeInsightsInsertion;
selectedInsightId?: string
| null; locale?: string
| null; expectedRevision?: number
| null; requestGeneration?: number
| null; }
| { tool: "forecast_sheet";
timelineRange: CellRange;
valuesRange: CellRange;
forecastEnd?: string;
seasonality?: number;
confidenceLevel?: number;
dataCompletion?: 0
| 1; aggregation?: number; labels?: boolean; includeStatistics?: boolean; chartType?: "line"
| "column"; locale?: string
| null; expectedRevision?: number
| null; requestGeneration?: number
| null; }
| { tool: "regression";
yRange: CellRange;
xRange: CellRange;
labels?: boolean;
constantIsZero?: boolean;
confidenceLevel?: number;
residuals?: boolean;
standardizedResiduals?: boolean;
predictedValues?: boolean;
}
| { tool: "descriptive_statistics";
inputRange: CellRange;
groupedBy?: ContractDataAnalysisGrouping;
labels?: boolean;
summaryStatistics?: boolean;
confidenceLevelForMean?: number
| null; }
| { tool: "correlation"
| "covariance"; inputRange: CellRange; groupedBy?: ContractDataAnalysisGrouping; labels?: boolean; }
| { tool: "histogram";
inputRange: CellRange;
binRange: CellRange;
labels?: boolean;
cumulativePercentage?: boolean;
pareto?: boolean;
chartOutput?: boolean;
}
| { tool: "moving_average";
inputRange: CellRange;
interval: number;
labels?: boolean;
standardErrors?: boolean;
}
| { tool: "anova_single_factor";
inputRange: CellRange;
groupedBy?: ContractDataAnalysisGrouping;
labels?: boolean;
alpha?: number;
}
| { tool:
| "anova_two_factor_without_replication"
| "anova_two_factor_with_replication"; inputRange: CellRange; rowsPerSample?: number; labels?: boolean; alpha?: number; }
| { tool:
| "t_test_paired_two_sample_for_means"
| "t_test_two_sample_equal_variances"
| "t_test_two_sample_unequal_variances"; variable1Range: CellRange; variable2Range: CellRange; labels?: boolean; hypothesizedMeanDifference?: number; alpha?: number; }
| { tool: "z_test_two_sample_for_means";
variable1Range: CellRange;
variable2Range: CellRange;
knownVariance1: number;
knownVariance2: number;
labels?: boolean;
hypothesizedMeanDifference?: number;
alpha?: number;
}
| { tool: "f_test_two_sample_for_variances";
variable1Range: CellRange;
variable2Range: CellRange;
labels?: boolean;
alpha?: number;
}
| { tool: "exponential_smoothing";
inputRange: CellRange;
groupedBy?: ContractDataAnalysisGrouping;
labels?: boolean;
dampingFactor: number;
standardErrors?: boolean;
chartOutput?: boolean;
}
| { tool: "fourier_analysis"; inputRange: CellRange; labels?: boolean; inverse?: boolean; }
| { tool: "random_number_generation";
numberOfVariables: number;
numberOfRandomNumbers: number;
distribution: ContractDataAnalysisRandomDistribution;
randomSeed?: number
| null; }
| { tool: "rank_and_percentile";
inputRange: CellRange;
groupedBy?: ContractDataAnalysisGrouping;
labels?: boolean;
}
| { tool: "sampling";
inputRange: CellRange;
labels?: boolean;
sampling: ContractDataAnalysisSamplingMethod;
};
type ContractDataCleanupAction = "preview" | "apply";
type ContractDataCleanupIntent =
| { kind: "text_to_columns_delimited"; source: CellRange; destinationRow?: number
| null; destinationCol?: number
| null; delimiter: string; textQualifier?: boolean; columnFormats?: ContractTextToColumnsColumnFormat[]; decimalSeparator?: string
| null; thousandsSeparator?: string
| null; overwriteDestination?: boolean; }
| { kind: "text_to_columns_fixed_width"; source: CellRange; destinationRow?: number
| null; destinationCol?: number
| null; breakLines: number[]; columnFormats?: ContractTextToColumnsColumnFormat[]; decimalSeparator?: string
| null; thousandsSeparator?: string
| null; overwriteDestination?: boolean; }
| { kind: "text_to_columns_delimited_advanced"; source: CellRange; destinationRow?: number
| null; destinationCol?: number
| null; delimiter: string; textQualifier?: boolean; columnFormats?: ContractTextToColumnsColumnFormat[]; overwriteDestination?: boolean; advancedOptions: ContractTextToColumnsAdvancedOptions; }
| { kind: "text_to_columns_fixed_width_advanced"; source: CellRange; destinationRow?: number
| null; destinationCol?: number
| null; breakLines: number[]; columnFormats?: ContractTextToColumnsColumnFormat[]; overwriteDestination?: boolean; advancedOptions: ContractTextToColumnsAdvancedOptions; }
| { kind: "remove_duplicates";
source: CellRange;
headerPolicy?: ContractRemoveDuplicatesHeaderPolicy;
keyColumns?: number[];
tableName?: string
| null; }
| { kind: "remove_duplicates_copy";
source: CellRange;
destinationRow: number;
destinationCol: number;
headerPolicy?: ContractRemoveDuplicatesHeaderPolicy;
keyColumns?: number[];
tableName?: string
| null; };
interface ContractDataCleanupPreviewValue {
kind:
"blank" | "empty_string" | "boolean" | "date" | "number" | "error" | "text";
value: string;
}
type ContractDelimitedInterpretation = (typeof CONTRACT_DELIMITED_INTERPRETATION_IDS)[number];
type ContractDelimitedLineEnding = (typeof CONTRACT_DELIMITED_LINE_ENDING_IDS)[number];
type ContractDelimitedLocale = string;
type ContractDelimitedOpenDelimiter = ContractDelimitedSaveDelimiter;
type ContractDelimitedOpenLayout = (typeof CONTRACT_DELIMITED_OPEN_LAYOUT_IDS)[number];
interface ContractDelimitedOpenOptions {
layout?: ContractDelimitedOpenLayout | null;
fixedWidthBreaks?: number[] | null;
delimiter?: ContractDelimitedOpenDelimiter | null;
customDelimiter?: string | null;
delimiterSet?: string | null;
textQualifier?: ContractDelimitedTextQualifier | null;
consecutiveDelimitersAsOne?: boolean | null;
encoding?: ContractDelimitedSaveEncoding | null;
interpretation?: ContractDelimitedInterpretation | null;
locale?: ContractDelimitedLocale | null;
decimalSeparator?: string | null;
thousandsSeparator?: string | null;
columnFormats?: ContractDelimitedColumnFormat[] | null;
startRow?: number | null;
}
type ContractDelimitedQuotePolicy = (typeof CONTRACT_DELIMITED_QUOTE_POLICY_IDS)[number];
type ContractDelimitedSaveDelimiter = (typeof CONTRACT_DELIMITED_SAVE_DELIMITER_IDS)[number];
type ContractDelimitedSaveEncoding = (typeof CONTRACT_DELIMITED_SAVE_ENCODING_IDS)[number];
interface ContractDelimitedSaveOptions {
delimiter?: ContractDelimitedSaveDelimiter | null;
customDelimiter?: string | null;
encoding?: ContractDelimitedSaveEncoding | null;
quotePolicy?: ContractDelimitedQuotePolicy | null;
lineEnding?: ContractDelimitedLineEnding | null;
formattingLossConfirmed?: boolean;
}
type ContractDirectionPlaceholderKind = "default-ltr-session-placeholder";
type ContractDocumentPropertiesIntent =
| { action: "list" }
| { action: "apply"; expectedRevision?: number
| null; mutations: ContractDocumentPropertyMutation[]; readOnly?: boolean; protected?: boolean; }
| { action: "undo"
| "redo"; expectedRevision: number; readOnly?: boolean; protected?: boolean; };
interface ContractDocumentPropertiesResult {
status: "listed" | "applied" | "undone" | "redone" | "unchanged";
didChange: boolean;
hasUnsavedSessionEdits: boolean;
revision: number;
undoAvailable: boolean;
redoAvailable: boolean;
capability: ContractDocumentPropertiesCapability;
reasonCode?: string | null;
core: ContractDocumentPropertyRecord[];
extended: ContractDocumentPropertyRecord[];
custom: ContractDocumentPropertyRecord[];
statistics: ContractDocumentPropertyStatistic[];
}
type ContractDocumentPropertyMutation =
| { kind: "set_known"; propertyId: string; value: ContractDocumentPropertyValue
| null; }
| { kind: "upsert_custom"; propertyId?: string
| null; name: string; value: Exclude<ContractDocumentPropertyValue, { kind: "opaque" }>; }
| { kind: "delete_custom"; propertyId: string };
interface ContractDocumentPropertyRecord {
propertyId: string;
scope: ContractDocumentPropertyScope;
name: string;
editable: boolean;
value: ContractDocumentPropertyValue | null;
}
type ContractDocumentPropertyScope = "core" | "extended" | "custom";
interface ContractDocumentPropertyStatistic {
statisticId: string;
value: number;
}
type ContractDocumentPropertyValue =
| { kind: "text"; value: string }
| { kind: "integer"; decimal: string }
| { kind: "real"; value: number }
| { kind: "boolean"; value: boolean }
| { kind: "date_time"; utc: string }
| { kind: "opaque"; typeName: string };
type ContractEntityConversionDisposition = "resolved" | "refused";
interface ContractEntityConversionRefusal {
code: ContractEntityConversionRefusalCode;
message: string;
}
type ContractEntityConversionRefusalCode = "entity-provider-unavailable";
type ContractEntityDataTypeKind = "stocks" | "currencies" | "geography";
interface ContractEntityFieldValue {
fieldId: string;
label: string;
displayValue: string;
}
interface ContractEntityProviderIdentity {
providerId: string;
attribution: string;
}
type ContractEntityResolutionState = "resolved" | "unresolved" | "stale";
type ContractErrorCode = "DIV0" | "NA" | string;
type ContractFidelityClass = (typeof CONTRACT_FIDELITY_CLASS_IDS)[number];
interface ContractFileRecoveryAction {
kind: ContractFileRecoveryActionKind;
part: string;
relationshipId?: string;
message: string;
}
type ContractFileRecoveryActionKind =
| "rebuild_content_types"
| "synthesize_root_relationships"
| "drop_missing_relationship"
| "deduplicate_relationships"
| "remove_calc_chain"
| "synthesize_styles"
| "rebuild_shared_strings"
| "normalize_sheet_ids"
| "repair_worksheet";
interface ContractFileRecoveryBounds {
maxArchiveBytes: number;
maxEntryCount: number;
maxPartBytes: number;
maxTotalUncompressedBytes: number;
maxXmlBytes: number;
maxCompressionRatio: number;
maxPlanActions: number;
maxSheets: number;
maxSalvagedCellsPerSheet: number;
}
interface ContractFileRecoveryDiagnostic {
code: ContractFileRecoveryDiagnosticCode;
severity: ContractFileRecoverySeverity;
part: string;
message: string;
}
type ContractFileRecoveryDiagnosticCode =
| "zip_path_traversal"
| "zip_duplicate_entry"
| "zip_bomb_limit"
| "zip_malformed"
| "xml_oversized"
| "unsafe_xml_construct"
| "macro_or_active_content"
| "digital_signature"
| "external_relationship"
| "ambiguous_topology"
| "missing_content_types"
| "malformed_content_types"
| "missing_root_relationships"
| "malformed_relationships"
| "duplicate_relationship_id"
| "missing_relationship_target"
| "duplicate_sheet_id"
| "missing_optional_part"
| "malformed_optional_part"
| "malformed_worksheet"
| "salvage_limit"
| "no_repair_needed";
type ContractFileRecoveryMode = "repair" | "extract_data";
interface ContractFileRecoveryPlan {
planId: string;
sourceSha256: string;
sourceByteCount: number;
status: ContractFileRecoveryPlanStatus;
canRepair: boolean;
canExtractData: boolean;
diagnostics: ContractFileRecoveryDiagnostic[];
actions: ContractFileRecoveryAction[];
bounds: ContractFileRecoveryBounds;
}
type ContractFileRecoveryPlanStatus = "repairable" | "extract_only" | "blocked" | "no_repair_needed";
interface ContractFileRecoveryPublication {
planId: string;
sourceSha256: string;
outputSha256: string;
outputByteCount: number;
outputPath: string;
mode: ContractFileRecoveryMode;
actionCount: number;
}
type ContractFileRecoverySeverity = "info" | "warning" | "error" | "blocked";
type ContractFormControlInteraction =
| "toggle"
| "select-index"
| "increment"
| "decrement"
| "page-increment"
| "page-decrement"
| "set-value";
type ContractFormControlKind = | "check-box" | "option-button" | "list-box" | "combo-box" | "spin-button" | "scroll-bar";
interface ContractFormControlView {
stableId: string;
sheetKey: string;
sheetName: string;
kind: ContractFormControlKind;
name: string;
anchor: ContractObjectAnchor;
linkedCell?: string | null;
inputRange?: string | null;
optionGroup?: string | null;
selectedIndex?: number | null;
inputCount: number;
checked?: boolean | null;
value: number;
min: number;
max: number;
step: number;
pageStep: number;
visible: boolean;
locked: boolean;
printObject: boolean;
revision: number;
authored: boolean;
}
type ContractFormControlsAction =
| { action: "list" }
| { action: "create";
kind: ContractFormControlKind;
sheetKey: string;
name: string;
anchor: ContractObjectAnchor;
linkedCell?: string
| null; inputRange?: string
| null; optionGroup?: string
| null; min?: number; max?: number; step?: number; pageStep?: number; }
| { action: "update_properties";
stableId: string;
expectedRevision: number;
name: string;
linkedCell?: string
| null; inputRange?: string
| null; optionGroup?: string
| null; min: number; max: number; step: number; pageStep: number; }
| { action: "interact";
stableId: string;
expectedRevision: number;
interaction: ContractFormControlInteraction;
value?: number
| null; }
| { action: "set_geometry"; stableId: string; expectedRevision: number; anchor: ContractObjectAnchor; }
| { action: "set_visibility"; stableId: string; expectedRevision: number; visible: boolean; }
| { action: "set_flags";
stableId: string;
expectedRevision: number;
locked: boolean;
printObject: boolean;
}
| { action: "undo" }
| { action: "redo" };
interface ContractHyperlinkMetadataEntry {
stableId: string;
sheetName: string;
sheetPath: string;
row: number;
col: number;
target: string;
location?: string | null;
display?: string | null;
tooltip?: string | null;
targetMode?: string | null;
}
interface ContractHyperlinkMetadataProjection {
scope: "active-sheet" | "workbook";
source: "rust-authoritative-hyperlink-model";
activeSheetPath: string;
hyperlinkCount: number;
hyperlinks: ContractHyperlinkMetadataEntry[];
}
interface ContractLegacyNotePayload {
source: ContractLegacyNotePayloadSource;
cellRef: string;
annotationId?: string | null;
author?: string | null;
visible?: boolean | null;
text: string;
richTextRuns?: ContractCommentRichTextRun[] | null;
}
type ContractLegacyNotePayloadSource = "legacy-comments-vml";
interface ContractLinkedPicturePayload {
sourceRange: string;
sourceSheetKey?: string | null;
mode?: "bounded-camera-tool" | string | null;
}
type ContractNavigationEdgeDirection = "up" | "down" | "left" | "right";
interface ContractObjectAnchor {
kind: ContractObjectAnchorKind;
placement?: ContractObjectAnchorKind | null;
from?: ContractObjectAnchorCell | null;
to?: ContractObjectAnchorCell | null;
origin?: ContractObjectAnchorOrigin | null;
ext?: ContractObjectExtent | null;
groupRel?: {
x: number;
y: number;
w: number;
h: number;
xEmu?: number;
yEmu?: number;
cxEmu?: number;
cyEmu?: number;
} | null;
}
type ContractObjectAnchorKind = "two-cell" | "one-cell" | "absolute";
interface ContractObjectAnchorOrigin {
xEmu: number;
yEmu: number;
}
interface ContractObjectExtent {
cxEmu: number;
cyEmu: number;
}
interface ContractObjectFamilyStatusPlaceholder {
family: ContractObjectPlaceholderFamily;
presence: ContractObjectPlaceholderPresence;
status: ContractObjectPlaceholderStatus;
}
type ContractObjectPlaceholderFamily = "comments-notes";
type ContractObjectPlaceholderPresence = "present";
type ContractObjectPlaceholderScope = "active-sheet";
type ContractObjectPlaceholderStatus = "legacy-vml-preserved-only";
type ContractObjectSelectionPaneCommand =
| { kind: "rename"; name: string }
| { kind: "set-accessibility"; title: string
| null; description: string
| null; decorative: boolean; }
| { kind: "set-visibility"; visible: boolean }
| { kind: "set-print-object"; printObject: boolean }
| { kind: "set-chart-format"; formatting: ContractChartFormatting }
| { kind: "arrange"; action: "front"
| "back"
| "forward"
| "backward" }
| { kind: "align"; action: "left"
| "center"
| "right"
| "top"
| "middle"
| "bottom" }
| { kind: "distribute"; action: "horizontally"
| "vertically" }
| { kind: "group"; groupId: string }
| { kind: "ungroup" }
| { kind: "regroup" }
| { kind: "geometry"; x: number
| null; y: number
| null; width: number
| null; height: number
| null; aspectLocked: boolean
| null; }
| { kind: "rotate"; deltaDeg: number }
| { kind: "flip"; action: "horizontal"
| "vertical" }
| { kind: "crop"; crop: { leftPct: number; topPct: number; rightPct: number; bottomPct: number; }; }
| { kind: "fit-picture" }
| { kind: "fill-picture" }
| { kind: "reset-picture" }
| { kind: "replace-picture"; media: { mimeType: "image/png"
| "image/jpeg"
| "image/gif"; dataBase64: string; byteCount: number; widthPx: number; heightPx: number; sha256: string; }; }
| { kind: "delete" }
| { kind: "copy-within-workbook";
newStableId: string;
newNonVisualId: string;
newName: string;
rowDelta: number;
colDelta: number;
};
interface ContractObjectSelectionPanePackageCommand {
sheetId: string;
objectStableIds: string[];
primaryStableId?: string | null;
expectedRevision: number;
command: ContractObjectSelectionPaneCommand;
geometryAnchor?: ContractObjectAnchor | null;
groupId?: string | null;
orderedStableIds?: string[];
memberStableIds?: string[];
}
type ContractOpenDocumentObjectCreation =
| { family: "image"; name: string; description?: string; mimeType: "image/png"
| "image/jpeg"
| "image/gif"; dataBase64: string; sha256: string; linkedSourceRange?: string
| null; replacementRange?: ContractOpenDocumentReplacementRange
| null; anchor: ContractObjectAnchor; }
| { family: "shape"; name: string; preset: "rect"
| "roundRect"
| "ellipse"; text?: string; fillRgb: string; lineRgb: string; anchor: ContractObjectAnchor; }
| { family: "text-box";
name: string;
text?: string;
fillRgb: string;
lineRgb: string;
anchor: ContractObjectAnchor;
}
| { family: "chart"; name: string; title?: string; chartType: "column"
| "bar"
| "line"; series: ContractOpenDocumentChartSeries[]; anchor: ContractObjectAnchor; }
| { family: "geometry-update"; stableId: string; name: string; objectFamily: "image"
| "shape"
| "text-box"
| "chart"; anchor: ContractObjectAnchor; }
| { family: "pivot-table";
name: string;
ref: string;
sourceSheetName: string;
sourceTableName: string;
sourceRef: string;
rowField: string;
columnField: string;
valueField: string;
summaryFunction: "sum";
};
interface ContractParallelRecalcInstrumentation {
requestedWorkerCount: number;
usedWorkerCount: number;
readyFrontierCount: number;
parallelFrontierCount: number;
evaluatedComponentCount: number;
parallelComponentCount: number;
serializedComponentCount: number;
sccComponentCount: number;
volatileBoundaryCount: number;
dynamicBoundaryCount: number;
externalBoundaryCount: number;
maximumConcurrentWorkers: number;
cancelledFrontierCount: number;
supersededFrontierCount: number;
scheduleHash: string;
}
interface ContractParamEdge {
queryStableId: string;
paramId: string;
}
interface ContractParamValueRepr {
kind: ContractParameterKind;
canonicalM: string;
}
interface ContractParameterDTO {
id: string;
name: string;
kind: ContractParameterKind;
currentValue: ContractParamValueRepr;
required: boolean;
allowedValues?: ContractParamValueRepr[] | null;
numericRange?: ContractParameterNumericRange | null;
}
type ContractParameterKind = "text" | "number" | "logical" | "date" | "null";
type ContractPasteMode = "all" | "values" | "formulas" | "formats";
interface ContractPersistedParamOptionsBinding {
delimiterParam?: string | null;
headerParam?: string | null;
rowCountParam?: string | null;
filterLiteralParam?: string | null;
filterColumn?: string | null;
}
interface ContractPreviewDataBar {
color: string;
ratio: number;
}
interface ContractPreviewGradientStop {
position: number;
color: string;
}
type ContractPreviewHorizontalAlign = | "left" | "center" | "right" | "fill" | "justify" | "centerAcrossSelection" | "distributed";
interface ContractPreviewHyperlink {
target: string;
location?: string | null;
display?: string | null;
tooltip?: string | null;
targetMode?: string | null;
}
type ContractPreviewUnderlineKind = "single" | "double" | "singleAccounting" | "doubleAccounting";
type ContractPreviewValueKind = "displayText" | "emptyString" | "boolean" | "error";
type ContractPreviewVerticalAlign = "top" | "center" | "bottom" | "justify" | "distributed";
type ContractRecalcRequiredReason =
| "source_cell_changed"
| "sheet_lifecycle_changed"
| "unsupported_dependency"
| "volatile_formula"
| "manual_calc_mode"
| "imported_cache_without_trust_evidence"
| "calc_chain_missing_or_advisory_only"
| "external_workbook_not_loaded"
| "external_link_missing"
| "external_link_policy_blocked"
| "external_ref_shape_unsupported"
| "external_cached_value_without_freshness_evidence";
interface ContractReplaceEdit {
cellKey: string;
sheetName: string;
address: string;
oldValue: string;
newValue: string;
}
type ContractSaveKind = (typeof CONTRACT_SAVE_KIND_IDS)[number];
interface ContractSmartArtPayload {
status: ContractSmartArtRenderStatus;
layout?: string | null;
nodes: Array<{ id: string; text: string }>;
themeReferences: string[];
}
type ContractSmartArtRenderStatus = "live-supported" | "unsupported-layout" | "broken-topology";
type ContractSourceTrustAction =
| "evaluate_open"
| "view"
| "edit"
| "paste"
| "fill"
| "refresh"
| "macros"
| "ole"
| "active_x"
| "save_original"
| "save_copy"
| "enable_editing"
| "trust_document"
| "external_links"
| "data_connections";
type ContractSourceTrustAuthority =
| "none"
| "local_source"
| "session_grant"
| "editing_session"
| "trusted_location"
| "trusted_document"
| "trust_center_policy";
interface ContractSourceTrustDecision {
mode: ContractSourceTrustMode;
authority: ContractSourceTrustAuthority;
reason?: ContractSourceTrustReason;
action: ContractSourceTrustAction;
allowed: boolean;
mutationAllowed: boolean;
grant?: ContractSourceTrustGrantBinding;
session?: ContractSourceTrustSessionBinding;
matchedGrantId?: string;
trustStoreState: ContractSourceTrustStoreState;
trustStoreRevision: number;
trustStoreHash: string;
allowedActions: ContractSourceTrustAction[];
blockedActions: ContractSourceTrustAction[];
policy: ContractTrustCenterPolicy;
policyState: ContractTrustCenterPolicyState;
audit: ContractTrustCenterAuditEntry;
}
interface ContractSourceTrustDirectoryIdentity {
deviceId: string;
fileId: string;
}
interface ContractSourceTrustDocumentGrant {
grantId: string;
sourceIdentity: string;
byteSha256: string;
revisionToken: string;
}
type ContractSourceTrustFileState =
| "current"
| "read_only"
| "missing"
| "moved"
| "symlink"
| "corrupt"
| "zero_byte"
| "stale_revision"
| "identity_changed";
interface ContractSourceTrustGrantBinding {
sourceIdentity: string;
byteSha256: string;
revisionToken: string;
}
interface ContractSourceTrustLocationGrant {
grantId: string;
directoryIdentity: ContractSourceTrustDirectoryIdentity;
includeSubfolders: boolean;
}
type ContractSourceTrustMode = "trusted_edit" | "protected_view" | "read_only" | "blocked";
interface ContractSourceTrustObservation {
sourceIdentity: string;
byteSha256: string;
revisionToken: string;
provenance: ContractSourceTrustProvenance;
fileState: ContractSourceTrustFileState;
parentDirectories?: ContractSourceTrustDirectoryIdentity[];
locationGrants?: ContractSourceTrustLocationGrant[];
documentGrants?: ContractSourceTrustDocumentGrant[];
trustStoreState?: ContractSourceTrustStoreState;
trustStoreRevision?: number;
trustStoreHash?: string;
policyState?: ContractTrustCenterPolicyState;
policy?: ContractTrustCenterPolicy;
}
type ContractSourceTrustProvenance = "local_trusted" | "downloaded" | "quarantined" | "recovery" | "unknown";
type ContractSourceTrustReason =
| "downloaded_source_untrusted"
| "quarantined_source_untrusted"
| "recovery_source_requires_trust"
| "unknown_source_untrusted"
| "explicit_grant_required"
| "source_read_only"
| "source_missing"
| "source_moved"
| "source_symlink"
| "source_corrupt"
| "source_zero_byte"
| "source_stale_revision"
| "source_identity_changed"
| "source_external_replacement_observed"
| "grant_source_identity_mismatch"
| "grant_byte_hash_mismatch"
| "grant_revision_mismatch"
| "action_blocked_by_mode"
| "trust_policy_malformed"
| "trust_policy_permission_denied"
| "trust_policy_concurrent_writer"
| "trust_policy_stale_response"
| "trust_policy_unavailable"
| "vba_execution_unavailable"
| "active_content_execution_unavailable"
| "external_links_policy_blocked"
| "data_connections_policy_blocked"
| "protected_view_policy_disabled"
| "trusted_locations_policy_disabled"
| "source_trust_allowed"
| "external_links_manual_policy_allowed"
| "data_connections_manual_policy_allowed";
type ContractSourceTrustStoreState =
| "current"
| "permission_denied"
| "corrupt"
| "concurrent_writer"
| "stale_response"
| "unavailable";
interface ContractStructuredReferenceTrustMetadata {
label: string;
tableName?: string | null;
shape: string;
columnName?: string | null;
targetSheetKey?: string | null;
targetRange?: string | null;
resolutionState: string;
}
interface ContractTrustCenterPolicy {
schemaVersion: 1;
macroPolicy: ContractTrustCenterMacroPolicy;
externalLinksPolicy: ContractTrustCenterExternalPolicy;
dataConnectionsPolicy: ContractTrustCenterExternalPolicy;
trustedLocationsEnabled: boolean;
protectDownloaded: boolean;
protectQuarantined: boolean;
protectRecovery: boolean;
protectUnknown: boolean;
}
type ContractTrustCenterPolicyState =
| "current"
| "malformed"
| "permission_denied"
| "concurrent_writer"
| "stale_response"
| "unavailable";
type ContractWhatIfAction =
| ({ action: "goal_seek_preview" } & GoalSeekFields)
| ({ action: "goal_seek_apply"; previewToken: string } & GoalSeekFields)
| { action: "cancel"; previewToken: string }
| { action: "scenario_list"; sheetKey: string }
| { action: "scenario_merge";
sourceSheetKey: string;
targetSheetKey: string;
expectedWorkbookRevision?: number
| null; readOnly?: boolean; }
| { action: "scenario_summary";
sheetKey: string;
resultCells?: ContractWhatIfCellRef[];
reportKind?: "summary"
| "pivot_table"; reportLocale?: string; expectedWorkbookRevision?: number
| null; readOnly?: boolean; }
| { action: "scenario_upsert"; sheetKey: string; name: string; comment?: string
| null; locked?: boolean; hidden?: boolean; inputs: ContractWhatIfScenarioInput[]; expectedWorkbookRevision?: number
| null; readOnly?: boolean; }
| { action: "scenario_delete"; sheetKey: string; name: string; expectedWorkbookRevision?: number
| null; readOnly?: boolean; }
| { action: "scenario_show"; sheetKey: string; name: string; expectedWorkbookRevision?: number
| null; readOnly?: boolean; }
| ({ action: "data_table_preview" } & DataTableFields)
| ({ action: "data_table_apply"; previewToken: string } & DataTableFields);
type ContractWhatIfValue =
| { kind: "blank" }
| { kind: "empty_string" }
| { kind: "number"; value: number }
| { kind: "text"; value: string }
| { kind: "boolean"; value: boolean }
| { kind: "error"; value: string };
interface ContractWordArtPayload {
status: ContractWordArtRenderStatus;
textTransform: string;
themeReferences: string[];
}
type ContractWordArtRenderStatus = "live-supported" | "unsupported-transform";
type ContractWritingModePlaceholder = "horizontal-tb";
type ContractXlsbDirtySaveProfile = (typeof CONTRACT_XLSB_DIRTY_SAVE_PROFILE_IDS)[number];
interface ContractXlsxDataViewStatePatch {
activeSheetPath: string;
activeViewId?: "A" | "B" | "none" | null;
views: ContractXlsxDataViewStateViewPatch[];
source?: "fastsheet-data-view-manager-v1" | string | null;
}
interface ContractXlsxDataViewStateViewPatch {
viewId: "A" | "B";
selectedRangeLabel: string;
filterRegion?: string | null;
sortKey?: "amount" | "score" | "none" | null;
sortDescending?: boolean | null;
active?: boolean | null;
status?: string | null;
}

ContractXlsxDelimitedDataConnectionDeletePatch

Section titled “ContractXlsxDelimitedDataConnectionDeletePatch”
interface ContractXlsxDelimitedDataConnectionDeletePatch {
sourcePath: string;
targetSheetPath: string;
targetRef?: string | null;
targetTableName?: string | null;
}
interface ContractXlsxDelimitedDataConnectionPatch {
kind?:
| "text-csv-connection"
| "web-csv-connection"
| "database-json-query"
| "power-query-transform"
| string
| null;
name?: string | null;
sourcePath: string;
sourceUri?: string | null;
fileName?: string | null;
loadKind?: "table" | "connection-only" | string | null;
layout?: ContractDelimitedOpenLayout | null;
fixedWidthBreaks?: number[] | null;
delimiters?: string[] | null;
customDelimiter?: string | null;
textQualifier?: ContractDelimitedTextQualifier | null;
consecutiveDelimitersAsOne?: boolean | null;
delimiter?: string | null;
encoding?: ContractDelimitedSaveEncoding | null;
interpretation?: ContractDelimitedInterpretation | null;
locale?: ContractDelimitedLocale | null;
decimalSeparator?: string | null;
thousandsSeparator?: string | null;
columnRules?: ContractXlsxDelimitedColumnRulePatch[] | null;
importStartRow?: number | null;
header?: "auto" | "present" | "absent" | null;
destination?: "selected-anchor" | "new-sheet" | null;
destinationAnchor?: string | null;
targetSheetPath: string;
targetRef: string;
targetTableName?: string | null;
tablePath?: string | null;
startRow: number;
startCol: number;
rowCount: number;
columnCount: number;
delimiterLabel?: string | null;
query?: string | null;
sourceRange?: string | null;
transform?: string | null;
refreshOnOpen?: boolean | null;
importedAt?: string | null;
refreshedAt?: string | null;
refreshState?: "imported" | "refreshed" | string | null;
}
interface ContractXlsxLegacyNoteMutationPatch {
activeSheetPath: string;
cellRef: string;
action: "upsert" | "delete";
annotationId?: string | null;
text?: string | null;
author?: string | null;
visible?: boolean | null;
richTextRuns?: ContractCommentRichTextRun[] | null;
}
interface ContractXlsxSavePatch {
objectSelectionPaneCommands?:
ContractObjectSelectionPanePackageCommand[] | null;
workbookAccessibilityFixes?: ContractWorkbookAccessibilityPackageFix[] | null;
fileSharingReadOnlyRecommended?: boolean | null;
dataValidationListRules?: ContractXlsxDataValidationListRulePatch[] | null;
dataValidationRules?: ContractXlsxDataValidationRulePatch[] | null;
dataValidationClearRules?: ContractXlsxDataValidationClearRulePatch[] | null;
dataValidationMessageRules?:
ContractXlsxDataValidationMessageRulePatch[] | null;
chartCreations?: ContractXlsxChartCreationPatch[] | null;
drawingImageCreations?: ContractXlsxDrawingImageCreationPatch[] | null;
sheetBackground?: ContractXlsxSheetBackgroundPatch | null;
chartObjectMoves?: ContractXlsxChartObjectMovePatch[] | null;
drawingObjectMoves?: ContractXlsxDrawingObjectMovePatch[] | null;
drawingObjectDeletions?: ContractXlsxDrawingObjectDeletionPatch[] | null;
drawingObjectMetadataUpdates?:
ContractXlsxDrawingObjectMetadataPatch[] | null;
drawingObjectZOrderUpdates?: ContractXlsxDrawingObjectZOrderPatch[] | null;
drawingObjectImageTransforms?:
ContractXlsxDrawingObjectImageTransformPatch[] | null;
drawingObjectGroups?: ContractXlsxDrawingObjectGroupPatch[] | null;
drawingObjectUngroups?: ContractXlsxDrawingObjectUngroupPatch[] | null;
textBoxSheets?: ContractXlsxTextBoxSheetPatch[] | null;
shapeSheets?: ContractXlsxShapeSheetPatch[] | null;
chartSeriesUpdates?: ContractXlsxChartSeriesUpdatePatch[] | null;
chartMutations?: ContractXlsxChartMutationPatch[] | null;
workbookActiveSheets?: ContractXlsxWorkbookActiveSheetPatch[] | null;
workbookViewSelections?: ContractXlsxWorkbookViewSelectionPatch[] | null;
dataViewStates?: ContractXlsxDataViewStatePatch[] | null;
delimitedDataConnections?: ContractXlsxDelimitedDataConnectionPatch[] | null;
delimitedDataConnectionDeletes?:
ContractXlsxDelimitedDataConnectionDeletePatch[] | null;
worksheetViews?: ContractXlsxWorksheetViewPatch[] | null;
worksheetPrintOptions?: ContractXlsxWorksheetPrintOptionsPatch[] | null;
worksheetPageSetups?: ContractXlsxWorksheetPageSetupPatch[] | null;
worksheetHeaderFooters?: ContractXlsxWorksheetHeaderFooterPatch[] | null;
worksheetHeaderFooterClears?:
ContractXlsxWorksheetHeaderFooterClearPatch[] | null;
worksheetPageBreaks?: ContractXlsxWorksheetPageBreakPatch[] | null;
worksheetPageBreakResets?: ContractXlsxWorksheetPageBreakResetPatch[] | null;
definedNames?: ContractXlsxDefinedNamePatch[] | null;
definedNameDeletes?: ContractXlsxDefinedNameDeletePatch[] | null;
printAreas?: ContractXlsxPrintAreaPatch[] | null;
printAreaClears?: ContractXlsxPrintAreaClearPatch[] | null;
printAreaAdds?: ContractXlsxPrintAreaPatch[] | null;
printTitles?: ContractXlsxPrintTitlesPatch[] | null;
printTitleClears?: ContractXlsxPrintTitlesClearPatch[] | null;
workbookTheme?: ContractXlsxWorkbookThemePatch | null;
workbookThemeColors?: ContractXlsxWorkbookThemeColorsPatch | null;
rowOutlineGroups?: ContractXlsxRowOutlineGroupPatch[] | null;
rowOutlineUngroups?: ContractXlsxRowOutlineUngroupPatch[] | null;
rowOutlineRanges?: ContractXlsxRowOutlineRangePatch[] | null;
columnOutlineGroups?: ContractXlsxColumnOutlineGroupPatch[] | null;
columnOutlineUngroups?: ContractXlsxColumnOutlineUngroupPatch[] | null;
columnOutlineRanges?: ContractXlsxColumnOutlineRangePatch[] | null;
cellShifts?: ContractXlsxCellShiftPatch[] | null;
cellCopies?: ContractXlsxCellCopyPatch[] | null;
cellFormatPatches?: ContractXlsxCellFormatPatch[] | null;
trackTransfers?: ContractXlsxTrackTransferPatch[] | null;
sheetFormats?: ContractXlsxSheetFormatPatch[] | null;
richTextRunUpdates?: ContractXlsxRichTextRunPatch[] | null;
legacyNoteMutations?: ContractXlsxLegacyNoteMutationPatch[] | null;
threadedCommentMutations?: ContractXlsxThreadedCommentMutationPatch[] | null;
pivotTableCreations?: ContractXlsxPivotTableCreationPatch[] | null;
pivotTableDeletions?: ContractXlsxPivotTableDeletionPatch[] | null;
pivotTableRefreshes?: ContractXlsxPivotTableRefreshPatch[] | null;
pivotTableValueSummaries?: ContractXlsxPivotTableValueSummaryPatch[] | null;
pivotTableShowValuesAs?: ContractXlsxPivotTableShowValuesAsPatch[] | null;
pivotTableFieldSorts?: ContractXlsxPivotTableFieldSortPatch[] | null;
pivotTableFieldFilters?: ContractXlsxPivotTableFieldFilterPatch[] | null;
pivotTableClearFilters?: ContractXlsxPivotTableClearFiltersPatch[] | null;
pivotTableClearAll?: ContractXlsxPivotTableClearAllPatch[] | null;
pivotTableMoves?: ContractXlsxPivotTableMovePatch[] | null;
pivotTableFieldRemovals?: ContractXlsxPivotTableFieldRemovalPatch[] | null;
pivotTableFieldMoves?: ContractXlsxPivotTableFieldMovePatch[] | null;
pivotTableFieldAdditions?: ContractXlsxPivotTableFieldAdditionPatch[] | null;
pivotTableValueFieldAdditions?:
ContractXlsxPivotTableValueFieldAdditionPatch[] | null;
pivotTableCalculatedFields?:
ContractXlsxPivotTableCalculatedFieldPatch[] | null;
pivotTableItemGroups?: ContractXlsxPivotTableItemGroupPatch[] | null;
pivotTableSourceChanges?: ContractXlsxPivotTableSourceChangePatch[] | null;
pivotTableItemDetails?: ContractXlsxPivotTableItemDetailPatch[] | null;
pivotTableReportLayouts?: ContractXlsxPivotTableReportLayoutPatch[] | null;
pivotTableStyles?: ContractXlsxPivotTableStylePatch[] | null;
pivotTableFieldSettings?: ContractXlsxPivotTableFieldSettingsPatch[] | null;
workbookProtection?: ContractXlsxWorkbookProtectionPatch | null;
}
interface ContractXlsxWorksheetViewPatch {
activeSheetPath: string;
gridLinesVisible?: boolean | null;
headingsVisible?: boolean | null;
workbookViewMode?: "normal" | "page-layout" | "page-break-preview" | null;
scrollTopLeftCell?: string | null;
zoomScale?: number | null;
sheetViews?: ContractWorkbookNamedView[] | null;
sheetViewActiveId?: string | null;
customViews?: ContractWorkbookNamedView[] | null;
customViewActiveId?: string | null;
}
interface FileIdentityDescriptor {
canonicalPath: string;
byteLen: number;
contentStamp: string;
}
type FileKindDescriptor = "csv" | "workbook";
interface FileRefreshDescriptor {
savedIdentity: FileIdentityDescriptor;
}
interface FileSourceDescriptor {
workbookId: string;
queryId: string;
fileKind: FileKindDescriptor;
pickPath: string;
selector?: WorkbookSelectorDescriptor;
maxBytes?: number;
expectedIdentity?: FileIdentityDescriptor;
refresh?: FileRefreshDescriptor;
revoked?: boolean;
}
interface FoldExplainPlan {
stages: FoldExplainStage[];
foldBoundaryIndex: number;
remote?: FoldExplainRemote;
planHash: string;
nativeSql?: string;
}
interface FoldExplainRemote {
transport: "odata";
options: FoldExplainRemoteOptions;
}
interface FoldExplainRemoteOptions {
select?: string;
filter?: string;
orderby?: string;
top?: number;
skip?: number;
}
interface FoldExplainStage {
op: string;
placement: FoldPlacement;
reason?: string;
detail: string;
}
type FoldPlacement = "folded" | "local-remainder" | "blocked";
interface FolderNavigatorEntryWire {
id: string;
name: string;
extension: string;
size: number;
fingerprint: number;
}
interface FolderNavigatorFileDiagnosticWire {
file_id: string;
reason_code: string;
}
type FolderNavigatorOutcome =
| { status: "entries"; entries: FolderNavigatorEntryWire[] }
| { status: "preview"; table: Extract< ContractPowerQueryTransformOutcome, { status: "evaluated" } >; }
| { status: "combined";
table: Extract< ContractPowerQueryTransformOutcome, { status: "evaluated" } >;
diagnostics: FolderNavigatorFileDiagnosticWire[];
}
| { status: "refresh_plan";
added: string[];
changed: string[];
deleted: string[];
restored: string[];
unchanged_count: number;
lineage_json: string;
digest: number;
}
| { status: "package_ledger_digest"; digest: number }
| { status: "blocked"; reason: string; detail: string };
interface FolderSourceDescriptor {
workbookId: string;
queryId: string;
rootPath: string;
includeGlob?: string;
excludeGlob?: string;
recursive?: boolean;
maxFiles?: number;
maxTotalBytes?: number;
revoked?: boolean;
}
interface FoldingVerdict {
state: "folded" | "partially-folded" | "local";
viewNativeQueryEnabled: boolean;
nativeQuery?: FoldingNativeQuery;
}
interface InspectorAstNode {
nodeId: number;
kind: string;
detail?: string;
span: MWireSpan;
sourceSlice: string;
children: InspectorAstNode[];
}
interface InspectorBinding {
name: string;
span: MWireSpan;
scopeDepth: number;
shadowsOuter: boolean;
isClosureCaptured: boolean;
references: string[];
kind: string;
}
interface InspectorBuiltinRef {
name: string;
isRegistered: boolean;
migrationClass: string;
}
interface InspectorDiagnostic {
phase: string;
severity: string;
code: string;
message: string;
span: MWireSpan;
astNodeId?: number;
}
interface InspectorLineage {
referencedBuiltins: InspectorBuiltinRef[];
referencedIdentifiers: string[];
capability: string;
}
interface InspectorOutcome {
status: string;
value?: MWireValue;
error?: MWireError;
valueKind?: string;
}
interface LookupIndexHandleInfo {
handle: number;
mode: LookupIndexMode;
range: CellRange;
rowCount: number;
colCount: number;
}
type LookupIndexMode = "table-first-column" | "one-dimensional-scan";
type MExpressionOutcome =
| { status: "ok"; value: MWireValue; diagnostics: MWireDiagnostic[]; ast?: MWireAstNode; }
| { status: "diagnostics"; diagnostics: MWireDiagnostic[]; ast?: MWireAstNode; }
| { status: "eval-error"; error: MWireError; diagnostics: MWireDiagnostic[]; ast?: MWireAstNode; };
interface MWireAstNode {
kind: string;
detail?: string;
span: MWireSpan;
children: MWireAstNode[];
}
interface MWireDiagnostic {
phase: "lex" | "parse" | "bind" | "eval";
severity: "error" | "warning";
code: string;
message: string;
span: MWireSpan;
}
interface MWireError {
reason: string;
message: string;
span: MWireSpan;
}
interface MWireField {
name: string;
value: MWireValue;
}
interface MWireFunctionType {
required: MWireType[];
optional: MWireType[];
returns: MWireType;
}
interface MWireListType {
item: MWireType;
}
interface MWireMetadataField {
name: string;
value: MWireValue;
}
interface MWireMetadataRecord {
fields: MWireMetadataField[];
}
interface MWirePosition {
line: number;
column: number;
}
interface MWireRecordType {
fields: MWireTypeField[];
open: boolean;
}
interface MWireSpan {
startByte: number;
endByte: number;
start: MWirePosition;
end: MWirePosition;
}
interface MWireType {
kind: "type";
name: MWireTypeName;
nullable: boolean;
display: string;
record?: MWireRecordType;
table?: MWireTableRowType;
function?: MWireFunctionType;
list?: MWireListType;
}
interface MWireTypeField {
name: string;
optional: boolean;
type: MWireType;
}
type MWireValue = MWireValueVariant & { meta?: MWireMetadataRecord; };
type MWireValueVariant =
| { kind: "null" }
| { kind: "logical"; value: boolean }
| { kind: "number"; value: string; isInteger: boolean }
| { kind: "text"; value: string }
| { kind: "list"; items: MWireValue[] }
| { kind: "record"; fields: MWireField[] }
| { kind: "function"; builtinName?: string; isClosure: boolean }
| { kind: "error"; reason: string; message: string; span: MWireSpan }
| { kind: "table"; columns: string[]; rows: MWireValue[][]; schema: MWireTableSchema; }
| MWireType
| { kind: "integer"; value: string }
| { kind: "date"; year: number; month: number; day: number }
| { kind: "datetime";
year: number;
month: number;
day: number;
hour: number;
minute: number;
second: number;
nano: number;
}
| { kind: "datetimezone";
year: number;
month: number;
day: number;
hour: number;
minute: number;
second: number;
nano: number;
offsetMinutes: number;
}
| { kind: "time"; hour: number; minute: number; second: number; nano: number }
| { kind: "duration";
negative: boolean;
days: number;
hours: number;
minutes: number;
seconds: number;
nano: number;
}
| { kind: "binary"; byteLength: number; base64: string };
interface RequestedBackendField {
requestedBackend?: ComputeBackendKind | null;
}
interface SourceGridDescriptor {
rows: SourceCellDescriptor[][];
}
interface SourceRequestDescriptor {
sheetName: string;
sheetExists: boolean;
rangeRows: number;
rangeColumns: number;
promoteHeaders: boolean;
}
type StepMutation =
| { kind: "insert"; afterStepId?: string; displayName: string; canonicalM: string; }
| { kind: "edit"; stepId: string; canonicalM: string; }
| { kind: "delete"; stepId: string; }
| { kind: "rename"; stepId: string; newName: string; }
| { kind: "reorder"; stepId: string; targetIndex: number; };
interface StepMutationOutcome {
status: "ok" | "blocked";
steps: AppliedStep[];
selectedStepId?: string;
reason?: string;
detail?: string;
}
interface StepMutationResult {
projection: AppliedStepsProjection;
outcome: StepMutationOutcome;
}
interface WebSourceResolverEntry {
host: string;
ips: string[];
}
interface WebSourceTestAllowlist {
allowHttp?: boolean;
extraAllowedHosts?: string[];
extraAllowedPorts?: number[];
resolver?: WebSourceResolverEntry[];
}

Documentation assistant

Answers are assembled from the documentation and may be inaccurate — check the sources.