@nxtedition/types 23.0.39 → 23.0.41
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 +0 -51
- package/dist/app.js +1 -823
- package/dist/common/block.d.ts +6 -13
- package/dist/common/block.js +597 -1607
- package/dist/common/clone.d.ts +0 -19
- package/dist/common/clone.js +1 -602
- package/dist/common/date.d.ts +0 -7
- package/dist/common/date.js +1 -59
- package/dist/common/error.d.ts +0 -7
- package/dist/common/error.js +1 -404
- package/dist/common/file.d.ts +1 -21
- package/dist/common/file.js +782 -2521
- package/dist/common/index.d.ts +20 -26
- package/dist/common/index.js +20 -134
- package/dist/common/location.d.ts +0 -6
- package/dist/common/location.js +73 -238
- package/dist/common/lock.d.ts +1 -8
- package/dist/common/lock.js +1 -211
- package/dist/common/media.d.ts +0 -7
- package/dist/common/media.js +1 -83
- package/dist/common/nxtpression.d.ts +2 -9
- package/dist/common/nxtpression.js +1 -277
- package/dist/common/pipeline.d.ts +0 -7
- package/dist/common/pipeline.js +1 -97
- package/dist/common/promoted-tag.d.ts +0 -7
- package/dist/common/promoted-tag.js +1 -147
- package/dist/common/render-preset.d.ts +2 -15
- package/dist/common/render-preset.js +1 -1202
- package/dist/common/render-profile.d.ts +0 -19
- package/dist/common/render-profile.js +1 -1052
- package/dist/common/render-query.d.ts +2 -9
- package/dist/common/render-query.js +1 -1754
- package/dist/common/render-scene.d.ts +2 -15
- package/dist/common/render-scene.js +1 -2230
- package/dist/common/rule.d.ts +1 -7
- package/dist/common/rule.js +84 -254
- package/dist/common/search.d.ts +0 -25
- package/dist/common/search.js +1 -1591
- package/dist/common/settings.d.ts +128 -121
- package/dist/common/settings.js +1 -6936
- package/dist/common/subtitle-style.d.ts +25 -0
- package/dist/common/user-notification.d.ts +0 -7
- package/dist/common/user-notification.js +1 -85
- package/dist/index.d.ts +5 -85
- package/dist/index.js +5 -187
- package/dist/nxtpression.d.ts +732 -344
- package/dist/nxtpression.js +1 -323
- package/dist/records/domains/asset.d.ts +106 -0
- package/dist/records/domains/bundle.d.ts +12 -0
- package/dist/records/domains/bundle.js +1 -0
- package/dist/records/domains/clone.d.ts +7 -0
- package/dist/records/domains/clone.js +1 -0
- package/dist/records/domains/comment-reaction.d.ts +8 -0
- package/dist/records/domains/comment-reaction.js +1 -0
- package/dist/records/domains/comment-read-mark.d.ts +8 -0
- package/dist/records/domains/comment-read-mark.js +1 -0
- package/dist/records/domains/comment.d.ts +81 -0
- package/dist/records/domains/comment.js +19 -0
- package/dist/records/domains/connection.d.ts +77 -0
- package/dist/records/domains/connection.js +1 -0
- package/dist/records/domains/contact.d.ts +9 -0
- package/dist/records/domains/contact.js +1 -0
- package/dist/records/domains/deepstream.d.ts +7 -0
- package/dist/records/domains/deepstream.js +1 -0
- package/dist/records/domains/design.d.ts +11 -0
- package/dist/records/domains/design.js +1 -0
- package/dist/records/domains/edit.d.ts +10 -0
- package/dist/records/domains/edit.js +1 -0
- package/dist/records/domains/event.d.ts +66 -0
- package/dist/records/domains/event.js +1 -0
- package/dist/records/domains/file.d.ts +26 -0
- package/dist/records/domains/file.js +1 -0
- package/dist/records/domains/general.d.ts +41 -0
- package/dist/records/domains/general.js +1 -0
- package/dist/records/domains/index.d.ts +77 -0
- package/dist/records/domains/index.js +38 -0
- package/dist/records/domains/media.d.ts +64 -0
- package/dist/records/domains/media.js +1 -0
- package/dist/records/domains/monitor.d.ts +116 -0
- package/dist/records/domains/monitor.js +1 -0
- package/dist/records/domains/panel.d.ts +55 -0
- package/dist/records/domains/panel.js +1 -0
- package/dist/records/domains/permission.d.ts +25 -0
- package/dist/records/domains/permission.js +2 -0
- package/dist/records/domains/pipeline-preset.d.ts +10 -0
- package/dist/records/domains/pipeline-preset.js +1 -0
- package/dist/records/domains/pipeline.d.ts +17 -0
- package/dist/records/domains/pipeline.js +1 -0
- package/dist/records/domains/planning.d.ts +14 -0
- package/dist/records/domains/planning.js +1 -0
- package/dist/records/domains/prompter.d.ts +18 -0
- package/dist/records/domains/prompter.js +1 -0
- package/dist/records/domains/publish.d.ts +145 -0
- package/dist/records/domains/publish.js +1 -0
- package/dist/records/domains/published.d.ts +12 -0
- package/dist/records/domains/published.js +1 -0
- package/dist/records/domains/render-preset.d.ts +5 -0
- package/dist/records/domains/render-preset.js +1 -0
- package/dist/records/domains/render.d.ts +115 -0
- package/dist/records/domains/render.js +1 -0
- package/dist/records/domains/revs.d.ts +6 -0
- package/dist/records/domains/revs.js +1 -0
- package/dist/records/domains/role.d.ts +6 -0
- package/dist/records/domains/role.js +1 -0
- package/dist/records/domains/script.d.ts +101 -0
- package/dist/records/domains/script.js +1 -0
- package/dist/records/domains/search.d.ts +9 -0
- package/dist/records/domains/search.js +1 -0
- package/dist/records/domains/settings.d.ts +5 -0
- package/dist/records/domains/settings.js +1 -0
- package/dist/records/domains/storyboard.d.ts +10 -0
- package/dist/records/domains/storyboard.js +1 -0
- package/dist/records/domains/subtitle-style.d.ts +13 -0
- package/dist/records/domains/subtitle-style.js +1 -0
- package/dist/records/domains/subtitle.d.ts +12 -0
- package/dist/records/domains/subtitle.js +1 -0
- package/dist/records/domains/template.d.ts +10 -0
- package/dist/records/domains/template.js +1 -0
- package/dist/records/domains/user-notification-status.d.ts +30 -0
- package/dist/records/domains/user-notification-status.js +1 -0
- package/dist/records/domains/user-notification.d.ts +69 -0
- package/dist/records/domains/user-notification.js +1 -0
- package/dist/records/domains/user.d.ts +23 -0
- package/dist/records/domains/user.js +1 -0
- package/dist/records/exact/asset.d.ts +83 -0
- package/dist/records/exact/asset.js +1 -0
- package/dist/records/exact/index.d.ts +36 -0
- package/dist/records/exact/index.js +4 -0
- package/dist/records/exact/media.d.ts +52 -0
- package/dist/records/exact/media.js +1 -0
- package/dist/records/exact/monitor.d.ts +46 -0
- package/dist/records/exact/monitor.js +1 -0
- package/dist/records/exact/storage.d.ts +32 -0
- package/dist/records/exact/storage.js +1 -0
- package/dist/records/index.d.ts +10 -0
- package/dist/records/index.js +2 -0
- package/dist/records/utils.d.ts +7 -0
- package/dist/records/utils.js +1 -0
- package/dist/records/utils.tds.d.ts +1 -0
- package/dist/records/utils.tds.js +7 -0
- package/dist/records/validate/assert-guard.d.ts +4 -0
- package/dist/records/validate/assert-guard.js +15861 -0
- package/dist/records/validate/assert.d.ts +4 -0
- package/dist/records/validate/assert.js +15990 -0
- package/dist/records/validate/is.d.ts +4 -0
- package/dist/records/validate/is.js +1017 -0
- package/dist/records/validate/schemas.d.ts +9 -0
- package/dist/records/validate/schemas.js +12613 -0
- package/dist/records/validate/stringify.d.ts +4 -0
- package/dist/records/validate/stringify.js +1904 -0
- package/dist/records/validate/utils.d.ts +15 -0
- package/dist/records/validate/utils.js +18 -0
- package/dist/records/validate/utils.test.d.ts +1 -0
- package/dist/records/validate/utils.test.js +35 -0
- package/dist/records/validate/validate.d.ts +5 -0
- package/dist/records/validate/validate.js +14943 -0
- package/dist/rpc.d.ts +13 -14
- package/dist/rpc.js +126 -511
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +26 -15
- package/dist/asset.d.ts +0 -72
- package/dist/domains/asset.d.ts +0 -227
- package/dist/domains/asset.js +0 -2672
- package/dist/domains/bundle.d.ts +0 -25
- package/dist/domains/bundle.js +0 -512
- package/dist/domains/clone.d.ts +0 -14
- package/dist/domains/clone.js +0 -192
- package/dist/domains/comment-reaction.d.ts +0 -15
- package/dist/domains/comment-reaction.js +0 -115
- package/dist/domains/comment-read-mark.d.ts +0 -15
- package/dist/domains/comment-read-mark.js +0 -115
- package/dist/domains/comment.d.ts +0 -153
- package/dist/domains/comment.js +0 -5906
- package/dist/domains/connection.d.ts +0 -141
- package/dist/domains/connection.js +0 -5860
- package/dist/domains/contact.d.ts +0 -16
- package/dist/domains/contact.js +0 -149
- package/dist/domains/deepstream.d.ts +0 -14
- package/dist/domains/deepstream.js +0 -139
- package/dist/domains/design.d.ts +0 -24
- package/dist/domains/design.js +0 -303
- package/dist/domains/edit.d.ts +0 -17
- package/dist/domains/edit.js +0 -224
- package/dist/domains/event.d.ts +0 -42
- package/dist/domains/event.js +0 -754
- package/dist/domains/file.d.ts +0 -51
- package/dist/domains/file.js +0 -2506
- package/dist/domains/general.d.ts +0 -84
- package/dist/domains/general.js +0 -906
- package/dist/domains/index.d.ts +0 -75
- package/dist/domains/index.js +0 -37
- package/dist/domains/media.d.ts +0 -113
- package/dist/domains/media.js +0 -4553
- package/dist/domains/monitor.d.ts +0 -416
- package/dist/domains/monitor.js +0 -6382
- package/dist/domains/panel.d.ts +0 -371
- package/dist/domains/panel.js +0 -3198
- package/dist/domains/permission.d.ts +0 -61
- package/dist/domains/permission.js +0 -1926
- package/dist/domains/pipeline-preset.d.ts +0 -17
- package/dist/domains/pipeline-preset.js +0 -236
- package/dist/domains/pipeline.d.ts +0 -30
- package/dist/domains/pipeline.js +0 -460
- package/dist/domains/planning.d.ts +0 -33
- package/dist/domains/planning.js +0 -324
- package/dist/domains/publish.d.ts +0 -1397
- package/dist/domains/publish.js +0 -34436
- package/dist/domains/published.d.ts +0 -19
- package/dist/domains/published.js +0 -204
- package/dist/domains/render-preset.d.ts +0 -4
- package/dist/domains/render.d.ts +0 -172
- package/dist/domains/render.js +0 -4783
- package/dist/domains/revs.d.ts +0 -13
- package/dist/domains/revs.js +0 -125
- package/dist/domains/role.d.ts +0 -13
- package/dist/domains/role.js +0 -119
- package/dist/domains/script.d.ts +0 -13
- package/dist/domains/script.js +0 -125
- package/dist/domains/search.d.ts +0 -16
- package/dist/domains/search.js +0 -168
- package/dist/domains/settings.d.ts +0 -12
- package/dist/domains/settings.js +0 -6624
- package/dist/domains/storyboard.d.ts +0 -14
- package/dist/domains/storyboard.js +0 -125
- package/dist/domains/subtitle-style.d.ts +0 -37
- package/dist/domains/subtitle-style.js +0 -485
- package/dist/domains/subtitle.d.ts +0 -19
- package/dist/domains/subtitle.js +0 -212
- package/dist/domains/template.d.ts +0 -23
- package/dist/domains/template.js +0 -372
- package/dist/domains/user-notification-status.d.ts +0 -55
- package/dist/domains/user-notification-status.js +0 -715
- package/dist/domains/user-notification.d.ts +0 -118
- package/dist/domains/user-notification.js +0 -3040
- package/dist/domains/user.d.ts +0 -48
- package/dist/domains/user.js +0 -481
- package/dist/monitor.d.ts +0 -71
- package/dist/monitor.js +0 -1942
- package/dist/schema.json +0 -9075
- package/dist/storage.d.ts +0 -51
- package/dist/storage.js +0 -1036
- /package/dist/{asset.js → common/subtitle-style.js} +0 -0
- /package/dist/{domains/render-preset.js → records/domains/asset.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DesignDomainRecords {
|
|
2
|
+
":design": DesignDomainRecord;
|
|
3
|
+
}
|
|
4
|
+
export interface DesignDomainRecord<Id = string, Key = string, Value = unknown> {
|
|
5
|
+
rows: DesignViewRow<Id, Key, Value>[];
|
|
6
|
+
}
|
|
7
|
+
export interface DesignViewRow<Id = string, Key = string, Value = void> {
|
|
8
|
+
id: Id;
|
|
9
|
+
key: Key;
|
|
10
|
+
value: Value;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export type JsonPrimitive = string | number | boolean | null;
|
|
2
|
+
export type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
3
|
+
[key: string]: JsonValue;
|
|
4
|
+
};
|
|
5
|
+
export interface EventDomainRecords {
|
|
6
|
+
":event": EventRecord;
|
|
7
|
+
":event._template?": EventTemplateRecord;
|
|
8
|
+
":event.overlay?": EventOverlayRecord;
|
|
9
|
+
":event.template?": EventTemplateRecord;
|
|
10
|
+
":event.duration?": EventDurationRecord;
|
|
11
|
+
":event.children?": EventChildrenRecord;
|
|
12
|
+
":event.props?": EventPropsRecord;
|
|
13
|
+
}
|
|
14
|
+
export interface EventRecord {
|
|
15
|
+
start?: number;
|
|
16
|
+
end?: number;
|
|
17
|
+
duration?: number;
|
|
18
|
+
text?: string;
|
|
19
|
+
lang?: string;
|
|
20
|
+
style?: string;
|
|
21
|
+
styleOverrides?: SubtitleEventStyleOverrides;
|
|
22
|
+
}
|
|
23
|
+
export interface EventTemplateRecord {
|
|
24
|
+
mixin?: string[];
|
|
25
|
+
properties?: object;
|
|
26
|
+
layout?: {
|
|
27
|
+
title?: string;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface EventDurationRecord {
|
|
31
|
+
scheduled?: number;
|
|
32
|
+
actual?: number;
|
|
33
|
+
in?: number;
|
|
34
|
+
out?: number | null;
|
|
35
|
+
}
|
|
36
|
+
export interface EventChildrenRecord {
|
|
37
|
+
value: string[];
|
|
38
|
+
}
|
|
39
|
+
type EventProps = {
|
|
40
|
+
source?: string;
|
|
41
|
+
cueCard?: boolean | string;
|
|
42
|
+
startTime?: number;
|
|
43
|
+
};
|
|
44
|
+
export type EventPropsRecord = EventProps & Record<Exclude<string, keyof EventProps>, JsonValue>;
|
|
45
|
+
export interface EventOverlayRecord {
|
|
46
|
+
[eventId: string]: {
|
|
47
|
+
data: EventPropsRecord;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export interface SubtitleEventStyleOverrides {
|
|
51
|
+
marginL?: string;
|
|
52
|
+
marginR?: string;
|
|
53
|
+
marginV?: string;
|
|
54
|
+
alignment?: string;
|
|
55
|
+
fontname?: string;
|
|
56
|
+
fontsize?: string;
|
|
57
|
+
primaryColour?: string;
|
|
58
|
+
secondaryColour?: string;
|
|
59
|
+
outlineColour?: string;
|
|
60
|
+
backColour?: string;
|
|
61
|
+
bold?: string;
|
|
62
|
+
italic?: string;
|
|
63
|
+
underline?: string;
|
|
64
|
+
strikeOut?: string;
|
|
65
|
+
}
|
|
66
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { FileStats, NxtError } from '../../common/index.ts';
|
|
2
|
+
export interface FileDomainRecords {
|
|
3
|
+
":file.replicate": FileReplicateRecord;
|
|
4
|
+
":file.restrictions": FileRestrictionsRecord;
|
|
5
|
+
":file.stats?": FileDomainStatsRecord;
|
|
6
|
+
}
|
|
7
|
+
export interface FileReplicateRecord {
|
|
8
|
+
replicas: string[];
|
|
9
|
+
error: NxtError | null;
|
|
10
|
+
}
|
|
11
|
+
export interface FileReplica {
|
|
12
|
+
name: string;
|
|
13
|
+
status: "ok" | "error";
|
|
14
|
+
error: NxtError | null;
|
|
15
|
+
}
|
|
16
|
+
export interface FileRestrictionsRecord {
|
|
17
|
+
[restrictionId: string]: {
|
|
18
|
+
asset: string;
|
|
19
|
+
date: string;
|
|
20
|
+
user: string;
|
|
21
|
+
text: string;
|
|
22
|
+
start: number;
|
|
23
|
+
end: number;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export type FileDomainStatsRecord = FileStats;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface GeneralDomainRecords {
|
|
2
|
+
":general.title": GeneralTitleRecord;
|
|
3
|
+
":general.tags": GeneralTagsRecord;
|
|
4
|
+
":general.created": GeneralCreatedRecord;
|
|
5
|
+
":general.poster": GeneralPosterRecord;
|
|
6
|
+
":general.status": GeneralStatusRecord;
|
|
7
|
+
":general.description": GeneralDescriptionRecord;
|
|
8
|
+
}
|
|
9
|
+
export interface GeneralTitleRecord {
|
|
10
|
+
value?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Record holding manually added tags
|
|
14
|
+
*/
|
|
15
|
+
export interface GeneralTagsRecord {
|
|
16
|
+
/**
|
|
17
|
+
* Manually added tags
|
|
18
|
+
*/
|
|
19
|
+
value?: string[];
|
|
20
|
+
}
|
|
21
|
+
export interface GeneralCreatedRecord {
|
|
22
|
+
time?: string;
|
|
23
|
+
user?: string;
|
|
24
|
+
origin?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface GeneralPosterRecord {
|
|
27
|
+
input?: {
|
|
28
|
+
type?: string;
|
|
29
|
+
file?: string;
|
|
30
|
+
};
|
|
31
|
+
preset?: string;
|
|
32
|
+
}
|
|
33
|
+
export type GeneralStatusRecord = {
|
|
34
|
+
[messageId: string]: GeneralStatusRecordValue;
|
|
35
|
+
};
|
|
36
|
+
export interface GeneralStatusRecordValue {
|
|
37
|
+
expose?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface GeneralDescriptionRecord {
|
|
40
|
+
value?: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { AssetDomainRecords } from './asset.ts';
|
|
2
|
+
import type { BundleDomainRecords } from './bundle.ts';
|
|
3
|
+
import type { CloneDomainRecords } from './clone.ts';
|
|
4
|
+
import type { CommentReactionDomainRecords } from './comment-reaction.ts';
|
|
5
|
+
import type { CommentReadMarkDomainRecords } from './comment-read-mark.ts';
|
|
6
|
+
import type { CommentDomainRecords } from './comment.ts';
|
|
7
|
+
import type { ConnectionDomainRecords } from './connection.ts';
|
|
8
|
+
import type { ContactDomainRecords } from './contact.ts';
|
|
9
|
+
import type { DeepstreamDomainRecords } from './deepstream.ts';
|
|
10
|
+
import type { DesignDomainRecords } from './design.ts';
|
|
11
|
+
import type { EditDomainRecords } from './edit.ts';
|
|
12
|
+
import type { EventDomainRecords } from './event.ts';
|
|
13
|
+
import type { FileDomainRecords } from './file.ts';
|
|
14
|
+
import type { GeneralDomainRecords } from './general.ts';
|
|
15
|
+
import type { MediaDomainRecords } from './media.ts';
|
|
16
|
+
import type { MonitorDomainRecords } from './monitor.ts';
|
|
17
|
+
import type { PanelDomainRecords } from './panel.ts';
|
|
18
|
+
import type { PermissionDomainRecords } from './permission.ts';
|
|
19
|
+
import type { PipelinePresetDomainRecords } from './pipeline-preset.ts';
|
|
20
|
+
import type { PipelineDomainRecords } from './pipeline.ts';
|
|
21
|
+
import type { PlanningDomainRecords } from './planning.ts';
|
|
22
|
+
import type { PrompterDomainRecords } from './prompter.ts';
|
|
23
|
+
import type { PublishDomainRecords } from './publish.ts';
|
|
24
|
+
import type { PublishedDomainRecords } from './published.ts';
|
|
25
|
+
import type { RenderPresetDomainRecords } from './render-preset.ts';
|
|
26
|
+
import type { RenderDomainRecords } from './render.ts';
|
|
27
|
+
import type { RevsDomainRecords } from './revs.ts';
|
|
28
|
+
import type { RoleDomainRecords } from './role.ts';
|
|
29
|
+
import type { ScriptDomainRecords } from './script.ts';
|
|
30
|
+
import type { SearchDomainRecords } from './search.ts';
|
|
31
|
+
import type { SettingsDomainRecords } from './settings.ts';
|
|
32
|
+
import type { StoryboardDomainRecords } from './storyboard.ts';
|
|
33
|
+
import type { SubtitleStyleDomainRecords } from './subtitle-style.ts';
|
|
34
|
+
import type { SubtitleDomainRecords } from './subtitle.ts';
|
|
35
|
+
import type { TemplateDomainRecords } from './template.ts';
|
|
36
|
+
import type { UserNotificationStatusDomainRecords } from './user-notification-status.ts';
|
|
37
|
+
import type { UserNotificationDomainRecords } from './user-notification.ts';
|
|
38
|
+
import type { UserDomainRecords } from './user.ts';
|
|
39
|
+
export * from './asset.ts';
|
|
40
|
+
export * from './bundle.ts';
|
|
41
|
+
export * from './clone.ts';
|
|
42
|
+
export * from './comment-reaction.ts';
|
|
43
|
+
export * from './comment-read-mark.ts';
|
|
44
|
+
export * from './comment.ts';
|
|
45
|
+
export * from './connection.ts';
|
|
46
|
+
export * from './contact.ts';
|
|
47
|
+
export * from './deepstream.ts';
|
|
48
|
+
export * from './design.ts';
|
|
49
|
+
export * from './edit.ts';
|
|
50
|
+
export * from './event.ts';
|
|
51
|
+
export * from './file.ts';
|
|
52
|
+
export * from './general.ts';
|
|
53
|
+
export * from './media.ts';
|
|
54
|
+
export * from './monitor.ts';
|
|
55
|
+
export * from './panel.ts';
|
|
56
|
+
export * from './permission.ts';
|
|
57
|
+
export * from './pipeline-preset.ts';
|
|
58
|
+
export * from './pipeline.ts';
|
|
59
|
+
export * from './planning.ts';
|
|
60
|
+
export * from './prompter.ts';
|
|
61
|
+
export * from './publish.ts';
|
|
62
|
+
export * from './published.ts';
|
|
63
|
+
export * from './render-preset.ts';
|
|
64
|
+
export * from './render.ts';
|
|
65
|
+
export * from './revs.ts';
|
|
66
|
+
export * from './role.ts';
|
|
67
|
+
export * from './script.ts';
|
|
68
|
+
export * from './search.ts';
|
|
69
|
+
export * from './settings.ts';
|
|
70
|
+
export * from './storyboard.ts';
|
|
71
|
+
export * from './subtitle-style.ts';
|
|
72
|
+
export * from './subtitle.ts';
|
|
73
|
+
export * from './template.ts';
|
|
74
|
+
export * from './user-notification-status.ts';
|
|
75
|
+
export * from './user-notification.ts';
|
|
76
|
+
export * from './user.ts';
|
|
77
|
+
export type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & MonitorDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PrompterDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RenderDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & SubtitleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export * from "./asset.js";
|
|
2
|
+
export * from "./bundle.js";
|
|
3
|
+
export * from "./clone.js";
|
|
4
|
+
export * from "./comment-reaction.js";
|
|
5
|
+
export * from "./comment-read-mark.js";
|
|
6
|
+
export * from "./comment.js";
|
|
7
|
+
export * from "./connection.js";
|
|
8
|
+
export * from "./contact.js";
|
|
9
|
+
export * from "./deepstream.js";
|
|
10
|
+
export * from "./design.js";
|
|
11
|
+
export * from "./edit.js";
|
|
12
|
+
export * from "./event.js";
|
|
13
|
+
export * from "./file.js";
|
|
14
|
+
export * from "./general.js";
|
|
15
|
+
export * from "./media.js";
|
|
16
|
+
export * from "./monitor.js";
|
|
17
|
+
export * from "./panel.js";
|
|
18
|
+
export * from "./permission.js";
|
|
19
|
+
export * from "./pipeline-preset.js";
|
|
20
|
+
export * from "./pipeline.js";
|
|
21
|
+
export * from "./planning.js";
|
|
22
|
+
export * from "./prompter.js";
|
|
23
|
+
export * from "./publish.js";
|
|
24
|
+
export * from "./published.js";
|
|
25
|
+
export * from "./render-preset.js";
|
|
26
|
+
export * from "./render.js";
|
|
27
|
+
export * from "./revs.js";
|
|
28
|
+
export * from "./role.js";
|
|
29
|
+
export * from "./script.js";
|
|
30
|
+
export * from "./search.js";
|
|
31
|
+
export * from "./settings.js";
|
|
32
|
+
export * from "./storyboard.js";
|
|
33
|
+
export * from "./subtitle-style.js";
|
|
34
|
+
export * from "./subtitle.js";
|
|
35
|
+
export * from "./template.js";
|
|
36
|
+
export * from "./user-notification-status.js";
|
|
37
|
+
export * from "./user-notification.js";
|
|
38
|
+
export * from "./user.js";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { Operation } from 'rfc6902';
|
|
2
|
+
import type { NxtError, MediaType, RenderPreset, RenderSceneObject } from '../../common/index.ts';
|
|
3
|
+
export interface MediaDomainRecords {
|
|
4
|
+
":media.source": MediaSourceRecord;
|
|
5
|
+
":media.consolidate": MediaDomainConsolidateRecord;
|
|
6
|
+
":media.renders?": MediaRendersRecord;
|
|
7
|
+
":media.transcriptChanges": MediaTranscriptChangesRecord;
|
|
8
|
+
":media.font": MediaFontRecord;
|
|
9
|
+
":media.restrictions?": MediaRestrictionsRecord;
|
|
10
|
+
":media.probe?": MediaProbeRecord;
|
|
11
|
+
":media.updateSubtitles?": MediaDomainUpdateSubtitlesRecord;
|
|
12
|
+
":media.updateGraphics?": MediaDomainUpdateGraphicsRecord;
|
|
13
|
+
}
|
|
14
|
+
export type MediaSourceRecord = RenderSceneObject;
|
|
15
|
+
export interface MediaDomainConsolidateRecord {
|
|
16
|
+
source?: unknown;
|
|
17
|
+
target?: unknown;
|
|
18
|
+
preset?: RenderPreset;
|
|
19
|
+
error?: unknown;
|
|
20
|
+
}
|
|
21
|
+
export interface MediaRendersRecord {
|
|
22
|
+
children: MediaRenderRecordValue[];
|
|
23
|
+
}
|
|
24
|
+
export interface MediaRenderRecordValue {
|
|
25
|
+
id?: string;
|
|
26
|
+
title?: string;
|
|
27
|
+
children?: MediaRenderRecordValue[];
|
|
28
|
+
}
|
|
29
|
+
export type MediaTranscriptChangesRecord = {
|
|
30
|
+
[patchKey: string]: MediaTranscriptChangesRecordValue;
|
|
31
|
+
};
|
|
32
|
+
export interface MediaTranscriptChangesRecordValue {
|
|
33
|
+
patch?: Operation[];
|
|
34
|
+
}
|
|
35
|
+
export interface MediaFontRecord {
|
|
36
|
+
sampleText?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface MediaRestrictionsRecord {
|
|
39
|
+
[restrictionId: string]: {
|
|
40
|
+
asset: string;
|
|
41
|
+
date: string;
|
|
42
|
+
user: string;
|
|
43
|
+
text: string;
|
|
44
|
+
start: number;
|
|
45
|
+
end: number;
|
|
46
|
+
file: string;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export interface MediaProbeRecord {
|
|
50
|
+
duration?: number | null;
|
|
51
|
+
error: NxtError | null;
|
|
52
|
+
type: MediaType;
|
|
53
|
+
live?: boolean | null;
|
|
54
|
+
url?: string | null;
|
|
55
|
+
subtitle?: {
|
|
56
|
+
codec?: string | null;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export interface MediaDomainUpdateSubtitlesRecord {
|
|
60
|
+
[key: string]: unknown;
|
|
61
|
+
}
|
|
62
|
+
export interface MediaDomainUpdateGraphicsRecord {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export interface MonitorDomainRecords {
|
|
2
|
+
":monitor.stats?": MonitorStatsRecord;
|
|
3
|
+
}
|
|
4
|
+
export interface MonitorStatsRecord {
|
|
5
|
+
gpu: unknown;
|
|
6
|
+
proc: MonitorStatsProcInfo;
|
|
7
|
+
buddyinfo: MonitorStatsBuddyInfo;
|
|
8
|
+
meminfo: MonitorStatsMemInfo;
|
|
9
|
+
net: MonitorStatsNetworkInfo;
|
|
10
|
+
var: {
|
|
11
|
+
used: number;
|
|
12
|
+
available: number;
|
|
13
|
+
timestamp: number;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface MonitorStatsProcInfoCpu {
|
|
17
|
+
[key: string]: string | number | boolean | null;
|
|
18
|
+
}
|
|
19
|
+
export interface MonitorStatsProcInfo {
|
|
20
|
+
cpu: MonitorStatsProcInfoCpu | null;
|
|
21
|
+
cpus?: MonitorStatsProcInfoCpu[];
|
|
22
|
+
threads: number;
|
|
23
|
+
load: number[] | null;
|
|
24
|
+
interrupts?: number[] | null;
|
|
25
|
+
contextSwitches: number | null;
|
|
26
|
+
bootTime: number | null;
|
|
27
|
+
processes: number | null;
|
|
28
|
+
running: number | null;
|
|
29
|
+
blocked: number | null;
|
|
30
|
+
softirqs: unknown;
|
|
31
|
+
cmdline: unknown;
|
|
32
|
+
timestamp: number;
|
|
33
|
+
total: number | null;
|
|
34
|
+
idle: number | null;
|
|
35
|
+
active: number | null;
|
|
36
|
+
utilization: number | null;
|
|
37
|
+
}
|
|
38
|
+
export interface MonitorStatsBuddyInfo {
|
|
39
|
+
normal?: number[];
|
|
40
|
+
high?: number[];
|
|
41
|
+
timestamp: number;
|
|
42
|
+
}
|
|
43
|
+
export interface MonitorStatsMemInfo {
|
|
44
|
+
[key: string]: string | number | boolean | null;
|
|
45
|
+
}
|
|
46
|
+
export interface NetworkInterfaceInfo {
|
|
47
|
+
name: string;
|
|
48
|
+
timestamp?: number;
|
|
49
|
+
rxBytes?: number;
|
|
50
|
+
rxBytesOrigin?: number;
|
|
51
|
+
rxBytesSec?: number;
|
|
52
|
+
rxBytesValue?: number;
|
|
53
|
+
rxDropped?: number;
|
|
54
|
+
rxDroppedOrigin?: number;
|
|
55
|
+
rxDroppedSec?: number;
|
|
56
|
+
rxDroppedValue?: number;
|
|
57
|
+
rxErrors?: number;
|
|
58
|
+
rxErrorsOrigin?: number;
|
|
59
|
+
rxErrorsSec?: number;
|
|
60
|
+
rxErrorsValue?: number;
|
|
61
|
+
rxPackets?: number;
|
|
62
|
+
rxPacketsOrigin?: number;
|
|
63
|
+
rxPacketsSec?: number;
|
|
64
|
+
rxPacketsValue?: number;
|
|
65
|
+
txBytes?: number;
|
|
66
|
+
txBytesOrigin?: number;
|
|
67
|
+
txBytesSec?: number;
|
|
68
|
+
txBytesValue?: number;
|
|
69
|
+
txDropped?: number;
|
|
70
|
+
txDroppedOrigin?: number;
|
|
71
|
+
txDroppedSec?: number;
|
|
72
|
+
txDroppedValue?: number;
|
|
73
|
+
txErrors?: number;
|
|
74
|
+
txErrorsOrigin?: number;
|
|
75
|
+
txErrorsSec?: number;
|
|
76
|
+
txErrorsValue?: number;
|
|
77
|
+
}
|
|
78
|
+
export interface MonitorStatsNetworkInfo {
|
|
79
|
+
softnet: {
|
|
80
|
+
timestamp: number;
|
|
81
|
+
squeezed?: number;
|
|
82
|
+
squeezedDay?: number;
|
|
83
|
+
squeezedHour?: number;
|
|
84
|
+
processed?: number;
|
|
85
|
+
processedDay?: number;
|
|
86
|
+
processedHour?: number;
|
|
87
|
+
processedMinute?: number;
|
|
88
|
+
cpus: Array<{
|
|
89
|
+
cpu: number;
|
|
90
|
+
processed?: number;
|
|
91
|
+
dropped?: number;
|
|
92
|
+
squeezed?: number;
|
|
93
|
+
}>;
|
|
94
|
+
};
|
|
95
|
+
sockstat: {
|
|
96
|
+
timestamp: number;
|
|
97
|
+
sockets?: Record<string, unknown>;
|
|
98
|
+
tcp?: Record<string, unknown>;
|
|
99
|
+
udp?: Record<string, unknown>;
|
|
100
|
+
udplite?: Record<string, unknown>;
|
|
101
|
+
raw?: Record<string, unknown>;
|
|
102
|
+
frag?: Record<string, unknown>;
|
|
103
|
+
};
|
|
104
|
+
bonding: Array<NetworkInterfaceInfo & {
|
|
105
|
+
slaves: string[];
|
|
106
|
+
name: string;
|
|
107
|
+
[key: string]: unknown;
|
|
108
|
+
}>;
|
|
109
|
+
eth: Array<NetworkInterfaceInfo & {
|
|
110
|
+
speed?: number;
|
|
111
|
+
rxUnicastBytes?: number;
|
|
112
|
+
rxMulticastBytes?: number;
|
|
113
|
+
rxBroadcastBytes?: number;
|
|
114
|
+
[key: string]: unknown;
|
|
115
|
+
}>;
|
|
116
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { Nxtpression } from '../../common/nxtpression.ts';
|
|
2
|
+
export interface PanelDomainRecords {
|
|
3
|
+
":panel": PanelDomainPanelRecord;
|
|
4
|
+
}
|
|
5
|
+
export interface PanelDomainPanelRecord {
|
|
6
|
+
title?: string;
|
|
7
|
+
supports?: string[] | string;
|
|
8
|
+
priority?: number;
|
|
9
|
+
editorPriority?: number;
|
|
10
|
+
properties?: {
|
|
11
|
+
[key: string]: PanelProperty;
|
|
12
|
+
};
|
|
13
|
+
layout?: {
|
|
14
|
+
panel?: PanelLayout;
|
|
15
|
+
editor?: PanelLayout;
|
|
16
|
+
};
|
|
17
|
+
filter?: Nxtpression;
|
|
18
|
+
expand?: Nxtpression;
|
|
19
|
+
}
|
|
20
|
+
export interface PanelProperty {
|
|
21
|
+
/** Specifying what type of data will be entered into the field. */
|
|
22
|
+
type: "array" | "asset" | "boolean" | "datetime" | "number" | "string" | "object" | "rpc";
|
|
23
|
+
/** User-friendly title of the property. This will be used as the field's label in the UI. */
|
|
24
|
+
title?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
domain?: string;
|
|
27
|
+
path?: string;
|
|
28
|
+
computed?: Nxtpression<unknown>;
|
|
29
|
+
/** An object specifying where to index the data. Adding this will effectively make the data searchable. */
|
|
30
|
+
index?: {
|
|
31
|
+
/** A string specifying the user-friendly title of the search property. This is what users will see when creating search filters and bookmarks. */
|
|
32
|
+
label: string;
|
|
33
|
+
/** A string specifying where to store the data in the search index. Note that this should be a globally unique value in the system. Typically you'd use `{domain}.{path}` and you should prefer English in camel case */
|
|
34
|
+
path: string;
|
|
35
|
+
};
|
|
36
|
+
/** If present, indicates that the user must specify a value for the asset to be treated as valid. */
|
|
37
|
+
required?: boolean;
|
|
38
|
+
oneOf?: unknown[];
|
|
39
|
+
}
|
|
40
|
+
export type PanelLayout = string | PanelLayoutDivider | PanelLayoutItem | PanelLayout[];
|
|
41
|
+
export interface PanelLayoutItem {
|
|
42
|
+
property: string;
|
|
43
|
+
width?: string | number;
|
|
44
|
+
widget?: LayoutWidget;
|
|
45
|
+
}
|
|
46
|
+
export interface PanelLayoutDivider {
|
|
47
|
+
type: "divider";
|
|
48
|
+
title?: string;
|
|
49
|
+
}
|
|
50
|
+
export type LayoutWidget = WidgetType | WidgetItem;
|
|
51
|
+
export type WidgetType = "default" | "assetTypes" | "assetTags" | "geopoint" | "poster" | "textarea" | "tags";
|
|
52
|
+
export interface WidgetItem {
|
|
53
|
+
type: WidgetType;
|
|
54
|
+
readOnly?: boolean;
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface PermissionDomainRecords {
|
|
2
|
+
":permission?": ProvidedPermissionRecord;
|
|
3
|
+
":permission": PermissionRecord;
|
|
4
|
+
}
|
|
5
|
+
export interface ProvidedPermissionRecord {
|
|
6
|
+
permissions: PermissionRecordPermisson[];
|
|
7
|
+
}
|
|
8
|
+
export type PermissionRecord = PermissionRecordPermisson;
|
|
9
|
+
export type PermissionRecordPermisson = TagPermission | AssetPermission | RpcPermission;
|
|
10
|
+
export interface TagPermission {
|
|
11
|
+
type: "tag";
|
|
12
|
+
method?: undefined;
|
|
13
|
+
tags: string[];
|
|
14
|
+
}
|
|
15
|
+
export declare const isTagPermission: (input: unknown) => input is TagPermission;
|
|
16
|
+
export interface AssetPermission {
|
|
17
|
+
type: "asset";
|
|
18
|
+
method: string;
|
|
19
|
+
tags?: undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface RpcPermission {
|
|
22
|
+
type: "rpc";
|
|
23
|
+
method: string;
|
|
24
|
+
tags?: undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import typia from "typia";
|
|
2
|
+
export const isTagPermission = (() => { const _io0 = input => "tag" === input.type && (null !== input.method && undefined === input.method) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)); return input => "object" === typeof input && null !== input && _io0(input); })();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PipelineSortMode } from '../../common/index.ts';
|
|
2
|
+
export interface PipelinePresetDomainRecords {
|
|
3
|
+
":pipeline-preset": PipelinePresetDomainRecord;
|
|
4
|
+
}
|
|
5
|
+
export interface PipelinePresetDomainRecord {
|
|
6
|
+
createMenuItems?: string[] | null;
|
|
7
|
+
color?: string;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
sortMode?: PipelineSortMode;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface PipelineDomainRecords {
|
|
2
|
+
":pipeline": PipelineDomainRecord;
|
|
3
|
+
":pipeline.items": PipelineDomainItemsRecord;
|
|
4
|
+
}
|
|
5
|
+
export interface PipelineDomainRecord {
|
|
6
|
+
dummy?: boolean;
|
|
7
|
+
assetType?: "pipeline" | "collection";
|
|
8
|
+
preset?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
tags?: string[];
|
|
11
|
+
type?: string;
|
|
12
|
+
bookmarkId?: string;
|
|
13
|
+
hiddenCreateMenuItems?: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
export interface PipelineDomainItemsRecord {
|
|
16
|
+
value?: string[];
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface PlanningDomainRecords {
|
|
2
|
+
":planning": PlanningRecord;
|
|
3
|
+
":planning.assignees": PlanningAssigneesRecord;
|
|
4
|
+
":planning.deadline": PlanningDeadlineRecord;
|
|
5
|
+
}
|
|
6
|
+
export interface PlanningRecord {
|
|
7
|
+
deadline?: string | null;
|
|
8
|
+
}
|
|
9
|
+
export interface PlanningAssigneesRecord {
|
|
10
|
+
value?: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface PlanningDeadlineRecord {
|
|
13
|
+
value: string | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface PrompterDomainRecords {
|
|
2
|
+
":prompter": PrompterDomainRecord;
|
|
3
|
+
}
|
|
4
|
+
export interface PrompterDomainRecord {
|
|
5
|
+
asset: string;
|
|
6
|
+
primaryColor: string;
|
|
7
|
+
secondaryColor: string;
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
fontFamily?: string;
|
|
10
|
+
fontFamilies?: string[];
|
|
11
|
+
genericFontFamily?: string;
|
|
12
|
+
fontSize: number;
|
|
13
|
+
lineHeight: number;
|
|
14
|
+
markerPosition: number;
|
|
15
|
+
padding: number;
|
|
16
|
+
dummy?: boolean;
|
|
17
|
+
showInfo?: boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|