@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,324 +0,0 @@
1
- import __typia from "typia";
2
- export const isPlanningRecord = input => {
3
- const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
4
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5
- };
6
- export const assertPlanningRecord = (input, errorFactory) => {
7
- const __is = input => {
8
- const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
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) => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline || $guard(_exceptionable, {
15
- path: _path + ".deadline",
16
- expected: "(null | string | undefined)",
17
- value: input.deadline
18
- }, errorFactory);
19
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
20
- path: _path + "",
21
- expected: "PlanningRecord",
22
- value: input
23
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
24
- path: _path + "",
25
- expected: "PlanningRecord",
26
- value: input
27
- }, errorFactory);
28
- })(input, "$input", true);
29
- return input;
30
- };
31
- export const randomPlanningRecord = generator => {
32
- const $generator = __typia.createRandom.generator;
33
- const $pick = __typia.createRandom.pick;
34
- const $ro0 = (_recursive = false, _depth = 0) => ({
35
- deadline: $pick([
36
- () => undefined,
37
- () => null,
38
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
39
- ])()
40
- });
41
- return $ro0();
42
- };
43
- export const assertGuardPlanningRecord = (input, errorFactory) => {
44
- const __is = input => {
45
- const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
46
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
47
- };
48
- if (false === __is(input))
49
- ((input, _path, _exceptionable = true) => {
50
- const $guard = __typia.createAssertGuard.guard;
51
- const $ao0 = (input, _path, _exceptionable = true) => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline || $guard(_exceptionable, {
52
- path: _path + ".deadline",
53
- expected: "(null | string | undefined)",
54
- value: input.deadline
55
- }, errorFactory);
56
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
57
- path: _path + "",
58
- expected: "PlanningRecord",
59
- value: input
60
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
61
- path: _path + "",
62
- expected: "PlanningRecord",
63
- value: input
64
- }, errorFactory);
65
- })(input, "$input", true);
66
- };
67
- export const stringifyPlanningRecord = input => {
68
- const $string = __typia.json.createStringify.string;
69
- const $tail = __typia.json.createStringify.tail;
70
- const $so0 = input => `{${$tail(`${undefined === input.deadline ? "" : `"deadline":${undefined !== input.deadline ? null !== input.deadline ? $string(input.deadline) : "null" : undefined}`}`)}}`;
71
- return $so0(input);
72
- };
73
- export const assertStringifyPlanningRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
74
- const __is = input => {
75
- const $io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline;
76
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
77
- };
78
- if (false === __is(input))
79
- ((input, _path, _exceptionable = true) => {
80
- const $guard = __typia.json.createAssertStringify.guard;
81
- const $ao0 = (input, _path, _exceptionable = true) => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline || $guard(_exceptionable, {
82
- path: _path + ".deadline",
83
- expected: "(null | string | undefined)",
84
- value: input.deadline
85
- }, errorFactory);
86
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
87
- path: _path + "",
88
- expected: "PlanningRecord",
89
- value: input
90
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
91
- path: _path + "",
92
- expected: "PlanningRecord",
93
- value: input
94
- }, errorFactory);
95
- })(input, "$input", true);
96
- return input;
97
- }; const stringify = input => {
98
- const $string = __typia.json.createAssertStringify.string;
99
- const $tail = __typia.json.createAssertStringify.tail;
100
- const $so0 = input => `{${$tail(`${undefined === input.deadline ? "" : `"deadline":${undefined !== input.deadline ? null !== input.deadline ? $string(input.deadline) : "null" : undefined}`}`)}}`;
101
- return $so0(input);
102
- }; return stringify(assert(input, errorFactory)); };
103
- export const isPlanningAssigneesRecord = input => {
104
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
105
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
106
- };
107
- export const assertPlanningAssigneesRecord = (input, errorFactory) => {
108
- const __is = input => {
109
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
110
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
111
- };
112
- if (false === __is(input))
113
- ((input, _path, _exceptionable = true) => {
114
- const $guard = __typia.createAssert.guard;
115
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
116
- path: _path + ".value",
117
- expected: "(Array<string> | undefined)",
118
- value: input.value
119
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
120
- path: _path + ".value[" + _index1 + "]",
121
- expected: "string",
122
- value: elem
123
- }, errorFactory)) || $guard(_exceptionable, {
124
- path: _path + ".value",
125
- expected: "(Array<string> | undefined)",
126
- value: input.value
127
- }, errorFactory);
128
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
129
- path: _path + "",
130
- expected: "PlanningAssigneesRecord",
131
- value: input
132
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
133
- path: _path + "",
134
- expected: "PlanningAssigneesRecord",
135
- value: input
136
- }, errorFactory);
137
- })(input, "$input", true);
138
- return input;
139
- };
140
- export const randomPlanningAssigneesRecord = generator => {
141
- const $generator = __typia.createRandom.generator;
142
- const $pick = __typia.createRandom.pick;
143
- const $ro0 = (_recursive = false, _depth = 0) => ({
144
- value: $pick([
145
- () => undefined,
146
- () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
147
- ])()
148
- });
149
- return $ro0();
150
- };
151
- export const assertGuardPlanningAssigneesRecord = (input, errorFactory) => {
152
- const __is = input => {
153
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
154
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
155
- };
156
- if (false === __is(input))
157
- ((input, _path, _exceptionable = true) => {
158
- const $guard = __typia.createAssertGuard.guard;
159
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
160
- path: _path + ".value",
161
- expected: "(Array<string> | undefined)",
162
- value: input.value
163
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
164
- path: _path + ".value[" + _index1 + "]",
165
- expected: "string",
166
- value: elem
167
- }, errorFactory)) || $guard(_exceptionable, {
168
- path: _path + ".value",
169
- expected: "(Array<string> | undefined)",
170
- value: input.value
171
- }, errorFactory);
172
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
173
- path: _path + "",
174
- expected: "PlanningAssigneesRecord",
175
- value: input
176
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
177
- path: _path + "",
178
- expected: "PlanningAssigneesRecord",
179
- value: input
180
- }, errorFactory);
181
- })(input, "$input", true);
182
- };
183
- export const stringifyPlanningAssigneesRecord = input => {
184
- const $string = __typia.json.createStringify.string;
185
- const $tail = __typia.json.createStringify.tail;
186
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
187
- return $so0(input);
188
- };
189
- export const assertStringifyPlanningAssigneesRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
190
- const __is = input => {
191
- const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
192
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
193
- };
194
- if (false === __is(input))
195
- ((input, _path, _exceptionable = true) => {
196
- const $guard = __typia.json.createAssertStringify.guard;
197
- const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
198
- path: _path + ".value",
199
- expected: "(Array<string> | undefined)",
200
- value: input.value
201
- }, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
202
- path: _path + ".value[" + _index1 + "]",
203
- expected: "string",
204
- value: elem
205
- }, errorFactory)) || $guard(_exceptionable, {
206
- path: _path + ".value",
207
- expected: "(Array<string> | undefined)",
208
- value: input.value
209
- }, errorFactory);
210
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
211
- path: _path + "",
212
- expected: "PlanningAssigneesRecord",
213
- value: input
214
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
215
- path: _path + "",
216
- expected: "PlanningAssigneesRecord",
217
- value: input
218
- }, errorFactory);
219
- })(input, "$input", true);
220
- return input;
221
- }; const stringify = input => {
222
- const $string = __typia.json.createAssertStringify.string;
223
- const $tail = __typia.json.createAssertStringify.tail;
224
- const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
225
- return $so0(input);
226
- }; return stringify(assert(input, errorFactory)); };
227
- export const isPlanningDeadlineRecord = input => {
228
- const $io0 = input => null === input.value || "string" === typeof input.value;
229
- return "object" === typeof input && null !== input && $io0(input);
230
- };
231
- export const assertPlanningDeadlineRecord = (input, errorFactory) => {
232
- const __is = input => {
233
- const $io0 = input => null === input.value || "string" === typeof input.value;
234
- return "object" === typeof input && null !== input && $io0(input);
235
- };
236
- if (false === __is(input))
237
- ((input, _path, _exceptionable = true) => {
238
- const $guard = __typia.createAssert.guard;
239
- const $ao0 = (input, _path, _exceptionable = true) => null === input.value || "string" === typeof input.value || $guard(_exceptionable, {
240
- path: _path + ".value",
241
- expected: "(null | string)",
242
- value: input.value
243
- }, errorFactory);
244
- return ("object" === typeof input && null !== input || $guard(true, {
245
- path: _path + "",
246
- expected: "PlanningDeadlineRecord",
247
- value: input
248
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
249
- path: _path + "",
250
- expected: "PlanningDeadlineRecord",
251
- value: input
252
- }, errorFactory);
253
- })(input, "$input", true);
254
- return input;
255
- };
256
- export const randomPlanningDeadlineRecord = generator => {
257
- const $generator = __typia.createRandom.generator;
258
- const $pick = __typia.createRandom.pick;
259
- const $ro0 = (_recursive = false, _depth = 0) => ({
260
- value: $pick([
261
- () => null,
262
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
263
- ])()
264
- });
265
- return $ro0();
266
- };
267
- export const assertGuardPlanningDeadlineRecord = (input, errorFactory) => {
268
- const __is = input => {
269
- const $io0 = input => null === input.value || "string" === typeof input.value;
270
- return "object" === typeof input && null !== input && $io0(input);
271
- };
272
- if (false === __is(input))
273
- ((input, _path, _exceptionable = true) => {
274
- const $guard = __typia.createAssertGuard.guard;
275
- const $ao0 = (input, _path, _exceptionable = true) => null === input.value || "string" === typeof input.value || $guard(_exceptionable, {
276
- path: _path + ".value",
277
- expected: "(null | string)",
278
- value: input.value
279
- }, errorFactory);
280
- return ("object" === typeof input && null !== input || $guard(true, {
281
- path: _path + "",
282
- expected: "PlanningDeadlineRecord",
283
- value: input
284
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
285
- path: _path + "",
286
- expected: "PlanningDeadlineRecord",
287
- value: input
288
- }, errorFactory);
289
- })(input, "$input", true);
290
- };
291
- export const stringifyPlanningDeadlineRecord = input => {
292
- const $string = __typia.json.createStringify.string;
293
- const $so0 = input => `{"value":${null !== input.value ? $string(input.value) : "null"}}`;
294
- return $so0(input);
295
- };
296
- export const assertStringifyPlanningDeadlineRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
297
- const __is = input => {
298
- const $io0 = input => null === input.value || "string" === typeof input.value;
299
- return "object" === typeof input && null !== input && $io0(input);
300
- };
301
- if (false === __is(input))
302
- ((input, _path, _exceptionable = true) => {
303
- const $guard = __typia.json.createAssertStringify.guard;
304
- const $ao0 = (input, _path, _exceptionable = true) => null === input.value || "string" === typeof input.value || $guard(_exceptionable, {
305
- path: _path + ".value",
306
- expected: "(null | string)",
307
- value: input.value
308
- }, errorFactory);
309
- return ("object" === typeof input && null !== input || $guard(true, {
310
- path: _path + "",
311
- expected: "PlanningDeadlineRecord",
312
- value: input
313
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
314
- path: _path + "",
315
- expected: "PlanningDeadlineRecord",
316
- value: input
317
- }, errorFactory);
318
- })(input, "$input", true);
319
- return input;
320
- }; const stringify = input => {
321
- const $string = __typia.json.createAssertStringify.string;
322
- const $so0 = input => `{"value":${null !== input.value ? $string(input.value) : "null"}}`;
323
- return $so0(input);
324
- }; return stringify(assert(input, errorFactory)); };