@nxtedition/types 23.0.2 → 23.0.3
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/asset.d.ts +10 -0
- package/dist/asset.js +1 -0
- package/dist/common/clone.d.ts +32 -0
- package/dist/common/clone.js +602 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.js +3 -0
- package/dist/common/nxtpression.d.ts +19 -0
- package/dist/common/nxtpression.js +240 -0
- package/dist/common/search.d.ts +69 -0
- package/dist/common/search.js +1591 -0
- package/dist/common/settings.d.ts +6 -5
- package/dist/common/settings.js +89 -36
- package/dist/domains/asset.d.ts +22 -0
- package/dist/domains/asset.js +232 -0
- package/dist/domains/clone.d.ts +14 -0
- package/dist/domains/clone.js +192 -0
- package/dist/domains/connection.d.ts +39 -15
- package/dist/domains/connection.js +621 -174
- package/dist/domains/design.d.ts +24 -0
- package/dist/domains/design.js +303 -0
- package/dist/domains/file.d.ts +17 -0
- package/dist/domains/file.js +233 -0
- package/dist/domains/index.d.ts +11 -1
- package/dist/domains/index.js +5 -0
- package/dist/domains/media.d.ts +28 -0
- package/dist/domains/media.js +346 -0
- package/dist/domains/published.d.ts +18 -0
- package/dist/domains/published.js +164 -0
- package/dist/domains/revs.d.ts +13 -0
- package/dist/domains/revs.js +125 -0
- package/dist/domains/search.d.ts +3 -0
- package/dist/domains/search.js +62 -13
- package/dist/domains/settings.js +70 -26
- package/dist/domains/user.d.ts +14 -0
- package/dist/domains/user.js +141 -0
- package/dist/index.d.ts +20 -6
- package/dist/index.js +135 -0
- package/dist/rpc.d.ts +8 -13
- package/dist/rpc.js +9 -9
- package/dist/schema.json +724 -1546
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,139 @@
|
|
|
1
|
+
import __typia from "typia";
|
|
1
2
|
export * from './domains/index.js';
|
|
2
3
|
export * from './common/index.js';
|
|
3
4
|
export * from './app.js';
|
|
4
5
|
export * from './rpc.js';
|
|
6
|
+
export * from './asset.js';
|
|
7
|
+
export const isDomains = input => {
|
|
8
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
9
|
+
return true === $iv1.has(input);
|
|
10
|
+
};
|
|
11
|
+
export const assertDomains = (input, errorFactory) => {
|
|
12
|
+
const __is = input => {
|
|
13
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
14
|
+
return true === $iv1.has(input);
|
|
15
|
+
};
|
|
16
|
+
if (false === __is(input))
|
|
17
|
+
((input, _path, _exceptionable = true) => {
|
|
18
|
+
const $guard = __typia.createAssert.guard;
|
|
19
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
20
|
+
return true === $av1.has(input) || $guard(true, {
|
|
21
|
+
path: _path + "",
|
|
22
|
+
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
23
|
+
value: input
|
|
24
|
+
}, errorFactory);
|
|
25
|
+
})(input, "$input", true);
|
|
26
|
+
return input;
|
|
27
|
+
};
|
|
28
|
+
export const randomDomains = generator => {
|
|
29
|
+
const $pick = __typia.createRandom.pick;
|
|
30
|
+
return $pick([
|
|
31
|
+
() => ":bundle",
|
|
32
|
+
() => ":bundle.revisions",
|
|
33
|
+
() => ":connection",
|
|
34
|
+
() => ":connection.methods?",
|
|
35
|
+
() => ":connection.stats?",
|
|
36
|
+
() => ":publish",
|
|
37
|
+
() => ":publish.stats?",
|
|
38
|
+
() => ":publish.methods?",
|
|
39
|
+
() => ":published",
|
|
40
|
+
() => ":asset.title?",
|
|
41
|
+
() => ":asset.types?",
|
|
42
|
+
() => ":asset.assignees?",
|
|
43
|
+
() => ":asset.refs?",
|
|
44
|
+
() => ":asset.tags?",
|
|
45
|
+
() => ":asset.fileRefs?",
|
|
46
|
+
() => ":asset.created?",
|
|
47
|
+
() => ":asset.modified?",
|
|
48
|
+
() => ":clone",
|
|
49
|
+
() => ":contact",
|
|
50
|
+
() => ":event",
|
|
51
|
+
() => ":event._template?",
|
|
52
|
+
() => ":file.replicate",
|
|
53
|
+
() => ":file.restrictions",
|
|
54
|
+
() => ":general.title",
|
|
55
|
+
() => ":general.tags",
|
|
56
|
+
() => ":general.created",
|
|
57
|
+
() => ":general.poster",
|
|
58
|
+
() => ":general.status",
|
|
59
|
+
() => ":general.description",
|
|
60
|
+
() => ":media.source",
|
|
61
|
+
() => ":media.consolidate",
|
|
62
|
+
() => ":media.renders?",
|
|
63
|
+
() => ":media.transcriptChanges",
|
|
64
|
+
() => ":media.font",
|
|
65
|
+
() => ":media.restrictions?",
|
|
66
|
+
() => ":permission?",
|
|
67
|
+
() => ":permission",
|
|
68
|
+
() => ":planning",
|
|
69
|
+
() => ":planning.assignees",
|
|
70
|
+
() => ":planning.deadline",
|
|
71
|
+
() => ":revs?",
|
|
72
|
+
() => ":role.tags",
|
|
73
|
+
() => ":script.children",
|
|
74
|
+
() => ":search",
|
|
75
|
+
() => ":settings",
|
|
76
|
+
() => ":template",
|
|
77
|
+
() => ":user"
|
|
78
|
+
])();
|
|
79
|
+
};
|
|
80
|
+
export const assertGuardDomains = (input, errorFactory) => {
|
|
81
|
+
const __is = input => {
|
|
82
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
83
|
+
return true === $iv1.has(input);
|
|
84
|
+
};
|
|
85
|
+
if (false === __is(input))
|
|
86
|
+
((input, _path, _exceptionable = true) => {
|
|
87
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
88
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
89
|
+
return true === $av1.has(input) || $guard(true, {
|
|
90
|
+
path: _path + "",
|
|
91
|
+
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
92
|
+
value: input
|
|
93
|
+
}, errorFactory);
|
|
94
|
+
})(input, "$input", true);
|
|
95
|
+
};
|
|
96
|
+
export const stringifyDomains = input => {
|
|
97
|
+
const $string = __typia.json.createStringify.string;
|
|
98
|
+
const $throws = __typia.json.createStringify.throws;
|
|
99
|
+
return (() => {
|
|
100
|
+
if ("string" === typeof input)
|
|
101
|
+
return $string(input);
|
|
102
|
+
if ("string" === typeof input)
|
|
103
|
+
return "\"" + input + "\"";
|
|
104
|
+
$throws({
|
|
105
|
+
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
106
|
+
value: input
|
|
107
|
+
});
|
|
108
|
+
})();
|
|
109
|
+
};
|
|
110
|
+
export const assertStringifyDomains = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
111
|
+
const __is = input => {
|
|
112
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
113
|
+
return true === $iv1.has(input);
|
|
114
|
+
};
|
|
115
|
+
if (false === __is(input))
|
|
116
|
+
((input, _path, _exceptionable = true) => {
|
|
117
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
118
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":permission?", ":permission", ":planning", ":planning.assignees", ":planning.deadline", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":template", ":user"]);
|
|
119
|
+
return true === $av1.has(input) || $guard(true, {
|
|
120
|
+
path: _path + "",
|
|
121
|
+
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
122
|
+
value: input
|
|
123
|
+
}, errorFactory);
|
|
124
|
+
})(input, "$input", true);
|
|
125
|
+
return input;
|
|
126
|
+
}; const stringify = input => {
|
|
127
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
128
|
+
const $throws = __typia.json.createAssertStringify.throws;
|
|
129
|
+
return (() => {
|
|
130
|
+
if ("string" === typeof input)
|
|
131
|
+
return $string(input);
|
|
132
|
+
if ("string" === typeof input)
|
|
133
|
+
return "\"" + input + "\"";
|
|
134
|
+
$throws({
|
|
135
|
+
expected: "(\":asset.assignees?\" | \":asset.created?\" | \":asset.fileRefs?\" | \":asset.modified?\" | \":asset.refs?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":template\" | \":user\")",
|
|
136
|
+
value: input
|
|
137
|
+
});
|
|
138
|
+
})();
|
|
139
|
+
}; return stringify(assert(input, errorFactory)); };
|
package/dist/rpc.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
+
import { CloneSource, CloneTarget, CloneRule } from './common/index.js';
|
|
2
3
|
export interface RpcMethods {
|
|
3
4
|
"media/applySubtitles": [
|
|
4
5
|
{
|
|
5
|
-
source:
|
|
6
|
-
target:
|
|
6
|
+
source: CloneSource;
|
|
7
|
+
target: CloneTarget;
|
|
7
8
|
lang: string;
|
|
8
9
|
templateId?: string;
|
|
9
10
|
},
|
|
@@ -11,8 +12,11 @@ export interface RpcMethods {
|
|
|
11
12
|
];
|
|
12
13
|
"asset/clone": [
|
|
13
14
|
{
|
|
14
|
-
source:
|
|
15
|
-
target?:
|
|
15
|
+
source: CloneSource;
|
|
16
|
+
target?: CloneTarget;
|
|
17
|
+
clone?: {
|
|
18
|
+
rules?: CloneRule[];
|
|
19
|
+
};
|
|
16
20
|
[key: string]: unknown;
|
|
17
21
|
},
|
|
18
22
|
string
|
|
@@ -57,12 +61,3 @@ export declare const randomNxtExport: () => NxtExport;
|
|
|
57
61
|
export declare const assertGuardNxtExport: __AssertionGuard<NxtExport>;
|
|
58
62
|
export declare const stringifyNxtExport: (input: NxtExport) => string;
|
|
59
63
|
export declare const assertStringifyNxtExport: (input: unknown) => string;
|
|
60
|
-
type Source = string | {
|
|
61
|
-
id: string;
|
|
62
|
-
patches?: Record<string, unknown>;
|
|
63
|
-
};
|
|
64
|
-
type Target = string | {
|
|
65
|
-
id: string;
|
|
66
|
-
patches?: Record<string, unknown>;
|
|
67
|
-
};
|
|
68
|
-
export {};
|
package/dist/rpc.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isNxtImportMode = input => {
|
|
3
|
-
return "
|
|
3
|
+
return "clone" === input || "seed" === input;
|
|
4
4
|
};
|
|
5
5
|
export const assertNxtImportMode = (input, errorFactory) => {
|
|
6
6
|
const __is = input => {
|
|
7
|
-
return "
|
|
7
|
+
return "clone" === input || "seed" === input;
|
|
8
8
|
};
|
|
9
9
|
if (false === __is(input))
|
|
10
10
|
((input, _path, _exceptionable = true) => {
|
|
11
11
|
const $guard = __typia.createAssert.guard;
|
|
12
|
-
return "
|
|
12
|
+
return "clone" === input || "seed" === input || $guard(true, {
|
|
13
13
|
path: _path + "",
|
|
14
14
|
expected: "(\"clone\" | \"seed\")",
|
|
15
15
|
value: input
|
|
@@ -20,18 +20,18 @@ export const assertNxtImportMode = (input, errorFactory) => {
|
|
|
20
20
|
export const randomNxtImportMode = generator => {
|
|
21
21
|
const $pick = __typia.createRandom.pick;
|
|
22
22
|
return $pick([
|
|
23
|
-
() => "
|
|
24
|
-
() => "
|
|
23
|
+
() => "clone",
|
|
24
|
+
() => "seed"
|
|
25
25
|
])();
|
|
26
26
|
};
|
|
27
27
|
export const assertGuardNxtImportMode = (input, errorFactory) => {
|
|
28
28
|
const __is = input => {
|
|
29
|
-
return "
|
|
29
|
+
return "clone" === input || "seed" === input;
|
|
30
30
|
};
|
|
31
31
|
if (false === __is(input))
|
|
32
32
|
((input, _path, _exceptionable = true) => {
|
|
33
33
|
const $guard = __typia.createAssertGuard.guard;
|
|
34
|
-
return "
|
|
34
|
+
return "clone" === input || "seed" === input || $guard(true, {
|
|
35
35
|
path: _path + "",
|
|
36
36
|
expected: "(\"clone\" | \"seed\")",
|
|
37
37
|
value: input
|
|
@@ -54,12 +54,12 @@ export const stringifyNxtImportMode = input => {
|
|
|
54
54
|
};
|
|
55
55
|
export const assertStringifyNxtImportMode = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
56
56
|
const __is = input => {
|
|
57
|
-
return "
|
|
57
|
+
return "clone" === input || "seed" === input;
|
|
58
58
|
};
|
|
59
59
|
if (false === __is(input))
|
|
60
60
|
((input, _path, _exceptionable = true) => {
|
|
61
61
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
62
|
-
return "
|
|
62
|
+
return "clone" === input || "seed" === input || $guard(true, {
|
|
63
63
|
path: _path + "",
|
|
64
64
|
expected: "(\"clone\" | \"seed\")",
|
|
65
65
|
value: input
|