@pritzlaff/nano-app 0.0.0-stage → 0.5.2
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/AGENTS.md +66 -0
- package/LICENSE +21 -0
- package/README.md +6 -2
- package/app/app.css +160 -0
- package/app/bundle/nano-ui.js +2554 -0
- package/app/examples/auth/example.auth.js +6 -0
- package/app/examples/auth/nano.json +46 -0
- package/app/examples/chat/example.chat.js +6 -0
- package/app/examples/chat/example.messaging.js +3 -0
- package/app/examples/chat/nano.json +115 -0
- package/app/examples/drift/example.drift.js +3 -0
- package/app/examples/drift/nano.json +31 -0
- package/app/examples/kv/example.kv.js +3 -0
- package/app/examples/nano.json +356 -0
- package/app/examples/originkey/_nano/bundle/nano-ui.js +212 -0
- package/app/examples/originkey/_nano/sandbox/boot.js +1 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-2gg2vg5g.js +2 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-5h5dssvv.js +3 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-72b5e6vd.js +17 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-87v2yejk.js +2 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-hm29e227.js +7 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-jtgk4ch8.js +2 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-mqaje7vc.js +2 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-mxgap7rs.js +2 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-qy0mwf7y.js +1 -0
- package/app/examples/originkey/_nano/shared/chunks/nano-core-wanb7xw1.js +1 -0
- package/app/examples/originkey/_nano/shared/lit-class-map.js +1 -0
- package/app/examples/originkey/_nano/shared/lit-decorators.js +1 -0
- package/app/examples/originkey/_nano/shared/lit-directive.js +1 -0
- package/app/examples/originkey/_nano/shared/lit-if-defined.js +1 -0
- package/app/examples/originkey/_nano/shared/lit-ref.js +1 -0
- package/app/examples/originkey/_nano/shared/lit-repeat.js +1 -0
- package/app/examples/originkey/_nano/shared/lit-style-map.js +1 -0
- package/app/examples/originkey/_nano/shared/lit.js +1 -0
- package/app/examples/originkey/_nano/shared/nano-core.js +1 -0
- package/app/examples/originkey/_nano/shared/nano-elements.js +280 -0
- package/app/examples/originkey/_nano/shared/typebox-value.js +1 -0
- package/app/examples/originkey/_nano/shared/typebox.js +1 -0
- package/app/examples/originkey/example.originkey.js +6 -0
- package/app/examples/originkey/frame.html +1 -0
- package/app/examples/originkey/nano.json +50 -0
- package/app/examples/raft/example.raft.js +30 -0
- package/app/examples/raft/nano.json +74 -0
- package/app/examples/slice/nano.json +63 -0
- package/app/examples/slice/shout.js +14 -0
- package/app/examples/template/acme.template.js +20 -0
- package/app/examples/template/index.js +241 -0
- package/app/examples/template/nano.json +35 -0
- package/app/examples/todo/example.todo.js +8 -0
- package/app/examples/todo/nano.json +77 -0
- package/app/examples/typing/nano.json +33 -0
- package/app/favicon.svg +1 -0
- package/app/index.html +152 -0
- package/app/main.js +15908 -0
- package/app/react/index.html +50 -0
- package/app/react/main.js +9 -0
- package/app/sandbox/boot.js +980 -0
- package/app/shared/chunks/nano-core-296y9rgd.js +4321 -0
- package/app/shared/chunks/nano-core-2zz7d74m.js +16 -0
- package/app/shared/chunks/nano-core-35ryhkm1.js +33 -0
- package/app/shared/chunks/nano-core-5a3r312d.js +866 -0
- package/app/shared/chunks/nano-core-89mtxedm.js +186 -0
- package/app/shared/chunks/nano-core-bf13r20v.js +77 -0
- package/app/shared/chunks/nano-core-g3414rnc.js +248 -0
- package/app/shared/chunks/nano-core-hyg0qdwg.js +547 -0
- package/app/shared/chunks/nano-core-sxgrxy03.js +53 -0
- package/app/shared/chunks/nano-core-wg5c961d.js +4564 -0
- package/app/shared/lit-class-map.js +60 -0
- package/app/shared/lit-decorators.js +228 -0
- package/app/shared/lit-directive.js +11 -0
- package/app/shared/lit-if-defined.js +10 -0
- package/app/shared/lit-ref.js +12 -0
- package/app/shared/lit-repeat.js +141 -0
- package/app/shared/lit-style-map.js +67 -0
- package/app/shared/lit.js +47 -0
- package/app/shared/nano-core.js +2516 -0
- package/app/shared/nano-elements.js +1178 -0
- package/app/shared/typebox-value.js +78 -0
- package/app/shared/typebox.js +580 -0
- package/app/shared/versions.json +6 -0
- package/bin/nano-app.ts +34 -0
- package/package.json +22 -4
- package/src/events.ts +11 -0
- package/src/serve.ts +68 -0
- package/src/watch.ts +27 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isSingleExpression
|
|
3
|
+
} from "./nano-core-sxgrxy03.js";
|
|
4
|
+
import {
|
|
5
|
+
nothing
|
|
6
|
+
} from "./nano-core-5a3r312d.js";
|
|
7
|
+
import {
|
|
8
|
+
Directive,
|
|
9
|
+
PartType,
|
|
10
|
+
directive
|
|
11
|
+
} from "./nano-core-35ryhkm1.js";
|
|
12
|
+
|
|
13
|
+
// ../../node_modules/.bun/lit-html@3.3.3/node_modules/lit-html/development/async-directive.js
|
|
14
|
+
var DEV_MODE = true;
|
|
15
|
+
var notifyChildrenConnectedChanged = (parent, isConnected) => {
|
|
16
|
+
const children = parent._$disconnectableChildren;
|
|
17
|
+
if (children === undefined) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
for (const obj of children) {
|
|
21
|
+
obj["_$notifyDirectiveConnectionChanged"]?.(isConnected, false);
|
|
22
|
+
notifyChildrenConnectedChanged(obj, isConnected);
|
|
23
|
+
}
|
|
24
|
+
return true;
|
|
25
|
+
};
|
|
26
|
+
var removeDisconnectableFromParent = (obj) => {
|
|
27
|
+
let parent, children;
|
|
28
|
+
do {
|
|
29
|
+
if ((parent = obj._$parent) === undefined) {
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
children = parent._$disconnectableChildren;
|
|
33
|
+
children.delete(obj);
|
|
34
|
+
obj = parent;
|
|
35
|
+
} while (children?.size === 0);
|
|
36
|
+
};
|
|
37
|
+
var addDisconnectableToParent = (obj) => {
|
|
38
|
+
for (let parent;parent = obj._$parent; obj = parent) {
|
|
39
|
+
let children = parent._$disconnectableChildren;
|
|
40
|
+
if (children === undefined) {
|
|
41
|
+
parent._$disconnectableChildren = children = new Set;
|
|
42
|
+
} else if (children.has(obj)) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
children.add(obj);
|
|
46
|
+
installDisconnectAPI(parent);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
function reparentDisconnectables(newParent) {
|
|
50
|
+
if (this._$disconnectableChildren !== undefined) {
|
|
51
|
+
removeDisconnectableFromParent(this);
|
|
52
|
+
this._$parent = newParent;
|
|
53
|
+
addDisconnectableToParent(this);
|
|
54
|
+
} else {
|
|
55
|
+
this._$parent = newParent;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function notifyChildPartConnectedChanged(isConnected, isClearingValue = false, fromPartIndex = 0) {
|
|
59
|
+
const value = this._$committedValue;
|
|
60
|
+
const children = this._$disconnectableChildren;
|
|
61
|
+
if (children === undefined || children.size === 0) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
if (isClearingValue) {
|
|
65
|
+
if (Array.isArray(value)) {
|
|
66
|
+
for (let i = fromPartIndex;i < value.length; i++) {
|
|
67
|
+
notifyChildrenConnectedChanged(value[i], false);
|
|
68
|
+
removeDisconnectableFromParent(value[i]);
|
|
69
|
+
}
|
|
70
|
+
} else if (value != null) {
|
|
71
|
+
notifyChildrenConnectedChanged(value, false);
|
|
72
|
+
removeDisconnectableFromParent(value);
|
|
73
|
+
}
|
|
74
|
+
} else {
|
|
75
|
+
notifyChildrenConnectedChanged(this, isConnected);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
var installDisconnectAPI = (obj) => {
|
|
79
|
+
if (obj.type == PartType.CHILD) {
|
|
80
|
+
obj._$notifyConnectionChanged ??= notifyChildPartConnectedChanged;
|
|
81
|
+
obj._$reparentDisconnectables ??= reparentDisconnectables;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
class AsyncDirective extends Directive {
|
|
86
|
+
constructor() {
|
|
87
|
+
super(...arguments);
|
|
88
|
+
this._$disconnectableChildren = undefined;
|
|
89
|
+
}
|
|
90
|
+
_$initialize(part, parent, attributeIndex) {
|
|
91
|
+
super._$initialize(part, parent, attributeIndex);
|
|
92
|
+
addDisconnectableToParent(this);
|
|
93
|
+
this.isConnected = part._$isConnected;
|
|
94
|
+
}
|
|
95
|
+
["_$notifyDirectiveConnectionChanged"](isConnected, isClearingDirective = true) {
|
|
96
|
+
if (isConnected !== this.isConnected) {
|
|
97
|
+
this.isConnected = isConnected;
|
|
98
|
+
if (isConnected) {
|
|
99
|
+
this.reconnected?.();
|
|
100
|
+
} else {
|
|
101
|
+
this.disconnected?.();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
if (isClearingDirective) {
|
|
105
|
+
notifyChildrenConnectedChanged(this, isConnected);
|
|
106
|
+
removeDisconnectableFromParent(this);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
setValue(value) {
|
|
110
|
+
if (isSingleExpression(this.__part)) {
|
|
111
|
+
this.__part._$setValue(value, this);
|
|
112
|
+
} else {
|
|
113
|
+
if (DEV_MODE && this.__attributeIndex === undefined) {
|
|
114
|
+
throw new Error(`Expected this.__attributeIndex to be a number`);
|
|
115
|
+
}
|
|
116
|
+
const newValues = [...this.__part._$committedValue];
|
|
117
|
+
newValues[this.__attributeIndex] = value;
|
|
118
|
+
this.__part._$setValue(newValues, this, 0);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
disconnected() {}
|
|
122
|
+
reconnected() {}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// ../../node_modules/.bun/lit-html@3.3.3/node_modules/lit-html/development/directives/ref.js
|
|
126
|
+
var createRef = () => new Ref;
|
|
127
|
+
|
|
128
|
+
class Ref {
|
|
129
|
+
}
|
|
130
|
+
var lastElementForContextAndCallback = new WeakMap;
|
|
131
|
+
|
|
132
|
+
class RefDirective extends AsyncDirective {
|
|
133
|
+
render(_ref) {
|
|
134
|
+
return nothing;
|
|
135
|
+
}
|
|
136
|
+
update(part, [ref]) {
|
|
137
|
+
const refChanged = ref !== this._ref;
|
|
138
|
+
if (refChanged) {
|
|
139
|
+
this._updateRefValue(undefined);
|
|
140
|
+
}
|
|
141
|
+
if (refChanged || this._lastElementForRef !== this._element) {
|
|
142
|
+
this._ref = ref;
|
|
143
|
+
this._context = part.options?.host;
|
|
144
|
+
this._updateRefValue(this._element = part.element);
|
|
145
|
+
}
|
|
146
|
+
return nothing;
|
|
147
|
+
}
|
|
148
|
+
_updateRefValue(element) {
|
|
149
|
+
if (this._ref === undefined) {
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (!this.isConnected) {
|
|
153
|
+
element = undefined;
|
|
154
|
+
}
|
|
155
|
+
if (typeof this._ref === "function") {
|
|
156
|
+
const context = this._context ?? globalThis;
|
|
157
|
+
let lastElementForCallback = lastElementForContextAndCallback.get(context);
|
|
158
|
+
if (lastElementForCallback === undefined) {
|
|
159
|
+
lastElementForCallback = new WeakMap;
|
|
160
|
+
lastElementForContextAndCallback.set(context, lastElementForCallback);
|
|
161
|
+
}
|
|
162
|
+
if (lastElementForCallback.get(this._ref) !== undefined) {
|
|
163
|
+
this._ref.call(this._context, undefined);
|
|
164
|
+
}
|
|
165
|
+
lastElementForCallback.set(this._ref, element);
|
|
166
|
+
if (element !== undefined) {
|
|
167
|
+
this._ref.call(this._context, element);
|
|
168
|
+
}
|
|
169
|
+
} else {
|
|
170
|
+
this._ref.value = element;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
get _lastElementForRef() {
|
|
174
|
+
return typeof this._ref === "function" ? lastElementForContextAndCallback.get(this._context ?? globalThis)?.get(this._ref) : this._ref?.value;
|
|
175
|
+
}
|
|
176
|
+
disconnected() {
|
|
177
|
+
if (this._lastElementForRef === this._element) {
|
|
178
|
+
this._updateRefValue(undefined);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
reconnected() {
|
|
182
|
+
this._updateRefValue(this._element);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
var ref = directive(RefDirective);
|
|
186
|
+
export { createRef, ref };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReactiveElement
|
|
3
|
+
} from "./nano-core-hyg0qdwg.js";
|
|
4
|
+
import {
|
|
5
|
+
noChange,
|
|
6
|
+
render
|
|
7
|
+
} from "./nano-core-5a3r312d.js";
|
|
8
|
+
|
|
9
|
+
// ../../node_modules/.bun/lit-element@4.2.2/node_modules/lit-element/development/lit-element.js
|
|
10
|
+
var JSCompiler_renameProperty = (prop, _obj) => prop;
|
|
11
|
+
var DEV_MODE = true;
|
|
12
|
+
var global = globalThis;
|
|
13
|
+
var issueWarning;
|
|
14
|
+
if (DEV_MODE) {
|
|
15
|
+
global.litIssuedWarnings ??= new Set;
|
|
16
|
+
issueWarning = (code, warning) => {
|
|
17
|
+
warning += ` See https://lit.dev/msg/${code} for more information.`;
|
|
18
|
+
if (!global.litIssuedWarnings.has(warning) && !global.litIssuedWarnings.has(code)) {
|
|
19
|
+
console.warn(warning);
|
|
20
|
+
global.litIssuedWarnings.add(warning);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
class LitElement extends ReactiveElement {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
this.renderOptions = { host: this };
|
|
29
|
+
this.__childPart = undefined;
|
|
30
|
+
}
|
|
31
|
+
createRenderRoot() {
|
|
32
|
+
const renderRoot = super.createRenderRoot();
|
|
33
|
+
this.renderOptions.renderBefore ??= renderRoot.firstChild;
|
|
34
|
+
return renderRoot;
|
|
35
|
+
}
|
|
36
|
+
update(changedProperties) {
|
|
37
|
+
const value = this.render();
|
|
38
|
+
if (!this.hasUpdated) {
|
|
39
|
+
this.renderOptions.isConnected = this.isConnected;
|
|
40
|
+
}
|
|
41
|
+
super.update(changedProperties);
|
|
42
|
+
this.__childPart = render(value, this.renderRoot, this.renderOptions);
|
|
43
|
+
}
|
|
44
|
+
connectedCallback() {
|
|
45
|
+
super.connectedCallback();
|
|
46
|
+
this.__childPart?.setConnected(true);
|
|
47
|
+
}
|
|
48
|
+
disconnectedCallback() {
|
|
49
|
+
super.disconnectedCallback();
|
|
50
|
+
this.__childPart?.setConnected(false);
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
return noChange;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
LitElement["_$litElement$"] = true;
|
|
57
|
+
LitElement[JSCompiler_renameProperty("finalized", LitElement)] = true;
|
|
58
|
+
global.litElementHydrateSupport?.({ LitElement });
|
|
59
|
+
var polyfillSupport = DEV_MODE ? global.litElementPolyfillSupportDevMode : global.litElementPolyfillSupport;
|
|
60
|
+
polyfillSupport?.({ LitElement });
|
|
61
|
+
var _$LE = {
|
|
62
|
+
_$attributeToProperty: (el, name, value) => {
|
|
63
|
+
el._$attributeToProperty(name, value);
|
|
64
|
+
},
|
|
65
|
+
_$changedProperties: (el) => el._$changedProperties
|
|
66
|
+
};
|
|
67
|
+
(global.litElementVersions ??= []).push("4.2.2");
|
|
68
|
+
if (DEV_MODE && global.litElementVersions.length > 1) {
|
|
69
|
+
queueMicrotask(() => {
|
|
70
|
+
issueWarning("multiple-versions", `Multiple versions of Lit loaded. Loading multiple versions ` + `is not recommended.`);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// ../../node_modules/.bun/lit-html@3.3.3/node_modules/lit-html/development/is-server.js
|
|
75
|
+
var NODE_MODE = false;
|
|
76
|
+
var isServer = NODE_MODE;
|
|
77
|
+
export { LitElement, _$LE, isServer };
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Any,
|
|
3
|
+
BigInt,
|
|
4
|
+
Boolean,
|
|
5
|
+
Call,
|
|
6
|
+
Capitalize,
|
|
7
|
+
Codec,
|
|
8
|
+
Conditional,
|
|
9
|
+
Constructor,
|
|
10
|
+
ConstructorParameters,
|
|
11
|
+
Cyclic,
|
|
12
|
+
Decode,
|
|
13
|
+
DecodeBuilder,
|
|
14
|
+
Dependent,
|
|
15
|
+
Encode,
|
|
16
|
+
EncodeBuilder,
|
|
17
|
+
Enum,
|
|
18
|
+
Evaluate,
|
|
19
|
+
Exclude,
|
|
20
|
+
Extends,
|
|
21
|
+
Extract,
|
|
22
|
+
Generic,
|
|
23
|
+
Identifier,
|
|
24
|
+
Immutable,
|
|
25
|
+
Index,
|
|
26
|
+
Infer,
|
|
27
|
+
InstanceType,
|
|
28
|
+
Instantiate,
|
|
29
|
+
Integer,
|
|
30
|
+
Interface,
|
|
31
|
+
Intersect,
|
|
32
|
+
IsAny,
|
|
33
|
+
IsArray,
|
|
34
|
+
IsBigInt,
|
|
35
|
+
IsBoolean,
|
|
36
|
+
IsCall,
|
|
37
|
+
IsCodec,
|
|
38
|
+
IsConstructor,
|
|
39
|
+
IsCyclic,
|
|
40
|
+
IsDependent,
|
|
41
|
+
IsEnum,
|
|
42
|
+
IsEnumValue,
|
|
43
|
+
IsFunction,
|
|
44
|
+
IsGeneric,
|
|
45
|
+
IsIdentifier,
|
|
46
|
+
IsImmutable,
|
|
47
|
+
IsInfer,
|
|
48
|
+
IsInteger,
|
|
49
|
+
IsIntersect,
|
|
50
|
+
IsKind,
|
|
51
|
+
IsLiteral,
|
|
52
|
+
IsNever,
|
|
53
|
+
IsNull,
|
|
54
|
+
IsNumber,
|
|
55
|
+
IsObject,
|
|
56
|
+
IsOptional,
|
|
57
|
+
IsParameter,
|
|
58
|
+
IsReadonly,
|
|
59
|
+
IsRecord,
|
|
60
|
+
IsRef,
|
|
61
|
+
IsRefine,
|
|
62
|
+
IsRest,
|
|
63
|
+
IsSchema,
|
|
64
|
+
IsString,
|
|
65
|
+
IsSymbol,
|
|
66
|
+
IsTemplateLiteral,
|
|
67
|
+
IsThis,
|
|
68
|
+
IsTuple,
|
|
69
|
+
IsUndefined,
|
|
70
|
+
IsUnion,
|
|
71
|
+
IsUnknown,
|
|
72
|
+
IsUnsafe,
|
|
73
|
+
IsVoid,
|
|
74
|
+
KeyOf,
|
|
75
|
+
Literal,
|
|
76
|
+
Lowercase,
|
|
77
|
+
Mapped,
|
|
78
|
+
Module,
|
|
79
|
+
Never,
|
|
80
|
+
NonNullable,
|
|
81
|
+
Null,
|
|
82
|
+
Number,
|
|
83
|
+
Omit,
|
|
84
|
+
Optional,
|
|
85
|
+
Parameter,
|
|
86
|
+
Parameters,
|
|
87
|
+
Partial,
|
|
88
|
+
Pick,
|
|
89
|
+
Readonly,
|
|
90
|
+
ReadonlyObject,
|
|
91
|
+
ReadonlyType,
|
|
92
|
+
Record,
|
|
93
|
+
RecordKey,
|
|
94
|
+
RecordPattern,
|
|
95
|
+
RecordValue,
|
|
96
|
+
Ref,
|
|
97
|
+
Refine,
|
|
98
|
+
Required,
|
|
99
|
+
Rest,
|
|
100
|
+
ReturnType,
|
|
101
|
+
Script,
|
|
102
|
+
String,
|
|
103
|
+
Symbol,
|
|
104
|
+
TemplateLiteral,
|
|
105
|
+
This,
|
|
106
|
+
Tuple,
|
|
107
|
+
Uncapitalize,
|
|
108
|
+
Undefined,
|
|
109
|
+
Union,
|
|
110
|
+
Unknown,
|
|
111
|
+
Unsafe,
|
|
112
|
+
Uppercase,
|
|
113
|
+
Void,
|
|
114
|
+
With,
|
|
115
|
+
_Array_,
|
|
116
|
+
_Function_,
|
|
117
|
+
_Object_,
|
|
118
|
+
exports_result
|
|
119
|
+
} from "./nano-core-wg5c961d.js";
|
|
120
|
+
import {
|
|
121
|
+
__export
|
|
122
|
+
} from "./nano-core-2zz7d74m.js";
|
|
123
|
+
|
|
124
|
+
// ../../node_modules/.bun/typebox@1.4.4/node_modules/typebox/build/typebox.mjs
|
|
125
|
+
var exports_typebox = {};
|
|
126
|
+
__export(exports_typebox, {
|
|
127
|
+
With: () => With,
|
|
128
|
+
Void: () => Void,
|
|
129
|
+
Uppercase: () => Uppercase,
|
|
130
|
+
Unsafe: () => Unsafe,
|
|
131
|
+
Unknown: () => Unknown,
|
|
132
|
+
Union: () => Union,
|
|
133
|
+
Undefined: () => Undefined,
|
|
134
|
+
Uncapitalize: () => Uncapitalize,
|
|
135
|
+
Tuple: () => Tuple,
|
|
136
|
+
This: () => This,
|
|
137
|
+
TemplateLiteral: () => TemplateLiteral,
|
|
138
|
+
Symbol: () => Symbol,
|
|
139
|
+
String: () => String,
|
|
140
|
+
Script: () => Script,
|
|
141
|
+
ReturnType: () => ReturnType,
|
|
142
|
+
Rest: () => Rest,
|
|
143
|
+
Required: () => Required,
|
|
144
|
+
Refine: () => Refine,
|
|
145
|
+
Ref: () => Ref,
|
|
146
|
+
RecordValue: () => RecordValue,
|
|
147
|
+
RecordPattern: () => RecordPattern,
|
|
148
|
+
RecordKey: () => RecordKey,
|
|
149
|
+
Record: () => Record,
|
|
150
|
+
ReadonlyType: () => ReadonlyType,
|
|
151
|
+
ReadonlyObject: () => ReadonlyObject,
|
|
152
|
+
Readonly: () => Readonly,
|
|
153
|
+
Pick: () => Pick,
|
|
154
|
+
Partial: () => Partial,
|
|
155
|
+
Parameters: () => Parameters,
|
|
156
|
+
Parameter: () => Parameter,
|
|
157
|
+
Optional: () => Optional,
|
|
158
|
+
Omit: () => Omit,
|
|
159
|
+
Object: () => _Object_,
|
|
160
|
+
Number: () => Number,
|
|
161
|
+
Null: () => Null,
|
|
162
|
+
NonNullable: () => NonNullable,
|
|
163
|
+
Never: () => Never,
|
|
164
|
+
Module: () => Module,
|
|
165
|
+
Mapped: () => Mapped,
|
|
166
|
+
Lowercase: () => Lowercase,
|
|
167
|
+
Literal: () => Literal,
|
|
168
|
+
KeyOf: () => KeyOf,
|
|
169
|
+
IsVoid: () => IsVoid,
|
|
170
|
+
IsUnsafe: () => IsUnsafe,
|
|
171
|
+
IsUnknown: () => IsUnknown,
|
|
172
|
+
IsUnion: () => IsUnion,
|
|
173
|
+
IsUndefined: () => IsUndefined,
|
|
174
|
+
IsTuple: () => IsTuple,
|
|
175
|
+
IsThis: () => IsThis,
|
|
176
|
+
IsTemplateLiteral: () => IsTemplateLiteral,
|
|
177
|
+
IsSymbol: () => IsSymbol,
|
|
178
|
+
IsString: () => IsString,
|
|
179
|
+
IsSchema: () => IsSchema,
|
|
180
|
+
IsRest: () => IsRest,
|
|
181
|
+
IsRefine: () => IsRefine,
|
|
182
|
+
IsRef: () => IsRef,
|
|
183
|
+
IsRecord: () => IsRecord,
|
|
184
|
+
IsReadonly: () => IsReadonly,
|
|
185
|
+
IsParameter: () => IsParameter,
|
|
186
|
+
IsOptional: () => IsOptional,
|
|
187
|
+
IsObject: () => IsObject,
|
|
188
|
+
IsNumber: () => IsNumber,
|
|
189
|
+
IsNull: () => IsNull,
|
|
190
|
+
IsNever: () => IsNever,
|
|
191
|
+
IsLiteral: () => IsLiteral,
|
|
192
|
+
IsKind: () => IsKind,
|
|
193
|
+
IsIntersect: () => IsIntersect,
|
|
194
|
+
IsInteger: () => IsInteger,
|
|
195
|
+
IsInfer: () => IsInfer,
|
|
196
|
+
IsImmutable: () => IsImmutable,
|
|
197
|
+
IsIdentifier: () => IsIdentifier,
|
|
198
|
+
IsGeneric: () => IsGeneric,
|
|
199
|
+
IsFunction: () => IsFunction,
|
|
200
|
+
IsEnumValue: () => IsEnumValue,
|
|
201
|
+
IsEnum: () => IsEnum,
|
|
202
|
+
IsDependent: () => IsDependent,
|
|
203
|
+
IsCyclic: () => IsCyclic,
|
|
204
|
+
IsConstructor: () => IsConstructor,
|
|
205
|
+
IsCodec: () => IsCodec,
|
|
206
|
+
IsCall: () => IsCall,
|
|
207
|
+
IsBoolean: () => IsBoolean,
|
|
208
|
+
IsBigInt: () => IsBigInt,
|
|
209
|
+
IsArray: () => IsArray,
|
|
210
|
+
IsAny: () => IsAny,
|
|
211
|
+
Intersect: () => Intersect,
|
|
212
|
+
Interface: () => Interface,
|
|
213
|
+
Integer: () => Integer,
|
|
214
|
+
Instantiate: () => Instantiate,
|
|
215
|
+
InstanceType: () => InstanceType,
|
|
216
|
+
Infer: () => Infer,
|
|
217
|
+
Index: () => Index,
|
|
218
|
+
Immutable: () => Immutable,
|
|
219
|
+
Identifier: () => Identifier,
|
|
220
|
+
Generic: () => Generic,
|
|
221
|
+
Function: () => _Function_,
|
|
222
|
+
Extract: () => Extract,
|
|
223
|
+
ExtendsResult: () => exports_result,
|
|
224
|
+
Extends: () => Extends,
|
|
225
|
+
Exclude: () => Exclude,
|
|
226
|
+
Evaluate: () => Evaluate,
|
|
227
|
+
Enum: () => Enum,
|
|
228
|
+
EncodeBuilder: () => EncodeBuilder,
|
|
229
|
+
Encode: () => Encode,
|
|
230
|
+
Dependent: () => Dependent,
|
|
231
|
+
DecodeBuilder: () => DecodeBuilder,
|
|
232
|
+
Decode: () => Decode,
|
|
233
|
+
Cyclic: () => Cyclic,
|
|
234
|
+
ConstructorParameters: () => ConstructorParameters,
|
|
235
|
+
Constructor: () => Constructor,
|
|
236
|
+
Conditional: () => Conditional,
|
|
237
|
+
Codec: () => Codec,
|
|
238
|
+
Capitalize: () => Capitalize,
|
|
239
|
+
Call: () => Call,
|
|
240
|
+
Boolean: () => Boolean,
|
|
241
|
+
BigInt: () => BigInt,
|
|
242
|
+
Array: () => _Array_,
|
|
243
|
+
Any: () => Any
|
|
244
|
+
});
|
|
245
|
+
// ../../node_modules/.bun/typebox@1.4.4/node_modules/typebox/build/index.mjs
|
|
246
|
+
var build_default = exports_typebox;
|
|
247
|
+
|
|
248
|
+
export { exports_typebox, build_default };
|