@nxtedition/types 23.0.19 → 23.0.20
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.
- package/dist/common/nxtpression.d.ts +2 -2
- package/dist/common/nxtpression.js +66 -19
- package/dist/domains/index.d.ts +3 -1
- package/dist/domains/index.js +1 -0
- package/dist/domains/panel.d.ts +104 -0
- package/dist/domains/panel.js +3655 -0
- package/dist/index.js +13 -12
- package/dist/schema.json +517 -172
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
-
export type Nxtpression<ReturnValue = string, Context extends object = object> = String & {
|
|
2
|
+
export type Nxtpression<ReturnValue = string, Context extends object = object> = (String & {
|
|
3
3
|
/**
|
|
4
4
|
* TS-HACK: this property doesn't really exist on the nxtpression string,
|
|
5
5
|
* it is only here to make sure the generic Context won't get stripped.
|
|
@@ -10,7 +10,7 @@ export type Nxtpression<ReturnValue = string, Context extends object = object> =
|
|
|
10
10
|
* it is only here to make sure the generic Context won't get stripped.
|
|
11
11
|
*/
|
|
12
12
|
__returnValue?: ReturnValue;
|
|
13
|
-
};
|
|
13
|
+
}) | string;
|
|
14
14
|
export declare const isNxtpression: (input: unknown) => input is Nxtpression<string, object>;
|
|
15
15
|
export declare const assertNxtpression: (input: unknown) => Nxtpression<string, object>;
|
|
16
16
|
export declare const randomNxtpression: () => string;
|
|
@@ -11,7 +11,7 @@ export const isNxtpression = input => {
|
|
|
11
11
|
return true;
|
|
12
12
|
});
|
|
13
13
|
const $io1 = input => true;
|
|
14
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
14
|
+
return null !== input && undefined !== input && ("string" === typeof input || "object" === typeof input && null !== input && $io0(input));
|
|
15
15
|
};
|
|
16
16
|
export const assertNxtpression = (input, errorFactory) => {
|
|
17
17
|
const __is = input => {
|
|
@@ -26,7 +26,7 @@ export const assertNxtpression = (input, errorFactory) => {
|
|
|
26
26
|
return true;
|
|
27
27
|
});
|
|
28
28
|
const $io1 = input => true;
|
|
29
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
29
|
+
return null !== input && undefined !== input && ("string" === typeof input || "object" === typeof input && null !== input && $io0(input));
|
|
30
30
|
};
|
|
31
31
|
if (false === __is(input))
|
|
32
32
|
((input, _path, _exceptionable = true) => {
|
|
@@ -63,15 +63,23 @@ export const assertNxtpression = (input, errorFactory) => {
|
|
|
63
63
|
return true;
|
|
64
64
|
}));
|
|
65
65
|
const $ao1 = (input, _path, _exceptionable = true) => true;
|
|
66
|
-
return (
|
|
66
|
+
return (null !== input || $guard(true, {
|
|
67
67
|
path: _path + "",
|
|
68
|
-
expected: "
|
|
68
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
69
|
+
value: input
|
|
70
|
+
}, errorFactory)) && (undefined !== input || $guard(true, {
|
|
71
|
+
path: _path + "",
|
|
72
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
73
|
+
value: input
|
|
74
|
+
}, errorFactory)) && ("string" === typeof input || ("object" === typeof input && null !== input || $guard(true, {
|
|
75
|
+
path: _path + "",
|
|
76
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
69
77
|
value: input
|
|
70
78
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
71
79
|
path: _path + "",
|
|
72
|
-
expected: "
|
|
80
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
73
81
|
value: input
|
|
74
|
-
}, errorFactory);
|
|
82
|
+
}, errorFactory));
|
|
75
83
|
})(input, "$input", true);
|
|
76
84
|
return input;
|
|
77
85
|
};
|
|
@@ -94,7 +102,10 @@ export const randomNxtpression = generator => {
|
|
|
94
102
|
return output;
|
|
95
103
|
};
|
|
96
104
|
const $ro1 = (_recursive = false, _depth = 0) => {};
|
|
97
|
-
return $
|
|
105
|
+
return $pick([
|
|
106
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
107
|
+
() => $ro0()
|
|
108
|
+
])();
|
|
98
109
|
};
|
|
99
110
|
export const assertGuardNxtpression = (input, errorFactory) => {
|
|
100
111
|
const __is = input => {
|
|
@@ -109,7 +120,7 @@ export const assertGuardNxtpression = (input, errorFactory) => {
|
|
|
109
120
|
return true;
|
|
110
121
|
});
|
|
111
122
|
const $io1 = input => true;
|
|
112
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
123
|
+
return null !== input && undefined !== input && ("string" === typeof input || "object" === typeof input && null !== input && $io0(input));
|
|
113
124
|
};
|
|
114
125
|
if (false === __is(input))
|
|
115
126
|
((input, _path, _exceptionable = true) => {
|
|
@@ -146,26 +157,44 @@ export const assertGuardNxtpression = (input, errorFactory) => {
|
|
|
146
157
|
return true;
|
|
147
158
|
}));
|
|
148
159
|
const $ao1 = (input, _path, _exceptionable = true) => true;
|
|
149
|
-
return (
|
|
160
|
+
return (null !== input || $guard(true, {
|
|
161
|
+
path: _path + "",
|
|
162
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
163
|
+
value: input
|
|
164
|
+
}, errorFactory)) && (undefined !== input || $guard(true, {
|
|
165
|
+
path: _path + "",
|
|
166
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
167
|
+
value: input
|
|
168
|
+
}, errorFactory)) && ("string" === typeof input || ("object" === typeof input && null !== input || $guard(true, {
|
|
150
169
|
path: _path + "",
|
|
151
|
-
expected: "
|
|
170
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
152
171
|
value: input
|
|
153
172
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
154
173
|
path: _path + "",
|
|
155
|
-
expected: "
|
|
174
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
156
175
|
value: input
|
|
157
|
-
}, errorFactory);
|
|
176
|
+
}, errorFactory));
|
|
158
177
|
})(input, "$input", true);
|
|
159
178
|
};
|
|
160
179
|
export const stringifyNxtpression = input => {
|
|
161
180
|
const $io1 = input => true;
|
|
162
181
|
const $string = __typia.json.createStringify.string;
|
|
182
|
+
const $throws = __typia.json.createStringify.throws;
|
|
163
183
|
const $tail = __typia.json.createStringify.tail;
|
|
164
184
|
const $so0 = input => `{${$tail(`${undefined === input.__context ? "" : `"__context":${undefined !== input.__context ? "{}" : undefined},`}${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? $string(input.__returnValue) : undefined},`}"length":${input.length},${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
165
185
|
return ""; if (["__context", "__returnValue", "length"].some(regular => regular === key))
|
|
166
186
|
return ""; if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
167
187
|
return `${JSON.stringify(key)}:${$string(value)}`; return ""; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
168
|
-
return
|
|
188
|
+
return (() => {
|
|
189
|
+
if ("string" === typeof input)
|
|
190
|
+
return $string(input);
|
|
191
|
+
if ("object" === typeof input && null !== input)
|
|
192
|
+
return $so0(input);
|
|
193
|
+
$throws({
|
|
194
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
195
|
+
value: input
|
|
196
|
+
});
|
|
197
|
+
})();
|
|
169
198
|
};
|
|
170
199
|
export const assertStringifyNxtpression = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
171
200
|
const __is = input => {
|
|
@@ -180,7 +209,7 @@ export const assertStringifyNxtpression = (input, errorFactory) => { const asser
|
|
|
180
209
|
return true;
|
|
181
210
|
});
|
|
182
211
|
const $io1 = input => true;
|
|
183
|
-
return "object" === typeof input && null !== input && $io0(input);
|
|
212
|
+
return null !== input && undefined !== input && ("string" === typeof input || "object" === typeof input && null !== input && $io0(input));
|
|
184
213
|
};
|
|
185
214
|
if (false === __is(input))
|
|
186
215
|
((input, _path, _exceptionable = true) => {
|
|
@@ -217,24 +246,42 @@ export const assertStringifyNxtpression = (input, errorFactory) => { const asser
|
|
|
217
246
|
return true;
|
|
218
247
|
}));
|
|
219
248
|
const $ao1 = (input, _path, _exceptionable = true) => true;
|
|
220
|
-
return (
|
|
249
|
+
return (null !== input || $guard(true, {
|
|
250
|
+
path: _path + "",
|
|
251
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
252
|
+
value: input
|
|
253
|
+
}, errorFactory)) && (undefined !== input || $guard(true, {
|
|
221
254
|
path: _path + "",
|
|
222
|
-
expected: "
|
|
255
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
256
|
+
value: input
|
|
257
|
+
}, errorFactory)) && ("string" === typeof input || ("object" === typeof input && null !== input || $guard(true, {
|
|
258
|
+
path: _path + "",
|
|
259
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
223
260
|
value: input
|
|
224
261
|
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
225
262
|
path: _path + "",
|
|
226
|
-
expected: "
|
|
263
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
227
264
|
value: input
|
|
228
|
-
}, errorFactory);
|
|
265
|
+
}, errorFactory));
|
|
229
266
|
})(input, "$input", true);
|
|
230
267
|
return input;
|
|
231
268
|
}; const stringify = input => {
|
|
232
269
|
const $io1 = input => true;
|
|
233
270
|
const $string = __typia.json.createAssertStringify.string;
|
|
271
|
+
const $throws = __typia.json.createAssertStringify.throws;
|
|
234
272
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
235
273
|
const $so0 = input => `{${$tail(`${undefined === input.__context ? "" : `"__context":${undefined !== input.__context ? "{}" : undefined},`}${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? $string(input.__returnValue) : undefined},`}"length":${input.length},${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
236
274
|
return ""; if (["__context", "__returnValue", "length"].some(regular => regular === key))
|
|
237
275
|
return ""; if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
238
276
|
return `${JSON.stringify(key)}:${$string(value)}`; return ""; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
239
|
-
return
|
|
277
|
+
return (() => {
|
|
278
|
+
if ("string" === typeof input)
|
|
279
|
+
return $string(input);
|
|
280
|
+
if ("object" === typeof input && null !== input)
|
|
281
|
+
return $so0(input);
|
|
282
|
+
$throws({
|
|
283
|
+
expected: "(String & { __context?: object | undefined; __returnValue?: string | undefined; } | string)",
|
|
284
|
+
value: input
|
|
285
|
+
});
|
|
286
|
+
})();
|
|
240
287
|
}; return stringify(assert(input, errorFactory)); };
|
package/dist/domains/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import type { EventDomainRecords } from './event.js';
|
|
|
13
13
|
import type { FileDomainRecords } from './file.js';
|
|
14
14
|
import type { GeneralDomainRecords } from './general.js';
|
|
15
15
|
import type { MediaDomainRecords } from './media.js';
|
|
16
|
+
import type { PanelDomainRecords } from './panel.js';
|
|
16
17
|
import type { PermissionDomainRecords } from './permission.js';
|
|
17
18
|
import type { PipelinePresetDomainRecords } from './pipeline-preset.js';
|
|
18
19
|
import type { PipelineDomainRecords } from './pipeline.js';
|
|
@@ -46,6 +47,7 @@ export * from './event.js';
|
|
|
46
47
|
export * from './file.js';
|
|
47
48
|
export * from './general.js';
|
|
48
49
|
export * from './media.js';
|
|
50
|
+
export * from './panel.js';
|
|
49
51
|
export * from './permission.js';
|
|
50
52
|
export * from './pipeline-preset.js';
|
|
51
53
|
export * from './pipeline.js';
|
|
@@ -64,4 +66,4 @@ export * from './template.js';
|
|
|
64
66
|
export * from './user-notification-status.js';
|
|
65
67
|
export * from './user-notification.js';
|
|
66
68
|
export * from './user.js';
|
|
67
|
-
export type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
|
|
69
|
+
export type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
|
package/dist/domains/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export * from './event.js';
|
|
|
13
13
|
export * from './file.js';
|
|
14
14
|
export * from './general.js';
|
|
15
15
|
export * from './media.js';
|
|
16
|
+
export * from './panel.js';
|
|
16
17
|
export * from './permission.js';
|
|
17
18
|
export * from './pipeline-preset.js';
|
|
18
19
|
export * from './pipeline.js';
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
+
import { Nxtpression } from '../common/nxtpression.js';
|
|
3
|
+
export interface PanelDomainRecords {
|
|
4
|
+
":panel": PanelDomainPanelRecord;
|
|
5
|
+
}
|
|
6
|
+
export interface PanelDomainPanelRecord {
|
|
7
|
+
title?: string;
|
|
8
|
+
supports?: string[] | string;
|
|
9
|
+
priority?: number;
|
|
10
|
+
editorPriority?: number;
|
|
11
|
+
properties?: {
|
|
12
|
+
[key: string]: PanelProperty;
|
|
13
|
+
};
|
|
14
|
+
layout?: {
|
|
15
|
+
panel?: PanelLayout;
|
|
16
|
+
editor?: PanelLayout;
|
|
17
|
+
};
|
|
18
|
+
filter?: Nxtpression;
|
|
19
|
+
expand?: Nxtpression;
|
|
20
|
+
}
|
|
21
|
+
export declare const isPanelDomainPanelRecord: (input: unknown) => input is PanelDomainPanelRecord;
|
|
22
|
+
export declare const assertPanelDomainPanelRecord: (input: unknown) => PanelDomainPanelRecord;
|
|
23
|
+
export declare const randomPanelDomainPanelRecord: () => PanelDomainPanelRecord;
|
|
24
|
+
export declare const assertGuardPanelDomainPanelRecord: __AssertionGuard<PanelDomainPanelRecord>;
|
|
25
|
+
export declare const stringifyPanelDomainPanelRecord: (input: PanelDomainPanelRecord) => string;
|
|
26
|
+
export declare const assertStringifyPanelDomainPanelRecord: (input: unknown) => string;
|
|
27
|
+
export interface PanelProperty {
|
|
28
|
+
/** Specifying what type of data will be entered into the field. */
|
|
29
|
+
type: "array" | "asset" | "boolean" | "datetime" | "number" | "string" | "object" | "rpc";
|
|
30
|
+
/** User-friendly title of the property. This will be used as the field's label in the UI. */
|
|
31
|
+
title?: string;
|
|
32
|
+
description?: string;
|
|
33
|
+
domain?: string;
|
|
34
|
+
path?: string;
|
|
35
|
+
computed?: Nxtpression<unknown>;
|
|
36
|
+
/** An object specifying where to index the data. Adding this will effectively make the data searchable. */
|
|
37
|
+
index?: {
|
|
38
|
+
/** A string specifying the user-friendly title of the search property. This is what users will see when creating search filters and bookmarks. */
|
|
39
|
+
label: string;
|
|
40
|
+
/** A string specifying where to store the data in the search index. Note that this should be a globally unique value in the system. Typically you'd use `{domain}.{path}` and you should prefer English in camel case */
|
|
41
|
+
path: string;
|
|
42
|
+
};
|
|
43
|
+
/** If present, indicates that the user must specify a value for the asset to be treated as valid. */
|
|
44
|
+
required?: boolean;
|
|
45
|
+
oneOf?: unknown[];
|
|
46
|
+
}
|
|
47
|
+
export declare const isPanelProperty: (input: unknown) => input is PanelProperty;
|
|
48
|
+
export declare const assertPanelProperty: (input: unknown) => PanelProperty;
|
|
49
|
+
export declare const randomPanelProperty: () => PanelProperty;
|
|
50
|
+
export declare const assertGuardPanelProperty: __AssertionGuard<PanelProperty>;
|
|
51
|
+
export declare const stringifyPanelProperty: (input: PanelProperty) => string;
|
|
52
|
+
export declare const assertStringifyPanelProperty: (input: unknown) => string;
|
|
53
|
+
export type PanelLayout = string | PanelLayoutDivider | PanelLayoutItem | PanelLayout[];
|
|
54
|
+
export declare const isPanelLayout: (input: unknown) => input is PanelLayout;
|
|
55
|
+
export declare const assertPanelLayout: (input: unknown) => PanelLayout;
|
|
56
|
+
export declare const randomPanelLayout: () => PanelLayout;
|
|
57
|
+
export declare const assertGuardPanelLayout: __AssertionGuard<PanelLayout>;
|
|
58
|
+
export declare const stringifyPanelLayout: (input: PanelLayout) => string;
|
|
59
|
+
export declare const assertStringifyPanelLayout: (input: unknown) => string;
|
|
60
|
+
export interface PanelLayoutItem {
|
|
61
|
+
property: string;
|
|
62
|
+
width?: string | number;
|
|
63
|
+
widget?: LayoutWidget;
|
|
64
|
+
}
|
|
65
|
+
export declare const isPanelLayoutItem: (input: unknown) => input is PanelLayoutItem;
|
|
66
|
+
export declare const assertPanelLayoutItem: (input: unknown) => PanelLayoutItem;
|
|
67
|
+
export declare const randomPanelLayoutItem: () => PanelLayoutItem;
|
|
68
|
+
export declare const assertGuardPanelLayoutItem: __AssertionGuard<PanelLayoutItem>;
|
|
69
|
+
export declare const stringifyPanelLayoutItem: (input: PanelLayoutItem) => string;
|
|
70
|
+
export declare const assertStringifyPanelLayoutItem: (input: unknown) => string;
|
|
71
|
+
export interface PanelLayoutDivider {
|
|
72
|
+
type: "divider";
|
|
73
|
+
title?: string;
|
|
74
|
+
}
|
|
75
|
+
export declare const isPanelLayoutDivider: (input: unknown) => input is PanelLayoutDivider;
|
|
76
|
+
export declare const assertPanelLayoutDivider: (input: unknown) => PanelLayoutDivider;
|
|
77
|
+
export declare const randomPanelLayoutDivider: () => PanelLayoutDivider;
|
|
78
|
+
export declare const assertGuardPanelLayoutDivider: __AssertionGuard<PanelLayoutDivider>;
|
|
79
|
+
export declare const stringifyPanelLayoutDivider: (input: PanelLayoutDivider) => string;
|
|
80
|
+
export declare const assertStringifyPanelLayoutDivider: (input: unknown) => string;
|
|
81
|
+
export type LayoutWidget = WidgetType | WidgetItem;
|
|
82
|
+
export declare const isLayoutWidget: (input: unknown) => input is LayoutWidget;
|
|
83
|
+
export declare const assertLayoutWidget: (input: unknown) => LayoutWidget;
|
|
84
|
+
export declare const randomLayoutWidget: () => LayoutWidget;
|
|
85
|
+
export declare const assertGuardLayoutWidget: __AssertionGuard<LayoutWidget>;
|
|
86
|
+
export declare const stringifyLayoutWidget: (input: LayoutWidget) => string;
|
|
87
|
+
export declare const assertStringifyLayoutWidget: (input: unknown) => string;
|
|
88
|
+
export type WidgetType = "default" | "assetTypes" | "assetTags" | "geopoint" | "poster" | "textarea" | "tags";
|
|
89
|
+
export declare const isWidgetType: (input: unknown) => input is WidgetType;
|
|
90
|
+
export declare const assertWidgetType: (input: unknown) => WidgetType;
|
|
91
|
+
export declare const randomWidgetType: () => WidgetType;
|
|
92
|
+
export declare const assertGuardWidgetType: __AssertionGuard<WidgetType>;
|
|
93
|
+
export declare const stringifyWidgetType: (input: WidgetType) => string;
|
|
94
|
+
export declare const assertStringifyWidgetType: (input: unknown) => string;
|
|
95
|
+
export interface WidgetItem {
|
|
96
|
+
type: WidgetType;
|
|
97
|
+
readOnly?: boolean;
|
|
98
|
+
}
|
|
99
|
+
export declare const isWidgetItem: (input: unknown) => input is WidgetItem;
|
|
100
|
+
export declare const assertWidgetItem: (input: unknown) => WidgetItem;
|
|
101
|
+
export declare const randomWidgetItem: () => WidgetItem;
|
|
102
|
+
export declare const assertGuardWidgetItem: __AssertionGuard<WidgetItem>;
|
|
103
|
+
export declare const stringifyWidgetItem: (input: WidgetItem) => string;
|
|
104
|
+
export declare const assertStringifyWidgetItem: (input: unknown) => string;
|