@spine-event-engine/core 2.0.0-snapshot.15 → 2.0.0-snapshot.18
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 +22 -8
- package/REFERENCE.md +11 -0
- package/dist/codegen/index.d.ts +4 -0
- package/dist/codegen/index.d.ts.map +1 -1
- package/dist/codegen/index.js +2 -0
- package/dist/codegen/index.js.map +1 -1
- package/dist/index.d.ts +80 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +306 -3
- package/dist/index.js.map +1 -1
- package/dist/query/entity-query.d.ts +144 -17
- package/dist/query/entity-query.d.ts.map +1 -1
- package/dist/query/entity-query.js +368 -27
- package/dist/query/entity-query.js.map +1 -1
- package/dist/query/generated-entity-query.d.ts +197 -0
- package/dist/query/generated-entity-query.d.ts.map +1 -0
- package/dist/query/generated-entity-query.js +202 -0
- package/dist/query/generated-entity-query.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -140,18 +140,32 @@ also call `setTypeRegistry()` with the application's generated `TypeRegistry`.
|
|
|
140
140
|
|
|
141
141
|
## Query Projection state
|
|
142
142
|
|
|
143
|
-
`
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
Normal `spine-proto generate` emits a `_query.ts` companion for eligible Aggregate, Projection,
|
|
144
|
+
and Process Manager states. For example, Todo can import its generated `TaskListQuery` and build
|
|
145
|
+
a context-free query:
|
|
146
|
+
|
|
147
|
+
<!-- docs-snippet-path: examples/todo/src/index.ts -->
|
|
146
148
|
|
|
147
149
|
```ts
|
|
148
|
-
import {
|
|
149
|
-
|
|
150
|
+
import { TaskListQuery } from "../generated/spine/examples/todo/task_list_query.js";
|
|
151
|
+
|
|
152
|
+
// Find nonempty lists, starting with the most open tasks.
|
|
153
|
+
const query = TaskListQuery.create()
|
|
154
|
+
.openTaskCount()
|
|
155
|
+
.isAtLeast(1)
|
|
156
|
+
.orderBy("openTaskCount", "desc")
|
|
157
|
+
.limit(10)
|
|
158
|
+
.build();
|
|
150
159
|
```
|
|
151
160
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
161
|
+
The companion registers its descriptor-backed columns when imported. Successive comparisons use
|
|
162
|
+
AND; `either(...)` accepts synchronous condition-only callbacks for OR branches. Apply IDs,
|
|
163
|
+
ordering, limits, and `build()` to the outer query. `byId(...)` uses the first state field.
|
|
164
|
+
`limit()` requires `orderBy()` and accepts a positive integer.
|
|
165
|
+
Ordered columns also expose `isGreaterThan`, `isAtLeast`, `isLessThan`, and `isAtMost`.
|
|
166
|
+
Every build captures a detached value;
|
|
167
|
+
the client or Process Manager supplies actor and tenant context when it executes the query.
|
|
168
|
+
`EntityQuery` remains available for callers using the existing schema-and-columns builder.
|
|
155
169
|
|
|
156
170
|
## 🚫 Throw a generated domain rejection
|
|
157
171
|
|
package/REFERENCE.md
CHANGED
|
@@ -24,6 +24,17 @@ from the root: generated model code imports it from
|
|
|
24
24
|
`@spine-event-engine/core/codegen`. `@spine-event-engine/client-node` retains
|
|
25
25
|
its compatibility exports and its `/codegen` forwarding entry point.
|
|
26
26
|
|
|
27
|
+
Normal Proto generation emits `_query.ts` companions for eligible Entity states, including nested
|
|
28
|
+
states. Their exported `StateQuery.create()` methods expose marked columns and the `version`,
|
|
29
|
+
`archived`, and `deleted` system columns. `build()` returns an independent query description with
|
|
30
|
+
no actor or tenant context; it can be reused by a Process Manager, browser client, or subscription.
|
|
31
|
+
Successive comparisons form a conjunction, and `either(...)` combines synchronous condition-only
|
|
32
|
+
callback branches as a disjunction. Apply IDs, ordering, limits, and build to the outer query.
|
|
33
|
+
Generated field methods that conflict with `build`, `either`, `byId`, `orderBy`,
|
|
34
|
+
`limit`, `create`, `constructor`, or JavaScript object methods receive a `Column` suffix; a
|
|
35
|
+
numeric suffix resolves a further collision. Nested query exports join message names with `_`.
|
|
36
|
+
The first declared state field supplies the ID type even when its name is not `id`.
|
|
37
|
+
|
|
27
38
|
## Subscription lifecycle SPI
|
|
28
39
|
|
|
29
40
|
Framework integrations that coordinate subscription activation import
|
package/dist/codegen/index.d.ts
CHANGED
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
* Generated-code-only Entity column declaration helpers.
|
|
3
3
|
*/
|
|
4
4
|
export { GeneratedEntityColumns } from "../entity/entity-column.js";
|
|
5
|
+
export { GeneratedEntityQueries } from "../query/generated-entity-query.js";
|
|
6
|
+
export { EntityQueryDescription } from "../query/entity-query.js";
|
|
7
|
+
export type { EntityQueryDraft } from "../query/entity-query.js";
|
|
8
|
+
export type { GeneratedQueryBuilder } from "../query/generated-entity-query.js";
|
|
5
9
|
export type { EntityColumnDefinition, EntityColumnDefinitionEntry, } from "../entity/entity-column.js";
|
|
6
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/codegen/index.ts"],"names":[],"mappings":"AAcA;;GAEG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,YAAY,EACV,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/codegen/index.ts"],"names":[],"mappings":"AAcA;;GAEG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,YAAY,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,YAAY,EACV,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,4BAA4B,CAAC"}
|
package/dist/codegen/index.js
CHANGED
|
@@ -15,4 +15,6 @@
|
|
|
15
15
|
* Generated-code-only Entity column declaration helpers.
|
|
16
16
|
*/
|
|
17
17
|
export { GeneratedEntityColumns } from "../entity/entity-column.js";
|
|
18
|
+
export { GeneratedEntityQueries } from "../query/generated-entity-query.js";
|
|
19
|
+
export { EntityQueryDescription } from "../query/entity-query.js";
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/codegen/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;GAEG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/codegen/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;GAEG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codeg
|
|
|
3
3
|
import { type Any, type FileOptions } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
import { type Command, type CommandContext, type Event, type EventContext, type ConstraintViolation, type ProtoModule, type ValidationError } from "@spine-event-engine/proto";
|
|
5
5
|
export { EntityColumn, type EntityColumnDefinition, type EntityColumnDefinitionEntry, type EntityColumnOperator, type EntityColumnValue, type EntityColumnValueKind, type EntityColumns, type EntityComparison, type EntityEqualityOperator, type EntityOrderingOperator, } from "./entity/entity-column.js";
|
|
6
|
-
export { EntityQuery, EntityQueryBuilder, type EntityComparisonPredicate, type EntityGroup, type
|
|
6
|
+
export { EntityQuery, EntityQueryBuilder, type EntityComparisonPredicate, type EntityGroup, type EntityQueryIdentifier, type EntityQueryPredicateFor, type EntityPredicate, } from "./query/entity-query.js";
|
|
7
7
|
/**
|
|
8
8
|
* Standard Protobuf `Any` prefix used when a file has no Spine type URL option.
|
|
9
9
|
*/
|
|
@@ -13,6 +13,11 @@ export declare const DEFAULT_TYPE_URL_PREFIX = "type.googleapis.com";
|
|
|
13
13
|
*/
|
|
14
14
|
export type MessageSchema = GenMessage<Message>;
|
|
15
15
|
type InterfaceSchemas = readonly [MessageSchema, ...MessageSchema[]];
|
|
16
|
+
/**
|
|
17
|
+
* Extracts a member message shape from an interface schema tuple.
|
|
18
|
+
*
|
|
19
|
+
* @typeParam Schemas Nonempty tuple of member message schemas.
|
|
20
|
+
*/
|
|
16
21
|
type InterfaceMember<Schemas extends InterfaceSchemas> = MessageShape<Schemas[number]>;
|
|
17
22
|
declare const MESSAGE_INTERFACE_BRAND: unique symbol;
|
|
18
23
|
/**
|
|
@@ -39,7 +44,15 @@ export interface MessageInterface<TInterface extends object, Schemas extends Int
|
|
|
39
44
|
* Creates and validates nominal generated message-interface tokens.
|
|
40
45
|
*/
|
|
41
46
|
export declare const MessageInterfaces: Readonly<{
|
|
42
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Defines a nominal interface token from its member schemas.
|
|
49
|
+
*
|
|
50
|
+
* @typeParam TInterface Shape shared by member messages.
|
|
51
|
+
* @typeParam Schemas Nonempty tuple of generated member schemas.
|
|
52
|
+
* @param schemas Member schemas accepted by the interface shape.
|
|
53
|
+
* @returns Immutable nominal interface token.
|
|
54
|
+
*/
|
|
55
|
+
define<TInterface extends object, const Schemas extends InterfaceSchemas>(schemas: InterfaceMember<Schemas> extends TInterface ? Schemas : never): MessageInterface<TInterface, Schemas>;
|
|
43
56
|
readonly is: (value: unknown) => value is MessageInterface<object, InterfaceSchemas>;
|
|
44
57
|
}>;
|
|
45
58
|
/**
|
|
@@ -74,6 +87,8 @@ export type MessageValidationResult = {
|
|
|
74
87
|
};
|
|
75
88
|
/**
|
|
76
89
|
* Framework-owned state transition validation request.
|
|
90
|
+
*
|
|
91
|
+
* @typeParam Schema Generated schema shared by both state values.
|
|
77
92
|
*/
|
|
78
93
|
export interface TransitionValidationRequest<Schema extends MessageSchema = MessageSchema> {
|
|
79
94
|
/**
|
|
@@ -91,6 +106,8 @@ export interface TransitionValidationRequest<Schema extends MessageSchema = Mess
|
|
|
91
106
|
}
|
|
92
107
|
/**
|
|
93
108
|
* Rule adapter for stateful validation such as Spine `(set_once)`.
|
|
109
|
+
*
|
|
110
|
+
* @typeParam Schema Generated schema of the transition states.
|
|
94
111
|
*/
|
|
95
112
|
export interface TransitionValidationRule<Schema extends MessageSchema = MessageSchema> {
|
|
96
113
|
/**
|
|
@@ -126,10 +143,28 @@ export declare class ValidationException extends Error {
|
|
|
126
143
|
}
|
|
127
144
|
/**
|
|
128
145
|
* A nominal domain rejection carrying its generated Protobuf message.
|
|
146
|
+
*
|
|
147
|
+
* @typeParam Schema Generated schema of the rejection message.
|
|
129
148
|
*/
|
|
130
149
|
export declare class RejectionThrowable<Schema extends MessageSchema = MessageSchema> extends Error {
|
|
131
150
|
#private;
|
|
151
|
+
/**
|
|
152
|
+
* Captures a validated rejection through the private factory token.
|
|
153
|
+
*
|
|
154
|
+
* @param schema Generated rejection message schema.
|
|
155
|
+
* @param messageData Validated rejection message to snapshot.
|
|
156
|
+
* @param token Token restricting construction to the factory.
|
|
157
|
+
*/
|
|
132
158
|
private constructor();
|
|
159
|
+
/**
|
|
160
|
+
* Creates a typed rejection through the private constructor.
|
|
161
|
+
*
|
|
162
|
+
* @typeParam CreatedSchema Generated rejection message schema.
|
|
163
|
+
* @param schema Schema used to snapshot the message.
|
|
164
|
+
* @param messageData Validated rejection message.
|
|
165
|
+
* @returns Nominal rejection throwable.
|
|
166
|
+
*/
|
|
167
|
+
private static instantiate;
|
|
133
168
|
/**
|
|
134
169
|
* Returns the generated Protobuf-ES schema for the rejected domain signal.
|
|
135
170
|
* @returns The rejection schema.
|
|
@@ -147,6 +182,7 @@ export declare class RejectionThrowable<Schema extends MessageSchema = MessageSc
|
|
|
147
182
|
messageThrown(): MessageShape<Schema>;
|
|
148
183
|
/**
|
|
149
184
|
* Creates a nominal throwable from a validated generated rejection message.
|
|
185
|
+
* @typeParam Schema Generated rejection message schema.
|
|
150
186
|
* @param schema The generated rejection schema.
|
|
151
187
|
* @param input The rejection message fields.
|
|
152
188
|
* @returns The validated nominal rejection throwable.
|
|
@@ -158,7 +194,20 @@ export declare class RejectionThrowable<Schema extends MessageSchema = MessageSc
|
|
|
158
194
|
* @returns Whether the value is a trusted rejection throwable.
|
|
159
195
|
*/
|
|
160
196
|
static is(value: unknown): value is RejectionThrowable;
|
|
197
|
+
/**
|
|
198
|
+
* Validates that a schema is a top-level message from a rejection schema file.
|
|
199
|
+
*
|
|
200
|
+
* @param schema Candidate generated rejection schema.
|
|
201
|
+
*/
|
|
161
202
|
private static assertSchema;
|
|
203
|
+
/**
|
|
204
|
+
* Copies a rejection message through its binary representation.
|
|
205
|
+
*
|
|
206
|
+
* @typeParam Schema Generated rejection message schema.
|
|
207
|
+
* @param schema Schema used to encode and decode the message.
|
|
208
|
+
* @param message Rejection message to copy.
|
|
209
|
+
* @returns Independent message snapshot.
|
|
210
|
+
*/
|
|
162
211
|
private static snapshot;
|
|
163
212
|
}
|
|
164
213
|
/**
|
|
@@ -173,6 +222,7 @@ export declare const Validate: {
|
|
|
173
222
|
readonly createError: (violations: readonly ConstraintViolation[]) => ValidationError;
|
|
174
223
|
/**
|
|
175
224
|
* Validates one Protobuf message through the Spine TS validation facade.
|
|
225
|
+
* @typeParam Schema Generated schema of the message being validated.
|
|
176
226
|
* @param schema The message schema.
|
|
177
227
|
* @param message The message to validate.
|
|
178
228
|
* @returns The sanitized validation result.
|
|
@@ -180,6 +230,7 @@ export declare const Validate: {
|
|
|
180
230
|
readonly message: <Schema extends MessageSchema>(schema: Schema, message: MessageShape<Schema>) => MessageValidationResult;
|
|
181
231
|
/**
|
|
182
232
|
* Validates one Protobuf message and throws for constraint violations.
|
|
233
|
+
* @typeParam Schema Generated schema of the message being validated.
|
|
183
234
|
* @param schema The message schema.
|
|
184
235
|
* @param message The message to validate.
|
|
185
236
|
* @returns The validated message.
|
|
@@ -187,6 +238,7 @@ export declare const Validate: {
|
|
|
187
238
|
readonly check: <Schema extends MessageSchema>(schema: Schema, message: MessageShape<Schema>) => MessageShape<Schema>;
|
|
188
239
|
/**
|
|
189
240
|
* Validates a previous/next state pair with framework-owned transition rules.
|
|
241
|
+
* @typeParam Schema Generated schema shared by both states.
|
|
190
242
|
* @param request The state transition.
|
|
191
243
|
* @param rules The rules to apply.
|
|
192
244
|
* @returns The sanitized transition result.
|
|
@@ -207,6 +259,8 @@ export interface RegisterTypeOptions {
|
|
|
207
259
|
}
|
|
208
260
|
/**
|
|
209
261
|
* Descriptor-backed metadata for a registered Protobuf message schema.
|
|
262
|
+
*
|
|
263
|
+
* @typeParam Schema Generated schema represented by this metadata.
|
|
210
264
|
*/
|
|
211
265
|
export interface TypeMetadata<Schema extends MessageSchema = MessageSchema> {
|
|
212
266
|
/**
|
|
@@ -247,12 +301,14 @@ export interface TypeMetadata<Schema extends MessageSchema = MessageSchema> {
|
|
|
247
301
|
readonly firstFieldName: string | undefined;
|
|
248
302
|
/**
|
|
249
303
|
* Checks whether a file option is set on this schema's file descriptor.
|
|
304
|
+
* @typeParam Value Value type declared by the option extension.
|
|
250
305
|
* @param option The file option extension.
|
|
251
306
|
* @returns Whether the option is present.
|
|
252
307
|
*/
|
|
253
308
|
hasFileOption<Value>(option: FileOptionExtension<Value>): boolean;
|
|
254
309
|
/**
|
|
255
310
|
* Reads a file option from this schema's file descriptor.
|
|
311
|
+
* @typeParam Value Value type declared by the option extension.
|
|
256
312
|
* @param option The file option extension.
|
|
257
313
|
* @returns The extension value.
|
|
258
314
|
*/
|
|
@@ -260,6 +316,8 @@ export interface TypeMetadata<Schema extends MessageSchema = MessageSchema> {
|
|
|
260
316
|
}
|
|
261
317
|
/**
|
|
262
318
|
* Protobuf extension descriptor whose extendee is `google.protobuf.FileOptions`.
|
|
319
|
+
*
|
|
320
|
+
* @typeParam Value Value type stored by this file option.
|
|
263
321
|
*/
|
|
264
322
|
export type FileOptionExtension<Value = unknown> = GenExtension<FileOptions, Value>;
|
|
265
323
|
/**
|
|
@@ -280,6 +338,7 @@ export interface TypeRegistryLookup {
|
|
|
280
338
|
findByTypeUrl(typeUrl: string): TypeMetadata | undefined;
|
|
281
339
|
/**
|
|
282
340
|
* Finds metadata by generated schema identity.
|
|
341
|
+
* @typeParam Schema Generated schema used as the lookup key.
|
|
283
342
|
* @param schema The generated message schema.
|
|
284
343
|
* @returns Matching metadata, if registered.
|
|
285
344
|
*/
|
|
@@ -298,6 +357,7 @@ export interface TypeRegistryLookup {
|
|
|
298
357
|
getByTypeUrl(typeUrl: string): TypeMetadata;
|
|
299
358
|
/**
|
|
300
359
|
* Gets metadata by generated schema identity or throws a descriptive error.
|
|
360
|
+
* @typeParam Schema Generated schema used as the lookup key.
|
|
301
361
|
* @param schema The generated message schema.
|
|
302
362
|
* @returns The registered metadata.
|
|
303
363
|
*/
|
|
@@ -333,6 +393,8 @@ export interface PackAnyOptions {
|
|
|
333
393
|
}
|
|
334
394
|
/**
|
|
335
395
|
* Input for creating a generated Spine `Command` envelope from a domain message.
|
|
396
|
+
*
|
|
397
|
+
* @typeParam Schema Generated schema of the enclosed domain command.
|
|
336
398
|
*/
|
|
337
399
|
export interface PackCommandInput<Schema extends MessageSchema = MessageSchema> extends PackAnyOptions {
|
|
338
400
|
/**
|
|
@@ -350,6 +412,8 @@ export interface PackCommandInput<Schema extends MessageSchema = MessageSchema>
|
|
|
350
412
|
}
|
|
351
413
|
/**
|
|
352
414
|
* Input for creating a generated Spine `Event` envelope from a domain message.
|
|
415
|
+
*
|
|
416
|
+
* @typeParam Schema Generated schema of the enclosed domain event.
|
|
353
417
|
*/
|
|
354
418
|
export interface PackEventInput<Schema extends MessageSchema = MessageSchema> extends PackAnyOptions {
|
|
355
419
|
/**
|
|
@@ -403,6 +467,7 @@ export declare const TypeUrls: {
|
|
|
403
467
|
export declare const AnyMessages: {
|
|
404
468
|
/**
|
|
405
469
|
* Packs a message into `Any`, omitting unknown fields from binary output.
|
|
470
|
+
* @typeParam Schema Generated schema of the enclosed message.
|
|
406
471
|
* @param schema The message schema.
|
|
407
472
|
* @param message The message to pack.
|
|
408
473
|
* @param options The packing options.
|
|
@@ -411,6 +476,7 @@ export declare const AnyMessages: {
|
|
|
411
476
|
readonly pack: <Schema extends MessageSchema>(schema: Schema, message: MessageShape<Schema>, options?: PackAnyOptions) => Any;
|
|
412
477
|
/**
|
|
413
478
|
* Unpacks an `Any` when its type URL exactly matches the requested schema.
|
|
479
|
+
* @typeParam Schema Generated schema expected in the envelope.
|
|
414
480
|
* @param packed The packed message.
|
|
415
481
|
* @param schema The expected schema.
|
|
416
482
|
* @returns The unpacked message, when valid.
|
|
@@ -426,6 +492,8 @@ export declare const AnyMessages: {
|
|
|
426
492
|
};
|
|
427
493
|
/**
|
|
428
494
|
* Converts one value to and from its stable string representation.
|
|
495
|
+
*
|
|
496
|
+
* @typeParam T Runtime value type converted by this stringifier.
|
|
429
497
|
*/
|
|
430
498
|
export interface Stringifier<T> {
|
|
431
499
|
/**
|
|
@@ -447,6 +515,7 @@ export interface Stringifier<T> {
|
|
|
447
515
|
export declare const Stringifiers: {
|
|
448
516
|
/**
|
|
449
517
|
* Creates the default compact Proto JSON stringifier for a message schema.
|
|
518
|
+
* @typeParam Schema Generated schema used for Proto JSON conversion.
|
|
450
519
|
* @param schema The generated message schema.
|
|
451
520
|
* @param types The optional generated-type registry used to expand `Any` values.
|
|
452
521
|
* @returns A reversible schema-bound stringifier.
|
|
@@ -478,6 +547,7 @@ export declare class StringifierRegistry {
|
|
|
478
547
|
constructor(source?: StringifierRegistry);
|
|
479
548
|
/**
|
|
480
549
|
* Registers or replaces the stringifier for one generated message type.
|
|
550
|
+
* @typeParam Schema Generated schema of the custom stringifier's message.
|
|
481
551
|
* @param schema The generated message schema.
|
|
482
552
|
* @param stringifier The reversible stringifier.
|
|
483
553
|
*/
|
|
@@ -490,6 +560,7 @@ export declare class StringifierRegistry {
|
|
|
490
560
|
setTypeRegistry(types: TypeRegistryLookup): void;
|
|
491
561
|
/**
|
|
492
562
|
* Returns the custom stringifier or the default compact Proto JSON mapping.
|
|
563
|
+
* @typeParam Schema Generated schema of the requested stringifier.
|
|
493
564
|
* @param schema The generated message schema.
|
|
494
565
|
* @returns The schema-bound stringifier.
|
|
495
566
|
*/
|
|
@@ -515,6 +586,7 @@ interface IdentifierCodec {
|
|
|
515
586
|
/**
|
|
516
587
|
* Packs a message-valued identifier.
|
|
517
588
|
*
|
|
589
|
+
* @typeParam Schema Generated schema of the identifier message.
|
|
518
590
|
* @param schema The generated identifier schema.
|
|
519
591
|
* @param value The identifier value.
|
|
520
592
|
* @returns The packed identifier.
|
|
@@ -547,6 +619,7 @@ interface IdentifierCodec {
|
|
|
547
619
|
/**
|
|
548
620
|
* Unpacks a message-valued identifier.
|
|
549
621
|
*
|
|
622
|
+
* @typeParam Schema Generated schema of the expected identifier message.
|
|
550
623
|
* @param schema The generated identifier schema.
|
|
551
624
|
* @param value The packed identifier.
|
|
552
625
|
* @returns The decoded identifier, or `undefined` for another type.
|
|
@@ -587,12 +660,14 @@ export declare const Identifiers: IdentifierCodec;
|
|
|
587
660
|
export declare const SignalEnvelopes: {
|
|
588
661
|
/**
|
|
589
662
|
* Packs a generated Spine command envelope with a fresh secure ID.
|
|
663
|
+
* @typeParam Schema Generated schema of the domain command.
|
|
590
664
|
* @param input The command envelope input.
|
|
591
665
|
* @returns The packed command.
|
|
592
666
|
*/
|
|
593
667
|
readonly command: <Schema extends MessageSchema>(input: PackCommandInput<Schema>) => Command;
|
|
594
668
|
/**
|
|
595
669
|
* Packs a generated Spine event envelope with a fresh secure ID.
|
|
670
|
+
* @typeParam Schema Generated schema of the domain event.
|
|
596
671
|
* @param input The event envelope input.
|
|
597
672
|
* @returns The packed event.
|
|
598
673
|
*/
|
|
@@ -621,6 +696,7 @@ export declare class TypeRegistry {
|
|
|
621
696
|
static spineCore(): TypeRegistry;
|
|
622
697
|
/**
|
|
623
698
|
* Registers one schema and returns its immutable metadata.
|
|
699
|
+
* @typeParam Schema Generated schema to register.
|
|
624
700
|
* @param schema The generated message schema.
|
|
625
701
|
* @param options Optional explicit type URL.
|
|
626
702
|
* @returns The registered schema metadata.
|
|
@@ -640,6 +716,7 @@ export declare class TypeRegistry {
|
|
|
640
716
|
findByTypeUrl(typeUrl: string): TypeMetadata | undefined;
|
|
641
717
|
/**
|
|
642
718
|
* Finds metadata by generated schema identity.
|
|
719
|
+
* @typeParam Schema Generated schema used as the lookup key.
|
|
643
720
|
* @param schema The generated message schema.
|
|
644
721
|
* @returns Matching metadata, if registered.
|
|
645
722
|
*/
|
|
@@ -658,6 +735,7 @@ export declare class TypeRegistry {
|
|
|
658
735
|
getByTypeUrl(typeUrl: string): TypeMetadata;
|
|
659
736
|
/**
|
|
660
737
|
* Gets metadata by generated schema identity or throws a descriptive error.
|
|
738
|
+
* @typeParam Schema Generated schema used as the lookup key.
|
|
661
739
|
* @param schema The generated message schema.
|
|
662
740
|
* @returns The registered metadata.
|
|
663
741
|
*/
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EACV,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEtF,OAAO,EAKL,KAAK,GAAG,EACR,KAAK,WAAW,EACjB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,cAAc,EAUnB,KAAK,KAAK,EACV,KAAK,YAAY,EAqBjB,KAAK,mBAAmB,EACxB,KAAK,WAAW,E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