@spine-event-engine/server 2.0.0-snapshot.16 → 2.0.0-snapshot.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/README.md +17 -3
- package/REFERENCE.md +66 -12
- package/dist/context/bounded-context.d.ts +72 -14
- package/dist/context/bounded-context.d.ts.map +1 -1
- package/dist/context/bounded-context.js +130 -49
- package/dist/context/bounded-context.js.map +1 -1
- package/dist/context/effective-tenant.d.ts +9 -0
- package/dist/context/effective-tenant.d.ts.map +1 -0
- package/dist/context/effective-tenant.js +58 -0
- package/dist/context/effective-tenant.js.map +1 -0
- package/dist/context/tenant-index.d.ts.map +1 -1
- package/dist/context/tenant-index.js +70 -1
- package/dist/context/tenant-index.js.map +1 -1
- package/dist/delivery/delivery.d.ts.map +1 -1
- package/dist/delivery/delivery.js +270 -26
- package/dist/delivery/delivery.js.map +1 -1
- package/dist/delivery/inbox-storage.d.ts +7 -0
- package/dist/delivery/inbox-storage.d.ts.map +1 -1
- package/dist/delivery/inbox-storage.js +110 -0
- package/dist/delivery/inbox-storage.js.map +1 -1
- package/dist/entity/entity-metadata.d.ts +2 -2
- package/dist/entity/entity-metadata.js +2 -2
- package/dist/entity/entity-metadata.js.map +1 -1
- package/dist/entity/entity-storage-descriptor.d.ts +24 -4
- package/dist/entity/entity-storage-descriptor.d.ts.map +1 -1
- package/dist/entity/entity-storage-descriptor.js +69 -23
- package/dist/entity/entity-storage-descriptor.js.map +1 -1
- package/dist/entity/entity.d.ts +19 -18
- package/dist/entity/entity.d.ts.map +1 -1
- package/dist/entity/entity.js +61 -24
- package/dist/entity/entity.js.map +1 -1
- package/dist/entity/spec-scanner.d.ts +13 -1
- package/dist/entity/spec-scanner.d.ts.map +1 -1
- package/dist/entity/spec-scanner.js +20 -3
- package/dist/entity/spec-scanner.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/repository/command-routing.d.ts +63 -10
- package/dist/repository/command-routing.d.ts.map +1 -1
- package/dist/repository/command-routing.js +41 -8
- package/dist/repository/command-routing.js.map +1 -1
- package/dist/repository/event-routing.d.ts +64 -9
- package/dist/repository/event-routing.d.ts.map +1 -1
- package/dist/repository/event-routing.js +42 -7
- package/dist/repository/event-routing.js.map +1 -1
- package/dist/repository/repository.d.ts +96 -10
- package/dist/repository/repository.d.ts.map +1 -1
- package/dist/repository/repository.js +437 -133
- package/dist/repository/repository.js.map +1 -1
- package/dist/repository/state-update-routing.d.ts +67 -8
- package/dist/repository/state-update-routing.d.ts.map +1 -1
- package/dist/repository/state-update-routing.js +45 -6
- package/dist/repository/state-update-routing.js.map +1 -1
- package/dist/server/server.d.ts.map +1 -1
- package/dist/server/server.js +407 -109
- package/dist/server/server.js.map +1 -1
- package/dist/services/registered-targets.d.ts +73 -0
- package/dist/services/registered-targets.d.ts.map +1 -0
- package/dist/services/registered-targets.js +127 -0
- package/dist/services/registered-targets.js.map +1 -0
- package/dist/services/spine-services.d.ts +26 -12
- package/dist/services/spine-services.d.ts.map +1 -1
- package/dist/services/spine-services.js +1044 -962
- package/dist/services/spine-services.js.map +1 -1
- package/dist/stand/stand.d.ts +73 -1
- package/dist/stand/stand.d.ts.map +1 -1
- package/dist/stand/stand.js +220 -48
- package/dist/stand/stand.js.map +1 -1
- package/dist/stand/subscription-observer.d.ts.map +1 -1
- package/dist/stand/subscription-observer.js +4 -11
- package/dist/stand/subscription-observer.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { MessageShape } from "@bufbuild/protobuf";
|
|
2
2
|
import { type MessageInterface, type MessageSchema } from "@spine-event-engine/core";
|
|
3
3
|
import type { EventContext } from "@spine-event-engine/proto";
|
|
4
|
+
import type { RepositoryEntityType, RepositoryReadQueries, RepositoryEntityId } from "./repository.js";
|
|
4
5
|
import { type InterfaceRouteSchemas, type InterfaceRouteMessage, type RoutingDeclarationSnapshot, type RoutingDeclarationState } from "./routing-declarations.js";
|
|
5
6
|
/**
|
|
6
7
|
* Calculates target Entity IDs for one accepted Entity state update.
|
|
@@ -10,48 +11,83 @@ import { type InterfaceRouteSchemas, type InterfaceRouteMessage, type RoutingDec
|
|
|
10
11
|
*
|
|
11
12
|
* @typeParam Id Entity ID type used by the receiving Projection repository.
|
|
12
13
|
* @typeParam Schema Generated Entity state message schema.
|
|
14
|
+
* @typeParam EntityType Registered Projection class for repository reads.
|
|
13
15
|
* @param state Unpacked new Entity state.
|
|
14
16
|
* @param context Normalized System Event context.
|
|
15
|
-
* @
|
|
17
|
+
* @param repository Invocation-scoped read-only access to the receiving repository.
|
|
18
|
+
* @returns All target Projection IDs. The framework validates,
|
|
16
19
|
* copies, stable-deduplicates, and freezes accepted IDs. An empty array means
|
|
17
20
|
* that this update is not delivered to this repository.
|
|
18
21
|
*/
|
|
19
|
-
export type StateUpdateRoute<Id, Schema extends MessageSchema = MessageSchema> = (state: MessageShape<Schema>, context: EventContext) => readonly Id[]
|
|
22
|
+
export type StateUpdateRoute<Id, Schema extends MessageSchema = MessageSchema, EntityType extends RepositoryEntityType = RepositoryEntityType> = (state: MessageShape<Schema>, context: EventContext, repository: RepositoryReadQueries<EntityType>) => readonly Id[] | Promise<readonly Id[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Stores mutable state-update declarations before repository construction.
|
|
25
|
+
*
|
|
26
|
+
* @typeParam Id Target Projection ID type.
|
|
27
|
+
*/
|
|
20
28
|
type State<Id> = RoutingDeclarationState<StateUpdateRoute<Id>>;
|
|
21
29
|
/**
|
|
22
30
|
* Mutable Entity-state route declarations snapshotted by repository construction.
|
|
31
|
+
*
|
|
32
|
+
* @typeParam Id Projection ID type.
|
|
33
|
+
* @typeParam EntityType Registered Projection class for repository reads.
|
|
23
34
|
*/
|
|
24
|
-
export declare class StateUpdateRouting<Id> {
|
|
35
|
+
export declare class StateUpdateRouting<Id, EntityType extends RepositoryEntityType = RepositoryEntityType> {
|
|
36
|
+
/**
|
|
37
|
+
* Records the selected Entity class in emitted declarations so a different
|
|
38
|
+
* repository class fails type checking. This adds no runtime field.
|
|
39
|
+
*
|
|
40
|
+
* @param entity Entity class type checked at assignment.
|
|
41
|
+
* @returns The same Entity class type for the assignment check.
|
|
42
|
+
*/
|
|
43
|
+
protected readonly entityClassType: (entity: EntityType) => EntityType;
|
|
44
|
+
/**
|
|
45
|
+
* Creates empty mutable state-update declarations.
|
|
46
|
+
*
|
|
47
|
+
* @param entityType Application Projection constructor, when class-aware.
|
|
48
|
+
*/
|
|
25
49
|
private constructor();
|
|
26
50
|
/**
|
|
27
51
|
* Creates empty Entity-state route declarations.
|
|
28
52
|
*
|
|
53
|
+
* @typeParam EntityType Registered Projection class inferred from the supplied constructor.
|
|
54
|
+
* @param entityType Application Projection constructor for typed repository reads.
|
|
29
55
|
* @returns Mutable declarations for one repository.
|
|
30
56
|
*/
|
|
57
|
+
static create<EntityType extends RepositoryEntityType>(entityType: EntityType): StateUpdateRouting<RepositoryEntityId<EntityType>, EntityType>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates ID-only state-update declarations.
|
|
60
|
+
*
|
|
61
|
+
* @typeParam Id Target Projection ID type.
|
|
62
|
+
* @returns Mutable route declarations.
|
|
63
|
+
*/
|
|
31
64
|
static create<Id>(): StateUpdateRouting<Id>;
|
|
32
65
|
/**
|
|
33
66
|
* Registers a route for one exact generated Entity-state schema.
|
|
34
67
|
*
|
|
68
|
+
* @typeParam Schema Generated Entity-state schema.
|
|
35
69
|
* @param schemaOrToken Generated Entity-state schema.
|
|
36
70
|
* @param via Route that calculates target Projection IDs.
|
|
37
71
|
* @returns These mutable declarations.
|
|
38
72
|
*/
|
|
39
|
-
route<Schema extends MessageSchema>(schemaOrToken: Schema, via: StateUpdateRoute<Id, Schema>): this;
|
|
73
|
+
route<Schema extends MessageSchema>(schemaOrToken: Schema, via: StateUpdateRoute<Id, Schema, EntityType>): this;
|
|
40
74
|
/**
|
|
41
75
|
* Registers a route for a nominal Entity-state message-interface token.
|
|
42
76
|
*
|
|
77
|
+
* @typeParam TInterface Declared state interface.
|
|
78
|
+
* @typeParam Schemas Schemas implementing the interface.
|
|
43
79
|
* @param schemaOrToken Generated Entity-state message-interface token.
|
|
44
80
|
* @param via Route that calculates target Projection IDs.
|
|
45
81
|
* @returns These mutable declarations.
|
|
46
82
|
*/
|
|
47
|
-
route<TInterface extends object, Schemas extends InterfaceRouteSchemas>(schemaOrToken: MessageInterface<TInterface, Schemas>, via: (message: InterfaceRouteMessage<TInterface, Schemas>, context: EventContext) => readonly Id[]): this;
|
|
83
|
+
route<TInterface extends object, Schemas extends InterfaceRouteSchemas>(schemaOrToken: MessageInterface<TInterface, Schemas>, via: (message: InterfaceRouteMessage<TInterface, Schemas>, context: EventContext, repository: RepositoryReadQueries<EntityType>) => readonly Id[] | Promise<readonly Id[]>): this;
|
|
48
84
|
/**
|
|
49
85
|
* Replaces the first-compatible-field default state route.
|
|
50
86
|
*
|
|
51
87
|
* @param via Replacement route function.
|
|
52
88
|
* @returns These mutable declarations.
|
|
53
89
|
*/
|
|
54
|
-
replaceDefault(via: StateUpdateRoute<Id>): this;
|
|
90
|
+
replaceDefault(via: StateUpdateRoute<Id, MessageSchema, EntityType>): this;
|
|
55
91
|
}
|
|
56
92
|
/**
|
|
57
93
|
* Internal access to state-routing declaration state.
|
|
@@ -59,8 +95,31 @@ export declare class StateUpdateRouting<Id> {
|
|
|
59
95
|
* @internal Repository construction support.
|
|
60
96
|
*/
|
|
61
97
|
export declare const StateUpdateRoutingInternals: Readonly<{
|
|
62
|
-
|
|
63
|
-
|
|
98
|
+
/**
|
|
99
|
+
* Returns the Entity constructor selected for class-aware declarations, if any.
|
|
100
|
+
*
|
|
101
|
+
* @param routing Route declarations, when configured.
|
|
102
|
+
* @returns Selected Entity constructor, if any.
|
|
103
|
+
*/
|
|
104
|
+
entityType(routing: object | undefined): RepositoryEntityType | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Finds mutable state-update declaration state.
|
|
107
|
+
*
|
|
108
|
+
* @typeParam Id Target Projection ID type.
|
|
109
|
+
* @typeParam EntityType Selected application Projection class.
|
|
110
|
+
* @param routing Route declarations.
|
|
111
|
+
* @returns Mutable declaration state.
|
|
112
|
+
*/
|
|
113
|
+
state<Id, EntityType extends RepositoryEntityType>(routing: StateUpdateRouting<Id, EntityType>): State<Id>;
|
|
114
|
+
/**
|
|
115
|
+
* Copies declarations for repository construction.
|
|
116
|
+
*
|
|
117
|
+
* @typeParam Id Target Projection ID type.
|
|
118
|
+
* @typeParam EntityType Selected application Projection class.
|
|
119
|
+
* @param routing Route declarations, when configured.
|
|
120
|
+
* @returns Immutable declaration snapshot.
|
|
121
|
+
*/
|
|
122
|
+
snapshot<Id, EntityType extends RepositoryEntityType>(routing: StateUpdateRouting<Id, EntityType> | StateUpdateRouting<Id> | undefined): RoutingDeclarationSnapshot<StateUpdateRoute<Id>>;
|
|
64
123
|
}>;
|
|
65
124
|
export {};
|
|
66
125
|
//# sourceMappingURL=state-update-routing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state-update-routing.d.ts","sourceRoot":"","sources":["../../src/repository/state-update-routing.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC7B,MAAM,2BAA2B,CAAC;AAEnC
|
|
1
|
+
{"version":3,"file":"state-update-routing.d.ts","sourceRoot":"","sources":["../../src/repository/state-update-routing.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,M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"}
|
|
@@ -14,20 +14,34 @@
|
|
|
14
14
|
import {} from "@spine-event-engine/core";
|
|
15
15
|
import { RoutingDeclarations, } from "./routing-declarations.js";
|
|
16
16
|
const states = new WeakMap();
|
|
17
|
+
const routingEntityTypes = new WeakMap();
|
|
17
18
|
/**
|
|
18
19
|
* Mutable Entity-state route declarations snapshotted by repository construction.
|
|
20
|
+
*
|
|
21
|
+
* @typeParam Id Projection ID type.
|
|
22
|
+
* @typeParam EntityType Registered Projection class for repository reads.
|
|
19
23
|
*/
|
|
20
24
|
export class StateUpdateRouting {
|
|
21
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Creates empty mutable state-update declarations.
|
|
27
|
+
*
|
|
28
|
+
* @param entityType Application Projection constructor, when class-aware.
|
|
29
|
+
*/
|
|
30
|
+
constructor(entityType) {
|
|
22
31
|
states.set(this, RoutingDeclarations.create());
|
|
32
|
+
if (entityType !== undefined)
|
|
33
|
+
routingEntityTypes.set(this, entityType);
|
|
23
34
|
}
|
|
24
35
|
/**
|
|
25
|
-
* Creates
|
|
36
|
+
* Creates mutable state-update declarations for either factory overload.
|
|
26
37
|
*
|
|
27
|
-
* @
|
|
38
|
+
* @typeParam Id Target Projection ID type.
|
|
39
|
+
* @typeParam EntityType Selected application Projection class.
|
|
40
|
+
* @param entityType Application Projection constructor, when class-aware.
|
|
41
|
+
* @returns Mutable route declarations.
|
|
28
42
|
*/
|
|
29
|
-
static create() {
|
|
30
|
-
return new StateUpdateRouting();
|
|
43
|
+
static create(entityType) {
|
|
44
|
+
return new StateUpdateRouting(entityType);
|
|
31
45
|
}
|
|
32
46
|
/**
|
|
33
47
|
* Registers an exact generated Entity-state schema route or a nominal message-interface route.
|
|
@@ -78,14 +92,39 @@ export class StateUpdateRouting {
|
|
|
78
92
|
* @internal Repository construction support.
|
|
79
93
|
*/
|
|
80
94
|
export const StateUpdateRoutingInternals = Object.freeze({
|
|
95
|
+
/**
|
|
96
|
+
* Returns the Entity constructor selected for class-aware declarations, if any.
|
|
97
|
+
*
|
|
98
|
+
* @param routing Route declarations, when configured.
|
|
99
|
+
* @returns Selected Entity constructor, if any.
|
|
100
|
+
*/
|
|
101
|
+
entityType(routing) {
|
|
102
|
+
return routing === undefined ? undefined : routingEntityTypes.get(routing);
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* Finds mutable state-update declaration state.
|
|
106
|
+
*
|
|
107
|
+
* @typeParam Id Target Projection ID type.
|
|
108
|
+
* @typeParam EntityType Selected application Projection class.
|
|
109
|
+
* @param routing Route declarations.
|
|
110
|
+
* @returns Mutable declaration state.
|
|
111
|
+
*/
|
|
81
112
|
state(routing) {
|
|
82
113
|
return states.get(routing);
|
|
83
114
|
},
|
|
115
|
+
/**
|
|
116
|
+
* Copies declarations for repository construction.
|
|
117
|
+
*
|
|
118
|
+
* @typeParam Id Target Projection ID type.
|
|
119
|
+
* @typeParam EntityType Selected application Projection class.
|
|
120
|
+
* @param routing Route declarations, when configured.
|
|
121
|
+
* @returns Immutable declaration snapshot.
|
|
122
|
+
*/
|
|
84
123
|
snapshot(routing) {
|
|
85
124
|
if (routing === undefined) {
|
|
86
125
|
return RoutingDeclarations.snapshot(RoutingDeclarations.create());
|
|
87
126
|
}
|
|
88
|
-
return RoutingDeclarations.snapshot(
|
|
127
|
+
return RoutingDeclarations.snapshot(states.get(routing));
|
|
89
128
|
},
|
|
90
129
|
});
|
|
91
130
|
//# sourceMappingURL=state-update-routing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state-update-routing.js","sourceRoot":"","sources":["../../src/repository/state-update-routing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAA6C,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"state-update-routing.js","sourceRoot":"","sources":["../../src/repository/state-update-routing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAA6C,MAAM,0BAA0B,CAAC;AAOrF,OAA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BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QAC1E,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAgCnC,MAAM,CAAC,MAAM,CAAC;IACjB;;;;;OAKG;IACH,UAAU,CAAC,OAA2B;QACpC,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CACH,OAA2C;QAE3C,OAAO,MAAM,CAAC,GAAG,CAAC,OAAO,CAAc,CAAC;IAC1C,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CACN,OAAgF;QAEhF,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,mBAAmB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,MAAM,EAAwB,CAAC,CAAC;QAC1F,CAAC;QACD,OAAO,mBAAmB,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAc,CAAC,CAAC;IACxE,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server/server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server/server.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,cAAc,EACd,qBAAqB,EAEtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAEnF,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AAoBvC;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAGhC;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC;IAEjB;;;;OAIG;IACH,KAAK,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