@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.
Files changed (243) hide show
  1. package/dist/app.d.ts +0 -33
  2. package/dist/app.js +1 -655
  3. package/dist/common/block.d.ts +6 -13
  4. package/dist/common/block.js +597 -1607
  5. package/dist/common/clone.d.ts +0 -19
  6. package/dist/common/clone.js +1 -602
  7. package/dist/common/date.d.ts +0 -7
  8. package/dist/common/date.js +1 -59
  9. package/dist/common/error.d.ts +0 -7
  10. package/dist/common/error.js +1 -404
  11. package/dist/common/file.d.ts +1 -21
  12. package/dist/common/file.js +782 -2521
  13. package/dist/common/index.d.ts +20 -26
  14. package/dist/common/index.js +20 -134
  15. package/dist/common/location.d.ts +0 -6
  16. package/dist/common/location.js +73 -238
  17. package/dist/common/lock.d.ts +1 -8
  18. package/dist/common/lock.js +1 -211
  19. package/dist/common/media.d.ts +0 -7
  20. package/dist/common/media.js +1 -83
  21. package/dist/common/nxtpression.d.ts +2 -9
  22. package/dist/common/nxtpression.js +1 -277
  23. package/dist/common/pipeline.d.ts +0 -7
  24. package/dist/common/pipeline.js +1 -97
  25. package/dist/common/promoted-tag.d.ts +0 -7
  26. package/dist/common/promoted-tag.js +1 -147
  27. package/dist/common/render-preset.d.ts +4 -17
  28. package/dist/common/render-preset.js +1 -1202
  29. package/dist/common/render-profile.d.ts +3 -19
  30. package/dist/common/render-profile.js +1 -1052
  31. package/dist/common/render-query.d.ts +2 -9
  32. package/dist/common/render-query.js +1 -1843
  33. package/dist/common/render-scene.d.ts +3 -16
  34. package/dist/common/render-scene.js +1 -2408
  35. package/dist/common/rule.d.ts +1 -7
  36. package/dist/common/rule.js +84 -254
  37. package/dist/common/search.d.ts +0 -25
  38. package/dist/common/search.js +1 -1591
  39. package/dist/common/settings.d.ts +113 -125
  40. package/dist/common/settings.js +1 -7504
  41. package/dist/common/subtitle-style.d.ts +25 -0
  42. package/dist/common/user-notification.d.ts +0 -7
  43. package/dist/common/user-notification.js +1 -85
  44. package/dist/index.d.ts +5 -108
  45. package/dist/index.js +5 -469
  46. package/dist/nxtpression.d.ts +538 -337
  47. package/dist/nxtpression.js +1 -323
  48. package/dist/records/domains/asset.d.ts +106 -0
  49. package/dist/records/domains/bundle.d.ts +12 -0
  50. package/dist/records/domains/bundle.js +1 -0
  51. package/dist/records/domains/clone.d.ts +7 -0
  52. package/dist/records/domains/clone.js +1 -0
  53. package/dist/records/domains/comment-reaction.d.ts +8 -0
  54. package/dist/records/domains/comment-reaction.js +1 -0
  55. package/dist/records/domains/comment-read-mark.d.ts +8 -0
  56. package/dist/records/domains/comment-read-mark.js +1 -0
  57. package/dist/records/domains/comment.d.ts +81 -0
  58. package/dist/records/domains/comment.js +19 -0
  59. package/dist/records/domains/connection.d.ts +77 -0
  60. package/dist/records/domains/connection.js +1 -0
  61. package/dist/records/domains/contact.d.ts +9 -0
  62. package/dist/records/domains/contact.js +1 -0
  63. package/dist/records/domains/deepstream.d.ts +8 -0
  64. package/dist/records/domains/deepstream.js +1 -0
  65. package/dist/records/domains/design.d.ts +11 -0
  66. package/dist/records/domains/design.js +1 -0
  67. package/dist/records/domains/edit.d.ts +10 -0
  68. package/dist/records/domains/edit.js +1 -0
  69. package/dist/records/domains/event.d.ts +66 -0
  70. package/dist/records/domains/event.js +1 -0
  71. package/dist/records/domains/file.d.ts +26 -0
  72. package/dist/records/domains/file.js +1 -0
  73. package/dist/records/domains/general.d.ts +41 -0
  74. package/dist/records/domains/general.js +1 -0
  75. package/dist/records/domains/index.d.ts +77 -0
  76. package/dist/records/domains/index.js +38 -0
  77. package/dist/records/domains/media.d.ts +64 -0
  78. package/dist/records/domains/media.js +1 -0
  79. package/dist/records/domains/monitor.d.ts +116 -0
  80. package/dist/records/domains/monitor.js +1 -0
  81. package/dist/records/domains/panel.d.ts +55 -0
  82. package/dist/records/domains/panel.js +1 -0
  83. package/dist/records/domains/permission.d.ts +25 -0
  84. package/dist/records/domains/permission.js +2 -0
  85. package/dist/records/domains/pipeline-preset.d.ts +10 -0
  86. package/dist/records/domains/pipeline-preset.js +1 -0
  87. package/dist/records/domains/pipeline.d.ts +17 -0
  88. package/dist/records/domains/pipeline.js +1 -0
  89. package/dist/records/domains/planning.d.ts +14 -0
  90. package/dist/records/domains/planning.js +1 -0
  91. package/dist/records/domains/prompter.d.ts +18 -0
  92. package/dist/records/domains/prompter.js +1 -0
  93. package/dist/records/domains/publish.d.ts +149 -0
  94. package/dist/records/domains/publish.js +1 -0
  95. package/dist/records/domains/published.d.ts +12 -0
  96. package/dist/records/domains/published.js +1 -0
  97. package/dist/records/domains/render-preset.d.ts +5 -0
  98. package/dist/records/domains/render-preset.js +1 -0
  99. package/dist/records/domains/render.d.ts +115 -0
  100. package/dist/records/domains/render.js +1 -0
  101. package/dist/records/domains/revs.d.ts +6 -0
  102. package/dist/records/domains/revs.js +1 -0
  103. package/dist/records/domains/role.d.ts +6 -0
  104. package/dist/records/domains/role.js +1 -0
  105. package/dist/records/domains/script.d.ts +101 -0
  106. package/dist/records/domains/script.js +1 -0
  107. package/dist/records/domains/search.d.ts +23 -0
  108. package/dist/records/domains/search.js +1 -0
  109. package/dist/records/domains/settings.d.ts +5 -0
  110. package/dist/records/domains/settings.js +1 -0
  111. package/dist/records/domains/storyboard.d.ts +10 -0
  112. package/dist/records/domains/storyboard.js +1 -0
  113. package/dist/records/domains/subtitle-style.d.ts +13 -0
  114. package/dist/records/domains/subtitle-style.js +1 -0
  115. package/dist/records/domains/subtitle.d.ts +12 -0
  116. package/dist/records/domains/subtitle.js +1 -0
  117. package/dist/records/domains/template.d.ts +11 -0
  118. package/dist/records/domains/template.js +1 -0
  119. package/dist/records/domains/user-notification-status.d.ts +30 -0
  120. package/dist/records/domains/user-notification-status.js +1 -0
  121. package/dist/records/domains/user-notification.d.ts +69 -0
  122. package/dist/records/domains/user-notification.js +1 -0
  123. package/dist/records/domains/user.d.ts +23 -0
  124. package/dist/records/domains/user.js +1 -0
  125. package/dist/records/exact/asset.d.ts +83 -0
  126. package/dist/records/exact/asset.js +1 -0
  127. package/dist/records/exact/index.d.ts +36 -0
  128. package/dist/records/exact/index.js +4 -0
  129. package/dist/records/exact/media.d.ts +52 -0
  130. package/dist/records/exact/media.js +1 -0
  131. package/dist/records/exact/monitor.d.ts +46 -0
  132. package/dist/records/exact/monitor.js +1 -0
  133. package/dist/records/exact/storage.d.ts +32 -0
  134. package/dist/records/exact/storage.js +1 -0
  135. package/dist/records/index.d.ts +10 -0
  136. package/dist/records/index.js +2 -0
  137. package/dist/records/utils.d.ts +7 -0
  138. package/dist/records/utils.js +1 -0
  139. package/dist/records/utils.tds.d.ts +1 -0
  140. package/dist/records/utils.tds.js +7 -0
  141. package/dist/records/validate/assert-guard.d.ts +4 -0
  142. package/dist/records/validate/assert-guard.js +16068 -0
  143. package/dist/records/validate/assert.d.ts +4 -0
  144. package/dist/records/validate/assert.js +16198 -0
  145. package/dist/records/validate/is.d.ts +4 -0
  146. package/dist/records/validate/is.js +1027 -0
  147. package/dist/records/validate/schemas.d.ts +9 -0
  148. package/dist/records/validate/schemas.js +12862 -0
  149. package/dist/records/validate/stringify.d.ts +4 -0
  150. package/dist/records/validate/stringify.js +1915 -0
  151. package/dist/records/validate/utils.d.ts +15 -0
  152. package/dist/records/validate/utils.js +26 -0
  153. package/dist/records/validate/validate-equals.d.ts +5 -0
  154. package/dist/records/validate/validate-equals.js +24363 -0
  155. package/dist/records/validate/validate.d.ts +5 -0
  156. package/dist/records/validate/validate.js +15127 -0
  157. package/dist/rpc.d.ts +5 -15
  158. package/dist/rpc.js +126 -511
  159. package/dist/tsdoc-metadata.json +1 -1
  160. package/package.json +25 -15
  161. package/dist/asset.d.ts +0 -72
  162. package/dist/domains/asset.d.ts +0 -227
  163. package/dist/domains/asset.js +0 -2672
  164. package/dist/domains/bundle.d.ts +0 -25
  165. package/dist/domains/bundle.js +0 -512
  166. package/dist/domains/clone.d.ts +0 -14
  167. package/dist/domains/clone.js +0 -192
  168. package/dist/domains/comment-reaction.d.ts +0 -15
  169. package/dist/domains/comment-reaction.js +0 -115
  170. package/dist/domains/comment-read-mark.d.ts +0 -15
  171. package/dist/domains/comment-read-mark.js +0 -115
  172. package/dist/domains/comment.d.ts +0 -153
  173. package/dist/domains/comment.js +0 -5906
  174. package/dist/domains/connection.d.ts +0 -141
  175. package/dist/domains/connection.js +0 -5860
  176. package/dist/domains/contact.d.ts +0 -16
  177. package/dist/domains/contact.js +0 -149
  178. package/dist/domains/deepstream.d.ts +0 -14
  179. package/dist/domains/deepstream.js +0 -139
  180. package/dist/domains/design.d.ts +0 -24
  181. package/dist/domains/design.js +0 -303
  182. package/dist/domains/edit.d.ts +0 -17
  183. package/dist/domains/edit.js +0 -224
  184. package/dist/domains/event.d.ts +0 -170
  185. package/dist/domains/event.js +0 -2779
  186. package/dist/domains/file.d.ts +0 -51
  187. package/dist/domains/file.js +0 -2506
  188. package/dist/domains/general.d.ts +0 -84
  189. package/dist/domains/general.js +0 -906
  190. package/dist/domains/index.d.ts +0 -75
  191. package/dist/domains/index.js +0 -37
  192. package/dist/domains/media.d.ts +0 -113
  193. package/dist/domains/media.js +0 -4642
  194. package/dist/domains/monitor.d.ts +0 -416
  195. package/dist/domains/monitor.js +0 -6382
  196. package/dist/domains/panel.d.ts +0 -371
  197. package/dist/domains/panel.js +0 -3198
  198. package/dist/domains/permission.d.ts +0 -61
  199. package/dist/domains/permission.js +0 -1926
  200. package/dist/domains/pipeline-preset.d.ts +0 -17
  201. package/dist/domains/pipeline-preset.js +0 -236
  202. package/dist/domains/pipeline.d.ts +0 -30
  203. package/dist/domains/pipeline.js +0 -460
  204. package/dist/domains/planning.d.ts +0 -33
  205. package/dist/domains/planning.js +0 -324
  206. package/dist/domains/publish.d.ts +0 -1452
  207. package/dist/domains/publish.js +0 -35415
  208. package/dist/domains/published.d.ts +0 -19
  209. package/dist/domains/published.js +0 -204
  210. package/dist/domains/render-preset.d.ts +0 -4
  211. package/dist/domains/render.d.ts +0 -158
  212. package/dist/domains/render.js +0 -4452
  213. package/dist/domains/revs.d.ts +0 -13
  214. package/dist/domains/revs.js +0 -125
  215. package/dist/domains/role.d.ts +0 -13
  216. package/dist/domains/role.js +0 -119
  217. package/dist/domains/script.d.ts +0 -263
  218. package/dist/domains/script.js +0 -6777
  219. package/dist/domains/search.d.ts +0 -16
  220. package/dist/domains/search.js +0 -168
  221. package/dist/domains/settings.d.ts +0 -12
  222. package/dist/domains/settings.js +0 -7180
  223. package/dist/domains/storyboard.d.ts +0 -14
  224. package/dist/domains/storyboard.js +0 -125
  225. package/dist/domains/subtitle-style.d.ts +0 -42
  226. package/dist/domains/subtitle-style.js +0 -574
  227. package/dist/domains/subtitle.d.ts +0 -19
  228. package/dist/domains/subtitle.js +0 -212
  229. package/dist/domains/template.d.ts +0 -23
  230. package/dist/domains/template.js +0 -372
  231. package/dist/domains/user-notification-status.d.ts +0 -55
  232. package/dist/domains/user-notification-status.js +0 -715
  233. package/dist/domains/user-notification.d.ts +0 -118
  234. package/dist/domains/user-notification.js +0 -3040
  235. package/dist/domains/user.d.ts +0 -48
  236. package/dist/domains/user.js +0 -481
  237. package/dist/monitor.d.ts +0 -71
  238. package/dist/monitor.js +0 -1942
  239. package/dist/schema.json +0 -9836
  240. package/dist/storage.d.ts +0 -51
  241. package/dist/storage.js +0 -1036
  242. /package/dist/{asset.js → common/subtitle-style.js} +0 -0
  243. /package/dist/{domains/render-preset.js → records/domains/asset.js} +0 -0
@@ -1,2672 +0,0 @@
1
- import __typia from "typia";
2
- export const isAssetTitleProvidedRecord = 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 assertAssetTitleProvidedRecord = (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: "AssetTitleProvidedRecord",
22
- value: input
23
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
24
- path: _path + "",
25
- expected: "AssetTitleProvidedRecord",
26
- value: input
27
- }, errorFactory);
28
- })(input, "$input", true);
29
- return input;
30
- };
31
- export const randomAssetTitleProvidedRecord = 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 assertGuardAssetTitleProvidedRecord = (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: "AssetTitleProvidedRecord",
58
- value: input
59
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
60
- path: _path + "",
61
- expected: "AssetTitleProvidedRecord",
62
- value: input
63
- }, errorFactory);
64
- })(input, "$input", true);
65
- };
66
- export const stringifyAssetTitleProvidedRecord = 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 assertStringifyAssetTitleProvidedRecord = (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: "AssetTitleProvidedRecord",
88
- value: input
89
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
90
- path: _path + "",
91
- expected: "AssetTitleProvidedRecord",
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 isAssetTypesProvidedRecord = 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 assertAssetTypesProvidedRecord = (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: "AssetTypesProvidedRecord",
130
- value: input
131
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
132
- path: _path + "",
133
- expected: "AssetTypesProvidedRecord",
134
- value: input
135
- }, errorFactory);
136
- })(input, "$input", true);
137
- return input;
138
- };
139
- export const randomAssetTypesProvidedRecord = 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 assertGuardAssetTypesProvidedRecord = (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: "AssetTypesProvidedRecord",
174
- value: input
175
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
176
- path: _path + "",
177
- expected: "AssetTypesProvidedRecord",
178
- value: input
179
- }, errorFactory);
180
- })(input, "$input", true);
181
- };
182
- export const stringifyAssetTypesProvidedRecord = 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 assertStringifyAssetTypesProvidedRecord = (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: "AssetTypesProvidedRecord",
212
- value: input
213
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
214
- path: _path + "",
215
- expected: "AssetTypesProvidedRecord",
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)); };
226
- export const isAssetAssigneesProvidedRecord = input => {
227
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
228
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
229
- };
230
- export const assertAssetAssigneesProvidedRecord = (input, errorFactory) => {
231
- const __is = input => {
232
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
233
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
234
- };
235
- if (false === __is(input))
236
- ((input, _path, _exceptionable = true) => {
237
- const $guard = __typia.createAssert.guard;
238
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
239
- path: _path + ".value",
240
- expected: "(Array<string> | undefined)",
241
- value: input.value
242
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
243
- path: _path + ".value[" + _index1 + "]",
244
- expected: "string",
245
- value: elem
246
- }, errorFactory)) || $guard(_exceptionable, {
247
- path: _path + ".value",
248
- expected: "(Array<string> | undefined)",
249
- value: input.value
250
- }, errorFactory);
251
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
252
- path: _path + "",
253
- expected: "AssetAssigneesProvidedRecord",
254
- value: input
255
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
256
- path: _path + "",
257
- expected: "AssetAssigneesProvidedRecord",
258
- value: input
259
- }, errorFactory);
260
- })(input, "$input", true);
261
- return input;
262
- };
263
- export const randomAssetAssigneesProvidedRecord = generator => {
264
- const $generator = __typia.createRandom.generator;
265
- const $pick = __typia.createRandom.pick;
266
- const $ro0 = (_recursive = false, _depth = 0) => ({
267
- value: $pick([
268
- () => undefined,
269
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
270
- ])()
271
- });
272
- return $ro0();
273
- };
274
- export const assertGuardAssetAssigneesProvidedRecord = (input, errorFactory) => {
275
- const __is = input => {
276
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
277
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
278
- };
279
- if (false === __is(input))
280
- ((input, _path, _exceptionable = true) => {
281
- const $guard = __typia.createAssertGuard.guard;
282
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
283
- path: _path + ".value",
284
- expected: "(Array<string> | undefined)",
285
- value: input.value
286
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
287
- path: _path + ".value[" + _index1 + "]",
288
- expected: "string",
289
- value: elem
290
- }, errorFactory)) || $guard(_exceptionable, {
291
- path: _path + ".value",
292
- expected: "(Array<string> | undefined)",
293
- value: input.value
294
- }, errorFactory);
295
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
296
- path: _path + "",
297
- expected: "AssetAssigneesProvidedRecord",
298
- value: input
299
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
300
- path: _path + "",
301
- expected: "AssetAssigneesProvidedRecord",
302
- value: input
303
- }, errorFactory);
304
- })(input, "$input", true);
305
- };
306
- export const stringifyAssetAssigneesProvidedRecord = input => {
307
- const $string = __typia.json.createStringify.string;
308
- const $tail = __typia.json.createStringify.tail;
309
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
310
- return $so0(input);
311
- };
312
- export const assertStringifyAssetAssigneesProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
313
- const __is = input => {
314
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
315
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
316
- };
317
- if (false === __is(input))
318
- ((input, _path, _exceptionable = true) => {
319
- const $guard = __typia.json.createAssertStringify.guard;
320
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
321
- path: _path + ".value",
322
- expected: "(Array<string> | undefined)",
323
- value: input.value
324
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
325
- path: _path + ".value[" + _index1 + "]",
326
- expected: "string",
327
- value: elem
328
- }, errorFactory)) || $guard(_exceptionable, {
329
- path: _path + ".value",
330
- expected: "(Array<string> | undefined)",
331
- value: input.value
332
- }, errorFactory);
333
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
334
- path: _path + "",
335
- expected: "AssetAssigneesProvidedRecord",
336
- value: input
337
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
338
- path: _path + "",
339
- expected: "AssetAssigneesProvidedRecord",
340
- value: input
341
- }, errorFactory);
342
- })(input, "$input", true);
343
- return input;
344
- }; const stringify = input => {
345
- const $string = __typia.json.createAssertStringify.string;
346
- const $tail = __typia.json.createAssertStringify.tail;
347
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
348
- return $so0(input);
349
- }; return stringify(assert(input, errorFactory)); };
350
- export const isAssetRefsProvidedRecord = input => {
351
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
352
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
353
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
354
- };
355
- export const assertAssetRefsProvidedRecord = (input, errorFactory) => {
356
- const __is = input => {
357
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
358
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
359
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
360
- };
361
- if (false === __is(input))
362
- ((input, _path, _exceptionable = true) => {
363
- const $guard = __typia.createAssert.guard;
364
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
365
- path: _path + ".value",
366
- expected: "(Array<AssetRef> | undefined)",
367
- value: input.value
368
- }, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
369
- path: _path + ".value[" + _index1 + "]",
370
- expected: "AssetRef",
371
- value: elem
372
- }, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
373
- path: _path + ".value[" + _index1 + "]",
374
- expected: "AssetRef",
375
- value: elem
376
- }, errorFactory)) || $guard(_exceptionable, {
377
- path: _path + ".value",
378
- expected: "(Array<AssetRef> | undefined)",
379
- value: input.value
380
- }, errorFactory);
381
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
382
- path: _path + ".id",
383
- expected: "string",
384
- value: input.id
385
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
386
- path: _path + ".key",
387
- expected: "string",
388
- value: input.key
389
- }, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
390
- path: _path + ".value",
391
- expected: "string",
392
- value: input.value
393
- }, errorFactory));
394
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
395
- path: _path + "",
396
- expected: "AssetRefsProvidedRecord",
397
- value: input
398
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
399
- path: _path + "",
400
- expected: "AssetRefsProvidedRecord",
401
- value: input
402
- }, errorFactory);
403
- })(input, "$input", true);
404
- return input;
405
- };
406
- export const randomAssetRefsProvidedRecord = generator => {
407
- const $generator = __typia.createRandom.generator;
408
- const $pick = __typia.createRandom.pick;
409
- const $ro0 = (_recursive = false, _depth = 0) => ({
410
- value: $pick([
411
- () => undefined,
412
- () => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
413
- ])()
414
- });
415
- const $ro1 = (_recursive = false, _depth = 0) => ({
416
- id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
417
- key: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
418
- value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
419
- });
420
- return $ro0();
421
- };
422
- export const assertGuardAssetRefsProvidedRecord = (input, errorFactory) => {
423
- const __is = input => {
424
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
425
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
426
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
427
- };
428
- if (false === __is(input))
429
- ((input, _path, _exceptionable = true) => {
430
- const $guard = __typia.createAssertGuard.guard;
431
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
432
- path: _path + ".value",
433
- expected: "(Array<AssetRef> | undefined)",
434
- value: input.value
435
- }, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
436
- path: _path + ".value[" + _index1 + "]",
437
- expected: "AssetRef",
438
- value: elem
439
- }, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
440
- path: _path + ".value[" + _index1 + "]",
441
- expected: "AssetRef",
442
- value: elem
443
- }, errorFactory)) || $guard(_exceptionable, {
444
- path: _path + ".value",
445
- expected: "(Array<AssetRef> | undefined)",
446
- value: input.value
447
- }, errorFactory);
448
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
449
- path: _path + ".id",
450
- expected: "string",
451
- value: input.id
452
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
453
- path: _path + ".key",
454
- expected: "string",
455
- value: input.key
456
- }, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
457
- path: _path + ".value",
458
- expected: "string",
459
- value: input.value
460
- }, errorFactory));
461
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
462
- path: _path + "",
463
- expected: "AssetRefsProvidedRecord",
464
- value: input
465
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
466
- path: _path + "",
467
- expected: "AssetRefsProvidedRecord",
468
- value: input
469
- }, errorFactory);
470
- })(input, "$input", true);
471
- };
472
- export const stringifyAssetRefsProvidedRecord = input => {
473
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
474
- const $string = __typia.json.createStringify.string;
475
- const $tail = __typia.json.createStringify.tail;
476
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"id":${$string(elem.id)},"key":${$string(elem.key)},"value":${$string(elem.value)}}`).join(",")}]` : undefined}`}`)}}`;
477
- return $so0(input);
478
- };
479
- export const assertStringifyAssetRefsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
480
- const __is = input => {
481
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
482
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
483
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
484
- };
485
- if (false === __is(input))
486
- ((input, _path, _exceptionable = true) => {
487
- const $guard = __typia.json.createAssertStringify.guard;
488
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
489
- path: _path + ".value",
490
- expected: "(Array<AssetRef> | undefined)",
491
- value: input.value
492
- }, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
493
- path: _path + ".value[" + _index1 + "]",
494
- expected: "AssetRef",
495
- value: elem
496
- }, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
497
- path: _path + ".value[" + _index1 + "]",
498
- expected: "AssetRef",
499
- value: elem
500
- }, errorFactory)) || $guard(_exceptionable, {
501
- path: _path + ".value",
502
- expected: "(Array<AssetRef> | undefined)",
503
- value: input.value
504
- }, errorFactory);
505
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
506
- path: _path + ".id",
507
- expected: "string",
508
- value: input.id
509
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
510
- path: _path + ".key",
511
- expected: "string",
512
- value: input.key
513
- }, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
514
- path: _path + ".value",
515
- expected: "string",
516
- value: input.value
517
- }, errorFactory));
518
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
519
- path: _path + "",
520
- expected: "AssetRefsProvidedRecord",
521
- value: input
522
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
523
- path: _path + "",
524
- expected: "AssetRefsProvidedRecord",
525
- value: input
526
- }, errorFactory);
527
- })(input, "$input", true);
528
- return input;
529
- }; const stringify = input => {
530
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value;
531
- const $string = __typia.json.createAssertStringify.string;
532
- const $tail = __typia.json.createAssertStringify.tail;
533
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"id":${$string(elem.id)},"key":${$string(elem.key)},"value":${$string(elem.value)}}`).join(",")}]` : undefined}`}`)}}`;
534
- return $so0(input);
535
- }; return stringify(assert(input, errorFactory)); };
536
- export const isAssetTagsProvidedRecord = input => {
537
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
538
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
539
- };
540
- export const assertAssetTagsProvidedRecord = (input, errorFactory) => {
541
- const __is = input => {
542
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
543
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
544
- };
545
- if (false === __is(input))
546
- ((input, _path, _exceptionable = true) => {
547
- const $guard = __typia.createAssert.guard;
548
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
549
- path: _path + ".value",
550
- expected: "(Array<string> | undefined)",
551
- value: input.value
552
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
553
- path: _path + ".value[" + _index1 + "]",
554
- expected: "string",
555
- value: elem
556
- }, errorFactory)) || $guard(_exceptionable, {
557
- path: _path + ".value",
558
- expected: "(Array<string> | undefined)",
559
- value: input.value
560
- }, errorFactory);
561
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
562
- path: _path + "",
563
- expected: "AssetTagsProvidedRecord",
564
- value: input
565
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
566
- path: _path + "",
567
- expected: "AssetTagsProvidedRecord",
568
- value: input
569
- }, errorFactory);
570
- })(input, "$input", true);
571
- return input;
572
- };
573
- export const randomAssetTagsProvidedRecord = generator => {
574
- const $generator = __typia.createRandom.generator;
575
- const $pick = __typia.createRandom.pick;
576
- const $ro0 = (_recursive = false, _depth = 0) => ({
577
- value: $pick([
578
- () => undefined,
579
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
580
- ])()
581
- });
582
- return $ro0();
583
- };
584
- export const assertGuardAssetTagsProvidedRecord = (input, errorFactory) => {
585
- const __is = input => {
586
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
587
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
588
- };
589
- if (false === __is(input))
590
- ((input, _path, _exceptionable = true) => {
591
- const $guard = __typia.createAssertGuard.guard;
592
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
593
- path: _path + ".value",
594
- expected: "(Array<string> | undefined)",
595
- value: input.value
596
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
597
- path: _path + ".value[" + _index1 + "]",
598
- expected: "string",
599
- value: elem
600
- }, errorFactory)) || $guard(_exceptionable, {
601
- path: _path + ".value",
602
- expected: "(Array<string> | undefined)",
603
- value: input.value
604
- }, errorFactory);
605
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
606
- path: _path + "",
607
- expected: "AssetTagsProvidedRecord",
608
- value: input
609
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
610
- path: _path + "",
611
- expected: "AssetTagsProvidedRecord",
612
- value: input
613
- }, errorFactory);
614
- })(input, "$input", true);
615
- };
616
- export const stringifyAssetTagsProvidedRecord = input => {
617
- const $string = __typia.json.createStringify.string;
618
- const $tail = __typia.json.createStringify.tail;
619
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
620
- return $so0(input);
621
- };
622
- export const assertStringifyAssetTagsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
623
- const __is = input => {
624
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
625
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
626
- };
627
- if (false === __is(input))
628
- ((input, _path, _exceptionable = true) => {
629
- const $guard = __typia.json.createAssertStringify.guard;
630
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
631
- path: _path + ".value",
632
- expected: "(Array<string> | undefined)",
633
- value: input.value
634
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
635
- path: _path + ".value[" + _index1 + "]",
636
- expected: "string",
637
- value: elem
638
- }, errorFactory)) || $guard(_exceptionable, {
639
- path: _path + ".value",
640
- expected: "(Array<string> | undefined)",
641
- value: input.value
642
- }, errorFactory);
643
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
644
- path: _path + "",
645
- expected: "AssetTagsProvidedRecord",
646
- value: input
647
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
648
- path: _path + "",
649
- expected: "AssetTagsProvidedRecord",
650
- value: input
651
- }, errorFactory);
652
- })(input, "$input", true);
653
- return input;
654
- }; const stringify = input => {
655
- const $string = __typia.json.createAssertStringify.string;
656
- const $tail = __typia.json.createAssertStringify.tail;
657
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
658
- return $so0(input);
659
- }; return stringify(assert(input, errorFactory)); };
660
- export const isAssetFileRefsProvidedRecord = input => {
661
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
662
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
663
- };
664
- export const assertAssetFileRefsProvidedRecord = (input, errorFactory) => {
665
- const __is = input => {
666
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
667
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
668
- };
669
- if (false === __is(input))
670
- ((input, _path, _exceptionable = true) => {
671
- const $guard = __typia.createAssert.guard;
672
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
673
- path: _path + ".value",
674
- expected: "(Array<string> | undefined)",
675
- value: input.value
676
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
677
- path: _path + ".value[" + _index1 + "]",
678
- expected: "string",
679
- value: elem
680
- }, errorFactory)) || $guard(_exceptionable, {
681
- path: _path + ".value",
682
- expected: "(Array<string> | undefined)",
683
- value: input.value
684
- }, errorFactory);
685
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
686
- path: _path + "",
687
- expected: "AssetFileRefsProvidedRecord",
688
- value: input
689
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
690
- path: _path + "",
691
- expected: "AssetFileRefsProvidedRecord",
692
- value: input
693
- }, errorFactory);
694
- })(input, "$input", true);
695
- return input;
696
- };
697
- export const randomAssetFileRefsProvidedRecord = generator => {
698
- const $generator = __typia.createRandom.generator;
699
- const $pick = __typia.createRandom.pick;
700
- const $ro0 = (_recursive = false, _depth = 0) => ({
701
- value: $pick([
702
- () => undefined,
703
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
704
- ])()
705
- });
706
- return $ro0();
707
- };
708
- export const assertGuardAssetFileRefsProvidedRecord = (input, errorFactory) => {
709
- const __is = input => {
710
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
711
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
712
- };
713
- if (false === __is(input))
714
- ((input, _path, _exceptionable = true) => {
715
- const $guard = __typia.createAssertGuard.guard;
716
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
717
- path: _path + ".value",
718
- expected: "(Array<string> | undefined)",
719
- value: input.value
720
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
721
- path: _path + ".value[" + _index1 + "]",
722
- expected: "string",
723
- value: elem
724
- }, errorFactory)) || $guard(_exceptionable, {
725
- path: _path + ".value",
726
- expected: "(Array<string> | undefined)",
727
- value: input.value
728
- }, errorFactory);
729
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
730
- path: _path + "",
731
- expected: "AssetFileRefsProvidedRecord",
732
- value: input
733
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
734
- path: _path + "",
735
- expected: "AssetFileRefsProvidedRecord",
736
- value: input
737
- }, errorFactory);
738
- })(input, "$input", true);
739
- };
740
- export const stringifyAssetFileRefsProvidedRecord = input => {
741
- const $string = __typia.json.createStringify.string;
742
- const $tail = __typia.json.createStringify.tail;
743
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
744
- return $so0(input);
745
- };
746
- export const assertStringifyAssetFileRefsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
747
- const __is = input => {
748
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
749
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
750
- };
751
- if (false === __is(input))
752
- ((input, _path, _exceptionable = true) => {
753
- const $guard = __typia.json.createAssertStringify.guard;
754
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
755
- path: _path + ".value",
756
- expected: "(Array<string> | undefined)",
757
- value: input.value
758
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
759
- path: _path + ".value[" + _index1 + "]",
760
- expected: "string",
761
- value: elem
762
- }, errorFactory)) || $guard(_exceptionable, {
763
- path: _path + ".value",
764
- expected: "(Array<string> | undefined)",
765
- value: input.value
766
- }, errorFactory);
767
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
768
- path: _path + "",
769
- expected: "AssetFileRefsProvidedRecord",
770
- value: input
771
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
772
- path: _path + "",
773
- expected: "AssetFileRefsProvidedRecord",
774
- value: input
775
- }, errorFactory);
776
- })(input, "$input", true);
777
- return input;
778
- }; const stringify = input => {
779
- const $string = __typia.json.createAssertStringify.string;
780
- const $tail = __typia.json.createAssertStringify.tail;
781
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
782
- return $so0(input);
783
- }; return stringify(assert(input, errorFactory)); };
784
- export const isAssetCreatedProvidedRecord = input => {
785
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
786
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
787
- };
788
- export const assertAssetCreatedProvidedRecord = (input, errorFactory) => {
789
- const __is = input => {
790
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
791
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
792
- };
793
- if (false === __is(input))
794
- ((input, _path, _exceptionable = true) => {
795
- const $guard = __typia.createAssert.guard;
796
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.time || "string" === typeof input.time || $guard(_exceptionable, {
797
- path: _path + ".time",
798
- expected: "(string | undefined)",
799
- value: input.time
800
- }, errorFactory)) && (undefined === input.user || "string" === typeof input.user || $guard(_exceptionable, {
801
- path: _path + ".user",
802
- expected: "(string | undefined)",
803
- value: input.user
804
- }, errorFactory)) && (undefined === input.origin || "string" === typeof input.origin || $guard(_exceptionable, {
805
- path: _path + ".origin",
806
- expected: "(string | undefined)",
807
- value: input.origin
808
- }, errorFactory));
809
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
810
- path: _path + "",
811
- expected: "AssetCreatedProvidedRecord",
812
- value: input
813
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
814
- path: _path + "",
815
- expected: "AssetCreatedProvidedRecord",
816
- value: input
817
- }, errorFactory);
818
- })(input, "$input", true);
819
- return input;
820
- };
821
- export const randomAssetCreatedProvidedRecord = generator => {
822
- const $generator = __typia.createRandom.generator;
823
- const $pick = __typia.createRandom.pick;
824
- const $ro0 = (_recursive = false, _depth = 0) => ({
825
- time: $pick([
826
- () => undefined,
827
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
828
- ])(),
829
- user: $pick([
830
- () => undefined,
831
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
832
- ])(),
833
- origin: $pick([
834
- () => undefined,
835
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
836
- ])()
837
- });
838
- return $ro0();
839
- };
840
- export const assertGuardAssetCreatedProvidedRecord = (input, errorFactory) => {
841
- const __is = input => {
842
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
843
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
844
- };
845
- if (false === __is(input))
846
- ((input, _path, _exceptionable = true) => {
847
- const $guard = __typia.createAssertGuard.guard;
848
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.time || "string" === typeof input.time || $guard(_exceptionable, {
849
- path: _path + ".time",
850
- expected: "(string | undefined)",
851
- value: input.time
852
- }, errorFactory)) && (undefined === input.user || "string" === typeof input.user || $guard(_exceptionable, {
853
- path: _path + ".user",
854
- expected: "(string | undefined)",
855
- value: input.user
856
- }, errorFactory)) && (undefined === input.origin || "string" === typeof input.origin || $guard(_exceptionable, {
857
- path: _path + ".origin",
858
- expected: "(string | undefined)",
859
- value: input.origin
860
- }, errorFactory));
861
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
862
- path: _path + "",
863
- expected: "AssetCreatedProvidedRecord",
864
- value: input
865
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
866
- path: _path + "",
867
- expected: "AssetCreatedProvidedRecord",
868
- value: input
869
- }, errorFactory);
870
- })(input, "$input", true);
871
- };
872
- export const stringifyAssetCreatedProvidedRecord = input => {
873
- const $string = __typia.json.createStringify.string;
874
- const $tail = __typia.json.createStringify.tail;
875
- const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.origin ? "" : `"origin":${undefined !== input.origin ? $string(input.origin) : undefined}`}`)}}`;
876
- return $so0(input);
877
- };
878
- export const assertStringifyAssetCreatedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
879
- const __is = input => {
880
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
881
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
882
- };
883
- if (false === __is(input))
884
- ((input, _path, _exceptionable = true) => {
885
- const $guard = __typia.json.createAssertStringify.guard;
886
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.time || "string" === typeof input.time || $guard(_exceptionable, {
887
- path: _path + ".time",
888
- expected: "(string | undefined)",
889
- value: input.time
890
- }, errorFactory)) && (undefined === input.user || "string" === typeof input.user || $guard(_exceptionable, {
891
- path: _path + ".user",
892
- expected: "(string | undefined)",
893
- value: input.user
894
- }, errorFactory)) && (undefined === input.origin || "string" === typeof input.origin || $guard(_exceptionable, {
895
- path: _path + ".origin",
896
- expected: "(string | undefined)",
897
- value: input.origin
898
- }, errorFactory));
899
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
900
- path: _path + "",
901
- expected: "AssetCreatedProvidedRecord",
902
- value: input
903
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
904
- path: _path + "",
905
- expected: "AssetCreatedProvidedRecord",
906
- value: input
907
- }, errorFactory);
908
- })(input, "$input", true);
909
- return input;
910
- }; const stringify = input => {
911
- const $string = __typia.json.createAssertStringify.string;
912
- const $tail = __typia.json.createAssertStringify.tail;
913
- const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.origin ? "" : `"origin":${undefined !== input.origin ? $string(input.origin) : undefined}`}`)}}`;
914
- return $so0(input);
915
- }; return stringify(assert(input, errorFactory)); };
916
- export const isAssetModifiedProvidedRecord = input => {
917
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
918
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
919
- };
920
- export const assertAssetModifiedProvidedRecord = (input, errorFactory) => {
921
- const __is = input => {
922
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
923
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
924
- };
925
- if (false === __is(input))
926
- ((input, _path, _exceptionable = true) => {
927
- const $guard = __typia.createAssert.guard;
928
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.time || "string" === typeof input.time || $guard(_exceptionable, {
929
- path: _path + ".time",
930
- expected: "(string | undefined)",
931
- value: input.time
932
- }, errorFactory)) && (undefined === input.user || "string" === typeof input.user || $guard(_exceptionable, {
933
- path: _path + ".user",
934
- expected: "(string | undefined)",
935
- value: input.user
936
- }, errorFactory)) && (undefined === input.users || (Array.isArray(input.users) || $guard(_exceptionable, {
937
- path: _path + ".users",
938
- expected: "(Array<string> | undefined)",
939
- value: input.users
940
- }, errorFactory)) && input.users.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
941
- path: _path + ".users[" + _index1 + "]",
942
- expected: "string",
943
- value: elem
944
- }, errorFactory)) || $guard(_exceptionable, {
945
- path: _path + ".users",
946
- expected: "(Array<string> | undefined)",
947
- value: input.users
948
- }, errorFactory));
949
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
950
- path: _path + "",
951
- expected: "AssetModifiedProvidedRecord",
952
- value: input
953
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
954
- path: _path + "",
955
- expected: "AssetModifiedProvidedRecord",
956
- value: input
957
- }, errorFactory);
958
- })(input, "$input", true);
959
- return input;
960
- };
961
- export const randomAssetModifiedProvidedRecord = generator => {
962
- const $generator = __typia.createRandom.generator;
963
- const $pick = __typia.createRandom.pick;
964
- const $ro0 = (_recursive = false, _depth = 0) => ({
965
- time: $pick([
966
- () => undefined,
967
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
968
- ])(),
969
- user: $pick([
970
- () => undefined,
971
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
972
- ])(),
973
- users: $pick([
974
- () => undefined,
975
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
976
- ])()
977
- });
978
- return $ro0();
979
- };
980
- export const assertGuardAssetModifiedProvidedRecord = (input, errorFactory) => {
981
- const __is = input => {
982
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
983
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
984
- };
985
- if (false === __is(input))
986
- ((input, _path, _exceptionable = true) => {
987
- const $guard = __typia.createAssertGuard.guard;
988
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.time || "string" === typeof input.time || $guard(_exceptionable, {
989
- path: _path + ".time",
990
- expected: "(string | undefined)",
991
- value: input.time
992
- }, errorFactory)) && (undefined === input.user || "string" === typeof input.user || $guard(_exceptionable, {
993
- path: _path + ".user",
994
- expected: "(string | undefined)",
995
- value: input.user
996
- }, errorFactory)) && (undefined === input.users || (Array.isArray(input.users) || $guard(_exceptionable, {
997
- path: _path + ".users",
998
- expected: "(Array<string> | undefined)",
999
- value: input.users
1000
- }, errorFactory)) && input.users.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1001
- path: _path + ".users[" + _index1 + "]",
1002
- expected: "string",
1003
- value: elem
1004
- }, errorFactory)) || $guard(_exceptionable, {
1005
- path: _path + ".users",
1006
- expected: "(Array<string> | undefined)",
1007
- value: input.users
1008
- }, errorFactory));
1009
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1010
- path: _path + "",
1011
- expected: "AssetModifiedProvidedRecord",
1012
- value: input
1013
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1014
- path: _path + "",
1015
- expected: "AssetModifiedProvidedRecord",
1016
- value: input
1017
- }, errorFactory);
1018
- })(input, "$input", true);
1019
- };
1020
- export const stringifyAssetModifiedProvidedRecord = input => {
1021
- const $string = __typia.json.createStringify.string;
1022
- const $tail = __typia.json.createStringify.tail;
1023
- const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.users ? "" : `"users":${undefined !== input.users ? `[${input.users.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1024
- return $so0(input);
1025
- };
1026
- export const assertStringifyAssetModifiedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1027
- const __is = input => {
1028
- const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
1029
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1030
- };
1031
- if (false === __is(input))
1032
- ((input, _path, _exceptionable = true) => {
1033
- const $guard = __typia.json.createAssertStringify.guard;
1034
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.time || "string" === typeof input.time || $guard(_exceptionable, {
1035
- path: _path + ".time",
1036
- expected: "(string | undefined)",
1037
- value: input.time
1038
- }, errorFactory)) && (undefined === input.user || "string" === typeof input.user || $guard(_exceptionable, {
1039
- path: _path + ".user",
1040
- expected: "(string | undefined)",
1041
- value: input.user
1042
- }, errorFactory)) && (undefined === input.users || (Array.isArray(input.users) || $guard(_exceptionable, {
1043
- path: _path + ".users",
1044
- expected: "(Array<string> | undefined)",
1045
- value: input.users
1046
- }, errorFactory)) && input.users.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1047
- path: _path + ".users[" + _index1 + "]",
1048
- expected: "string",
1049
- value: elem
1050
- }, errorFactory)) || $guard(_exceptionable, {
1051
- path: _path + ".users",
1052
- expected: "(Array<string> | undefined)",
1053
- value: input.users
1054
- }, errorFactory));
1055
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1056
- path: _path + "",
1057
- expected: "AssetModifiedProvidedRecord",
1058
- value: input
1059
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1060
- path: _path + "",
1061
- expected: "AssetModifiedProvidedRecord",
1062
- value: input
1063
- }, errorFactory);
1064
- })(input, "$input", true);
1065
- return input;
1066
- }; const stringify = input => {
1067
- const $string = __typia.json.createAssertStringify.string;
1068
- const $tail = __typia.json.createAssertStringify.tail;
1069
- const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.users ? "" : `"users":${undefined !== input.users ? `[${input.users.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1070
- return $so0(input);
1071
- }; return stringify(assert(input, errorFactory)); };
1072
- export const isAssetDomainStatusProvidedRecord = input => {
1073
- const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
1074
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
1075
- return "object" === typeof input && null !== input && $io0(input);
1076
- };
1077
- export const assertAssetDomainStatusProvidedRecord = (input, errorFactory) => {
1078
- const __is = input => {
1079
- const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
1080
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
1081
- return "object" === typeof input && null !== input && $io0(input);
1082
- };
1083
- if (false === __is(input))
1084
- ((input, _path, _exceptionable = true) => {
1085
- const $guard = __typia.createAssert.guard;
1086
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.messages) || $guard(_exceptionable, {
1087
- path: _path + ".messages",
1088
- expected: "Array<__type>",
1089
- value: input.messages
1090
- }, errorFactory)) && input.messages.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1091
- path: _path + ".messages[" + _index1 + "]",
1092
- expected: "__type",
1093
- value: elem
1094
- }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
1095
- path: _path + ".messages[" + _index1 + "]",
1096
- expected: "__type",
1097
- value: elem
1098
- }, errorFactory)) || $guard(_exceptionable, {
1099
- path: _path + ".messages",
1100
- expected: "Array<__type>",
1101
- value: input.messages
1102
- }, errorFactory);
1103
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
1104
- path: _path + ".id",
1105
- expected: "string",
1106
- value: input.id
1107
- }, errorFactory)) && ("string" === typeof input.msg || $guard(_exceptionable, {
1108
- path: _path + ".msg",
1109
- expected: "string",
1110
- value: input.msg
1111
- }, errorFactory)) && ("number" === typeof input.level || $guard(_exceptionable, {
1112
- path: _path + ".level",
1113
- expected: "number",
1114
- value: input.level
1115
- }, errorFactory)) && ("string" === typeof input.code || $guard(_exceptionable, {
1116
- path: _path + ".code",
1117
- expected: "string",
1118
- value: input.code
1119
- }, errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || $guard(_exceptionable, {
1120
- path: _path + ".expose",
1121
- expected: "(boolean | null | undefined)",
1122
- value: input.expose
1123
- }, errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || $guard(_exceptionable, {
1124
- path: _path + ".index",
1125
- expected: "(null | number | undefined)",
1126
- value: input.index
1127
- }, errorFactory));
1128
- return ("object" === typeof input && null !== input || $guard(true, {
1129
- path: _path + "",
1130
- expected: "AssetDomainStatusProvidedRecord",
1131
- value: input
1132
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1133
- path: _path + "",
1134
- expected: "AssetDomainStatusProvidedRecord",
1135
- value: input
1136
- }, errorFactory);
1137
- })(input, "$input", true);
1138
- return input;
1139
- };
1140
- export const randomAssetDomainStatusProvidedRecord = generator => {
1141
- const $generator = __typia.createRandom.generator;
1142
- const $pick = __typia.createRandom.pick;
1143
- const $ro0 = (_recursive = false, _depth = 0) => ({
1144
- messages: (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
1145
- });
1146
- const $ro1 = (_recursive = false, _depth = 0) => ({
1147
- id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1148
- msg: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1149
- level: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
1150
- code: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1151
- expose: $pick([
1152
- () => undefined,
1153
- () => null,
1154
- () => (generator?.boolean ?? $generator.boolean)()
1155
- ])(),
1156
- index: $pick([
1157
- () => undefined,
1158
- () => null,
1159
- () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1160
- ])()
1161
- });
1162
- return $ro0();
1163
- };
1164
- export const assertGuardAssetDomainStatusProvidedRecord = (input, errorFactory) => {
1165
- const __is = input => {
1166
- const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
1167
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
1168
- return "object" === typeof input && null !== input && $io0(input);
1169
- };
1170
- if (false === __is(input))
1171
- ((input, _path, _exceptionable = true) => {
1172
- const $guard = __typia.createAssertGuard.guard;
1173
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.messages) || $guard(_exceptionable, {
1174
- path: _path + ".messages",
1175
- expected: "Array<__type>",
1176
- value: input.messages
1177
- }, errorFactory)) && input.messages.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1178
- path: _path + ".messages[" + _index1 + "]",
1179
- expected: "__type",
1180
- value: elem
1181
- }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
1182
- path: _path + ".messages[" + _index1 + "]",
1183
- expected: "__type",
1184
- value: elem
1185
- }, errorFactory)) || $guard(_exceptionable, {
1186
- path: _path + ".messages",
1187
- expected: "Array<__type>",
1188
- value: input.messages
1189
- }, errorFactory);
1190
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
1191
- path: _path + ".id",
1192
- expected: "string",
1193
- value: input.id
1194
- }, errorFactory)) && ("string" === typeof input.msg || $guard(_exceptionable, {
1195
- path: _path + ".msg",
1196
- expected: "string",
1197
- value: input.msg
1198
- }, errorFactory)) && ("number" === typeof input.level || $guard(_exceptionable, {
1199
- path: _path + ".level",
1200
- expected: "number",
1201
- value: input.level
1202
- }, errorFactory)) && ("string" === typeof input.code || $guard(_exceptionable, {
1203
- path: _path + ".code",
1204
- expected: "string",
1205
- value: input.code
1206
- }, errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || $guard(_exceptionable, {
1207
- path: _path + ".expose",
1208
- expected: "(boolean | null | undefined)",
1209
- value: input.expose
1210
- }, errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || $guard(_exceptionable, {
1211
- path: _path + ".index",
1212
- expected: "(null | number | undefined)",
1213
- value: input.index
1214
- }, errorFactory));
1215
- return ("object" === typeof input && null !== input || $guard(true, {
1216
- path: _path + "",
1217
- expected: "AssetDomainStatusProvidedRecord",
1218
- value: input
1219
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1220
- path: _path + "",
1221
- expected: "AssetDomainStatusProvidedRecord",
1222
- value: input
1223
- }, errorFactory);
1224
- })(input, "$input", true);
1225
- };
1226
- export const stringifyAssetDomainStatusProvidedRecord = input => {
1227
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
1228
- const $string = __typia.json.createStringify.string;
1229
- const $so0 = input => `{"messages":${`[${input.messages.map(elem => $so1(elem)).join(",")}]`}}`;
1230
- const $so1 = input => `{${undefined === input.expose ? "" : `"expose":${undefined !== input.expose ? null !== input.expose ? input.expose : "null" : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? null !== input.index ? input.index : "null" : undefined},`}"id":${$string(input.id)},"msg":${$string(input.msg)},"level":${input.level},"code":${$string(input.code)}}`;
1231
- return $so0(input);
1232
- };
1233
- export const assertStringifyAssetDomainStatusProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1234
- const __is = input => {
1235
- const $io0 = input => Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
1236
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && ("number" === typeof input.level && !Number.isNaN(input.level)) && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index && !Number.isNaN(input.index));
1237
- return "object" === typeof input && null !== input && $io0(input);
1238
- };
1239
- if (false === __is(input))
1240
- ((input, _path, _exceptionable = true) => {
1241
- const $guard = __typia.json.createAssertStringify.guard;
1242
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.messages) || $guard(_exceptionable, {
1243
- path: _path + ".messages",
1244
- expected: "Array<__type>",
1245
- value: input.messages
1246
- }, errorFactory)) && input.messages.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1247
- path: _path + ".messages[" + _index1 + "]",
1248
- expected: "__type",
1249
- value: elem
1250
- }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
1251
- path: _path + ".messages[" + _index1 + "]",
1252
- expected: "__type",
1253
- value: elem
1254
- }, errorFactory)) || $guard(_exceptionable, {
1255
- path: _path + ".messages",
1256
- expected: "Array<__type>",
1257
- value: input.messages
1258
- }, errorFactory);
1259
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
1260
- path: _path + ".id",
1261
- expected: "string",
1262
- value: input.id
1263
- }, errorFactory)) && ("string" === typeof input.msg || $guard(_exceptionable, {
1264
- path: _path + ".msg",
1265
- expected: "string",
1266
- value: input.msg
1267
- }, errorFactory)) && ("number" === typeof input.level && !Number.isNaN(input.level) || $guard(_exceptionable, {
1268
- path: _path + ".level",
1269
- expected: "number",
1270
- value: input.level
1271
- }, errorFactory)) && ("string" === typeof input.code || $guard(_exceptionable, {
1272
- path: _path + ".code",
1273
- expected: "string",
1274
- value: input.code
1275
- }, errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || $guard(_exceptionable, {
1276
- path: _path + ".expose",
1277
- expected: "(boolean | null | undefined)",
1278
- value: input.expose
1279
- }, errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index && !Number.isNaN(input.index) || $guard(_exceptionable, {
1280
- path: _path + ".index",
1281
- expected: "(null | number | undefined)",
1282
- value: input.index
1283
- }, errorFactory));
1284
- return ("object" === typeof input && null !== input || $guard(true, {
1285
- path: _path + "",
1286
- expected: "AssetDomainStatusProvidedRecord",
1287
- value: input
1288
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1289
- path: _path + "",
1290
- expected: "AssetDomainStatusProvidedRecord",
1291
- value: input
1292
- }, errorFactory);
1293
- })(input, "$input", true);
1294
- return input;
1295
- }; const stringify = input => {
1296
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && "string" === typeof input.code && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index);
1297
- const $string = __typia.json.createAssertStringify.string;
1298
- const $so0 = input => `{"messages":${`[${input.messages.map(elem => $so1(elem)).join(",")}]`}}`;
1299
- const $so1 = input => `{${undefined === input.expose ? "" : `"expose":${undefined !== input.expose ? null !== input.expose ? input.expose : "null" : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? null !== input.index ? input.index : "null" : undefined},`}"id":${$string(input.id)},"msg":${$string(input.msg)},"level":${input.level},"code":${$string(input.code)}}`;
1300
- return $so0(input);
1301
- }; return stringify(assert(input, errorFactory)); };
1302
- export const isAssetDomainIconProvidedRecord = input => {
1303
- const $io0 = input => undefined === input.value || "string" === typeof input.value;
1304
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1305
- };
1306
- export const assertAssetDomainIconProvidedRecord = (input, errorFactory) => {
1307
- const __is = input => {
1308
- const $io0 = input => undefined === input.value || "string" === typeof input.value;
1309
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1310
- };
1311
- if (false === __is(input))
1312
- ((input, _path, _exceptionable = true) => {
1313
- const $guard = __typia.createAssert.guard;
1314
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
1315
- path: _path + ".value",
1316
- expected: "(string | undefined)",
1317
- value: input.value
1318
- }, errorFactory);
1319
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1320
- path: _path + "",
1321
- expected: "AssetDomainIconProvidedRecord",
1322
- value: input
1323
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1324
- path: _path + "",
1325
- expected: "AssetDomainIconProvidedRecord",
1326
- value: input
1327
- }, errorFactory);
1328
- })(input, "$input", true);
1329
- return input;
1330
- };
1331
- export const randomAssetDomainIconProvidedRecord = generator => {
1332
- const $generator = __typia.createRandom.generator;
1333
- const $pick = __typia.createRandom.pick;
1334
- const $ro0 = (_recursive = false, _depth = 0) => ({
1335
- value: $pick([
1336
- () => undefined,
1337
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1338
- ])()
1339
- });
1340
- return $ro0();
1341
- };
1342
- export const assertGuardAssetDomainIconProvidedRecord = (input, errorFactory) => {
1343
- const __is = input => {
1344
- const $io0 = input => undefined === input.value || "string" === typeof input.value;
1345
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1346
- };
1347
- if (false === __is(input))
1348
- ((input, _path, _exceptionable = true) => {
1349
- const $guard = __typia.createAssertGuard.guard;
1350
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
1351
- path: _path + ".value",
1352
- expected: "(string | undefined)",
1353
- value: input.value
1354
- }, errorFactory);
1355
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1356
- path: _path + "",
1357
- expected: "AssetDomainIconProvidedRecord",
1358
- value: input
1359
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1360
- path: _path + "",
1361
- expected: "AssetDomainIconProvidedRecord",
1362
- value: input
1363
- }, errorFactory);
1364
- })(input, "$input", true);
1365
- };
1366
- export const stringifyAssetDomainIconProvidedRecord = input => {
1367
- const $string = __typia.json.createStringify.string;
1368
- const $tail = __typia.json.createStringify.tail;
1369
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
1370
- return $so0(input);
1371
- };
1372
- export const assertStringifyAssetDomainIconProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1373
- const __is = input => {
1374
- const $io0 = input => undefined === input.value || "string" === typeof input.value;
1375
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1376
- };
1377
- if (false === __is(input))
1378
- ((input, _path, _exceptionable = true) => {
1379
- const $guard = __typia.json.createAssertStringify.guard;
1380
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "string" === typeof input.value || $guard(_exceptionable, {
1381
- path: _path + ".value",
1382
- expected: "(string | undefined)",
1383
- value: input.value
1384
- }, errorFactory);
1385
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1386
- path: _path + "",
1387
- expected: "AssetDomainIconProvidedRecord",
1388
- value: input
1389
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1390
- path: _path + "",
1391
- expected: "AssetDomainIconProvidedRecord",
1392
- value: input
1393
- }, errorFactory);
1394
- })(input, "$input", true);
1395
- return input;
1396
- }; const stringify = input => {
1397
- const $string = __typia.json.createAssertStringify.string;
1398
- const $tail = __typia.json.createAssertStringify.tail;
1399
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? $string(input.value) : undefined}`}`)}}`;
1400
- return $so0(input);
1401
- }; return stringify(assert(input, errorFactory)); };
1402
- export const isAssetDomainDeadlinesProvidedRecord = input => {
1403
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1404
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1405
- };
1406
- export const assertAssetDomainDeadlinesProvidedRecord = (input, errorFactory) => {
1407
- const __is = input => {
1408
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1409
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1410
- };
1411
- if (false === __is(input))
1412
- ((input, _path, _exceptionable = true) => {
1413
- const $guard = __typia.createAssert.guard;
1414
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1415
- path: _path + ".value",
1416
- expected: "(Array<string> | undefined)",
1417
- value: input.value
1418
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1419
- path: _path + ".value[" + _index1 + "]",
1420
- expected: "string",
1421
- value: elem
1422
- }, errorFactory)) || $guard(_exceptionable, {
1423
- path: _path + ".value",
1424
- expected: "(Array<string> | undefined)",
1425
- value: input.value
1426
- }, errorFactory);
1427
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1428
- path: _path + "",
1429
- expected: "AssetDomainDeadlinesProvidedRecord",
1430
- value: input
1431
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1432
- path: _path + "",
1433
- expected: "AssetDomainDeadlinesProvidedRecord",
1434
- value: input
1435
- }, errorFactory);
1436
- })(input, "$input", true);
1437
- return input;
1438
- };
1439
- export const randomAssetDomainDeadlinesProvidedRecord = generator => {
1440
- const $generator = __typia.createRandom.generator;
1441
- const $pick = __typia.createRandom.pick;
1442
- const $ro0 = (_recursive = false, _depth = 0) => ({
1443
- value: $pick([
1444
- () => undefined,
1445
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
1446
- ])()
1447
- });
1448
- return $ro0();
1449
- };
1450
- export const assertGuardAssetDomainDeadlinesProvidedRecord = (input, errorFactory) => {
1451
- const __is = input => {
1452
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1453
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1454
- };
1455
- if (false === __is(input))
1456
- ((input, _path, _exceptionable = true) => {
1457
- const $guard = __typia.createAssertGuard.guard;
1458
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1459
- path: _path + ".value",
1460
- expected: "(Array<string> | undefined)",
1461
- value: input.value
1462
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1463
- path: _path + ".value[" + _index1 + "]",
1464
- expected: "string",
1465
- value: elem
1466
- }, errorFactory)) || $guard(_exceptionable, {
1467
- path: _path + ".value",
1468
- expected: "(Array<string> | undefined)",
1469
- value: input.value
1470
- }, errorFactory);
1471
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1472
- path: _path + "",
1473
- expected: "AssetDomainDeadlinesProvidedRecord",
1474
- value: input
1475
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1476
- path: _path + "",
1477
- expected: "AssetDomainDeadlinesProvidedRecord",
1478
- value: input
1479
- }, errorFactory);
1480
- })(input, "$input", true);
1481
- };
1482
- export const stringifyAssetDomainDeadlinesProvidedRecord = input => {
1483
- const $string = __typia.json.createStringify.string;
1484
- const $tail = __typia.json.createStringify.tail;
1485
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1486
- return $so0(input);
1487
- };
1488
- export const assertStringifyAssetDomainDeadlinesProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1489
- const __is = input => {
1490
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1491
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1492
- };
1493
- if (false === __is(input))
1494
- ((input, _path, _exceptionable = true) => {
1495
- const $guard = __typia.json.createAssertStringify.guard;
1496
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1497
- path: _path + ".value",
1498
- expected: "(Array<string> | undefined)",
1499
- value: input.value
1500
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1501
- path: _path + ".value[" + _index1 + "]",
1502
- expected: "string",
1503
- value: elem
1504
- }, errorFactory)) || $guard(_exceptionable, {
1505
- path: _path + ".value",
1506
- expected: "(Array<string> | undefined)",
1507
- value: input.value
1508
- }, errorFactory);
1509
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1510
- path: _path + "",
1511
- expected: "AssetDomainDeadlinesProvidedRecord",
1512
- value: input
1513
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1514
- path: _path + "",
1515
- expected: "AssetDomainDeadlinesProvidedRecord",
1516
- value: input
1517
- }, errorFactory);
1518
- })(input, "$input", true);
1519
- return input;
1520
- }; const stringify = input => {
1521
- const $string = __typia.json.createAssertStringify.string;
1522
- const $tail = __typia.json.createAssertStringify.tail;
1523
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1524
- return $so0(input);
1525
- }; return stringify(assert(input, errorFactory)); };
1526
- export const isAssetDomainPublishProvidedRecord = input => {
1527
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1528
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1529
- };
1530
- export const assertAssetDomainPublishProvidedRecord = (input, errorFactory) => {
1531
- const __is = input => {
1532
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1533
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1534
- };
1535
- if (false === __is(input))
1536
- ((input, _path, _exceptionable = true) => {
1537
- const $guard = __typia.createAssert.guard;
1538
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1539
- path: _path + ".value",
1540
- expected: "(Array<string> | undefined)",
1541
- value: input.value
1542
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1543
- path: _path + ".value[" + _index1 + "]",
1544
- expected: "string",
1545
- value: elem
1546
- }, errorFactory)) || $guard(_exceptionable, {
1547
- path: _path + ".value",
1548
- expected: "(Array<string> | undefined)",
1549
- value: input.value
1550
- }, errorFactory);
1551
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1552
- path: _path + "",
1553
- expected: "AssetDomainPublishProvidedRecord",
1554
- value: input
1555
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1556
- path: _path + "",
1557
- expected: "AssetDomainPublishProvidedRecord",
1558
- value: input
1559
- }, errorFactory);
1560
- })(input, "$input", true);
1561
- return input;
1562
- };
1563
- export const randomAssetDomainPublishProvidedRecord = generator => {
1564
- const $generator = __typia.createRandom.generator;
1565
- const $pick = __typia.createRandom.pick;
1566
- const $ro0 = (_recursive = false, _depth = 0) => ({
1567
- value: $pick([
1568
- () => undefined,
1569
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
1570
- ])()
1571
- });
1572
- return $ro0();
1573
- };
1574
- export const assertGuardAssetDomainPublishProvidedRecord = (input, errorFactory) => {
1575
- const __is = input => {
1576
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1577
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1578
- };
1579
- if (false === __is(input))
1580
- ((input, _path, _exceptionable = true) => {
1581
- const $guard = __typia.createAssertGuard.guard;
1582
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1583
- path: _path + ".value",
1584
- expected: "(Array<string> | undefined)",
1585
- value: input.value
1586
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1587
- path: _path + ".value[" + _index1 + "]",
1588
- expected: "string",
1589
- value: elem
1590
- }, errorFactory)) || $guard(_exceptionable, {
1591
- path: _path + ".value",
1592
- expected: "(Array<string> | undefined)",
1593
- value: input.value
1594
- }, errorFactory);
1595
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1596
- path: _path + "",
1597
- expected: "AssetDomainPublishProvidedRecord",
1598
- value: input
1599
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1600
- path: _path + "",
1601
- expected: "AssetDomainPublishProvidedRecord",
1602
- value: input
1603
- }, errorFactory);
1604
- })(input, "$input", true);
1605
- };
1606
- export const stringifyAssetDomainPublishProvidedRecord = input => {
1607
- const $string = __typia.json.createStringify.string;
1608
- const $tail = __typia.json.createStringify.tail;
1609
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1610
- return $so0(input);
1611
- };
1612
- export const assertStringifyAssetDomainPublishProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1613
- const __is = input => {
1614
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
1615
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1616
- };
1617
- if (false === __is(input))
1618
- ((input, _path, _exceptionable = true) => {
1619
- const $guard = __typia.json.createAssertStringify.guard;
1620
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1621
- path: _path + ".value",
1622
- expected: "(Array<string> | undefined)",
1623
- value: input.value
1624
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1625
- path: _path + ".value[" + _index1 + "]",
1626
- expected: "string",
1627
- value: elem
1628
- }, errorFactory)) || $guard(_exceptionable, {
1629
- path: _path + ".value",
1630
- expected: "(Array<string> | undefined)",
1631
- value: input.value
1632
- }, errorFactory);
1633
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1634
- path: _path + "",
1635
- expected: "AssetDomainPublishProvidedRecord",
1636
- value: input
1637
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1638
- path: _path + "",
1639
- expected: "AssetDomainPublishProvidedRecord",
1640
- value: input
1641
- }, errorFactory);
1642
- })(input, "$input", true);
1643
- return input;
1644
- }; const stringify = input => {
1645
- const $string = __typia.json.createAssertStringify.string;
1646
- const $tail = __typia.json.createAssertStringify.tail;
1647
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1648
- return $so0(input);
1649
- }; return stringify(assert(input, errorFactory)); };
1650
- export const isAssetDomainPublishedProvidedRecord = input => {
1651
- const $io0 = input => Object.keys(input).every(key => {
1652
- const value = input[key];
1653
- if (undefined === value)
1654
- return true;
1655
- return "string" === typeof value;
1656
- });
1657
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1658
- };
1659
- export const assertAssetDomainPublishedProvidedRecord = (input, errorFactory) => {
1660
- const __is = input => {
1661
- const $io0 = input => Object.keys(input).every(key => {
1662
- const value = input[key];
1663
- if (undefined === value)
1664
- return true;
1665
- return "string" === typeof value;
1666
- });
1667
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1668
- };
1669
- if (false === __is(input))
1670
- ((input, _path, _exceptionable = true) => {
1671
- const $guard = __typia.createAssert.guard;
1672
- const $join = __typia.createAssert.join;
1673
- const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1674
- const value = input[key];
1675
- if (undefined === value)
1676
- return true;
1677
- return "string" === typeof value || $guard(_exceptionable, {
1678
- path: _path + $join(key),
1679
- expected: "string",
1680
- value: value
1681
- }, errorFactory);
1682
- });
1683
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1684
- path: _path + "",
1685
- expected: "AssetDomainPublishedProvidedRecord",
1686
- value: input
1687
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1688
- path: _path + "",
1689
- expected: "AssetDomainPublishedProvidedRecord",
1690
- value: input
1691
- }, errorFactory);
1692
- })(input, "$input", true);
1693
- return input;
1694
- };
1695
- export const randomAssetDomainPublishedProvidedRecord = generator => {
1696
- const $generator = __typia.createRandom.generator;
1697
- const $ro0 = (_recursive = false, _depth = 0) => {
1698
- const output = {};
1699
- (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(), (generator?.integer ?? $generator.integer)(0, 3));
1700
- return output;
1701
- };
1702
- return $ro0();
1703
- };
1704
- export const assertGuardAssetDomainPublishedProvidedRecord = (input, errorFactory) => {
1705
- const __is = input => {
1706
- const $io0 = input => Object.keys(input).every(key => {
1707
- const value = input[key];
1708
- if (undefined === value)
1709
- return true;
1710
- return "string" === typeof value;
1711
- });
1712
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1713
- };
1714
- if (false === __is(input))
1715
- ((input, _path, _exceptionable = true) => {
1716
- const $guard = __typia.createAssertGuard.guard;
1717
- const $join = __typia.createAssertGuard.join;
1718
- const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1719
- const value = input[key];
1720
- if (undefined === value)
1721
- return true;
1722
- return "string" === typeof value || $guard(_exceptionable, {
1723
- path: _path + $join(key),
1724
- expected: "string",
1725
- value: value
1726
- }, errorFactory);
1727
- });
1728
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1729
- path: _path + "",
1730
- expected: "AssetDomainPublishedProvidedRecord",
1731
- value: input
1732
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1733
- path: _path + "",
1734
- expected: "AssetDomainPublishedProvidedRecord",
1735
- value: input
1736
- }, errorFactory);
1737
- })(input, "$input", true);
1738
- };
1739
- export const stringifyAssetDomainPublishedProvidedRecord = input => {
1740
- const $string = __typia.json.createStringify.string;
1741
- const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1742
- return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
1743
- return $so0(input);
1744
- };
1745
- export const assertStringifyAssetDomainPublishedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1746
- const __is = input => {
1747
- const $io0 = input => Object.keys(input).every(key => {
1748
- const value = input[key];
1749
- if (undefined === value)
1750
- return true;
1751
- return "string" === typeof value;
1752
- });
1753
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1754
- };
1755
- if (false === __is(input))
1756
- ((input, _path, _exceptionable = true) => {
1757
- const $guard = __typia.json.createAssertStringify.guard;
1758
- const $join = __typia.json.createAssertStringify.join;
1759
- const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1760
- const value = input[key];
1761
- if (undefined === value)
1762
- return true;
1763
- return "string" === typeof value || $guard(_exceptionable, {
1764
- path: _path + $join(key),
1765
- expected: "string",
1766
- value: value
1767
- }, errorFactory);
1768
- });
1769
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1770
- path: _path + "",
1771
- expected: "AssetDomainPublishedProvidedRecord",
1772
- value: input
1773
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1774
- path: _path + "",
1775
- expected: "AssetDomainPublishedProvidedRecord",
1776
- value: input
1777
- }, errorFactory);
1778
- })(input, "$input", true);
1779
- return input;
1780
- }; const stringify = input => {
1781
- const $string = __typia.json.createAssertStringify.string;
1782
- const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1783
- return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
1784
- return $so0(input);
1785
- }; return stringify(assert(input, errorFactory)); };
1786
- export const isAssetDomainDurationProvidedRecord = input => {
1787
- const $io0 = input => undefined === input.value || "number" === typeof input.value;
1788
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1789
- };
1790
- export const assertAssetDomainDurationProvidedRecord = (input, errorFactory) => {
1791
- const __is = input => {
1792
- const $io0 = input => undefined === input.value || "number" === typeof input.value;
1793
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1794
- };
1795
- if (false === __is(input))
1796
- ((input, _path, _exceptionable = true) => {
1797
- const $guard = __typia.createAssert.guard;
1798
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "number" === typeof input.value || $guard(_exceptionable, {
1799
- path: _path + ".value",
1800
- expected: "(number | undefined)",
1801
- value: input.value
1802
- }, errorFactory);
1803
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1804
- path: _path + "",
1805
- expected: "AssetDomainDurationProvidedRecord",
1806
- value: input
1807
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1808
- path: _path + "",
1809
- expected: "AssetDomainDurationProvidedRecord",
1810
- value: input
1811
- }, errorFactory);
1812
- })(input, "$input", true);
1813
- return input;
1814
- };
1815
- export const randomAssetDomainDurationProvidedRecord = generator => {
1816
- const $generator = __typia.createRandom.generator;
1817
- const $pick = __typia.createRandom.pick;
1818
- const $ro0 = (_recursive = false, _depth = 0) => ({
1819
- value: $pick([
1820
- () => undefined,
1821
- () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1822
- ])()
1823
- });
1824
- return $ro0();
1825
- };
1826
- export const assertGuardAssetDomainDurationProvidedRecord = (input, errorFactory) => {
1827
- const __is = input => {
1828
- const $io0 = input => undefined === input.value || "number" === typeof input.value;
1829
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1830
- };
1831
- if (false === __is(input))
1832
- ((input, _path, _exceptionable = true) => {
1833
- const $guard = __typia.createAssertGuard.guard;
1834
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "number" === typeof input.value || $guard(_exceptionable, {
1835
- path: _path + ".value",
1836
- expected: "(number | undefined)",
1837
- value: input.value
1838
- }, errorFactory);
1839
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1840
- path: _path + "",
1841
- expected: "AssetDomainDurationProvidedRecord",
1842
- value: input
1843
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1844
- path: _path + "",
1845
- expected: "AssetDomainDurationProvidedRecord",
1846
- value: input
1847
- }, errorFactory);
1848
- })(input, "$input", true);
1849
- };
1850
- export const stringifyAssetDomainDurationProvidedRecord = input => {
1851
- const $tail = __typia.json.createStringify.tail;
1852
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? input.value : undefined}`}`)}}`;
1853
- return $so0(input);
1854
- };
1855
- export const assertStringifyAssetDomainDurationProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1856
- const __is = input => {
1857
- const $io0 = input => undefined === input.value || "number" === typeof input.value && !Number.isNaN(input.value);
1858
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1859
- };
1860
- if (false === __is(input))
1861
- ((input, _path, _exceptionable = true) => {
1862
- const $guard = __typia.json.createAssertStringify.guard;
1863
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || "number" === typeof input.value && !Number.isNaN(input.value) || $guard(_exceptionable, {
1864
- path: _path + ".value",
1865
- expected: "(number | undefined)",
1866
- value: input.value
1867
- }, errorFactory);
1868
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1869
- path: _path + "",
1870
- expected: "AssetDomainDurationProvidedRecord",
1871
- value: input
1872
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1873
- path: _path + "",
1874
- expected: "AssetDomainDurationProvidedRecord",
1875
- value: input
1876
- }, errorFactory);
1877
- })(input, "$input", true);
1878
- return input;
1879
- }; const stringify = input => {
1880
- const $tail = __typia.json.createAssertStringify.tail;
1881
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? input.value : undefined}`}`)}}`;
1882
- return $so0(input);
1883
- }; return stringify(assert(input, errorFactory)); };
1884
- export const isAssetDomainLocationsProvidedRecord = input => {
1885
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
1886
- const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
1887
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1888
- };
1889
- export const assertAssetDomainLocationsProvidedRecord = (input, errorFactory) => {
1890
- const __is = input => {
1891
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
1892
- const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
1893
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1894
- };
1895
- if (false === __is(input))
1896
- ((input, _path, _exceptionable = true) => {
1897
- const $guard = __typia.createAssert.guard;
1898
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1899
- path: _path + ".value",
1900
- expected: "(Array<__type> | undefined)",
1901
- value: input.value
1902
- }, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1903
- path: _path + ".value[" + _index1 + "]",
1904
- expected: "__type",
1905
- value: elem
1906
- }, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
1907
- path: _path + ".value[" + _index1 + "]",
1908
- expected: "__type",
1909
- value: elem
1910
- }, errorFactory)) || $guard(_exceptionable, {
1911
- path: _path + ".value",
1912
- expected: "(Array<__type> | undefined)",
1913
- value: input.value
1914
- }, errorFactory);
1915
- const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.lat || $guard(_exceptionable, {
1916
- path: _path + ".lat",
1917
- expected: "number",
1918
- value: input.lat
1919
- }, errorFactory)) && ("number" === typeof input.lon || $guard(_exceptionable, {
1920
- path: _path + ".lon",
1921
- expected: "number",
1922
- value: input.lon
1923
- }, errorFactory));
1924
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1925
- path: _path + "",
1926
- expected: "AssetDomainLocationsProvidedRecord",
1927
- value: input
1928
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1929
- path: _path + "",
1930
- expected: "AssetDomainLocationsProvidedRecord",
1931
- value: input
1932
- }, errorFactory);
1933
- })(input, "$input", true);
1934
- return input;
1935
- };
1936
- export const randomAssetDomainLocationsProvidedRecord = generator => {
1937
- const $generator = __typia.createRandom.generator;
1938
- const $pick = __typia.createRandom.pick;
1939
- const $ro0 = (_recursive = false, _depth = 0) => ({
1940
- value: $pick([
1941
- () => undefined,
1942
- () => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
1943
- ])()
1944
- });
1945
- const $ro1 = (_recursive = false, _depth = 0) => ({
1946
- lat: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
1947
- lon: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1948
- });
1949
- return $ro0();
1950
- };
1951
- export const assertGuardAssetDomainLocationsProvidedRecord = (input, errorFactory) => {
1952
- const __is = input => {
1953
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
1954
- const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
1955
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1956
- };
1957
- if (false === __is(input))
1958
- ((input, _path, _exceptionable = true) => {
1959
- const $guard = __typia.createAssertGuard.guard;
1960
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
1961
- path: _path + ".value",
1962
- expected: "(Array<__type> | undefined)",
1963
- value: input.value
1964
- }, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1965
- path: _path + ".value[" + _index1 + "]",
1966
- expected: "__type",
1967
- value: elem
1968
- }, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
1969
- path: _path + ".value[" + _index1 + "]",
1970
- expected: "__type",
1971
- value: elem
1972
- }, errorFactory)) || $guard(_exceptionable, {
1973
- path: _path + ".value",
1974
- expected: "(Array<__type> | undefined)",
1975
- value: input.value
1976
- }, errorFactory);
1977
- const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.lat || $guard(_exceptionable, {
1978
- path: _path + ".lat",
1979
- expected: "number",
1980
- value: input.lat
1981
- }, errorFactory)) && ("number" === typeof input.lon || $guard(_exceptionable, {
1982
- path: _path + ".lon",
1983
- expected: "number",
1984
- value: input.lon
1985
- }, errorFactory));
1986
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1987
- path: _path + "",
1988
- expected: "AssetDomainLocationsProvidedRecord",
1989
- value: input
1990
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1991
- path: _path + "",
1992
- expected: "AssetDomainLocationsProvidedRecord",
1993
- value: input
1994
- }, errorFactory);
1995
- })(input, "$input", true);
1996
- };
1997
- export const stringifyAssetDomainLocationsProvidedRecord = input => {
1998
- const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
1999
- const $tail = __typia.json.createStringify.tail;
2000
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"lat":${elem.lat},"lon":${elem.lon}}`).join(",")}]` : undefined}`}`)}}`;
2001
- return $so0(input);
2002
- };
2003
- export const assertStringifyAssetDomainLocationsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
2004
- const __is = input => {
2005
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
2006
- const $io1 = input => "number" === typeof input.lat && !Number.isNaN(input.lat) && ("number" === typeof input.lon && !Number.isNaN(input.lon));
2007
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2008
- };
2009
- if (false === __is(input))
2010
- ((input, _path, _exceptionable = true) => {
2011
- const $guard = __typia.json.createAssertStringify.guard;
2012
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2013
- path: _path + ".value",
2014
- expected: "(Array<__type> | undefined)",
2015
- value: input.value
2016
- }, errorFactory)) && input.value.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2017
- path: _path + ".value[" + _index1 + "]",
2018
- expected: "__type",
2019
- value: elem
2020
- }, errorFactory)) && $ao1(elem, _path + ".value[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
2021
- path: _path + ".value[" + _index1 + "]",
2022
- expected: "__type",
2023
- value: elem
2024
- }, errorFactory)) || $guard(_exceptionable, {
2025
- path: _path + ".value",
2026
- expected: "(Array<__type> | undefined)",
2027
- value: input.value
2028
- }, errorFactory);
2029
- const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.lat && !Number.isNaN(input.lat) || $guard(_exceptionable, {
2030
- path: _path + ".lat",
2031
- expected: "number",
2032
- value: input.lat
2033
- }, errorFactory)) && ("number" === typeof input.lon && !Number.isNaN(input.lon) || $guard(_exceptionable, {
2034
- path: _path + ".lon",
2035
- expected: "number",
2036
- value: input.lon
2037
- }, errorFactory));
2038
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2039
- path: _path + "",
2040
- expected: "AssetDomainLocationsProvidedRecord",
2041
- value: input
2042
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2043
- path: _path + "",
2044
- expected: "AssetDomainLocationsProvidedRecord",
2045
- value: input
2046
- }, errorFactory);
2047
- })(input, "$input", true);
2048
- return input;
2049
- }; const stringify = input => {
2050
- const $io1 = input => "number" === typeof input.lat && "number" === typeof input.lon;
2051
- const $tail = __typia.json.createAssertStringify.tail;
2052
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => `{"lat":${elem.lat},"lon":${elem.lon}}`).join(",")}]` : undefined}`}`)}}`;
2053
- return $so0(input);
2054
- }; return stringify(assert(input, errorFactory)); };
2055
- export const isAssetDomainControllersProvidedRecord = input => {
2056
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2057
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2058
- };
2059
- export const assertAssetDomainControllersProvidedRecord = (input, errorFactory) => {
2060
- const __is = input => {
2061
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2062
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2063
- };
2064
- if (false === __is(input))
2065
- ((input, _path, _exceptionable = true) => {
2066
- const $guard = __typia.createAssert.guard;
2067
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2068
- path: _path + ".value",
2069
- expected: "(Array<string> | undefined)",
2070
- value: input.value
2071
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2072
- path: _path + ".value[" + _index1 + "]",
2073
- expected: "string",
2074
- value: elem
2075
- }, errorFactory)) || $guard(_exceptionable, {
2076
- path: _path + ".value",
2077
- expected: "(Array<string> | undefined)",
2078
- value: input.value
2079
- }, errorFactory);
2080
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2081
- path: _path + "",
2082
- expected: "AssetDomainControllersProvidedRecord",
2083
- value: input
2084
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2085
- path: _path + "",
2086
- expected: "AssetDomainControllersProvidedRecord",
2087
- value: input
2088
- }, errorFactory);
2089
- })(input, "$input", true);
2090
- return input;
2091
- };
2092
- export const randomAssetDomainControllersProvidedRecord = generator => {
2093
- const $generator = __typia.createRandom.generator;
2094
- const $pick = __typia.createRandom.pick;
2095
- const $ro0 = (_recursive = false, _depth = 0) => ({
2096
- value: $pick([
2097
- () => undefined,
2098
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
2099
- ])()
2100
- });
2101
- return $ro0();
2102
- };
2103
- export const assertGuardAssetDomainControllersProvidedRecord = (input, errorFactory) => {
2104
- const __is = input => {
2105
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2106
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2107
- };
2108
- if (false === __is(input))
2109
- ((input, _path, _exceptionable = true) => {
2110
- const $guard = __typia.createAssertGuard.guard;
2111
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2112
- path: _path + ".value",
2113
- expected: "(Array<string> | undefined)",
2114
- value: input.value
2115
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2116
- path: _path + ".value[" + _index1 + "]",
2117
- expected: "string",
2118
- value: elem
2119
- }, errorFactory)) || $guard(_exceptionable, {
2120
- path: _path + ".value",
2121
- expected: "(Array<string> | undefined)",
2122
- value: input.value
2123
- }, errorFactory);
2124
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2125
- path: _path + "",
2126
- expected: "AssetDomainControllersProvidedRecord",
2127
- value: input
2128
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2129
- path: _path + "",
2130
- expected: "AssetDomainControllersProvidedRecord",
2131
- value: input
2132
- }, errorFactory);
2133
- })(input, "$input", true);
2134
- };
2135
- export const stringifyAssetDomainControllersProvidedRecord = input => {
2136
- const $string = __typia.json.createStringify.string;
2137
- const $tail = __typia.json.createStringify.tail;
2138
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2139
- return $so0(input);
2140
- };
2141
- export const assertStringifyAssetDomainControllersProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
2142
- const __is = input => {
2143
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2144
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2145
- };
2146
- if (false === __is(input))
2147
- ((input, _path, _exceptionable = true) => {
2148
- const $guard = __typia.json.createAssertStringify.guard;
2149
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2150
- path: _path + ".value",
2151
- expected: "(Array<string> | undefined)",
2152
- value: input.value
2153
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2154
- path: _path + ".value[" + _index1 + "]",
2155
- expected: "string",
2156
- value: elem
2157
- }, errorFactory)) || $guard(_exceptionable, {
2158
- path: _path + ".value",
2159
- expected: "(Array<string> | undefined)",
2160
- value: input.value
2161
- }, errorFactory);
2162
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2163
- path: _path + "",
2164
- expected: "AssetDomainControllersProvidedRecord",
2165
- value: input
2166
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2167
- path: _path + "",
2168
- expected: "AssetDomainControllersProvidedRecord",
2169
- value: input
2170
- }, errorFactory);
2171
- })(input, "$input", true);
2172
- return input;
2173
- }; const stringify = input => {
2174
- const $string = __typia.json.createAssertStringify.string;
2175
- const $tail = __typia.json.createAssertStringify.tail;
2176
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2177
- return $so0(input);
2178
- }; return stringify(assert(input, errorFactory)); };
2179
- export const isAssetDomainEmbeddingProvidedRecord = input => {
2180
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2181
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2182
- };
2183
- export const assertAssetDomainEmbeddingProvidedRecord = (input, errorFactory) => {
2184
- const __is = input => {
2185
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2186
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2187
- };
2188
- if (false === __is(input))
2189
- ((input, _path, _exceptionable = true) => {
2190
- const $guard = __typia.createAssert.guard;
2191
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2192
- path: _path + ".value",
2193
- expected: "(Array<string> | undefined)",
2194
- value: input.value
2195
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2196
- path: _path + ".value[" + _index1 + "]",
2197
- expected: "string",
2198
- value: elem
2199
- }, errorFactory)) || $guard(_exceptionable, {
2200
- path: _path + ".value",
2201
- expected: "(Array<string> | undefined)",
2202
- value: input.value
2203
- }, errorFactory);
2204
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2205
- path: _path + "",
2206
- expected: "AssetDomainEmbeddingProvidedRecord",
2207
- value: input
2208
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2209
- path: _path + "",
2210
- expected: "AssetDomainEmbeddingProvidedRecord",
2211
- value: input
2212
- }, errorFactory);
2213
- })(input, "$input", true);
2214
- return input;
2215
- };
2216
- export const randomAssetDomainEmbeddingProvidedRecord = generator => {
2217
- const $generator = __typia.createRandom.generator;
2218
- const $pick = __typia.createRandom.pick;
2219
- const $ro0 = (_recursive = false, _depth = 0) => ({
2220
- value: $pick([
2221
- () => undefined,
2222
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
2223
- ])()
2224
- });
2225
- return $ro0();
2226
- };
2227
- export const assertGuardAssetDomainEmbeddingProvidedRecord = (input, errorFactory) => {
2228
- const __is = input => {
2229
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2230
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2231
- };
2232
- if (false === __is(input))
2233
- ((input, _path, _exceptionable = true) => {
2234
- const $guard = __typia.createAssertGuard.guard;
2235
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2236
- path: _path + ".value",
2237
- expected: "(Array<string> | undefined)",
2238
- value: input.value
2239
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2240
- path: _path + ".value[" + _index1 + "]",
2241
- expected: "string",
2242
- value: elem
2243
- }, errorFactory)) || $guard(_exceptionable, {
2244
- path: _path + ".value",
2245
- expected: "(Array<string> | undefined)",
2246
- value: input.value
2247
- }, errorFactory);
2248
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2249
- path: _path + "",
2250
- expected: "AssetDomainEmbeddingProvidedRecord",
2251
- value: input
2252
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2253
- path: _path + "",
2254
- expected: "AssetDomainEmbeddingProvidedRecord",
2255
- value: input
2256
- }, errorFactory);
2257
- })(input, "$input", true);
2258
- };
2259
- export const stringifyAssetDomainEmbeddingProvidedRecord = input => {
2260
- const $string = __typia.json.createStringify.string;
2261
- const $tail = __typia.json.createStringify.tail;
2262
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2263
- return $so0(input);
2264
- };
2265
- export const assertStringifyAssetDomainEmbeddingProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
2266
- const __is = input => {
2267
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2268
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2269
- };
2270
- if (false === __is(input))
2271
- ((input, _path, _exceptionable = true) => {
2272
- const $guard = __typia.json.createAssertStringify.guard;
2273
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2274
- path: _path + ".value",
2275
- expected: "(Array<string> | undefined)",
2276
- value: input.value
2277
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2278
- path: _path + ".value[" + _index1 + "]",
2279
- expected: "string",
2280
- value: elem
2281
- }, errorFactory)) || $guard(_exceptionable, {
2282
- path: _path + ".value",
2283
- expected: "(Array<string> | undefined)",
2284
- value: input.value
2285
- }, errorFactory);
2286
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2287
- path: _path + "",
2288
- expected: "AssetDomainEmbeddingProvidedRecord",
2289
- value: input
2290
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2291
- path: _path + "",
2292
- expected: "AssetDomainEmbeddingProvidedRecord",
2293
- value: input
2294
- }, errorFactory);
2295
- })(input, "$input", true);
2296
- return input;
2297
- }; const stringify = input => {
2298
- const $string = __typia.json.createAssertStringify.string;
2299
- const $tail = __typia.json.createAssertStringify.tail;
2300
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2301
- return $so0(input);
2302
- }; return stringify(assert(input, errorFactory)); };
2303
- export const isAssetDomainMediaProvidedRecord = input => {
2304
- const $io0 = input => Object.keys(input).every(key => {
2305
- const value = input[key];
2306
- if (undefined === value)
2307
- return true;
2308
- return true;
2309
- });
2310
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2311
- };
2312
- export const assertAssetDomainMediaProvidedRecord = (input, errorFactory) => {
2313
- const __is = input => {
2314
- const $io0 = input => Object.keys(input).every(key => {
2315
- const value = input[key];
2316
- if (undefined === value)
2317
- return true;
2318
- return true;
2319
- });
2320
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2321
- };
2322
- if (false === __is(input))
2323
- ((input, _path, _exceptionable = true) => {
2324
- const $guard = __typia.createAssert.guard;
2325
- const $join = __typia.createAssert.join;
2326
- const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2327
- const value = input[key];
2328
- if (undefined === value)
2329
- return true;
2330
- return true;
2331
- });
2332
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2333
- path: _path + "",
2334
- expected: "AssetDomainMediaProvidedRecord",
2335
- value: input
2336
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2337
- path: _path + "",
2338
- expected: "AssetDomainMediaProvidedRecord",
2339
- value: input
2340
- }, errorFactory);
2341
- })(input, "$input", true);
2342
- return input;
2343
- };
2344
- export const randomAssetDomainMediaProvidedRecord = generator => {
2345
- const $generator = __typia.createRandom.generator;
2346
- const $ro0 = (_recursive = false, _depth = 0) => {
2347
- const output = {};
2348
- (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
2349
- return output;
2350
- };
2351
- return $ro0();
2352
- };
2353
- export const assertGuardAssetDomainMediaProvidedRecord = (input, errorFactory) => {
2354
- const __is = input => {
2355
- const $io0 = input => Object.keys(input).every(key => {
2356
- const value = input[key];
2357
- if (undefined === value)
2358
- return true;
2359
- return true;
2360
- });
2361
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2362
- };
2363
- if (false === __is(input))
2364
- ((input, _path, _exceptionable = true) => {
2365
- const $guard = __typia.createAssertGuard.guard;
2366
- const $join = __typia.createAssertGuard.join;
2367
- const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2368
- const value = input[key];
2369
- if (undefined === value)
2370
- return true;
2371
- return true;
2372
- });
2373
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2374
- path: _path + "",
2375
- expected: "AssetDomainMediaProvidedRecord",
2376
- value: input
2377
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2378
- path: _path + "",
2379
- expected: "AssetDomainMediaProvidedRecord",
2380
- value: input
2381
- }, errorFactory);
2382
- })(input, "$input", true);
2383
- };
2384
- export const stringifyAssetDomainMediaProvidedRecord = input => {
2385
- const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2386
- return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2387
- return $so0(input);
2388
- };
2389
- export const assertStringifyAssetDomainMediaProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
2390
- const __is = input => {
2391
- const $io0 = input => Object.keys(input).every(key => {
2392
- const value = input[key];
2393
- if (undefined === value)
2394
- return true;
2395
- return true;
2396
- });
2397
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2398
- };
2399
- if (false === __is(input))
2400
- ((input, _path, _exceptionable = true) => {
2401
- const $guard = __typia.json.createAssertStringify.guard;
2402
- const $join = __typia.json.createAssertStringify.join;
2403
- const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2404
- const value = input[key];
2405
- if (undefined === value)
2406
- return true;
2407
- return true;
2408
- });
2409
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2410
- path: _path + "",
2411
- expected: "AssetDomainMediaProvidedRecord",
2412
- value: input
2413
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2414
- path: _path + "",
2415
- expected: "AssetDomainMediaProvidedRecord",
2416
- value: input
2417
- }, errorFactory);
2418
- })(input, "$input", true);
2419
- return input;
2420
- }; const stringify = input => {
2421
- const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2422
- return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2423
- return $so0(input);
2424
- }; return stringify(assert(input, errorFactory)); };
2425
- export const isAssetDomainPresenceProvidedRecord = input => {
2426
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2427
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2428
- };
2429
- export const assertAssetDomainPresenceProvidedRecord = (input, errorFactory) => {
2430
- const __is = input => {
2431
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2432
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2433
- };
2434
- if (false === __is(input))
2435
- ((input, _path, _exceptionable = true) => {
2436
- const $guard = __typia.createAssert.guard;
2437
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2438
- path: _path + ".value",
2439
- expected: "(Array<string> | undefined)",
2440
- value: input.value
2441
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2442
- path: _path + ".value[" + _index1 + "]",
2443
- expected: "string",
2444
- value: elem
2445
- }, errorFactory)) || $guard(_exceptionable, {
2446
- path: _path + ".value",
2447
- expected: "(Array<string> | undefined)",
2448
- value: input.value
2449
- }, errorFactory);
2450
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2451
- path: _path + "",
2452
- expected: "AssetDomainPresenceProvidedRecord",
2453
- value: input
2454
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2455
- path: _path + "",
2456
- expected: "AssetDomainPresenceProvidedRecord",
2457
- value: input
2458
- }, errorFactory);
2459
- })(input, "$input", true);
2460
- return input;
2461
- };
2462
- export const randomAssetDomainPresenceProvidedRecord = generator => {
2463
- const $generator = __typia.createRandom.generator;
2464
- const $pick = __typia.createRandom.pick;
2465
- const $ro0 = (_recursive = false, _depth = 0) => ({
2466
- value: $pick([
2467
- () => undefined,
2468
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
2469
- ])()
2470
- });
2471
- return $ro0();
2472
- };
2473
- export const assertGuardAssetDomainPresenceProvidedRecord = (input, errorFactory) => {
2474
- const __is = input => {
2475
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2476
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2477
- };
2478
- if (false === __is(input))
2479
- ((input, _path, _exceptionable = true) => {
2480
- const $guard = __typia.createAssertGuard.guard;
2481
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2482
- path: _path + ".value",
2483
- expected: "(Array<string> | undefined)",
2484
- value: input.value
2485
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2486
- path: _path + ".value[" + _index1 + "]",
2487
- expected: "string",
2488
- value: elem
2489
- }, errorFactory)) || $guard(_exceptionable, {
2490
- path: _path + ".value",
2491
- expected: "(Array<string> | undefined)",
2492
- value: input.value
2493
- }, errorFactory);
2494
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2495
- path: _path + "",
2496
- expected: "AssetDomainPresenceProvidedRecord",
2497
- value: input
2498
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2499
- path: _path + "",
2500
- expected: "AssetDomainPresenceProvidedRecord",
2501
- value: input
2502
- }, errorFactory);
2503
- })(input, "$input", true);
2504
- };
2505
- export const stringifyAssetDomainPresenceProvidedRecord = input => {
2506
- const $string = __typia.json.createStringify.string;
2507
- const $tail = __typia.json.createStringify.tail;
2508
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2509
- return $so0(input);
2510
- };
2511
- export const assertStringifyAssetDomainPresenceProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
2512
- const __is = input => {
2513
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2514
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2515
- };
2516
- if (false === __is(input))
2517
- ((input, _path, _exceptionable = true) => {
2518
- const $guard = __typia.json.createAssertStringify.guard;
2519
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2520
- path: _path + ".value",
2521
- expected: "(Array<string> | undefined)",
2522
- value: input.value
2523
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2524
- path: _path + ".value[" + _index1 + "]",
2525
- expected: "string",
2526
- value: elem
2527
- }, errorFactory)) || $guard(_exceptionable, {
2528
- path: _path + ".value",
2529
- expected: "(Array<string> | undefined)",
2530
- value: input.value
2531
- }, errorFactory);
2532
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2533
- path: _path + "",
2534
- expected: "AssetDomainPresenceProvidedRecord",
2535
- value: input
2536
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2537
- path: _path + "",
2538
- expected: "AssetDomainPresenceProvidedRecord",
2539
- value: input
2540
- }, errorFactory);
2541
- })(input, "$input", true);
2542
- return input;
2543
- }; const stringify = input => {
2544
- const $string = __typia.json.createAssertStringify.string;
2545
- const $tail = __typia.json.createAssertStringify.tail;
2546
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2547
- return $so0(input);
2548
- }; return stringify(assert(input, errorFactory)); };
2549
- export const isAssetCommentsRecord = input => {
2550
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2551
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2552
- };
2553
- export const assertAssetCommentsRecord = (input, errorFactory) => {
2554
- const __is = input => {
2555
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2556
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2557
- };
2558
- if (false === __is(input))
2559
- ((input, _path, _exceptionable = true) => {
2560
- const $guard = __typia.createAssert.guard;
2561
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2562
- path: _path + ".value",
2563
- expected: "(Array<string> | undefined)",
2564
- value: input.value
2565
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2566
- path: _path + ".value[" + _index1 + "]",
2567
- expected: "string",
2568
- value: elem
2569
- }, errorFactory)) || $guard(_exceptionable, {
2570
- path: _path + ".value",
2571
- expected: "(Array<string> | undefined)",
2572
- value: input.value
2573
- }, errorFactory);
2574
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2575
- path: _path + "",
2576
- expected: "AssetCommentsRecord",
2577
- value: input
2578
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2579
- path: _path + "",
2580
- expected: "AssetCommentsRecord",
2581
- value: input
2582
- }, errorFactory);
2583
- })(input, "$input", true);
2584
- return input;
2585
- };
2586
- export const randomAssetCommentsRecord = generator => {
2587
- const $generator = __typia.createRandom.generator;
2588
- const $pick = __typia.createRandom.pick;
2589
- const $ro0 = (_recursive = false, _depth = 0) => ({
2590
- value: $pick([
2591
- () => undefined,
2592
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
2593
- ])()
2594
- });
2595
- return $ro0();
2596
- };
2597
- export const assertGuardAssetCommentsRecord = (input, errorFactory) => {
2598
- const __is = input => {
2599
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2600
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2601
- };
2602
- if (false === __is(input))
2603
- ((input, _path, _exceptionable = true) => {
2604
- const $guard = __typia.createAssertGuard.guard;
2605
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2606
- path: _path + ".value",
2607
- expected: "(Array<string> | undefined)",
2608
- value: input.value
2609
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2610
- path: _path + ".value[" + _index1 + "]",
2611
- expected: "string",
2612
- value: elem
2613
- }, errorFactory)) || $guard(_exceptionable, {
2614
- path: _path + ".value",
2615
- expected: "(Array<string> | undefined)",
2616
- value: input.value
2617
- }, errorFactory);
2618
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2619
- path: _path + "",
2620
- expected: "AssetCommentsRecord",
2621
- value: input
2622
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2623
- path: _path + "",
2624
- expected: "AssetCommentsRecord",
2625
- value: input
2626
- }, errorFactory);
2627
- })(input, "$input", true);
2628
- };
2629
- export const stringifyAssetCommentsRecord = input => {
2630
- const $string = __typia.json.createStringify.string;
2631
- const $tail = __typia.json.createStringify.tail;
2632
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2633
- return $so0(input);
2634
- };
2635
- export const assertStringifyAssetCommentsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
2636
- const __is = input => {
2637
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
2638
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2639
- };
2640
- if (false === __is(input))
2641
- ((input, _path, _exceptionable = true) => {
2642
- const $guard = __typia.json.createAssertStringify.guard;
2643
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
2644
- path: _path + ".value",
2645
- expected: "(Array<string> | undefined)",
2646
- value: input.value
2647
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2648
- path: _path + ".value[" + _index1 + "]",
2649
- expected: "string",
2650
- value: elem
2651
- }, errorFactory)) || $guard(_exceptionable, {
2652
- path: _path + ".value",
2653
- expected: "(Array<string> | undefined)",
2654
- value: input.value
2655
- }, errorFactory);
2656
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2657
- path: _path + "",
2658
- expected: "AssetCommentsRecord",
2659
- value: input
2660
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2661
- path: _path + "",
2662
- expected: "AssetCommentsRecord",
2663
- value: input
2664
- }, errorFactory);
2665
- })(input, "$input", true);
2666
- return input;
2667
- }; const stringify = input => {
2668
- const $string = __typia.json.createAssertStringify.string;
2669
- const $tail = __typia.json.createAssertStringify.tail;
2670
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2671
- return $so0(input);
2672
- }; return stringify(assert(input, errorFactory)); };