@nxtedition/types 23.0.24 → 23.0.25
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/common/nxtpression.d.ts +8 -0
- package/dist/domains/connection.d.ts +28 -18
- package/dist/domains/connection.js +968 -194
- package/dist/domains/index.d.ts +3 -1
- package/dist/domains/index.js +1 -0
- package/dist/domains/media.d.ts +1 -0
- package/dist/domains/media.js +23 -6
- package/dist/domains/publish.d.ts +71 -15
- package/dist/domains/publish.js +23088 -5976
- package/dist/domains/render.d.ts +1 -0
- package/dist/domains/render.js +155 -18
- package/dist/domains/settings.d.ts +884 -4
- package/dist/domains/settings.js +323 -323
- package/dist/domains/subtitle.d.ts +19 -0
- package/dist/domains/subtitle.js +212 -0
- package/dist/index.js +13 -12
- package/dist/schema.json +2277 -2082
- package/package.json +1 -1
package/dist/domains/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import type { SearchDomainRecords } from './search.js';
|
|
|
29
29
|
import type { SettingsDomainRecords } from './settings.js';
|
|
30
30
|
import type { StoryboardDomainRecords } from './storyboard.js';
|
|
31
31
|
import type { SubtitleStyleDomainRecords } from './subtitle-style.js';
|
|
32
|
+
import type { SubtitleDomainRecords } from './subtitle.js';
|
|
32
33
|
import type { TemplateDomainRecords } from './template.js';
|
|
33
34
|
import type { UserNotificationStatusDomainRecords } from './user-notification-status.js';
|
|
34
35
|
import type { UserNotificationDomainRecords } from './user-notification.js';
|
|
@@ -64,8 +65,9 @@ export * from './search.js';
|
|
|
64
65
|
export * from './settings.js';
|
|
65
66
|
export * from './storyboard.js';
|
|
66
67
|
export * from './subtitle-style.js';
|
|
68
|
+
export * from './subtitle.js';
|
|
67
69
|
export * from './template.js';
|
|
68
70
|
export * from './user-notification-status.js';
|
|
69
71
|
export * from './user-notification.js';
|
|
70
72
|
export * from './user.js';
|
|
71
|
-
export type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RenderDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
|
|
73
|
+
export type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RenderDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & SubtitleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
|
package/dist/domains/index.js
CHANGED
|
@@ -29,6 +29,7 @@ export * from './search.js';
|
|
|
29
29
|
export * from './settings.js';
|
|
30
30
|
export * from './storyboard.js';
|
|
31
31
|
export * from './subtitle-style.js';
|
|
32
|
+
export * from './subtitle.js';
|
|
32
33
|
export * from './template.js';
|
|
33
34
|
export * from './user-notification-status.js';
|
|
34
35
|
export * from './user-notification.js';
|
package/dist/domains/media.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ export interface MediaProbeRecord {
|
|
|
99
99
|
duration?: number | null;
|
|
100
100
|
error: NxtError | null;
|
|
101
101
|
type: MediaType;
|
|
102
|
+
live?: boolean | null;
|
|
102
103
|
}
|
|
103
104
|
export declare const isMediaProbeRecord: (input: unknown) => input is MediaProbeRecord;
|
|
104
105
|
export declare const assertMediaProbeRecord: (input: unknown) => MediaProbeRecord;
|
package/dist/domains/media.js
CHANGED
|
@@ -3301,7 +3301,7 @@ export const assertStringifyMediaRestrictionsRecord = (input, errorFactory) => {
|
|
|
3301
3301
|
return $so0(input);
|
|
3302
3302
|
}; return stringify(assert(input, errorFactory)); };
|
|
3303
3303
|
export const isMediaProbeRecord = input => {
|
|
3304
|
-
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type);
|
|
3304
|
+
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type) && (null === input.live || undefined === input.live || "boolean" === typeof input.live);
|
|
3305
3305
|
const $io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3306
3306
|
const $io2 = input => Object.keys(input).every(key => {
|
|
3307
3307
|
const value = input[key];
|
|
@@ -3314,7 +3314,7 @@ export const isMediaProbeRecord = input => {
|
|
|
3314
3314
|
};
|
|
3315
3315
|
export const assertMediaProbeRecord = (input, errorFactory) => {
|
|
3316
3316
|
const __is = input => {
|
|
3317
|
-
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type);
|
|
3317
|
+
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type) && (null === input.live || undefined === input.live || "boolean" === typeof input.live);
|
|
3318
3318
|
const $io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3319
3319
|
const $io2 = input => Object.keys(input).every(key => {
|
|
3320
3320
|
const value = input[key];
|
|
@@ -3345,6 +3345,10 @@ export const assertMediaProbeRecord = (input, errorFactory) => {
|
|
|
3345
3345
|
path: _path + ".type",
|
|
3346
3346
|
expected: "(\"audio\" | \"image\" | \"video\")",
|
|
3347
3347
|
value: input.type
|
|
3348
|
+
}, errorFactory)) && (null === input.live || undefined === input.live || "boolean" === typeof input.live || $guard(_exceptionable, {
|
|
3349
|
+
path: _path + ".live",
|
|
3350
|
+
expected: "(boolean | null | undefined)",
|
|
3351
|
+
value: input.live
|
|
3348
3352
|
}, errorFactory));
|
|
3349
3353
|
const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
|
|
3350
3354
|
path: _path + ".message",
|
|
@@ -3451,6 +3455,11 @@ export const randomMediaProbeRecord = generator => {
|
|
|
3451
3455
|
() => "audio",
|
|
3452
3456
|
() => "video",
|
|
3453
3457
|
() => "image"
|
|
3458
|
+
])(),
|
|
3459
|
+
live: $pick([
|
|
3460
|
+
() => undefined,
|
|
3461
|
+
() => null,
|
|
3462
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
3454
3463
|
])()
|
|
3455
3464
|
});
|
|
3456
3465
|
const $ro1 = (_recursive = true, _depth = 0) => ({
|
|
@@ -3504,7 +3513,7 @@ export const randomMediaProbeRecord = generator => {
|
|
|
3504
3513
|
};
|
|
3505
3514
|
export const assertGuardMediaProbeRecord = (input, errorFactory) => {
|
|
3506
3515
|
const __is = input => {
|
|
3507
|
-
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type);
|
|
3516
|
+
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type) && (null === input.live || undefined === input.live || "boolean" === typeof input.live);
|
|
3508
3517
|
const $io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3509
3518
|
const $io2 = input => Object.keys(input).every(key => {
|
|
3510
3519
|
const value = input[key];
|
|
@@ -3535,6 +3544,10 @@ export const assertGuardMediaProbeRecord = (input, errorFactory) => {
|
|
|
3535
3544
|
path: _path + ".type",
|
|
3536
3545
|
expected: "(\"audio\" | \"image\" | \"video\")",
|
|
3537
3546
|
value: input.type
|
|
3547
|
+
}, errorFactory)) && (null === input.live || undefined === input.live || "boolean" === typeof input.live || $guard(_exceptionable, {
|
|
3548
|
+
path: _path + ".live",
|
|
3549
|
+
expected: "(boolean | null | undefined)",
|
|
3550
|
+
value: input.live
|
|
3538
3551
|
}, errorFactory));
|
|
3539
3552
|
const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
|
|
3540
3553
|
path: _path + ".message",
|
|
@@ -3634,7 +3647,7 @@ export const stringifyMediaProbeRecord = input => {
|
|
|
3634
3647
|
const $io3 = input => true;
|
|
3635
3648
|
const $string = __typia.json.createStringify.string;
|
|
3636
3649
|
const $throws = __typia.json.createStringify.throws;
|
|
3637
|
-
const $so0 = input => `{${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? null !== input.duration ? input.duration : "null" : undefined},`}"error":${null !== input.error ? $so1(input.error) : "null"},"type":${(() => {
|
|
3650
|
+
const $so0 = input => `{${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? null !== input.duration ? input.duration : "null" : undefined},`}${undefined === input.live ? "" : `"live":${undefined !== input.live ? null !== input.live ? input.live : "null" : undefined},`}"error":${null !== input.error ? $so1(input.error) : "null"},"type":${(() => {
|
|
3638
3651
|
if ("string" === typeof input.type)
|
|
3639
3652
|
return $string(input.type);
|
|
3640
3653
|
if ("string" === typeof input.type)
|
|
@@ -3651,7 +3664,7 @@ export const stringifyMediaProbeRecord = input => {
|
|
|
3651
3664
|
};
|
|
3652
3665
|
export const assertStringifyMediaProbeRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
3653
3666
|
const __is = input => {
|
|
3654
|
-
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration)) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type);
|
|
3667
|
+
const $io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration)) && (null === input.error || "object" === typeof input.error && null !== input.error && $io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type) && (null === input.live || undefined === input.live || "boolean" === typeof input.live);
|
|
3655
3668
|
const $io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode && !Number.isNaN(input.exitCode)) && (undefined === input.signalCode || "number" === typeof input.signalCode && !Number.isNaN(input.signalCode)) && (undefined === input.statusCode || "number" === typeof input.statusCode && !Number.isNaN(input.statusCode)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3656
3669
|
const $io2 = input => Object.keys(input).every(key => {
|
|
3657
3670
|
const value = input[key];
|
|
@@ -3682,6 +3695,10 @@ export const assertStringifyMediaProbeRecord = (input, errorFactory) => { const
|
|
|
3682
3695
|
path: _path + ".type",
|
|
3683
3696
|
expected: "(\"audio\" | \"image\" | \"video\")",
|
|
3684
3697
|
value: input.type
|
|
3698
|
+
}, errorFactory)) && (null === input.live || undefined === input.live || "boolean" === typeof input.live || $guard(_exceptionable, {
|
|
3699
|
+
path: _path + ".live",
|
|
3700
|
+
expected: "(boolean | null | undefined)",
|
|
3701
|
+
value: input.live
|
|
3685
3702
|
}, errorFactory));
|
|
3686
3703
|
const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
|
|
3687
3704
|
path: _path + ".message",
|
|
@@ -3781,7 +3798,7 @@ export const assertStringifyMediaProbeRecord = (input, errorFactory) => { const
|
|
|
3781
3798
|
const $io3 = input => true;
|
|
3782
3799
|
const $string = __typia.json.createAssertStringify.string;
|
|
3783
3800
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
3784
|
-
const $so0 = input => `{${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? null !== input.duration ? input.duration : "null" : undefined},`}"error":${null !== input.error ? $so1(input.error) : "null"},"type":${(() => {
|
|
3801
|
+
const $so0 = input => `{${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? null !== input.duration ? input.duration : "null" : undefined},`}${undefined === input.live ? "" : `"live":${undefined !== input.live ? null !== input.live ? input.live : "null" : undefined},`}"error":${null !== input.error ? $so1(input.error) : "null"},"type":${(() => {
|
|
3785
3802
|
if ("string" === typeof input.type)
|
|
3786
3803
|
return $string(input.type);
|
|
3787
3804
|
if ("string" === typeof input.type)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
-
import type { Message } from '../common/index.js';
|
|
2
|
+
import type { Message, RenderSceneObject, RenderProfileObject } from '../common/index.js';
|
|
3
|
+
import type { Nxtpression } from '../common/index.js';
|
|
3
4
|
export interface PublishDomainRecords {
|
|
4
5
|
[":publish"]: PublishRecord;
|
|
5
6
|
[":publish.stats?"]: PublishStatsRecord;
|
|
@@ -9,7 +10,7 @@ export interface PublishDomainRecords {
|
|
|
9
10
|
}>;
|
|
10
11
|
[":publish.accepts"]: PublishDomainAcceptsProvidedRecord;
|
|
11
12
|
}
|
|
12
|
-
export type PublishRecord = YoutubePublishRecord | FacebookPublishRecord | FilePublishRecord;
|
|
13
|
+
export type PublishRecord = YoutubePublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy;
|
|
13
14
|
export declare const isPublishRecord: (input: unknown) => input is PublishRecord;
|
|
14
15
|
export declare const assertPublishRecord: (input: unknown) => PublishRecord;
|
|
15
16
|
export declare const randomPublishRecord: () => PublishRecord;
|
|
@@ -23,11 +24,26 @@ export declare const randomPublishStatsRecord: () => PublishStatsRecord;
|
|
|
23
24
|
export declare const assertGuardPublishStatsRecord: __AssertionGuard<PublishStatsRecord>;
|
|
24
25
|
export declare const stringifyPublishStatsRecord: (input: PublishStatsRecord) => string;
|
|
25
26
|
export declare const assertStringifyPublishStatsRecord: (input: unknown) => string;
|
|
27
|
+
/**
|
|
28
|
+
* render preset + overrides
|
|
29
|
+
*/
|
|
30
|
+
export interface PublishRender {
|
|
31
|
+
preset?: string;
|
|
32
|
+
type: string;
|
|
33
|
+
scene?: RenderSceneObject;
|
|
34
|
+
profile?: RenderProfileObject;
|
|
35
|
+
}
|
|
36
|
+
export declare const isPublishRender: (input: unknown) => input is PublishRender;
|
|
37
|
+
export declare const assertPublishRender: (input: unknown) => PublishRender;
|
|
38
|
+
export declare const randomPublishRender: () => PublishRender;
|
|
39
|
+
export declare const assertGuardPublishRender: __AssertionGuard<PublishRender>;
|
|
40
|
+
export declare const stringifyPublishRender: (input: PublishRender) => string;
|
|
41
|
+
export declare const assertStringifyPublishRender: (input: unknown) => string;
|
|
26
42
|
interface PublishRecordCommon<Type extends PublishRecord["type"]> {
|
|
27
43
|
type: Type;
|
|
28
44
|
asset?: string;
|
|
29
45
|
connection?: string;
|
|
30
|
-
render?:
|
|
46
|
+
render?: PublishRender;
|
|
31
47
|
draft?: Record<string, unknown>;
|
|
32
48
|
published?: Record<string, unknown>;
|
|
33
49
|
remote?: Record<string, unknown>;
|
|
@@ -103,25 +119,65 @@ export declare const randomFilePublishRecord: () => FilePublishRecord;
|
|
|
103
119
|
export declare const assertGuardFilePublishRecord: __AssertionGuard<FilePublishRecord>;
|
|
104
120
|
export declare const stringifyFilePublishRecord: (input: FilePublishRecord) => string;
|
|
105
121
|
export declare const assertStringifyFilePublishRecord: (input: unknown) => string;
|
|
106
|
-
export interface
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
export interface FilePublishRecordLegacy extends PublishRecordCommon<"file"> {
|
|
123
|
+
directory?: string;
|
|
124
|
+
filename?: string;
|
|
125
|
+
draft?: FilePublishDraft;
|
|
126
|
+
remote?: FilePublishRemoteLegacy;
|
|
127
|
+
published?: FilePublishPublished;
|
|
128
|
+
renders?: undefined;
|
|
129
|
+
}
|
|
130
|
+
export declare const isFilePublishRecordLegacy: (input: unknown) => input is FilePublishRecordLegacy;
|
|
131
|
+
export declare const assertFilePublishRecordLegacy: (input: unknown) => FilePublishRecordLegacy;
|
|
132
|
+
export declare const randomFilePublishRecordLegacy: () => FilePublishRecordLegacy;
|
|
133
|
+
export declare const assertGuardFilePublishRecordLegacy: __AssertionGuard<FilePublishRecordLegacy>;
|
|
134
|
+
export declare const stringifyFilePublishRecordLegacy: (input: FilePublishRecordLegacy) => string;
|
|
135
|
+
export declare const assertStringifyFilePublishRecordLegacy: (input: unknown) => string;
|
|
136
|
+
export interface FilePublishRemoteLegacy extends Record<string, unknown> {
|
|
137
|
+
id?: string;
|
|
138
|
+
path: string;
|
|
139
|
+
filename: string;
|
|
140
|
+
directory?: string;
|
|
141
|
+
subtitle?: {
|
|
142
|
+
path: string;
|
|
143
|
+
};
|
|
144
|
+
metafile?: {
|
|
145
|
+
path: string;
|
|
146
|
+
};
|
|
115
147
|
}
|
|
148
|
+
export declare const isFilePublishRemoteLegacy: (input: unknown) => input is FilePublishRemoteLegacy;
|
|
149
|
+
export declare const assertFilePublishRemoteLegacy: (input: unknown) => FilePublishRemoteLegacy;
|
|
150
|
+
export declare const randomFilePublishRemoteLegacy: () => FilePublishRemoteLegacy;
|
|
151
|
+
export declare const assertGuardFilePublishRemoteLegacy: __AssertionGuard<FilePublishRemoteLegacy>;
|
|
152
|
+
export declare const stringifyFilePublishRemoteLegacy: (input: FilePublishRemoteLegacy) => string;
|
|
153
|
+
export declare const assertStringifyFilePublishRemoteLegacy: (input: unknown) => string;
|
|
154
|
+
export type FilePublishRender = Nxtpression<ResolvedFilePublishRender, {
|
|
155
|
+
publish: FilePublishRecord;
|
|
156
|
+
directory: string;
|
|
157
|
+
name: string;
|
|
158
|
+
}>;
|
|
116
159
|
export declare const isFilePublishRender: (input: unknown) => input is FilePublishRender;
|
|
117
160
|
export declare const assertFilePublishRender: (input: unknown) => FilePublishRender;
|
|
118
161
|
export declare const randomFilePublishRender: () => FilePublishRender;
|
|
119
162
|
export declare const assertGuardFilePublishRender: __AssertionGuard<FilePublishRender>;
|
|
120
163
|
export declare const stringifyFilePublishRender: (input: FilePublishRender) => string;
|
|
121
164
|
export declare const assertStringifyFilePublishRender: (input: unknown) => string;
|
|
165
|
+
export interface ResolvedFilePublishRender extends Omit<PublishRender, "preset"> {
|
|
166
|
+
preset?: string;
|
|
167
|
+
name?: string;
|
|
168
|
+
path: string;
|
|
169
|
+
collisionStrategy?: "overwrite" | "skip";
|
|
170
|
+
ignoreEmptyScene?: boolean;
|
|
171
|
+
}
|
|
172
|
+
export declare const isResolvedFilePublishRender: (input: unknown) => input is ResolvedFilePublishRender;
|
|
173
|
+
export declare const assertResolvedFilePublishRender: (input: unknown) => ResolvedFilePublishRender;
|
|
174
|
+
export declare const randomResolvedFilePublishRender: () => ResolvedFilePublishRender;
|
|
175
|
+
export declare const assertGuardResolvedFilePublishRender: __AssertionGuard<ResolvedFilePublishRender>;
|
|
176
|
+
export declare const stringifyResolvedFilePublishRender: (input: ResolvedFilePublishRender) => string;
|
|
177
|
+
export declare const assertStringifyResolvedFilePublishRender: (input: unknown) => string;
|
|
122
178
|
export interface FilePublishPublished extends Record<string, unknown> {
|
|
123
179
|
directory?: string;
|
|
124
|
-
filename
|
|
180
|
+
filename: string;
|
|
125
181
|
}
|
|
126
182
|
export declare const isFilePublishPublished: (input: unknown) => input is FilePublishPublished;
|
|
127
183
|
export declare const assertFilePublishPublished: (input: unknown) => FilePublishPublished;
|
|
@@ -154,7 +210,7 @@ export interface FilePublishRemoteRender {
|
|
|
154
210
|
path?: string;
|
|
155
211
|
messages?: Message[];
|
|
156
212
|
query?: unknown;
|
|
157
|
-
size?:
|
|
213
|
+
size?: number;
|
|
158
214
|
hash?: string;
|
|
159
215
|
source?: string;
|
|
160
216
|
}
|
|
@@ -187,7 +243,7 @@ export declare const stringifyFilePublishRetrieved: (input: FilePublishRetrieved
|
|
|
187
243
|
export declare const assertStringifyFilePublishRetrieved: (input: unknown) => string;
|
|
188
244
|
export interface FilePublishRetrievedRender {
|
|
189
245
|
path: string;
|
|
190
|
-
size?:
|
|
246
|
+
size?: number;
|
|
191
247
|
hash?: string;
|
|
192
248
|
}
|
|
193
249
|
export declare const isFilePublishRetrievedRender: (input: unknown) => input is FilePublishRetrievedRender;
|