@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
package/dist/domains/search.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
-
export interface SearchDomainRecords {
|
|
3
|
-
":search?": SearchRecord;
|
|
4
|
-
}
|
|
5
|
-
export interface SearchRecord {
|
|
6
|
-
hits: string[];
|
|
7
|
-
total?: number;
|
|
8
|
-
relation?: string;
|
|
9
|
-
error?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const isSearchRecord: (input: unknown) => input is SearchRecord;
|
|
12
|
-
export declare const assertSearchRecord: (input: unknown) => SearchRecord;
|
|
13
|
-
export declare const randomSearchRecord: () => SearchRecord;
|
|
14
|
-
export declare const assertGuardSearchRecord: __AssertionGuard<SearchRecord>;
|
|
15
|
-
export declare const stringifySearchRecord: (input: SearchRecord) => string;
|
|
16
|
-
export declare const assertStringifySearchRecord: (input: unknown) => string;
|
package/dist/domains/search.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import __typia from "typia";
|
|
2
|
-
export const isSearchRecord = input => {
|
|
3
|
-
const $io0 = input => Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error);
|
|
4
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
5
|
-
};
|
|
6
|
-
export const assertSearchRecord = (input, errorFactory) => {
|
|
7
|
-
const __is = input => {
|
|
8
|
-
const $io0 = input => Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error);
|
|
9
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
10
|
-
};
|
|
11
|
-
if (false === __is(input))
|
|
12
|
-
((input, _path, _exceptionable = true) => {
|
|
13
|
-
const $guard = __typia.createAssert.guard;
|
|
14
|
-
const $ao0 = (input, _path, _exceptionable = true) => ((Array.isArray(input.hits) || $guard(_exceptionable, {
|
|
15
|
-
path: _path + ".hits",
|
|
16
|
-
expected: "Array<string>",
|
|
17
|
-
value: input.hits
|
|
18
|
-
}, errorFactory)) && input.hits.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
19
|
-
path: _path + ".hits[" + _index1 + "]",
|
|
20
|
-
expected: "string",
|
|
21
|
-
value: elem
|
|
22
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
23
|
-
path: _path + ".hits",
|
|
24
|
-
expected: "Array<string>",
|
|
25
|
-
value: input.hits
|
|
26
|
-
}, errorFactory)) && (undefined === input.total || "number" === typeof input.total || $guard(_exceptionable, {
|
|
27
|
-
path: _path + ".total",
|
|
28
|
-
expected: "(number | undefined)",
|
|
29
|
-
value: input.total
|
|
30
|
-
}, errorFactory)) && (undefined === input.relation || "string" === typeof input.relation || $guard(_exceptionable, {
|
|
31
|
-
path: _path + ".relation",
|
|
32
|
-
expected: "(string | undefined)",
|
|
33
|
-
value: input.relation
|
|
34
|
-
}, errorFactory)) && (undefined === input.error || "string" === typeof input.error || $guard(_exceptionable, {
|
|
35
|
-
path: _path + ".error",
|
|
36
|
-
expected: "(string | undefined)",
|
|
37
|
-
value: input.error
|
|
38
|
-
}, errorFactory));
|
|
39
|
-
return ("object" === typeof input && null !== input || $guard(true, {
|
|
40
|
-
path: _path + "",
|
|
41
|
-
expected: "SearchRecord",
|
|
42
|
-
value: input
|
|
43
|
-
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
44
|
-
path: _path + "",
|
|
45
|
-
expected: "SearchRecord",
|
|
46
|
-
value: input
|
|
47
|
-
}, errorFactory);
|
|
48
|
-
})(input, "$input", true);
|
|
49
|
-
return input;
|
|
50
|
-
};
|
|
51
|
-
export const randomSearchRecord = generator => {
|
|
52
|
-
const $generator = __typia.createRandom.generator;
|
|
53
|
-
const $pick = __typia.createRandom.pick;
|
|
54
|
-
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
55
|
-
hits: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()),
|
|
56
|
-
total: $pick([
|
|
57
|
-
() => undefined,
|
|
58
|
-
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
59
|
-
])(),
|
|
60
|
-
relation: $pick([
|
|
61
|
-
() => undefined,
|
|
62
|
-
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
63
|
-
])(),
|
|
64
|
-
error: $pick([
|
|
65
|
-
() => undefined,
|
|
66
|
-
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
67
|
-
])()
|
|
68
|
-
});
|
|
69
|
-
return $ro0();
|
|
70
|
-
};
|
|
71
|
-
export const assertGuardSearchRecord = (input, errorFactory) => {
|
|
72
|
-
const __is = input => {
|
|
73
|
-
const $io0 = input => Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error);
|
|
74
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
75
|
-
};
|
|
76
|
-
if (false === __is(input))
|
|
77
|
-
((input, _path, _exceptionable = true) => {
|
|
78
|
-
const $guard = __typia.createAssertGuard.guard;
|
|
79
|
-
const $ao0 = (input, _path, _exceptionable = true) => ((Array.isArray(input.hits) || $guard(_exceptionable, {
|
|
80
|
-
path: _path + ".hits",
|
|
81
|
-
expected: "Array<string>",
|
|
82
|
-
value: input.hits
|
|
83
|
-
}, errorFactory)) && input.hits.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
84
|
-
path: _path + ".hits[" + _index1 + "]",
|
|
85
|
-
expected: "string",
|
|
86
|
-
value: elem
|
|
87
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
88
|
-
path: _path + ".hits",
|
|
89
|
-
expected: "Array<string>",
|
|
90
|
-
value: input.hits
|
|
91
|
-
}, errorFactory)) && (undefined === input.total || "number" === typeof input.total || $guard(_exceptionable, {
|
|
92
|
-
path: _path + ".total",
|
|
93
|
-
expected: "(number | undefined)",
|
|
94
|
-
value: input.total
|
|
95
|
-
}, errorFactory)) && (undefined === input.relation || "string" === typeof input.relation || $guard(_exceptionable, {
|
|
96
|
-
path: _path + ".relation",
|
|
97
|
-
expected: "(string | undefined)",
|
|
98
|
-
value: input.relation
|
|
99
|
-
}, errorFactory)) && (undefined === input.error || "string" === typeof input.error || $guard(_exceptionable, {
|
|
100
|
-
path: _path + ".error",
|
|
101
|
-
expected: "(string | undefined)",
|
|
102
|
-
value: input.error
|
|
103
|
-
}, errorFactory));
|
|
104
|
-
return ("object" === typeof input && null !== input || $guard(true, {
|
|
105
|
-
path: _path + "",
|
|
106
|
-
expected: "SearchRecord",
|
|
107
|
-
value: input
|
|
108
|
-
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
109
|
-
path: _path + "",
|
|
110
|
-
expected: "SearchRecord",
|
|
111
|
-
value: input
|
|
112
|
-
}, errorFactory);
|
|
113
|
-
})(input, "$input", true);
|
|
114
|
-
};
|
|
115
|
-
export const stringifySearchRecord = input => {
|
|
116
|
-
const $string = __typia.json.createStringify.string;
|
|
117
|
-
const $so0 = input => `{${undefined === input.total ? "" : `"total":${undefined !== input.total ? input.total : undefined},`}${undefined === input.relation ? "" : `"relation":${undefined !== input.relation ? $string(input.relation) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? $string(input.error) : undefined},`}"hits":${`[${input.hits.map(elem => $string(elem)).join(",")}]`}}`;
|
|
118
|
-
return $so0(input);
|
|
119
|
-
};
|
|
120
|
-
export const assertStringifySearchRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
121
|
-
const __is = input => {
|
|
122
|
-
const $io0 = input => Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total && !Number.isNaN(input.total)) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error);
|
|
123
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
124
|
-
};
|
|
125
|
-
if (false === __is(input))
|
|
126
|
-
((input, _path, _exceptionable = true) => {
|
|
127
|
-
const $guard = __typia.json.createAssertStringify.guard;
|
|
128
|
-
const $ao0 = (input, _path, _exceptionable = true) => ((Array.isArray(input.hits) || $guard(_exceptionable, {
|
|
129
|
-
path: _path + ".hits",
|
|
130
|
-
expected: "Array<string>",
|
|
131
|
-
value: input.hits
|
|
132
|
-
}, errorFactory)) && input.hits.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
133
|
-
path: _path + ".hits[" + _index1 + "]",
|
|
134
|
-
expected: "string",
|
|
135
|
-
value: elem
|
|
136
|
-
}, errorFactory)) || $guard(_exceptionable, {
|
|
137
|
-
path: _path + ".hits",
|
|
138
|
-
expected: "Array<string>",
|
|
139
|
-
value: input.hits
|
|
140
|
-
}, errorFactory)) && (undefined === input.total || "number" === typeof input.total && !Number.isNaN(input.total) || $guard(_exceptionable, {
|
|
141
|
-
path: _path + ".total",
|
|
142
|
-
expected: "(number | undefined)",
|
|
143
|
-
value: input.total
|
|
144
|
-
}, errorFactory)) && (undefined === input.relation || "string" === typeof input.relation || $guard(_exceptionable, {
|
|
145
|
-
path: _path + ".relation",
|
|
146
|
-
expected: "(string | undefined)",
|
|
147
|
-
value: input.relation
|
|
148
|
-
}, errorFactory)) && (undefined === input.error || "string" === typeof input.error || $guard(_exceptionable, {
|
|
149
|
-
path: _path + ".error",
|
|
150
|
-
expected: "(string | undefined)",
|
|
151
|
-
value: input.error
|
|
152
|
-
}, errorFactory));
|
|
153
|
-
return ("object" === typeof input && null !== input || $guard(true, {
|
|
154
|
-
path: _path + "",
|
|
155
|
-
expected: "SearchRecord",
|
|
156
|
-
value: input
|
|
157
|
-
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
158
|
-
path: _path + "",
|
|
159
|
-
expected: "SearchRecord",
|
|
160
|
-
value: input
|
|
161
|
-
}, errorFactory);
|
|
162
|
-
})(input, "$input", true);
|
|
163
|
-
return input;
|
|
164
|
-
}; const stringify = input => {
|
|
165
|
-
const $string = __typia.json.createAssertStringify.string;
|
|
166
|
-
const $so0 = input => `{${undefined === input.total ? "" : `"total":${undefined !== input.total ? input.total : undefined},`}${undefined === input.relation ? "" : `"relation":${undefined !== input.relation ? $string(input.relation) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? $string(input.error) : undefined},`}"hits":${`[${input.hits.map(elem => $string(elem)).join(",")}]`}}`;
|
|
167
|
-
return $so0(input);
|
|
168
|
-
}; return stringify(assert(input, errorFactory)); };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
-
import type { Settings } from '../common/index.js';
|
|
3
|
-
export interface SettingsDomainRecords {
|
|
4
|
-
":settings": Settings;
|
|
5
|
-
}
|
|
6
|
-
export type SettingsRecord = Settings;
|
|
7
|
-
export declare const isSettingsRecord: (input: unknown) => input is Settings;
|
|
8
|
-
export declare const assertSettingsRecord: (input: unknown) => Settings;
|
|
9
|
-
export declare const randomSettingsRecord: () => Settings;
|
|
10
|
-
export declare const assertGuardSettingsRecord: __AssertionGuard<SettingsRecord>;
|
|
11
|
-
export declare const stringifySettingsRecord: (input: Settings) => string;
|
|
12
|
-
export declare const assertStringifySettingsRecord: (input: unknown) => string;
|