@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,97 +1 @@
1
- import __typia from "typia";
2
- export const isPipelineSortMode = input => {
3
- const $iv1 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
4
- return true === $iv1.has(input);
5
- };
6
- export const assertPipelineSortMode = (input, errorFactory) => {
7
- const __is = input => {
8
- const $iv1 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
9
- return true === $iv1.has(input);
10
- };
11
- if (false === __is(input))
12
- ((input, _path, _exceptionable = true) => {
13
- const $guard = __typia.createAssert.guard;
14
- const $av1 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
15
- return true === $av1.has(input) || $guard(true, {
16
- path: _path + "",
17
- expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
18
- value: input
19
- }, errorFactory);
20
- })(input, "$input", true);
21
- return input;
22
- };
23
- export const randomPipelineSortMode = generator => {
24
- const $pick = __typia.createRandom.pick;
25
- return $pick([
26
- () => "default",
27
- () => "manual",
28
- () => "az",
29
- () => "za",
30
- () => "newest",
31
- () => "oldest",
32
- () => "mostrecent",
33
- () => "leastrecent",
34
- () => "earliestdeadline",
35
- () => "latestdeadline"
36
- ])();
37
- };
38
- export const assertGuardPipelineSortMode = (input, errorFactory) => {
39
- const __is = input => {
40
- const $iv1 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
41
- return true === $iv1.has(input);
42
- };
43
- if (false === __is(input))
44
- ((input, _path, _exceptionable = true) => {
45
- const $guard = __typia.createAssertGuard.guard;
46
- const $av1 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
47
- return true === $av1.has(input) || $guard(true, {
48
- path: _path + "",
49
- expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
50
- value: input
51
- }, errorFactory);
52
- })(input, "$input", true);
53
- };
54
- export const stringifyPipelineSortMode = input => {
55
- const $string = __typia.json.createStringify.string;
56
- const $throws = __typia.json.createStringify.throws;
57
- return (() => {
58
- if ("string" === typeof input)
59
- return $string(input);
60
- if ("string" === typeof input)
61
- return "\"" + input + "\"";
62
- $throws({
63
- expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
64
- value: input
65
- });
66
- })();
67
- };
68
- export const assertStringifyPipelineSortMode = (input, errorFactory) => { const assert = (input, errorFactory) => {
69
- const __is = input => {
70
- const $iv1 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
71
- return true === $iv1.has(input);
72
- };
73
- if (false === __is(input))
74
- ((input, _path, _exceptionable = true) => {
75
- const $guard = __typia.json.createAssertStringify.guard;
76
- const $av1 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
77
- return true === $av1.has(input) || $guard(true, {
78
- path: _path + "",
79
- expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
80
- value: input
81
- }, errorFactory);
82
- })(input, "$input", true);
83
- return input;
84
- }; const stringify = input => {
85
- const $string = __typia.json.createAssertStringify.string;
86
- const $throws = __typia.json.createAssertStringify.throws;
87
- return (() => {
88
- if ("string" === typeof input)
89
- return $string(input);
90
- if ("string" === typeof input)
91
- return "\"" + input + "\"";
92
- $throws({
93
- expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
94
- value: input
95
- });
96
- })();
97
- }; return stringify(assert(input, errorFactory)); };
1
+ export {};
@@ -1,13 +1,6 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
1
  export interface PromotedTag {
3
2
  name: string | null;
4
3
  icon: string | null;
5
4
  color: string | null;
6
5
  description: string | null;
7
6
  }
8
- export declare const isPromotedTag: (input: unknown) => input is PromotedTag;
9
- export declare const assertPromotedTag: (input: unknown) => PromotedTag;
10
- export declare const randomPromotedTag: () => PromotedTag;
11
- export declare const assertGuardPromotedTag: __AssertionGuard<PromotedTag>;
12
- export declare const stringifyPromotedTag: (input: PromotedTag) => string;
13
- export declare const assertStringifyPromotedTag: (input: unknown) => string;
@@ -1,147 +1 @@
1
- import __typia from "typia";
2
- export const isPromotedTag = input => {
3
- const $io0 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
4
- return "object" === typeof input && null !== input && $io0(input);
5
- };
6
- export const assertPromotedTag = (input, errorFactory) => {
7
- const __is = input => {
8
- const $io0 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
9
- return "object" === typeof input && null !== input && $io0(input);
10
- };
11
- if (false === __is(input))
12
- ((input, _path, _exceptionable = true) => {
13
- const $guard = __typia.createAssert.guard;
14
- const $ao0 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
15
- path: _path + ".name",
16
- expected: "(null | string)",
17
- value: input.name
18
- }, errorFactory)) && (null === input.icon || "string" === typeof input.icon || $guard(_exceptionable, {
19
- path: _path + ".icon",
20
- expected: "(null | string)",
21
- value: input.icon
22
- }, errorFactory)) && (null === input.color || "string" === typeof input.color || $guard(_exceptionable, {
23
- path: _path + ".color",
24
- expected: "(null | string)",
25
- value: input.color
26
- }, errorFactory)) && (null === input.description || "string" === typeof input.description || $guard(_exceptionable, {
27
- path: _path + ".description",
28
- expected: "(null | string)",
29
- value: input.description
30
- }, errorFactory));
31
- return ("object" === typeof input && null !== input || $guard(true, {
32
- path: _path + "",
33
- expected: "PromotedTag",
34
- value: input
35
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
36
- path: _path + "",
37
- expected: "PromotedTag",
38
- value: input
39
- }, errorFactory);
40
- })(input, "$input", true);
41
- return input;
42
- };
43
- export const randomPromotedTag = generator => {
44
- const $generator = __typia.createRandom.generator;
45
- const $pick = __typia.createRandom.pick;
46
- const $ro0 = (_recursive = false, _depth = 0) => ({
47
- name: $pick([
48
- () => null,
49
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
50
- ])(),
51
- icon: $pick([
52
- () => null,
53
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
54
- ])(),
55
- color: $pick([
56
- () => null,
57
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
58
- ])(),
59
- description: $pick([
60
- () => null,
61
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
62
- ])()
63
- });
64
- return $ro0();
65
- };
66
- export const assertGuardPromotedTag = (input, errorFactory) => {
67
- const __is = input => {
68
- const $io0 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
69
- return "object" === typeof input && null !== 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) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
75
- path: _path + ".name",
76
- expected: "(null | string)",
77
- value: input.name
78
- }, errorFactory)) && (null === input.icon || "string" === typeof input.icon || $guard(_exceptionable, {
79
- path: _path + ".icon",
80
- expected: "(null | string)",
81
- value: input.icon
82
- }, errorFactory)) && (null === input.color || "string" === typeof input.color || $guard(_exceptionable, {
83
- path: _path + ".color",
84
- expected: "(null | string)",
85
- value: input.color
86
- }, errorFactory)) && (null === input.description || "string" === typeof input.description || $guard(_exceptionable, {
87
- path: _path + ".description",
88
- expected: "(null | string)",
89
- value: input.description
90
- }, errorFactory));
91
- return ("object" === typeof input && null !== input || $guard(true, {
92
- path: _path + "",
93
- expected: "PromotedTag",
94
- value: input
95
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
96
- path: _path + "",
97
- expected: "PromotedTag",
98
- value: input
99
- }, errorFactory);
100
- })(input, "$input", true);
101
- };
102
- export const stringifyPromotedTag = input => {
103
- const $string = __typia.json.createStringify.string;
104
- const $so0 = input => `{"name":${null !== input.name ? $string(input.name) : "null"},"icon":${null !== input.icon ? $string(input.icon) : "null"},"color":${null !== input.color ? $string(input.color) : "null"},"description":${null !== input.description ? $string(input.description) : "null"}}`;
105
- return $so0(input);
106
- };
107
- export const assertStringifyPromotedTag = (input, errorFactory) => { const assert = (input, errorFactory) => {
108
- const __is = input => {
109
- const $io0 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
110
- return "object" === typeof input && null !== input && $io0(input);
111
- };
112
- if (false === __is(input))
113
- ((input, _path, _exceptionable = true) => {
114
- const $guard = __typia.json.createAssertStringify.guard;
115
- const $ao0 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
116
- path: _path + ".name",
117
- expected: "(null | string)",
118
- value: input.name
119
- }, errorFactory)) && (null === input.icon || "string" === typeof input.icon || $guard(_exceptionable, {
120
- path: _path + ".icon",
121
- expected: "(null | string)",
122
- value: input.icon
123
- }, errorFactory)) && (null === input.color || "string" === typeof input.color || $guard(_exceptionable, {
124
- path: _path + ".color",
125
- expected: "(null | string)",
126
- value: input.color
127
- }, errorFactory)) && (null === input.description || "string" === typeof input.description || $guard(_exceptionable, {
128
- path: _path + ".description",
129
- expected: "(null | string)",
130
- value: input.description
131
- }, errorFactory));
132
- return ("object" === typeof input && null !== input || $guard(true, {
133
- path: _path + "",
134
- expected: "PromotedTag",
135
- value: input
136
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
137
- path: _path + "",
138
- expected: "PromotedTag",
139
- value: input
140
- }, errorFactory);
141
- })(input, "$input", true);
142
- return input;
143
- }; const stringify = input => {
144
- const $string = __typia.json.createAssertStringify.string;
145
- const $so0 = input => `{"name":${null !== input.name ? $string(input.name) : "null"},"icon":${null !== input.icon ? $string(input.icon) : "null"},"color":${null !== input.color ? $string(input.color) : "null"},"description":${null !== input.description ? $string(input.description) : "null"}}`;
146
- return $so0(input);
147
- }; return stringify(assert(input, errorFactory)); };
1
+ export {};
@@ -1,20 +1,7 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- import type { RenderQuery } from './render-query.js';
3
- import type { RenderProfile } from './render-profile.js';
1
+ import type { RenderQuery } from './render-query.ts';
2
+ import type { RenderProfile } from './render-profile.ts';
4
3
  export interface RenderPresetObject {
5
4
  type: RenderQuery["type"];
6
5
  profile: RenderProfile;
7
6
  }
8
- export declare const isRenderPresetObject: (input: unknown) => input is RenderPresetObject;
9
- export declare const assertRenderPresetObject: (input: unknown) => RenderPresetObject;
10
- export declare const randomRenderPresetObject: () => RenderPresetObject;
11
- export declare const assertGuardRenderPresetObject: __AssertionGuard<RenderPresetObject>;
12
- export declare const stringifyRenderPresetObject: (input: RenderPresetObject) => string;
13
- export declare const assertStringifyRenderPresetObject: (input: unknown) => string;
14
7
  export type RenderPreset = RenderPresetObject | string;
15
- export declare const isRenderPreset: (input: unknown) => input is RenderPreset;
16
- export declare const assertRenderPreset: (input: unknown) => RenderPreset;
17
- export declare const randomRenderPreset: () => RenderPreset;
18
- export declare const assertGuardRenderPreset: __AssertionGuard<RenderPreset>;
19
- export declare const stringifyRenderPreset: (input: RenderPreset) => string;
20
- export declare const assertStringifyRenderPreset: (input: unknown) => string;