@inkbar/core 0.4.0 → 0.5.0
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/README.md +18 -7
- package/dist/dom.d.mts +142 -26
- package/dist/dom.d.mts.map +1 -1
- package/dist/dom.mjs +1277 -898
- package/dist/dom.mjs.map +1 -1
- package/dist/index.d.mts +3 -36
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{signatures-BHYKTwYE.d.mts → signatures-BwaXi7C8.d.mts} +615 -611
- package/dist/signatures-BwaXi7C8.d.mts.map +1 -0
- package/dist/{signatures-DF2VmNVa.mjs → signatures-CMapTKrC.mjs} +1071 -281
- package/dist/signatures-CMapTKrC.mjs.map +1 -0
- package/package.json +4 -7
- package/dist/signatures-BHYKTwYE.d.mts.map +0 -1
- package/dist/signatures-DF2VmNVa.mjs.map +0 -1
- package/schema.json +0 -1356
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Annotation, GLOSS_FORMAT as GLOSS_FORMAT$1, GLOSS_MEDIA_TYPE, GLOSS_SCHEMA_ID, GLOSS_VERSION as GLOSS_VERSION$1, GlossDocument, IMAGE_DATA_URL, UnknownAnnotation } from "gloss-format";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as pdfjs from "pdfjs-dist";
|
|
3
4
|
//#region src/model/geometry.d.ts
|
|
@@ -5,12 +6,12 @@ import * as pdfjs from "pdfjs-dist";
|
|
|
5
6
|
* All geometry in this module is PDF default user space: points, origin at the
|
|
6
7
|
* lower-left of the page, before /Rotate. Pixel conversions live in dom/transform.ts.
|
|
7
8
|
*/
|
|
8
|
-
interface Point {
|
|
9
|
+
interface Point$1 {
|
|
9
10
|
x: number;
|
|
10
11
|
y: number;
|
|
11
12
|
}
|
|
12
13
|
/** Axis-aligned box. `x`,`y` is the lower-left corner. */
|
|
13
|
-
interface Rect {
|
|
14
|
+
interface Rect$1 {
|
|
14
15
|
x: number;
|
|
15
16
|
y: number;
|
|
16
17
|
width: number;
|
|
@@ -18,27 +19,27 @@ interface Rect {
|
|
|
18
19
|
}
|
|
19
20
|
/** Four corners in PDF.js's normalised QuadPoints order: upper-left, upper-right, lower-left, lower-right. */
|
|
20
21
|
interface Quad {
|
|
21
|
-
p1: Point;
|
|
22
|
-
p2: Point;
|
|
23
|
-
p3: Point;
|
|
24
|
-
p4: Point;
|
|
22
|
+
p1: Point$1;
|
|
23
|
+
p2: Point$1;
|
|
24
|
+
p3: Point$1;
|
|
25
|
+
p4: Point$1;
|
|
25
26
|
}
|
|
26
27
|
/** PDF transformation matrix [a b c d e f]: x' = a·x + c·y + e, y' = b·x + d·y + f. */
|
|
27
28
|
type Matrix = readonly [number, number, number, number, number, number];
|
|
28
29
|
declare function approxEqual(a: number, b: number, eps?: number): boolean;
|
|
29
|
-
declare function rectFromPoints(a: Point, b: Point): Rect;
|
|
30
|
-
declare function rectFromQuad(q: Quad): Rect;
|
|
31
|
-
declare function quadFromRect(r: Rect): Quad;
|
|
32
|
-
declare function unionRects(rects: readonly Rect[]): Rect;
|
|
33
|
-
declare function rectsIntersect(a: Rect, b: Rect): boolean;
|
|
34
|
-
declare function rectContainsPoint(r: Rect, p: Point): boolean;
|
|
35
|
-
declare function translateRect(r: Rect, dx: number, dy: number): Rect;
|
|
30
|
+
declare function rectFromPoints(a: Point$1, b: Point$1): Rect$1;
|
|
31
|
+
declare function rectFromQuad(q: Quad): Rect$1;
|
|
32
|
+
declare function quadFromRect(r: Rect$1): Quad;
|
|
33
|
+
declare function unionRects(rects: readonly Rect$1[]): Rect$1;
|
|
34
|
+
declare function rectsIntersect(a: Rect$1, b: Rect$1): boolean;
|
|
35
|
+
declare function rectContainsPoint(r: Rect$1, p: Point$1): boolean;
|
|
36
|
+
declare function translateRect(r: Rect$1, dx: number, dy: number): Rect$1;
|
|
36
37
|
declare function translateQuad(q: Quad, dx: number, dy: number): Quad;
|
|
37
|
-
declare function applyMatrix(m: Matrix, p: Point): Point;
|
|
38
|
+
declare function applyMatrix(m: Matrix, p: Point$1): Point$1;
|
|
38
39
|
declare function invertMatrix(m: Matrix): Matrix;
|
|
39
40
|
/** Returns the matrix that applies `a` first, then `b`. */
|
|
40
41
|
declare function multiplyMatrix(a: Matrix, b: Matrix): Matrix;
|
|
41
|
-
declare function pointsFromFlat(flat: ArrayLike<number>): Point[];
|
|
42
|
+
declare function pointsFromFlat(flat: ArrayLike<number>): Point$1[];
|
|
42
43
|
/** Eight numbers per quad, in PDF.js's normalised order. Trailing partial quads are dropped. */
|
|
43
44
|
declare function quadsFromFlat(flat: ArrayLike<number>): Quad[];
|
|
44
45
|
//#endregion
|
|
@@ -109,7 +110,7 @@ type PageRotation = 0 | 90 | 180 | 270;
|
|
|
109
110
|
interface PageInfo {
|
|
110
111
|
index: number;
|
|
111
112
|
/** CropBox ∩ MediaBox in user space before /Rotate, as PDF.js reports `page.view`. */
|
|
112
|
-
box: Rect;
|
|
113
|
+
box: Rect$1;
|
|
113
114
|
/** The page's own /Rotate. View rotation applied by the viewer is separate. */
|
|
114
115
|
rotate: PageRotation;
|
|
115
116
|
userUnit: number;
|
|
@@ -138,8 +139,6 @@ declare function derived<T, U>(source: Readable<T>, fn: (value: T) => U): Readab
|
|
|
138
139
|
declare function readonly<T>(w: Writable<T>): Readable<T>;
|
|
139
140
|
//#endregion
|
|
140
141
|
//#region src/model/annotations/types.d.ts
|
|
141
|
-
declare const ANNOTATION_FORMAT = "inkbar/annotations";
|
|
142
|
-
declare const ANNOTATION_VERSION = 1;
|
|
143
142
|
declare const PointSchema: z.ZodObject<{
|
|
144
143
|
x: z.ZodNumber;
|
|
145
144
|
y: z.ZodNumber;
|
|
@@ -169,29 +168,6 @@ declare const QuadSchema: z.ZodObject<{
|
|
|
169
168
|
}, z.core.$strip>;
|
|
170
169
|
}, z.core.$strip>;
|
|
171
170
|
declare const TextMarkupSchema: z.ZodObject<{
|
|
172
|
-
id: z.ZodString;
|
|
173
|
-
page: z.ZodNumber;
|
|
174
|
-
rect: z.ZodObject<{
|
|
175
|
-
x: z.ZodNumber;
|
|
176
|
-
y: z.ZodNumber;
|
|
177
|
-
width: z.ZodNumber;
|
|
178
|
-
height: z.ZodNumber;
|
|
179
|
-
}, z.core.$strip>;
|
|
180
|
-
color: z.ZodString;
|
|
181
|
-
opacity: z.ZodNumber;
|
|
182
|
-
author: z.ZodOptional<z.ZodString>;
|
|
183
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
184
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
185
|
-
createdAt: z.ZodISODateTime;
|
|
186
|
-
modifiedAt: z.ZodISODateTime;
|
|
187
|
-
source: z.ZodEnum<{
|
|
188
|
-
session: "session";
|
|
189
|
-
pdf: "pdf";
|
|
190
|
-
}>;
|
|
191
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
193
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
194
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
195
171
|
type: z.ZodEnum<{
|
|
196
172
|
highlight: "highlight";
|
|
197
173
|
underline: "underline";
|
|
@@ -216,12 +192,33 @@ declare const TextMarkupSchema: z.ZodObject<{
|
|
|
216
192
|
y: z.ZodNumber;
|
|
217
193
|
}, z.core.$strip>;
|
|
218
194
|
}, z.core.$strip>>;
|
|
195
|
+
rect: z.ZodObject<{
|
|
196
|
+
x: z.ZodNumber;
|
|
197
|
+
y: z.ZodNumber;
|
|
198
|
+
width: z.ZodNumber;
|
|
199
|
+
height: z.ZodNumber;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
color: z.ZodString;
|
|
202
|
+
opacity: z.ZodNumber;
|
|
203
|
+
createdAt: z.ZodISODateTime;
|
|
204
|
+
modifiedAt: z.ZodISODateTime;
|
|
205
|
+
source: z.ZodEnum<{
|
|
206
|
+
session: "session";
|
|
207
|
+
pdf: "pdf";
|
|
208
|
+
}>;
|
|
209
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
+
id: z.ZodString;
|
|
211
|
+
page: z.ZodNumber;
|
|
212
|
+
author: z.ZodOptional<z.ZodString>;
|
|
213
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
214
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
215
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
216
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
217
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
219
218
|
}, z.core.$strip>;
|
|
220
219
|
/** A note's icon (XFDF `icon`): a PDF name, so a name Inkbar does not know is kept. */
|
|
221
220
|
declare const NoteIconSchema: z.ZodType<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", z.core.$ZodTypeInternals<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph">>;
|
|
222
221
|
declare const NoteSchema: z.ZodObject<{
|
|
223
|
-
id: z.ZodString;
|
|
224
|
-
page: z.ZodNumber;
|
|
225
222
|
rect: z.ZodObject<{
|
|
226
223
|
x: z.ZodNumber;
|
|
227
224
|
y: z.ZodNumber;
|
|
@@ -230,9 +227,6 @@ declare const NoteSchema: z.ZodObject<{
|
|
|
230
227
|
}, z.core.$strip>;
|
|
231
228
|
color: z.ZodString;
|
|
232
229
|
opacity: z.ZodNumber;
|
|
233
|
-
author: z.ZodOptional<z.ZodString>;
|
|
234
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
235
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
236
230
|
createdAt: z.ZodISODateTime;
|
|
237
231
|
modifiedAt: z.ZodISODateTime;
|
|
238
232
|
source: z.ZodEnum<{
|
|
@@ -240,11 +234,16 @@ declare const NoteSchema: z.ZodObject<{
|
|
|
240
234
|
pdf: "pdf";
|
|
241
235
|
}>;
|
|
242
236
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
237
|
+
icon: z.ZodDefault<z.ZodType<"Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), z.core.$ZodTypeInternals<"Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {})>>>;
|
|
238
|
+
id: z.ZodString;
|
|
239
|
+
page: z.ZodNumber;
|
|
240
|
+
author: z.ZodOptional<z.ZodString>;
|
|
241
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
242
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
243
243
|
subject: z.ZodOptional<z.ZodString>;
|
|
244
|
-
intent: z.ZodOptional<z.ZodType<
|
|
244
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
245
245
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
246
246
|
type: z.ZodLiteral<"text">;
|
|
247
|
-
icon: z.ZodDefault<z.ZodType<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", z.core.$ZodTypeInternals<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph">>>;
|
|
248
247
|
}, z.core.$strip>;
|
|
249
248
|
/** A line ending (XFDF `head`/`tail`): a PDF name, so a name Inkbar does not know is kept. */
|
|
250
249
|
declare const LineEndingSchema: z.ZodType<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", z.core.$ZodTypeInternals<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash">>;
|
|
@@ -253,9 +252,10 @@ declare const LineEndingSchema: z.ZodType<(string & {}) | "None" | "Square" | "C
|
|
|
253
252
|
* `defaultstyle` string. The older `align` is refused; other unknown keys are dropped.
|
|
254
253
|
*/
|
|
255
254
|
declare const FreeTextStyleSchema: z.ZodObject<{
|
|
255
|
+
color: z.ZodString;
|
|
256
|
+
align: z.ZodOptional<z.ZodNever>;
|
|
256
257
|
fontFamily: z.ZodDefault<z.ZodString>;
|
|
257
258
|
fontSize: z.ZodDefault<z.ZodNumber>;
|
|
258
|
-
color: z.ZodString;
|
|
259
259
|
textAlign: z.ZodDefault<z.ZodEnum<{
|
|
260
260
|
left: "left";
|
|
261
261
|
right: "right";
|
|
@@ -265,7 +265,6 @@ declare const FreeTextStyleSchema: z.ZodObject<{
|
|
|
265
265
|
fontWeight: z.ZodOptional<z.ZodLiteral<"bold">>;
|
|
266
266
|
fontStyle: z.ZodOptional<z.ZodLiteral<"italic">>;
|
|
267
267
|
textDecoration: z.ZodOptional<z.ZodLiteral<"underline">>;
|
|
268
|
-
align: z.ZodOptional<z.ZodNever>;
|
|
269
268
|
}, z.core.$strip>;
|
|
270
269
|
/**
|
|
271
270
|
* Free text, as XFDF has it: `color` is the box's fill and the text style lives in
|
|
@@ -273,38 +272,13 @@ declare const FreeTextStyleSchema: z.ZodObject<{
|
|
|
273
272
|
* refused rather than silently losing its style; other unknown keys are dropped.
|
|
274
273
|
*/
|
|
275
274
|
declare const FreeTextSchema: z.ZodObject<{
|
|
276
|
-
id: z.ZodString;
|
|
277
|
-
page: z.ZodNumber;
|
|
278
|
-
rect: z.ZodObject<{
|
|
279
|
-
x: z.ZodNumber;
|
|
280
|
-
y: z.ZodNumber;
|
|
281
|
-
width: z.ZodNumber;
|
|
282
|
-
height: z.ZodNumber;
|
|
283
|
-
}, z.core.$strip>;
|
|
284
|
-
opacity: z.ZodNumber;
|
|
285
|
-
author: z.ZodOptional<z.ZodString>;
|
|
286
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
287
|
-
createdAt: z.ZodISODateTime;
|
|
288
|
-
modifiedAt: z.ZodISODateTime;
|
|
289
|
-
source: z.ZodEnum<{
|
|
290
|
-
session: "session";
|
|
291
|
-
pdf: "pdf";
|
|
292
|
-
}>;
|
|
293
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
295
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
296
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
297
|
-
type: z.ZodLiteral<"freetext">;
|
|
298
|
-
contents: z.ZodString;
|
|
299
275
|
color: z.ZodOptional<z.ZodString>;
|
|
300
276
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
301
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
302
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
303
|
-
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
304
277
|
defaultStyle: z.ZodObject<{
|
|
278
|
+
color: z.ZodString;
|
|
279
|
+
align: z.ZodOptional<z.ZodNever>;
|
|
305
280
|
fontFamily: z.ZodDefault<z.ZodString>;
|
|
306
281
|
fontSize: z.ZodDefault<z.ZodNumber>;
|
|
307
|
-
color: z.ZodString;
|
|
308
282
|
textAlign: z.ZodDefault<z.ZodEnum<{
|
|
309
283
|
left: "left";
|
|
310
284
|
right: "right";
|
|
@@ -314,7 +288,6 @@ declare const FreeTextSchema: z.ZodObject<{
|
|
|
314
288
|
fontWeight: z.ZodOptional<z.ZodLiteral<"bold">>;
|
|
315
289
|
fontStyle: z.ZodOptional<z.ZodLiteral<"italic">>;
|
|
316
290
|
textDecoration: z.ZodOptional<z.ZodLiteral<"underline">>;
|
|
317
|
-
align: z.ZodOptional<z.ZodNever>;
|
|
318
291
|
}, z.core.$strip>;
|
|
319
292
|
fringe: z.ZodOptional<z.ZodObject<{
|
|
320
293
|
left: z.ZodNumber;
|
|
@@ -326,25 +299,16 @@ declare const FreeTextSchema: z.ZodObject<{
|
|
|
326
299
|
x: z.ZodNumber;
|
|
327
300
|
y: z.ZodNumber;
|
|
328
301
|
}, z.core.$strip>>>;
|
|
329
|
-
head: z.ZodOptional<z.ZodType<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", z.core.$ZodTypeInternals<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash">>>;
|
|
330
302
|
fontFamily: z.ZodOptional<z.ZodNever>;
|
|
331
303
|
fontSize: z.ZodOptional<z.ZodNever>;
|
|
332
304
|
align: z.ZodOptional<z.ZodNever>;
|
|
333
|
-
}, z.core.$strip>;
|
|
334
|
-
declare const SquareSchema: z.ZodObject<{
|
|
335
|
-
id: z.ZodString;
|
|
336
|
-
page: z.ZodNumber;
|
|
337
305
|
rect: z.ZodObject<{
|
|
338
306
|
x: z.ZodNumber;
|
|
339
307
|
y: z.ZodNumber;
|
|
340
308
|
width: z.ZodNumber;
|
|
341
309
|
height: z.ZodNumber;
|
|
342
310
|
}, z.core.$strip>;
|
|
343
|
-
color: z.ZodString;
|
|
344
311
|
opacity: z.ZodNumber;
|
|
345
|
-
author: z.ZodOptional<z.ZodString>;
|
|
346
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
347
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
348
312
|
createdAt: z.ZodISODateTime;
|
|
349
313
|
modifiedAt: z.ZodISODateTime;
|
|
350
314
|
source: z.ZodEnum<{
|
|
@@ -352,18 +316,21 @@ declare const SquareSchema: z.ZodObject<{
|
|
|
352
316
|
pdf: "pdf";
|
|
353
317
|
}>;
|
|
354
318
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
-
|
|
356
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
357
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
358
|
-
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
319
|
+
contents: z.ZodString;
|
|
359
320
|
width: z.ZodDefault<z.ZodNumber>;
|
|
360
321
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}, z.core.$strip>;
|
|
364
|
-
declare const CircleSchema: z.ZodObject<{
|
|
322
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
323
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
365
324
|
id: z.ZodString;
|
|
366
325
|
page: z.ZodNumber;
|
|
326
|
+
author: z.ZodOptional<z.ZodString>;
|
|
327
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
328
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
329
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
330
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
331
|
+
type: z.ZodLiteral<"freetext">;
|
|
332
|
+
}, z.core.$strip>;
|
|
333
|
+
declare const SquareSchema: z.ZodObject<{
|
|
367
334
|
rect: z.ZodObject<{
|
|
368
335
|
x: z.ZodNumber;
|
|
369
336
|
y: z.ZodNumber;
|
|
@@ -372,9 +339,6 @@ declare const CircleSchema: z.ZodObject<{
|
|
|
372
339
|
}, z.core.$strip>;
|
|
373
340
|
color: z.ZodString;
|
|
374
341
|
opacity: z.ZodNumber;
|
|
375
|
-
author: z.ZodOptional<z.ZodString>;
|
|
376
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
377
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
378
342
|
createdAt: z.ZodISODateTime;
|
|
379
343
|
modifiedAt: z.ZodISODateTime;
|
|
380
344
|
source: z.ZodEnum<{
|
|
@@ -382,18 +346,22 @@ declare const CircleSchema: z.ZodObject<{
|
|
|
382
346
|
pdf: "pdf";
|
|
383
347
|
}>;
|
|
384
348
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
386
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
387
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
388
|
-
cornerRadius: z.ZodOptional<z.ZodNever>;
|
|
389
349
|
width: z.ZodDefault<z.ZodNumber>;
|
|
390
350
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
391
351
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
392
|
-
|
|
393
|
-
}, z.core.$strip>;
|
|
394
|
-
declare const ShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
352
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
395
353
|
id: z.ZodString;
|
|
396
354
|
page: z.ZodNumber;
|
|
355
|
+
author: z.ZodOptional<z.ZodString>;
|
|
356
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
357
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
358
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
359
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
360
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
361
|
+
type: z.ZodLiteral<"square">;
|
|
362
|
+
}, z.core.$strip>;
|
|
363
|
+
declare const CircleSchema: z.ZodObject<{
|
|
364
|
+
cornerRadius: z.ZodOptional<z.ZodNever>;
|
|
397
365
|
rect: z.ZodObject<{
|
|
398
366
|
x: z.ZodNumber;
|
|
399
367
|
y: z.ZodNumber;
|
|
@@ -402,9 +370,6 @@ declare const ShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
402
370
|
}, z.core.$strip>;
|
|
403
371
|
color: z.ZodString;
|
|
404
372
|
opacity: z.ZodNumber;
|
|
405
|
-
author: z.ZodOptional<z.ZodString>;
|
|
406
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
407
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
408
373
|
createdAt: z.ZodISODateTime;
|
|
409
374
|
modifiedAt: z.ZodISODateTime;
|
|
410
375
|
source: z.ZodEnum<{
|
|
@@ -412,17 +377,20 @@ declare const ShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
412
377
|
pdf: "pdf";
|
|
413
378
|
}>;
|
|
414
379
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
416
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
417
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
418
|
-
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
419
380
|
width: z.ZodDefault<z.ZodNumber>;
|
|
420
381
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
421
382
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
422
|
-
type: z.ZodLiteral<"square">;
|
|
423
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
424
383
|
id: z.ZodString;
|
|
425
384
|
page: z.ZodNumber;
|
|
385
|
+
author: z.ZodOptional<z.ZodString>;
|
|
386
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
387
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
388
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
389
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
390
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
391
|
+
type: z.ZodLiteral<"circle">;
|
|
392
|
+
}, z.core.$strip>;
|
|
393
|
+
declare const ShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
426
394
|
rect: z.ZodObject<{
|
|
427
395
|
x: z.ZodNumber;
|
|
428
396
|
y: z.ZodNumber;
|
|
@@ -431,9 +399,6 @@ declare const ShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
431
399
|
}, z.core.$strip>;
|
|
432
400
|
color: z.ZodString;
|
|
433
401
|
opacity: z.ZodNumber;
|
|
434
|
-
author: z.ZodOptional<z.ZodString>;
|
|
435
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
436
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
437
402
|
createdAt: z.ZodISODateTime;
|
|
438
403
|
modifiedAt: z.ZodISODateTime;
|
|
439
404
|
source: z.ZodEnum<{
|
|
@@ -441,18 +406,21 @@ declare const ShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
441
406
|
pdf: "pdf";
|
|
442
407
|
}>;
|
|
443
408
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
445
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
446
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
447
|
-
cornerRadius: z.ZodOptional<z.ZodNever>;
|
|
448
409
|
width: z.ZodDefault<z.ZodNumber>;
|
|
449
410
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
450
411
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
451
|
-
|
|
452
|
-
}, z.core.$strip>], "type">;
|
|
453
|
-
declare const LineSchema: z.ZodObject<{
|
|
412
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
454
413
|
id: z.ZodString;
|
|
455
414
|
page: z.ZodNumber;
|
|
415
|
+
author: z.ZodOptional<z.ZodString>;
|
|
416
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
417
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
418
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
419
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
420
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
421
|
+
type: z.ZodLiteral<"square">;
|
|
422
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
423
|
+
cornerRadius: z.ZodOptional<z.ZodNever>;
|
|
456
424
|
rect: z.ZodObject<{
|
|
457
425
|
x: z.ZodNumber;
|
|
458
426
|
y: z.ZodNumber;
|
|
@@ -461,9 +429,6 @@ declare const LineSchema: z.ZodObject<{
|
|
|
461
429
|
}, z.core.$strip>;
|
|
462
430
|
color: z.ZodString;
|
|
463
431
|
opacity: z.ZodNumber;
|
|
464
|
-
author: z.ZodOptional<z.ZodString>;
|
|
465
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
466
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
467
432
|
createdAt: z.ZodISODateTime;
|
|
468
433
|
modifiedAt: z.ZodISODateTime;
|
|
469
434
|
source: z.ZodEnum<{
|
|
@@ -471,10 +436,20 @@ declare const LineSchema: z.ZodObject<{
|
|
|
471
436
|
pdf: "pdf";
|
|
472
437
|
}>;
|
|
473
438
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
440
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
441
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
442
|
+
id: z.ZodString;
|
|
443
|
+
page: z.ZodNumber;
|
|
444
|
+
author: z.ZodOptional<z.ZodString>;
|
|
445
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
446
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
474
447
|
subject: z.ZodOptional<z.ZodString>;
|
|
475
|
-
intent: z.ZodOptional<z.ZodType<
|
|
448
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
476
449
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
477
|
-
type: z.ZodLiteral<"
|
|
450
|
+
type: z.ZodLiteral<"circle">;
|
|
451
|
+
}, z.core.$strip>], "type">;
|
|
452
|
+
declare const LineSchema: z.ZodObject<{
|
|
478
453
|
start: z.ZodObject<{
|
|
479
454
|
x: z.ZodNumber;
|
|
480
455
|
y: z.ZodNumber;
|
|
@@ -483,14 +458,6 @@ declare const LineSchema: z.ZodObject<{
|
|
|
483
458
|
x: z.ZodNumber;
|
|
484
459
|
y: z.ZodNumber;
|
|
485
460
|
}, z.core.$strip>;
|
|
486
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
487
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
488
|
-
head: z.ZodOptional<z.ZodType<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", z.core.$ZodTypeInternals<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash">>>;
|
|
489
|
-
tail: z.ZodOptional<z.ZodType<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", z.core.$ZodTypeInternals<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash">>>;
|
|
490
|
-
}, z.core.$strip>;
|
|
491
|
-
declare const PolylineSchema: z.ZodObject<{
|
|
492
|
-
id: z.ZodString;
|
|
493
|
-
page: z.ZodNumber;
|
|
494
461
|
rect: z.ZodObject<{
|
|
495
462
|
x: z.ZodNumber;
|
|
496
463
|
y: z.ZodNumber;
|
|
@@ -499,9 +466,6 @@ declare const PolylineSchema: z.ZodObject<{
|
|
|
499
466
|
}, z.core.$strip>;
|
|
500
467
|
color: z.ZodString;
|
|
501
468
|
opacity: z.ZodNumber;
|
|
502
|
-
author: z.ZodOptional<z.ZodString>;
|
|
503
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
504
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
505
469
|
createdAt: z.ZodISODateTime;
|
|
506
470
|
modifiedAt: z.ZodISODateTime;
|
|
507
471
|
source: z.ZodEnum<{
|
|
@@ -509,23 +473,25 @@ declare const PolylineSchema: z.ZodObject<{
|
|
|
509
473
|
pdf: "pdf";
|
|
510
474
|
}>;
|
|
511
475
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
476
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
477
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
478
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
479
|
+
tail: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
480
|
+
id: z.ZodString;
|
|
481
|
+
page: z.ZodNumber;
|
|
482
|
+
author: z.ZodOptional<z.ZodString>;
|
|
483
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
484
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
512
485
|
subject: z.ZodOptional<z.ZodString>;
|
|
513
|
-
intent: z.ZodOptional<z.ZodType<
|
|
486
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
514
487
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
515
|
-
|
|
516
|
-
|
|
488
|
+
type: z.ZodLiteral<"line">;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
declare const PolylineSchema: z.ZodObject<{
|
|
517
491
|
vertices: z.ZodArray<z.ZodObject<{
|
|
518
492
|
x: z.ZodNumber;
|
|
519
493
|
y: z.ZodNumber;
|
|
520
494
|
}, z.core.$strip>>;
|
|
521
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
522
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
523
|
-
interiorColor: z.ZodOptional<z.ZodString>;
|
|
524
|
-
type: z.ZodLiteral<"polyline">;
|
|
525
|
-
}, z.core.$strip>;
|
|
526
|
-
declare const PolygonSchema: z.ZodObject<{
|
|
527
|
-
id: z.ZodString;
|
|
528
|
-
page: z.ZodNumber;
|
|
529
495
|
rect: z.ZodObject<{
|
|
530
496
|
x: z.ZodNumber;
|
|
531
497
|
y: z.ZodNumber;
|
|
@@ -534,9 +500,6 @@ declare const PolygonSchema: z.ZodObject<{
|
|
|
534
500
|
}, z.core.$strip>;
|
|
535
501
|
color: z.ZodString;
|
|
536
502
|
opacity: z.ZodNumber;
|
|
537
|
-
author: z.ZodOptional<z.ZodString>;
|
|
538
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
539
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
540
503
|
createdAt: z.ZodISODateTime;
|
|
541
504
|
modifiedAt: z.ZodISODateTime;
|
|
542
505
|
source: z.ZodEnum<{
|
|
@@ -544,23 +507,28 @@ declare const PolygonSchema: z.ZodObject<{
|
|
|
544
507
|
pdf: "pdf";
|
|
545
508
|
}>;
|
|
546
509
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
510
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
511
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
512
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
513
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
514
|
+
tail: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
515
|
+
id: z.ZodString;
|
|
516
|
+
page: z.ZodNumber;
|
|
517
|
+
author: z.ZodOptional<z.ZodString>;
|
|
518
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
519
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
547
520
|
subject: z.ZodOptional<z.ZodString>;
|
|
548
|
-
intent: z.ZodOptional<z.ZodType<
|
|
521
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
549
522
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
550
|
-
|
|
551
|
-
|
|
523
|
+
type: z.ZodLiteral<"polyline">;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
declare const PolygonSchema: z.ZodObject<{
|
|
552
526
|
vertices: z.ZodArray<z.ZodObject<{
|
|
553
527
|
x: z.ZodNumber;
|
|
554
528
|
y: z.ZodNumber;
|
|
555
529
|
}, z.core.$strip>>;
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
interiorColor: z.ZodOptional<z.ZodString>;
|
|
559
|
-
type: z.ZodLiteral<"polygon">;
|
|
560
|
-
}, z.core.$strip>;
|
|
561
|
-
declare const PolySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
562
|
-
id: z.ZodString;
|
|
563
|
-
page: z.ZodNumber;
|
|
530
|
+
head: z.ZodOptional<z.ZodNever>;
|
|
531
|
+
tail: z.ZodOptional<z.ZodNever>;
|
|
564
532
|
rect: z.ZodObject<{
|
|
565
533
|
x: z.ZodNumber;
|
|
566
534
|
y: z.ZodNumber;
|
|
@@ -569,9 +537,6 @@ declare const PolySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
569
537
|
}, z.core.$strip>;
|
|
570
538
|
color: z.ZodString;
|
|
571
539
|
opacity: z.ZodNumber;
|
|
572
|
-
author: z.ZodOptional<z.ZodString>;
|
|
573
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
574
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
575
540
|
createdAt: z.ZodISODateTime;
|
|
576
541
|
modifiedAt: z.ZodISODateTime;
|
|
577
542
|
source: z.ZodEnum<{
|
|
@@ -579,22 +544,24 @@ declare const PolySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
579
544
|
pdf: "pdf";
|
|
580
545
|
}>;
|
|
581
546
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
547
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
548
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
549
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
550
|
+
id: z.ZodString;
|
|
551
|
+
page: z.ZodNumber;
|
|
552
|
+
author: z.ZodOptional<z.ZodString>;
|
|
553
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
554
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
582
555
|
subject: z.ZodOptional<z.ZodString>;
|
|
583
|
-
intent: z.ZodOptional<z.ZodType<
|
|
556
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
584
557
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
585
|
-
|
|
586
|
-
|
|
558
|
+
type: z.ZodLiteral<"polygon">;
|
|
559
|
+
}, z.core.$strip>;
|
|
560
|
+
declare const PolySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
587
561
|
vertices: z.ZodArray<z.ZodObject<{
|
|
588
562
|
x: z.ZodNumber;
|
|
589
563
|
y: z.ZodNumber;
|
|
590
564
|
}, z.core.$strip>>;
|
|
591
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
592
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
593
|
-
interiorColor: z.ZodOptional<z.ZodString>;
|
|
594
|
-
type: z.ZodLiteral<"polyline">;
|
|
595
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
596
|
-
id: z.ZodString;
|
|
597
|
-
page: z.ZodNumber;
|
|
598
565
|
rect: z.ZodObject<{
|
|
599
566
|
x: z.ZodNumber;
|
|
600
567
|
y: z.ZodNumber;
|
|
@@ -603,9 +570,6 @@ declare const PolySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
603
570
|
}, z.core.$strip>;
|
|
604
571
|
color: z.ZodString;
|
|
605
572
|
opacity: z.ZodNumber;
|
|
606
|
-
author: z.ZodOptional<z.ZodString>;
|
|
607
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
608
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
609
573
|
createdAt: z.ZodISODateTime;
|
|
610
574
|
modifiedAt: z.ZodISODateTime;
|
|
611
575
|
source: z.ZodEnum<{
|
|
@@ -613,23 +577,27 @@ declare const PolySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
613
577
|
pdf: "pdf";
|
|
614
578
|
}>;
|
|
615
579
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
580
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
581
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
582
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
583
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
584
|
+
tail: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
585
|
+
id: z.ZodString;
|
|
586
|
+
page: z.ZodNumber;
|
|
587
|
+
author: z.ZodOptional<z.ZodString>;
|
|
588
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
589
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
616
590
|
subject: z.ZodOptional<z.ZodString>;
|
|
617
|
-
intent: z.ZodOptional<z.ZodType<
|
|
591
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
618
592
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
619
|
-
|
|
620
|
-
|
|
593
|
+
type: z.ZodLiteral<"polyline">;
|
|
594
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
621
595
|
vertices: z.ZodArray<z.ZodObject<{
|
|
622
596
|
x: z.ZodNumber;
|
|
623
597
|
y: z.ZodNumber;
|
|
624
598
|
}, z.core.$strip>>;
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
interiorColor: z.ZodOptional<z.ZodString>;
|
|
628
|
-
type: z.ZodLiteral<"polygon">;
|
|
629
|
-
}, z.core.$strip>], "type">;
|
|
630
|
-
declare const InkSchema: z.ZodObject<{
|
|
631
|
-
id: z.ZodString;
|
|
632
|
-
page: z.ZodNumber;
|
|
599
|
+
head: z.ZodOptional<z.ZodNever>;
|
|
600
|
+
tail: z.ZodOptional<z.ZodNever>;
|
|
633
601
|
rect: z.ZodObject<{
|
|
634
602
|
x: z.ZodNumber;
|
|
635
603
|
y: z.ZodNumber;
|
|
@@ -638,9 +606,6 @@ declare const InkSchema: z.ZodObject<{
|
|
|
638
606
|
}, z.core.$strip>;
|
|
639
607
|
color: z.ZodString;
|
|
640
608
|
opacity: z.ZodNumber;
|
|
641
|
-
author: z.ZodOptional<z.ZodString>;
|
|
642
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
643
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
644
609
|
createdAt: z.ZodISODateTime;
|
|
645
610
|
modifiedAt: z.ZodISODateTime;
|
|
646
611
|
source: z.ZodEnum<{
|
|
@@ -648,27 +613,57 @@ declare const InkSchema: z.ZodObject<{
|
|
|
648
613
|
pdf: "pdf";
|
|
649
614
|
}>;
|
|
650
615
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
616
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
617
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
618
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
619
|
+
id: z.ZodString;
|
|
620
|
+
page: z.ZodNumber;
|
|
621
|
+
author: z.ZodOptional<z.ZodString>;
|
|
622
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
623
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
651
624
|
subject: z.ZodOptional<z.ZodString>;
|
|
652
|
-
intent: z.ZodOptional<z.ZodType<
|
|
625
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
653
626
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
654
|
-
type: z.ZodLiteral<"
|
|
627
|
+
type: z.ZodLiteral<"polygon">;
|
|
628
|
+
}, z.core.$strip>], "type">;
|
|
629
|
+
declare const InkSchema: z.ZodObject<{
|
|
655
630
|
inklist: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
656
631
|
x: z.ZodNumber;
|
|
657
632
|
y: z.ZodNumber;
|
|
658
633
|
}, z.core.$strip>>>;
|
|
659
634
|
pressure: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
635
|
+
rect: z.ZodObject<{
|
|
636
|
+
x: z.ZodNumber;
|
|
637
|
+
y: z.ZodNumber;
|
|
638
|
+
width: z.ZodNumber;
|
|
639
|
+
height: z.ZodNumber;
|
|
640
|
+
}, z.core.$strip>;
|
|
641
|
+
color: z.ZodString;
|
|
642
|
+
opacity: z.ZodNumber;
|
|
643
|
+
createdAt: z.ZodISODateTime;
|
|
644
|
+
modifiedAt: z.ZodISODateTime;
|
|
645
|
+
source: z.ZodEnum<{
|
|
646
|
+
session: "session";
|
|
647
|
+
pdf: "pdf";
|
|
648
|
+
}>;
|
|
649
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
660
650
|
width: z.ZodDefault<z.ZodNumber>;
|
|
661
651
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
652
|
+
id: z.ZodString;
|
|
653
|
+
page: z.ZodNumber;
|
|
654
|
+
author: z.ZodOptional<z.ZodString>;
|
|
655
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
656
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
657
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
658
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
659
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
660
|
+
type: z.ZodLiteral<"ink">;
|
|
662
661
|
}, z.core.$strip>;
|
|
663
|
-
/** A PNG or JPEG image as a base64 `data:` URL, as XFDF carries a stamp's `<imagedata>`. */
|
|
664
|
-
declare const IMAGE_DATA_URL: RegExp;
|
|
665
662
|
/**
|
|
666
663
|
* An image on the page (XFDF `stamp`), drawn to fill `rect`. Image and typed signatures are
|
|
667
664
|
* stamps with `subject: 'Signature'`.
|
|
668
665
|
*/
|
|
669
666
|
declare const StampSchema: z.ZodObject<{
|
|
670
|
-
id: z.ZodString;
|
|
671
|
-
page: z.ZodNumber;
|
|
672
667
|
rect: z.ZodObject<{
|
|
673
668
|
x: z.ZodNumber;
|
|
674
669
|
y: z.ZodNumber;
|
|
@@ -677,9 +672,6 @@ declare const StampSchema: z.ZodObject<{
|
|
|
677
672
|
}, z.core.$strip>;
|
|
678
673
|
color: z.ZodString;
|
|
679
674
|
opacity: z.ZodNumber;
|
|
680
|
-
author: z.ZodOptional<z.ZodString>;
|
|
681
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
682
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
683
675
|
createdAt: z.ZodISODateTime;
|
|
684
676
|
modifiedAt: z.ZodISODateTime;
|
|
685
677
|
source: z.ZodEnum<{
|
|
@@ -687,20 +679,24 @@ declare const StampSchema: z.ZodObject<{
|
|
|
687
679
|
pdf: "pdf";
|
|
688
680
|
}>;
|
|
689
681
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
682
|
+
imagedata: z.ZodString;
|
|
683
|
+
rotation: z.ZodOptional<z.ZodLiteral<0 | 90 | 180 | 270>>;
|
|
684
|
+
id: z.ZodString;
|
|
685
|
+
page: z.ZodNumber;
|
|
686
|
+
author: z.ZodOptional<z.ZodString>;
|
|
687
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
688
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
690
689
|
subject: z.ZodOptional<z.ZodString>;
|
|
691
|
-
intent: z.ZodOptional<z.ZodType<
|
|
690
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
692
691
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
693
692
|
type: z.ZodLiteral<"stamp">;
|
|
694
|
-
imagedata: z.ZodString;
|
|
695
|
-
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
696
693
|
}, z.core.$strip>;
|
|
697
694
|
/**
|
|
698
|
-
* A loupe (
|
|
699
|
-
* under its own centre, magnified. `color` and
|
|
695
|
+
* A loupe (Inkbar's own type, a circle with `custom.inkbar.type: 'loupe'` in a file): a circle
|
|
696
|
+
* inscribed in `rect` that shows the page content under its own centre, magnified. `color` and
|
|
697
|
+
* `width` draw its rim.
|
|
700
698
|
*/
|
|
701
699
|
declare const LoupeSchema: z.ZodObject<{
|
|
702
|
-
id: z.ZodString;
|
|
703
|
-
page: z.ZodNumber;
|
|
704
700
|
rect: z.ZodObject<{
|
|
705
701
|
x: z.ZodNumber;
|
|
706
702
|
y: z.ZodNumber;
|
|
@@ -709,9 +705,6 @@ declare const LoupeSchema: z.ZodObject<{
|
|
|
709
705
|
}, z.core.$strip>;
|
|
710
706
|
color: z.ZodString;
|
|
711
707
|
opacity: z.ZodNumber;
|
|
712
|
-
author: z.ZodOptional<z.ZodString>;
|
|
713
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
714
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
715
708
|
createdAt: z.ZodISODateTime;
|
|
716
709
|
modifiedAt: z.ZodISODateTime;
|
|
717
710
|
source: z.ZodEnum<{
|
|
@@ -719,22 +712,25 @@ declare const LoupeSchema: z.ZodObject<{
|
|
|
719
712
|
pdf: "pdf";
|
|
720
713
|
}>;
|
|
721
714
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
715
|
+
magnification: z.ZodDefault<z.ZodNumber>;
|
|
716
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
717
|
+
id: z.ZodString;
|
|
718
|
+
page: z.ZodNumber;
|
|
719
|
+
author: z.ZodOptional<z.ZodString>;
|
|
720
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
721
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
722
722
|
subject: z.ZodOptional<z.ZodString>;
|
|
723
|
-
intent: z.ZodOptional<z.ZodType<
|
|
723
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
724
724
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
725
725
|
type: z.ZodLiteral<"loupe">;
|
|
726
|
-
magnification: z.ZodDefault<z.ZodNumber>;
|
|
727
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
728
726
|
}, z.core.$strip>;
|
|
729
727
|
/**
|
|
730
|
-
* A mask (
|
|
731
|
-
* `rect`, an ellipse inscribed in it or the
|
|
732
|
-
*
|
|
733
|
-
* the first.
|
|
728
|
+
* A mask (Inkbar's own type, a circle or square with `custom.inkbar.type: 'mask'` in a file):
|
|
729
|
+
* dims everything on the page outside `shape` drawn in `rect`, an ellipse inscribed in it or the
|
|
730
|
+
* rectangle itself. `color` is the dimming colour and `dim` how strongly it covers, from 0 to 1.
|
|
731
|
+
* One per page: adding a second replaces the first.
|
|
734
732
|
*/
|
|
735
733
|
declare const MaskSchema: z.ZodObject<{
|
|
736
|
-
id: z.ZodString;
|
|
737
|
-
page: z.ZodNumber;
|
|
738
734
|
rect: z.ZodObject<{
|
|
739
735
|
x: z.ZodNumber;
|
|
740
736
|
y: z.ZodNumber;
|
|
@@ -743,9 +739,6 @@ declare const MaskSchema: z.ZodObject<{
|
|
|
743
739
|
}, z.core.$strip>;
|
|
744
740
|
color: z.ZodString;
|
|
745
741
|
opacity: z.ZodNumber;
|
|
746
|
-
author: z.ZodOptional<z.ZodString>;
|
|
747
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
748
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
749
742
|
createdAt: z.ZodISODateTime;
|
|
750
743
|
modifiedAt: z.ZodISODateTime;
|
|
751
744
|
source: z.ZodEnum<{
|
|
@@ -753,52 +746,22 @@ declare const MaskSchema: z.ZodObject<{
|
|
|
753
746
|
pdf: "pdf";
|
|
754
747
|
}>;
|
|
755
748
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
757
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
758
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
759
|
-
type: z.ZodLiteral<"mask">;
|
|
760
749
|
shape: z.ZodEnum<{
|
|
761
750
|
rect: "rect";
|
|
762
751
|
ellipse: "ellipse";
|
|
763
752
|
}>;
|
|
764
753
|
dim: z.ZodDefault<z.ZodNumber>;
|
|
765
|
-
}, z.core.$strip>;
|
|
766
|
-
declare const SuggestionSchema: z.ZodObject<{
|
|
767
|
-
jobId: z.ZodOptional<z.ZodString>;
|
|
768
|
-
confidence: z.ZodNumber;
|
|
769
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
770
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
771
|
-
recommendation: z.ZodOptional<z.ZodEnum<{
|
|
772
|
-
redact: "redact";
|
|
773
|
-
review: "review";
|
|
774
|
-
keep: "keep";
|
|
775
|
-
}>>;
|
|
776
|
-
}, z.core.$strip>;
|
|
777
|
-
declare const RedactSchema: z.ZodObject<{
|
|
778
754
|
id: z.ZodString;
|
|
779
755
|
page: z.ZodNumber;
|
|
780
|
-
rect: z.ZodObject<{
|
|
781
|
-
x: z.ZodNumber;
|
|
782
|
-
y: z.ZodNumber;
|
|
783
|
-
width: z.ZodNumber;
|
|
784
|
-
height: z.ZodNumber;
|
|
785
|
-
}, z.core.$strip>;
|
|
786
|
-
color: z.ZodString;
|
|
787
|
-
opacity: z.ZodNumber;
|
|
788
756
|
author: z.ZodOptional<z.ZodString>;
|
|
789
757
|
contents: z.ZodOptional<z.ZodString>;
|
|
790
758
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
791
|
-
createdAt: z.ZodISODateTime;
|
|
792
|
-
modifiedAt: z.ZodISODateTime;
|
|
793
|
-
source: z.ZodEnum<{
|
|
794
|
-
session: "session";
|
|
795
|
-
pdf: "pdf";
|
|
796
|
-
}>;
|
|
797
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
798
759
|
subject: z.ZodOptional<z.ZodString>;
|
|
799
|
-
intent: z.ZodOptional<z.ZodType<
|
|
760
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
800
761
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
801
|
-
type: z.ZodLiteral<"
|
|
762
|
+
type: z.ZodLiteral<"mask">;
|
|
763
|
+
}, z.core.$strip>;
|
|
764
|
+
declare const RedactSchema: z.ZodObject<{
|
|
802
765
|
quads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
803
766
|
p1: z.ZodObject<{
|
|
804
767
|
x: z.ZodNumber;
|
|
@@ -817,27 +780,7 @@ declare const RedactSchema: z.ZodObject<{
|
|
|
817
780
|
y: z.ZodNumber;
|
|
818
781
|
}, z.core.$strip>;
|
|
819
782
|
}, z.core.$strip>>>;
|
|
820
|
-
origin: z.ZodDefault<z.ZodEnum<{
|
|
821
|
-
user: "user";
|
|
822
|
-
suggested: "suggested";
|
|
823
|
-
}>>;
|
|
824
|
-
suggestion: z.ZodOptional<z.ZodObject<{
|
|
825
|
-
jobId: z.ZodOptional<z.ZodString>;
|
|
826
|
-
confidence: z.ZodNumber;
|
|
827
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
828
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
829
|
-
recommendation: z.ZodOptional<z.ZodEnum<{
|
|
830
|
-
redact: "redact";
|
|
831
|
-
review: "review";
|
|
832
|
-
keep: "keep";
|
|
833
|
-
}>>;
|
|
834
|
-
}, z.core.$strip>>;
|
|
835
|
-
overlayText: z.ZodOptional<z.ZodString>;
|
|
836
783
|
interiorColor: z.ZodString;
|
|
837
|
-
}, z.core.$strip>;
|
|
838
|
-
declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
839
|
-
id: z.ZodString;
|
|
840
|
-
page: z.ZodNumber;
|
|
841
784
|
rect: z.ZodObject<{
|
|
842
785
|
x: z.ZodNumber;
|
|
843
786
|
y: z.ZodNumber;
|
|
@@ -846,9 +789,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
846
789
|
}, z.core.$strip>;
|
|
847
790
|
color: z.ZodString;
|
|
848
791
|
opacity: z.ZodNumber;
|
|
849
|
-
author: z.ZodOptional<z.ZodString>;
|
|
850
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
851
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
852
792
|
createdAt: z.ZodISODateTime;
|
|
853
793
|
modifiedAt: z.ZodISODateTime;
|
|
854
794
|
source: z.ZodEnum<{
|
|
@@ -856,9 +796,18 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
856
796
|
pdf: "pdf";
|
|
857
797
|
}>;
|
|
858
798
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
799
|
+
overlayText: z.ZodOptional<z.ZodString>;
|
|
800
|
+
id: z.ZodString;
|
|
801
|
+
page: z.ZodNumber;
|
|
802
|
+
author: z.ZodOptional<z.ZodString>;
|
|
803
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
804
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
859
805
|
subject: z.ZodOptional<z.ZodString>;
|
|
860
|
-
intent: z.ZodOptional<z.ZodType<
|
|
806
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
861
807
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
808
|
+
type: z.ZodLiteral<"redact">;
|
|
809
|
+
}, z.core.$strip>;
|
|
810
|
+
declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
862
811
|
type: z.ZodEnum<{
|
|
863
812
|
highlight: "highlight";
|
|
864
813
|
underline: "underline";
|
|
@@ -883,9 +832,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
883
832
|
y: z.ZodNumber;
|
|
884
833
|
}, z.core.$strip>;
|
|
885
834
|
}, z.core.$strip>>;
|
|
886
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
887
|
-
id: z.ZodString;
|
|
888
|
-
page: z.ZodNumber;
|
|
889
835
|
rect: z.ZodObject<{
|
|
890
836
|
x: z.ZodNumber;
|
|
891
837
|
y: z.ZodNumber;
|
|
@@ -894,9 +840,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
894
840
|
}, z.core.$strip>;
|
|
895
841
|
color: z.ZodString;
|
|
896
842
|
opacity: z.ZodNumber;
|
|
897
|
-
author: z.ZodOptional<z.ZodString>;
|
|
898
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
899
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
900
843
|
createdAt: z.ZodISODateTime;
|
|
901
844
|
modifiedAt: z.ZodISODateTime;
|
|
902
845
|
source: z.ZodEnum<{
|
|
@@ -904,23 +847,23 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
904
847
|
pdf: "pdf";
|
|
905
848
|
}>;
|
|
906
849
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
850
|
+
id: z.ZodString;
|
|
851
|
+
page: z.ZodNumber;
|
|
852
|
+
author: z.ZodOptional<z.ZodString>;
|
|
853
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
854
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
907
855
|
subject: z.ZodOptional<z.ZodString>;
|
|
908
|
-
intent: z.ZodOptional<z.ZodType<
|
|
856
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
909
857
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
910
|
-
type: z.ZodLiteral<"text">;
|
|
911
|
-
icon: z.ZodDefault<z.ZodType<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", z.core.$ZodTypeInternals<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph">>>;
|
|
912
858
|
}, z.core.$strip>, z.ZodObject<{
|
|
913
|
-
id: z.ZodString;
|
|
914
|
-
page: z.ZodNumber;
|
|
915
859
|
rect: z.ZodObject<{
|
|
916
860
|
x: z.ZodNumber;
|
|
917
861
|
y: z.ZodNumber;
|
|
918
862
|
width: z.ZodNumber;
|
|
919
863
|
height: z.ZodNumber;
|
|
920
864
|
}, z.core.$strip>;
|
|
865
|
+
color: z.ZodString;
|
|
921
866
|
opacity: z.ZodNumber;
|
|
922
|
-
author: z.ZodOptional<z.ZodString>;
|
|
923
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
924
867
|
createdAt: z.ZodISODateTime;
|
|
925
868
|
modifiedAt: z.ZodISODateTime;
|
|
926
869
|
source: z.ZodEnum<{
|
|
@@ -928,20 +871,24 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
928
871
|
pdf: "pdf";
|
|
929
872
|
}>;
|
|
930
873
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
874
|
+
icon: z.ZodDefault<z.ZodType<"Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), z.core.$ZodTypeInternals<"Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {})>>>;
|
|
875
|
+
id: z.ZodString;
|
|
876
|
+
page: z.ZodNumber;
|
|
877
|
+
author: z.ZodOptional<z.ZodString>;
|
|
878
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
879
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
931
880
|
subject: z.ZodOptional<z.ZodString>;
|
|
932
|
-
intent: z.ZodOptional<z.ZodType<
|
|
881
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
933
882
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
934
|
-
type: z.ZodLiteral<"
|
|
935
|
-
|
|
883
|
+
type: z.ZodLiteral<"text">;
|
|
884
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
936
885
|
color: z.ZodOptional<z.ZodString>;
|
|
937
886
|
borderColor: z.ZodOptional<z.ZodString>;
|
|
938
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
939
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
940
|
-
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
941
887
|
defaultStyle: z.ZodObject<{
|
|
888
|
+
color: z.ZodString;
|
|
889
|
+
align: z.ZodOptional<z.ZodNever>;
|
|
942
890
|
fontFamily: z.ZodDefault<z.ZodString>;
|
|
943
891
|
fontSize: z.ZodDefault<z.ZodNumber>;
|
|
944
|
-
color: z.ZodString;
|
|
945
892
|
textAlign: z.ZodDefault<z.ZodEnum<{
|
|
946
893
|
left: "left";
|
|
947
894
|
right: "right";
|
|
@@ -951,7 +898,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
951
898
|
fontWeight: z.ZodOptional<z.ZodLiteral<"bold">>;
|
|
952
899
|
fontStyle: z.ZodOptional<z.ZodLiteral<"italic">>;
|
|
953
900
|
textDecoration: z.ZodOptional<z.ZodLiteral<"underline">>;
|
|
954
|
-
align: z.ZodOptional<z.ZodNever>;
|
|
955
901
|
}, z.core.$strip>;
|
|
956
902
|
fringe: z.ZodOptional<z.ZodObject<{
|
|
957
903
|
left: z.ZodNumber;
|
|
@@ -963,24 +909,16 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
963
909
|
x: z.ZodNumber;
|
|
964
910
|
y: z.ZodNumber;
|
|
965
911
|
}, z.core.$strip>>>;
|
|
966
|
-
head: z.ZodOptional<z.ZodType<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", z.core.$ZodTypeInternals<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash">>>;
|
|
967
912
|
fontFamily: z.ZodOptional<z.ZodNever>;
|
|
968
913
|
fontSize: z.ZodOptional<z.ZodNever>;
|
|
969
914
|
align: z.ZodOptional<z.ZodNever>;
|
|
970
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
971
|
-
id: z.ZodString;
|
|
972
|
-
page: z.ZodNumber;
|
|
973
915
|
rect: z.ZodObject<{
|
|
974
916
|
x: z.ZodNumber;
|
|
975
917
|
y: z.ZodNumber;
|
|
976
918
|
width: z.ZodNumber;
|
|
977
919
|
height: z.ZodNumber;
|
|
978
920
|
}, z.core.$strip>;
|
|
979
|
-
color: z.ZodString;
|
|
980
921
|
opacity: z.ZodNumber;
|
|
981
|
-
author: z.ZodOptional<z.ZodString>;
|
|
982
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
983
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
984
922
|
createdAt: z.ZodISODateTime;
|
|
985
923
|
modifiedAt: z.ZodISODateTime;
|
|
986
924
|
source: z.ZodEnum<{
|
|
@@ -988,17 +926,20 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
988
926
|
pdf: "pdf";
|
|
989
927
|
}>;
|
|
990
928
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
991
|
-
|
|
992
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
993
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
994
|
-
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
929
|
+
contents: z.ZodString;
|
|
995
930
|
width: z.ZodDefault<z.ZodNumber>;
|
|
996
931
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
932
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
933
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1000
934
|
id: z.ZodString;
|
|
1001
935
|
page: z.ZodNumber;
|
|
936
|
+
author: z.ZodOptional<z.ZodString>;
|
|
937
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
938
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
939
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
940
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
941
|
+
type: z.ZodLiteral<"freetext">;
|
|
942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1002
943
|
rect: z.ZodObject<{
|
|
1003
944
|
x: z.ZodNumber;
|
|
1004
945
|
y: z.ZodNumber;
|
|
@@ -1007,9 +948,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1007
948
|
}, z.core.$strip>;
|
|
1008
949
|
color: z.ZodString;
|
|
1009
950
|
opacity: z.ZodNumber;
|
|
1010
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1011
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1012
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1013
951
|
createdAt: z.ZodISODateTime;
|
|
1014
952
|
modifiedAt: z.ZodISODateTime;
|
|
1015
953
|
source: z.ZodEnum<{
|
|
@@ -1017,17 +955,21 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1017
955
|
pdf: "pdf";
|
|
1018
956
|
}>;
|
|
1019
957
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1020
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
1021
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1022
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1023
|
-
cornerRadius: z.ZodOptional<z.ZodNever>;
|
|
1024
958
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1025
959
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1026
960
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1027
|
-
|
|
1028
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
961
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
1029
962
|
id: z.ZodString;
|
|
1030
963
|
page: z.ZodNumber;
|
|
964
|
+
author: z.ZodOptional<z.ZodString>;
|
|
965
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
966
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
967
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
968
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
969
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
970
|
+
type: z.ZodLiteral<"square">;
|
|
971
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
972
|
+
cornerRadius: z.ZodOptional<z.ZodNever>;
|
|
1031
973
|
rect: z.ZodObject<{
|
|
1032
974
|
x: z.ZodNumber;
|
|
1033
975
|
y: z.ZodNumber;
|
|
@@ -1036,9 +978,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1036
978
|
}, z.core.$strip>;
|
|
1037
979
|
color: z.ZodString;
|
|
1038
980
|
opacity: z.ZodNumber;
|
|
1039
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1040
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1041
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1042
981
|
createdAt: z.ZodISODateTime;
|
|
1043
982
|
modifiedAt: z.ZodISODateTime;
|
|
1044
983
|
source: z.ZodEnum<{
|
|
@@ -1046,10 +985,19 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1046
985
|
pdf: "pdf";
|
|
1047
986
|
}>;
|
|
1048
987
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
988
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
989
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
990
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
991
|
+
id: z.ZodString;
|
|
992
|
+
page: z.ZodNumber;
|
|
993
|
+
author: z.ZodOptional<z.ZodString>;
|
|
994
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
995
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1049
996
|
subject: z.ZodOptional<z.ZodString>;
|
|
1050
|
-
intent: z.ZodOptional<z.ZodType<
|
|
997
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1051
998
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1052
|
-
type: z.ZodLiteral<"
|
|
999
|
+
type: z.ZodLiteral<"circle">;
|
|
1000
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1053
1001
|
start: z.ZodObject<{
|
|
1054
1002
|
x: z.ZodNumber;
|
|
1055
1003
|
y: z.ZodNumber;
|
|
@@ -1058,13 +1006,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1058
1006
|
x: z.ZodNumber;
|
|
1059
1007
|
y: z.ZodNumber;
|
|
1060
1008
|
}, z.core.$strip>;
|
|
1061
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
1062
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1063
|
-
head: z.ZodOptional<z.ZodType<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", z.core.$ZodTypeInternals<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash">>>;
|
|
1064
|
-
tail: z.ZodOptional<z.ZodType<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", z.core.$ZodTypeInternals<(string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash", (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash">>>;
|
|
1065
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1066
|
-
id: z.ZodString;
|
|
1067
|
-
page: z.ZodNumber;
|
|
1068
1009
|
rect: z.ZodObject<{
|
|
1069
1010
|
x: z.ZodNumber;
|
|
1070
1011
|
y: z.ZodNumber;
|
|
@@ -1073,9 +1014,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1073
1014
|
}, z.core.$strip>;
|
|
1074
1015
|
color: z.ZodString;
|
|
1075
1016
|
opacity: z.ZodNumber;
|
|
1076
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1077
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1078
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1079
1017
|
createdAt: z.ZodISODateTime;
|
|
1080
1018
|
modifiedAt: z.ZodISODateTime;
|
|
1081
1019
|
source: z.ZodEnum<{
|
|
@@ -1083,22 +1021,24 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1083
1021
|
pdf: "pdf";
|
|
1084
1022
|
}>;
|
|
1085
1023
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1024
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
1025
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1026
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1027
|
+
tail: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1028
|
+
id: z.ZodString;
|
|
1029
|
+
page: z.ZodNumber;
|
|
1030
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1086
1033
|
subject: z.ZodOptional<z.ZodString>;
|
|
1087
|
-
intent: z.ZodOptional<z.ZodType<
|
|
1034
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1088
1035
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1089
|
-
|
|
1090
|
-
|
|
1036
|
+
type: z.ZodLiteral<"line">;
|
|
1037
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1091
1038
|
vertices: z.ZodArray<z.ZodObject<{
|
|
1092
1039
|
x: z.ZodNumber;
|
|
1093
1040
|
y: z.ZodNumber;
|
|
1094
1041
|
}, z.core.$strip>>;
|
|
1095
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
1096
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1097
|
-
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1098
|
-
type: z.ZodLiteral<"polyline">;
|
|
1099
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1100
|
-
id: z.ZodString;
|
|
1101
|
-
page: z.ZodNumber;
|
|
1102
1042
|
rect: z.ZodObject<{
|
|
1103
1043
|
x: z.ZodNumber;
|
|
1104
1044
|
y: z.ZodNumber;
|
|
@@ -1107,9 +1047,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1107
1047
|
}, z.core.$strip>;
|
|
1108
1048
|
color: z.ZodString;
|
|
1109
1049
|
opacity: z.ZodNumber;
|
|
1110
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1111
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1112
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1113
1050
|
createdAt: z.ZodISODateTime;
|
|
1114
1051
|
modifiedAt: z.ZodISODateTime;
|
|
1115
1052
|
source: z.ZodEnum<{
|
|
@@ -1117,22 +1054,27 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1117
1054
|
pdf: "pdf";
|
|
1118
1055
|
}>;
|
|
1119
1056
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1057
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
1058
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1059
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1061
|
+
tail: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1062
|
+
id: z.ZodString;
|
|
1063
|
+
page: z.ZodNumber;
|
|
1064
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1120
1067
|
subject: z.ZodOptional<z.ZodString>;
|
|
1121
|
-
intent: z.ZodOptional<z.ZodType<
|
|
1068
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1122
1069
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1123
|
-
|
|
1124
|
-
|
|
1070
|
+
type: z.ZodLiteral<"polyline">;
|
|
1071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1125
1072
|
vertices: z.ZodArray<z.ZodObject<{
|
|
1126
1073
|
x: z.ZodNumber;
|
|
1127
1074
|
y: z.ZodNumber;
|
|
1128
1075
|
}, z.core.$strip>>;
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1132
|
-
type: z.ZodLiteral<"polygon">;
|
|
1133
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1134
|
-
id: z.ZodString;
|
|
1135
|
-
page: z.ZodNumber;
|
|
1076
|
+
head: z.ZodOptional<z.ZodNever>;
|
|
1077
|
+
tail: z.ZodOptional<z.ZodNever>;
|
|
1136
1078
|
rect: z.ZodObject<{
|
|
1137
1079
|
x: z.ZodNumber;
|
|
1138
1080
|
y: z.ZodNumber;
|
|
@@ -1141,9 +1083,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1141
1083
|
}, z.core.$strip>;
|
|
1142
1084
|
color: z.ZodString;
|
|
1143
1085
|
opacity: z.ZodNumber;
|
|
1144
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1145
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1147
1086
|
createdAt: z.ZodISODateTime;
|
|
1148
1087
|
modifiedAt: z.ZodISODateTime;
|
|
1149
1088
|
source: z.ZodEnum<{
|
|
@@ -1151,20 +1090,51 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1151
1090
|
pdf: "pdf";
|
|
1152
1091
|
}>;
|
|
1153
1092
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1093
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
1094
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1095
|
+
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
id: z.ZodString;
|
|
1097
|
+
page: z.ZodNumber;
|
|
1098
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1099
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1154
1101
|
subject: z.ZodOptional<z.ZodString>;
|
|
1155
|
-
intent: z.ZodOptional<z.ZodType<
|
|
1102
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1156
1103
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1157
|
-
type: z.ZodLiteral<"
|
|
1104
|
+
type: z.ZodLiteral<"polygon">;
|
|
1105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1158
1106
|
inklist: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1159
1107
|
x: z.ZodNumber;
|
|
1160
1108
|
y: z.ZodNumber;
|
|
1161
1109
|
}, z.core.$strip>>>;
|
|
1162
1110
|
pressure: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
1111
|
+
rect: z.ZodObject<{
|
|
1112
|
+
x: z.ZodNumber;
|
|
1113
|
+
y: z.ZodNumber;
|
|
1114
|
+
width: z.ZodNumber;
|
|
1115
|
+
height: z.ZodNumber;
|
|
1116
|
+
}, z.core.$strip>;
|
|
1117
|
+
color: z.ZodString;
|
|
1118
|
+
opacity: z.ZodNumber;
|
|
1119
|
+
createdAt: z.ZodISODateTime;
|
|
1120
|
+
modifiedAt: z.ZodISODateTime;
|
|
1121
|
+
source: z.ZodEnum<{
|
|
1122
|
+
session: "session";
|
|
1123
|
+
pdf: "pdf";
|
|
1124
|
+
}>;
|
|
1125
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1163
1126
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1164
1127
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1165
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1166
1128
|
id: z.ZodString;
|
|
1167
1129
|
page: z.ZodNumber;
|
|
1130
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1135
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1136
|
+
type: z.ZodLiteral<"ink">;
|
|
1137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1168
1138
|
rect: z.ZodObject<{
|
|
1169
1139
|
x: z.ZodNumber;
|
|
1170
1140
|
y: z.ZodNumber;
|
|
@@ -1173,9 +1143,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1173
1143
|
}, z.core.$strip>;
|
|
1174
1144
|
color: z.ZodString;
|
|
1175
1145
|
opacity: z.ZodNumber;
|
|
1176
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1177
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1178
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1179
1146
|
createdAt: z.ZodISODateTime;
|
|
1180
1147
|
modifiedAt: z.ZodISODateTime;
|
|
1181
1148
|
source: z.ZodEnum<{
|
|
@@ -1183,15 +1150,18 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1183
1150
|
pdf: "pdf";
|
|
1184
1151
|
}>;
|
|
1185
1152
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1153
|
+
imagedata: z.ZodString;
|
|
1154
|
+
rotation: z.ZodOptional<z.ZodLiteral<0 | 90 | 180 | 270>>;
|
|
1155
|
+
id: z.ZodString;
|
|
1156
|
+
page: z.ZodNumber;
|
|
1157
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1186
1160
|
subject: z.ZodOptional<z.ZodString>;
|
|
1187
|
-
intent: z.ZodOptional<z.ZodType<
|
|
1161
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1188
1162
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1189
1163
|
type: z.ZodLiteral<"stamp">;
|
|
1190
|
-
imagedata: z.ZodString;
|
|
1191
|
-
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
1192
1164
|
}, z.core.$strip>, z.ZodObject<{
|
|
1193
|
-
id: z.ZodString;
|
|
1194
|
-
page: z.ZodNumber;
|
|
1195
1165
|
rect: z.ZodObject<{
|
|
1196
1166
|
x: z.ZodNumber;
|
|
1197
1167
|
y: z.ZodNumber;
|
|
@@ -1200,9 +1170,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1200
1170
|
}, z.core.$strip>;
|
|
1201
1171
|
color: z.ZodString;
|
|
1202
1172
|
opacity: z.ZodNumber;
|
|
1203
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1204
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1205
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1206
1173
|
createdAt: z.ZodISODateTime;
|
|
1207
1174
|
modifiedAt: z.ZodISODateTime;
|
|
1208
1175
|
source: z.ZodEnum<{
|
|
@@ -1210,15 +1177,18 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1210
1177
|
pdf: "pdf";
|
|
1211
1178
|
}>;
|
|
1212
1179
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1180
|
+
magnification: z.ZodDefault<z.ZodNumber>;
|
|
1181
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
1182
|
+
id: z.ZodString;
|
|
1183
|
+
page: z.ZodNumber;
|
|
1184
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1186
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1213
1187
|
subject: z.ZodOptional<z.ZodString>;
|
|
1214
|
-
intent: z.ZodOptional<z.ZodType<
|
|
1188
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1215
1189
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1216
1190
|
type: z.ZodLiteral<"loupe">;
|
|
1217
|
-
magnification: z.ZodDefault<z.ZodNumber>;
|
|
1218
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
1219
1191
|
}, z.core.$strip>, z.ZodObject<{
|
|
1220
|
-
id: z.ZodString;
|
|
1221
|
-
page: z.ZodNumber;
|
|
1222
1192
|
rect: z.ZodObject<{
|
|
1223
1193
|
x: z.ZodNumber;
|
|
1224
1194
|
y: z.ZodNumber;
|
|
@@ -1227,9 +1197,6 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1227
1197
|
}, z.core.$strip>;
|
|
1228
1198
|
color: z.ZodString;
|
|
1229
1199
|
opacity: z.ZodNumber;
|
|
1230
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1231
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1232
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1233
1200
|
createdAt: z.ZodISODateTime;
|
|
1234
1201
|
modifiedAt: z.ZodISODateTime;
|
|
1235
1202
|
source: z.ZodEnum<{
|
|
@@ -1237,40 +1204,21 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1237
1204
|
pdf: "pdf";
|
|
1238
1205
|
}>;
|
|
1239
1206
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1240
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
1241
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1242
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1243
|
-
type: z.ZodLiteral<"mask">;
|
|
1244
1207
|
shape: z.ZodEnum<{
|
|
1245
1208
|
rect: "rect";
|
|
1246
1209
|
ellipse: "ellipse";
|
|
1247
1210
|
}>;
|
|
1248
1211
|
dim: z.ZodDefault<z.ZodNumber>;
|
|
1249
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1250
1212
|
id: z.ZodString;
|
|
1251
1213
|
page: z.ZodNumber;
|
|
1252
|
-
rect: z.ZodObject<{
|
|
1253
|
-
x: z.ZodNumber;
|
|
1254
|
-
y: z.ZodNumber;
|
|
1255
|
-
width: z.ZodNumber;
|
|
1256
|
-
height: z.ZodNumber;
|
|
1257
|
-
}, z.core.$strip>;
|
|
1258
|
-
color: z.ZodString;
|
|
1259
|
-
opacity: z.ZodNumber;
|
|
1260
1214
|
author: z.ZodOptional<z.ZodString>;
|
|
1261
1215
|
contents: z.ZodOptional<z.ZodString>;
|
|
1262
1216
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1263
|
-
createdAt: z.ZodISODateTime;
|
|
1264
|
-
modifiedAt: z.ZodISODateTime;
|
|
1265
|
-
source: z.ZodEnum<{
|
|
1266
|
-
session: "session";
|
|
1267
|
-
pdf: "pdf";
|
|
1268
|
-
}>;
|
|
1269
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1270
1217
|
subject: z.ZodOptional<z.ZodString>;
|
|
1271
|
-
intent: z.ZodOptional<z.ZodType<
|
|
1218
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1272
1219
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1273
|
-
type: z.ZodLiteral<"
|
|
1220
|
+
type: z.ZodLiteral<"mask">;
|
|
1221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1274
1222
|
quads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1275
1223
|
p1: z.ZodObject<{
|
|
1276
1224
|
x: z.ZodNumber;
|
|
@@ -1289,32 +1237,7 @@ declare const AnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1289
1237
|
y: z.ZodNumber;
|
|
1290
1238
|
}, z.core.$strip>;
|
|
1291
1239
|
}, z.core.$strip>>>;
|
|
1292
|
-
origin: z.ZodDefault<z.ZodEnum<{
|
|
1293
|
-
user: "user";
|
|
1294
|
-
suggested: "suggested";
|
|
1295
|
-
}>>;
|
|
1296
|
-
suggestion: z.ZodOptional<z.ZodObject<{
|
|
1297
|
-
jobId: z.ZodOptional<z.ZodString>;
|
|
1298
|
-
confidence: z.ZodNumber;
|
|
1299
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1300
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
1301
|
-
recommendation: z.ZodOptional<z.ZodEnum<{
|
|
1302
|
-
redact: "redact";
|
|
1303
|
-
review: "review";
|
|
1304
|
-
keep: "keep";
|
|
1305
|
-
}>>;
|
|
1306
|
-
}, z.core.$strip>>;
|
|
1307
|
-
overlayText: z.ZodOptional<z.ZodString>;
|
|
1308
1240
|
interiorColor: z.ZodString;
|
|
1309
|
-
}, z.core.$strip>], "type">;
|
|
1310
|
-
/** One exported annotation: the stored annotation without its viewer state. */
|
|
1311
|
-
declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1312
|
-
type: z.ZodEnum<{
|
|
1313
|
-
highlight: "highlight";
|
|
1314
|
-
underline: "underline";
|
|
1315
|
-
strikeout: "strikeout";
|
|
1316
|
-
squiggly: "squiggly";
|
|
1317
|
-
}>;
|
|
1318
1241
|
rect: z.ZodObject<{
|
|
1319
1242
|
x: z.ZodNumber;
|
|
1320
1243
|
y: z.ZodNumber;
|
|
@@ -1322,17 +1245,27 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1322
1245
|
height: z.ZodNumber;
|
|
1323
1246
|
}, z.core.$strip>;
|
|
1324
1247
|
color: z.ZodString;
|
|
1248
|
+
opacity: z.ZodNumber;
|
|
1249
|
+
createdAt: z.ZodISODateTime;
|
|
1250
|
+
modifiedAt: z.ZodISODateTime;
|
|
1251
|
+
source: z.ZodEnum<{
|
|
1252
|
+
session: "session";
|
|
1253
|
+
pdf: "pdf";
|
|
1254
|
+
}>;
|
|
1255
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1256
|
+
overlayText: z.ZodOptional<z.ZodString>;
|
|
1325
1257
|
id: z.ZodString;
|
|
1326
1258
|
page: z.ZodNumber;
|
|
1327
|
-
opacity: z.ZodNumber;
|
|
1328
1259
|
author: z.ZodOptional<z.ZodString>;
|
|
1329
1260
|
contents: z.ZodOptional<z.ZodString>;
|
|
1330
1261
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1331
|
-
createdAt: z.ZodISODateTime;
|
|
1332
|
-
modifiedAt: z.ZodISODateTime;
|
|
1333
1262
|
subject: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1334
1264
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1335
|
-
|
|
1265
|
+
type: z.ZodLiteral<"redact">;
|
|
1266
|
+
}, z.core.$strip>], "type">;
|
|
1267
|
+
/** One exported annotation: the stored annotation without its viewer state. */
|
|
1268
|
+
declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1336
1269
|
quads: z.ZodArray<z.ZodObject<{
|
|
1337
1270
|
p1: z.ZodObject<{
|
|
1338
1271
|
x: z.ZodNumber;
|
|
@@ -1351,8 +1284,13 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1351
1284
|
y: z.ZodNumber;
|
|
1352
1285
|
}, z.core.$strip>;
|
|
1353
1286
|
}, z.core.$strip>>;
|
|
1354
|
-
|
|
1355
|
-
|
|
1287
|
+
type: z.ZodEnum<{
|
|
1288
|
+
highlight: "highlight";
|
|
1289
|
+
underline: "underline";
|
|
1290
|
+
strikeout: "strikeout";
|
|
1291
|
+
squiggly: "squiggly";
|
|
1292
|
+
}>;
|
|
1293
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1356
1294
|
rect: z.ZodObject<{
|
|
1357
1295
|
x: z.ZodNumber;
|
|
1358
1296
|
y: z.ZodNumber;
|
|
@@ -1360,21 +1298,41 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1360
1298
|
height: z.ZodNumber;
|
|
1361
1299
|
}, z.core.$strip>;
|
|
1362
1300
|
color: z.ZodString;
|
|
1301
|
+
opacity: z.ZodNumber;
|
|
1302
|
+
createdAt: z.ZodISODateTime;
|
|
1303
|
+
modifiedAt: z.ZodISODateTime;
|
|
1363
1304
|
id: z.ZodString;
|
|
1364
1305
|
page: z.ZodNumber;
|
|
1365
|
-
opacity: z.ZodNumber;
|
|
1366
1306
|
author: z.ZodOptional<z.ZodString>;
|
|
1367
1307
|
contents: z.ZodOptional<z.ZodString>;
|
|
1368
1308
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
1310
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1311
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1312
|
+
type: z.ZodLiteral<"text">;
|
|
1313
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1314
|
+
rect: z.ZodObject<{
|
|
1315
|
+
x: z.ZodNumber;
|
|
1316
|
+
y: z.ZodNumber;
|
|
1317
|
+
width: z.ZodNumber;
|
|
1318
|
+
height: z.ZodNumber;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1320
|
+
color: z.ZodString;
|
|
1321
|
+
opacity: z.ZodNumber;
|
|
1369
1322
|
createdAt: z.ZodISODateTime;
|
|
1370
1323
|
modifiedAt: z.ZodISODateTime;
|
|
1324
|
+
id: z.ZodString;
|
|
1325
|
+
page: z.ZodNumber;
|
|
1326
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1371
1329
|
subject: z.ZodOptional<z.ZodString>;
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
icon: z.ZodDefault<z.ZodType<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", z.core.$ZodTypeInternals<(string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph", (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph">>>;
|
|
1330
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1331
|
+
icon: z.ZodDefault<z.ZodType<"Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), z.core.$ZodTypeInternals<"Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {}), "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph" | (string & {})>>>;
|
|
1375
1332
|
}, z.core.$strip>, z.ZodObject<{
|
|
1376
|
-
type: z.ZodLiteral<"freetext">;
|
|
1377
1333
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1334
|
+
type: z.ZodLiteral<"freetext">;
|
|
1335
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1378
1336
|
rect: z.ZodObject<{
|
|
1379
1337
|
x: z.ZodNumber;
|
|
1380
1338
|
y: z.ZodNumber;
|
|
@@ -1382,27 +1340,24 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1382
1340
|
height: z.ZodNumber;
|
|
1383
1341
|
}, z.core.$strip>;
|
|
1384
1342
|
color: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
opacity: z.ZodNumber;
|
|
1344
|
+
createdAt: z.ZodISODateTime;
|
|
1345
|
+
modifiedAt: z.ZodISODateTime;
|
|
1385
1346
|
id: z.ZodString;
|
|
1386
1347
|
page: z.ZodNumber;
|
|
1387
|
-
opacity: z.ZodNumber;
|
|
1388
1348
|
author: z.ZodOptional<z.ZodString>;
|
|
1389
1349
|
contents: z.ZodString;
|
|
1390
1350
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1391
|
-
createdAt: z.ZodISODateTime;
|
|
1392
|
-
modifiedAt: z.ZodISODateTime;
|
|
1393
1351
|
subject: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
|
|
1395
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1352
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1396
1353
|
align: z.ZodOptional<z.ZodNever>;
|
|
1397
1354
|
fontFamily: z.ZodOptional<z.ZodNever>;
|
|
1398
1355
|
fontSize: z.ZodOptional<z.ZodNever>;
|
|
1399
|
-
borderColor: z.ZodOptional<z.ZodString>;
|
|
1400
|
-
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1401
|
-
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
1402
1356
|
defaultStyle: z.ZodObject<{
|
|
1357
|
+
color: z.ZodString;
|
|
1358
|
+
align: z.ZodOptional<z.ZodNever>;
|
|
1403
1359
|
fontFamily: z.ZodDefault<z.ZodString>;
|
|
1404
1360
|
fontSize: z.ZodDefault<z.ZodNumber>;
|
|
1405
|
-
color: z.ZodString;
|
|
1406
1361
|
textAlign: z.ZodDefault<z.ZodEnum<{
|
|
1407
1362
|
left: "left";
|
|
1408
1363
|
right: "right";
|
|
@@ -1412,8 +1367,8 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1412
1367
|
fontWeight: z.ZodOptional<z.ZodLiteral<"bold">>;
|
|
1413
1368
|
fontStyle: z.ZodOptional<z.ZodLiteral<"italic">>;
|
|
1414
1369
|
textDecoration: z.ZodOptional<z.ZodLiteral<"underline">>;
|
|
1415
|
-
align: z.ZodOptional<z.ZodNever>;
|
|
1416
1370
|
}, z.core.$strip>;
|
|
1371
|
+
borderColor: z.ZodOptional<z.ZodString>;
|
|
1417
1372
|
fringe: z.ZodOptional<z.ZodObject<{
|
|
1418
1373
|
left: z.ZodNumber;
|
|
1419
1374
|
top: z.ZodNumber;
|
|
@@ -1424,10 +1379,13 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1424
1379
|
x: z.ZodNumber;
|
|
1425
1380
|
y: z.ZodNumber;
|
|
1426
1381
|
}, z.core.$strip>>>;
|
|
1427
|
-
|
|
1382
|
+
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1383
|
+
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
1384
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1428
1385
|
}, z.core.$strip>, z.ZodObject<{
|
|
1429
|
-
type: z.ZodLiteral<"square">;
|
|
1430
1386
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1387
|
+
type: z.ZodLiteral<"square">;
|
|
1388
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1431
1389
|
rect: z.ZodObject<{
|
|
1432
1390
|
x: z.ZodNumber;
|
|
1433
1391
|
y: z.ZodNumber;
|
|
@@ -1435,23 +1393,23 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1435
1393
|
height: z.ZodNumber;
|
|
1436
1394
|
}, z.core.$strip>;
|
|
1437
1395
|
color: z.ZodString;
|
|
1396
|
+
opacity: z.ZodNumber;
|
|
1397
|
+
createdAt: z.ZodISODateTime;
|
|
1398
|
+
modifiedAt: z.ZodISODateTime;
|
|
1438
1399
|
id: z.ZodString;
|
|
1439
1400
|
page: z.ZodNumber;
|
|
1440
|
-
opacity: z.ZodNumber;
|
|
1441
1401
|
author: z.ZodOptional<z.ZodString>;
|
|
1442
1402
|
contents: z.ZodOptional<z.ZodString>;
|
|
1443
1403
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1444
|
-
createdAt: z.ZodISODateTime;
|
|
1445
|
-
modifiedAt: z.ZodISODateTime;
|
|
1446
1404
|
subject: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
|
|
1448
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1405
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1449
1406
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1450
1407
|
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
1451
1408
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1452
1409
|
}, z.core.$strip>, z.ZodObject<{
|
|
1453
|
-
type: z.ZodLiteral<"circle">;
|
|
1454
1410
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1411
|
+
type: z.ZodLiteral<"circle">;
|
|
1412
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1455
1413
|
rect: z.ZodObject<{
|
|
1456
1414
|
x: z.ZodNumber;
|
|
1457
1415
|
y: z.ZodNumber;
|
|
@@ -1459,23 +1417,23 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1459
1417
|
height: z.ZodNumber;
|
|
1460
1418
|
}, z.core.$strip>;
|
|
1461
1419
|
color: z.ZodString;
|
|
1420
|
+
opacity: z.ZodNumber;
|
|
1421
|
+
createdAt: z.ZodISODateTime;
|
|
1422
|
+
modifiedAt: z.ZodISODateTime;
|
|
1462
1423
|
id: z.ZodString;
|
|
1463
1424
|
page: z.ZodNumber;
|
|
1464
|
-
opacity: z.ZodNumber;
|
|
1465
1425
|
author: z.ZodOptional<z.ZodString>;
|
|
1466
1426
|
contents: z.ZodOptional<z.ZodString>;
|
|
1467
1427
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1468
|
-
createdAt: z.ZodISODateTime;
|
|
1469
|
-
modifiedAt: z.ZodISODateTime;
|
|
1470
1428
|
subject: z.ZodOptional<z.ZodString>;
|
|
1471
|
-
|
|
1472
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1429
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1473
1430
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1474
1431
|
cornerRadius: z.ZodOptional<z.ZodNever>;
|
|
1475
1432
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1476
1433
|
}, z.core.$strip>, z.ZodObject<{
|
|
1477
|
-
type: z.ZodLiteral<"line">;
|
|
1478
1434
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1435
|
+
type: z.ZodLiteral<"line">;
|
|
1436
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1479
1437
|
rect: z.ZodObject<{
|
|
1480
1438
|
x: z.ZodNumber;
|
|
1481
1439
|
y: z.ZodNumber;
|
|
@@ -1483,19 +1441,18 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1483
1441
|
height: z.ZodNumber;
|
|
1484
1442
|
}, z.core.$strip>;
|
|
1485
1443
|
color: z.ZodString;
|
|
1444
|
+
opacity: z.ZodNumber;
|
|
1445
|
+
createdAt: z.ZodISODateTime;
|
|
1446
|
+
modifiedAt: z.ZodISODateTime;
|
|
1486
1447
|
id: z.ZodString;
|
|
1487
1448
|
page: z.ZodNumber;
|
|
1488
|
-
opacity: z.ZodNumber;
|
|
1489
1449
|
author: z.ZodOptional<z.ZodString>;
|
|
1490
1450
|
contents: z.ZodOptional<z.ZodString>;
|
|
1491
1451
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1492
|
-
createdAt: z.ZodISODateTime;
|
|
1493
|
-
modifiedAt: z.ZodISODateTime;
|
|
1494
1452
|
subject: z.ZodOptional<z.ZodString>;
|
|
1495
|
-
|
|
1496
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1453
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1497
1454
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1498
|
-
head: z.ZodOptional<z.ZodType<
|
|
1455
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1499
1456
|
start: z.ZodObject<{
|
|
1500
1457
|
x: z.ZodNumber;
|
|
1501
1458
|
y: z.ZodNumber;
|
|
@@ -1504,10 +1461,11 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1504
1461
|
x: z.ZodNumber;
|
|
1505
1462
|
y: z.ZodNumber;
|
|
1506
1463
|
}, z.core.$strip>;
|
|
1507
|
-
tail: z.ZodOptional<z.ZodType<
|
|
1464
|
+
tail: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1508
1465
|
}, z.core.$strip>, z.ZodObject<{
|
|
1509
|
-
type: z.ZodLiteral<"polyline">;
|
|
1510
1466
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1467
|
+
type: z.ZodLiteral<"polyline">;
|
|
1468
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1511
1469
|
rect: z.ZodObject<{
|
|
1512
1470
|
x: z.ZodNumber;
|
|
1513
1471
|
y: z.ZodNumber;
|
|
@@ -1515,28 +1473,28 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1515
1473
|
height: z.ZodNumber;
|
|
1516
1474
|
}, z.core.$strip>;
|
|
1517
1475
|
color: z.ZodString;
|
|
1476
|
+
opacity: z.ZodNumber;
|
|
1477
|
+
createdAt: z.ZodISODateTime;
|
|
1478
|
+
modifiedAt: z.ZodISODateTime;
|
|
1518
1479
|
id: z.ZodString;
|
|
1519
1480
|
page: z.ZodNumber;
|
|
1520
|
-
opacity: z.ZodNumber;
|
|
1521
1481
|
author: z.ZodOptional<z.ZodString>;
|
|
1522
1482
|
contents: z.ZodOptional<z.ZodString>;
|
|
1523
1483
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1524
|
-
createdAt: z.ZodISODateTime;
|
|
1525
|
-
modifiedAt: z.ZodISODateTime;
|
|
1526
1484
|
subject: z.ZodOptional<z.ZodString>;
|
|
1527
|
-
|
|
1528
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1485
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1529
1486
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1530
|
-
head: z.ZodOptional<z.ZodType<
|
|
1487
|
+
head: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1531
1488
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
1532
|
-
tail: z.ZodOptional<z.ZodType<
|
|
1489
|
+
tail: z.ZodOptional<z.ZodType<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), z.core.$ZodTypeInternals<"None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {}), "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | (string & {})>>>;
|
|
1533
1490
|
vertices: z.ZodArray<z.ZodObject<{
|
|
1534
1491
|
x: z.ZodNumber;
|
|
1535
1492
|
y: z.ZodNumber;
|
|
1536
1493
|
}, z.core.$strip>>;
|
|
1537
1494
|
}, z.core.$strip>, z.ZodObject<{
|
|
1538
|
-
type: z.ZodLiteral<"polygon">;
|
|
1539
1495
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1496
|
+
type: z.ZodLiteral<"polygon">;
|
|
1497
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1540
1498
|
rect: z.ZodObject<{
|
|
1541
1499
|
x: z.ZodNumber;
|
|
1542
1500
|
y: z.ZodNumber;
|
|
@@ -1544,17 +1502,16 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1544
1502
|
height: z.ZodNumber;
|
|
1545
1503
|
}, z.core.$strip>;
|
|
1546
1504
|
color: z.ZodString;
|
|
1505
|
+
opacity: z.ZodNumber;
|
|
1506
|
+
createdAt: z.ZodISODateTime;
|
|
1507
|
+
modifiedAt: z.ZodISODateTime;
|
|
1547
1508
|
id: z.ZodString;
|
|
1548
1509
|
page: z.ZodNumber;
|
|
1549
|
-
opacity: z.ZodNumber;
|
|
1550
1510
|
author: z.ZodOptional<z.ZodString>;
|
|
1551
1511
|
contents: z.ZodOptional<z.ZodString>;
|
|
1552
1512
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1553
|
-
createdAt: z.ZodISODateTime;
|
|
1554
|
-
modifiedAt: z.ZodISODateTime;
|
|
1555
1513
|
subject: z.ZodOptional<z.ZodString>;
|
|
1556
|
-
|
|
1557
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1514
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1558
1515
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1559
1516
|
head: z.ZodOptional<z.ZodNever>;
|
|
1560
1517
|
interiorColor: z.ZodOptional<z.ZodString>;
|
|
@@ -1564,8 +1521,9 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1564
1521
|
y: z.ZodNumber;
|
|
1565
1522
|
}, z.core.$strip>>;
|
|
1566
1523
|
}, z.core.$strip>, z.ZodObject<{
|
|
1567
|
-
type: z.ZodLiteral<"ink">;
|
|
1568
1524
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1525
|
+
type: z.ZodLiteral<"ink">;
|
|
1526
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1569
1527
|
rect: z.ZodObject<{
|
|
1570
1528
|
x: z.ZodNumber;
|
|
1571
1529
|
y: z.ZodNumber;
|
|
@@ -1573,17 +1531,16 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1573
1531
|
height: z.ZodNumber;
|
|
1574
1532
|
}, z.core.$strip>;
|
|
1575
1533
|
color: z.ZodString;
|
|
1534
|
+
opacity: z.ZodNumber;
|
|
1535
|
+
createdAt: z.ZodISODateTime;
|
|
1536
|
+
modifiedAt: z.ZodISODateTime;
|
|
1576
1537
|
id: z.ZodString;
|
|
1577
1538
|
page: z.ZodNumber;
|
|
1578
|
-
opacity: z.ZodNumber;
|
|
1579
1539
|
author: z.ZodOptional<z.ZodString>;
|
|
1580
1540
|
contents: z.ZodOptional<z.ZodString>;
|
|
1581
1541
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1582
|
-
createdAt: z.ZodISODateTime;
|
|
1583
|
-
modifiedAt: z.ZodISODateTime;
|
|
1584
1542
|
subject: z.ZodOptional<z.ZodString>;
|
|
1585
|
-
|
|
1586
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1543
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1587
1544
|
dashes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1588
1545
|
inklist: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1589
1546
|
x: z.ZodNumber;
|
|
@@ -1592,6 +1549,7 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1592
1549
|
pressure: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
1593
1550
|
}, z.core.$strip>, z.ZodObject<{
|
|
1594
1551
|
type: z.ZodLiteral<"stamp">;
|
|
1552
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1595
1553
|
rect: z.ZodObject<{
|
|
1596
1554
|
x: z.ZodNumber;
|
|
1597
1555
|
y: z.ZodNumber;
|
|
@@ -1599,22 +1557,22 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1599
1557
|
height: z.ZodNumber;
|
|
1600
1558
|
}, z.core.$strip>;
|
|
1601
1559
|
color: z.ZodString;
|
|
1560
|
+
opacity: z.ZodNumber;
|
|
1561
|
+
createdAt: z.ZodISODateTime;
|
|
1562
|
+
modifiedAt: z.ZodISODateTime;
|
|
1602
1563
|
id: z.ZodString;
|
|
1603
1564
|
page: z.ZodNumber;
|
|
1604
|
-
opacity: z.ZodNumber;
|
|
1605
1565
|
author: z.ZodOptional<z.ZodString>;
|
|
1606
1566
|
contents: z.ZodOptional<z.ZodString>;
|
|
1607
1567
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1608
|
-
createdAt: z.ZodISODateTime;
|
|
1609
|
-
modifiedAt: z.ZodISODateTime;
|
|
1610
1568
|
subject: z.ZodOptional<z.ZodString>;
|
|
1611
|
-
|
|
1612
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1569
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1613
1570
|
imagedata: z.ZodString;
|
|
1614
|
-
rotation: z.ZodOptional<z.
|
|
1571
|
+
rotation: z.ZodOptional<z.ZodLiteral<0 | 90 | 180 | 270>>;
|
|
1615
1572
|
}, z.core.$strip>, z.ZodObject<{
|
|
1616
|
-
type: z.ZodLiteral<"loupe">;
|
|
1617
1573
|
width: z.ZodDefault<z.ZodNumber>;
|
|
1574
|
+
type: z.ZodLiteral<"loupe">;
|
|
1575
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1618
1576
|
rect: z.ZodObject<{
|
|
1619
1577
|
x: z.ZodNumber;
|
|
1620
1578
|
y: z.ZodNumber;
|
|
@@ -1622,20 +1580,20 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1622
1580
|
height: z.ZodNumber;
|
|
1623
1581
|
}, z.core.$strip>;
|
|
1624
1582
|
color: z.ZodString;
|
|
1583
|
+
opacity: z.ZodNumber;
|
|
1584
|
+
createdAt: z.ZodISODateTime;
|
|
1585
|
+
modifiedAt: z.ZodISODateTime;
|
|
1625
1586
|
id: z.ZodString;
|
|
1626
1587
|
page: z.ZodNumber;
|
|
1627
|
-
opacity: z.ZodNumber;
|
|
1628
1588
|
author: z.ZodOptional<z.ZodString>;
|
|
1629
1589
|
contents: z.ZodOptional<z.ZodString>;
|
|
1630
1590
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1631
|
-
createdAt: z.ZodISODateTime;
|
|
1632
|
-
modifiedAt: z.ZodISODateTime;
|
|
1633
1591
|
subject: z.ZodOptional<z.ZodString>;
|
|
1634
|
-
|
|
1635
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1592
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1636
1593
|
magnification: z.ZodDefault<z.ZodNumber>;
|
|
1637
1594
|
}, z.core.$strip>, z.ZodObject<{
|
|
1638
1595
|
type: z.ZodLiteral<"mask">;
|
|
1596
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1639
1597
|
rect: z.ZodObject<{
|
|
1640
1598
|
x: z.ZodNumber;
|
|
1641
1599
|
y: z.ZodNumber;
|
|
@@ -1643,42 +1601,22 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1643
1601
|
height: z.ZodNumber;
|
|
1644
1602
|
}, z.core.$strip>;
|
|
1645
1603
|
color: z.ZodString;
|
|
1604
|
+
opacity: z.ZodNumber;
|
|
1605
|
+
createdAt: z.ZodISODateTime;
|
|
1606
|
+
modifiedAt: z.ZodISODateTime;
|
|
1646
1607
|
id: z.ZodString;
|
|
1647
1608
|
page: z.ZodNumber;
|
|
1648
|
-
opacity: z.ZodNumber;
|
|
1649
1609
|
author: z.ZodOptional<z.ZodString>;
|
|
1650
1610
|
contents: z.ZodOptional<z.ZodString>;
|
|
1651
1611
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1652
|
-
createdAt: z.ZodISODateTime;
|
|
1653
|
-
modifiedAt: z.ZodISODateTime;
|
|
1654
1612
|
subject: z.ZodOptional<z.ZodString>;
|
|
1655
|
-
|
|
1656
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1613
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1657
1614
|
shape: z.ZodEnum<{
|
|
1658
1615
|
rect: "rect";
|
|
1659
1616
|
ellipse: "ellipse";
|
|
1660
1617
|
}>;
|
|
1661
1618
|
dim: z.ZodDefault<z.ZodNumber>;
|
|
1662
1619
|
}, z.core.$strip>, z.ZodObject<{
|
|
1663
|
-
type: z.ZodLiteral<"redact">;
|
|
1664
|
-
rect: z.ZodObject<{
|
|
1665
|
-
x: z.ZodNumber;
|
|
1666
|
-
y: z.ZodNumber;
|
|
1667
|
-
width: z.ZodNumber;
|
|
1668
|
-
height: z.ZodNumber;
|
|
1669
|
-
}, z.core.$strip>;
|
|
1670
|
-
color: z.ZodString;
|
|
1671
|
-
id: z.ZodString;
|
|
1672
|
-
page: z.ZodNumber;
|
|
1673
|
-
opacity: z.ZodNumber;
|
|
1674
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1675
|
-
contents: z.ZodOptional<z.ZodString>;
|
|
1676
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1677
|
-
createdAt: z.ZodISODateTime;
|
|
1678
|
-
modifiedAt: z.ZodISODateTime;
|
|
1679
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
1680
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1681
|
-
intent: z.ZodOptional<z.ZodType<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", z.core.$ZodTypeInternals<(string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension", (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension">>>;
|
|
1682
1620
|
quads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1683
1621
|
p1: z.ZodObject<{
|
|
1684
1622
|
x: z.ZodNumber;
|
|
@@ -1697,34 +1635,38 @@ declare const ExportedAnnotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1697
1635
|
y: z.ZodNumber;
|
|
1698
1636
|
}, z.core.$strip>;
|
|
1699
1637
|
}, z.core.$strip>>>;
|
|
1638
|
+
type: z.ZodLiteral<"redact">;
|
|
1639
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1640
|
+
rect: z.ZodObject<{
|
|
1641
|
+
x: z.ZodNumber;
|
|
1642
|
+
y: z.ZodNumber;
|
|
1643
|
+
width: z.ZodNumber;
|
|
1644
|
+
height: z.ZodNumber;
|
|
1645
|
+
}, z.core.$strip>;
|
|
1646
|
+
color: z.ZodString;
|
|
1647
|
+
opacity: z.ZodNumber;
|
|
1648
|
+
createdAt: z.ZodISODateTime;
|
|
1649
|
+
modifiedAt: z.ZodISODateTime;
|
|
1650
|
+
id: z.ZodString;
|
|
1651
|
+
page: z.ZodNumber;
|
|
1652
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1653
|
+
contents: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
1655
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
intent: z.ZodOptional<z.ZodType<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), z.core.$ZodTypeInternals<"FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {}), "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | (string & {})>>>;
|
|
1700
1657
|
interiorColor: z.ZodString;
|
|
1701
|
-
origin: z.ZodDefault<z.ZodEnum<{
|
|
1702
|
-
user: "user";
|
|
1703
|
-
suggested: "suggested";
|
|
1704
|
-
}>>;
|
|
1705
|
-
suggestion: z.ZodOptional<z.ZodObject<{
|
|
1706
|
-
jobId: z.ZodOptional<z.ZodString>;
|
|
1707
|
-
confidence: z.ZodNumber;
|
|
1708
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1709
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
1710
|
-
recommendation: z.ZodOptional<z.ZodEnum<{
|
|
1711
|
-
redact: "redact";
|
|
1712
|
-
review: "review";
|
|
1713
|
-
keep: "keep";
|
|
1714
|
-
}>>;
|
|
1715
|
-
}, z.core.$strip>>;
|
|
1716
1658
|
overlayText: z.ZodOptional<z.ZodString>;
|
|
1717
1659
|
}, z.core.$strip>], "type">;
|
|
1718
|
-
type Annotation = z.infer<typeof AnnotationSchema>;
|
|
1660
|
+
type Annotation$1 = z.infer<typeof AnnotationSchema>;
|
|
1719
1661
|
type ExportedAnnotation = z.infer<typeof ExportedAnnotationSchema>;
|
|
1720
|
-
type AnnotationType = Annotation['type'];
|
|
1721
|
-
type AnnotationOfType<T extends AnnotationType> = Extract<Annotation, {
|
|
1662
|
+
type AnnotationType = Annotation$1['type'];
|
|
1663
|
+
type AnnotationOfType<T extends AnnotationType> = Extract<Annotation$1, {
|
|
1722
1664
|
type: T;
|
|
1723
1665
|
}>;
|
|
1724
1666
|
type TextMarkupAnnotation = z.infer<typeof TextMarkupSchema>;
|
|
1725
1667
|
type NoteAnnotation = z.infer<typeof NoteSchema>;
|
|
1726
1668
|
type FreeTextAnnotation = z.infer<typeof FreeTextSchema>;
|
|
1727
|
-
type FreeTextStyle = z.infer<typeof FreeTextStyleSchema>;
|
|
1669
|
+
type FreeTextStyle$1 = z.infer<typeof FreeTextStyleSchema>;
|
|
1728
1670
|
type ShapeAnnotation = z.infer<typeof ShapeSchema>;
|
|
1729
1671
|
type LineAnnotation = z.infer<typeof LineSchema>;
|
|
1730
1672
|
type PolyAnnotation = z.infer<typeof PolySchema>;
|
|
@@ -1733,14 +1675,13 @@ type StampAnnotation = z.infer<typeof StampSchema>;
|
|
|
1733
1675
|
type LoupeAnnotation = z.infer<typeof LoupeSchema>;
|
|
1734
1676
|
type MaskAnnotation = z.infer<typeof MaskSchema>;
|
|
1735
1677
|
type RedactAnnotation = z.infer<typeof RedactSchema>;
|
|
1736
|
-
type
|
|
1737
|
-
type LineEnding = z.infer<typeof LineEndingSchema>;
|
|
1678
|
+
type LineEnding$1 = z.infer<typeof LineEndingSchema>;
|
|
1738
1679
|
/**
|
|
1739
1680
|
* What `update` takes: any of a type's fields. A free-text `defaultStyle` may be partial; it
|
|
1740
1681
|
* merges into the current one.
|
|
1741
1682
|
*/
|
|
1742
|
-
type AnnotationPatch = Annotation extends (infer A) ? A extends FreeTextAnnotation ? Omit<Partial<A>, 'defaultStyle'> & {
|
|
1743
|
-
defaultStyle?: Partial<FreeTextStyle>;
|
|
1683
|
+
type AnnotationPatch = Annotation$1 extends (infer A) ? A extends FreeTextAnnotation ? Omit<Partial<A>, 'defaultStyle'> & {
|
|
1684
|
+
defaultStyle?: Partial<FreeTextStyle$1>;
|
|
1744
1685
|
} : Partial<A> : never;
|
|
1745
1686
|
/** Keys the store fills in; callers never supply them (except an optional `id`). */
|
|
1746
1687
|
type Generated = 'id' | 'createdAt' | 'modifiedAt' | 'source' | 'locked';
|
|
@@ -1780,29 +1721,23 @@ type AnnotationInput = InputOf<z.input<typeof TextMarkupSchema> | z.input<typeof
|
|
|
1780
1721
|
rect: z.input<typeof MaskSchema>['rect'];
|
|
1781
1722
|
}) | FreeTextCallerInput | RedactCallerInput;
|
|
1782
1723
|
declare const AnnotationDocumentSchema: z.ZodObject<{
|
|
1783
|
-
format: z.ZodLiteral<"
|
|
1724
|
+
format: z.ZodLiteral<"gloss">;
|
|
1784
1725
|
version: z.ZodLiteral<1>;
|
|
1785
1726
|
documentKey: z.ZodOptional<z.ZodString>;
|
|
1786
1727
|
annotations: z.ZodArray<z.ZodUnknown>;
|
|
1787
1728
|
}, z.core.$strip>;
|
|
1788
1729
|
/**
|
|
1789
|
-
* An item whose `type` this version does not know,
|
|
1790
|
-
* so it survives an import and export round trip
|
|
1791
|
-
* version that produced it.
|
|
1730
|
+
* An item whose `type` this version does not know, such as one from a newer writer. It is kept
|
|
1731
|
+
* as-is so it survives an import and export round trip.
|
|
1792
1732
|
*/
|
|
1793
|
-
type ForeignAnnotation =
|
|
1794
|
-
|
|
1795
|
-
id: string;
|
|
1796
|
-
page: number;
|
|
1797
|
-
} & Record<string, unknown>;
|
|
1733
|
+
type ForeignAnnotation = UnknownAnnotation;
|
|
1734
|
+
/** A Gloss document holding Inkbar's annotations and any foreign items it kept. */
|
|
1798
1735
|
interface AnnotationDocument {
|
|
1799
|
-
format:
|
|
1800
|
-
version:
|
|
1736
|
+
format: GlossDocument['format'];
|
|
1737
|
+
version: GlossDocument['version'];
|
|
1801
1738
|
documentKey?: string;
|
|
1802
|
-
annotations: Array<
|
|
1739
|
+
annotations: Array<Annotation | ForeignAnnotation>;
|
|
1803
1740
|
}
|
|
1804
|
-
type ConfidenceBucket = 'low' | 'medium' | 'high';
|
|
1805
|
-
declare function confidenceBucket(confidence: number): ConfidenceBucket;
|
|
1806
1741
|
//#endregion
|
|
1807
1742
|
//#region src/model/annotations/defaults.d.ts
|
|
1808
1743
|
interface AnnotationDefaults {
|
|
@@ -1810,8 +1745,6 @@ interface AnnotationDefaults {
|
|
|
1810
1745
|
/** Fill colour for redactions. */
|
|
1811
1746
|
fill(): string;
|
|
1812
1747
|
opacity(type: AnnotationType): number;
|
|
1813
|
-
/** Outline colour for a suggested redaction, by confidence bucket. */
|
|
1814
|
-
suggestion(bucket: ConfidenceBucket): string;
|
|
1815
1748
|
}
|
|
1816
1749
|
declare const staticDefaults: AnnotationDefaults;
|
|
1817
1750
|
/** Resolves default colours from CSS custom properties on `el`, falling back to `staticDefaults`. */
|
|
@@ -1819,6 +1752,19 @@ declare function cssVariableDefaults(el: Element): AnnotationDefaults;
|
|
|
1819
1752
|
/** Accepts `#rgb`, `#rrggbb`, `rgb(r, g, b)` and `rgb(r g b)`; returns `#RRGGBB` or undefined. */
|
|
1820
1753
|
declare function normalizeColor(value: string): string | undefined;
|
|
1821
1754
|
//#endregion
|
|
1755
|
+
//#region src/model/annotations/callout.d.ts
|
|
1756
|
+
/**
|
|
1757
|
+
* The insets from a free text's `rect` to its text box, in points (PDF `/RD`, XFDF `fringe`,
|
|
1758
|
+
* both in this order).
|
|
1759
|
+
*/
|
|
1760
|
+
declare const FringeSchema: z.ZodObject<{
|
|
1761
|
+
left: z.ZodNumber;
|
|
1762
|
+
top: z.ZodNumber;
|
|
1763
|
+
right: z.ZodNumber;
|
|
1764
|
+
bottom: z.ZodNumber;
|
|
1765
|
+
}, z.core.$strip>;
|
|
1766
|
+
type Fringe$1 = z.infer<typeof FringeSchema>;
|
|
1767
|
+
//#endregion
|
|
1822
1768
|
//#region src/model/annotations/embedded.d.ts
|
|
1823
1769
|
declare const SUPPORTED_SUBTYPES: ReadonlySet<string>;
|
|
1824
1770
|
interface EmbeddedSummary {
|
|
@@ -1833,83 +1779,136 @@ declare function pdfColorToHex(c: ArrayLike<number> | null | undefined, fallback
|
|
|
1833
1779
|
* uses the same scheme so threads resolve.
|
|
1834
1780
|
*/
|
|
1835
1781
|
declare function importedId(page: number, pdfjsId: string): string;
|
|
1782
|
+
/**
|
|
1783
|
+
* @internal An imported annotation whose fields PDF.js leaves out, to be read from the file itself once
|
|
1784
|
+
* the document is ready: a FreeText's `/CL`, `/RD`, `/LE` and `/DA` font, or a note's `/Name`
|
|
1785
|
+
* when PDF.js reports `NoIcon`.
|
|
1786
|
+
*/
|
|
1787
|
+
interface EmbeddedTarget {
|
|
1788
|
+
/** The imported id, `pdf:<page>:<pdfjsId>`. */
|
|
1789
|
+
id: string;
|
|
1790
|
+
subtype: 'FreeText' | 'Text';
|
|
1791
|
+
/** The annotation's `/Rect` as PDF.js gives it, `[x1, y1, x2, y2]`. */
|
|
1792
|
+
rect: readonly number[];
|
|
1793
|
+
/** FreeText only: the `/DA` font resource name. */
|
|
1794
|
+
daFont?: string;
|
|
1795
|
+
}
|
|
1796
|
+
/**
|
|
1797
|
+
* The fields read from the file for one embedded annotation: what PDF.js left out. They merge
|
|
1798
|
+
* onto the annotation as it is when they land, so edits made in between are kept.
|
|
1799
|
+
*/
|
|
1800
|
+
interface EmbeddedFieldPatch {
|
|
1801
|
+
/** FreeText `/CL`: the tip, an optional bend, and where the line meets the box. */
|
|
1802
|
+
callout?: Point$1[];
|
|
1803
|
+
/** FreeText `/RD`. */
|
|
1804
|
+
fringe?: Fringe$1;
|
|
1805
|
+
/** FreeText `/LE`. */
|
|
1806
|
+
head?: string;
|
|
1807
|
+
/** Text `/Name`. */
|
|
1808
|
+
icon?: string;
|
|
1809
|
+
/** FreeText `/DA` font, merged into `defaultStyle`. */
|
|
1810
|
+
font?: {
|
|
1811
|
+
fontFamily?: string;
|
|
1812
|
+
fontWeight?: 'bold';
|
|
1813
|
+
fontStyle?: 'italic';
|
|
1814
|
+
};
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* Imports one page's PDF.js annotation data. `targets` is @internal: the annotations whose
|
|
1818
|
+
* missing fields the document reads from the file after `ready`.
|
|
1819
|
+
*/
|
|
1836
1820
|
declare function importEmbeddedPage(page: number, raw: PdfjsAnnotationData[], importedAt: string): {
|
|
1837
|
-
annotations: Annotation[];
|
|
1821
|
+
annotations: Annotation$1[];
|
|
1838
1822
|
counts: Record<string, number>;
|
|
1823
|
+
targets: EmbeddedTarget[];
|
|
1839
1824
|
};
|
|
1840
1825
|
declare function summarise(perPage: Record<string, number>[]): EmbeddedSummary[];
|
|
1841
1826
|
//#endregion
|
|
1842
1827
|
//#region src/model/annotations/store.d.ts
|
|
1843
1828
|
type AnnotationChange = {
|
|
1844
1829
|
kind: 'add';
|
|
1845
|
-
annotation: Annotation;
|
|
1830
|
+
annotation: Annotation$1;
|
|
1846
1831
|
} | {
|
|
1847
1832
|
kind: 'update';
|
|
1848
1833
|
id: string;
|
|
1849
|
-
before: Annotation;
|
|
1850
|
-
after: Annotation;
|
|
1834
|
+
before: Annotation$1;
|
|
1835
|
+
after: Annotation$1;
|
|
1851
1836
|
} | {
|
|
1852
1837
|
kind: 'remove';
|
|
1853
1838
|
/** The annotation `remove` was called with. */
|
|
1854
|
-
annotation: Annotation;
|
|
1839
|
+
annotation: Annotation$1;
|
|
1855
1840
|
/** Everything that went: `annotation` first, then the replies removed with it. */
|
|
1856
|
-
removed: Annotation[];
|
|
1841
|
+
removed: Annotation$1[];
|
|
1857
1842
|
} | {
|
|
1858
1843
|
kind: 'replace';
|
|
1859
1844
|
reason: 'import' | 'sync' | 'history';
|
|
1845
|
+
} | {
|
|
1846
|
+
kind: 'replace';
|
|
1847
|
+
/** Fields read from the file after `ready` filled in embedded annotations. */
|
|
1848
|
+
reason: 'embedded';
|
|
1849
|
+
/** What was merged into each annotation, by id. */
|
|
1850
|
+
fields: ReadonlyMap<string, EmbeddedFieldPatch>;
|
|
1860
1851
|
};
|
|
1861
1852
|
type StoreMode = {
|
|
1862
1853
|
mode: 'uncontrolled';
|
|
1863
|
-
initial?: Annotation[];
|
|
1854
|
+
initial?: Annotation$1[];
|
|
1864
1855
|
} | {
|
|
1865
1856
|
mode: 'controlled';
|
|
1866
|
-
initial: Annotation[];
|
|
1867
|
-
onChange: (next: Annotation[], change: AnnotationChange) => void;
|
|
1857
|
+
initial: Annotation$1[];
|
|
1858
|
+
onChange: (next: Annotation$1[], change: AnnotationChange) => void;
|
|
1868
1859
|
};
|
|
1869
1860
|
interface AnnotationStore {
|
|
1870
1861
|
readonly mode: 'uncontrolled' | 'controlled';
|
|
1871
|
-
readonly list: Readable<readonly Annotation[]>;
|
|
1862
|
+
readonly list: Readable<readonly Annotation$1[]>;
|
|
1872
1863
|
readonly selection: Readable<readonly string[]>;
|
|
1873
1864
|
/** The colour, fill and opacity defaults new annotations get. */
|
|
1874
1865
|
readonly defaults: AnnotationDefaults;
|
|
1875
|
-
get(id: string): Annotation | undefined;
|
|
1876
|
-
byPage(page: number): Annotation[];
|
|
1866
|
+
get(id: string): Annotation$1 | undefined;
|
|
1867
|
+
byPage(page: number): Annotation$1[];
|
|
1877
1868
|
/**
|
|
1878
1869
|
* Returns the completed annotation. In controlled mode it is proposed to the host, not
|
|
1879
1870
|
* applied. Throws an `Error` naming the id when it is already in the list, whether it came
|
|
1880
1871
|
* from `input.id` or the store's `id` generator.
|
|
1881
1872
|
*/
|
|
1882
|
-
add(input: AnnotationInput): Annotation;
|
|
1873
|
+
add(input: AnnotationInput): Annotation$1;
|
|
1883
1874
|
/**
|
|
1884
1875
|
* `id`, `type`, `createdAt` and `source` cannot be patched, nor can `locked` on an embedded
|
|
1885
1876
|
* (`source: 'pdf'`) annotation: those keys are ignored. `modifiedAt` is always bumped. A
|
|
1886
1877
|
* locked annotation refuses any patch to its geometry, `page` or `contents`.
|
|
1887
1878
|
*/
|
|
1888
|
-
update(id: string, patch: AnnotationPatch): Annotation | undefined;
|
|
1879
|
+
update(id: string, patch: AnnotationPatch): Annotation$1 | undefined;
|
|
1889
1880
|
remove(id: string): boolean;
|
|
1890
1881
|
select(ids: string[]): void;
|
|
1891
1882
|
/**
|
|
1892
1883
|
* Uncontrolled: embedded annotations survive (the list may edit them like `update` would, but
|
|
1893
1884
|
* cannot drop or add them). Controlled: proposes the list minus embedded items to `onChange`.
|
|
1894
1885
|
*/
|
|
1895
|
-
replaceAll(list: Annotation[], reason: 'import' | 'sync' | 'history'): void;
|
|
1886
|
+
replaceAll(list: Annotation$1[], reason: 'import' | 'sync' | 'history'): void;
|
|
1896
1887
|
/**
|
|
1897
1888
|
* Controlled mode only: the host pushes its current list. Embedded (`source: 'pdf'`) items
|
|
1898
1889
|
* belong to the store, so they stay in `list` whatever the host sends; host items that reuse
|
|
1899
1890
|
* an embedded id are dropped.
|
|
1900
1891
|
*/
|
|
1901
|
-
setControlledValue(list: Annotation[]): void;
|
|
1892
|
+
setControlledValue(list: Annotation$1[]): void;
|
|
1902
1893
|
/**
|
|
1903
1894
|
* @internal Replaces the annotations embedded in the file (`source: 'pdf'`). Applied
|
|
1904
1895
|
* directly in both modes and never passed to `onChange`; the document calls it once on open.
|
|
1905
1896
|
*/
|
|
1906
|
-
_setEmbedded(list: readonly Annotation[]): void;
|
|
1897
|
+
_setEmbedded(list: readonly Annotation$1[]): void;
|
|
1898
|
+
/**
|
|
1899
|
+
* @internal Merges fields read from the file into embedded annotations, by id, onto their
|
|
1900
|
+
* current version (only ids still present with `source: 'pdf'`; a merge that fails the schema
|
|
1901
|
+
* is skipped). A host edit to a read field made before the pass lands is overwritten by the
|
|
1902
|
+
* read value. Applied directly in both modes and never passed to `onChange`. Emits
|
|
1903
|
+
* `{ kind: 'replace', reason: 'embedded', fields }` when anything changed.
|
|
1904
|
+
*/
|
|
1905
|
+
_patchEmbedded(fields: ReadonlyMap<string, EmbeddedFieldPatch>): void;
|
|
1907
1906
|
/**
|
|
1908
1907
|
* @internal Like `get`, but in controlled mode it also sees changes proposed to the host and
|
|
1909
1908
|
* not applied yet: the list `update` and `remove` build on.
|
|
1910
1909
|
*/
|
|
1911
|
-
_getProposed(id: string): Annotation | undefined;
|
|
1912
|
-
completeInput(input: AnnotationInput): Annotation;
|
|
1910
|
+
_getProposed(id: string): Annotation$1 | undefined;
|
|
1911
|
+
completeInput(input: AnnotationInput): Annotation$1;
|
|
1913
1912
|
on(event: 'change', fn: (change: AnnotationChange) => void): () => void;
|
|
1914
1913
|
destroy(): void;
|
|
1915
1914
|
}
|
|
@@ -1919,7 +1918,7 @@ interface StoreOptions {
|
|
|
1919
1918
|
now?: () => string;
|
|
1920
1919
|
id?: () => string;
|
|
1921
1920
|
}
|
|
1922
|
-
declare function deriveRect(input: AnnotationInput): Rect;
|
|
1921
|
+
declare function deriveRect(input: AnnotationInput): Rect$1;
|
|
1923
1922
|
declare function createAnnotationStore(opts: StoreOptions): AnnotationStore;
|
|
1924
1923
|
//#endregion
|
|
1925
1924
|
//#region src/model/annotations/history.d.ts
|
|
@@ -1978,13 +1977,16 @@ interface ImportOptions {
|
|
|
1978
1977
|
* export would carry: editing it never touches the store, and values JSON cannot hold, such as
|
|
1979
1978
|
* functions or `undefined` inside `custom`, are left out exactly as `JSON.stringify` would.
|
|
1980
1979
|
*
|
|
1981
|
-
*
|
|
1982
|
-
*
|
|
1983
|
-
*
|
|
1980
|
+
* Gloss has no loupe or mask, pen pressure or free-text border colour, so Inkbar writes these
|
|
1981
|
+
* under `custom.inkbar`, with loupes and masks as the circle or square they draw. Every other key
|
|
1982
|
+
* under `custom` goes out as it is.
|
|
1983
|
+
*
|
|
1984
|
+
* The result validates against the Gloss schema (`gloss-format/schema.json`). Foreign items
|
|
1985
|
+
* validate as unknown annotations while their type is one Gloss does not define.
|
|
1984
1986
|
*/
|
|
1985
1987
|
declare function exportAnnotations(store: AnnotationStore, preserved?: readonly ForeignAnnotation[], documentKey?: string): AnnotationDocument;
|
|
1986
1988
|
/**
|
|
1987
|
-
* Validates the envelope (throws a TypeError when it is not
|
|
1989
|
+
* Validates the envelope (throws a TypeError when it is not a gloss v1 document),
|
|
1988
1990
|
* then each item on its own. Embedded annotations are never touched; imported items become
|
|
1989
1991
|
* session annotations.
|
|
1990
1992
|
*/
|
|
@@ -2019,7 +2021,7 @@ interface TextItem {
|
|
|
2019
2021
|
/** Glyph-run box in user space, following the run's rotation. */
|
|
2020
2022
|
quad: Quad;
|
|
2021
2023
|
/** Axis-aligned bounds of `quad`. */
|
|
2022
|
-
rect: Rect;
|
|
2024
|
+
rect: Rect$1;
|
|
2023
2025
|
}
|
|
2024
2026
|
interface TextContent {
|
|
2025
2027
|
page: number;
|
|
@@ -2078,7 +2080,9 @@ interface InkDocument {
|
|
|
2078
2080
|
/**
|
|
2079
2081
|
* Annotations embedded in the file arrive here as `source: 'pdf'`, `locked: true` before
|
|
2080
2082
|
* `ready` resolves. They stay in `list` in both modes and cannot be removed; in controlled
|
|
2081
|
-
* mode they never reach `onChange`.
|
|
2083
|
+
* mode they never reach `onChange`. Fields PDF.js leaves out (a FreeText's callout, fringe,
|
|
2084
|
+
* head and font, a note's icon) are read from the file after `ready` and fill in later, as a
|
|
2085
|
+
* `{ kind: 'replace', reason: 'embedded', fields }` change.
|
|
2082
2086
|
*/
|
|
2083
2087
|
readonly annotations: AnnotationStore;
|
|
2084
2088
|
/** What the file contained, by PDF subtype, including subtypes Inkbar does not show. */
|
|
@@ -2119,8 +2123,8 @@ interface StyleProps {
|
|
|
2119
2123
|
width?: number;
|
|
2120
2124
|
/** `null` means solid. */
|
|
2121
2125
|
dashes?: number[] | null;
|
|
2122
|
-
head?: LineEnding;
|
|
2123
|
-
tail?: LineEnding;
|
|
2126
|
+
head?: LineEnding$1;
|
|
2127
|
+
tail?: LineEnding$1;
|
|
2124
2128
|
fontFamily?: string;
|
|
2125
2129
|
fontSize?: number;
|
|
2126
2130
|
fontWeight?: 'normal' | 'bold';
|
|
@@ -2193,7 +2197,7 @@ declare function createToolStyle(deps: ToolStyleDeps): ToolStyle;
|
|
|
2193
2197
|
type SignatureTemplate = {
|
|
2194
2198
|
id: string;
|
|
2195
2199
|
kind: 'ink';
|
|
2196
|
-
inklist: Point[][];
|
|
2200
|
+
inklist: Point$1[][];
|
|
2197
2201
|
pressure?: number[][];
|
|
2198
2202
|
aspect: number;
|
|
2199
2203
|
} | {
|
|
@@ -2233,15 +2237,15 @@ declare function createLocalSignatureStore(key: string): SignatureStore;
|
|
|
2233
2237
|
* side is given 1% of the long side (a dot, a square), so the aspect stays finite, and the
|
|
2234
2238
|
* strokes are centred across it.
|
|
2235
2239
|
*/
|
|
2236
|
-
declare function normaliseInk(inklist: Point[][]): {
|
|
2237
|
-
inklist: Point[][];
|
|
2240
|
+
declare function normaliseInk(inklist: Point$1[][]): {
|
|
2241
|
+
inklist: Point$1[][];
|
|
2238
2242
|
aspect: number;
|
|
2239
2243
|
};
|
|
2240
2244
|
/**
|
|
2241
2245
|
* An ink template from strokes in any y-up space, with a new id. Throws a RangeError for no
|
|
2242
2246
|
* strokes, an empty stroke, or pressure that does not have one value per point.
|
|
2243
2247
|
*/
|
|
2244
|
-
declare function createInkTemplate(inklist: Point[][], pressure?: number[][]): SignatureTemplate;
|
|
2248
|
+
declare function createInkTemplate(inklist: Point$1[][], pressure?: number[][]): SignatureTemplate;
|
|
2245
2249
|
/** An image template, with a new id. Throws a TypeError unless `imagedata` is a PNG or JPEG data URL. */
|
|
2246
2250
|
declare function createImageTemplate(imagedata: string, aspect: number): SignatureTemplate;
|
|
2247
2251
|
/**
|
|
@@ -2251,7 +2255,7 @@ declare function createImageTemplate(imagedata: string, aspect: number): Signatu
|
|
|
2251
2255
|
* rotation is left out; it turns the signature with the page like any annotation. Ink becomes `ink` with `subject: 'Signature'`, its strokes inset by half their
|
|
2252
2256
|
* width; an image becomes a `stamp` with `subject: 'Signature'`.
|
|
2253
2257
|
*/
|
|
2254
|
-
declare function placeSignature(t: SignatureTemplate, page: number, centre: Point, width?: number, rotation?: 0 | 90 | 180 | 270): AnnotationInput;
|
|
2258
|
+
declare function placeSignature(t: SignatureTemplate, page: number, centre: Point$1, width?: number, rotation?: 0 | 90 | 180 | 270): AnnotationInput;
|
|
2255
2259
|
/**
|
|
2256
2260
|
* A store's templates kept at hand, so the `signature` tool places one without waiting and the
|
|
2257
2261
|
* signature menus share one list. Every change goes through the store first.
|
|
@@ -2276,5 +2280,5 @@ interface SignatureLibrary {
|
|
|
2276
2280
|
}
|
|
2277
2281
|
declare function createSignatureLibrary(store: SignatureStore): SignatureLibrary;
|
|
2278
2282
|
//#endregion
|
|
2279
|
-
export {
|
|
2280
|
-
//# sourceMappingURL=signatures-
|
|
2283
|
+
export { pdfColorToHex as $, StampAnnotation as $t, TextItem as A, LineAnnotation as At, createHistory as B, NoteSchema as Bt, DocumentInfo as C, rectFromPoints as Cn, GLOSS_FORMAT$1 as Ct, OpenOptions as D, translateRect as Dn, IMAGE_DATA_URL as Dt, InkStatus as E, translateQuad as En, GLOSS_VERSION$1 as Et, ImportOptions as F, LoupeSchema as Ft, createAnnotationStore as G, PolylineSchema as Gt, AnnotationStore as H, PolyAnnotation as Ht, ImportResult as I, MaskAnnotation as It, EmbeddedSummary as J, RedactAnnotation as Jt, deriveRect as K, QuadSchema as Kt, exportAnnotations as L, MaskSchema as Lt, InkError as M, LineEndingSchema as Mt, InkErrorCode as N, LineSchema as Nt, openDocument as O, unionRects as On, InkAnnotation as Ot, isInkError as P, LoupeAnnotation as Pt, importedId as Q, SquareSchema as Qt, importAnnotations as R, NoteAnnotation as Rt, createToolStyle as S, rectContainsPoint as Sn, FreeTextStyleSchema as St, InkDocument as T, rectsIntersect as Tn, GLOSS_SCHEMA_ID as Tt, StoreMode as U, PolySchema as Ut, AnnotationChange as V, PointSchema as Vt, StoreOptions as W, PolygonSchema as Wt, SUPPORTED_SUBTYPES as X, ShapeAnnotation as Xt, EmbeddedTarget as Y, RedactSchema as Yt, importEmbeddedPage as Z, ShapeSchema as Zt, StyleGroup as _, invertMatrix as _n, ExportedAnnotationSchema as _t, SignatureStore as a, derived as an, normalizeColor as at, ToolStyle as b, quadFromRect as bn, FreeTextSchema as bt, createInkTemplate as c, PageInfo as cn, AnnotationDocument as ct, createSignatureLibrary as d, Matrix as dn, AnnotationOfType as dt, StampSchema as en, summarise as et, normaliseInk as f, Point$1 as fn, AnnotationPatch as ft, ScopedToolStyle as g, approxEqual as gn, ExportedAnnotation as gt, STYLE_GROUPS as h, applyMatrix as hn, CircleSchema as ht, SignatureOptions as i, Writable as in, cssVariableDefaults as it, DocumentSource as j, LineEnding$1 as jt, TextContent as k, InkSchema as kt, createLocalSignatureStore as l, PageRotation as ln, AnnotationDocumentSchema as lt, CurrentStyle as m, Rect$1 as mn, AnnotationType as mt, SIGNATURE_INK_WIDTH as n, TextMarkupSchema as nn, FringeSchema as nt, SignatureTemplate as o, readonly as on, staticDefaults as ot, placeSignature as p, Quad as pn, AnnotationSchema as pt, EmbeddedFieldPatch as q, RectSchema as qt, SignatureLibrary as r, Readable as rn, AnnotationDefaults as rt, createImageTemplate as s, writable as sn, Annotation$1 as st, DEFAULT_SIGNATURE_WIDTH as t, TextMarkupAnnotation as tn, Fringe$1 as tt, createMemorySignatureStore as u, PdfAssets as un, AnnotationInput as ut, StyleKey as v, multiplyMatrix as vn, ForeignAnnotation as vt, DocumentStatus as w, rectFromQuad as wn, GLOSS_MEDIA_TYPE as wt, ToolStyleDeps as x, quadsFromFlat as xn, FreeTextStyle$1 as xt, StyleProps as y, pointsFromFlat as yn, FreeTextAnnotation as yt, History as z, NoteIconSchema as zt };
|
|
2284
|
+
//# sourceMappingURL=signatures-BwaXi7C8.d.mts.map
|