@nxtedition/types 23.0.40 → 23.0.42
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 -33
- package/dist/app.js +1 -655
- 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 +4 -17
- package/dist/common/render-preset.js +1 -1202
- package/dist/common/render-profile.d.ts +3 -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 -1843
- package/dist/common/render-scene.d.ts +3 -16
- package/dist/common/render-scene.js +1 -2408
- 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 +113 -125
- package/dist/common/settings.js +1 -7504
- 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 -108
- package/dist/index.js +5 -469
- package/dist/nxtpression.d.ts +538 -337
- 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 +8 -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 +149 -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 +23 -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 +11 -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 +16068 -0
- package/dist/records/validate/assert.d.ts +4 -0
- package/dist/records/validate/assert.js +16198 -0
- package/dist/records/validate/is.d.ts +4 -0
- package/dist/records/validate/is.js +1027 -0
- package/dist/records/validate/schemas.d.ts +9 -0
- package/dist/records/validate/schemas.js +12862 -0
- package/dist/records/validate/stringify.d.ts +4 -0
- package/dist/records/validate/stringify.js +1915 -0
- package/dist/records/validate/utils.d.ts +15 -0
- package/dist/records/validate/utils.js +26 -0
- package/dist/records/validate/validate-equals.d.ts +5 -0
- package/dist/records/validate/validate-equals.js +24363 -0
- package/dist/records/validate/validate.d.ts +5 -0
- package/dist/records/validate/validate.js +15127 -0
- package/dist/rpc.d.ts +5 -15
- package/dist/rpc.js +126 -511
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +25 -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 -170
- package/dist/domains/event.js +0 -2779
- 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 -4642
- 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 -1452
- package/dist/domains/publish.js +0 -35415
- 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 -158
- package/dist/domains/render.js +0 -4452
- 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 -263
- package/dist/domains/script.js +0 -6777
- 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 -7180
- package/dist/domains/storyboard.d.ts +0 -14
- package/dist/domains/storyboard.js +0 -125
- package/dist/domains/subtitle-style.d.ts +0 -42
- package/dist/domains/subtitle-style.js +0 -574
- 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 -9836
- 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,149 @@
|
|
|
1
|
+
import type { Message, RenderSceneObject, RenderProfileObject } from '../../common/index.ts';
|
|
2
|
+
import type { Nxtpression } from '../../common/index.ts';
|
|
3
|
+
export interface PublishDomainRecords {
|
|
4
|
+
[":publish"]: PublishRecord;
|
|
5
|
+
[":publish.stats?"]: PublishStatsRecord;
|
|
6
|
+
[":publish.methods?"]: PublishDomainMethodsRecord;
|
|
7
|
+
[":publish.accepts"]: PublishDomainAcceptsProvidedRecord;
|
|
8
|
+
}
|
|
9
|
+
export interface EmptyPublishRecord {
|
|
10
|
+
type: null;
|
|
11
|
+
asset?: string | null;
|
|
12
|
+
}
|
|
13
|
+
export type PublishRecord = YoutubePublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | EmptyPublishRecord;
|
|
14
|
+
export type PublishStatsRecord = YoutubePublishStatsRecord | FacebookPublishStatsRecord | FilePublishStatsRecord;
|
|
15
|
+
export interface PublishDomainMethodsRecord {
|
|
16
|
+
[key: string]: {
|
|
17
|
+
rpcId: string;
|
|
18
|
+
rpcData: Record<string, unknown>;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* render preset + overrides
|
|
23
|
+
*/
|
|
24
|
+
export interface PublishRender {
|
|
25
|
+
preset?: string;
|
|
26
|
+
type: string;
|
|
27
|
+
scene?: RenderSceneObject;
|
|
28
|
+
profile?: RenderProfileObject;
|
|
29
|
+
}
|
|
30
|
+
interface PublishRecordCommon<Type extends PublishRecord["type"]> {
|
|
31
|
+
type: Type;
|
|
32
|
+
asset?: string | null;
|
|
33
|
+
connection?: string;
|
|
34
|
+
render?: PublishRender;
|
|
35
|
+
draft?: Record<string, unknown>;
|
|
36
|
+
published?: Record<string, unknown>;
|
|
37
|
+
remote?: Record<string, unknown>;
|
|
38
|
+
error?: {
|
|
39
|
+
method: string;
|
|
40
|
+
} | null;
|
|
41
|
+
messages?: Message[];
|
|
42
|
+
}
|
|
43
|
+
export interface PublishStatsRecordCommon {
|
|
44
|
+
status?: string;
|
|
45
|
+
substatus?: string;
|
|
46
|
+
messages?: Message[];
|
|
47
|
+
retrieved?: Record<string, unknown>;
|
|
48
|
+
defaults?: Record<string, unknown>;
|
|
49
|
+
}
|
|
50
|
+
export interface YoutubePublishRecord extends PublishRecordCommon<"youtube"> {
|
|
51
|
+
draft?: {
|
|
52
|
+
snippet?: {
|
|
53
|
+
title?: string;
|
|
54
|
+
tags?: string[];
|
|
55
|
+
description?: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export interface YoutubePublishStatsRecord extends PublishStatsRecordCommon {
|
|
60
|
+
}
|
|
61
|
+
export interface FacebookPublishRecord extends PublishRecordCommon<"facebook"> {
|
|
62
|
+
pageId?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface FacebookPublishStatsRecord extends PublishStatsRecordCommon {
|
|
65
|
+
}
|
|
66
|
+
export interface FilePublishRecord extends PublishRecordCommon<"file"> {
|
|
67
|
+
directory?: string;
|
|
68
|
+
filename?: string;
|
|
69
|
+
renders?: Record<string, FilePublishRender>;
|
|
70
|
+
draft?: FilePublishDraft;
|
|
71
|
+
remote?: FilePublishRemote;
|
|
72
|
+
published?: FilePublishPublished;
|
|
73
|
+
}
|
|
74
|
+
export interface FilePublishRecordLegacy extends PublishRecordCommon<"file"> {
|
|
75
|
+
directory?: string;
|
|
76
|
+
filename?: string;
|
|
77
|
+
draft?: FilePublishDraft;
|
|
78
|
+
remote?: FilePublishRemoteLegacy;
|
|
79
|
+
published?: FilePublishPublished;
|
|
80
|
+
renders?: undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface FilePublishRemoteLegacy extends Record<string, unknown> {
|
|
83
|
+
id?: string;
|
|
84
|
+
path: string;
|
|
85
|
+
filename: string;
|
|
86
|
+
directory?: string;
|
|
87
|
+
subtitle?: {
|
|
88
|
+
path: string;
|
|
89
|
+
};
|
|
90
|
+
metafile?: {
|
|
91
|
+
path: string;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export type FilePublishRender = Nxtpression<ResolvedFilePublishRender, {
|
|
95
|
+
publish: FilePublishRecord;
|
|
96
|
+
directory: string;
|
|
97
|
+
name: string;
|
|
98
|
+
}>;
|
|
99
|
+
export interface ResolvedFilePublishRender extends Omit<PublishRender, "preset"> {
|
|
100
|
+
preset?: string;
|
|
101
|
+
name?: string;
|
|
102
|
+
path: string;
|
|
103
|
+
collisionStrategy?: "overwrite" | "skip";
|
|
104
|
+
ignoreEmptyScene?: boolean;
|
|
105
|
+
}
|
|
106
|
+
export interface FilePublishPublished extends Record<string, unknown> {
|
|
107
|
+
directory?: string;
|
|
108
|
+
filename: string;
|
|
109
|
+
}
|
|
110
|
+
export interface FilePublishDraft extends Record<string, unknown> {
|
|
111
|
+
directory?: string;
|
|
112
|
+
filename?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface FilePublishRemote extends Record<string, unknown> {
|
|
115
|
+
directory?: string;
|
|
116
|
+
filename?: string;
|
|
117
|
+
renders?: Record<string, FilePublishRemoteRender>;
|
|
118
|
+
}
|
|
119
|
+
export interface FilePublishRemoteRender {
|
|
120
|
+
path?: string;
|
|
121
|
+
messages?: Message[];
|
|
122
|
+
query?: unknown;
|
|
123
|
+
size?: number;
|
|
124
|
+
hash?: string;
|
|
125
|
+
source?: string;
|
|
126
|
+
}
|
|
127
|
+
export interface FilePublishStatsRecord extends PublishStatsRecordCommon {
|
|
128
|
+
retrieved?: FilePublishRetrieved;
|
|
129
|
+
defaults?: FilePublishDefaults;
|
|
130
|
+
}
|
|
131
|
+
export interface FilePublishRetrieved extends Record<string, unknown> {
|
|
132
|
+
filename?: string;
|
|
133
|
+
directory?: string;
|
|
134
|
+
renders?: Record<string, FilePublishRetrievedRender>;
|
|
135
|
+
}
|
|
136
|
+
export interface FilePublishRetrievedRender {
|
|
137
|
+
path: string;
|
|
138
|
+
size?: number;
|
|
139
|
+
hash?: string;
|
|
140
|
+
}
|
|
141
|
+
export interface FilePublishDefaults extends Record<string, unknown> {
|
|
142
|
+
directory: string;
|
|
143
|
+
filename: string;
|
|
144
|
+
renders: Record<string, FilePublishRender>;
|
|
145
|
+
}
|
|
146
|
+
export interface PublishDomainAcceptsProvidedRecord {
|
|
147
|
+
value?: unknown;
|
|
148
|
+
}
|
|
149
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { RenderSceneObject, RenderProfileObject } from '../../common/index.ts';
|
|
2
|
+
export interface RenderDomainRecords {
|
|
3
|
+
":render.stats?": RenderDomainStatsRecord;
|
|
4
|
+
":render.query?": RenderDomainQueryRecord;
|
|
5
|
+
":render.result?": RenderDomainResultRecord;
|
|
6
|
+
":render.schedulers?": RenderDomainSchedulersRecord;
|
|
7
|
+
}
|
|
8
|
+
export interface RenderDomainStatsRecord {
|
|
9
|
+
progress?: number | null;
|
|
10
|
+
error?: Array<Record<string, unknown>> | null;
|
|
11
|
+
status?: string | string[] | null;
|
|
12
|
+
lag?: number | null;
|
|
13
|
+
available?: boolean | null;
|
|
14
|
+
toobusy?: boolean | null;
|
|
15
|
+
cpuAvailable?: boolean | null;
|
|
16
|
+
cpuComputeAvailable?: number | null;
|
|
17
|
+
cpuComputeReservation?: number | null;
|
|
18
|
+
cpuCompute?: number | null;
|
|
19
|
+
cpuComputeLimit?: number | null;
|
|
20
|
+
cpuComputeTotal?: number | null;
|
|
21
|
+
cpuComputeValue?: number | null;
|
|
22
|
+
cpuMemoryAvailable?: number | null;
|
|
23
|
+
cpuMemoryReservation?: number | null;
|
|
24
|
+
cpuMemory?: number | null;
|
|
25
|
+
cpuMemoryLimit?: number | null;
|
|
26
|
+
cpuMemoryValue?: number | null;
|
|
27
|
+
cpuMemoryTotal?: number | null;
|
|
28
|
+
gpuType?: string | null;
|
|
29
|
+
gpuAvailable?: boolean | null;
|
|
30
|
+
gpuComputeAvailable?: number | null;
|
|
31
|
+
gpuComputeReservation?: number | null;
|
|
32
|
+
gpuCompute?: number | null;
|
|
33
|
+
gpuComputeLimit?: number | null;
|
|
34
|
+
gpuComputeValue?: number | null;
|
|
35
|
+
gpuComputeTotal?: number | null;
|
|
36
|
+
gpuMemoryAvailable?: number | null;
|
|
37
|
+
gpuMemoryReservation?: number | null;
|
|
38
|
+
gpuMemory?: number | null;
|
|
39
|
+
gpuMemoryLimit?: number | null;
|
|
40
|
+
gpuMemoryValue?: number | null;
|
|
41
|
+
gpuMemoryTotal?: number | null;
|
|
42
|
+
gpuQueueAvailable?: number | null;
|
|
43
|
+
gpuQueueReservation?: number | null;
|
|
44
|
+
gpuQueueLimit?: number | null;
|
|
45
|
+
gpuQueueValue?: number | null;
|
|
46
|
+
gpuQueueTotal?: number | null;
|
|
47
|
+
gpuEncoder?: number | null;
|
|
48
|
+
gpuEncoderLimit?: number | null;
|
|
49
|
+
gpuEncoderValue?: number | null;
|
|
50
|
+
gpuEncoderTotal?: number | null;
|
|
51
|
+
gpuDecoder?: number | null;
|
|
52
|
+
gpuDecoderLimit?: number | null;
|
|
53
|
+
gpuDecoderValue?: number | null;
|
|
54
|
+
gpuDecoderTotal?: number | null;
|
|
55
|
+
netAvailable?: boolean | null;
|
|
56
|
+
netTransferAvailable?: number | null;
|
|
57
|
+
netTransferReservation?: number | null;
|
|
58
|
+
netTransfer?: number | null;
|
|
59
|
+
netTransferLimit?: number | null;
|
|
60
|
+
netTransferValue?: number | null;
|
|
61
|
+
netTransferTotal?: number | null;
|
|
62
|
+
cpu?: number | null;
|
|
63
|
+
memory?: number | null;
|
|
64
|
+
activeCount: number | null;
|
|
65
|
+
totalCount: number | null;
|
|
66
|
+
gpuStat?: RenderDomainGpuStats | null;
|
|
67
|
+
cpuStat?: RenderDomainCpuStats | null;
|
|
68
|
+
netStat?: RenderDomainNetStats | null;
|
|
69
|
+
limits?: unknown;
|
|
70
|
+
taskset?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface RenderDomainGpuStats {
|
|
73
|
+
[key: string]: unknown;
|
|
74
|
+
}
|
|
75
|
+
export interface RenderDomainCpuStats {
|
|
76
|
+
cpu: {
|
|
77
|
+
idle: number;
|
|
78
|
+
total: number;
|
|
79
|
+
};
|
|
80
|
+
mem: {
|
|
81
|
+
used: number;
|
|
82
|
+
total: number;
|
|
83
|
+
arcstats: {
|
|
84
|
+
size: number | null;
|
|
85
|
+
};
|
|
86
|
+
meminfo: {
|
|
87
|
+
[key: string]: unknown;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
export interface RenderDomainNetStats {
|
|
92
|
+
used: number;
|
|
93
|
+
type?: string;
|
|
94
|
+
dev?: {
|
|
95
|
+
used: number;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
export interface RenderDomainQueryRecord {
|
|
99
|
+
type: string;
|
|
100
|
+
title: string;
|
|
101
|
+
parent?: string;
|
|
102
|
+
description: {
|
|
103
|
+
scene: RenderSceneObject;
|
|
104
|
+
profile: RenderProfileObject;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
export interface RenderDomainResultRecord {
|
|
108
|
+
[key: string]: unknown;
|
|
109
|
+
url?: string;
|
|
110
|
+
result?: unknown;
|
|
111
|
+
error?: null | Record<string, unknown> | Array<Record<string, unknown>>;
|
|
112
|
+
}
|
|
113
|
+
export interface RenderDomainSchedulersRecord {
|
|
114
|
+
[key: string]: number[];
|
|
115
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { SerializedEditorState, SerializedLexicalNode } from 'lexical';
|
|
2
|
+
/**
|
|
3
|
+
* A base64 encoded string representing a complete Yjs document state.
|
|
4
|
+
* This is created using `Y.encodeStateAsUpdate()` and is used for
|
|
5
|
+
* persistence and versioning.
|
|
6
|
+
*/
|
|
7
|
+
type YjsSnapshot = string;
|
|
8
|
+
export interface ScriptDomainRecords {
|
|
9
|
+
":script": ScriptRecord;
|
|
10
|
+
":script?": ScriptEditorStateRecord;
|
|
11
|
+
":script.revisions?": ScriptRevisionsRecord;
|
|
12
|
+
":script.revision": ScriptRevisionRecord;
|
|
13
|
+
":script.revision?": ScriptEditorStateRevisionRecord;
|
|
14
|
+
":script.content?": ScriptContentRecord;
|
|
15
|
+
":script.text?": ScriptTextRecord;
|
|
16
|
+
":script.children": ScriptChildrenRecord;
|
|
17
|
+
}
|
|
18
|
+
export interface ScriptRecord {
|
|
19
|
+
value: YjsSnapshot;
|
|
20
|
+
}
|
|
21
|
+
export interface ScriptEditorStateRecord {
|
|
22
|
+
value: SerializedEditorState;
|
|
23
|
+
}
|
|
24
|
+
interface ScriptRevision {
|
|
25
|
+
id: string;
|
|
26
|
+
userId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ScriptRevisionsRecord {
|
|
29
|
+
value: ScriptRevision[];
|
|
30
|
+
}
|
|
31
|
+
export interface ScriptRevisionRecord {
|
|
32
|
+
$parent: string;
|
|
33
|
+
scriptId: string;
|
|
34
|
+
userId: string;
|
|
35
|
+
value: YjsSnapshot;
|
|
36
|
+
}
|
|
37
|
+
export interface ScriptEditorStateRevisionRecord {
|
|
38
|
+
$parent: string;
|
|
39
|
+
scriptId: string;
|
|
40
|
+
userId: string;
|
|
41
|
+
value: SerializedEditorState;
|
|
42
|
+
}
|
|
43
|
+
export interface EventNodeContent {
|
|
44
|
+
type: "event";
|
|
45
|
+
id: string;
|
|
46
|
+
mixin: string;
|
|
47
|
+
children: EventNodeContent[];
|
|
48
|
+
}
|
|
49
|
+
export interface TextNodeContent {
|
|
50
|
+
type: "text" | "link" | "autolink";
|
|
51
|
+
text: string;
|
|
52
|
+
style?: string;
|
|
53
|
+
format?: number;
|
|
54
|
+
}
|
|
55
|
+
export interface ElementNodeContent {
|
|
56
|
+
type: SerializedLexicalNode["type"];
|
|
57
|
+
children: TextNodeContent[];
|
|
58
|
+
}
|
|
59
|
+
export interface ListItemNodeContent {
|
|
60
|
+
type: "listitem";
|
|
61
|
+
value: number;
|
|
62
|
+
checked?: boolean;
|
|
63
|
+
children: TextNodeContent[];
|
|
64
|
+
}
|
|
65
|
+
export interface ListNodeContent {
|
|
66
|
+
type: "list";
|
|
67
|
+
listType: "bullet" | "number" | "check";
|
|
68
|
+
tag: "ul" | "ol";
|
|
69
|
+
children: ListItemNodeContent[];
|
|
70
|
+
}
|
|
71
|
+
export interface ParagraphNodeContent extends ElementNodeContent {
|
|
72
|
+
type: "paragraph";
|
|
73
|
+
}
|
|
74
|
+
export interface CommentNodeContent extends ElementNodeContent {
|
|
75
|
+
type: "comment";
|
|
76
|
+
}
|
|
77
|
+
export interface HeadingNodeContent extends ElementNodeContent {
|
|
78
|
+
type: "heading";
|
|
79
|
+
tag: "h1" | "h2" | "h3";
|
|
80
|
+
}
|
|
81
|
+
export interface QuoteNodeContent extends ElementNodeContent {
|
|
82
|
+
type: "quote";
|
|
83
|
+
}
|
|
84
|
+
export interface HorizontalRuleContent {
|
|
85
|
+
type: "horizontalrule";
|
|
86
|
+
}
|
|
87
|
+
export type NodeContent = EventNodeContent | TextNodeContent | ParagraphNodeContent | CommentNodeContent | ListNodeContent | ListItemNodeContent | HeadingNodeContent | HorizontalRuleContent | QuoteNodeContent;
|
|
88
|
+
export interface ScriptContentRecord {
|
|
89
|
+
nodes: NodeContent[];
|
|
90
|
+
}
|
|
91
|
+
export interface ScriptTextRecord {
|
|
92
|
+
content: string;
|
|
93
|
+
graphics: string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* A record for non-script automation assets that can have child events.
|
|
97
|
+
*/
|
|
98
|
+
export interface ScriptChildrenRecord {
|
|
99
|
+
value?: string[];
|
|
100
|
+
}
|
|
101
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface SearchDomainRecords {
|
|
2
|
+
":search": SearchRecord;
|
|
3
|
+
":search?": SearchRecordProvided;
|
|
4
|
+
}
|
|
5
|
+
export interface SearchRecord {
|
|
6
|
+
type?: "conditions_and";
|
|
7
|
+
sort?: Array<{
|
|
8
|
+
[key: string]: "asc" | "desc";
|
|
9
|
+
}>;
|
|
10
|
+
showDefault?: boolean;
|
|
11
|
+
showDeleted?: boolean;
|
|
12
|
+
showHidden?: boolean;
|
|
13
|
+
view?: "GRID_VIEW" | "LIST_VIEW" | "CALENDAR_VIEW" | "MAP_VIEW" | "AGENDA_VIEW" | "RESOURCE_VIEW";
|
|
14
|
+
conditions?: Array<unknown>;
|
|
15
|
+
visibleColumnKeys?: null | string[];
|
|
16
|
+
connectionId?: string | null;
|
|
17
|
+
}
|
|
18
|
+
export interface SearchRecordProvided {
|
|
19
|
+
hits: string[];
|
|
20
|
+
total?: number;
|
|
21
|
+
relation?: string;
|
|
22
|
+
error?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface StoryboardDomainRecords {
|
|
2
|
+
":storyboard": StoryboardDomainRecord;
|
|
3
|
+
":storyboard.pipelines": StoryboardDomainPipelinesRecord;
|
|
4
|
+
}
|
|
5
|
+
export interface StoryboardDomainRecord {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface StoryboardDomainPipelinesRecord {
|
|
9
|
+
value?: string[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SubtitleStyle } from '../../common/subtitle-style.ts';
|
|
2
|
+
export interface SubtitleStyleDomainRecords {
|
|
3
|
+
":subtitle-style": SubtitleStyleDomainRecord;
|
|
4
|
+
}
|
|
5
|
+
export interface SubtitleStyleDomainRecord extends SubtitleStyle {
|
|
6
|
+
scaledBorderAndShadow?: boolean;
|
|
7
|
+
futureWordWrapping?: boolean;
|
|
8
|
+
previewSettings?: {
|
|
9
|
+
aspectRatio?: string;
|
|
10
|
+
backgroundAssetId?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface TemplateDomainRecords {
|
|
2
|
+
":template": TemplateRecord;
|
|
3
|
+
}
|
|
4
|
+
export interface TemplateRecord {
|
|
5
|
+
controller?: string;
|
|
6
|
+
mixin?: string[];
|
|
7
|
+
properties?: Record<string, TemplateProperty>;
|
|
8
|
+
}
|
|
9
|
+
export interface TemplateProperty {
|
|
10
|
+
path?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface UserNotificationStatusDomainRecords {
|
|
2
|
+
":_user-notification-status": UserNotificationStatusDomainRecord;
|
|
3
|
+
}
|
|
4
|
+
export interface UserNotificationStatusDomainRecord {
|
|
5
|
+
assignee?: UserNotificationStatusAssignee;
|
|
6
|
+
published?: UserNotificationStatusPublished;
|
|
7
|
+
comment?: UserNotificationStatusComment;
|
|
8
|
+
}
|
|
9
|
+
export interface UserNotificationStatusAssignee {
|
|
10
|
+
/**
|
|
11
|
+
* Array of user ID:s that was assigned to the assed last time it was
|
|
12
|
+
* considered for notifications.
|
|
13
|
+
*/
|
|
14
|
+
value?: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface UserNotificationStatusComment {
|
|
17
|
+
/**
|
|
18
|
+
* When array of user ID:s: Indicates which users have been considered for
|
|
19
|
+
* notifications about this comment. When `true`: Indicates that we have
|
|
20
|
+
* considered this comment for notifications, but we don't know which users
|
|
21
|
+
* have been notified.
|
|
22
|
+
*/
|
|
23
|
+
value?: string[] | true;
|
|
24
|
+
}
|
|
25
|
+
export interface UserNotificationStatusPublished {
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, this published asset has been considered for notifications.
|
|
28
|
+
*/
|
|
29
|
+
value?: true;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type NotificationReason } from '../../common/user-notification.ts';
|
|
2
|
+
export interface UserNotificationDomainRecords {
|
|
3
|
+
":user-notification": UserNotificationRecord;
|
|
4
|
+
":user-notification.readAt": UserNotificationDomainReadAtRecord;
|
|
5
|
+
}
|
|
6
|
+
export interface UserNotificationCommon {
|
|
7
|
+
/** The user that the notification is for. */
|
|
8
|
+
userId: string;
|
|
9
|
+
/** The type of the notification, which will determine the shape of the payload. */
|
|
10
|
+
type: string;
|
|
11
|
+
/** Type specific data. */
|
|
12
|
+
payload: object;
|
|
13
|
+
/** When the notification was created. */
|
|
14
|
+
timestamp: string;
|
|
15
|
+
/** For what reasons the notification was created. */
|
|
16
|
+
reasons: NotificationReason[];
|
|
17
|
+
/**
|
|
18
|
+
* Asset that triggered this notification. Not necessarily the same asset that
|
|
19
|
+
* the notification is mainly about.
|
|
20
|
+
*/
|
|
21
|
+
triggerId?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface UserNotificationAssigned extends UserNotificationCommon {
|
|
24
|
+
type: "assigned";
|
|
25
|
+
payload: {
|
|
26
|
+
assetId: string;
|
|
27
|
+
actionBy?: string;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface UserNotificationUnassigned extends UserNotificationCommon {
|
|
31
|
+
type: "unassigned";
|
|
32
|
+
payload: {
|
|
33
|
+
assetId: string;
|
|
34
|
+
actionBy?: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export interface UserNotificationComment extends UserNotificationCommon {
|
|
38
|
+
type: "comment";
|
|
39
|
+
payload: {
|
|
40
|
+
commentId: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface UserNotificationAddedToSearch extends UserNotificationCommon {
|
|
44
|
+
type: "added-to-search";
|
|
45
|
+
payload: {
|
|
46
|
+
searchId: string;
|
|
47
|
+
assetId: string;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export interface UserNotificationPublishSucceeded extends UserNotificationCommon {
|
|
51
|
+
type: "publishSucceeded";
|
|
52
|
+
payload: {
|
|
53
|
+
/** The user that published the asset. */
|
|
54
|
+
userId?: string;
|
|
55
|
+
/** The asset that was published. */
|
|
56
|
+
assetId: string;
|
|
57
|
+
/** The publish asset representing the publish. */
|
|
58
|
+
publishId: string;
|
|
59
|
+
/** The connection that was used to publish the asset. */
|
|
60
|
+
connectionId: string;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export type UserNotificationRecord = UserNotificationAssigned | UserNotificationUnassigned | UserNotificationComment | UserNotificationAddedToSearch | UserNotificationPublishSucceeded;
|
|
64
|
+
export interface UserNotificationDomainReadAtRecord {
|
|
65
|
+
/**
|
|
66
|
+
* ISO8601 date string. If set, the user has marked the notification as read at that timestamp.
|
|
67
|
+
*/
|
|
68
|
+
value?: string;
|
|
69
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface UserDomainRecords {
|
|
2
|
+
":user": UserDomainRecord;
|
|
3
|
+
":user.latestSeenNotification": UserDomainLatestSeenNotificationRecord;
|
|
4
|
+
":user.receivedNotifications?": UserDomainReceivedNotificationsProvidedRecord;
|
|
5
|
+
":user.unseenNotifications?": UserDomainUnseenNotificationsRecord;
|
|
6
|
+
}
|
|
7
|
+
export interface UserDomainRecord {
|
|
8
|
+
username?: string;
|
|
9
|
+
roles?: string[];
|
|
10
|
+
}
|
|
11
|
+
export interface UserDomainLatestSeenNotificationRecord {
|
|
12
|
+
value?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface UserDomainReceivedNotificationsProvidedRecord {
|
|
15
|
+
/**
|
|
16
|
+
* IDs of notifications the user has received.
|
|
17
|
+
*/
|
|
18
|
+
value?: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface UserDomainUnseenNotificationsRecord {
|
|
21
|
+
hasUnseen?: boolean;
|
|
22
|
+
latestReceived?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|