@inkbar/core 0.1.1 → 0.3.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/LICENSE +0 -49
- package/README.md +37 -9
- package/dist/{document-Cywnv8Sz.d.mts → document-BftlPZKU.d.mts} +343 -71
- package/dist/document-BftlPZKU.d.mts.map +1 -0
- package/dist/dom.d.mts +48 -5
- package/dist/dom.d.mts.map +1 -1
- package/dist/dom.mjs +339 -339
- package/dist/dom.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/{threads-BtvtrAhL.mjs → threads-2USvyGpX.mjs} +70 -47
- package/dist/threads-2USvyGpX.mjs.map +1 -0
- package/package.json +2 -1
- package/schema.json +122 -91
- package/dist/document-Cywnv8Sz.d.mts.map +0 -1
- package/dist/threads-BtvtrAhL.mjs.map +0 -1
package/schema.json
CHANGED
|
@@ -28,10 +28,16 @@
|
|
|
28
28
|
"author": { "type": "string" },
|
|
29
29
|
"contents": { "type": "string" },
|
|
30
30
|
"inReplyTo": { "type": "string" },
|
|
31
|
-
"createdAt": {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
"createdAt": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"format": "date-time",
|
|
34
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
35
|
+
},
|
|
36
|
+
"modifiedAt": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"format": "date-time",
|
|
39
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
40
|
+
},
|
|
35
41
|
"custom": {
|
|
36
42
|
"type": "object",
|
|
37
43
|
"propertyNames": { "type": "string" },
|
|
@@ -97,7 +103,6 @@
|
|
|
97
103
|
"opacity",
|
|
98
104
|
"createdAt",
|
|
99
105
|
"modifiedAt",
|
|
100
|
-
"source",
|
|
101
106
|
"type",
|
|
102
107
|
"quads"
|
|
103
108
|
],
|
|
@@ -124,16 +129,22 @@
|
|
|
124
129
|
"author": { "type": "string" },
|
|
125
130
|
"contents": { "type": "string" },
|
|
126
131
|
"inReplyTo": { "type": "string" },
|
|
127
|
-
"createdAt": {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
"createdAt": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"format": "date-time",
|
|
135
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
136
|
+
},
|
|
137
|
+
"modifiedAt": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"format": "date-time",
|
|
140
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
141
|
+
},
|
|
131
142
|
"custom": {
|
|
132
143
|
"type": "object",
|
|
133
144
|
"propertyNames": { "type": "string" },
|
|
134
145
|
"additionalProperties": {}
|
|
135
146
|
},
|
|
136
|
-
"type": { "type": "string", "const": "
|
|
147
|
+
"type": { "type": "string", "const": "text" },
|
|
137
148
|
"icon": {
|
|
138
149
|
"default": "comment",
|
|
139
150
|
"type": "string",
|
|
@@ -148,7 +159,6 @@
|
|
|
148
159
|
"opacity",
|
|
149
160
|
"createdAt",
|
|
150
161
|
"modifiedAt",
|
|
151
|
-
"source",
|
|
152
162
|
"type",
|
|
153
163
|
"icon"
|
|
154
164
|
],
|
|
@@ -175,17 +185,22 @@
|
|
|
175
185
|
"author": { "type": "string" },
|
|
176
186
|
"contents": { "type": "string" },
|
|
177
187
|
"inReplyTo": { "type": "string" },
|
|
178
|
-
"createdAt": {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
188
|
+
"createdAt": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"format": "date-time",
|
|
191
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
192
|
+
},
|
|
193
|
+
"modifiedAt": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"format": "date-time",
|
|
196
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
197
|
+
},
|
|
182
198
|
"custom": {
|
|
183
199
|
"type": "object",
|
|
184
200
|
"propertyNames": { "type": "string" },
|
|
185
201
|
"additionalProperties": {}
|
|
186
202
|
},
|
|
187
|
-
"type": { "type": "string", "const": "
|
|
188
|
-
"text": { "type": "string" },
|
|
203
|
+
"type": { "type": "string", "const": "freetext" },
|
|
189
204
|
"fontSize": { "default": 12, "type": "number", "exclusiveMinimum": 0 },
|
|
190
205
|
"fontFamily": { "default": "Helvetica", "type": "string" },
|
|
191
206
|
"align": {
|
|
@@ -211,11 +226,10 @@
|
|
|
211
226
|
"rect",
|
|
212
227
|
"color",
|
|
213
228
|
"opacity",
|
|
229
|
+
"contents",
|
|
214
230
|
"createdAt",
|
|
215
231
|
"modifiedAt",
|
|
216
|
-
"source",
|
|
217
232
|
"type",
|
|
218
|
-
"text",
|
|
219
233
|
"fontSize",
|
|
220
234
|
"fontFamily",
|
|
221
235
|
"align"
|
|
@@ -243,18 +257,24 @@
|
|
|
243
257
|
"author": { "type": "string" },
|
|
244
258
|
"contents": { "type": "string" },
|
|
245
259
|
"inReplyTo": { "type": "string" },
|
|
246
|
-
"createdAt": {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
260
|
+
"createdAt": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"format": "date-time",
|
|
263
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
264
|
+
},
|
|
265
|
+
"modifiedAt": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"format": "date-time",
|
|
268
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
269
|
+
},
|
|
250
270
|
"custom": {
|
|
251
271
|
"type": "object",
|
|
252
272
|
"propertyNames": { "type": "string" },
|
|
253
273
|
"additionalProperties": {}
|
|
254
274
|
},
|
|
255
275
|
"type": { "type": "string", "enum": ["square", "circle"] },
|
|
256
|
-
"
|
|
257
|
-
"
|
|
276
|
+
"width": { "default": 1, "type": "number", "minimum": 0 },
|
|
277
|
+
"interiorColor": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" }
|
|
258
278
|
},
|
|
259
279
|
"required": [
|
|
260
280
|
"id",
|
|
@@ -264,9 +284,8 @@
|
|
|
264
284
|
"opacity",
|
|
265
285
|
"createdAt",
|
|
266
286
|
"modifiedAt",
|
|
267
|
-
"source",
|
|
268
287
|
"type",
|
|
269
|
-
"
|
|
288
|
+
"width"
|
|
270
289
|
],
|
|
271
290
|
"additionalProperties": false
|
|
272
291
|
},
|
|
@@ -291,10 +310,16 @@
|
|
|
291
310
|
"author": { "type": "string" },
|
|
292
311
|
"contents": { "type": "string" },
|
|
293
312
|
"inReplyTo": { "type": "string" },
|
|
294
|
-
"createdAt": {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
313
|
+
"createdAt": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"format": "date-time",
|
|
316
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
317
|
+
},
|
|
318
|
+
"modifiedAt": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"format": "date-time",
|
|
321
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
322
|
+
},
|
|
298
323
|
"custom": {
|
|
299
324
|
"type": "object",
|
|
300
325
|
"propertyNames": { "type": "string" },
|
|
@@ -313,40 +338,32 @@
|
|
|
313
338
|
"required": ["x", "y"],
|
|
314
339
|
"additionalProperties": false
|
|
315
340
|
},
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"type": "
|
|
319
|
-
"
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
"butt",
|
|
343
|
-
"slash"
|
|
344
|
-
]
|
|
345
|
-
}
|
|
346
|
-
],
|
|
347
|
-
"items": false,
|
|
348
|
-
"minItems": 2,
|
|
349
|
-
"maxItems": 2
|
|
341
|
+
"width": { "default": 1, "type": "number", "minimum": 0 },
|
|
342
|
+
"head": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"enum": [
|
|
345
|
+
"none",
|
|
346
|
+
"openArrow",
|
|
347
|
+
"closedArrow",
|
|
348
|
+
"square",
|
|
349
|
+
"circle",
|
|
350
|
+
"diamond",
|
|
351
|
+
"butt",
|
|
352
|
+
"slash"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"tail": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"enum": [
|
|
358
|
+
"none",
|
|
359
|
+
"openArrow",
|
|
360
|
+
"closedArrow",
|
|
361
|
+
"square",
|
|
362
|
+
"circle",
|
|
363
|
+
"diamond",
|
|
364
|
+
"butt",
|
|
365
|
+
"slash"
|
|
366
|
+
]
|
|
350
367
|
}
|
|
351
368
|
},
|
|
352
369
|
"required": [
|
|
@@ -357,11 +374,10 @@
|
|
|
357
374
|
"opacity",
|
|
358
375
|
"createdAt",
|
|
359
376
|
"modifiedAt",
|
|
360
|
-
"source",
|
|
361
377
|
"type",
|
|
362
378
|
"start",
|
|
363
379
|
"end",
|
|
364
|
-
"
|
|
380
|
+
"width"
|
|
365
381
|
],
|
|
366
382
|
"additionalProperties": false
|
|
367
383
|
},
|
|
@@ -386,10 +402,16 @@
|
|
|
386
402
|
"author": { "type": "string" },
|
|
387
403
|
"contents": { "type": "string" },
|
|
388
404
|
"inReplyTo": { "type": "string" },
|
|
389
|
-
"createdAt": {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
405
|
+
"createdAt": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"format": "date-time",
|
|
408
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
409
|
+
},
|
|
410
|
+
"modifiedAt": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"format": "date-time",
|
|
413
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
414
|
+
},
|
|
393
415
|
"custom": {
|
|
394
416
|
"type": "object",
|
|
395
417
|
"propertyNames": { "type": "string" },
|
|
@@ -406,8 +428,8 @@
|
|
|
406
428
|
"additionalProperties": false
|
|
407
429
|
}
|
|
408
430
|
},
|
|
409
|
-
"
|
|
410
|
-
"
|
|
431
|
+
"width": { "default": 1, "type": "number", "minimum": 0 },
|
|
432
|
+
"interiorColor": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" }
|
|
411
433
|
},
|
|
412
434
|
"required": [
|
|
413
435
|
"id",
|
|
@@ -417,10 +439,9 @@
|
|
|
417
439
|
"opacity",
|
|
418
440
|
"createdAt",
|
|
419
441
|
"modifiedAt",
|
|
420
|
-
"source",
|
|
421
442
|
"type",
|
|
422
443
|
"vertices",
|
|
423
|
-
"
|
|
444
|
+
"width"
|
|
424
445
|
],
|
|
425
446
|
"additionalProperties": false
|
|
426
447
|
},
|
|
@@ -445,17 +466,23 @@
|
|
|
445
466
|
"author": { "type": "string" },
|
|
446
467
|
"contents": { "type": "string" },
|
|
447
468
|
"inReplyTo": { "type": "string" },
|
|
448
|
-
"createdAt": {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
469
|
+
"createdAt": {
|
|
470
|
+
"type": "string",
|
|
471
|
+
"format": "date-time",
|
|
472
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
473
|
+
},
|
|
474
|
+
"modifiedAt": {
|
|
475
|
+
"type": "string",
|
|
476
|
+
"format": "date-time",
|
|
477
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
478
|
+
},
|
|
452
479
|
"custom": {
|
|
453
480
|
"type": "object",
|
|
454
481
|
"propertyNames": { "type": "string" },
|
|
455
482
|
"additionalProperties": {}
|
|
456
483
|
},
|
|
457
484
|
"type": { "type": "string", "const": "ink" },
|
|
458
|
-
"
|
|
485
|
+
"inklist": {
|
|
459
486
|
"minItems": 1,
|
|
460
487
|
"type": "array",
|
|
461
488
|
"items": {
|
|
@@ -469,7 +496,7 @@
|
|
|
469
496
|
}
|
|
470
497
|
}
|
|
471
498
|
},
|
|
472
|
-
"
|
|
499
|
+
"width": { "default": 2, "type": "number", "minimum": 0 }
|
|
473
500
|
},
|
|
474
501
|
"required": [
|
|
475
502
|
"id",
|
|
@@ -479,10 +506,9 @@
|
|
|
479
506
|
"opacity",
|
|
480
507
|
"createdAt",
|
|
481
508
|
"modifiedAt",
|
|
482
|
-
"source",
|
|
483
509
|
"type",
|
|
484
|
-
"
|
|
485
|
-
"
|
|
510
|
+
"inklist",
|
|
511
|
+
"width"
|
|
486
512
|
],
|
|
487
513
|
"additionalProperties": false
|
|
488
514
|
},
|
|
@@ -507,10 +533,16 @@
|
|
|
507
533
|
"author": { "type": "string" },
|
|
508
534
|
"contents": { "type": "string" },
|
|
509
535
|
"inReplyTo": { "type": "string" },
|
|
510
|
-
"createdAt": {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
536
|
+
"createdAt": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"format": "date-time",
|
|
539
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
540
|
+
},
|
|
541
|
+
"modifiedAt": {
|
|
542
|
+
"type": "string",
|
|
543
|
+
"format": "date-time",
|
|
544
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
545
|
+
},
|
|
514
546
|
"custom": {
|
|
515
547
|
"type": "object",
|
|
516
548
|
"propertyNames": { "type": "string" },
|
|
@@ -585,7 +617,7 @@
|
|
|
585
617
|
"additionalProperties": false
|
|
586
618
|
},
|
|
587
619
|
"overlayText": { "type": "string" },
|
|
588
|
-
"
|
|
620
|
+
"interiorColor": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" }
|
|
589
621
|
},
|
|
590
622
|
"required": [
|
|
591
623
|
"id",
|
|
@@ -595,10 +627,9 @@
|
|
|
595
627
|
"opacity",
|
|
596
628
|
"createdAt",
|
|
597
629
|
"modifiedAt",
|
|
598
|
-
"source",
|
|
599
630
|
"type",
|
|
600
631
|
"origin",
|
|
601
|
-
"
|
|
632
|
+
"interiorColor"
|
|
602
633
|
],
|
|
603
634
|
"additionalProperties": false
|
|
604
635
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-Cywnv8Sz.d.mts","names":[],"sources":["../src/model/geometry.ts","../src/pdfjs/types.ts","../src/model/pages.ts","../src/model/readable.ts","../src/model/annotations/types.ts","../src/model/annotations/defaults.ts","../src/model/annotations/embedded.ts","../src/model/annotations/store.ts","../src/model/annotations/history.ts","../src/model/annotations/json.ts","../src/model/errors.ts","../src/model/source.ts","../src/model/text.ts","../src/model/document.ts"],"mappings":";;;;;;;UAIiB;EACf;EACA;;;UAIe;EACf;EACA;EACA;EACA;;;UAIe;EACf,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;;;KAIM;iBAEI,YAAY,WAAW,WAAW;iBAIlC,eAAe,GAAG,OAAO,GAAG,QAAQ;iBAMpC,aAAa,GAAG,OAAO;iBAQvB,aAAa,GAAG,OAAO;iBAWvB,WAAW,gBAAgB,SAAS;iBAepC,eAAe,GAAG,MAAM,GAAG;iBAS3B,kBAAkB,GAAG,MAAM,GAAG;iBAI9B,cAAc,GAAG,MAAM,YAAY,aAAa;iBAIhD,cAAc,GAAG,MAAM,YAAY,aAAa;iBAKhD,YAAY,GAAG,QAAQ,GAAG,QAAQ;iBAIlC,aAAa,GAAG,SAAS;;iBAczB,eAAe,GAAG,QAAQ,GAAG,SAAS;iBAWtC,eAAe,MAAM,oBAAoB;;iBAOzC,cAAc,MAAM,oBAAoB;;;KChI5C,qBAAqB;KAErB,gBAAgB,MAAM;KACtB,YAAY,MAAM;;UAOb;EACf;EACA;EACA;EACA;EACA,aAAa;EACb,QAAQ;EACR,gBAAgB;EAChB;EACA;IAAgB;IAAa;;EAC7B;IAAa;IAAa;;EAC1B;EACA;EACA;EACA;EACA;EACA;IAAgB;;EAChB;EACA,WAAW;EACX,WAAW,MAAM;EACjB;;EAEA;EACA;IACE;IACA;IACA,YAAY;OAAkC;;;EAEhD;EACA;EACA;;UAGe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;;;KCpDU;UAEK;EACf;;EAEA,KAAK;;EAEL,QAAQ;EACR;;EAEA;;EAEA;;;;UCfe,SAAS;EACxB,OAAO;EACP,UAAU,KAAK,OAAO;;UAGP,SAAS,WAAW,SAAS;EAC5C,IAAI,YAA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