@nxtedition/types 23.0.39 → 23.0.41

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 -51
  2. package/dist/app.js +1 -823
  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 +2 -15
  28. package/dist/common/render-preset.js +1 -1202
  29. package/dist/common/render-profile.d.ts +0 -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 -1754
  33. package/dist/common/render-scene.d.ts +2 -15
  34. package/dist/common/render-scene.js +1 -2230
  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 +128 -121
  40. package/dist/common/settings.js +1 -6936
  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 -85
  45. package/dist/index.js +5 -187
  46. package/dist/nxtpression.d.ts +732 -344
  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 +7 -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 +145 -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 +9 -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 +10 -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 +15861 -0
  143. package/dist/records/validate/assert.d.ts +4 -0
  144. package/dist/records/validate/assert.js +15990 -0
  145. package/dist/records/validate/is.d.ts +4 -0
  146. package/dist/records/validate/is.js +1017 -0
  147. package/dist/records/validate/schemas.d.ts +9 -0
  148. package/dist/records/validate/schemas.js +12613 -0
  149. package/dist/records/validate/stringify.d.ts +4 -0
  150. package/dist/records/validate/stringify.js +1904 -0
  151. package/dist/records/validate/utils.d.ts +15 -0
  152. package/dist/records/validate/utils.js +18 -0
  153. package/dist/records/validate/utils.test.d.ts +1 -0
  154. package/dist/records/validate/utils.test.js +35 -0
  155. package/dist/records/validate/validate.d.ts +5 -0
  156. package/dist/records/validate/validate.js +14943 -0
  157. package/dist/rpc.d.ts +13 -14
  158. package/dist/rpc.js +126 -511
  159. package/dist/tsdoc-metadata.json +1 -1
  160. package/package.json +26 -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 -42
  185. package/dist/domains/event.js +0 -754
  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 -4553
  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 -1397
  207. package/dist/domains/publish.js +0 -34436
  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 -172
  212. package/dist/domains/render.js +0 -4783
  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 -13
  218. package/dist/domains/script.js +0 -125
  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 -6624
  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 -37
  226. package/dist/domains/subtitle-style.js +0 -485
  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 -9075
  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,16 +0,0 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- export interface ContactDomainRecords {
3
- ":contact": ContactRecord;
4
- }
5
- export interface ContactRecord {
6
- title?: string;
7
- email?: string;
8
- firstName?: string;
9
- lastName?: string;
10
- }
11
- export declare const isContactRecord: (input: unknown) => input is ContactRecord;
12
- export declare const assertContactRecord: (input: unknown) => ContactRecord;
13
- export declare const randomContactRecord: () => ContactRecord;
14
- export declare const assertGuardContactRecord: __AssertionGuard<ContactRecord>;
15
- export declare const stringifyContactRecord: (input: ContactRecord) => string;
16
- export declare const assertStringifyContactRecord: (input: unknown) => string;
@@ -1,149 +0,0 @@
1
- import __typia from "typia";
2
- export const isContactRecord = input => {
3
- const $io0 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.email || "string" === typeof input.email) && (undefined === input.firstName || "string" === typeof input.firstName) && (undefined === input.lastName || "string" === typeof input.lastName);
4
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5
- };
6
- export const assertContactRecord = (input, errorFactory) => {
7
- const __is = input => {
8
- const $io0 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.email || "string" === typeof input.email) && (undefined === input.firstName || "string" === typeof input.firstName) && (undefined === input.lastName || "string" === typeof input.lastName);
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.title || "string" === typeof input.title || $guard(_exceptionable, {
15
- path: _path + ".title",
16
- expected: "(string | undefined)",
17
- value: input.title
18
- }, errorFactory)) && (undefined === input.email || "string" === typeof input.email || $guard(_exceptionable, {
19
- path: _path + ".email",
20
- expected: "(string | undefined)",
21
- value: input.email
22
- }, errorFactory)) && (undefined === input.firstName || "string" === typeof input.firstName || $guard(_exceptionable, {
23
- path: _path + ".firstName",
24
- expected: "(string | undefined)",
25
- value: input.firstName
26
- }, errorFactory)) && (undefined === input.lastName || "string" === typeof input.lastName || $guard(_exceptionable, {
27
- path: _path + ".lastName",
28
- expected: "(string | undefined)",
29
- value: input.lastName
30
- }, errorFactory));
31
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
32
- path: _path + "",
33
- expected: "ContactRecord",
34
- value: input
35
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
36
- path: _path + "",
37
- expected: "ContactRecord",
38
- value: input
39
- }, errorFactory);
40
- })(input, "$input", true);
41
- return input;
42
- };
43
- export const randomContactRecord = generator => {
44
- const $generator = __typia.createRandom.generator;
45
- const $pick = __typia.createRandom.pick;
46
- const $ro0 = (_recursive = false, _depth = 0) => ({
47
- title: $pick([
48
- () => undefined,
49
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
50
- ])(),
51
- email: $pick([
52
- () => undefined,
53
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
54
- ])(),
55
- firstName: $pick([
56
- () => undefined,
57
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
58
- ])(),
59
- lastName: $pick([
60
- () => undefined,
61
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
62
- ])()
63
- });
64
- return $ro0();
65
- };
66
- export const assertGuardContactRecord = (input, errorFactory) => {
67
- const __is = input => {
68
- const $io0 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.email || "string" === typeof input.email) && (undefined === input.firstName || "string" === typeof input.firstName) && (undefined === input.lastName || "string" === typeof input.lastName);
69
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
70
- };
71
- if (false === __is(input))
72
- ((input, _path, _exceptionable = true) => {
73
- const $guard = __typia.createAssertGuard.guard;
74
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title || $guard(_exceptionable, {
75
- path: _path + ".title",
76
- expected: "(string | undefined)",
77
- value: input.title
78
- }, errorFactory)) && (undefined === input.email || "string" === typeof input.email || $guard(_exceptionable, {
79
- path: _path + ".email",
80
- expected: "(string | undefined)",
81
- value: input.email
82
- }, errorFactory)) && (undefined === input.firstName || "string" === typeof input.firstName || $guard(_exceptionable, {
83
- path: _path + ".firstName",
84
- expected: "(string | undefined)",
85
- value: input.firstName
86
- }, errorFactory)) && (undefined === input.lastName || "string" === typeof input.lastName || $guard(_exceptionable, {
87
- path: _path + ".lastName",
88
- expected: "(string | undefined)",
89
- value: input.lastName
90
- }, errorFactory));
91
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
92
- path: _path + "",
93
- expected: "ContactRecord",
94
- value: input
95
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
96
- path: _path + "",
97
- expected: "ContactRecord",
98
- value: input
99
- }, errorFactory);
100
- })(input, "$input", true);
101
- };
102
- export const stringifyContactRecord = input => {
103
- const $string = __typia.json.createStringify.string;
104
- const $tail = __typia.json.createStringify.tail;
105
- const $so0 = input => `{${$tail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? $string(input.title) : undefined},`}${undefined === input.email ? "" : `"email":${undefined !== input.email ? $string(input.email) : undefined},`}${undefined === input.firstName ? "" : `"firstName":${undefined !== input.firstName ? $string(input.firstName) : undefined},`}${undefined === input.lastName ? "" : `"lastName":${undefined !== input.lastName ? $string(input.lastName) : undefined}`}`)}}`;
106
- return $so0(input);
107
- };
108
- export const assertStringifyContactRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
109
- const __is = input => {
110
- const $io0 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.email || "string" === typeof input.email) && (undefined === input.firstName || "string" === typeof input.firstName) && (undefined === input.lastName || "string" === typeof input.lastName);
111
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
112
- };
113
- if (false === __is(input))
114
- ((input, _path, _exceptionable = true) => {
115
- const $guard = __typia.json.createAssertStringify.guard;
116
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title || $guard(_exceptionable, {
117
- path: _path + ".title",
118
- expected: "(string | undefined)",
119
- value: input.title
120
- }, errorFactory)) && (undefined === input.email || "string" === typeof input.email || $guard(_exceptionable, {
121
- path: _path + ".email",
122
- expected: "(string | undefined)",
123
- value: input.email
124
- }, errorFactory)) && (undefined === input.firstName || "string" === typeof input.firstName || $guard(_exceptionable, {
125
- path: _path + ".firstName",
126
- expected: "(string | undefined)",
127
- value: input.firstName
128
- }, errorFactory)) && (undefined === input.lastName || "string" === typeof input.lastName || $guard(_exceptionable, {
129
- path: _path + ".lastName",
130
- expected: "(string | undefined)",
131
- value: input.lastName
132
- }, errorFactory));
133
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
134
- path: _path + "",
135
- expected: "ContactRecord",
136
- value: input
137
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
138
- path: _path + "",
139
- expected: "ContactRecord",
140
- value: input
141
- }, errorFactory);
142
- })(input, "$input", true);
143
- return input;
144
- }; const stringify = input => {
145
- const $string = __typia.json.createAssertStringify.string;
146
- const $tail = __typia.json.createAssertStringify.tail;
147
- const $so0 = input => `{${$tail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? $string(input.title) : undefined},`}${undefined === input.email ? "" : `"email":${undefined !== input.email ? $string(input.email) : undefined},`}${undefined === input.firstName ? "" : `"firstName":${undefined !== input.firstName ? $string(input.firstName) : undefined},`}${undefined === input.lastName ? "" : `"lastName":${undefined !== input.lastName ? $string(input.lastName) : undefined}`}`)}}`;
148
- return $so0(input);
149
- }; return stringify(assert(input, errorFactory)); };
@@ -1,14 +0,0 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- export interface DeepstreamDomainRecords {
3
- ":deepstream.replicate": DeepstreamDomainReplicateRecord;
4
- }
5
- export interface DeepstreamDomainReplicateRecord {
6
- synced?: boolean;
7
- since?: string | 0 | null;
8
- }
9
- export declare const isDeepstreamDomainReplicateRecord: (input: unknown) => input is DeepstreamDomainReplicateRecord;
10
- export declare const assertDeepstreamDomainReplicateRecord: (input: unknown) => DeepstreamDomainReplicateRecord;
11
- export declare const randomDeepstreamDomainReplicateRecord: () => DeepstreamDomainReplicateRecord;
12
- export declare const assertGuardDeepstreamDomainReplicateRecord: __AssertionGuard<DeepstreamDomainReplicateRecord>;
13
- export declare const stringifyDeepstreamDomainReplicateRecord: (input: DeepstreamDomainReplicateRecord) => string;
14
- export declare const assertStringifyDeepstreamDomainReplicateRecord: (input: unknown) => string;
@@ -1,139 +0,0 @@
1
- import __typia from "typia";
2
- export const isDeepstreamDomainReplicateRecord = input => {
3
- const $io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since);
4
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5
- };
6
- export const assertDeepstreamDomainReplicateRecord = (input, errorFactory) => {
7
- const __is = input => {
8
- const $io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since);
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.synced || "boolean" === typeof input.synced || $guard(_exceptionable, {
15
- path: _path + ".synced",
16
- expected: "(boolean | undefined)",
17
- value: input.synced
18
- }, errorFactory)) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since || $guard(_exceptionable, {
19
- path: _path + ".since",
20
- expected: "(0 | null | string | undefined)",
21
- value: input.since
22
- }, errorFactory));
23
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
24
- path: _path + "",
25
- expected: "DeepstreamDomainReplicateRecord",
26
- value: input
27
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
28
- path: _path + "",
29
- expected: "DeepstreamDomainReplicateRecord",
30
- value: input
31
- }, errorFactory);
32
- })(input, "$input", true);
33
- return input;
34
- };
35
- export const randomDeepstreamDomainReplicateRecord = generator => {
36
- const $generator = __typia.createRandom.generator;
37
- const $pick = __typia.createRandom.pick;
38
- const $ro0 = (_recursive = false, _depth = 0) => ({
39
- synced: $pick([
40
- () => undefined,
41
- () => (generator?.boolean ?? $generator.boolean)()
42
- ])(),
43
- since: $pick([
44
- () => undefined,
45
- () => null,
46
- () => 0,
47
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
48
- ])()
49
- });
50
- return $ro0();
51
- };
52
- export const assertGuardDeepstreamDomainReplicateRecord = (input, errorFactory) => {
53
- const __is = input => {
54
- const $io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since);
55
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
56
- };
57
- if (false === __is(input))
58
- ((input, _path, _exceptionable = true) => {
59
- const $guard = __typia.createAssertGuard.guard;
60
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.synced || "boolean" === typeof input.synced || $guard(_exceptionable, {
61
- path: _path + ".synced",
62
- expected: "(boolean | undefined)",
63
- value: input.synced
64
- }, errorFactory)) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since || $guard(_exceptionable, {
65
- path: _path + ".since",
66
- expected: "(0 | null | string | undefined)",
67
- value: input.since
68
- }, errorFactory));
69
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
70
- path: _path + "",
71
- expected: "DeepstreamDomainReplicateRecord",
72
- value: input
73
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
74
- path: _path + "",
75
- expected: "DeepstreamDomainReplicateRecord",
76
- value: input
77
- }, errorFactory);
78
- })(input, "$input", true);
79
- };
80
- export const stringifyDeepstreamDomainReplicateRecord = input => {
81
- const $string = __typia.json.createStringify.string;
82
- const $throws = __typia.json.createStringify.throws;
83
- const $tail = __typia.json.createStringify.tail;
84
- const $so0 = input => `{${$tail(`${undefined === input.synced ? "" : `"synced":${undefined !== input.synced ? input.synced : undefined},`}${undefined === input.since ? "" : `"since":${undefined !== input.since ? null !== input.since ? (() => {
85
- if ("number" === typeof input.since)
86
- return input.since;
87
- if ("string" === typeof input.since)
88
- return $string(input.since);
89
- $throws({
90
- expected: "(0 | null | string | undefined)",
91
- value: input.since
92
- });
93
- })() : "null" : undefined}`}`)}}`;
94
- return $so0(input);
95
- };
96
- export const assertStringifyDeepstreamDomainReplicateRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
97
- const __is = input => {
98
- const $io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since);
99
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
100
- };
101
- if (false === __is(input))
102
- ((input, _path, _exceptionable = true) => {
103
- const $guard = __typia.json.createAssertStringify.guard;
104
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.synced || "boolean" === typeof input.synced || $guard(_exceptionable, {
105
- path: _path + ".synced",
106
- expected: "(boolean | undefined)",
107
- value: input.synced
108
- }, errorFactory)) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since || $guard(_exceptionable, {
109
- path: _path + ".since",
110
- expected: "(0 | null | string | undefined)",
111
- value: input.since
112
- }, errorFactory));
113
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
114
- path: _path + "",
115
- expected: "DeepstreamDomainReplicateRecord",
116
- value: input
117
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
118
- path: _path + "",
119
- expected: "DeepstreamDomainReplicateRecord",
120
- value: input
121
- }, errorFactory);
122
- })(input, "$input", true);
123
- return input;
124
- }; const stringify = input => {
125
- const $string = __typia.json.createAssertStringify.string;
126
- const $throws = __typia.json.createAssertStringify.throws;
127
- const $tail = __typia.json.createAssertStringify.tail;
128
- const $so0 = input => `{${$tail(`${undefined === input.synced ? "" : `"synced":${undefined !== input.synced ? input.synced : undefined},`}${undefined === input.since ? "" : `"since":${undefined !== input.since ? null !== input.since ? (() => {
129
- if ("number" === typeof input.since)
130
- return input.since;
131
- if ("string" === typeof input.since)
132
- return $string(input.since);
133
- $throws({
134
- expected: "(0 | null | string | undefined)",
135
- value: input.since
136
- });
137
- })() : "null" : undefined}`}`)}}`;
138
- return $so0(input);
139
- }; return stringify(assert(input, errorFactory)); };
@@ -1,24 +0,0 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- export interface DesignDomainRecords {
3
- ":design": DesignDomainRecord;
4
- }
5
- export interface DesignDomainRecord<Id = string, Key = string, Value = unknown> {
6
- rows: DesignViewRow<Id, Key, Value>[];
7
- }
8
- export declare const isDesignDomainRecord: (input: unknown) => input is DesignDomainRecord<string, string, unknown>;
9
- export declare const assertDesignDomainRecord: (input: unknown) => DesignDomainRecord<string, string, unknown>;
10
- export declare const randomDesignDomainRecord: () => DesignDomainRecord<string, string, unknown>;
11
- export declare const assertGuardDesignDomainRecord: __AssertionGuard<DesignDomainRecord>;
12
- export declare const stringifyDesignDomainRecord: (input: DesignDomainRecord<string, string, unknown>) => string;
13
- export declare const assertStringifyDesignDomainRecord: (input: unknown) => string;
14
- export interface DesignViewRow<Id = string, Key = string, Value = void> {
15
- id: Id;
16
- key: Key;
17
- value: Value;
18
- }
19
- export declare const isDesignViewRow: (input: unknown) => input is DesignViewRow<string, string, void>;
20
- export declare const assertDesignViewRow: (input: unknown) => DesignViewRow<string, string, void>;
21
- export declare const randomDesignViewRow: () => DesignViewRow<string, string, void>;
22
- export declare const assertGuardDesignViewRow: __AssertionGuard<DesignViewRow>;
23
- export declare const stringifyDesignViewRow: (input: DesignViewRow<string, string, void>) => string;
24
- export declare const assertStringifyDesignViewRow: (input: unknown) => string;
@@ -1,303 +0,0 @@
1
- import __typia from "typia";
2
- export const isDesignDomainRecord = input => {
3
- const $io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
4
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && true;
5
- return "object" === typeof input && null !== input && $io0(input);
6
- };
7
- export const assertDesignDomainRecord = (input, errorFactory) => {
8
- const __is = input => {
9
- const $io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
10
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && true;
11
- return "object" === typeof input && null !== input && $io0(input);
12
- };
13
- if (false === __is(input))
14
- ((input, _path, _exceptionable = true) => {
15
- const $guard = __typia.createAssert.guard;
16
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rows) || $guard(_exceptionable, {
17
- path: _path + ".rows",
18
- expected: "Array<DesignViewRow<string, string, unknown>>",
19
- value: input.rows
20
- }, errorFactory)) && input.rows.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
21
- path: _path + ".rows[" + _index1 + "]",
22
- expected: "DesignViewRow<string, string, unknown>",
23
- value: elem
24
- }, errorFactory)) && $ao1(elem, _path + ".rows[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
25
- path: _path + ".rows[" + _index1 + "]",
26
- expected: "DesignViewRow<string, string, unknown>",
27
- value: elem
28
- }, errorFactory)) || $guard(_exceptionable, {
29
- path: _path + ".rows",
30
- expected: "Array<DesignViewRow<string, string, unknown>>",
31
- value: input.rows
32
- }, errorFactory);
33
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
34
- path: _path + ".id",
35
- expected: "string",
36
- value: input.id
37
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
38
- path: _path + ".key",
39
- expected: "string",
40
- value: input.key
41
- }, errorFactory)) && true;
42
- return ("object" === typeof input && null !== input || $guard(true, {
43
- path: _path + "",
44
- expected: "DesignDomainRecord<string, string, unknown>",
45
- value: input
46
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
47
- path: _path + "",
48
- expected: "DesignDomainRecord<string, string, unknown>",
49
- value: input
50
- }, errorFactory);
51
- })(input, "$input", true);
52
- return input;
53
- };
54
- export const randomDesignDomainRecord = generator => {
55
- const $generator = __typia.createRandom.generator;
56
- const $ro0 = (_recursive = false, _depth = 0) => ({
57
- rows: (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
58
- });
59
- const $ro1 = (_recursive = false, _depth = 0) => ({
60
- id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
61
- key: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
62
- value: "any type used..."
63
- });
64
- return $ro0();
65
- };
66
- export const assertGuardDesignDomainRecord = (input, errorFactory) => {
67
- const __is = input => {
68
- const $io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
69
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && true;
70
- return "object" === typeof input && null !== input && $io0(input);
71
- };
72
- if (false === __is(input))
73
- ((input, _path, _exceptionable = true) => {
74
- const $guard = __typia.createAssertGuard.guard;
75
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rows) || $guard(_exceptionable, {
76
- path: _path + ".rows",
77
- expected: "Array<DesignViewRow<string, string, unknown>>",
78
- value: input.rows
79
- }, errorFactory)) && input.rows.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
80
- path: _path + ".rows[" + _index1 + "]",
81
- expected: "DesignViewRow<string, string, unknown>",
82
- value: elem
83
- }, errorFactory)) && $ao1(elem, _path + ".rows[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
84
- path: _path + ".rows[" + _index1 + "]",
85
- expected: "DesignViewRow<string, string, unknown>",
86
- value: elem
87
- }, errorFactory)) || $guard(_exceptionable, {
88
- path: _path + ".rows",
89
- expected: "Array<DesignViewRow<string, string, unknown>>",
90
- value: input.rows
91
- }, errorFactory);
92
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
93
- path: _path + ".id",
94
- expected: "string",
95
- value: input.id
96
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
97
- path: _path + ".key",
98
- expected: "string",
99
- value: input.key
100
- }, errorFactory)) && true;
101
- return ("object" === typeof input && null !== input || $guard(true, {
102
- path: _path + "",
103
- expected: "DesignDomainRecord<string, string, unknown>",
104
- value: input
105
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
106
- path: _path + "",
107
- expected: "DesignDomainRecord<string, string, unknown>",
108
- value: input
109
- }, errorFactory);
110
- })(input, "$input", true);
111
- };
112
- export const stringifyDesignDomainRecord = input => {
113
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && true;
114
- const $string = __typia.json.createStringify.string;
115
- const $so0 = input => `{"rows":${`[${input.rows.map(elem => $so1(elem)).join(",")}]`}}`;
116
- const $so1 = input => `{${undefined === input.value || "function" === typeof input.value ? "" : `"value":${undefined !== input.value ? JSON.stringify(input.value) : undefined},`}"id":${$string(input.id)},"key":${$string(input.key)}}`;
117
- return $so0(input);
118
- };
119
- export const assertStringifyDesignDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
120
- const __is = input => {
121
- const $io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
122
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && true;
123
- return "object" === typeof input && null !== input && $io0(input);
124
- };
125
- if (false === __is(input))
126
- ((input, _path, _exceptionable = true) => {
127
- const $guard = __typia.json.createAssertStringify.guard;
128
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rows) || $guard(_exceptionable, {
129
- path: _path + ".rows",
130
- expected: "Array<DesignViewRow<string, string, unknown>>",
131
- value: input.rows
132
- }, errorFactory)) && input.rows.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
133
- path: _path + ".rows[" + _index1 + "]",
134
- expected: "DesignViewRow<string, string, unknown>",
135
- value: elem
136
- }, errorFactory)) && $ao1(elem, _path + ".rows[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
137
- path: _path + ".rows[" + _index1 + "]",
138
- expected: "DesignViewRow<string, string, unknown>",
139
- value: elem
140
- }, errorFactory)) || $guard(_exceptionable, {
141
- path: _path + ".rows",
142
- expected: "Array<DesignViewRow<string, string, unknown>>",
143
- value: input.rows
144
- }, errorFactory);
145
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
146
- path: _path + ".id",
147
- expected: "string",
148
- value: input.id
149
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
150
- path: _path + ".key",
151
- expected: "string",
152
- value: input.key
153
- }, errorFactory)) && true;
154
- return ("object" === typeof input && null !== input || $guard(true, {
155
- path: _path + "",
156
- expected: "DesignDomainRecord<string, string, unknown>",
157
- value: input
158
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
159
- path: _path + "",
160
- expected: "DesignDomainRecord<string, string, unknown>",
161
- value: input
162
- }, errorFactory);
163
- })(input, "$input", true);
164
- return input;
165
- }; const stringify = input => {
166
- const $io1 = input => "string" === typeof input.id && "string" === typeof input.key && true;
167
- const $string = __typia.json.createAssertStringify.string;
168
- const $so0 = input => `{"rows":${`[${input.rows.map(elem => $so1(elem)).join(",")}]`}}`;
169
- const $so1 = input => `{${undefined === input.value || "function" === typeof input.value ? "" : `"value":${undefined !== input.value ? JSON.stringify(input.value) : undefined},`}"id":${$string(input.id)},"key":${$string(input.key)}}`;
170
- return $so0(input);
171
- }; return stringify(assert(input, errorFactory)); };
172
- export const isDesignViewRow = input => {
173
- const $io0 = input => "string" === typeof input.id && "string" === typeof input.key && (null !== input.value && undefined === input.value);
174
- return "object" === typeof input && null !== input && $io0(input);
175
- };
176
- export const assertDesignViewRow = (input, errorFactory) => {
177
- const __is = input => {
178
- const $io0 = input => "string" === typeof input.id && "string" === typeof input.key && (null !== input.value && undefined === input.value);
179
- return "object" === typeof input && null !== input && $io0(input);
180
- };
181
- if (false === __is(input))
182
- ((input, _path, _exceptionable = true) => {
183
- const $guard = __typia.createAssert.guard;
184
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
185
- path: _path + ".id",
186
- expected: "string",
187
- value: input.id
188
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
189
- path: _path + ".key",
190
- expected: "string",
191
- value: input.key
192
- }, errorFactory)) && ((null !== input.value || $guard(_exceptionable, {
193
- path: _path + ".value",
194
- expected: "undefined",
195
- value: input.value
196
- }, errorFactory)) && (undefined === input.value || $guard(_exceptionable, {
197
- path: _path + ".value",
198
- expected: "undefined",
199
- value: input.value
200
- }, errorFactory)));
201
- return ("object" === typeof input && null !== input || $guard(true, {
202
- path: _path + "",
203
- expected: "DesignViewRow<string, string, void>",
204
- value: input
205
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
206
- path: _path + "",
207
- expected: "DesignViewRow<string, string, void>",
208
- value: input
209
- }, errorFactory);
210
- })(input, "$input", true);
211
- return input;
212
- };
213
- export const randomDesignViewRow = generator => {
214
- const $generator = __typia.createRandom.generator;
215
- const $ro0 = (_recursive = false, _depth = 0) => ({
216
- id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
217
- key: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
218
- value: undefined
219
- });
220
- return $ro0();
221
- };
222
- export const assertGuardDesignViewRow = (input, errorFactory) => {
223
- const __is = input => {
224
- const $io0 = input => "string" === typeof input.id && "string" === typeof input.key && (null !== input.value && undefined === input.value);
225
- return "object" === typeof input && null !== input && $io0(input);
226
- };
227
- if (false === __is(input))
228
- ((input, _path, _exceptionable = true) => {
229
- const $guard = __typia.createAssertGuard.guard;
230
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
231
- path: _path + ".id",
232
- expected: "string",
233
- value: input.id
234
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
235
- path: _path + ".key",
236
- expected: "string",
237
- value: input.key
238
- }, errorFactory)) && ((null !== input.value || $guard(_exceptionable, {
239
- path: _path + ".value",
240
- expected: "undefined",
241
- value: input.value
242
- }, errorFactory)) && (undefined === input.value || $guard(_exceptionable, {
243
- path: _path + ".value",
244
- expected: "undefined",
245
- value: input.value
246
- }, errorFactory)));
247
- return ("object" === typeof input && null !== input || $guard(true, {
248
- path: _path + "",
249
- expected: "DesignViewRow<string, string, void>",
250
- value: input
251
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
252
- path: _path + "",
253
- expected: "DesignViewRow<string, string, void>",
254
- value: input
255
- }, errorFactory);
256
- })(input, "$input", true);
257
- };
258
- export const stringifyDesignViewRow = input => {
259
- const $string = __typia.json.createStringify.string;
260
- const $so0 = input => `{"id":${$string(input.id)},"key":${$string(input.key)}}`;
261
- return $so0(input);
262
- };
263
- export const assertStringifyDesignViewRow = (input, errorFactory) => { const assert = (input, errorFactory) => {
264
- const __is = input => {
265
- const $io0 = input => "string" === typeof input.id && "string" === typeof input.key && (null !== input.value && undefined === input.value);
266
- return "object" === typeof input && null !== input && $io0(input);
267
- };
268
- if (false === __is(input))
269
- ((input, _path, _exceptionable = true) => {
270
- const $guard = __typia.json.createAssertStringify.guard;
271
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
272
- path: _path + ".id",
273
- expected: "string",
274
- value: input.id
275
- }, errorFactory)) && ("string" === typeof input.key || $guard(_exceptionable, {
276
- path: _path + ".key",
277
- expected: "string",
278
- value: input.key
279
- }, errorFactory)) && ((null !== input.value || $guard(_exceptionable, {
280
- path: _path + ".value",
281
- expected: "undefined",
282
- value: input.value
283
- }, errorFactory)) && (undefined === input.value || $guard(_exceptionable, {
284
- path: _path + ".value",
285
- expected: "undefined",
286
- value: input.value
287
- }, errorFactory)));
288
- return ("object" === typeof input && null !== input || $guard(true, {
289
- path: _path + "",
290
- expected: "DesignViewRow<string, string, void>",
291
- value: input
292
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
293
- path: _path + "",
294
- expected: "DesignViewRow<string, string, void>",
295
- value: input
296
- }, errorFactory);
297
- })(input, "$input", true);
298
- return input;
299
- }; const stringify = input => {
300
- const $string = __typia.json.createAssertStringify.string;
301
- const $so0 = input => `{"id":${$string(input.id)},"key":${$string(input.key)}}`;
302
- return $so0(input);
303
- }; return stringify(assert(input, errorFactory)); };