@nxtedition/types 1.0.0

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.
@@ -0,0 +1,18 @@
1
+ import { type AssertionGuard as __AssertionGuard } from "typia";
2
+ export interface EventDomainRecords {
3
+ ":event": EventRecord;
4
+ ":event._template?": Record<string, unknown>;
5
+ }
6
+ export interface EventRecord {
7
+ start?: number;
8
+ end?: number;
9
+ duration?: number;
10
+ text?: string;
11
+ lang?: string;
12
+ }
13
+ export declare const isEventRecord: (input: unknown) => input is EventRecord;
14
+ export declare const assertEventRecord: (input: unknown) => EventRecord;
15
+ export declare const randomEventRecord: () => EventRecord;
16
+ export declare const assertGuardEventRecord: __AssertionGuard<EventRecord>;
17
+ export declare const stringifyEventRecord: (input: EventRecord) => string;
18
+ export declare const assertStringifyEventRecord: (input: unknown) => string;
@@ -0,0 +1,165 @@
1
+ import __typia from "typia";
2
+ export const isEventRecord = input => {
3
+ const $io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang);
4
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5
+ };
6
+ export const assertEventRecord = (input, errorFactory) => {
7
+ const __is = input => {
8
+ const $io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang);
9
+ return "object" === typeof input && null !== input && false === Array.isArray(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) => (undefined === input.start || "number" === typeof input.start || $guard(_exceptionable, {
15
+ path: _path + ".start",
16
+ expected: "(number | undefined)",
17
+ value: input.start
18
+ }, errorFactory)) && (undefined === input.end || "number" === typeof input.end || $guard(_exceptionable, {
19
+ path: _path + ".end",
20
+ expected: "(number | undefined)",
21
+ value: input.end
22
+ }, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || $guard(_exceptionable, {
23
+ path: _path + ".duration",
24
+ expected: "(number | undefined)",
25
+ value: input.duration
26
+ }, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
27
+ path: _path + ".text",
28
+ expected: "(string | undefined)",
29
+ value: input.text
30
+ }, errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
31
+ path: _path + ".lang",
32
+ expected: "(string | undefined)",
33
+ value: input.lang
34
+ }, errorFactory));
35
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
36
+ path: _path + "",
37
+ expected: "EventRecord",
38
+ value: input
39
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
40
+ path: _path + "",
41
+ expected: "EventRecord",
42
+ value: input
43
+ }, errorFactory);
44
+ })(input, "$input", true);
45
+ return input;
46
+ };
47
+ export const randomEventRecord = generator => {
48
+ const $generator = __typia.createRandom.generator;
49
+ const $pick = __typia.createRandom.pick;
50
+ const $ro0 = (_recursive = false, _depth = 0) => ({
51
+ start: $pick([
52
+ () => undefined,
53
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
54
+ ])(),
55
+ end: $pick([
56
+ () => undefined,
57
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
58
+ ])(),
59
+ duration: $pick([
60
+ () => undefined,
61
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
62
+ ])(),
63
+ text: $pick([
64
+ () => undefined,
65
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
66
+ ])(),
67
+ lang: $pick([
68
+ () => undefined,
69
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
70
+ ])()
71
+ });
72
+ return $ro0();
73
+ };
74
+ export const assertGuardEventRecord = (input, errorFactory) => {
75
+ const __is = input => {
76
+ const $io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang);
77
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
78
+ };
79
+ if (false === __is(input))
80
+ ((input, _path, _exceptionable = true) => {
81
+ const $guard = __typia.createAssertGuard.guard;
82
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.start || "number" === typeof input.start || $guard(_exceptionable, {
83
+ path: _path + ".start",
84
+ expected: "(number | undefined)",
85
+ value: input.start
86
+ }, errorFactory)) && (undefined === input.end || "number" === typeof input.end || $guard(_exceptionable, {
87
+ path: _path + ".end",
88
+ expected: "(number | undefined)",
89
+ value: input.end
90
+ }, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || $guard(_exceptionable, {
91
+ path: _path + ".duration",
92
+ expected: "(number | undefined)",
93
+ value: input.duration
94
+ }, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
95
+ path: _path + ".text",
96
+ expected: "(string | undefined)",
97
+ value: input.text
98
+ }, errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
99
+ path: _path + ".lang",
100
+ expected: "(string | undefined)",
101
+ value: input.lang
102
+ }, errorFactory));
103
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
104
+ path: _path + "",
105
+ expected: "EventRecord",
106
+ value: input
107
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
108
+ path: _path + "",
109
+ expected: "EventRecord",
110
+ value: input
111
+ }, errorFactory);
112
+ })(input, "$input", true);
113
+ };
114
+ export const stringifyEventRecord = input => {
115
+ const $string = __typia.json.createStringify.string;
116
+ const $tail = __typia.json.createStringify.tail;
117
+ const $so0 = input => `{${$tail(`${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined}`}`)}}`;
118
+ return $so0(input);
119
+ };
120
+ export const assertStringifyEventRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
121
+ const __is = input => {
122
+ const $io0 = input => (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration)) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang);
123
+ return "object" === typeof input && null !== input && false === Array.isArray(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) => (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start) || $guard(_exceptionable, {
129
+ path: _path + ".start",
130
+ expected: "(number | undefined)",
131
+ value: input.start
132
+ }, errorFactory)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end) || $guard(_exceptionable, {
133
+ path: _path + ".end",
134
+ expected: "(number | undefined)",
135
+ value: input.end
136
+ }, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration) || $guard(_exceptionable, {
137
+ path: _path + ".duration",
138
+ expected: "(number | undefined)",
139
+ value: input.duration
140
+ }, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
141
+ path: _path + ".text",
142
+ expected: "(string | undefined)",
143
+ value: input.text
144
+ }, errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
145
+ path: _path + ".lang",
146
+ expected: "(string | undefined)",
147
+ value: input.lang
148
+ }, errorFactory));
149
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
150
+ path: _path + "",
151
+ expected: "EventRecord",
152
+ value: input
153
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
154
+ path: _path + "",
155
+ expected: "EventRecord",
156
+ value: input
157
+ }, errorFactory);
158
+ })(input, "$input", true);
159
+ return input;
160
+ }; const stringify = input => {
161
+ const $string = __typia.json.createAssertStringify.string;
162
+ const $tail = __typia.json.createAssertStringify.tail;
163
+ const $so0 = input => `{${$tail(`${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined}`}`)}}`;
164
+ return $so0(input);
165
+ }; return stringify(assert(input, errorFactory)); };
@@ -0,0 +1,23 @@
1
+ import { type AssertionGuard as __AssertionGuard } from "typia";
2
+ export interface GeneralDomainRecords {
3
+ ":general.title": GeneralTitleRecord;
4
+ ":general.tags": GeneralTagsRecord;
5
+ }
6
+ export interface GeneralTitleRecord {
7
+ value?: string;
8
+ }
9
+ export declare const isGeneralTitleRecord: (input: unknown) => input is GeneralTitleRecord;
10
+ export declare const assertGeneralTitleRecord: (input: unknown) => GeneralTitleRecord;
11
+ export declare const randomGeneralTitleRecord: () => GeneralTitleRecord;
12
+ export declare const assertGuardGeneralTitleRecord: __AssertionGuard<GeneralTitleRecord>;
13
+ export declare const stringifyGeneralTitleRecord: (input: GeneralTitleRecord) => string;
14
+ export declare const assertStringifyGeneralTitleRecord: (input: unknown) => string;
15
+ export interface GeneralTagsRecord {
16
+ value?: string[];
17
+ }
18
+ export declare const isGeneralTagsRecord: (input: unknown) => input is GeneralTagsRecord;
19
+ export declare const assertGeneralTagsRecord: (input: unknown) => GeneralTagsRecord;
20
+ export declare const randomGeneralTagsRecord: () => GeneralTagsRecord;
21
+ export declare const assertGuardGeneralTagsRecord: __AssertionGuard<GeneralTagsRecord>;
22
+ export declare const stringifyGeneralTagsRecord: (input: GeneralTagsRecord) => string;
23
+ export declare const assertStringifyGeneralTagsRecord: (input: unknown) => string;
@@ -0,0 +1,225 @@
1
+ import __typia from "typia";
2
+ export const isGeneralTitleRecord = input => {
3
+ const $io0 = input => undefined === input.value || "string" === typeof input.value;
4
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5
+ };
6
+ export const assertGeneralTitleRecord = (input, errorFactory) => {
7
+ const __is = input => {
8
+ const $io0 = input => undefined === input.value || "string" === typeof input.value;
9
+ return "object" === typeof input && null !== input && false === Array.isArray(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) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
15
+ path: _path + ".value",
16
+ expected: "(string | undefined)",
17
+ value: input.value
18
+ }, errorFactory);
19
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
20
+ path: _path + "",
21
+ expected: "GeneralTitleRecord",
22
+ value: input
23
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
24
+ path: _path + "",
25
+ expected: "GeneralTitleRecord",
26
+ value: input
27
+ }, errorFactory);
28
+ })(input, "$input", true);
29
+ return input;
30
+ };
31
+ export const randomGeneralTitleRecord = generator => {
32
+ const $generator = __typia.createRandom.generator;
33
+ const $pick = __typia.createRandom.pick;
34
+ const $ro0 = (_recursive = false, _depth = 0) => ({
35
+ value: $pick([
36
+ () => undefined,
37
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
38
+ ])()
39
+ });
40
+ return $ro0();
41
+ };
42
+ export const assertGuardGeneralTitleRecord = (input, errorFactory) => {
43
+ const __is = input => {
44
+ const $io0 = input => undefined === input.value || "string" === typeof input.value;
45
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
46
+ };
47
+ if (false === __is(input))
48
+ ((input, _path, _exceptionable = true) => {
49
+ const $guard = __typia.createAssertGuard.guard;
50
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
51
+ path: _path + ".value",
52
+ expected: "(string | undefined)",
53
+ value: input.value
54
+ }, errorFactory);
55
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
56
+ path: _path + "",
57
+ expected: "GeneralTitleRecord",
58
+ value: input
59
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
60
+ path: _path + "",
61
+ expected: "GeneralTitleRecord",
62
+ value: input
63
+ }, errorFactory);
64
+ })(input, "$input", true);
65
+ };
66
+ export const stringifyGeneralTitleRecord = input => {
67
+ const $string = __typia.json.createStringify.string;
68
+ const $tail = __typia.json.createStringify.tail;
69
+ const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
70
+ return $so0(input);
71
+ };
72
+ export const assertStringifyGeneralTitleRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
73
+ const __is = input => {
74
+ const $io0 = input => undefined === input.value || "string" === typeof input.value;
75
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
76
+ };
77
+ if (false === __is(input))
78
+ ((input, _path, _exceptionable = true) => {
79
+ const $guard = __typia.json.createAssertStringify.guard;
80
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
81
+ path: _path + ".value",
82
+ expected: "(string | undefined)",
83
+ value: input.value
84
+ }, errorFactory);
85
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
86
+ path: _path + "",
87
+ expected: "GeneralTitleRecord",
88
+ value: input
89
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
90
+ path: _path + "",
91
+ expected: "GeneralTitleRecord",
92
+ value: input
93
+ }, errorFactory);
94
+ })(input, "$input", true);
95
+ return input;
96
+ }; const stringify = input => {
97
+ const $string = __typia.json.createAssertStringify.string;
98
+ const $tail = __typia.json.createAssertStringify.tail;
99
+ const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
100
+ return $so0(input);
101
+ }; return stringify(assert(input, errorFactory)); };
102
+ export const isGeneralTagsRecord = input => {
103
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
104
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
105
+ };
106
+ export const assertGeneralTagsRecord = (input, errorFactory) => {
107
+ const __is = input => {
108
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
109
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
110
+ };
111
+ if (false === __is(input))
112
+ ((input, _path, _exceptionable = true) => {
113
+ const $guard = __typia.createAssert.guard;
114
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
115
+ path: _path + ".value",
116
+ expected: "(Array<string> | undefined)",
117
+ value: input.value
118
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
119
+ path: _path + ".value[" + _index1 + "]",
120
+ expected: "string",
121
+ value: elem
122
+ }, errorFactory)) || $guard(_exceptionable, {
123
+ path: _path + ".value",
124
+ expected: "(Array<string> | undefined)",
125
+ value: input.value
126
+ }, errorFactory);
127
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
128
+ path: _path + "",
129
+ expected: "GeneralTagsRecord",
130
+ value: input
131
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
132
+ path: _path + "",
133
+ expected: "GeneralTagsRecord",
134
+ value: input
135
+ }, errorFactory);
136
+ })(input, "$input", true);
137
+ return input;
138
+ };
139
+ export const randomGeneralTagsRecord = generator => {
140
+ const $generator = __typia.createRandom.generator;
141
+ const $pick = __typia.createRandom.pick;
142
+ const $ro0 = (_recursive = false, _depth = 0) => ({
143
+ value: $pick([
144
+ () => undefined,
145
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
146
+ ])()
147
+ });
148
+ return $ro0();
149
+ };
150
+ export const assertGuardGeneralTagsRecord = (input, errorFactory) => {
151
+ const __is = input => {
152
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
153
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
154
+ };
155
+ if (false === __is(input))
156
+ ((input, _path, _exceptionable = true) => {
157
+ const $guard = __typia.createAssertGuard.guard;
158
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
159
+ path: _path + ".value",
160
+ expected: "(Array<string> | undefined)",
161
+ value: input.value
162
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
163
+ path: _path + ".value[" + _index1 + "]",
164
+ expected: "string",
165
+ value: elem
166
+ }, errorFactory)) || $guard(_exceptionable, {
167
+ path: _path + ".value",
168
+ expected: "(Array<string> | undefined)",
169
+ value: input.value
170
+ }, errorFactory);
171
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
172
+ path: _path + "",
173
+ expected: "GeneralTagsRecord",
174
+ value: input
175
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
176
+ path: _path + "",
177
+ expected: "GeneralTagsRecord",
178
+ value: input
179
+ }, errorFactory);
180
+ })(input, "$input", true);
181
+ };
182
+ export const stringifyGeneralTagsRecord = input => {
183
+ const $string = __typia.json.createStringify.string;
184
+ const $tail = __typia.json.createStringify.tail;
185
+ const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
186
+ return $so0(input);
187
+ };
188
+ export const assertStringifyGeneralTagsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
189
+ const __is = input => {
190
+ const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
191
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
192
+ };
193
+ if (false === __is(input))
194
+ ((input, _path, _exceptionable = true) => {
195
+ const $guard = __typia.json.createAssertStringify.guard;
196
+ const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
197
+ path: _path + ".value",
198
+ expected: "(Array<string> | undefined)",
199
+ value: input.value
200
+ }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
201
+ path: _path + ".value[" + _index1 + "]",
202
+ expected: "string",
203
+ value: elem
204
+ }, errorFactory)) || $guard(_exceptionable, {
205
+ path: _path + ".value",
206
+ expected: "(Array<string> | undefined)",
207
+ value: input.value
208
+ }, errorFactory);
209
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
210
+ path: _path + "",
211
+ expected: "GeneralTagsRecord",
212
+ value: input
213
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
214
+ path: _path + "",
215
+ expected: "GeneralTagsRecord",
216
+ value: input
217
+ }, errorFactory);
218
+ })(input, "$input", true);
219
+ return input;
220
+ }; const stringify = input => {
221
+ const $string = __typia.json.createAssertStringify.string;
222
+ const $tail = __typia.json.createAssertStringify.tail;
223
+ const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
224
+ return $so0(input);
225
+ }; return stringify(assert(input, errorFactory)); };
@@ -0,0 +1,25 @@
1
+ import type { AssetDomainRecords } from './asset.js';
2
+ import type { ConnectionDomainRecords } from './connection.js';
3
+ import type { EventDomainRecords } from './event.js';
4
+ import type { GeneralDomainRecords } from './general.js';
5
+ import type { MediaDomainRecords } from './media.js';
6
+ import type { PermissionDomainRecords } from './permission.js';
7
+ import type { PublishDomainRecords } from './publish.js';
8
+ import type { RoleDomainRecords } from './role.js';
9
+ import type { ScriptDomainRecords } from './script.js';
10
+ import type { SearchDomainRecords } from './search.js';
11
+ import type { SettingsDomainRecords } from './settings.js';
12
+ import type { TemplateDomainRecords } from './template.js';
13
+ export * from './asset.js';
14
+ export * from './connection.js';
15
+ export * from './event.js';
16
+ export * from './general.js';
17
+ export * from './media.js';
18
+ export * from './permission.js';
19
+ export * from './publish.js';
20
+ export * from './role.js';
21
+ export * from './script.js';
22
+ export * from './search.js';
23
+ export * from './settings.js';
24
+ export * from './template.js';
25
+ export type DomainRecords = AssetDomainRecords & ConnectionDomainRecords & EventDomainRecords & GeneralDomainRecords & MediaDomainRecords & PermissionDomainRecords & PublishDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & TemplateDomainRecords;
@@ -0,0 +1,12 @@
1
+ export * from './asset.js';
2
+ export * from './connection.js';
3
+ export * from './event.js';
4
+ export * from './general.js';
5
+ export * from './media.js';
6
+ export * from './permission.js';
7
+ export * from './publish.js';
8
+ export * from './role.js';
9
+ export * from './script.js';
10
+ export * from './search.js';
11
+ export * from './settings.js';
12
+ export * from './template.js';
@@ -0,0 +1,32 @@
1
+ import { type AssertionGuard as __AssertionGuard } from "typia";
2
+ export interface MediaDomainRecords {
3
+ ":media.source": MediaSourceRecord;
4
+ }
5
+ export interface MediaSourceRecord {
6
+ input?: {
7
+ type?: string;
8
+ file?: string;
9
+ };
10
+ lang?: string;
11
+ subtitle?: string;
12
+ video?: {
13
+ crop?: {
14
+ x?: number;
15
+ y?: number;
16
+ width?: number;
17
+ height?: number;
18
+ };
19
+ };
20
+ start?: number;
21
+ end?: number;
22
+ transcribe?: {
23
+ language?: string;
24
+ pan?: number[];
25
+ };
26
+ }
27
+ export declare const isMediaSourceRecord: (input: unknown) => input is MediaSourceRecord;
28
+ export declare const assertMediaSourceRecord: (input: unknown) => MediaSourceRecord;
29
+ export declare const randomMediaSourceRecord: () => MediaSourceRecord;
30
+ export declare const assertGuardMediaSourceRecord: __AssertionGuard<MediaSourceRecord>;
31
+ export declare const stringifyMediaSourceRecord: (input: MediaSourceRecord) => string;
32
+ export declare const assertStringifyMediaSourceRecord: (input: unknown) => string;