@opengeni/contracts 0.39.0 → 0.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atlassian.d.ts +278 -0
- package/dist/atlassian.js +55 -0
- package/dist/atlassian.js.map +1 -0
- package/dist/chunk-52SGB2QO.js +688 -0
- package/dist/chunk-52SGB2QO.js.map +1 -0
- package/dist/{chunk-7JZMI22I.js → chunk-5UDNP7AO.js} +34 -2
- package/dist/chunk-5UDNP7AO.js.map +1 -0
- package/dist/chunk-BVGIYW7D.js +11 -0
- package/dist/chunk-BVGIYW7D.js.map +1 -0
- package/dist/chunk-CADSX6UN.js +1145 -0
- package/dist/chunk-CADSX6UN.js.map +1 -0
- package/dist/chunk-D2HKF2EF.js +1460 -0
- package/dist/chunk-D2HKF2EF.js.map +1 -0
- package/dist/chunk-FJBG5E4O.js +194 -0
- package/dist/chunk-FJBG5E4O.js.map +1 -0
- package/dist/chunk-H5BVCZKF.js +382 -0
- package/dist/chunk-H5BVCZKF.js.map +1 -0
- package/dist/chunk-LSB7GRLG.js +779 -0
- package/dist/chunk-LSB7GRLG.js.map +1 -0
- package/dist/chunk-MYBZRDTY.js +340 -0
- package/dist/chunk-MYBZRDTY.js.map +1 -0
- package/dist/chunk-RIY7GYQS.js +1204 -0
- package/dist/chunk-RIY7GYQS.js.map +1 -0
- package/dist/chunk-TZ6YEYN4.js +386 -0
- package/dist/chunk-TZ6YEYN4.js.map +1 -0
- package/dist/chunk-VA22KRHS.js +15177 -0
- package/dist/chunk-VA22KRHS.js.map +1 -0
- package/dist/chunk-Y3MLSLB4.js +392 -0
- package/dist/chunk-Y3MLSLB4.js.map +1 -0
- package/dist/chunk-YRKRZ6OF.js +134 -0
- package/dist/chunk-YRKRZ6OF.js.map +1 -0
- package/dist/company-profile.d.ts +629 -0
- package/dist/document-artifact-commands.d.ts +282 -0
- package/dist/document-artifact-commands.js +54 -0
- package/dist/document-artifact-commands.js.map +1 -0
- package/dist/document-artifact-query.d.ts +2 -0
- package/dist/document-artifact-query.js +54 -0
- package/dist/document-artifact-query.js.map +1 -0
- package/dist/editable-artifact-binary.d.ts +56 -0
- package/dist/editable-artifact-causal-frontier.d.ts +12 -0
- package/dist/editable-artifact-causal-frontier.js +18 -0
- package/dist/editable-artifact-causal-frontier.js.map +1 -0
- package/dist/editable-artifact-codec-registry.d.ts +48 -0
- package/dist/editable-artifact-codec-registry.js +20 -0
- package/dist/editable-artifact-codec-registry.js.map +1 -0
- package/dist/editable-artifact-committed-transaction.d.ts +35 -0
- package/dist/editable-artifact-committed-transaction.js +19 -0
- package/dist/editable-artifact-committed-transaction.js.map +1 -0
- package/dist/editable-artifact-live.d.ts +276 -0
- package/dist/editable-artifact-live.js +907 -0
- package/dist/editable-artifact-live.js.map +1 -0
- package/dist/editable-artifact-serialized-commit.d.ts +53 -0
- package/dist/editable-artifact-serialized-commit.js +26 -0
- package/dist/editable-artifact-serialized-commit.js.map +1 -0
- package/dist/editable-artifact-versions.d.ts +6 -0
- package/dist/editable-artifact-versions.js +11 -0
- package/dist/editable-artifact-versions.js.map +1 -0
- package/dist/editable-artifacts.d.ts +46 -0
- package/dist/editable-artifacts.js +236 -0
- package/dist/editable-artifacts.js.map +1 -0
- package/dist/event-preview.d.ts +7 -7
- package/dist/google-drive.d.ts +114 -2
- package/dist/google-drive.js +70 -14
- package/dist/google-drive.js.map +1 -1
- package/dist/image-generation.d.ts +70 -0
- package/dist/index.d.ts +5180 -329
- package/dist/index.js +1173 -40
- package/dist/interaction.d.ts +6895 -0
- package/dist/mcp-receipts.d.ts +96 -0
- package/dist/memory-slack-delivery.d.ts +397 -0
- package/dist/presentation-artifact-commands.d.ts +349 -0
- package/dist/presentation-artifact-commands.js +66 -0
- package/dist/presentation-artifact-commands.js.map +1 -0
- package/dist/presentation-artifact-query.d.ts +2 -0
- package/dist/presentation-artifact-query.js +66 -0
- package/dist/presentation-artifact-query.js.map +1 -0
- package/dist/retained-output.d.ts +83 -6
- package/dist/sandbox-snapshots.d.ts +9 -0
- package/dist/scoped-knowledge.d.ts +14 -13
- package/dist/slack-bot-scopes.d.ts +4 -0
- package/dist/slack-bot-scopes.js +3 -1
- package/dist/spreadsheet-artifact-commands.d.ts +101 -0
- package/dist/spreadsheet-artifact-commands.js +27 -0
- package/dist/spreadsheet-artifact-commands.js.map +1 -0
- package/dist/spreadsheet-artifact-date.d.ts +4 -0
- package/dist/spreadsheet-artifact-query.d.ts +120 -0
- package/dist/spreadsheet-artifact-query.js +48 -0
- package/dist/spreadsheet-artifact-query.js.map +1 -0
- package/dist/tool-catalog.d.ts +576 -0
- package/dist/video-generation.d.ts +532 -0
- package/dist/video-generation.js +51 -0
- package/dist/video-generation.js.map +1 -0
- package/dist/workspace-learning-policy.d.ts +208 -0
- package/package.json +61 -1
- package/src/atlassian.ts +160 -0
- package/src/company-profile.ts +306 -0
- package/src/document-artifact-commands.ts +1709 -0
- package/src/document-artifact-query.ts +2 -0
- package/src/editable-artifact-binary.ts +396 -0
- package/src/editable-artifact-causal-frontier.ts +154 -0
- package/src/editable-artifact-codec-registry.ts +261 -0
- package/src/editable-artifact-committed-transaction.ts +478 -0
- package/src/editable-artifact-live.ts +1379 -0
- package/src/editable-artifact-serialized-commit.ts +494 -0
- package/src/editable-artifact-versions.ts +8 -0
- package/src/editable-artifacts.ts +473 -0
- package/src/event-preview.ts +6 -6
- package/src/google-drive.ts +68 -15
- package/src/image-generation.ts +106 -0
- package/src/index.ts +2535 -282
- package/src/interaction.ts +2292 -0
- package/src/mcp-receipts.ts +281 -0
- package/src/memory-slack-delivery.ts +183 -0
- package/src/presentation-artifact-commands.ts +2035 -0
- package/src/presentation-artifact-query.ts +2 -0
- package/src/retained-output.ts +248 -8
- package/src/sandbox-snapshots.ts +28 -1
- package/src/scoped-knowledge.ts +18 -4
- package/src/slack-bot-scopes.ts +34 -1
- package/src/spreadsheet-artifact-commands.ts +999 -0
- package/src/spreadsheet-artifact-date.ts +21 -0
- package/src/spreadsheet-artifact-query.ts +1411 -0
- package/src/tool-catalog.ts +334 -0
- package/src/video-generation.ts +394 -0
- package/src/workspace-learning-policy.ts +233 -0
- package/dist/chunk-7JZMI22I.js.map +0 -1
- package/dist/chunk-PCTCJEAF.js +0 -10799
- package/dist/chunk-PCTCJEAF.js.map +0 -1
- package/dist/secret-redaction.d.ts +0 -40
- package/src/secret-redaction.ts +0 -364
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
/** Canonical identity-free OGAPC001/OGAPQ001/OGAPV001 presentation ABI. */
|
|
2
|
+
export declare const PRESENTATION_ARTIFACT_COMMAND_VERSION: 1;
|
|
3
|
+
export declare const PRESENTATION_ARTIFACT_QUERY_VERSION: 1;
|
|
4
|
+
export declare const PRESENTATION_ARTIFACT_QUERY_RESPONSE_VERSION: 1;
|
|
5
|
+
export declare const PRESENTATION_ARTIFACT_COMMAND_MAX_BYTES: number;
|
|
6
|
+
export declare const PRESENTATION_ARTIFACT_COMMAND_MAX_COMMANDS = 10000;
|
|
7
|
+
export declare const PRESENTATION_ARTIFACT_QUERY_MAX_BYTES = 96;
|
|
8
|
+
export declare const PRESENTATION_ARTIFACT_QUERY_RESPONSE_MAX_BYTES: number;
|
|
9
|
+
export declare const PRESENTATION_ARTIFACT_QUERY_MAX_NODES = 16384;
|
|
10
|
+
export declare const PRESENTATION_ARTIFACT_QUERY_MAX_SLIDES = 10000;
|
|
11
|
+
export declare const PRESENTATION_ARTIFACT_QUERY_MAX_TEXT_BYTES: number;
|
|
12
|
+
export declare const PRESENTATION_ARTIFACT_MAX_COORDINATE = 9525000000000;
|
|
13
|
+
export declare const PRESENTATION_ARTIFACT_MAX_NAME_BYTES = 1024;
|
|
14
|
+
export declare const PRESENTATION_ARTIFACT_MAX_TEXT_BYTES: number;
|
|
15
|
+
export declare const PRESENTATION_ARTIFACT_MAX_TEXT_PARAGRAPHS = 100000;
|
|
16
|
+
export declare const PRESENTATION_ARTIFACT_MAX_TEXT_RUNS = 250000;
|
|
17
|
+
export declare const PRESENTATION_ARTIFACT_MAX_TABLE_ROWS = 10000;
|
|
18
|
+
export declare const PRESENTATION_ARTIFACT_MAX_TABLE_COLUMNS = 1024;
|
|
19
|
+
export declare const PRESENTATION_ARTIFACT_MAX_TABLE_CELLS = 1000000;
|
|
20
|
+
export declare const PRESENTATION_ARTIFACT_MAX_CHART_SERIES = 16384;
|
|
21
|
+
export declare const PRESENTATION_ARTIFACT_MAX_CHART_POINTS = 1000000;
|
|
22
|
+
export declare const PRESENTATION_ARTIFACT_MAX_GROUP_CHILDREN = 100000;
|
|
23
|
+
export type PresentationArtifactStableId = string;
|
|
24
|
+
export type PresentationArtifactFill = Readonly<{
|
|
25
|
+
kind: "none";
|
|
26
|
+
}> | Readonly<{
|
|
27
|
+
kind: "solid";
|
|
28
|
+
color: number;
|
|
29
|
+
}>;
|
|
30
|
+
export type PresentationArtifactLine = Readonly<{
|
|
31
|
+
fill: PresentationArtifactFill;
|
|
32
|
+
width: number;
|
|
33
|
+
dash: "solid" | "dash" | "dot";
|
|
34
|
+
}>;
|
|
35
|
+
export type PresentationArtifactRect = Readonly<{
|
|
36
|
+
x: number;
|
|
37
|
+
y: number;
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
}>;
|
|
41
|
+
export type PresentationArtifactTransform = Readonly<{
|
|
42
|
+
rotation: number;
|
|
43
|
+
flipHorizontal: boolean;
|
|
44
|
+
flipVertical: boolean;
|
|
45
|
+
}>;
|
|
46
|
+
export type PresentationArtifactOwner = Readonly<{
|
|
47
|
+
kind: "master" | "layout" | "slide";
|
|
48
|
+
id: PresentationArtifactStableId;
|
|
49
|
+
}>;
|
|
50
|
+
export type PresentationArtifactTextStyle = Readonly<{
|
|
51
|
+
fontFamily: string;
|
|
52
|
+
fontSizeCentipoints: number;
|
|
53
|
+
color: number;
|
|
54
|
+
bold: boolean;
|
|
55
|
+
italic: boolean;
|
|
56
|
+
underline: boolean;
|
|
57
|
+
language: string | null;
|
|
58
|
+
}>;
|
|
59
|
+
export type PresentationArtifactTextRun = Readonly<{
|
|
60
|
+
text: string;
|
|
61
|
+
style: PresentationArtifactTextStyle;
|
|
62
|
+
}>;
|
|
63
|
+
export type PresentationArtifactTextParagraph = Readonly<{
|
|
64
|
+
runs: readonly PresentationArtifactTextRun[];
|
|
65
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
66
|
+
}>;
|
|
67
|
+
export type PresentationArtifactRichText = Readonly<{
|
|
68
|
+
paragraphs: readonly PresentationArtifactTextParagraph[];
|
|
69
|
+
verticalAlignment: "top" | "middle" | "bottom";
|
|
70
|
+
}>;
|
|
71
|
+
export type PresentationArtifactConnectorEndpoint = Readonly<{
|
|
72
|
+
nodeId: PresentationArtifactStableId | null;
|
|
73
|
+
x: number;
|
|
74
|
+
y: number;
|
|
75
|
+
}>;
|
|
76
|
+
export type PresentationArtifactChartSeries = Readonly<{
|
|
77
|
+
name: string;
|
|
78
|
+
categories: readonly string[];
|
|
79
|
+
values: readonly number[];
|
|
80
|
+
xValues: readonly number[];
|
|
81
|
+
bubbleSizes: readonly number[];
|
|
82
|
+
}>;
|
|
83
|
+
export type PresentationArtifactTableCell = Readonly<{
|
|
84
|
+
text: PresentationArtifactRichText;
|
|
85
|
+
fill: PresentationArtifactFill;
|
|
86
|
+
rowSpan: number;
|
|
87
|
+
columnSpan: number;
|
|
88
|
+
}>;
|
|
89
|
+
export type PresentationArtifactNodeKind = Readonly<{
|
|
90
|
+
kind: "shape";
|
|
91
|
+
geometry: "text-box" | "rectangle" | "rounded-rectangle" | "ellipse" | "triangle" | "right-arrow" | "line";
|
|
92
|
+
fill: PresentationArtifactFill;
|
|
93
|
+
line: PresentationArtifactLine;
|
|
94
|
+
text: PresentationArtifactRichText | null;
|
|
95
|
+
placeholder: Readonly<{
|
|
96
|
+
kind: string;
|
|
97
|
+
index: number | null;
|
|
98
|
+
}> | null;
|
|
99
|
+
}> | Readonly<{
|
|
100
|
+
kind: "group";
|
|
101
|
+
childOffsetX: number;
|
|
102
|
+
childOffsetY: number;
|
|
103
|
+
childExtentWidth: number;
|
|
104
|
+
childExtentHeight: number;
|
|
105
|
+
children: readonly PresentationArtifactStableId[];
|
|
106
|
+
}> | Readonly<{
|
|
107
|
+
kind: "connector";
|
|
108
|
+
connectorKind: "straight" | "elbow" | "curved";
|
|
109
|
+
start: PresentationArtifactConnectorEndpoint;
|
|
110
|
+
end: PresentationArtifactConnectorEndpoint;
|
|
111
|
+
line: PresentationArtifactLine;
|
|
112
|
+
}> | Readonly<{
|
|
113
|
+
kind: "chart";
|
|
114
|
+
chartType: "bar" | "line" | "area" | "pie" | "doughnut" | "scatter" | "bubble" | "radar";
|
|
115
|
+
title: PresentationArtifactRichText;
|
|
116
|
+
series: readonly PresentationArtifactChartSeries[];
|
|
117
|
+
hasLegend: boolean;
|
|
118
|
+
}> | Readonly<{
|
|
119
|
+
kind: "table";
|
|
120
|
+
rows: readonly (readonly (PresentationArtifactTableCell | null)[])[];
|
|
121
|
+
columnWidths: readonly number[];
|
|
122
|
+
rowHeights: readonly number[];
|
|
123
|
+
line: PresentationArtifactLine;
|
|
124
|
+
}> | Readonly<{
|
|
125
|
+
kind: "media";
|
|
126
|
+
digest: Uint8Array;
|
|
127
|
+
contentType: string;
|
|
128
|
+
altText: string;
|
|
129
|
+
fit: "contain" | "cover";
|
|
130
|
+
intrinsicWidth: number;
|
|
131
|
+
intrinsicHeight: number;
|
|
132
|
+
}>;
|
|
133
|
+
export type PresentationArtifactNewNode = Readonly<{
|
|
134
|
+
id: PresentationArtifactStableId;
|
|
135
|
+
name: string;
|
|
136
|
+
bounds: PresentationArtifactRect;
|
|
137
|
+
transform: PresentationArtifactTransform;
|
|
138
|
+
content: PresentationArtifactNodeKind;
|
|
139
|
+
}>;
|
|
140
|
+
export type PresentationArtifactCommand = Readonly<{
|
|
141
|
+
kind: "master.create";
|
|
142
|
+
id: PresentationArtifactStableId;
|
|
143
|
+
name: string;
|
|
144
|
+
background: PresentationArtifactFill;
|
|
145
|
+
}> | Readonly<{
|
|
146
|
+
kind: "layout.create";
|
|
147
|
+
id: PresentationArtifactStableId;
|
|
148
|
+
name: string;
|
|
149
|
+
masterId: PresentationArtifactStableId | null;
|
|
150
|
+
background: PresentationArtifactFill;
|
|
151
|
+
}> | Readonly<{
|
|
152
|
+
kind: "slide.create";
|
|
153
|
+
id: PresentationArtifactStableId;
|
|
154
|
+
index: number;
|
|
155
|
+
title: string;
|
|
156
|
+
layoutId: PresentationArtifactStableId | null;
|
|
157
|
+
background: PresentationArtifactFill;
|
|
158
|
+
}> | Readonly<{
|
|
159
|
+
kind: "master.delete";
|
|
160
|
+
id: PresentationArtifactStableId;
|
|
161
|
+
}> | Readonly<{
|
|
162
|
+
kind: "layout.delete";
|
|
163
|
+
id: PresentationArtifactStableId;
|
|
164
|
+
}> | Readonly<{
|
|
165
|
+
kind: "slide.delete";
|
|
166
|
+
id: PresentationArtifactStableId;
|
|
167
|
+
}> | Readonly<{
|
|
168
|
+
kind: "slide.title.set";
|
|
169
|
+
id: PresentationArtifactStableId;
|
|
170
|
+
title: string;
|
|
171
|
+
}> | Readonly<{
|
|
172
|
+
kind: "slide.layout.set";
|
|
173
|
+
id: PresentationArtifactStableId;
|
|
174
|
+
layoutId: PresentationArtifactStableId | null;
|
|
175
|
+
}> | Readonly<{
|
|
176
|
+
kind: "slide.notes.set";
|
|
177
|
+
id: PresentationArtifactStableId;
|
|
178
|
+
notes: PresentationArtifactRichText;
|
|
179
|
+
}> | Readonly<{
|
|
180
|
+
kind: "node.insert";
|
|
181
|
+
owner: PresentationArtifactOwner;
|
|
182
|
+
parentId: PresentationArtifactStableId | null;
|
|
183
|
+
index: number;
|
|
184
|
+
node: PresentationArtifactNewNode;
|
|
185
|
+
}> | Readonly<{
|
|
186
|
+
kind: "node.delete";
|
|
187
|
+
id: PresentationArtifactStableId;
|
|
188
|
+
}> | Readonly<{
|
|
189
|
+
kind: "node.move";
|
|
190
|
+
id: PresentationArtifactStableId;
|
|
191
|
+
newParentId: PresentationArtifactStableId | null;
|
|
192
|
+
index: number;
|
|
193
|
+
}> | Readonly<{
|
|
194
|
+
kind: "node.bounds.set";
|
|
195
|
+
id: PresentationArtifactStableId;
|
|
196
|
+
bounds: PresentationArtifactRect;
|
|
197
|
+
}> | Readonly<{
|
|
198
|
+
kind: "node.transform.set";
|
|
199
|
+
id: PresentationArtifactStableId;
|
|
200
|
+
transform: PresentationArtifactTransform;
|
|
201
|
+
}> | Readonly<{
|
|
202
|
+
kind: "node.content.set";
|
|
203
|
+
id: PresentationArtifactStableId;
|
|
204
|
+
content: PresentationArtifactNodeKind;
|
|
205
|
+
}> | Readonly<{
|
|
206
|
+
kind: "presentation.size.set";
|
|
207
|
+
size: Readonly<{
|
|
208
|
+
width: number;
|
|
209
|
+
height: number;
|
|
210
|
+
}>;
|
|
211
|
+
}>;
|
|
212
|
+
export type PresentationArtifactCommandBatch = Readonly<{
|
|
213
|
+
version: typeof PRESENTATION_ARTIFACT_COMMAND_VERSION;
|
|
214
|
+
commands: readonly PresentationArtifactCommand[];
|
|
215
|
+
}>;
|
|
216
|
+
export declare function encodePresentationArtifactCommandBatch(input: PresentationArtifactCommandBatch): Uint8Array;
|
|
217
|
+
export declare function decodePresentationArtifactCommandBatch(bytes: Uint8Array): PresentationArtifactCommandBatch;
|
|
218
|
+
export declare function assertCanonicalPresentationArtifactCommandBytes(bytes: Uint8Array): void;
|
|
219
|
+
export type PresentationArtifactQuery = Readonly<{
|
|
220
|
+
kind: "viewport";
|
|
221
|
+
owner: PresentationArtifactOwner;
|
|
222
|
+
viewport: PresentationArtifactRect;
|
|
223
|
+
maxNodes: number;
|
|
224
|
+
maxBytes: number;
|
|
225
|
+
}> | Readonly<{
|
|
226
|
+
kind: "hit-test";
|
|
227
|
+
owner: PresentationArtifactOwner;
|
|
228
|
+
x: number;
|
|
229
|
+
y: number;
|
|
230
|
+
maxNodes: number;
|
|
231
|
+
maxBytes: number;
|
|
232
|
+
}> | Readonly<{
|
|
233
|
+
kind: "resolved-slide";
|
|
234
|
+
slideId: PresentationArtifactStableId;
|
|
235
|
+
maxNodes: number;
|
|
236
|
+
maxBytes: number;
|
|
237
|
+
}> | Readonly<{
|
|
238
|
+
kind: "metadata";
|
|
239
|
+
maxBytes: number;
|
|
240
|
+
}> | Readonly<{
|
|
241
|
+
kind: "slide-catalog";
|
|
242
|
+
startSlide: number;
|
|
243
|
+
maxSlides: number;
|
|
244
|
+
maxTextBytes: number;
|
|
245
|
+
maxBytes: number;
|
|
246
|
+
}> | Readonly<{
|
|
247
|
+
kind: "editor-slide";
|
|
248
|
+
slideId: PresentationArtifactStableId;
|
|
249
|
+
maxNodes: number;
|
|
250
|
+
maxTextBytes: number;
|
|
251
|
+
maxBytes: number;
|
|
252
|
+
}>;
|
|
253
|
+
export declare function encodePresentationArtifactQuery(query: PresentationArtifactQuery): Uint8Array;
|
|
254
|
+
export declare function decodePresentationArtifactQuery(bytes: Uint8Array): PresentationArtifactQuery;
|
|
255
|
+
export declare function assertCanonicalPresentationArtifactQueryBytes(bytes: Uint8Array): void;
|
|
256
|
+
export type PresentationArtifactProjectedNode = Readonly<{
|
|
257
|
+
id: string;
|
|
258
|
+
owner: PresentationArtifactOwner;
|
|
259
|
+
parentId: string | null;
|
|
260
|
+
nodeKind: PresentationArtifactNodeKind["kind"];
|
|
261
|
+
bounds: PresentationArtifactRect;
|
|
262
|
+
paintOrder: number;
|
|
263
|
+
}>;
|
|
264
|
+
export type PresentationArtifactResolvedNode = Readonly<{
|
|
265
|
+
id: string;
|
|
266
|
+
source: PresentationArtifactOwner;
|
|
267
|
+
inherited: boolean;
|
|
268
|
+
}>;
|
|
269
|
+
export type PresentationArtifactSlideLayoutFacts = Readonly<{
|
|
270
|
+
id: PresentationArtifactStableId;
|
|
271
|
+
name: string;
|
|
272
|
+
masterId: PresentationArtifactStableId | null;
|
|
273
|
+
background: PresentationArtifactFill;
|
|
274
|
+
}>;
|
|
275
|
+
export type PresentationArtifactSlideCatalogItem = Readonly<{
|
|
276
|
+
index: number;
|
|
277
|
+
id: PresentationArtifactStableId;
|
|
278
|
+
title: string;
|
|
279
|
+
background: PresentationArtifactFill;
|
|
280
|
+
layout: PresentationArtifactSlideLayoutFacts | null;
|
|
281
|
+
}>;
|
|
282
|
+
export type PresentationArtifactEditorSceneNode = Readonly<{
|
|
283
|
+
id: PresentationArtifactStableId;
|
|
284
|
+
source: PresentationArtifactOwner;
|
|
285
|
+
inherited: boolean;
|
|
286
|
+
parentId: PresentationArtifactStableId | null;
|
|
287
|
+
order: number;
|
|
288
|
+
name: string;
|
|
289
|
+
bounds: PresentationArtifactRect;
|
|
290
|
+
transform: PresentationArtifactTransform;
|
|
291
|
+
content: PresentationArtifactNodeKind;
|
|
292
|
+
}>;
|
|
293
|
+
export type PresentationArtifactQueryResponse = Readonly<{
|
|
294
|
+
kind: "viewport";
|
|
295
|
+
revision: bigint;
|
|
296
|
+
owner: PresentationArtifactOwner;
|
|
297
|
+
viewport: PresentationArtifactRect;
|
|
298
|
+
nodes: readonly PresentationArtifactProjectedNode[];
|
|
299
|
+
truncated: boolean;
|
|
300
|
+
}> | Readonly<{
|
|
301
|
+
kind: "hit-test";
|
|
302
|
+
revision: bigint;
|
|
303
|
+
owner: PresentationArtifactOwner;
|
|
304
|
+
viewport: PresentationArtifactRect;
|
|
305
|
+
nodes: readonly PresentationArtifactProjectedNode[];
|
|
306
|
+
truncated: boolean;
|
|
307
|
+
}> | Readonly<{
|
|
308
|
+
kind: "resolved-slide";
|
|
309
|
+
revision: bigint;
|
|
310
|
+
slideId: string;
|
|
311
|
+
nodes: readonly PresentationArtifactResolvedNode[];
|
|
312
|
+
truncated: boolean;
|
|
313
|
+
}> | Readonly<{
|
|
314
|
+
kind: "metadata";
|
|
315
|
+
revision: bigint;
|
|
316
|
+
presentationId: string;
|
|
317
|
+
slideSize: Readonly<{
|
|
318
|
+
width: number;
|
|
319
|
+
height: number;
|
|
320
|
+
}>;
|
|
321
|
+
masters: number;
|
|
322
|
+
layouts: number;
|
|
323
|
+
slides: number;
|
|
324
|
+
}> | Readonly<{
|
|
325
|
+
kind: "slide-catalog";
|
|
326
|
+
revision: bigint;
|
|
327
|
+
startSlide: number;
|
|
328
|
+
nextSlide: number | null;
|
|
329
|
+
projectedTextBytes: number;
|
|
330
|
+
slides: readonly PresentationArtifactSlideCatalogItem[];
|
|
331
|
+
truncated: boolean;
|
|
332
|
+
}> | Readonly<{
|
|
333
|
+
kind: "editor-slide";
|
|
334
|
+
revision: bigint;
|
|
335
|
+
slide: PresentationArtifactSlideCatalogItem;
|
|
336
|
+
notes: PresentationArtifactRichText | null;
|
|
337
|
+
projectedTextBytes: number;
|
|
338
|
+
nodes: readonly PresentationArtifactEditorSceneNode[];
|
|
339
|
+
truncated: boolean;
|
|
340
|
+
}>;
|
|
341
|
+
export type PresentationArtifactSlideCatalogResponse = Extract<PresentationArtifactQueryResponse, {
|
|
342
|
+
kind: "slide-catalog";
|
|
343
|
+
}>;
|
|
344
|
+
export type PresentationArtifactEditorSlideResponse = Extract<PresentationArtifactQueryResponse, {
|
|
345
|
+
kind: "editor-slide";
|
|
346
|
+
}>;
|
|
347
|
+
export declare function encodePresentationArtifactQueryResponse(response: PresentationArtifactQueryResponse, maximumBytes?: number): Uint8Array;
|
|
348
|
+
export declare function decodePresentationArtifactQueryResponse(bytes: Uint8Array): PresentationArtifactQueryResponse;
|
|
349
|
+
export declare function assertCanonicalPresentationArtifactQueryResponseBytes(bytes: Uint8Array): void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_BYTES,
|
|
3
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
4
|
+
PRESENTATION_ARTIFACT_COMMAND_VERSION,
|
|
5
|
+
PRESENTATION_ARTIFACT_MAX_CHART_POINTS,
|
|
6
|
+
PRESENTATION_ARTIFACT_MAX_CHART_SERIES,
|
|
7
|
+
PRESENTATION_ARTIFACT_MAX_COORDINATE,
|
|
8
|
+
PRESENTATION_ARTIFACT_MAX_GROUP_CHILDREN,
|
|
9
|
+
PRESENTATION_ARTIFACT_MAX_NAME_BYTES,
|
|
10
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_CELLS,
|
|
11
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_COLUMNS,
|
|
12
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_ROWS,
|
|
13
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_BYTES,
|
|
14
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_PARAGRAPHS,
|
|
15
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_RUNS,
|
|
16
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_BYTES,
|
|
17
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_NODES,
|
|
18
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_SLIDES,
|
|
19
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_TEXT_BYTES,
|
|
20
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_MAX_BYTES,
|
|
21
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_VERSION,
|
|
22
|
+
PRESENTATION_ARTIFACT_QUERY_VERSION,
|
|
23
|
+
assertCanonicalPresentationArtifactCommandBytes,
|
|
24
|
+
assertCanonicalPresentationArtifactQueryBytes,
|
|
25
|
+
assertCanonicalPresentationArtifactQueryResponseBytes,
|
|
26
|
+
decodePresentationArtifactCommandBatch,
|
|
27
|
+
decodePresentationArtifactQuery,
|
|
28
|
+
decodePresentationArtifactQueryResponse,
|
|
29
|
+
encodePresentationArtifactCommandBatch,
|
|
30
|
+
encodePresentationArtifactQuery,
|
|
31
|
+
encodePresentationArtifactQueryResponse
|
|
32
|
+
} from "./chunk-D2HKF2EF.js";
|
|
33
|
+
import "./chunk-MYBZRDTY.js";
|
|
34
|
+
export {
|
|
35
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_BYTES,
|
|
36
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
37
|
+
PRESENTATION_ARTIFACT_COMMAND_VERSION,
|
|
38
|
+
PRESENTATION_ARTIFACT_MAX_CHART_POINTS,
|
|
39
|
+
PRESENTATION_ARTIFACT_MAX_CHART_SERIES,
|
|
40
|
+
PRESENTATION_ARTIFACT_MAX_COORDINATE,
|
|
41
|
+
PRESENTATION_ARTIFACT_MAX_GROUP_CHILDREN,
|
|
42
|
+
PRESENTATION_ARTIFACT_MAX_NAME_BYTES,
|
|
43
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_CELLS,
|
|
44
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_COLUMNS,
|
|
45
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_ROWS,
|
|
46
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_BYTES,
|
|
47
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_PARAGRAPHS,
|
|
48
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_RUNS,
|
|
49
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_BYTES,
|
|
50
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_NODES,
|
|
51
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_SLIDES,
|
|
52
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_TEXT_BYTES,
|
|
53
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_MAX_BYTES,
|
|
54
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_VERSION,
|
|
55
|
+
PRESENTATION_ARTIFACT_QUERY_VERSION,
|
|
56
|
+
assertCanonicalPresentationArtifactCommandBytes,
|
|
57
|
+
assertCanonicalPresentationArtifactQueryBytes,
|
|
58
|
+
assertCanonicalPresentationArtifactQueryResponseBytes,
|
|
59
|
+
decodePresentationArtifactCommandBatch,
|
|
60
|
+
decodePresentationArtifactQuery,
|
|
61
|
+
decodePresentationArtifactQueryResponse,
|
|
62
|
+
encodePresentationArtifactCommandBatch,
|
|
63
|
+
encodePresentationArtifactQuery,
|
|
64
|
+
encodePresentationArtifactQueryResponse
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=presentation-artifact-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_BYTES,
|
|
3
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
4
|
+
PRESENTATION_ARTIFACT_COMMAND_VERSION,
|
|
5
|
+
PRESENTATION_ARTIFACT_MAX_CHART_POINTS,
|
|
6
|
+
PRESENTATION_ARTIFACT_MAX_CHART_SERIES,
|
|
7
|
+
PRESENTATION_ARTIFACT_MAX_COORDINATE,
|
|
8
|
+
PRESENTATION_ARTIFACT_MAX_GROUP_CHILDREN,
|
|
9
|
+
PRESENTATION_ARTIFACT_MAX_NAME_BYTES,
|
|
10
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_CELLS,
|
|
11
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_COLUMNS,
|
|
12
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_ROWS,
|
|
13
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_BYTES,
|
|
14
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_PARAGRAPHS,
|
|
15
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_RUNS,
|
|
16
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_BYTES,
|
|
17
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_NODES,
|
|
18
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_SLIDES,
|
|
19
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_TEXT_BYTES,
|
|
20
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_MAX_BYTES,
|
|
21
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_VERSION,
|
|
22
|
+
PRESENTATION_ARTIFACT_QUERY_VERSION,
|
|
23
|
+
assertCanonicalPresentationArtifactCommandBytes,
|
|
24
|
+
assertCanonicalPresentationArtifactQueryBytes,
|
|
25
|
+
assertCanonicalPresentationArtifactQueryResponseBytes,
|
|
26
|
+
decodePresentationArtifactCommandBatch,
|
|
27
|
+
decodePresentationArtifactQuery,
|
|
28
|
+
decodePresentationArtifactQueryResponse,
|
|
29
|
+
encodePresentationArtifactCommandBatch,
|
|
30
|
+
encodePresentationArtifactQuery,
|
|
31
|
+
encodePresentationArtifactQueryResponse
|
|
32
|
+
} from "./chunk-D2HKF2EF.js";
|
|
33
|
+
import "./chunk-MYBZRDTY.js";
|
|
34
|
+
export {
|
|
35
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_BYTES,
|
|
36
|
+
PRESENTATION_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
37
|
+
PRESENTATION_ARTIFACT_COMMAND_VERSION,
|
|
38
|
+
PRESENTATION_ARTIFACT_MAX_CHART_POINTS,
|
|
39
|
+
PRESENTATION_ARTIFACT_MAX_CHART_SERIES,
|
|
40
|
+
PRESENTATION_ARTIFACT_MAX_COORDINATE,
|
|
41
|
+
PRESENTATION_ARTIFACT_MAX_GROUP_CHILDREN,
|
|
42
|
+
PRESENTATION_ARTIFACT_MAX_NAME_BYTES,
|
|
43
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_CELLS,
|
|
44
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_COLUMNS,
|
|
45
|
+
PRESENTATION_ARTIFACT_MAX_TABLE_ROWS,
|
|
46
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_BYTES,
|
|
47
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_PARAGRAPHS,
|
|
48
|
+
PRESENTATION_ARTIFACT_MAX_TEXT_RUNS,
|
|
49
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_BYTES,
|
|
50
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_NODES,
|
|
51
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_SLIDES,
|
|
52
|
+
PRESENTATION_ARTIFACT_QUERY_MAX_TEXT_BYTES,
|
|
53
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_MAX_BYTES,
|
|
54
|
+
PRESENTATION_ARTIFACT_QUERY_RESPONSE_VERSION,
|
|
55
|
+
PRESENTATION_ARTIFACT_QUERY_VERSION,
|
|
56
|
+
assertCanonicalPresentationArtifactCommandBytes,
|
|
57
|
+
assertCanonicalPresentationArtifactQueryBytes,
|
|
58
|
+
assertCanonicalPresentationArtifactQueryResponseBytes,
|
|
59
|
+
decodePresentationArtifactCommandBatch,
|
|
60
|
+
decodePresentationArtifactQuery,
|
|
61
|
+
decodePresentationArtifactQueryResponse,
|
|
62
|
+
encodePresentationArtifactCommandBatch,
|
|
63
|
+
encodePresentationArtifactQuery,
|
|
64
|
+
encodePresentationArtifactQueryResponse
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=presentation-artifact-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|