@spine-event-engine/storage-postgres 2.0.0-snapshot.23 → 2.0.0-snapshot.25

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.
Files changed (53) hide show
  1. package/README.md +34 -16
  2. package/REFERENCE.md +66 -26
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/postgres/agent-history.d.ts +60 -18
  7. package/dist/postgres/agent-history.d.ts.map +1 -1
  8. package/dist/postgres/agent-history.js +114 -37
  9. package/dist/postgres/agent-history.js.map +1 -1
  10. package/dist/postgres/column-mapping.d.ts.map +1 -1
  11. package/dist/postgres/column-mapping.js +6 -3
  12. package/dist/postgres/column-mapping.js.map +1 -1
  13. package/dist/postgres/entity-commit.d.ts +90 -56
  14. package/dist/postgres/entity-commit.d.ts.map +1 -1
  15. package/dist/postgres/entity-commit.js +439 -188
  16. package/dist/postgres/entity-commit.js.map +1 -1
  17. package/dist/postgres/entity-history.d.ts +4 -2
  18. package/dist/postgres/entity-history.d.ts.map +1 -1
  19. package/dist/postgres/entity-history.js +163 -262
  20. package/dist/postgres/entity-history.js.map +1 -1
  21. package/dist/postgres/errors.d.ts +1 -1
  22. package/dist/postgres/errors.d.ts.map +1 -1
  23. package/dist/postgres/errors.js +5 -3
  24. package/dist/postgres/errors.js.map +1 -1
  25. package/dist/postgres/id-column.d.ts.map +1 -1
  26. package/dist/postgres/id-column.js +6 -3
  27. package/dist/postgres/id-column.js.map +1 -1
  28. package/dist/postgres/record-storage.d.ts +228 -117
  29. package/dist/postgres/record-storage.d.ts.map +1 -1
  30. package/dist/postgres/record-storage.js +350 -204
  31. package/dist/postgres/record-storage.js.map +1 -1
  32. package/dist/postgres/storage-factory.d.ts +267 -30
  33. package/dist/postgres/storage-factory.d.ts.map +1 -1
  34. package/dist/postgres/storage-factory.js +786 -145
  35. package/dist/postgres/storage-factory.js.map +1 -1
  36. package/dist/postgres/table-initializer.d.ts +7 -4
  37. package/dist/postgres/table-initializer.d.ts.map +1 -1
  38. package/dist/postgres/table-initializer.js +21 -15
  39. package/dist/postgres/table-initializer.js.map +1 -1
  40. package/dist/postgres/table-resolver.d.ts +15 -1
  41. package/dist/postgres/table-resolver.d.ts.map +1 -1
  42. package/dist/postgres/table-resolver.js +36 -7
  43. package/dist/postgres/table-resolver.js.map +1 -1
  44. package/dist/tsconfig.tsbuildinfo +1 -1
  45. package/package.json +5 -5
  46. package/dist/postgres/agent-execution.d.ts +0 -284
  47. package/dist/postgres/agent-execution.d.ts.map +0 -1
  48. package/dist/postgres/agent-execution.js +0 -648
  49. package/dist/postgres/agent-execution.js.map +0 -1
  50. package/dist/postgres/delivery-cleanup.d.ts +0 -76
  51. package/dist/postgres/delivery-cleanup.d.ts.map +0 -1
  52. package/dist/postgres/delivery-cleanup.js +0 -224
  53. package/dist/postgres/delivery-cleanup.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"column-mapping.d.ts","sourceRoot":"","sources":["../../src/postgres/column-mapping.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD;;;;;GAKG;AACH,qBAAa,qBAAsB,YAAW,aAAa,CAAC,iBAAiB,CAAC;;IAG5E;;;;OAIG;gBACS,YAAY,GAAE,mBAA+C;IAIzE;;;;;;OAMG;IACH,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,EAAE,iBAAiB,CAAC;IAWzE;;;;OAIG;IACH,MAAM,IAAI,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC;CAGrD"}
1
+ {"version":3,"file":"column-mapping.d.ts","sourceRoot":"","sources":["../../src/postgres/column-mapping.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA8B,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC3F,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD;;;;;GAKG;AACH,qBAAa,qBAAsB,YAAW,aAAa,CAAC,iBAAiB,CAAC;;IAG5E;;;;OAIG;gBACS,YAAY,GAAE,mBAAgD;IAO1E;;;;;;OAMG;IACH,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,EAAE,iBAAiB,CAAC;IAWzE;;;;OAIG;IACH,MAAM,IAAI,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC;CAGrD"}
@@ -12,7 +12,7 @@
12
12
  * the License.
13
13
  */
14
14
  import { ScalarType } from "@bufbuild/protobuf";
15
- import { StringifierRegistry } from "@spine-event-engine/core";
15
+ import { defaultStringifierRegistry, StringifierRegistry } from "@spine-event-engine/core";
16
16
  const timestampType = "google.protobuf.Timestamp";
17
17
  const versionType = "spine.core.Version";
18
18
  /**
@@ -28,8 +28,11 @@ export class PostgresColumnMapping {
28
28
  *
29
29
  * @param stringifiers Provides schema-bound message stringifiers.
30
30
  */
31
- constructor(stringifiers = new StringifierRegistry()) {
32
- this.#stringifiers = new StringifierRegistry(stringifiers);
31
+ constructor(stringifiers = defaultStringifierRegistry) {
32
+ this.#stringifiers =
33
+ stringifiers === defaultStringifierRegistry
34
+ ? stringifiers
35
+ : new StringifierRegistry(stringifiers);
33
36
  }
34
37
  /**
35
38
  * Returns the native conversion for one declared column type.
@@ -1 +1 @@
1
- {"version":3,"file":"column-mapping.js","sourceRoot":"","sources":["../../src/postgres/column-mapping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;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I,IAAI,CAAC,OAAO,CAAC,QAAQ,KAAK,aAAa;YACzC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,sBAAsB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAC5D,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,KAAK,WAAW;YACvC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,sBAAsB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC1D,OAAO,CAAC,KAAK,EAAE,EAAE,CACf,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAA8B,CAAC,CAAC,QAAQ,CAAC,KAAgB,CAAC,CAAC;IAClG,CAAC;IAED;;;;OAIG;IACH,MAAM;QACJ,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC;IAC1B,CAAC;CACF;AAED,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C;;;;;;OAMG;IACH,MAAM,CAAI,IAAgB;QACxB,KAAK,IAAI,CAAC;QACV,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,KAA0B,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACH,SAAS,CAAC,KAAc;QACtB,MAAM,SAAS,GAAG,KAA6D,CAAC;QAChF,OAAO,SAAS,CAAC,OAAO,GAAG,WAAc,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACtE,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,KAAc;QACpB,OAAQ,KAAqC,CAAC,MAAM,CAAC;IACvD,CAAC;CACF,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { type Message } from "@bufbuild/protobuf";
2
+ import { type ModelPreference } from "@spine-event-engine/proto/agent";
2
3
  import { type RecordSpec, type StorageGroup } from "@spine-event-engine/storage";
3
- import { type EntityCommitInput, type EntityCommitStorage, type EntityStorageInput } from "@spine-event-engine/storage/provider";
4
- import type { PoolClient } from "pg";
5
- import { PostgresRecordStorage, type PostgresRecordLifecycle } from "./record-storage.js";
4
+ import { type AgentCommitInput, type EntityCommitInput, type EntityCommitStorage, type EntityStorageInput } from "@spine-event-engine/storage/provider";
5
+ import { PostgresRecordStorage } from "./record-storage.js";
6
6
  /**
7
- * Opens one PostgreSQL record family used by an Entity commit.
7
+ * Acquires one PostgreSQL record family used by an Entity commit.
8
8
  *
9
9
  * @typeParam I Record identifier type.
10
10
  * @typeParam R Stored Protobuf record type.
@@ -25,87 +25,121 @@ export declare class PostgresEntityCommitStorage<I, S extends Message> implement
25
25
  * Creates a PostgreSQL Entity commit handle for one Entity storage boundary.
26
26
  *
27
27
  * @param entity Defines the captured Entity source, state, and tenant scope.
28
- * @param open Opens temporary current and history record-family handles.
29
- * @param lifecycle Acquires transaction clients for the captured database.
28
+ * @param open Opens current and optional history record-family handles.
30
29
  * @param onClose Removes this handle from the factory's live-handle set.
31
30
  */
32
- constructor(entity: EntityStorageInput<I, S>, open: OpenRecords, lifecycle: PostgresRecordLifecycle, onClose: () => void);
31
+ constructor(entity: EntityStorageInput<I, S>, open: OpenRecords, onClose: () => void);
33
32
  /**
34
33
  * Commits one current Entity record and its optional immutable records.
35
34
  *
36
35
  * @typeParam Id Entity identifier type supplied by the commit.
37
36
  * @typeParam State Entity state message type supplied by the commit.
38
37
  * @param input Defines the next current record plus histories.
39
- * @returns Completion after PostgreSQL commits the mutation.
38
+ * @returns Completion after every requested record write.
40
39
  */
41
40
  commit<Id, State extends Message>(input: EntityCommitInput<Id, State>): Promise<void>;
42
41
  /**
43
- * Prepares existing Entity record families for an Agent's same-client conditional completion.
42
+ * Registers a commit before invoking provider construction callbacks.
44
43
  *
45
- * @typeParam Id Typed Entity identifier.
46
- * @typeParam State Generated Entity state.
47
- * @param input Current state and immutable Entity records.
48
- * @returns Prepared transaction work and its close operation.
49
- */
50
- prepareConditional<Id, State extends Message>(input: EntityCommitInput<Id, State>): Promise<{
51
- /**
52
- * Applies the conditional Entity work on the Agent transaction client.
53
- */
54
- apply(client: PoolClient, expectedVersion: number): Promise<void>;
55
- /**
56
- * Closes temporary record-family handles.
57
- */
58
- close(): void;
59
- }>;
44
+ * @param action The admitted provider operation.
45
+ * @returns The admitted provider operation completion.
46
+ * @typeParam T Result type of the admitted provider operation.
47
+ */
48
+ private track;
60
49
  /**
61
- * Closes this handle to new commits while allowing started work to settle.
50
+ * Reads one detached preference image through the retained private family.
51
+ * @param entityId Typed Agent identifier.
52
+ * @returns Current complete image or absence.
62
53
  */
63
- close(): void;
54
+ readAgentPreferences(entityId: unknown): Promise<readonly ModelPreference[] | undefined>;
64
55
  /**
65
- * Applies one validated Entity commit on an active transaction.
56
+ * Commits state, final audit, and complete preferences in one native transaction.
57
+ * @param input Captured Agent transition and initial images.
58
+ * @returns Completion after the conditional group commits.
59
+ * @typeParam Id Typed Agent identifier.
60
+ * @typeParam State Generated Agent state.
61
+ */
62
+ commitAgent<Id, State extends Message>(input: AgentCommitInput<Id, State>): Promise<void>;
63
+ /**
64
+ * Acquires the retained current, Agent audit, and preference families.
66
65
  *
67
- * @typeParam Id Entity identifier type supplied by the commit.
68
- * @typeParam State Entity state message type supplied by the commit.
69
- * @param client PostgreSQL transaction client.
70
- * @param input Defines the Entity records to commit.
71
- * @param records Provides the prepared record families.
72
- * @returns Completion after records are committed.
73
- * @param expectedVersion Expected current Entity Version.
66
+ * @returns The retained family group.
74
67
  */
75
- private apply;
68
+ private agentRecords;
69
+ /**
70
+ * Checks the captured Entity scope and next version before native writes.
71
+ * @param id Captured Agent identifier.
72
+ * @param version Initial Entity version.
73
+ * @param mutation Optional prepared Entity mutation.
74
+ * @typeParam Id Typed Agent identifier.
75
+ * @typeParam State Generated Agent state.
76
+ */
77
+ private validateAgent;
78
+ /**
79
+ * Applies one transaction lock even when preference and current rows are absent.
80
+ * @param records Retained families.
81
+ * @param id Captured Agent ID.
82
+ * @param version Initial Entity version.
83
+ * @param expected Initial preference image.
84
+ * @param next Complete replacement record.
85
+ * @param mutation Optional Entity mutation.
86
+ * @param history Final audit entries.
87
+ * @typeParam Id Typed Agent identifier.
88
+ * @typeParam State Generated Agent state.
89
+ * @returns Completion after the conditional Agent transaction commits.
90
+ */
91
+ private commitAgentPrepared;
76
92
  /**
77
- * Acquires locks for each mutable or append-only family in the commit.
93
+ * Adds final Agent audit through the admitted transaction client.
94
+ * @param client Active native transaction.
95
+ * @param storage Retained Agent history family.
96
+ * @param id Captured Agent identifier.
97
+ * @param history Final audit entries.
98
+ * @returns Completion after final audit rows are appended.
99
+ */
100
+ private appendAgentHistory;
101
+ /**
102
+ * Persists an admitted captured mutation, including a safe retry.
78
103
  *
79
- * @typeParam Id Entity identifier type supplied by the commit.
80
- * @typeParam State Entity state message type supplied by the commit.
81
- * @param client PostgreSQL transaction client.
82
- * @param input Defines the Entity records to commit.
83
- * @param records Provides the prepared record families.
84
- * @returns Completion after all transaction locks are acquired.
104
+ * @param prepared The immutable prepared mutation.
105
+ * @returns Completion after the captured mutation is persisted.
106
+ * @typeParam Id Entity identifier or record type.
107
+ * @typeParam State Generated Entity state message type.
85
108
  */
86
- private locks;
109
+ private persist;
87
110
  /**
88
- * Verifies that every immutable record can be appended.
111
+ * Determines whether a driver serialization failure occurred through provider error causes.
89
112
  *
90
- * @typeParam Id Entity identifier type supplied by the commit.
91
- * @typeParam State Entity state message type supplied by the commit.
92
- * @param client PostgreSQL transaction client.
93
- * @param input Defines the immutable records to verify.
94
- * @param records Provides the prepared record families.
95
- * @returns Completion after all immutable checks pass.
113
+ * @param error Supplies the operation failure.
114
+ * @returns Whether one captured-input retry is safe.
96
115
  */
97
- private preflight;
116
+ private retryable;
98
117
  /**
99
- * Stores every immutable history and event-store record.
118
+ * Closes this handle to new commits while allowing started work to settle.
119
+ *
120
+ * @returns Completion after admitted work and retained records close.
121
+ */
122
+ close(): Promise<void>;
123
+ /**
124
+ * Closes only when no commit remains admitted.
125
+ */
126
+ closeIdle(): void;
127
+ /**
128
+ * Waits for admitted commits before releasing factory tracking.
129
+ *
130
+ * @returns Completion after admitted work and cleanup settle.
131
+ */
132
+ private drain;
133
+ /**
134
+ * Applies one validated Entity commit as ordered independent writes.
100
135
  *
101
136
  * @typeParam Id Entity identifier type supplied by the commit.
102
137
  * @typeParam State Entity state message type supplied by the commit.
103
- * @param client PostgreSQL transaction client.
104
- * @param input Defines the immutable records to append.
138
+ * @param input Defines the Entity records to commit.
105
139
  * @param records Provides the prepared record families.
106
- * @returns Completion after all records are appended.
140
+ * @returns Completion after records are committed.
107
141
  */
108
- private append;
142
+ private apply;
109
143
  /**
110
144
  * Validates the commit against the Entity boundary captured by this handle.
111
145
  *
@@ -1 +1 @@
1
- {"version":3,"file":"entity-commit.d.ts","sourceRoot":"","sources":["../../src/postgres/entity-commit.ts"],"names":[],"mappings":"AAcA,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAO5D,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACjF,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAOrC,OAAO,EACL,qBAAqB,EAErB,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AA6C7B;;;;;GAKG;AACH,KAAK,WAAW,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EACtC,IAAI,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,EACtB,KAAK,CAAC,EAAE,YAAY,KACjB,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AA4GjC;;;;;GAKG;AACH,qBAAa,2BAA2B,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,CAAE,YAAW,mBAAmB;;IAczF,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAErB,OAAO,CAAC,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