@sjcx/vorma 0.0.0-pre.0
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/LICENSE +20 -0
- package/dist/build/assemble-artifacts.d.ts +23 -0
- package/dist/build/browser-contracts.d.ts +8 -0
- package/dist/build/bundle-client.d.ts +29 -0
- package/dist/build/cli.d.ts +2 -0
- package/dist/build/cli.js +1256 -0
- package/dist/build/client-inputs.d.ts +11 -0
- package/dist/build/client-output-hashing.d.ts +3 -0
- package/dist/build/client-public-urls.d.ts +20 -0
- package/dist/build/compare-text.d.ts +5 -0
- package/dist/build/compile-application.d.ts +40 -0
- package/dist/build/compile-server.d.ts +42 -0
- package/dist/build/contained-path.d.ts +29 -0
- package/dist/build/critical-css.d.ts +7 -0
- package/dist/build/css-public-assets.d.ts +15 -0
- package/dist/build/development-artifacts.d.ts +35 -0
- package/dist/build/development-browser-source.d.ts +3 -0
- package/dist/build/development-build.d.ts +30 -0
- package/dist/build/development-changes.d.ts +14 -0
- package/dist/build/development-client.d.ts +21 -0
- package/dist/build/development-generation.d.ts +20 -0
- package/dist/build/development-listener.d.ts +14 -0
- package/dist/build/development-patterns.d.ts +5 -0
- package/dist/build/development-protocol.d.ts +20 -0
- package/dist/build/development-server-process.d.ts +30 -0
- package/dist/build/development-sources.d.ts +23 -0
- package/dist/build/development-stylesheet.d.ts +15 -0
- package/dist/build/development-watcher.d.ts +15 -0
- package/dist/build/development-work.d.ts +32 -0
- package/dist/build/development.d.ts +3 -0
- package/dist/build/generate-application.d.ts +62 -0
- package/dist/build/index.d.ts +15 -0
- package/dist/build/index.js +2 -0
- package/dist/build/inspect-css-artifacts.d.ts +11 -0
- package/dist/build/inspect-projects.d.ts +69 -0
- package/dist/build/load-config.d.ts +56 -0
- package/dist/build/output-files.d.ts +8 -0
- package/dist/build/output-ownership.d.ts +21 -0
- package/dist/build/public-assets.d.ts +32 -0
- package/dist/build/publish-artifacts.d.ts +23 -0
- package/dist/build/render-client-contracts.d.ts +10 -0
- package/dist/build/render-client-transport.d.ts +11 -0
- package/dist/build/render-server-generated.d.ts +33 -0
- package/dist/build/render-source-text.d.ts +24 -0
- package/dist/build/render-types.d.ts +31 -0
- package/dist/build/resolve-config.d.ts +50 -0
- package/dist/build/source-layout.d.ts +24 -0
- package/dist/build/typescript-projects.d.ts +36 -0
- package/dist/build-JgARonaY.js +3214 -0
- package/dist/build-invocation-D7Fu8gBK.js +4 -0
- package/dist/client/assembly.d.ts +40 -0
- package/dist/client/browser-http-client.d.ts +10 -0
- package/dist/client/client-loaders.d.ts +93 -0
- package/dist/client/commit.d.ts +41 -0
- package/dist/client/contracts.d.ts +192 -0
- package/dist/client/core.d.ts +45 -0
- package/dist/client/development.d.ts +16 -0
- package/dist/client/document-recovery.d.ts +4 -0
- package/dist/client/endpoints.d.ts +54 -0
- package/dist/client/errors.d.ts +87 -0
- package/dist/client/freshness.d.ts +51 -0
- package/dist/client/head.d.ts +14 -0
- package/dist/client/history.d.ts +25 -0
- package/dist/client/index.d.ts +80 -0
- package/dist/client/index.js +150 -0
- package/dist/client/links.d.ts +48 -0
- package/dist/client/materialize.d.ts +21 -0
- package/dist/client/modules.d.ts +2 -0
- package/dist/client/navigation.d.ts +47 -0
- package/dist/client/payload.d.ts +54 -0
- package/dist/client/prefetch.d.ts +28 -0
- package/dist/client/prepare.d.ts +47 -0
- package/dist/client/projections.d.ts +26 -0
- package/dist/client/queries.d.ts +33 -0
- package/dist/client/react/application.d.ts +87 -0
- package/dist/client/react/hooks.d.ts +36 -0
- package/dist/client/react/index.d.ts +5 -0
- package/dist/client/react/index.js +3237 -0
- package/dist/client/react/link.d.ts +27 -0
- package/dist/client/react/view.d.ts +86 -0
- package/dist/client/request.d.ts +16 -0
- package/dist/client/route-context.d.ts +31 -0
- package/dist/client/route-matching.d.ts +22 -0
- package/dist/client/route-synchronization.d.ts +30 -0
- package/dist/client/route-url.d.ts +5 -0
- package/dist/client/runtime.d.ts +82 -0
- package/dist/client/scroll.d.ts +16 -0
- package/dist/client/services.d.ts +34 -0
- package/dist/client/state.d.ts +102 -0
- package/dist/client/static-assets.d.ts +3 -0
- package/dist/client/stylesheets.d.ts +7 -0
- package/dist/client/transport-type-entries.d.ts +2 -0
- package/dist/client/types.d.ts +152 -0
- package/dist/client/view-definition.d.ts +24 -0
- package/dist/client/work-indicator.d.ts +18 -0
- package/dist/compile-Me8EOyMK.js +870 -0
- package/dist/development-B_rxuwY7.js +128 -0
- package/dist/hash-set-BPx3iXec.js +141 -0
- package/dist/href-Cqyax8Y0.js +357 -0
- package/dist/materialize-DZ7VSLFk.js +739 -0
- package/dist/metadata-BoPKo-G2.js +32 -0
- package/dist/primitives/tasks/index.d.ts +1 -0
- package/dist/primitives/tasks/index.js +1 -0
- package/dist/route-context-CtY_9U_W.js +559 -0
- package/dist/route-matching-D_uSG2P9.js +33 -0
- package/dist/search-parse-0f7oqVsG.js +375 -0
- package/dist/server/config/index.d.ts +36 -0
- package/dist/server/config/index.js +30 -0
- package/dist/server/development/metadata.d.ts +11 -0
- package/dist/server/document.d.ts +37 -0
- package/dist/server/form-data.d.ts +21 -0
- package/dist/server/graph/compile.d.ts +118 -0
- package/dist/server/graph/declarations.d.ts +117 -0
- package/dist/server/graph/literal-error-tag.d.ts +14 -0
- package/dist/server/graph/pattern-conflicts.d.ts +36 -0
- package/dist/server/graph/search-schema.d.ts +13 -0
- package/dist/server/graph/transport-schema.d.ts +11 -0
- package/dist/server/index.d.ts +310 -0
- package/dist/server/index.js +2311 -0
- package/dist/server/public-assets.d.ts +18 -0
- package/dist/server/runtime/application.d.ts +15 -0
- package/dist/server/runtime/assets.d.ts +15 -0
- package/dist/server/runtime/context.d.ts +96 -0
- package/dist/server/runtime/domain-errors.d.ts +11 -0
- package/dist/server/runtime/effects.d.ts +83 -0
- package/dist/server/runtime/execute.d.ts +13 -0
- package/dist/server/runtime/finalize.d.ts +44 -0
- package/dist/server/runtime/handler.d.ts +106 -0
- package/dist/server/runtime/head.d.ts +22 -0
- package/dist/server/runtime/payload.d.ts +50 -0
- package/dist/server/runtime/pipeline.d.ts +27 -0
- package/dist/server/runtime/plan.d.ts +98 -0
- package/dist/server/runtime/render-document.d.ts +16 -0
- package/dist/server/runtime/startup-error.d.ts +11 -0
- package/dist/server/runtime/transport-type-entries.d.ts +2 -0
- package/dist/server/runtime/vercel-deployment.d.ts +2 -0
- package/dist/server/url-pathname.d.ts +13 -0
- package/dist/static-assets-BrH3O0M8.js +199 -0
- package/dist/universal/content-digest.d.ts +7 -0
- package/dist/universal/generated-types.d.ts +9 -0
- package/dist/universal/href.d.ts +17 -0
- package/dist/universal/http-method.d.ts +4 -0
- package/dist/universal/json-transport.d.ts +14 -0
- package/dist/universal/null-prototype-record.d.ts +7 -0
- package/dist/universal/path-wire.d.ts +71 -0
- package/dist/universal/pattern-language.d.ts +4 -0
- package/dist/universal/protocol-schemas.d.ts +99 -0
- package/dist/universal/protocol.d.ts +162 -0
- package/dist/universal/search-grammar.d.ts +7 -0
- package/dist/universal/search-parse.d.ts +22 -0
- package/dist/universal/search-serialize.d.ts +16 -0
- package/dist/universal/search-shape.d.ts +32 -0
- package/dist/universal/static-assets.d.ts +2 -0
- package/dist/universal/transport-types/big-decimal.d.ts +13 -0
- package/dist/universal/transport-types/chunk.d.ts +8 -0
- package/dist/universal/transport-types/date-time-utc.d.ts +13 -0
- package/dist/universal/transport-types/date-time-zoned.d.ts +13 -0
- package/dist/universal/transport-types/duration.d.ts +13 -0
- package/dist/universal/transport-types/hash-map.d.ts +8 -0
- package/dist/universal/transport-types/hash-set.d.ts +8 -0
- package/dist/universal/transport-types/option.d.ts +10 -0
- package/dist/universal/transport-types/redacted.d.ts +9 -0
- package/dist/universal/value-transport.d.ts +117 -0
- package/dist/value-transport-Bst4Hk-n.js +864 -0
- package/dist/vite/build-invocation.d.ts +4 -0
- package/dist/vite/index.d.ts +3 -0
- package/dist/vite/index.js +15 -0
- package/package.json +84 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** The URL parser's data description, independent of Effect's schema representation. */
|
|
2
|
+
export type SearchScalarKind = "string" | "number" | "boolean" | "bigint" | "date" | "url" | "url-search-params" | "regexp" | "duration" | "big-decimal" | "date-time-utc" | "date-time-zoned";
|
|
3
|
+
type Presence = {
|
|
4
|
+
readonly optional?: true;
|
|
5
|
+
readonly nullable?: true;
|
|
6
|
+
};
|
|
7
|
+
export type SearchScalar = Presence & {
|
|
8
|
+
readonly kind: "scalar";
|
|
9
|
+
readonly type: SearchScalarKind;
|
|
10
|
+
readonly values?: ReadonlyArray<string>;
|
|
11
|
+
};
|
|
12
|
+
export type SearchShape = SearchScalar | (Presence & ({
|
|
13
|
+
readonly kind: "object";
|
|
14
|
+
readonly fields: Readonly<Record<string, SearchShape>>;
|
|
15
|
+
} | {
|
|
16
|
+
readonly kind: "array";
|
|
17
|
+
readonly collection: "array" | "set" | "chunk" | "hash-set";
|
|
18
|
+
readonly item: SearchScalar;
|
|
19
|
+
} | {
|
|
20
|
+
readonly kind: "record";
|
|
21
|
+
readonly collection: "record" | "map" | "hash-map";
|
|
22
|
+
readonly key: SearchScalar;
|
|
23
|
+
readonly value: SearchShape;
|
|
24
|
+
} | {
|
|
25
|
+
readonly kind: "option";
|
|
26
|
+
readonly value: SearchShape;
|
|
27
|
+
} | {
|
|
28
|
+
readonly kind: "redacted";
|
|
29
|
+
readonly value: SearchShape;
|
|
30
|
+
readonly label?: string;
|
|
31
|
+
}));
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Generic BigDecimal value operations, independent of application contracts. */
|
|
2
|
+
export declare const bigDecimalTransportType: {
|
|
3
|
+
readonly kind: "big-decimal";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly format: (value: unknown) => string;
|
|
7
|
+
readonly parse: (value: string) => {
|
|
8
|
+
readonly _tag: "None";
|
|
9
|
+
} | {
|
|
10
|
+
readonly _tag: "Some";
|
|
11
|
+
readonly value: unknown;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Generic Chunk value operations, independent of application contracts. */
|
|
2
|
+
export declare const chunkTransportType: {
|
|
3
|
+
readonly kind: "chunk";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly getValues: (value: unknown) => ReadonlyArray<unknown>;
|
|
7
|
+
readonly fromValues: (values: ReadonlyArray<unknown>) => unknown;
|
|
8
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Generic DateTime value operations, independent of application contracts. */
|
|
2
|
+
export declare const dateTimeUtcTransportType: {
|
|
3
|
+
readonly kind: "date-time-utc";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly format: (value: unknown) => string;
|
|
7
|
+
readonly parse: (value: string) => {
|
|
8
|
+
readonly _tag: "None";
|
|
9
|
+
} | {
|
|
10
|
+
readonly _tag: "Some";
|
|
11
|
+
readonly value: unknown;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Generic DateTime value operations, independent of application contracts. */
|
|
2
|
+
export declare const dateTimeZonedTransportType: {
|
|
3
|
+
readonly kind: "date-time-zoned";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly format: (value: unknown) => string;
|
|
7
|
+
readonly parse: (value: string) => {
|
|
8
|
+
readonly _tag: "None";
|
|
9
|
+
} | {
|
|
10
|
+
readonly _tag: "Some";
|
|
11
|
+
readonly value: unknown;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Generic Duration value operations, independent of application contracts. */
|
|
2
|
+
export declare const durationTransportType: {
|
|
3
|
+
readonly kind: "duration";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly format: (value: unknown) => string;
|
|
7
|
+
readonly parse: (value: string) => {
|
|
8
|
+
readonly _tag: "None";
|
|
9
|
+
} | {
|
|
10
|
+
readonly _tag: "Some";
|
|
11
|
+
readonly value: unknown;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Generic HashMap value operations, independent of application contracts. */
|
|
2
|
+
export declare const hashMapTransportType: {
|
|
3
|
+
readonly kind: "hash-map";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly getEntries: (value: unknown) => ReadonlyArray<readonly [unknown, unknown]>;
|
|
7
|
+
readonly fromEntries: (entries: ReadonlyArray<readonly [unknown, unknown]>) => unknown;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Generic HashSet value operations, independent of application contracts. */
|
|
2
|
+
export declare const hashSetTransportType: {
|
|
3
|
+
readonly kind: "hash-set";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly getValues: (value: unknown) => ReadonlyArray<unknown>;
|
|
7
|
+
readonly fromValues: (values: ReadonlyArray<unknown>) => unknown;
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Generic Option value operations, independent of application contracts. */
|
|
2
|
+
export declare const optionTransportType: {
|
|
3
|
+
readonly kind: "option";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly matchesNone: (value: unknown) => boolean;
|
|
7
|
+
readonly getValue: (value: unknown) => unknown;
|
|
8
|
+
readonly none: () => unknown;
|
|
9
|
+
readonly some: (value: unknown) => unknown;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Generic Redacted value operations, independent of application contracts. */
|
|
2
|
+
export declare const redactedTransportType: {
|
|
3
|
+
readonly kind: "redacted";
|
|
4
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly getValue: (value: unknown) => unknown;
|
|
7
|
+
readonly getLabel: (value: unknown) => string | undefined;
|
|
8
|
+
readonly make: (value: unknown, label: string | undefined) => unknown;
|
|
9
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Result } from "effect";
|
|
2
|
+
export type JsonValue = null | boolean | number | string | ReadonlyArray<JsonValue> | {
|
|
3
|
+
readonly [key: string]: JsonValue;
|
|
4
|
+
};
|
|
5
|
+
export type PlatformTransportMarkKind = "date" | "bigint" | "number" | "undefined" | "map" | "set" | "url" | "url-search-params" | "regexp";
|
|
6
|
+
export type EffectTransportMarkKind = "option" | "redacted" | "chunk" | "duration" | "big-decimal" | "date-time-utc" | "date-time-zoned" | "hash-map" | "hash-set";
|
|
7
|
+
export type MarkKind = PlatformTransportMarkKind | EffectTransportMarkKind;
|
|
8
|
+
export declare const TRANSPORT_MARK_KINDS: ReadonlySet<MarkKind>;
|
|
9
|
+
export declare const EFFECT_TRANSPORT_TYPES: readonly [{
|
|
10
|
+
readonly name: "option";
|
|
11
|
+
readonly representationId: "effect/schema/Option";
|
|
12
|
+
}, {
|
|
13
|
+
readonly name: "redacted";
|
|
14
|
+
readonly representationId: "effect/schema/Redacted";
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "chunk";
|
|
17
|
+
readonly representationId: "effect/schema/Chunk";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "duration";
|
|
20
|
+
readonly representationId: "effect/schema/Duration";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "big-decimal";
|
|
23
|
+
readonly representationId: "effect/schema/BigDecimal";
|
|
24
|
+
}, {
|
|
25
|
+
readonly name: "date-time-utc";
|
|
26
|
+
readonly representationId: "effect/schema/DateTimeUtc";
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: "date-time-zoned";
|
|
29
|
+
readonly representationId: "effect/schema/DateTimeZoned";
|
|
30
|
+
}, {
|
|
31
|
+
readonly name: "hash-map";
|
|
32
|
+
readonly representationId: "effect/schema/HashMap";
|
|
33
|
+
}, {
|
|
34
|
+
readonly name: "hash-set";
|
|
35
|
+
readonly representationId: "effect/schema/HashSet";
|
|
36
|
+
}];
|
|
37
|
+
type ParsedEffectValue = {
|
|
38
|
+
readonly _tag: "None";
|
|
39
|
+
} | {
|
|
40
|
+
readonly _tag: "Some";
|
|
41
|
+
readonly value: unknown;
|
|
42
|
+
};
|
|
43
|
+
type TransportTypeEntryBase<Kind extends EffectTransportMarkKind> = {
|
|
44
|
+
readonly kind: Kind;
|
|
45
|
+
readonly matchesValue: (value: unknown) => boolean;
|
|
46
|
+
};
|
|
47
|
+
/** One Effect data type's runtime operations, supplied by the server or generated client module. */
|
|
48
|
+
export type TransportTypeEntry = (TransportTypeEntryBase<"option"> & {
|
|
49
|
+
readonly matchesNone: (value: unknown) => boolean;
|
|
50
|
+
readonly getValue: (value: unknown) => unknown;
|
|
51
|
+
readonly none: () => unknown;
|
|
52
|
+
readonly some: (value: unknown) => unknown;
|
|
53
|
+
}) | (TransportTypeEntryBase<"redacted"> & {
|
|
54
|
+
readonly getValue: (value: unknown) => unknown;
|
|
55
|
+
readonly getLabel: (value: unknown) => string | undefined;
|
|
56
|
+
readonly make: (value: unknown, label: string | undefined) => unknown;
|
|
57
|
+
}) | (TransportTypeEntryBase<"chunk"> & {
|
|
58
|
+
readonly getValues: (value: unknown) => ReadonlyArray<unknown>;
|
|
59
|
+
readonly fromValues: (values: ReadonlyArray<unknown>) => unknown;
|
|
60
|
+
}) | (TransportTypeEntryBase<"duration"> & {
|
|
61
|
+
readonly format: (value: unknown) => string;
|
|
62
|
+
readonly parse: (value: string) => ParsedEffectValue;
|
|
63
|
+
}) | (TransportTypeEntryBase<"big-decimal"> & {
|
|
64
|
+
readonly format: (value: unknown) => string;
|
|
65
|
+
readonly parse: (value: string) => ParsedEffectValue;
|
|
66
|
+
}) | (TransportTypeEntryBase<"date-time-utc"> & {
|
|
67
|
+
readonly format: (value: unknown) => string;
|
|
68
|
+
readonly parse: (value: string) => ParsedEffectValue;
|
|
69
|
+
}) | (TransportTypeEntryBase<"date-time-zoned"> & {
|
|
70
|
+
readonly format: (value: unknown) => string;
|
|
71
|
+
readonly parse: (value: string) => ParsedEffectValue;
|
|
72
|
+
}) | (TransportTypeEntryBase<"hash-map"> & {
|
|
73
|
+
readonly getEntries: (value: unknown) => ReadonlyArray<readonly [unknown, unknown]>;
|
|
74
|
+
readonly fromEntries: (entries: ReadonlyArray<readonly [unknown, unknown]>) => unknown;
|
|
75
|
+
}) | (TransportTypeEntryBase<"hash-set"> & {
|
|
76
|
+
readonly getValues: (value: unknown) => ReadonlyArray<unknown>;
|
|
77
|
+
readonly fromValues: (values: ReadonlyArray<unknown>) => unknown;
|
|
78
|
+
});
|
|
79
|
+
/** One member of the vocabulary and where it sits in the JSON, as a path of keys and indexes from the root. */
|
|
80
|
+
export type ValueMark = {
|
|
81
|
+
readonly path: ReadonlyArray<string | number>;
|
|
82
|
+
readonly kind: MarkKind;
|
|
83
|
+
};
|
|
84
|
+
/** A value on the wire: its JSON form and the marks that restore the vocabulary's members. */
|
|
85
|
+
export type TransportedValue = {
|
|
86
|
+
readonly json: JsonValue;
|
|
87
|
+
readonly marks: ReadonlyArray<ValueMark>;
|
|
88
|
+
};
|
|
89
|
+
export type TransportEncodeError = {
|
|
90
|
+
readonly _tag: "UntransportableValue";
|
|
91
|
+
readonly path: ReadonlyArray<string | number>;
|
|
92
|
+
readonly reason: string;
|
|
93
|
+
};
|
|
94
|
+
export type TransportDecodeError = {
|
|
95
|
+
readonly _tag: "InvalidTransportMark";
|
|
96
|
+
readonly path: ReadonlyArray<string | number>;
|
|
97
|
+
readonly reason: string;
|
|
98
|
+
};
|
|
99
|
+
export declare function encodeTransportedValue(input: {
|
|
100
|
+
readonly value: unknown;
|
|
101
|
+
readonly typeEntries: ReadonlyArray<TransportTypeEntry>;
|
|
102
|
+
}): Result.Result<TransportedValue, TransportEncodeError>;
|
|
103
|
+
/** The reader's JSON came from a parser, so its type is only `unknown` here; the marks are what the reader checks. */
|
|
104
|
+
export declare function decodeTransportedValue(input: {
|
|
105
|
+
readonly transported: {
|
|
106
|
+
readonly json: unknown;
|
|
107
|
+
readonly marks: ReadonlyArray<ValueMark>;
|
|
108
|
+
};
|
|
109
|
+
readonly typeEntries: ReadonlyArray<TransportTypeEntry>;
|
|
110
|
+
}): Result.Result<unknown, TransportDecodeError>;
|
|
111
|
+
/** Restores one Effect data type through the boundary-specific adapter list. */
|
|
112
|
+
export declare function restoreEffectTransportType(input: {
|
|
113
|
+
readonly kind: EffectTransportMarkKind;
|
|
114
|
+
readonly value: unknown;
|
|
115
|
+
readonly typeEntries: ReadonlyArray<TransportTypeEntry>;
|
|
116
|
+
}): Result.Result<unknown, TransportDecodeError>;
|
|
117
|
+
export {};
|