@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,192 +0,0 @@
1
- import __typia from "typia";
2
- export const isCloneDomainCloneRecord = input => {
3
- const $io0 = input => Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
4
- const $io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template);
5
- return "object" === typeof input && null !== input && $io0(input);
6
- };
7
- export const assertCloneDomainCloneRecord = (input, errorFactory) => {
8
- const __is = input => {
9
- const $io0 = input => Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
10
- const $io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template);
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.rules) || $guard(_exceptionable, {
17
- path: _path + ".rules",
18
- expected: "Array<CloneRule>",
19
- value: input.rules
20
- }, errorFactory)) && input.rules.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
21
- path: _path + ".rules[" + _index1 + "]",
22
- expected: "CloneRule",
23
- value: elem
24
- }, errorFactory)) && $ao1(elem, _path + ".rules[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
25
- path: _path + ".rules[" + _index1 + "]",
26
- expected: "CloneRule",
27
- value: elem
28
- }, errorFactory)) || $guard(_exceptionable, {
29
- path: _path + ".rules",
30
- expected: "Array<CloneRule>",
31
- value: input.rules
32
- }, errorFactory);
33
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.domain || $guard(_exceptionable, {
34
- path: _path + ".domain",
35
- expected: "string",
36
- value: input.domain
37
- }, errorFactory)) && (null === input.path || undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
38
- path: _path + ".path",
39
- expected: "(null | string | undefined)",
40
- value: input.path
41
- }, errorFactory)) && (null === input.template || undefined === input.template || "string" === typeof input.template || $guard(_exceptionable, {
42
- path: _path + ".template",
43
- expected: "(null | string | undefined)",
44
- value: input.template
45
- }, errorFactory));
46
- return ("object" === typeof input && null !== input || $guard(true, {
47
- path: _path + "",
48
- expected: "CloneDomainCloneRecord",
49
- value: input
50
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
51
- path: _path + "",
52
- expected: "CloneDomainCloneRecord",
53
- value: input
54
- }, errorFactory);
55
- })(input, "$input", true);
56
- return input;
57
- };
58
- export const randomCloneDomainCloneRecord = generator => {
59
- const $generator = __typia.createRandom.generator;
60
- const $pick = __typia.createRandom.pick;
61
- const $ro0 = (_recursive = false, _depth = 0) => ({
62
- rules: (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
63
- });
64
- const $ro1 = (_recursive = false, _depth = 0) => ({
65
- domain: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
66
- path: $pick([
67
- () => undefined,
68
- () => null,
69
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
70
- ])(),
71
- template: $pick([
72
- () => undefined,
73
- () => null,
74
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
75
- ])()
76
- });
77
- return $ro0();
78
- };
79
- export const assertGuardCloneDomainCloneRecord = (input, errorFactory) => {
80
- const __is = input => {
81
- const $io0 = input => Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
82
- const $io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template);
83
- return "object" === typeof input && null !== input && $io0(input);
84
- };
85
- if (false === __is(input))
86
- ((input, _path, _exceptionable = true) => {
87
- const $guard = __typia.createAssertGuard.guard;
88
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rules) || $guard(_exceptionable, {
89
- path: _path + ".rules",
90
- expected: "Array<CloneRule>",
91
- value: input.rules
92
- }, errorFactory)) && input.rules.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
93
- path: _path + ".rules[" + _index1 + "]",
94
- expected: "CloneRule",
95
- value: elem
96
- }, errorFactory)) && $ao1(elem, _path + ".rules[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
97
- path: _path + ".rules[" + _index1 + "]",
98
- expected: "CloneRule",
99
- value: elem
100
- }, errorFactory)) || $guard(_exceptionable, {
101
- path: _path + ".rules",
102
- expected: "Array<CloneRule>",
103
- value: input.rules
104
- }, errorFactory);
105
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.domain || $guard(_exceptionable, {
106
- path: _path + ".domain",
107
- expected: "string",
108
- value: input.domain
109
- }, errorFactory)) && (null === input.path || undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
110
- path: _path + ".path",
111
- expected: "(null | string | undefined)",
112
- value: input.path
113
- }, errorFactory)) && (null === input.template || undefined === input.template || "string" === typeof input.template || $guard(_exceptionable, {
114
- path: _path + ".template",
115
- expected: "(null | string | undefined)",
116
- value: input.template
117
- }, errorFactory));
118
- return ("object" === typeof input && null !== input || $guard(true, {
119
- path: _path + "",
120
- expected: "CloneDomainCloneRecord",
121
- value: input
122
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
123
- path: _path + "",
124
- expected: "CloneDomainCloneRecord",
125
- value: input
126
- }, errorFactory);
127
- })(input, "$input", true);
128
- };
129
- export const stringifyCloneDomainCloneRecord = input => {
130
- const $io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template);
131
- const $string = __typia.json.createStringify.string;
132
- const $so0 = input => `{"rules":${`[${input.rules.map(elem => $so1(elem)).join(",")}]`}}`;
133
- const $so1 = input => `{${undefined === input.path ? "" : `"path":${undefined !== input.path ? null !== input.path ? $string(input.path) : "null" : undefined},`}${undefined === input.template ? "" : `"template":${undefined !== input.template ? null !== input.template ? $string(input.template) : "null" : undefined},`}"domain":${$string(input.domain)}}`;
134
- return $so0(input);
135
- };
136
- export const assertStringifyCloneDomainCloneRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
137
- const __is = input => {
138
- const $io0 = input => Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
139
- const $io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template);
140
- return "object" === typeof input && null !== input && $io0(input);
141
- };
142
- if (false === __is(input))
143
- ((input, _path, _exceptionable = true) => {
144
- const $guard = __typia.json.createAssertStringify.guard;
145
- const $ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rules) || $guard(_exceptionable, {
146
- path: _path + ".rules",
147
- expected: "Array<CloneRule>",
148
- value: input.rules
149
- }, errorFactory)) && input.rules.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
150
- path: _path + ".rules[" + _index1 + "]",
151
- expected: "CloneRule",
152
- value: elem
153
- }, errorFactory)) && $ao1(elem, _path + ".rules[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
154
- path: _path + ".rules[" + _index1 + "]",
155
- expected: "CloneRule",
156
- value: elem
157
- }, errorFactory)) || $guard(_exceptionable, {
158
- path: _path + ".rules",
159
- expected: "Array<CloneRule>",
160
- value: input.rules
161
- }, errorFactory);
162
- const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.domain || $guard(_exceptionable, {
163
- path: _path + ".domain",
164
- expected: "string",
165
- value: input.domain
166
- }, errorFactory)) && (null === input.path || undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
167
- path: _path + ".path",
168
- expected: "(null | string | undefined)",
169
- value: input.path
170
- }, errorFactory)) && (null === input.template || undefined === input.template || "string" === typeof input.template || $guard(_exceptionable, {
171
- path: _path + ".template",
172
- expected: "(null | string | undefined)",
173
- value: input.template
174
- }, errorFactory));
175
- return ("object" === typeof input && null !== input || $guard(true, {
176
- path: _path + "",
177
- expected: "CloneDomainCloneRecord",
178
- value: input
179
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
180
- path: _path + "",
181
- expected: "CloneDomainCloneRecord",
182
- value: input
183
- }, errorFactory);
184
- })(input, "$input", true);
185
- return input;
186
- }; const stringify = input => {
187
- const $io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template);
188
- const $string = __typia.json.createAssertStringify.string;
189
- const $so0 = input => `{"rules":${`[${input.rules.map(elem => $so1(elem)).join(",")}]`}}`;
190
- const $so1 = input => `{${undefined === input.path ? "" : `"path":${undefined !== input.path ? null !== input.path ? $string(input.path) : "null" : undefined},`}${undefined === input.template ? "" : `"template":${undefined !== input.template ? null !== input.template ? $string(input.template) : "null" : undefined},`}"domain":${$string(input.domain)}}`;
191
- return $so0(input);
192
- }; return stringify(assert(input, errorFactory)); };
@@ -1,15 +0,0 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- export interface CommentReactionDomainRecords {
3
- "comment-reaction": CommentReactionDomainRecord;
4
- }
5
- export interface CommentReactionDomainRecord {
6
- comment: string;
7
- user: string;
8
- reaction: string;
9
- }
10
- export declare const isCommentReactionDomainRecord: (input: unknown) => input is CommentReactionDomainRecord;
11
- export declare const assertCommentReactionDomainRecord: (input: unknown) => CommentReactionDomainRecord;
12
- export declare const randomCommentReactionDomainRecord: () => CommentReactionDomainRecord;
13
- export declare const assertGuardCommentReactionDomainRecord: __AssertionGuard<CommentReactionDomainRecord>;
14
- export declare const stringifyCommentReactionDomainRecord: (input: CommentReactionDomainRecord) => string;
15
- export declare const assertStringifyCommentReactionDomainRecord: (input: unknown) => string;
@@ -1,115 +0,0 @@
1
- import __typia from "typia";
2
- export const isCommentReactionDomainRecord = input => {
3
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.reaction);
4
- };
5
- export const assertCommentReactionDomainRecord = (input, errorFactory) => {
6
- const __is = input => {
7
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.reaction);
8
- };
9
- if (false === __is(input))
10
- ((input, _path, _exceptionable = true) => {
11
- const $guard = __typia.createAssert.guard;
12
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.comment || $guard(_exceptionable, {
13
- path: _path + ".comment",
14
- expected: "string",
15
- value: input.comment
16
- }, errorFactory)) && ("string" === typeof input.user || $guard(_exceptionable, {
17
- path: _path + ".user",
18
- expected: "string",
19
- value: input.user
20
- }, errorFactory)) && ("string" === typeof input.reaction || $guard(_exceptionable, {
21
- path: _path + ".reaction",
22
- expected: "string",
23
- value: input.reaction
24
- }, errorFactory));
25
- return ("object" === typeof input && null !== input || $guard(true, {
26
- path: _path + "",
27
- expected: "CommentReactionDomainRecord",
28
- value: input
29
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
30
- path: _path + "",
31
- expected: "CommentReactionDomainRecord",
32
- value: input
33
- }, errorFactory);
34
- })(input, "$input", true);
35
- return input;
36
- };
37
- export const randomCommentReactionDomainRecord = generator => {
38
- const $generator = __typia.createRandom.generator;
39
- const $ro0 = (_recursive = false, _depth = 0) => ({
40
- comment: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
41
- user: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
42
- reaction: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
43
- });
44
- return $ro0();
45
- };
46
- export const assertGuardCommentReactionDomainRecord = (input, errorFactory) => {
47
- const __is = input => {
48
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.reaction);
49
- };
50
- if (false === __is(input))
51
- ((input, _path, _exceptionable = true) => {
52
- const $guard = __typia.createAssertGuard.guard;
53
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.comment || $guard(_exceptionable, {
54
- path: _path + ".comment",
55
- expected: "string",
56
- value: input.comment
57
- }, errorFactory)) && ("string" === typeof input.user || $guard(_exceptionable, {
58
- path: _path + ".user",
59
- expected: "string",
60
- value: input.user
61
- }, errorFactory)) && ("string" === typeof input.reaction || $guard(_exceptionable, {
62
- path: _path + ".reaction",
63
- expected: "string",
64
- value: input.reaction
65
- }, errorFactory));
66
- return ("object" === typeof input && null !== input || $guard(true, {
67
- path: _path + "",
68
- expected: "CommentReactionDomainRecord",
69
- value: input
70
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
71
- path: _path + "",
72
- expected: "CommentReactionDomainRecord",
73
- value: input
74
- }, errorFactory);
75
- })(input, "$input", true);
76
- };
77
- export const stringifyCommentReactionDomainRecord = input => {
78
- const $string = __typia.json.createStringify.string;
79
- return `{"comment":${$string(input.comment)},"user":${$string(input.user)},"reaction":${$string(input.reaction)}}`;
80
- };
81
- export const assertStringifyCommentReactionDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
82
- const __is = input => {
83
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.reaction);
84
- };
85
- if (false === __is(input))
86
- ((input, _path, _exceptionable = true) => {
87
- const $guard = __typia.json.createAssertStringify.guard;
88
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.comment || $guard(_exceptionable, {
89
- path: _path + ".comment",
90
- expected: "string",
91
- value: input.comment
92
- }, errorFactory)) && ("string" === typeof input.user || $guard(_exceptionable, {
93
- path: _path + ".user",
94
- expected: "string",
95
- value: input.user
96
- }, errorFactory)) && ("string" === typeof input.reaction || $guard(_exceptionable, {
97
- path: _path + ".reaction",
98
- expected: "string",
99
- value: input.reaction
100
- }, errorFactory));
101
- return ("object" === typeof input && null !== input || $guard(true, {
102
- path: _path + "",
103
- expected: "CommentReactionDomainRecord",
104
- value: input
105
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
106
- path: _path + "",
107
- expected: "CommentReactionDomainRecord",
108
- value: input
109
- }, errorFactory);
110
- })(input, "$input", true);
111
- return input;
112
- }; const stringify = input => {
113
- const $string = __typia.json.createAssertStringify.string;
114
- return `{"comment":${$string(input.comment)},"user":${$string(input.user)},"reaction":${$string(input.reaction)}}`;
115
- }; return stringify(assert(input, errorFactory)); };
@@ -1,15 +0,0 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- export interface CommentReadMarkDomainRecords {
3
- "comment-read-mark": CommentReadMarkDomainRecord;
4
- }
5
- export interface CommentReadMarkDomainRecord {
6
- comment: string;
7
- user: string;
8
- time: string;
9
- }
10
- export declare const isCommentReadMarkDomainRecord: (input: unknown) => input is CommentReadMarkDomainRecord;
11
- export declare const assertCommentReadMarkDomainRecord: (input: unknown) => CommentReadMarkDomainRecord;
12
- export declare const randomCommentReadMarkDomainRecord: () => CommentReadMarkDomainRecord;
13
- export declare const assertGuardCommentReadMarkDomainRecord: __AssertionGuard<CommentReadMarkDomainRecord>;
14
- export declare const stringifyCommentReadMarkDomainRecord: (input: CommentReadMarkDomainRecord) => string;
15
- export declare const assertStringifyCommentReadMarkDomainRecord: (input: unknown) => string;
@@ -1,115 +0,0 @@
1
- import __typia from "typia";
2
- export const isCommentReadMarkDomainRecord = input => {
3
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.time);
4
- };
5
- export const assertCommentReadMarkDomainRecord = (input, errorFactory) => {
6
- const __is = input => {
7
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.time);
8
- };
9
- if (false === __is(input))
10
- ((input, _path, _exceptionable = true) => {
11
- const $guard = __typia.createAssert.guard;
12
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.comment || $guard(_exceptionable, {
13
- path: _path + ".comment",
14
- expected: "string",
15
- value: input.comment
16
- }, errorFactory)) && ("string" === typeof input.user || $guard(_exceptionable, {
17
- path: _path + ".user",
18
- expected: "string",
19
- value: input.user
20
- }, errorFactory)) && ("string" === typeof input.time || $guard(_exceptionable, {
21
- path: _path + ".time",
22
- expected: "string",
23
- value: input.time
24
- }, errorFactory));
25
- return ("object" === typeof input && null !== input || $guard(true, {
26
- path: _path + "",
27
- expected: "CommentReadMarkDomainRecord",
28
- value: input
29
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
30
- path: _path + "",
31
- expected: "CommentReadMarkDomainRecord",
32
- value: input
33
- }, errorFactory);
34
- })(input, "$input", true);
35
- return input;
36
- };
37
- export const randomCommentReadMarkDomainRecord = generator => {
38
- const $generator = __typia.createRandom.generator;
39
- const $ro0 = (_recursive = false, _depth = 0) => ({
40
- comment: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
41
- user: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
42
- time: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
43
- });
44
- return $ro0();
45
- };
46
- export const assertGuardCommentReadMarkDomainRecord = (input, errorFactory) => {
47
- const __is = input => {
48
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.time);
49
- };
50
- if (false === __is(input))
51
- ((input, _path, _exceptionable = true) => {
52
- const $guard = __typia.createAssertGuard.guard;
53
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.comment || $guard(_exceptionable, {
54
- path: _path + ".comment",
55
- expected: "string",
56
- value: input.comment
57
- }, errorFactory)) && ("string" === typeof input.user || $guard(_exceptionable, {
58
- path: _path + ".user",
59
- expected: "string",
60
- value: input.user
61
- }, errorFactory)) && ("string" === typeof input.time || $guard(_exceptionable, {
62
- path: _path + ".time",
63
- expected: "string",
64
- value: input.time
65
- }, errorFactory));
66
- return ("object" === typeof input && null !== input || $guard(true, {
67
- path: _path + "",
68
- expected: "CommentReadMarkDomainRecord",
69
- value: input
70
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
71
- path: _path + "",
72
- expected: "CommentReadMarkDomainRecord",
73
- value: input
74
- }, errorFactory);
75
- })(input, "$input", true);
76
- };
77
- export const stringifyCommentReadMarkDomainRecord = input => {
78
- const $string = __typia.json.createStringify.string;
79
- return `{"comment":${$string(input.comment)},"user":${$string(input.user)},"time":${$string(input.time)}}`;
80
- };
81
- export const assertStringifyCommentReadMarkDomainRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
82
- const __is = input => {
83
- return "object" === typeof input && null !== input && ("string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.time);
84
- };
85
- if (false === __is(input))
86
- ((input, _path, _exceptionable = true) => {
87
- const $guard = __typia.json.createAssertStringify.guard;
88
- const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.comment || $guard(_exceptionable, {
89
- path: _path + ".comment",
90
- expected: "string",
91
- value: input.comment
92
- }, errorFactory)) && ("string" === typeof input.user || $guard(_exceptionable, {
93
- path: _path + ".user",
94
- expected: "string",
95
- value: input.user
96
- }, errorFactory)) && ("string" === typeof input.time || $guard(_exceptionable, {
97
- path: _path + ".time",
98
- expected: "string",
99
- value: input.time
100
- }, errorFactory));
101
- return ("object" === typeof input && null !== input || $guard(true, {
102
- path: _path + "",
103
- expected: "CommentReadMarkDomainRecord",
104
- value: input
105
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
106
- path: _path + "",
107
- expected: "CommentReadMarkDomainRecord",
108
- value: input
109
- }, errorFactory);
110
- })(input, "$input", true);
111
- return input;
112
- }; const stringify = input => {
113
- const $string = __typia.json.createAssertStringify.string;
114
- return `{"comment":${$string(input.comment)},"user":${$string(input.user)},"time":${$string(input.time)}}`;
115
- }; return stringify(assert(input, errorFactory)); };
@@ -1,153 +0,0 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- export interface CommentDomainRecords {
3
- ":comment": CommentDomainCommentRecord;
4
- ":comment.reactions?": CommentReactionsProvidedRecord;
5
- ":comment.replies?": CommentDomainRepliesProvidedRecord;
6
- ":comment.readMarks?": CommentDomainReadMarksProvidedRecord;
7
- }
8
- export interface CommentDomainCommentRecord {
9
- asset?: string;
10
- content?: SerializedRootNode | null;
11
- mediaRevisionId?: string | null;
12
- timecode?: {
13
- start: number;
14
- end?: number;
15
- };
16
- replyTo?: string;
17
- }
18
- export declare const isCommentDomainCommentRecord: (input: unknown) => input is CommentDomainCommentRecord;
19
- export declare const assertCommentDomainCommentRecord: (input: unknown) => CommentDomainCommentRecord;
20
- export declare const randomCommentDomainCommentRecord: () => CommentDomainCommentRecord;
21
- export declare const assertGuardCommentDomainCommentRecord: __AssertionGuard<CommentDomainCommentRecord>;
22
- export declare const stringifyCommentDomainCommentRecord: (input: CommentDomainCommentRecord) => string;
23
- export declare const assertStringifyCommentDomainCommentRecord: (input: unknown) => string;
24
- export interface CommentReactionsProvidedRecord {
25
- [reaction: string]: Array<{
26
- id: string;
27
- user: string;
28
- }>;
29
- }
30
- export declare const isCommentReactionsProvidedRecord: (input: unknown) => input is CommentReactionsProvidedRecord;
31
- export declare const assertCommentReactionsProvidedRecord: (input: unknown) => CommentReactionsProvidedRecord;
32
- export declare const randomCommentReactionsProvidedRecord: () => CommentReactionsProvidedRecord;
33
- export declare const assertGuardCommentReactionsProvidedRecord: __AssertionGuard<CommentReactionsProvidedRecord>;
34
- export declare const stringifyCommentReactionsProvidedRecord: (input: CommentReactionsProvidedRecord) => string;
35
- export declare const assertStringifyCommentReactionsProvidedRecord: (input: unknown) => string;
36
- export type SerializedNode = SerializedRootNode | SerializedParagraphNode | SerializedTextNode | SerializedLineBreakNode | SerializedMentionNode | SerializedEmojiNode | SerializedAutoLinkNode;
37
- export declare const isSerializedNode: (input: unknown) => input is SerializedNode;
38
- export declare const assertSerializedNode: (input: unknown) => SerializedNode;
39
- export declare const randomSerializedNode: () => SerializedNode;
40
- export declare const assertGuardSerializedNode: __AssertionGuard<SerializedNode>;
41
- export declare const stringifySerializedNode: (input: SerializedNode) => string;
42
- export declare const assertStringifySerializedNode: (input: unknown) => string;
43
- export interface SerializedRootNode {
44
- type: "root";
45
- version: 1;
46
- direction: "ltr" | "rtl" | null;
47
- format: string;
48
- indent: number;
49
- children: SerializedNode[];
50
- }
51
- export declare const isSerializedRootNode: (input: unknown) => input is SerializedRootNode;
52
- export declare const assertSerializedRootNode: (input: unknown) => SerializedRootNode;
53
- export declare const randomSerializedRootNode: () => SerializedRootNode;
54
- export declare const assertGuardSerializedRootNode: __AssertionGuard<SerializedRootNode>;
55
- export declare const stringifySerializedRootNode: (input: SerializedRootNode) => string;
56
- export declare const assertStringifySerializedRootNode: (input: unknown) => string;
57
- export interface SerializedParagraphNode {
58
- type: "paragraph";
59
- version: 1;
60
- direction: "ltr" | "rtl" | null;
61
- format: string;
62
- indent: number;
63
- textFormat: number;
64
- textStyle: string;
65
- children: SerializedNode[];
66
- }
67
- export declare const isSerializedParagraphNode: (input: unknown) => input is SerializedParagraphNode;
68
- export declare const assertSerializedParagraphNode: (input: unknown) => SerializedParagraphNode;
69
- export declare const randomSerializedParagraphNode: () => SerializedParagraphNode;
70
- export declare const assertGuardSerializedParagraphNode: __AssertionGuard<SerializedParagraphNode>;
71
- export declare const stringifySerializedParagraphNode: (input: SerializedParagraphNode) => string;
72
- export declare const assertStringifySerializedParagraphNode: (input: unknown) => string;
73
- export interface SerializedTextNode {
74
- type: "text";
75
- version: 1;
76
- detail: number;
77
- format: number;
78
- mode: string;
79
- style: string;
80
- text: string;
81
- }
82
- export declare const isSerializedTextNode: (input: unknown) => input is SerializedTextNode;
83
- export declare const assertSerializedTextNode: (input: unknown) => SerializedTextNode;
84
- export declare const randomSerializedTextNode: () => SerializedTextNode;
85
- export declare const assertGuardSerializedTextNode: __AssertionGuard<SerializedTextNode>;
86
- export declare const stringifySerializedTextNode: (input: SerializedTextNode) => string;
87
- export declare const assertStringifySerializedTextNode: (input: unknown) => string;
88
- export interface SerializedLineBreakNode {
89
- type: "linebreak";
90
- version: 1;
91
- }
92
- export declare const isSerializedLineBreakNode: (input: unknown) => input is SerializedLineBreakNode;
93
- export declare const assertSerializedLineBreakNode: (input: unknown) => SerializedLineBreakNode;
94
- export declare const randomSerializedLineBreakNode: () => SerializedLineBreakNode;
95
- export declare const assertGuardSerializedLineBreakNode: __AssertionGuard<SerializedLineBreakNode>;
96
- export declare const stringifySerializedLineBreakNode: (input: SerializedLineBreakNode) => string;
97
- export declare const assertStringifySerializedLineBreakNode: (input: unknown) => string;
98
- export interface SerializedMentionNode {
99
- type: "mention";
100
- version: 1;
101
- detail: number;
102
- format: number;
103
- mode: string;
104
- style: string;
105
- text: string;
106
- mentionId: string;
107
- }
108
- export declare const isSerializedMentionNode: (input: unknown) => input is SerializedMentionNode;
109
- export declare const assertSerializedMentionNode: (input: unknown) => SerializedMentionNode;
110
- export declare const randomSerializedMentionNode: () => SerializedMentionNode;
111
- export declare const assertGuardSerializedMentionNode: __AssertionGuard<SerializedMentionNode>;
112
- export declare const stringifySerializedMentionNode: (input: SerializedMentionNode) => string;
113
- export declare const assertStringifySerializedMentionNode: (input: unknown) => string;
114
- export interface SerializedEmojiNode {
115
- type: "emoji";
116
- version: 1;
117
- emojiId: string;
118
- }
119
- export declare const isSerializedEmojiNode: (input: unknown) => input is SerializedEmojiNode;
120
- export declare const assertSerializedEmojiNode: (input: unknown) => SerializedEmojiNode;
121
- export declare const randomSerializedEmojiNode: () => SerializedEmojiNode;
122
- export declare const assertGuardSerializedEmojiNode: __AssertionGuard<SerializedEmojiNode>;
123
- export declare const stringifySerializedEmojiNode: (input: SerializedEmojiNode) => string;
124
- export declare const assertStringifySerializedEmojiNode: (input: unknown) => string;
125
- export interface SerializedAutoLinkNode {
126
- type: "autolink";
127
- version: 1;
128
- url: string;
129
- }
130
- export declare const isSerializedAutoLinkNode: (input: unknown) => input is SerializedAutoLinkNode;
131
- export declare const assertSerializedAutoLinkNode: (input: unknown) => SerializedAutoLinkNode;
132
- export declare const randomSerializedAutoLinkNode: () => SerializedAutoLinkNode;
133
- export declare const assertGuardSerializedAutoLinkNode: __AssertionGuard<SerializedAutoLinkNode>;
134
- export declare const stringifySerializedAutoLinkNode: (input: SerializedAutoLinkNode) => string;
135
- export declare const assertStringifySerializedAutoLinkNode: (input: unknown) => string;
136
- export interface CommentDomainRepliesProvidedRecord {
137
- value?: string[];
138
- }
139
- export declare const isCommentDomainRepliesProvidedRecord: (input: unknown) => input is CommentDomainRepliesProvidedRecord;
140
- export declare const assertCommentDomainRepliesProvidedRecord: (input: unknown) => CommentDomainRepliesProvidedRecord;
141
- export declare const randomCommentDomainRepliesProvidedRecord: () => CommentDomainRepliesProvidedRecord;
142
- export declare const assertGuardCommentDomainRepliesProvidedRecord: __AssertionGuard<CommentDomainRepliesProvidedRecord>;
143
- export declare const stringifyCommentDomainRepliesProvidedRecord: (input: CommentDomainRepliesProvidedRecord) => string;
144
- export declare const assertStringifyCommentDomainRepliesProvidedRecord: (input: unknown) => string;
145
- export interface CommentDomainReadMarksProvidedRecord {
146
- value?: string[];
147
- }
148
- export declare const isCommentDomainReadMarksProvidedRecord: (input: unknown) => input is CommentDomainReadMarksProvidedRecord;
149
- export declare const assertCommentDomainReadMarksProvidedRecord: (input: unknown) => CommentDomainReadMarksProvidedRecord;
150
- export declare const randomCommentDomainReadMarksProvidedRecord: () => CommentDomainReadMarksProvidedRecord;
151
- export declare const assertGuardCommentDomainReadMarksProvidedRecord: __AssertionGuard<CommentDomainReadMarksProvidedRecord>;
152
- export declare const stringifyCommentDomainReadMarksProvidedRecord: (input: CommentDomainReadMarksProvidedRecord) => string;
153
- export declare const assertStringifyCommentDomainReadMarksProvidedRecord: (input: unknown) => string;