@slatesvideo/shared 0.7.3 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/events.d.ts +155 -0
- package/dist/analytics/events.js +430 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -0
- package/dist/manual/content.d.ts +1 -1
- package/dist/manual/content.js +1 -1
- package/dist/operations/index.d.ts +88 -82
- package/dist/operations/index.js +235 -45
- package/dist/operations/surface.js +1 -0
- package/dist/prompts/agent-doctrine.js +26 -7
- package/dist/prompts/banned-tokens.d.ts +18 -0
- package/dist/prompts/banned-tokens.js +59 -4
- package/dist/prompts/generation-policy.d.ts +1 -1
- package/dist/prompts/model-capabilities.d.ts +3 -3
- package/dist/prompts/model-capabilities.js +3 -3
- package/dist/prompts/model-facts.d.ts +1 -1
- package/dist/prompts/model-facts.js +2 -2
- package/dist/prompts/partials.generated.js +1 -1
- package/dist/prompts/prompting-tips.js +8 -8
- package/dist/prompts/shot-grammar.d.ts +2 -2
- package/dist/prompts/shot-grammar.js +2 -2
- package/dist/skills/content.js +18 -18
- package/dist/update-check.js +1 -1
- package/exports/slates-prompt-builder/generated/reference-character.md +2 -2
- package/exports/slates-prompt-builder/generated/reference-content-policy.md +3 -3
- package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +4 -4
- package/exports/slates-prompt-builder/generated/reference-kling.md +5 -6
- package/exports/slates-prompt-builder/generated/reference-omni-flash.md +1 -1
- package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +15 -15
- package/exports/slates-prompt-builder/generated/reference-seedance.md +3 -4
- package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +26 -26
- package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
- package/package.json +5 -2
- package/skills/_partials/cinematic-card.md +1 -1
- package/skills/_partials/model-routing.md +2 -2
- package/skills/slates-character-identity.md +2 -2
- package/skills/slates-content-policy.md +3 -3
- package/skills/slates-model-selection.md +3 -3
- package/skills/slates-prompting-elevenlabs.md +1 -1
- package/skills/slates-prompting-flux-2-max.md +1 -2
- package/skills/slates-prompting-gpt-image-2-5.md +5 -5
- package/skills/slates-prompting-inworld-tts.md +1 -1
- package/skills/slates-prompting-kling-v3.md +4 -5
- package/skills/slates-prompting-lip-sync.md +5 -8
- package/skills/slates-prompting-ltx-2-5.md +2 -2
- package/skills/slates-prompting-minimax-h3.md +5 -5
- package/skills/slates-prompting-motion-transfer.md +2 -4
- package/skills/slates-prompting-omni-flash.md +1 -1
- package/skills/slates-prompting-seed-audio.md +1 -1
- package/skills/slates-prompting-seedance-2-5.md +19 -19
- package/skills/slates-prompting-seedance.md +10 -11
- package/skills/slates-prompting-seedream-5-lite.md +2 -3
- package/skills/slates-vision-feedback-loop.md +117 -117
|
@@ -440,6 +440,14 @@ export declare const uploadReferenceImage: Operation<{
|
|
|
440
440
|
dataUrl?: string;
|
|
441
441
|
type?: 'image' | 'video' | 'audio';
|
|
442
442
|
folderId?: string | null;
|
|
443
|
+
label?: string;
|
|
444
|
+
note?: string;
|
|
445
|
+
}>;
|
|
446
|
+
export declare const updateAsset: Operation<{
|
|
447
|
+
projectId: string;
|
|
448
|
+
assetId: string;
|
|
449
|
+
label?: string;
|
|
450
|
+
note?: string;
|
|
443
451
|
}>;
|
|
444
452
|
export declare const listFolders: Operation<{
|
|
445
453
|
projectId: string;
|
|
@@ -747,7 +755,6 @@ export declare const generateLipSync: Operation<{
|
|
|
747
755
|
ttsSpeed?: number;
|
|
748
756
|
audioFilePath?: string;
|
|
749
757
|
avatarModel?: 'avatar-standard' | 'avatar-pro';
|
|
750
|
-
klingProvider?: 'fal' | 'kling';
|
|
751
758
|
background?: boolean;
|
|
752
759
|
confirm?: boolean;
|
|
753
760
|
}>;
|
|
@@ -758,7 +765,6 @@ export declare const generateMotionTransfer: Operation<{
|
|
|
758
765
|
motionModel?: 'kling-mc-std' | 'kling-mc-pro';
|
|
759
766
|
characterOrientation?: 'video' | 'image';
|
|
760
767
|
prompt?: string;
|
|
761
|
-
klingProvider?: 'fal' | 'kling';
|
|
762
768
|
background?: boolean;
|
|
763
769
|
confirm?: boolean;
|
|
764
770
|
}>;
|
|
@@ -815,7 +821,7 @@ declare const exportCutsInput: z.ZodObject<{
|
|
|
815
821
|
projectId: string;
|
|
816
822
|
directory: string;
|
|
817
823
|
manifestId: string;
|
|
818
|
-
action?: "
|
|
824
|
+
action?: "status" | "start" | "cancel" | undefined;
|
|
819
825
|
items?: {
|
|
820
826
|
timelineId: string;
|
|
821
827
|
format: "mp4" | "xml";
|
|
@@ -824,7 +830,7 @@ declare const exportCutsInput: z.ZodObject<{
|
|
|
824
830
|
projectId: string;
|
|
825
831
|
directory: string;
|
|
826
832
|
manifestId: string;
|
|
827
|
-
action?: "
|
|
833
|
+
action?: "status" | "start" | "cancel" | undefined;
|
|
828
834
|
items?: {
|
|
829
835
|
timelineId: string;
|
|
830
836
|
format: "mp4" | "xml";
|
|
@@ -1235,13 +1241,13 @@ declare const variationSchema: z.ZodObject<{
|
|
|
1235
1241
|
to: z.ZodString;
|
|
1236
1242
|
voice: z.ZodEnum<["keep", "replace"]>;
|
|
1237
1243
|
}, "strip", z.ZodTypeAny, {
|
|
1244
|
+
voice: "replace" | "keep";
|
|
1238
1245
|
from: string;
|
|
1239
1246
|
to: string;
|
|
1240
|
-
voice: "keep" | "replace";
|
|
1241
1247
|
}, {
|
|
1248
|
+
voice: "replace" | "keep";
|
|
1242
1249
|
from: string;
|
|
1243
1250
|
to: string;
|
|
1244
|
-
voice: "keep" | "replace";
|
|
1245
1251
|
}>, "many">>;
|
|
1246
1252
|
assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1247
1253
|
from: z.ZodString;
|
|
@@ -1255,9 +1261,9 @@ declare const variationSchema: z.ZodObject<{
|
|
|
1255
1261
|
}>, "many">>;
|
|
1256
1262
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1257
1263
|
}, "strip", z.ZodTypeAny, {
|
|
1264
|
+
name: string;
|
|
1258
1265
|
storyboardId: string;
|
|
1259
1266
|
expectedRevision: number;
|
|
1260
|
-
name: string;
|
|
1261
1267
|
choices: {
|
|
1262
1268
|
sectionId: string;
|
|
1263
1269
|
alternativeId: string;
|
|
@@ -1267,9 +1273,9 @@ declare const variationSchema: z.ZodObject<{
|
|
|
1267
1273
|
alternativeId: string;
|
|
1268
1274
|
}[] | undefined;
|
|
1269
1275
|
itemOverrides?: {
|
|
1276
|
+
voice: "replace" | "keep";
|
|
1270
1277
|
from: string;
|
|
1271
1278
|
to: string;
|
|
1272
|
-
voice: "keep" | "replace";
|
|
1273
1279
|
}[] | undefined;
|
|
1274
1280
|
assetOverrides?: {
|
|
1275
1281
|
from: string;
|
|
@@ -1277,9 +1283,9 @@ declare const variationSchema: z.ZodObject<{
|
|
|
1277
1283
|
}[] | undefined;
|
|
1278
1284
|
idempotencyKey?: string | undefined;
|
|
1279
1285
|
}, {
|
|
1286
|
+
name: string;
|
|
1280
1287
|
storyboardId: string;
|
|
1281
1288
|
expectedRevision: number;
|
|
1282
|
-
name: string;
|
|
1283
1289
|
choices: {
|
|
1284
1290
|
sectionId: string;
|
|
1285
1291
|
alternativeId: string;
|
|
@@ -1289,9 +1295,9 @@ declare const variationSchema: z.ZodObject<{
|
|
|
1289
1295
|
alternativeId: string;
|
|
1290
1296
|
}[] | undefined;
|
|
1291
1297
|
itemOverrides?: {
|
|
1298
|
+
voice: "replace" | "keep";
|
|
1292
1299
|
from: string;
|
|
1293
1300
|
to: string;
|
|
1294
|
-
voice: "keep" | "replace";
|
|
1295
1301
|
}[] | undefined;
|
|
1296
1302
|
assetOverrides?: {
|
|
1297
1303
|
from: string;
|
|
@@ -1331,12 +1337,12 @@ declare const sectionInput: z.ZodObject<{
|
|
|
1331
1337
|
expectedRevision: z.ZodNumber;
|
|
1332
1338
|
}, "strip", z.ZodTypeAny, {
|
|
1333
1339
|
at: number;
|
|
1334
|
-
expectedRevision: number;
|
|
1335
1340
|
sceneId: string;
|
|
1341
|
+
expectedRevision: number;
|
|
1336
1342
|
}, {
|
|
1337
1343
|
at: number;
|
|
1338
|
-
expectedRevision: number;
|
|
1339
1344
|
sceneId: string;
|
|
1345
|
+
expectedRevision: number;
|
|
1340
1346
|
}>>;
|
|
1341
1347
|
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1342
1348
|
sectionId: z.ZodString;
|
|
@@ -1353,59 +1359,59 @@ declare const sectionInput: z.ZodObject<{
|
|
|
1353
1359
|
start: z.ZodNumber;
|
|
1354
1360
|
end: z.ZodNumber;
|
|
1355
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1356
|
-
start: number;
|
|
1357
|
-
sceneId: string;
|
|
1358
1362
|
end: number;
|
|
1359
|
-
}, {
|
|
1360
|
-
start: number;
|
|
1361
1363
|
sceneId: string;
|
|
1364
|
+
start: number;
|
|
1365
|
+
}, {
|
|
1362
1366
|
end: number;
|
|
1367
|
+
sceneId: string;
|
|
1368
|
+
start: number;
|
|
1363
1369
|
}>, "many">>;
|
|
1364
1370
|
}, "strip", z.ZodTypeAny, {
|
|
1365
|
-
action: "create" | "
|
|
1371
|
+
action: "create" | "tags" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
|
|
1366
1372
|
storyboardId: string;
|
|
1367
1373
|
expectedRevision: number;
|
|
1368
|
-
sectionId?: string | undefined;
|
|
1369
|
-
alternativeId?: string | undefined;
|
|
1370
|
-
tags?: string[] | undefined;
|
|
1371
|
-
parentId?: string | undefined;
|
|
1372
1374
|
label?: string | undefined;
|
|
1373
1375
|
target?: {
|
|
1374
1376
|
at: number;
|
|
1375
|
-
expectedRevision: number;
|
|
1376
1377
|
sceneId: string;
|
|
1378
|
+
expectedRevision: number;
|
|
1377
1379
|
} | undefined;
|
|
1380
|
+
tags?: string[] | undefined;
|
|
1381
|
+
sectionId?: string | undefined;
|
|
1382
|
+
alternativeId?: string | undefined;
|
|
1383
|
+
parentId?: string | undefined;
|
|
1378
1384
|
uses?: {
|
|
1379
1385
|
expectedRevision: number;
|
|
1380
1386
|
sectionId: string;
|
|
1381
1387
|
}[] | undefined;
|
|
1382
1388
|
fragments?: {
|
|
1383
|
-
start: number;
|
|
1384
|
-
sceneId: string;
|
|
1385
1389
|
end: number;
|
|
1390
|
+
sceneId: string;
|
|
1391
|
+
start: number;
|
|
1386
1392
|
}[] | undefined;
|
|
1387
1393
|
}, {
|
|
1388
|
-
action: "create" | "
|
|
1394
|
+
action: "create" | "tags" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
|
|
1389
1395
|
storyboardId: string;
|
|
1390
1396
|
expectedRevision: number;
|
|
1391
|
-
sectionId?: string | undefined;
|
|
1392
|
-
alternativeId?: string | undefined;
|
|
1393
|
-
tags?: string[] | undefined;
|
|
1394
|
-
parentId?: string | undefined;
|
|
1395
1397
|
label?: string | undefined;
|
|
1396
1398
|
target?: {
|
|
1397
1399
|
at: number;
|
|
1398
|
-
expectedRevision: number;
|
|
1399
1400
|
sceneId: string;
|
|
1401
|
+
expectedRevision: number;
|
|
1400
1402
|
} | undefined;
|
|
1403
|
+
tags?: string[] | undefined;
|
|
1404
|
+
sectionId?: string | undefined;
|
|
1405
|
+
alternativeId?: string | undefined;
|
|
1406
|
+
parentId?: string | undefined;
|
|
1401
1407
|
uses?: {
|
|
1402
1408
|
expectedRevision: number;
|
|
1403
1409
|
sectionId: string;
|
|
1404
1410
|
}[] | undefined;
|
|
1405
1411
|
fragments?: {
|
|
1406
|
-
start: number;
|
|
1407
|
-
sceneId: string;
|
|
1408
1412
|
end: number;
|
|
1413
|
+
sceneId: string;
|
|
1414
|
+
start: number;
|
|
1409
1415
|
}[] | undefined;
|
|
1410
1416
|
}>;
|
|
1411
1417
|
export declare const changeScriptSection: Operation<z.infer<typeof sectionInput>>;
|
|
@@ -1424,16 +1430,16 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
1424
1430
|
replacement: z.ZodString;
|
|
1425
1431
|
note: z.ZodOptional<z.ZodString>;
|
|
1426
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1427
|
-
start: number;
|
|
1428
|
-
sceneId: string;
|
|
1429
1433
|
end: number;
|
|
1434
|
+
sceneId: string;
|
|
1435
|
+
start: number;
|
|
1430
1436
|
original: string;
|
|
1431
1437
|
replacement: string;
|
|
1432
1438
|
note?: string | undefined;
|
|
1433
1439
|
}, {
|
|
1434
|
-
start: number;
|
|
1435
|
-
sceneId: string;
|
|
1436
1440
|
end: number;
|
|
1441
|
+
sceneId: string;
|
|
1442
|
+
start: number;
|
|
1437
1443
|
original: string;
|
|
1438
1444
|
replacement: string;
|
|
1439
1445
|
note?: string | undefined;
|
|
@@ -1444,9 +1450,9 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
1444
1450
|
storyboardId: string;
|
|
1445
1451
|
expectedRevision: number;
|
|
1446
1452
|
suggestions?: {
|
|
1447
|
-
start: number;
|
|
1448
|
-
sceneId: string;
|
|
1449
1453
|
end: number;
|
|
1454
|
+
sceneId: string;
|
|
1455
|
+
start: number;
|
|
1450
1456
|
original: string;
|
|
1451
1457
|
replacement: string;
|
|
1452
1458
|
note?: string | undefined;
|
|
@@ -1457,9 +1463,9 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
1457
1463
|
storyboardId: string;
|
|
1458
1464
|
expectedRevision: number;
|
|
1459
1465
|
suggestions?: {
|
|
1460
|
-
start: number;
|
|
1461
|
-
sceneId: string;
|
|
1462
1466
|
end: number;
|
|
1467
|
+
sceneId: string;
|
|
1468
|
+
start: number;
|
|
1463
1469
|
original: string;
|
|
1464
1470
|
replacement: string;
|
|
1465
1471
|
note?: string | undefined;
|
|
@@ -1480,14 +1486,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1480
1486
|
text: z.ZodString;
|
|
1481
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1482
1488
|
at: number;
|
|
1489
|
+
text: string;
|
|
1483
1490
|
sceneId: string;
|
|
1484
1491
|
removed: number;
|
|
1485
|
-
text: string;
|
|
1486
1492
|
}, {
|
|
1487
1493
|
at: number;
|
|
1494
|
+
text: string;
|
|
1488
1495
|
sceneId: string;
|
|
1489
1496
|
removed: number;
|
|
1490
|
-
text: string;
|
|
1491
1497
|
}>, "many">;
|
|
1492
1498
|
structures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1493
1499
|
sceneId: z.ZodString;
|
|
@@ -1503,35 +1509,35 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1503
1509
|
end: z.ZodNumber;
|
|
1504
1510
|
type: z.ZodEnum<["strong", "em"]>;
|
|
1505
1511
|
}, "strip", z.ZodTypeAny, {
|
|
1506
|
-
start: number;
|
|
1507
|
-
type: "strong" | "em";
|
|
1508
1512
|
end: number;
|
|
1509
|
-
}, {
|
|
1510
|
-
start: number;
|
|
1511
1513
|
type: "strong" | "em";
|
|
1514
|
+
start: number;
|
|
1515
|
+
}, {
|
|
1512
1516
|
end: number;
|
|
1517
|
+
type: "strong" | "em";
|
|
1518
|
+
start: number;
|
|
1513
1519
|
}>, "many">;
|
|
1514
1520
|
}, "strip", z.ZodTypeAny, {
|
|
1515
|
-
start: number;
|
|
1516
1521
|
end: number;
|
|
1517
1522
|
id: string;
|
|
1518
1523
|
kind: "paragraph" | "heading" | "direction";
|
|
1524
|
+
start: number;
|
|
1519
1525
|
marks: {
|
|
1520
|
-
start: number;
|
|
1521
|
-
type: "strong" | "em";
|
|
1522
1526
|
end: number;
|
|
1527
|
+
type: "strong" | "em";
|
|
1528
|
+
start: number;
|
|
1523
1529
|
}[];
|
|
1524
1530
|
level?: 2 | 3 | undefined;
|
|
1525
1531
|
label?: string | undefined;
|
|
1526
1532
|
}, {
|
|
1527
|
-
start: number;
|
|
1528
1533
|
end: number;
|
|
1529
1534
|
id: string;
|
|
1530
1535
|
kind: "paragraph" | "heading" | "direction";
|
|
1536
|
+
start: number;
|
|
1531
1537
|
marks: {
|
|
1532
|
-
start: number;
|
|
1533
|
-
type: "strong" | "em";
|
|
1534
1538
|
end: number;
|
|
1539
|
+
type: "strong" | "em";
|
|
1540
|
+
start: number;
|
|
1535
1541
|
}[];
|
|
1536
1542
|
level?: 2 | 3 | undefined;
|
|
1537
1543
|
label?: string | undefined;
|
|
@@ -1539,14 +1545,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1539
1545
|
}, "strip", z.ZodTypeAny, {
|
|
1540
1546
|
sceneId: string;
|
|
1541
1547
|
blocks: {
|
|
1542
|
-
start: number;
|
|
1543
1548
|
end: number;
|
|
1544
1549
|
id: string;
|
|
1545
1550
|
kind: "paragraph" | "heading" | "direction";
|
|
1551
|
+
start: number;
|
|
1546
1552
|
marks: {
|
|
1547
|
-
start: number;
|
|
1548
|
-
type: "strong" | "em";
|
|
1549
1553
|
end: number;
|
|
1554
|
+
type: "strong" | "em";
|
|
1555
|
+
start: number;
|
|
1550
1556
|
}[];
|
|
1551
1557
|
level?: 2 | 3 | undefined;
|
|
1552
1558
|
label?: string | undefined;
|
|
@@ -1554,14 +1560,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1554
1560
|
}, {
|
|
1555
1561
|
sceneId: string;
|
|
1556
1562
|
blocks: {
|
|
1557
|
-
start: number;
|
|
1558
1563
|
end: number;
|
|
1559
1564
|
id: string;
|
|
1560
1565
|
kind: "paragraph" | "heading" | "direction";
|
|
1566
|
+
start: number;
|
|
1561
1567
|
marks: {
|
|
1562
|
-
start: number;
|
|
1563
|
-
type: "strong" | "em";
|
|
1564
1568
|
end: number;
|
|
1569
|
+
type: "strong" | "em";
|
|
1570
|
+
start: number;
|
|
1565
1571
|
}[];
|
|
1566
1572
|
level?: 2 | 3 | undefined;
|
|
1567
1573
|
label?: string | undefined;
|
|
@@ -1586,14 +1592,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1586
1592
|
end: z.ZodNumber;
|
|
1587
1593
|
waitingShotId: z.ZodOptional<z.ZodString>;
|
|
1588
1594
|
}, "strip", z.ZodTypeAny, {
|
|
1589
|
-
start: number;
|
|
1590
|
-
sceneId: string;
|
|
1591
1595
|
end: number;
|
|
1596
|
+
sceneId: string;
|
|
1597
|
+
start: number;
|
|
1592
1598
|
waitingShotId?: string | undefined;
|
|
1593
1599
|
}, {
|
|
1594
|
-
start: number;
|
|
1595
|
-
sceneId: string;
|
|
1596
1600
|
end: number;
|
|
1601
|
+
sceneId: string;
|
|
1602
|
+
start: number;
|
|
1597
1603
|
waitingShotId?: string | undefined;
|
|
1598
1604
|
}>, "many">>;
|
|
1599
1605
|
restoreRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1604,42 +1610,42 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1604
1610
|
at: z.ZodNumber;
|
|
1605
1611
|
}, "strip", z.ZodTypeAny, {
|
|
1606
1612
|
at: number;
|
|
1607
|
-
sceneId: string;
|
|
1608
1613
|
kind: "split";
|
|
1614
|
+
sceneId: string;
|
|
1609
1615
|
}, {
|
|
1610
1616
|
at: number;
|
|
1611
|
-
sceneId: string;
|
|
1612
1617
|
kind: "split";
|
|
1618
|
+
sceneId: string;
|
|
1613
1619
|
}>, z.ZodObject<{
|
|
1614
1620
|
kind: z.ZodLiteral<"merge">;
|
|
1615
1621
|
sceneId: z.ZodString;
|
|
1616
1622
|
}, "strip", z.ZodTypeAny, {
|
|
1617
|
-
sceneId: string;
|
|
1618
1623
|
kind: "merge";
|
|
1619
|
-
}, {
|
|
1620
1624
|
sceneId: string;
|
|
1625
|
+
}, {
|
|
1621
1626
|
kind: "merge";
|
|
1627
|
+
sceneId: string;
|
|
1622
1628
|
}>]>>;
|
|
1623
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1624
1630
|
storyboardId: string;
|
|
1625
1631
|
expectedRevision: number;
|
|
1626
1632
|
edits: {
|
|
1627
1633
|
at: number;
|
|
1634
|
+
text: string;
|
|
1628
1635
|
sceneId: string;
|
|
1629
1636
|
removed: number;
|
|
1630
|
-
text: string;
|
|
1631
1637
|
}[];
|
|
1632
1638
|
structures?: {
|
|
1633
1639
|
sceneId: string;
|
|
1634
1640
|
blocks: {
|
|
1635
|
-
start: number;
|
|
1636
1641
|
end: number;
|
|
1637
1642
|
id: string;
|
|
1638
1643
|
kind: "paragraph" | "heading" | "direction";
|
|
1644
|
+
start: number;
|
|
1639
1645
|
marks: {
|
|
1640
|
-
start: number;
|
|
1641
|
-
type: "strong" | "em";
|
|
1642
1646
|
end: number;
|
|
1647
|
+
type: "strong" | "em";
|
|
1648
|
+
start: number;
|
|
1643
1649
|
}[];
|
|
1644
1650
|
level?: 2 | 3 | undefined;
|
|
1645
1651
|
label?: string | undefined;
|
|
@@ -1651,41 +1657,41 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1651
1657
|
delta: 1 | -1;
|
|
1652
1658
|
} | undefined;
|
|
1653
1659
|
makeShots?: {
|
|
1654
|
-
start: number;
|
|
1655
|
-
sceneId: string;
|
|
1656
1660
|
end: number;
|
|
1661
|
+
sceneId: string;
|
|
1662
|
+
start: number;
|
|
1657
1663
|
waitingShotId?: string | undefined;
|
|
1658
1664
|
}[] | undefined;
|
|
1659
1665
|
restoreRevision?: number | undefined;
|
|
1660
1666
|
ensureScene?: boolean | undefined;
|
|
1661
1667
|
sceneAction?: {
|
|
1662
1668
|
at: number;
|
|
1663
|
-
sceneId: string;
|
|
1664
1669
|
kind: "split";
|
|
1665
|
-
} | {
|
|
1666
1670
|
sceneId: string;
|
|
1671
|
+
} | {
|
|
1667
1672
|
kind: "merge";
|
|
1673
|
+
sceneId: string;
|
|
1668
1674
|
} | undefined;
|
|
1669
1675
|
}, {
|
|
1670
1676
|
storyboardId: string;
|
|
1671
1677
|
expectedRevision: number;
|
|
1672
1678
|
edits: {
|
|
1673
1679
|
at: number;
|
|
1680
|
+
text: string;
|
|
1674
1681
|
sceneId: string;
|
|
1675
1682
|
removed: number;
|
|
1676
|
-
text: string;
|
|
1677
1683
|
}[];
|
|
1678
1684
|
structures?: {
|
|
1679
1685
|
sceneId: string;
|
|
1680
1686
|
blocks: {
|
|
1681
|
-
start: number;
|
|
1682
1687
|
end: number;
|
|
1683
1688
|
id: string;
|
|
1684
1689
|
kind: "paragraph" | "heading" | "direction";
|
|
1690
|
+
start: number;
|
|
1685
1691
|
marks: {
|
|
1686
|
-
start: number;
|
|
1687
|
-
type: "strong" | "em";
|
|
1688
1692
|
end: number;
|
|
1693
|
+
type: "strong" | "em";
|
|
1694
|
+
start: number;
|
|
1689
1695
|
}[];
|
|
1690
1696
|
level?: 2 | 3 | undefined;
|
|
1691
1697
|
label?: string | undefined;
|
|
@@ -1697,20 +1703,20 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
1697
1703
|
delta: 1 | -1;
|
|
1698
1704
|
} | undefined;
|
|
1699
1705
|
makeShots?: {
|
|
1700
|
-
start: number;
|
|
1701
|
-
sceneId: string;
|
|
1702
1706
|
end: number;
|
|
1707
|
+
sceneId: string;
|
|
1708
|
+
start: number;
|
|
1703
1709
|
waitingShotId?: string | undefined;
|
|
1704
1710
|
}[] | undefined;
|
|
1705
1711
|
restoreRevision?: number | undefined;
|
|
1706
1712
|
ensureScene?: boolean | undefined;
|
|
1707
1713
|
sceneAction?: {
|
|
1708
1714
|
at: number;
|
|
1709
|
-
sceneId: string;
|
|
1710
1715
|
kind: "split";
|
|
1711
|
-
} | {
|
|
1712
1716
|
sceneId: string;
|
|
1717
|
+
} | {
|
|
1713
1718
|
kind: "merge";
|
|
1719
|
+
sceneId: string;
|
|
1714
1720
|
} | undefined;
|
|
1715
1721
|
}>;
|
|
1716
1722
|
export declare const writeScriptDocument: Operation<z.infer<typeof writeScriptDocumentInput>>;
|