@restatedev/restate-sdk-core 1.17.2 → 1.17.4
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/core.d.ts +27 -29
- package/dist/core.d.ts.map +1 -1
- package/dist/duration.d.ts +11 -8
- package/dist/duration.d.ts.map +1 -1
- package/dist/duration.js +9 -23
- package/dist/duration.js.map +1 -1
- package/dist/entry_codec.d.ts +22 -19
- package/dist/entry_codec.d.ts.map +1 -1
- package/dist/index.d.ts +7 -10
- package/dist/index.js +5 -14
- package/dist/interface.d.ts +72 -67
- package/dist/interface.d.ts.map +1 -1
- package/dist/interface.js +74 -80
- package/dist/interface.js.map +1 -1
- package/dist/serde_api.d.ts +111 -106
- package/dist/serde_api.d.ts.map +1 -1
- package/dist/serde_api.js +88 -152
- package/dist/serde_api.js.map +1 -1
- package/dist/standard_schema.d.ts +109 -108
- package/dist/standard_schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/core.d.ts
CHANGED
|
@@ -1,33 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
}
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type HandlerReturnType<T> = T extends (ctx: any, input: any) => Promise<infer R> ? R : never;
|
|
13
|
-
export type ServiceHandler<F, C = RestateContext> = F extends (ctx: C) => Promise<any> ? F : F extends (ctx: C, input: any) => Promise<any> ? F : (ctx: C, input?: any) => Promise<any>;
|
|
14
|
-
export type ServiceDefinition<P extends string, M> = {
|
|
15
|
-
name: P;
|
|
1
|
+
//#region src/core.d.ts
|
|
2
|
+
interface RestateContext {}
|
|
3
|
+
interface RestateObjectContext {}
|
|
4
|
+
interface RestateObjectSharedContext {}
|
|
5
|
+
interface RestateWorkflowSharedContext extends RestateObjectSharedContext {}
|
|
6
|
+
interface RestateWorkflowContext extends RestateObjectContext, RestateWorkflowSharedContext {}
|
|
7
|
+
type ArgType<T> = T extends ((ctx: any) => any) ? void : T extends ((ctx: any, input: infer I) => any) ? I : never;
|
|
8
|
+
type HandlerReturnType<T> = T extends ((ctx: any, input: any) => Promise<infer R>) ? R : never;
|
|
9
|
+
type ServiceHandler<F, C = RestateContext> = F extends ((ctx: C) => Promise<any>) ? F : F extends ((ctx: C, input: any) => Promise<any>) ? F : (ctx: C, input?: any) => Promise<any>;
|
|
10
|
+
type ServiceDefinition<P extends string, M> = {
|
|
11
|
+
name: P;
|
|
16
12
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
type Service<M> = M extends ServiceDefinition<string, infer S> ? S : M;
|
|
14
|
+
type ServiceDefinitionFrom<M> = M extends ServiceDefinition<string, unknown> ? M : ServiceDefinition<string, M>;
|
|
15
|
+
type ObjectSharedHandler<F, SC = RestateObjectSharedContext> = F extends ((ctx: SC, param: any) => Promise<any>) ? F : F extends ((ctx: SC) => Promise<any>) ? F : (ctx: SC, param?: any) => Promise<any>;
|
|
16
|
+
type ObjectHandler<F, C = RestateObjectContext> = F extends ((ctx: C, param: any) => Promise<any>) ? F : F extends ((ctx: C) => Promise<any>) ? F : (ctx: C, param?: any) => Promise<any>;
|
|
17
|
+
type VirtualObjectDefinition<P extends string, M> = {
|
|
18
|
+
name: P;
|
|
23
19
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
type VirtualObject<M> = M extends VirtualObjectDefinition<string, infer O> ? O : M;
|
|
21
|
+
type VirtualObjectDefinitionFrom<M> = M extends VirtualObjectDefinition<string, unknown> ? M : VirtualObjectDefinition<string, M>;
|
|
22
|
+
type WorkflowSharedHandler<F, SC = RestateWorkflowSharedContext> = F extends ((ctx: SC, param: any) => Promise<any>) ? F : F extends ((ctx: SC) => Promise<any>) ? F : (ctx: SC, param?: any) => Promise<any>;
|
|
23
|
+
type WorkflowHandler<F, C = RestateWorkflowContext> = F extends ((ctx: C, param: any) => Promise<any>) ? F : F extends ((ctx: C) => Promise<any>) ? F : (ctx: C, param?: any) => Promise<any>;
|
|
24
|
+
type WorkflowDefinition<P extends string, M> = {
|
|
25
|
+
name: P;
|
|
30
26
|
};
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
type Workflow<M> = M extends WorkflowDefinition<string, infer W> ? W : M;
|
|
28
|
+
type WorkflowDefinitionFrom<M> = M extends WorkflowDefinition<string, unknown> ? M : WorkflowDefinition<string, M>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ArgType, HandlerReturnType, ObjectHandler, ObjectSharedHandler, RestateContext, RestateObjectContext, RestateObjectSharedContext, RestateWorkflowContext, RestateWorkflowSharedContext, Service, ServiceDefinition, ServiceDefinitionFrom, ServiceHandler, VirtualObject, VirtualObjectDefinition, VirtualObjectDefinitionFrom, Workflow, WorkflowDefinition, WorkflowDefinitionFrom, WorkflowHandler, WorkflowSharedHandler };
|
|
33
31
|
//# sourceMappingURL=core.d.ts.map
|
package/dist/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","
|
|
1
|
+
{"version":3,"file":"core.d.ts","names":[],"sources":["../src/core.ts"],"sourcesContent":[],"mappings":";UAeiB,cAAA,EAAjB;AACiB,UAAA,oBAAA,CAAoB,CACrC;AAGiB,UAHA,0BAAA,CAG6B,CAC9C;AAKY,UANK,4BAAA,SAAqC,0BAMnC,CAAA;AAEf,UAPa,sBAAA,SACP,oBAMN,EAN4B,4BAM5B,CAAA;AACG,KAHK,OAGL,CAAA,CAAA,CAAA,GAHkB,CAGlB,UAAA,CAAA,GAAA,EAAA,GAAA,EAAA,GAAA,GAAA,IAAA,IAAA,GADH,CACG,UAAA,CAAA,GAAA,EAAA,GAAA,EAAA,KAAA,EAAA,KAAA,EAAA,EAAA,GAAA,GAAA,IAAD,CAAC,GAAA,K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M,EAxDN,EAAA,KAAA,CAAA,EAAA,GAAA,EAAA,GAwD0B,OAxD1B,CAAA,GAAA,CAAA;AACM,KAyDA,eAzDA,CAAA,CAAA,EAAA,IAyDuB,sBAzDvB,CAAA,GAyDiD,CAzDjD,UAAA,CAAA,GAAA,EA0DL,CA1DK,EAAA,KAAA,EAAA,GAAA,EAAA,GA4DP,OA5DO,CAAA,GAAA,CAAA,IA6DR,CA7DQ,GA8DR,CA9DQ,UAAA,CAAA,GAAA,EA8DQ,CA9DR,EAAA,GA8Dc,OA9Dd,CAAA,GAAA,CAAA,IA+DN,CA/DM,GAAA,CAAA,GAAA,EAgEA,CAhEA,EAAA,KAAA,CAAA,EAAA,GAAA,EAAA,GAgEmB,OAhEnB,CAAA,GAAA,CAAA;AAAmB,KAmEnB,kBAnEmB,CAAA,UAAA,MAAA,EAAA,CAAA,CAAA,GAAA;EAAO,IAAA,EAoE9B,CApE8B;AAGtC,CAAA;AAIY,KAgEA,QAhEO,CAAA,CAAA,CAAA,GAgEO,CAhEP,SAgEiB,kBAhEjB,CAAA,MAAA,EAAA,KAAA,EAAA,CAAA,GAgEuD,CAhEvD,GAgE2D,CAhE3D;AAAM,KAkEb,sBAlEa,CAAA,CAAA,CAAA,GAmEvB,CAnEuB,SAmEb,kBAnEa,CAAA,MAAA,EAAA,OAAA,CAAA,GAoEnB,CApEmB,GAqEnB,kBArEmB,CAAA,MAAA,EAqEQ,CArER,CAAA"}
|
package/dist/duration.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
//#region src/duration.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Duration type. Note that fields are additive.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
type Duration = {
|
|
6
|
+
days?: number;
|
|
7
|
+
hours?: number;
|
|
8
|
+
minutes?: number;
|
|
9
|
+
seconds?: number;
|
|
10
|
+
milliseconds?: number;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
declare function millisOrDurationToMillis(duration: number | Duration): number;
|
|
13
|
+
declare function durationToMillis(duration: Duration): number;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { Duration, durationToMillis, millisOrDurationToMillis };
|
|
13
16
|
//# sourceMappingURL=duration.d.ts.map
|
package/dist/duration.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duration.d.ts","
|
|
1
|
+
{"version":3,"file":"duration.d.ts","names":[],"sources":["../src/duration.ts"],"sourcesContent":[],"mappings":";;AAcA;AAQA;AAQgB,KAhBJ,QAAA,GAgBoB;;;;;;;iBARhB,wBAAA,oBAA4C;iBAQ5C,gBAAA,WAA2B"}
|
package/dist/duration.js
CHANGED
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* which is released under the MIT license.
|
|
6
|
-
*
|
|
7
|
-
* You can find a copy of the license in file LICENSE in the root
|
|
8
|
-
* directory of this repository or package, or at
|
|
9
|
-
* https://github.com/restatedev/sdk-typescript/blob/main/LICENSE
|
|
10
|
-
*/
|
|
11
|
-
export function millisOrDurationToMillis(duration) {
|
|
12
|
-
if (typeof duration === "number") {
|
|
13
|
-
return Math.trunc(duration);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
return Math.trunc(durationToMillis(duration));
|
|
17
|
-
}
|
|
1
|
+
//#region src/duration.ts
|
|
2
|
+
function millisOrDurationToMillis(duration) {
|
|
3
|
+
if (typeof duration === "number") return Math.trunc(duration);
|
|
4
|
+
else return Math.trunc(durationToMillis(duration));
|
|
18
5
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
1000 * (duration.seconds ?? 0) +
|
|
22
|
-
1000 * 60 * (duration.minutes ?? 0) +
|
|
23
|
-
1000 * 60 * 60 * (duration.hours ?? 0) +
|
|
24
|
-
1000 * 60 * 60 * 24 * (duration.days ?? 0));
|
|
6
|
+
function durationToMillis(duration) {
|
|
7
|
+
return (duration.milliseconds ?? 0) + 1e3 * (duration.seconds ?? 0) + 1e3 * 60 * (duration.minutes ?? 0) + 1e3 * 60 * 60 * (duration.hours ?? 0) + 1e3 * 60 * 60 * 24 * (duration.days ?? 0);
|
|
25
8
|
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { durationToMillis, millisOrDurationToMillis };
|
|
26
12
|
//# sourceMappingURL=duration.js.map
|
package/dist/duration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duration.js","
|
|
1
|
+
{"version":3,"file":"duration.js","names":[],"sources":["../src/duration.ts"],"sourcesContent":["/*\n * Copyright (c) 2023-2025 - Restate Software, Inc., Restate GmbH\n *\n * This file is part of the Restate SDK for Node.js/TypeScript,\n * which is released under the MIT license.\n *\n * You can find a copy of the license in file LICENSE in the root\n * directory of this repository or package, or at\n * https://github.com/restatedev/sdk-typescript/blob/main/LICENSE\n */\n\n/**\n * Duration type. Note that fields are additive.\n */\nexport type Duration = {\n days?: number;\n hours?: number;\n minutes?: number;\n seconds?: number;\n milliseconds?: number;\n};\n\nexport function millisOrDurationToMillis(duration: number | Duration): number {\n if (typeof duration === \"number\") {\n return Math.trunc(duration);\n } else {\n return Math.trunc(durationToMillis(duration));\n }\n}\n\nexport function durationToMillis(duration: Duration): number {\n return (\n (duration.milliseconds ?? 0) +\n 1000 * (duration.seconds ?? 0) +\n 1000 * 60 * (duration.minutes ?? 0) +\n 1000 * 60 * 60 * (duration.hours ?? 0) +\n 1000 * 60 * 60 * 24 * (duration.days ?? 0)\n );\n}\n"],"mappings":";AAsBA,SAAgB,yBAAyB,UAAqC;AAC5E,KAAI,OAAO,aAAa,SACtB,QAAO,KAAK,MAAM,SAAS;KAE3B,QAAO,KAAK,MAAM,iBAAiB,SAAS,CAAC;;AAIjD,SAAgB,iBAAiB,UAA4B;AAC3D,SACG,SAAS,gBAAgB,KAC1B,OAAQ,SAAS,WAAW,KAC5B,MAAO,MAAM,SAAS,WAAW,KACjC,MAAO,KAAK,MAAM,SAAS,SAAS,KACpC,MAAO,KAAK,KAAK,MAAM,SAAS,QAAQ"}
|
package/dist/entry_codec.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/entry_codec.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Journal values codec.
|
|
3
4
|
*
|
|
@@ -12,24 +13,26 @@
|
|
|
12
13
|
*
|
|
13
14
|
* @experimental
|
|
14
15
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
16
|
+
type JournalValueCodec = {
|
|
17
|
+
/**
|
|
18
|
+
* Encodes the given buffer.
|
|
19
|
+
*
|
|
20
|
+
* This will be applied *after* serialization.
|
|
21
|
+
*
|
|
22
|
+
* @param buf The buffer to encode. Empty byte buffers should be appropriately handled as well.
|
|
23
|
+
* @returns The encoded buffer
|
|
24
|
+
*/
|
|
25
|
+
encode(buf: Uint8Array): Uint8Array;
|
|
26
|
+
/**
|
|
27
|
+
* Decodes the given buffer.
|
|
28
|
+
*
|
|
29
|
+
* This will be applied *before* deserialization.
|
|
30
|
+
*
|
|
31
|
+
* @param buf The buffer to decode.
|
|
32
|
+
* @returns A promise that resolves to the decoded buffer.
|
|
33
|
+
*/
|
|
34
|
+
decode(buf: Uint8Array): Promise<Uint8Array>;
|
|
34
35
|
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { JournalValueCodec };
|
|
35
38
|
//# sourceMappingURL=entry_codec.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry_codec.d.ts","
|
|
1
|
+
{"version":3,"file":"entry_codec.d.ts","names":[],"sources":["../src/entry_codec.ts"],"sourcesContent":[],"mappings":";;AAyBA;;;;;;;;;;;;;KAAY,iBAAA;;;;;;;;;cASE,aAAa;;;;;;;;;cAUb,aAAa,QAAQ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export type
|
|
8
|
-
export { iface, makeHandlerDescriptor } from "./interface.js";
|
|
9
|
-
export type { ServiceInterface, DescriptorOpts, HandlerDescriptor, Descriptor, ServiceDescriptor, ObjectDescriptor, WorkflowDescriptor, ImplementedServiceDefinition, ImplementedObjectDefinition, ImplementedWorkflowDefinition, ImplementedDefinition, InferInput, InferOutput, SerdeType, } from "./interface.js";
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
import { ArgType, HandlerReturnType, ObjectHandler, ObjectSharedHandler, RestateContext, RestateObjectContext, RestateObjectSharedContext, RestateWorkflowContext, RestateWorkflowSharedContext, Service, ServiceDefinition, ServiceDefinitionFrom, ServiceHandler, VirtualObject, VirtualObjectDefinition, VirtualObjectDefinitionFrom, Workflow, WorkflowDefinition, WorkflowDefinitionFrom, WorkflowHandler, WorkflowSharedHandler } from "./core.js";
|
|
2
|
+
import { StandardJSONSchemaV1, StandardSchemaV1, StandardTypedV1 } from "./standard_schema.js";
|
|
3
|
+
import { Serde, serde } from "./serde_api.js";
|
|
4
|
+
import { Duration, durationToMillis, millisOrDurationToMillis } from "./duration.js";
|
|
5
|
+
import { JournalValueCodec } from "./entry_codec.js";
|
|
6
|
+
import { Descriptor, DescriptorOpts, HandlerDescriptor, ImplementedDefinition, ImplementedObjectDefinition, ImplementedServiceDefinition, ImplementedWorkflowDefinition, InferInput, InferOutput, ObjectDescriptor, SerdeType, ServiceDescriptor, ServiceInterface, WorkflowDescriptor, iface, makeHandlerDescriptor } from "./interface.js";
|
|
7
|
+
export { type ArgType, type Descriptor, type DescriptorOpts, type Duration, type HandlerDescriptor, type HandlerReturnType, type ImplementedDefinition, type ImplementedObjectDefinition, type ImplementedServiceDefinition, type ImplementedWorkflowDefinition, type InferInput, type InferOutput, type JournalValueCodec, type ObjectDescriptor, type ObjectHandler, type ObjectSharedHandler, type RestateContext, type RestateObjectContext, type RestateObjectSharedContext, type RestateWorkflowContext, type RestateWorkflowSharedContext, type Serde, type SerdeType, type Service, type ServiceDefinition, type ServiceDefinitionFrom, type ServiceDescriptor, type ServiceHandler, type ServiceInterface, type StandardJSONSchemaV1, type StandardSchemaV1, type StandardTypedV1, type VirtualObject, type VirtualObjectDefinition, type VirtualObjectDefinitionFrom, type Workflow, type WorkflowDefinition, type WorkflowDefinitionFrom, type WorkflowDescriptor, type WorkflowHandler, type WorkflowSharedHandler, durationToMillis, iface, makeHandlerDescriptor, millisOrDurationToMillis, serde };
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
* You can find a copy of the license in file LICENSE in the root
|
|
8
|
-
* directory of this repository or package, or at
|
|
9
|
-
* https://github.com/restatedev/sdk-typescript/blob/main/LICENSE
|
|
10
|
-
*/
|
|
11
|
-
export { serde } from "./serde_api.js";
|
|
12
|
-
export { durationToMillis, millisOrDurationToMillis } from "./duration.js";
|
|
13
|
-
export { iface, makeHandlerDescriptor } from "./interface.js";
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { serde } from "./serde_api.js";
|
|
2
|
+
import { durationToMillis, millisOrDurationToMillis } from "./duration.js";
|
|
3
|
+
import { iface, makeHandlerDescriptor } from "./interface.js";
|
|
4
|
+
|
|
5
|
+
export { durationToMillis, iface, makeHandlerDescriptor, millisOrDurationToMillis, serde };
|
package/dist/interface.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ServiceDefinition, VirtualObjectDefinition, WorkflowDefinition } from "./core.js";
|
|
2
|
+
import { StandardSchemaV1 } from "./standard_schema.js";
|
|
3
|
+
import { Serde } from "./serde_api.js";
|
|
4
|
+
|
|
5
|
+
//#region src/interface.d.ts
|
|
6
|
+
|
|
4
7
|
/**
|
|
5
8
|
* Documentation and metadata that can be attached to a service/object/workflow
|
|
6
9
|
* contract or to a single handler declared with {@link iface}.
|
|
@@ -9,82 +12,82 @@ import type { ServiceDefinition, VirtualObjectDefinition, WorkflowDefinition } f
|
|
|
9
12
|
* contract is implemented (see `implement()`), and surface in the discovery manifest
|
|
10
13
|
* as `documentation` (from {@link description}) and `metadata`.
|
|
11
14
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
type DescriptorOpts = {
|
|
16
|
+
/**
|
|
17
|
+
* Human-readable description, shown in documentation/admin tools.
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Arbitrary key/value metadata, exposed via the Admin API.
|
|
22
|
+
*/
|
|
23
|
+
metadata?: Record<string, string>;
|
|
21
24
|
};
|
|
22
25
|
/**
|
|
23
26
|
* Minimal descriptor stored in {@link Descriptor}._handlers per handler.
|
|
24
27
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
type HandlerDescriptor<I$1 = any, O$1 = any, Shared extends boolean = boolean> = {
|
|
29
|
+
readonly _inputSerde?: Serde<I$1>;
|
|
30
|
+
readonly _outputSerde?: Serde<O$1>;
|
|
31
|
+
/** @internal virtual-object handler shared/exclusive marker (phantom + runtime) */
|
|
32
|
+
readonly _shared?: Shared;
|
|
33
|
+
/** @internal handler description declared on the contract */
|
|
34
|
+
readonly _description?: string;
|
|
35
|
+
/** @internal handler metadata declared on the contract */
|
|
36
|
+
readonly _metadata?: Record<string, string>;
|
|
34
37
|
};
|
|
35
|
-
|
|
38
|
+
declare function makeHandlerDescriptor<I$1, O$1, Shared extends boolean = false>(inputSerde?: Serde<I$1>, outputSerde?: Serde<O$1>, shared?: Shared, opts?: DescriptorOpts): HandlerDescriptor<I$1, O$1, Shared>;
|
|
36
39
|
/** Recover the input type declared by a {@link HandlerDescriptor}. */
|
|
37
|
-
|
|
40
|
+
type InferInput<D> = D extends HandlerDescriptor<infer I, any, any> ? I : any;
|
|
38
41
|
/** Recover the output type declared by a {@link HandlerDescriptor}. */
|
|
39
|
-
|
|
42
|
+
type InferOutput<D> = D extends HandlerDescriptor<any, infer O, any> ? O : any;
|
|
40
43
|
/** Recover the value type carried by a {@link Serde}. */
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
type SerdeType<S> = S extends Serde<infer T> ? T : never;
|
|
45
|
+
type Descriptor<P extends string = string, H extends Record<string, HandlerDescriptor> = Record<string, HandlerDescriptor>, Kind extends "service" | "object" | "workflow" = "service" | "object" | "workflow"> = {
|
|
46
|
+
readonly name: P;
|
|
47
|
+
readonly _kind: Kind;
|
|
48
|
+
readonly _handlers: H;
|
|
49
|
+
/** @internal service description declared on the contract */
|
|
50
|
+
readonly _description?: string;
|
|
51
|
+
/** @internal service metadata declared on the contract */
|
|
52
|
+
readonly _metadata?: Record<string, string>;
|
|
50
53
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
type ServiceDescriptor<P extends string = string, H extends Record<string, HandlerDescriptor> = Record<string, HandlerDescriptor>> = Descriptor<P, H, "service">;
|
|
55
|
+
type ObjectDescriptor<P extends string = string, H extends Record<string, HandlerDescriptor> = Record<string, HandlerDescriptor>> = Descriptor<P, H, "object">;
|
|
56
|
+
type WorkflowDescriptor<P extends string = string, H extends Record<string, HandlerDescriptor> = Record<string, HandlerDescriptor>> = Descriptor<P, H, "workflow">;
|
|
54
57
|
/** Implemented definition — a Descriptor that is also bindable to an endpoint. */
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
type ImplementedServiceDefinition<P extends string, H extends Record<string, HandlerDescriptor>> = ServiceDefinition<P, any> & ServiceDescriptor<P, H>;
|
|
59
|
+
type ImplementedObjectDefinition<P extends string, H extends Record<string, HandlerDescriptor>> = VirtualObjectDefinition<P, any> & ObjectDescriptor<P, H>;
|
|
60
|
+
type ImplementedWorkflowDefinition<P extends string, H extends Record<string, HandlerDescriptor>> = WorkflowDefinition<P, any> & WorkflowDescriptor<P, H>;
|
|
61
|
+
type ImplementedDefinition<P extends string, H extends Record<string, HandlerDescriptor>, Kind extends "service" | "object" | "workflow"> = Kind extends "service" ? ImplementedServiceDefinition<P, H> : Kind extends "object" ? ImplementedObjectDefinition<P, H> : ImplementedWorkflowDefinition<P, H>;
|
|
59
62
|
/** The shape of the {@link iface} service-interface declaration API. */
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
interface ServiceInterface {
|
|
64
|
+
service<P extends string, H extends Record<string, HandlerDescriptor>>(name: P, handlers: H, opts?: DescriptorOpts): ServiceDescriptor<P, H>;
|
|
65
|
+
object<P extends string, H extends Record<string, HandlerDescriptor>>(name: P, handlers: H, opts?: DescriptorOpts): ObjectDescriptor<P, H>;
|
|
66
|
+
workflow<P extends string, H extends Record<string, HandlerDescriptor>>(name: P, handlers: H, opts?: DescriptorOpts): WorkflowDescriptor<P, H>;
|
|
67
|
+
/** `json<I, O>()` — type params, default JSON serde. */
|
|
68
|
+
json<I$1 = void, O$1 = void>(opts?: DescriptorOpts): HandlerDescriptor<I$1, O$1, false>;
|
|
69
|
+
/** `serdes({ input, output })` — explicit Serde per direction. */
|
|
70
|
+
serdes<SI extends Serde<any>, SO extends Serde<any>>(opts: {
|
|
71
|
+
input?: SI;
|
|
72
|
+
output?: SO;
|
|
73
|
+
} & DescriptorOpts): HandlerDescriptor<SerdeType<SI>, SerdeType<SO>, false>;
|
|
74
|
+
/** `schemas({ input, output })` — Standard Schema per direction. */
|
|
75
|
+
schemas<SI extends StandardSchemaV1<any>, SO extends StandardSchemaV1<any>>(opts: {
|
|
76
|
+
input?: SI;
|
|
77
|
+
output?: SO;
|
|
78
|
+
} & DescriptorOpts): HandlerDescriptor<StandardSchemaV1.InferOutput<NonNullable<SI>>, StandardSchemaV1.InferOutput<NonNullable<SO>>, false>;
|
|
79
|
+
/** Shared (read-only) virtual-object / non-`run` workflow handler declarators. */
|
|
80
|
+
shared: {
|
|
81
|
+
json<I$1 = void, O$1 = void>(opts?: DescriptorOpts): HandlerDescriptor<I$1, O$1, true>;
|
|
67
82
|
serdes<SI extends Serde<any>, SO extends Serde<any>>(opts: {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} & DescriptorOpts): HandlerDescriptor<SerdeType<SI>, SerdeType<SO>,
|
|
71
|
-
/** `schemas({ input, output })` — Standard Schema per direction. */
|
|
83
|
+
input?: SI;
|
|
84
|
+
output?: SO;
|
|
85
|
+
} & DescriptorOpts): HandlerDescriptor<SerdeType<SI>, SerdeType<SO>, true>;
|
|
72
86
|
schemas<SI extends StandardSchemaV1<any>, SO extends StandardSchemaV1<any>>(opts: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} & DescriptorOpts): HandlerDescriptor<StandardSchemaV1.InferOutput<NonNullable<SI>>, StandardSchemaV1.InferOutput<NonNullable<SO>>,
|
|
76
|
-
|
|
77
|
-
shared: {
|
|
78
|
-
json<I = void, O = void>(opts?: DescriptorOpts): HandlerDescriptor<I, O, true>;
|
|
79
|
-
serdes<SI extends Serde<any>, SO extends Serde<any>>(opts: {
|
|
80
|
-
input?: SI;
|
|
81
|
-
output?: SO;
|
|
82
|
-
} & DescriptorOpts): HandlerDescriptor<SerdeType<SI>, SerdeType<SO>, true>;
|
|
83
|
-
schemas<SI extends StandardSchemaV1<any>, SO extends StandardSchemaV1<any>>(opts: {
|
|
84
|
-
input?: SI;
|
|
85
|
-
output?: SO;
|
|
86
|
-
} & DescriptorOpts): HandlerDescriptor<StandardSchemaV1.InferOutput<NonNullable<SI>>, StandardSchemaV1.InferOutput<NonNullable<SO>>, true>;
|
|
87
|
-
};
|
|
87
|
+
input?: SI;
|
|
88
|
+
output?: SO;
|
|
89
|
+
} & DescriptorOpts): HandlerDescriptor<StandardSchemaV1.InferOutput<NonNullable<SI>>, StandardSchemaV1.InferOutput<NonNullable<SO>>, true>;
|
|
90
|
+
};
|
|
88
91
|
}
|
|
89
92
|
/**
|
|
90
93
|
* Declare a service interface (contract) as a runtime value carrying handler
|
|
@@ -100,5 +103,7 @@ export interface ServiceInterface {
|
|
|
100
103
|
* });
|
|
101
104
|
* ```
|
|
102
105
|
*/
|
|
103
|
-
|
|
106
|
+
declare const iface: ServiceInterface;
|
|
107
|
+
//#endregion
|
|
108
|
+
export { Descriptor, DescriptorOpts, HandlerDescriptor, ImplementedDefinition, ImplementedObjectDefinition, ImplementedServiceDefinition, ImplementedWorkflowDefinition, InferInput, InferOutput, ObjectDescriptor, SerdeType, ServiceDescriptor, ServiceInterface, WorkflowDescriptor, iface, makeHandlerDescriptor };
|
|
104
109
|
//# sourceMappingURL=interface.d.ts.map
|
package/dist/interface.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","
|
|
1
|
+
{"version":3,"file":"interface.d.ts","names":[],"sources":["../src/interface.ts"],"sourcesContent":[],"mappings":";;;;;;;;AA6BA;AAcA;;;;;AAQqB,KAtBT,cAAA,GAsBS;EAIE;;AAGvB;EACqB,WAAA,CAAA,EAAA,MAAA;EAAN;;;EAEJ,QAAA,CAAA,EAxBE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