@nxtedition/types 23.0.31 → 23.0.32
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/app.d.ts +22 -1
- package/dist/app.js +254 -6
- package/dist/common/render-preset.js +230 -22
- package/dist/common/render-profile.d.ts +17 -0
- package/dist/common/render-profile.js +344 -18
- package/dist/common/render-query.js +830 -169
- package/dist/common/render-scene.d.ts +7 -0
- package/dist/common/render-scene.js +1258 -144
- package/dist/common/settings.d.ts +19 -4
- package/dist/common/settings.js +1719 -1483
- package/dist/domains/event.d.ts +21 -19
- package/dist/domains/event.js +460 -44
- package/dist/domains/media.d.ts +4 -0
- package/dist/domains/media.js +827 -89
- package/dist/domains/publish.js +10806 -3560
- package/dist/domains/render.js +826 -163
- package/dist/domains/settings.js +1725 -1504
- package/dist/index.d.ts +12 -1
- package/dist/schema.json +325 -20
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,8 +21,13 @@ export type Records = {
|
|
|
21
21
|
} & {
|
|
22
22
|
[Property in keyof DesignDomainRecords as `${string}${Property}${string}`]: DesignDomainRecords[Property];
|
|
23
23
|
} & {
|
|
24
|
+
"media.subtitles": {
|
|
25
|
+
languages?: Record<string, string>;
|
|
26
|
+
fontFaces?: SubtitleFontFace[];
|
|
27
|
+
};
|
|
24
28
|
"media.subtitles?": {
|
|
25
|
-
languages
|
|
29
|
+
languages?: Record<string, string>;
|
|
30
|
+
fontFaces?: SubtitleFontFace[];
|
|
26
31
|
};
|
|
27
32
|
"media.transcribe?": {
|
|
28
33
|
engines: Record<string, string>;
|
|
@@ -67,3 +72,9 @@ export type Records = {
|
|
|
67
72
|
interface DomainRows {
|
|
68
73
|
rows: string[];
|
|
69
74
|
}
|
|
75
|
+
interface SubtitleFontFace {
|
|
76
|
+
family: string;
|
|
77
|
+
asset?: string;
|
|
78
|
+
weight?: "normal" | "bold";
|
|
79
|
+
style?: "normal" | "italic";
|
|
80
|
+
}
|
package/dist/schema.json
CHANGED
|
@@ -1585,6 +1585,10 @@
|
|
|
1585
1585
|
"DownloadFileOptions": {
|
|
1586
1586
|
"additionalProperties": false,
|
|
1587
1587
|
"properties": {
|
|
1588
|
+
"collisionPostfix": {
|
|
1589
|
+
"description": "If true, a postfix like (1), (2), etc. will be added to the filename in\ncase a file with the requested name already exists.",
|
|
1590
|
+
"type": "boolean"
|
|
1591
|
+
},
|
|
1588
1592
|
"directory": {
|
|
1589
1593
|
"type": "string"
|
|
1590
1594
|
},
|
|
@@ -1609,6 +1613,52 @@
|
|
|
1609
1613
|
],
|
|
1610
1614
|
"type": "object"
|
|
1611
1615
|
},
|
|
1616
|
+
"DownloadMessage": {
|
|
1617
|
+
"additionalProperties": false,
|
|
1618
|
+
"properties": {
|
|
1619
|
+
"bytes": {
|
|
1620
|
+
"type": "number"
|
|
1621
|
+
},
|
|
1622
|
+
"done": {
|
|
1623
|
+
"type": "boolean"
|
|
1624
|
+
},
|
|
1625
|
+
"id": {
|
|
1626
|
+
"type": "string"
|
|
1627
|
+
},
|
|
1628
|
+
"savePath": {
|
|
1629
|
+
"type": "string"
|
|
1630
|
+
},
|
|
1631
|
+
"size": {
|
|
1632
|
+
"type": "number"
|
|
1633
|
+
},
|
|
1634
|
+
"state": {
|
|
1635
|
+
"enum": [
|
|
1636
|
+
"cancelled",
|
|
1637
|
+
"completed",
|
|
1638
|
+
"interrupted",
|
|
1639
|
+
"progressing"
|
|
1640
|
+
],
|
|
1641
|
+
"type": "string"
|
|
1642
|
+
},
|
|
1643
|
+
"title": {
|
|
1644
|
+
"type": "string"
|
|
1645
|
+
},
|
|
1646
|
+
"type": {
|
|
1647
|
+
"const": "download",
|
|
1648
|
+
"type": "string"
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
"required": [
|
|
1652
|
+
"bytes",
|
|
1653
|
+
"id",
|
|
1654
|
+
"savePath",
|
|
1655
|
+
"size",
|
|
1656
|
+
"state",
|
|
1657
|
+
"title",
|
|
1658
|
+
"type"
|
|
1659
|
+
],
|
|
1660
|
+
"type": "object"
|
|
1661
|
+
},
|
|
1612
1662
|
"Dynamic": {
|
|
1613
1663
|
"anyOf": [
|
|
1614
1664
|
{
|
|
@@ -1800,7 +1850,7 @@
|
|
|
1800
1850
|
"type": "string"
|
|
1801
1851
|
},
|
|
1802
1852
|
"styleOverrides": {
|
|
1803
|
-
"$ref": "#/definitions/
|
|
1853
|
+
"$ref": "#/definitions/SubtitleEventStyleOverrides"
|
|
1804
1854
|
},
|
|
1805
1855
|
"text": {
|
|
1806
1856
|
"type": "string"
|
|
@@ -1808,16 +1858,6 @@
|
|
|
1808
1858
|
},
|
|
1809
1859
|
"type": "object"
|
|
1810
1860
|
},
|
|
1811
|
-
"EventSubtitleStyle": {
|
|
1812
|
-
"additionalProperties": false,
|
|
1813
|
-
"properties": {
|
|
1814
|
-
"alignment": {
|
|
1815
|
-
"description": "1 - bottom left\n2 - bottom center\n3 - bottom right\n4 - center left\n5 - center center\n6 - center right\n7 - top left\n8 - top center\n9 - top right",
|
|
1816
|
-
"type": "string"
|
|
1817
|
-
}
|
|
1818
|
-
},
|
|
1819
|
-
"type": "object"
|
|
1820
|
-
},
|
|
1821
1861
|
"FacebookConnectionRecord": {
|
|
1822
1862
|
"additionalProperties": false,
|
|
1823
1863
|
"properties": {
|
|
@@ -3300,8 +3340,20 @@
|
|
|
3300
3340
|
"live": {
|
|
3301
3341
|
"type": "boolean"
|
|
3302
3342
|
},
|
|
3343
|
+
"subtitle": {
|
|
3344
|
+
"additionalProperties": false,
|
|
3345
|
+
"properties": {
|
|
3346
|
+
"codec": {
|
|
3347
|
+
"type": "string"
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
"type": "object"
|
|
3351
|
+
},
|
|
3303
3352
|
"type": {
|
|
3304
3353
|
"$ref": "#/definitions/MediaType"
|
|
3354
|
+
},
|
|
3355
|
+
"url": {
|
|
3356
|
+
"type": "string"
|
|
3305
3357
|
}
|
|
3306
3358
|
},
|
|
3307
3359
|
"required": [
|
|
@@ -3929,6 +3981,81 @@
|
|
|
3929
3981
|
}
|
|
3930
3982
|
]
|
|
3931
3983
|
},
|
|
3984
|
+
"Omit<SubtitleStyleDomainRecord,\"scaledBorderAndShadow\"|\"futureWordWrapping\">": {
|
|
3985
|
+
"additionalProperties": false,
|
|
3986
|
+
"properties": {
|
|
3987
|
+
"alignment": {
|
|
3988
|
+
"type": "string"
|
|
3989
|
+
},
|
|
3990
|
+
"angle": {
|
|
3991
|
+
"type": "string"
|
|
3992
|
+
},
|
|
3993
|
+
"backColour": {
|
|
3994
|
+
"type": "string"
|
|
3995
|
+
},
|
|
3996
|
+
"bold": {
|
|
3997
|
+
"type": "string"
|
|
3998
|
+
},
|
|
3999
|
+
"borderStyle": {
|
|
4000
|
+
"type": "string"
|
|
4001
|
+
},
|
|
4002
|
+
"encoding": {
|
|
4003
|
+
"type": "string"
|
|
4004
|
+
},
|
|
4005
|
+
"fontname": {
|
|
4006
|
+
"type": "string"
|
|
4007
|
+
},
|
|
4008
|
+
"fontsize": {
|
|
4009
|
+
"type": "string"
|
|
4010
|
+
},
|
|
4011
|
+
"italic": {
|
|
4012
|
+
"type": "string"
|
|
4013
|
+
},
|
|
4014
|
+
"marginL": {
|
|
4015
|
+
"type": "string"
|
|
4016
|
+
},
|
|
4017
|
+
"marginR": {
|
|
4018
|
+
"type": "string"
|
|
4019
|
+
},
|
|
4020
|
+
"marginV": {
|
|
4021
|
+
"type": "string"
|
|
4022
|
+
},
|
|
4023
|
+
"name": {
|
|
4024
|
+
"type": "string"
|
|
4025
|
+
},
|
|
4026
|
+
"outline": {
|
|
4027
|
+
"type": "string"
|
|
4028
|
+
},
|
|
4029
|
+
"outlineColour": {
|
|
4030
|
+
"type": "string"
|
|
4031
|
+
},
|
|
4032
|
+
"primaryColour": {
|
|
4033
|
+
"type": "string"
|
|
4034
|
+
},
|
|
4035
|
+
"scaleX": {
|
|
4036
|
+
"type": "string"
|
|
4037
|
+
},
|
|
4038
|
+
"scaleY": {
|
|
4039
|
+
"type": "string"
|
|
4040
|
+
},
|
|
4041
|
+
"secondaryColour": {
|
|
4042
|
+
"type": "string"
|
|
4043
|
+
},
|
|
4044
|
+
"shadow": {
|
|
4045
|
+
"type": "string"
|
|
4046
|
+
},
|
|
4047
|
+
"spacing": {
|
|
4048
|
+
"type": "string"
|
|
4049
|
+
},
|
|
4050
|
+
"strikeOut": {
|
|
4051
|
+
"type": "string"
|
|
4052
|
+
},
|
|
4053
|
+
"underline": {
|
|
4054
|
+
"type": "string"
|
|
4055
|
+
}
|
|
4056
|
+
},
|
|
4057
|
+
"type": "object"
|
|
4058
|
+
},
|
|
3932
4059
|
"OpenDialogOptions": {
|
|
3933
4060
|
"additionalProperties": false,
|
|
3934
4061
|
"properties": {
|
|
@@ -4255,6 +4382,9 @@
|
|
|
4255
4382
|
"debug": {
|
|
4256
4383
|
"type": "boolean"
|
|
4257
4384
|
},
|
|
4385
|
+
"download": {
|
|
4386
|
+
"$ref": "#/definitions/PartialObjectDeep<{displaySaveDialog?:boolean;batchDownloadDialogMode?:\"file\"|\"directory\";},{}>"
|
|
4387
|
+
},
|
|
4258
4388
|
"edit": {
|
|
4259
4389
|
"$ref": "#/definitions/PartialObjectDeep<{thumbnailView:\"none\"|\"filmStrip\"|\"thumbnail\";voiceOver:{inputDevice?:string;inputGainDb:number;backgroundReductionDb:number;recordMode:\"instant\"|\"punchAndRoll\";preRollDuration:number;};},{}>"
|
|
4260
4390
|
},
|
|
@@ -4272,7 +4402,7 @@
|
|
|
4272
4402
|
"type": "array"
|
|
4273
4403
|
},
|
|
4274
4404
|
"featurePreview": {
|
|
4275
|
-
"$ref": "#/definitions/PartialObjectDeep<{collections?:boolean;semanticSearch?:boolean;},{}>"
|
|
4405
|
+
"$ref": "#/definitions/PartialObjectDeep<{collections?:boolean;semanticSearch?:boolean;ameRemoteRendering?:boolean;},{}>"
|
|
4276
4406
|
},
|
|
4277
4407
|
"flags": {
|
|
4278
4408
|
"$ref": "#/definitions/PartialObjectDeep<{utils:boolean;history:boolean;refs:boolean;access:boolean;files:boolean;export:boolean;json:boolean;hlsjs:boolean;resetRenders?:boolean;resetReplicas?:boolean;assetStatus?:boolean;consolidateMedia?:boolean;hideInAssetMenu?:boolean;assetRoute?:boolean;devWarnings?:boolean;},{}>"
|
|
@@ -4306,7 +4436,7 @@
|
|
|
4306
4436
|
"$ref": "#/definitions/PartialObjectDeep<{display:{[actionKey:string]:KeymapSetting;};browser:{[actionKey:string]:KeymapSetting;};gallery:{[actionKey:string]:KeymapSetting;};global:{[actionKey:string]:KeymapSetting;};player:{[actionKey:string]:KeymapSetting;};script:{[actionKey:string]:KeymapSetting;};codeEditor:{[actionKey:string]:KeymapSetting;};bookmarks:{[actionKey:string]:KeymapSetting;};edit:{[actionKey:string]:KeymapSetting;};rundown:{[actionKey:string]:KeymapSetting;};segment:{[actionKey:string]:KeymapSetting;};},{}>"
|
|
4307
4437
|
},
|
|
4308
4438
|
"media": {
|
|
4309
|
-
"$ref": "#/definitions/PartialObjectDeep<{defaultFrameRate:number;placeholder?:string;guide?:{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;editMode:{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";};transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};openCommand?:string|{url?:string;command?:string;app?:string;args?:string[];};},{}>"
|
|
4439
|
+
"$ref": "#/definitions/PartialObjectDeep<{defaultFrameRate:number;placeholder?:string;guide?:{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;aspectRatios?:{aspectRatio?:string;style?:string;maxCharactersPerLine?:number;}[];};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;editMode:{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";};transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};openCommand?:string|{url?:string;command?:string;app?:string;args?:string[];};},{}>"
|
|
4310
4440
|
},
|
|
4311
4441
|
"module": {
|
|
4312
4442
|
"$ref": "#/definitions/PartialObjectDeep<{tabs?:ModuleTabs;},{}>"
|
|
@@ -4462,10 +4592,13 @@
|
|
|
4462
4592
|
},
|
|
4463
4593
|
"type": "object"
|
|
4464
4594
|
},
|
|
4465
|
-
"PartialObjectDeep<{collections?:boolean;semanticSearch?:boolean;},{}>": {
|
|
4595
|
+
"PartialObjectDeep<{collections?:boolean;semanticSearch?:boolean;ameRemoteRendering?:boolean;},{}>": {
|
|
4466
4596
|
"additionalProperties": false,
|
|
4467
4597
|
"description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
|
|
4468
4598
|
"properties": {
|
|
4599
|
+
"ameRemoteRendering": {
|
|
4600
|
+
"type": "boolean"
|
|
4601
|
+
},
|
|
4469
4602
|
"collections": {
|
|
4470
4603
|
"type": "boolean"
|
|
4471
4604
|
},
|
|
@@ -4532,7 +4665,7 @@
|
|
|
4532
4665
|
},
|
|
4533
4666
|
"type": "object"
|
|
4534
4667
|
},
|
|
4535
|
-
"PartialObjectDeep<{defaultFrameRate:number;placeholder?:string;guide?:{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;editMode:{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";};transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};openCommand?:string|{url?:string;command?:string;app?:string;args?:string[];};},{}>": {
|
|
4668
|
+
"PartialObjectDeep<{defaultFrameRate:number;placeholder?:string;guide?:{mask?:boolean;actionSafe?:boolean;titleSafe?:boolean;};stepManyFrames:number;liveZoomDuration:number;importTitleTemplate:string;tile:{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;};timecodeReference:string;maxSubclipDuration:number;rewindStep:number;forwardStep:number;interlacedPlayback:string;playbackRates:number[];subtitles:{spacing:number;maxCharactersPerLine:number;aspectRatios?:{aspectRatio?:string;style?:string;maxCharactersPerLine?:number;}[];};subtitleTemplateId?:string;initialVolume:string;guides:{label:string;aspectRatio:string;}[];download:boolean;editMode:{enabled:boolean;defaultEnterOption:\"none\"|\"edit\"|\"createNew\";defaultExitOption:\"none\"|\"update\"|\"leave\";};transcribe?:{subtitleDisclaimer?:{isUserConfigurable?:boolean;defaultValue?:{enabled?:false;text?:{language:string;value:string;}[];offset?:number;duration?:number;};};};openCommand?:string|{url?:string;command?:string;app?:string;args?:string[];};},{}>": {
|
|
4536
4669
|
"additionalProperties": false,
|
|
4537
4670
|
"description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
|
|
4538
4671
|
"properties": {
|
|
@@ -4615,7 +4748,7 @@
|
|
|
4615
4748
|
"type": "string"
|
|
4616
4749
|
},
|
|
4617
4750
|
"subtitles": {
|
|
4618
|
-
"$ref": "#/definitions/PartialObjectDeep<{spacing:number;maxCharactersPerLine:number;},{}>"
|
|
4751
|
+
"$ref": "#/definitions/PartialObjectDeep<{spacing:number;maxCharactersPerLine:number;aspectRatios?:{aspectRatio?:string;style?:string;maxCharactersPerLine?:number;}[];},{}>"
|
|
4619
4752
|
},
|
|
4620
4753
|
"tile": {
|
|
4621
4754
|
"$ref": "#/definitions/PartialObjectDeep<{preview:boolean|\"play\"|\"seek\"|\"disabled\"|\"seekplay\";showRenderProgress:boolean;},{}>"
|
|
@@ -4705,6 +4838,24 @@
|
|
|
4705
4838
|
},
|
|
4706
4839
|
"type": "object"
|
|
4707
4840
|
},
|
|
4841
|
+
"PartialObjectDeep<{displaySaveDialog?:boolean;batchDownloadDialogMode?:\"file\"|\"directory\";},{}>": {
|
|
4842
|
+
"additionalProperties": false,
|
|
4843
|
+
"description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
|
|
4844
|
+
"properties": {
|
|
4845
|
+
"batchDownloadDialogMode": {
|
|
4846
|
+
"description": "Whether to prompt the user for each individual file path,\nor just the directory.",
|
|
4847
|
+
"enum": [
|
|
4848
|
+
"directory",
|
|
4849
|
+
"file"
|
|
4850
|
+
],
|
|
4851
|
+
"type": "string"
|
|
4852
|
+
},
|
|
4853
|
+
"displaySaveDialog": {
|
|
4854
|
+
"type": "boolean"
|
|
4855
|
+
}
|
|
4856
|
+
},
|
|
4857
|
+
"type": "object"
|
|
4858
|
+
},
|
|
4708
4859
|
"PartialObjectDeep<{enable:boolean;show24Hours:boolean;showAmPm:boolean;showSeconds:boolean;showDayOfWeek:boolean;showDate:boolean;format?:string;},{}>": {
|
|
4709
4860
|
"additionalProperties": false,
|
|
4710
4861
|
"description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
|
|
@@ -5130,10 +5281,29 @@
|
|
|
5130
5281
|
},
|
|
5131
5282
|
"type": "object"
|
|
5132
5283
|
},
|
|
5133
|
-
"PartialObjectDeep<{spacing:number;maxCharactersPerLine:number;},{}>": {
|
|
5284
|
+
"PartialObjectDeep<{spacing:number;maxCharactersPerLine:number;aspectRatios?:{aspectRatio?:string;style?:string;maxCharactersPerLine?:number;}[];},{}>": {
|
|
5134
5285
|
"additionalProperties": false,
|
|
5135
5286
|
"description": "Same as `PartialDeep`, but accepts only `object`s as inputs. Internal helper for `PartialDeep`.",
|
|
5136
5287
|
"properties": {
|
|
5288
|
+
"aspectRatios": {
|
|
5289
|
+
"items": {
|
|
5290
|
+
"additionalProperties": false,
|
|
5291
|
+
"properties": {
|
|
5292
|
+
"aspectRatio": {
|
|
5293
|
+
"description": "aspect ratio in the form of \"width:height\"",
|
|
5294
|
+
"type": "string"
|
|
5295
|
+
},
|
|
5296
|
+
"maxCharactersPerLine": {
|
|
5297
|
+
"type": "number"
|
|
5298
|
+
},
|
|
5299
|
+
"style": {
|
|
5300
|
+
"type": "string"
|
|
5301
|
+
}
|
|
5302
|
+
},
|
|
5303
|
+
"type": "object"
|
|
5304
|
+
},
|
|
5305
|
+
"type": "array"
|
|
5306
|
+
},
|
|
5137
5307
|
"maxCharactersPerLine": {
|
|
5138
5308
|
"type": "number"
|
|
5139
5309
|
},
|
|
@@ -5831,16 +6001,34 @@
|
|
|
5831
6001
|
},
|
|
5832
6002
|
"type": "object"
|
|
5833
6003
|
},
|
|
6004
|
+
"media.subtitles": {
|
|
6005
|
+
"additionalProperties": false,
|
|
6006
|
+
"properties": {
|
|
6007
|
+
"fontFaces": {
|
|
6008
|
+
"items": {
|
|
6009
|
+
"$ref": "#/definitions/SubtitleFontFace"
|
|
6010
|
+
},
|
|
6011
|
+
"type": "array"
|
|
6012
|
+
},
|
|
6013
|
+
"languages": {
|
|
6014
|
+
"$ref": "#/definitions/Record<string,string>"
|
|
6015
|
+
}
|
|
6016
|
+
},
|
|
6017
|
+
"type": "object"
|
|
6018
|
+
},
|
|
5834
6019
|
"media.subtitles?": {
|
|
5835
6020
|
"additionalProperties": false,
|
|
5836
6021
|
"properties": {
|
|
6022
|
+
"fontFaces": {
|
|
6023
|
+
"items": {
|
|
6024
|
+
"$ref": "#/definitions/SubtitleFontFace"
|
|
6025
|
+
},
|
|
6026
|
+
"type": "array"
|
|
6027
|
+
},
|
|
5837
6028
|
"languages": {
|
|
5838
6029
|
"$ref": "#/definitions/Record<string,string>"
|
|
5839
6030
|
}
|
|
5840
6031
|
},
|
|
5841
|
-
"required": [
|
|
5842
|
-
"languages"
|
|
5843
|
-
],
|
|
5844
6032
|
"type": "object"
|
|
5845
6033
|
},
|
|
5846
6034
|
"media.transcribe?": {
|
|
@@ -5890,6 +6078,7 @@
|
|
|
5890
6078
|
"deepstream-replicator.stats?",
|
|
5891
6079
|
"hub-transcribe:render-profile",
|
|
5892
6080
|
"media.consolidate",
|
|
6081
|
+
"media.subtitles",
|
|
5893
6082
|
"media.subtitles?",
|
|
5894
6083
|
"media.transcribe?"
|
|
5895
6084
|
],
|
|
@@ -6059,6 +6248,16 @@
|
|
|
6059
6248
|
},
|
|
6060
6249
|
"type": "array"
|
|
6061
6250
|
},
|
|
6251
|
+
"subtitle": {
|
|
6252
|
+
"anyOf": [
|
|
6253
|
+
{
|
|
6254
|
+
"$ref": "#/definitions/SubtitleProfile"
|
|
6255
|
+
},
|
|
6256
|
+
{
|
|
6257
|
+
"type": "string"
|
|
6258
|
+
}
|
|
6259
|
+
]
|
|
6260
|
+
},
|
|
6062
6261
|
"transcribe": {
|
|
6063
6262
|
"additionalProperties": false,
|
|
6064
6263
|
"properties": {
|
|
@@ -6123,6 +6322,21 @@
|
|
|
6123
6322
|
"subtitle": {
|
|
6124
6323
|
"type": "string"
|
|
6125
6324
|
},
|
|
6325
|
+
"subtitleTracks": {
|
|
6326
|
+
"additionalProperties": {
|
|
6327
|
+
"additionalProperties": false,
|
|
6328
|
+
"properties": {
|
|
6329
|
+
"style": {
|
|
6330
|
+
"type": "string"
|
|
6331
|
+
},
|
|
6332
|
+
"styleOverrides": {
|
|
6333
|
+
"$ref": "#/definitions/Omit<SubtitleStyleDomainRecord,\"scaledBorderAndShadow\"|\"futureWordWrapping\">"
|
|
6334
|
+
}
|
|
6335
|
+
},
|
|
6336
|
+
"type": "object"
|
|
6337
|
+
},
|
|
6338
|
+
"type": "object"
|
|
6339
|
+
},
|
|
6126
6340
|
"transcribe": {
|
|
6127
6341
|
"additionalProperties": false,
|
|
6128
6342
|
"properties": {
|
|
@@ -6659,6 +6873,97 @@
|
|
|
6659
6873
|
},
|
|
6660
6874
|
"type": "object"
|
|
6661
6875
|
},
|
|
6876
|
+
"SubtitleEventStyleOverrides": {
|
|
6877
|
+
"additionalProperties": false,
|
|
6878
|
+
"properties": {
|
|
6879
|
+
"alignment": {
|
|
6880
|
+
"type": "string"
|
|
6881
|
+
},
|
|
6882
|
+
"backColour": {
|
|
6883
|
+
"type": "string"
|
|
6884
|
+
},
|
|
6885
|
+
"bold": {
|
|
6886
|
+
"type": "string"
|
|
6887
|
+
},
|
|
6888
|
+
"fontname": {
|
|
6889
|
+
"type": "string"
|
|
6890
|
+
},
|
|
6891
|
+
"fontsize": {
|
|
6892
|
+
"type": "string"
|
|
6893
|
+
},
|
|
6894
|
+
"italic": {
|
|
6895
|
+
"type": "string"
|
|
6896
|
+
},
|
|
6897
|
+
"marginL": {
|
|
6898
|
+
"type": "string"
|
|
6899
|
+
},
|
|
6900
|
+
"marginR": {
|
|
6901
|
+
"type": "string"
|
|
6902
|
+
},
|
|
6903
|
+
"marginV": {
|
|
6904
|
+
"type": "string"
|
|
6905
|
+
},
|
|
6906
|
+
"outlineColour": {
|
|
6907
|
+
"type": "string"
|
|
6908
|
+
},
|
|
6909
|
+
"primaryColour": {
|
|
6910
|
+
"type": "string"
|
|
6911
|
+
},
|
|
6912
|
+
"secondaryColour": {
|
|
6913
|
+
"type": "string"
|
|
6914
|
+
},
|
|
6915
|
+
"strikeOut": {
|
|
6916
|
+
"type": "string"
|
|
6917
|
+
},
|
|
6918
|
+
"underline": {
|
|
6919
|
+
"type": "string"
|
|
6920
|
+
}
|
|
6921
|
+
},
|
|
6922
|
+
"type": "object"
|
|
6923
|
+
},
|
|
6924
|
+
"SubtitleFontFace": {
|
|
6925
|
+
"additionalProperties": false,
|
|
6926
|
+
"properties": {
|
|
6927
|
+
"asset": {
|
|
6928
|
+
"type": "string"
|
|
6929
|
+
},
|
|
6930
|
+
"family": {
|
|
6931
|
+
"type": "string"
|
|
6932
|
+
},
|
|
6933
|
+
"style": {
|
|
6934
|
+
"enum": [
|
|
6935
|
+
"italic",
|
|
6936
|
+
"normal"
|
|
6937
|
+
],
|
|
6938
|
+
"type": "string"
|
|
6939
|
+
},
|
|
6940
|
+
"weight": {
|
|
6941
|
+
"enum": [
|
|
6942
|
+
"bold",
|
|
6943
|
+
"normal"
|
|
6944
|
+
],
|
|
6945
|
+
"type": "string"
|
|
6946
|
+
}
|
|
6947
|
+
},
|
|
6948
|
+
"required": [
|
|
6949
|
+
"family"
|
|
6950
|
+
],
|
|
6951
|
+
"type": "object"
|
|
6952
|
+
},
|
|
6953
|
+
"SubtitleProfile": {
|
|
6954
|
+
"additionalProperties": false,
|
|
6955
|
+
"properties": {
|
|
6956
|
+
"lang": {
|
|
6957
|
+
"description": "Corresponds to a key in `media.subtitles?#languages`, or '_all' to render all languages.",
|
|
6958
|
+
"type": "string"
|
|
6959
|
+
},
|
|
6960
|
+
"style": {
|
|
6961
|
+
"description": "Will pick styling from the corresponding `${style}:subtitle-style` asset.",
|
|
6962
|
+
"type": "string"
|
|
6963
|
+
}
|
|
6964
|
+
},
|
|
6965
|
+
"type": "object"
|
|
6966
|
+
},
|
|
6662
6967
|
"SubtitleStyleDomainRecord": {
|
|
6663
6968
|
"additionalProperties": false,
|
|
6664
6969
|
"properties": {
|