@spine-event-engine/storage 2.0.0-snapshot.12 → 2.0.0-snapshot.15
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 +7 -4
- package/REFERENCE.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -126,7 +126,7 @@ in-memory implementation, closing a factory prevents new record handles while
|
|
|
126
126
|
existing handles remain usable. Closing a record handle invalidates that
|
|
127
127
|
handle's later operations. Other adapters can close live handles; see their
|
|
128
128
|
[Datastore reference](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-datastore/REFERENCE.md) and
|
|
129
|
-
[MySQL reference](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-
|
|
129
|
+
[MySQL reference](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-mysql/REFERENCE.md) before choosing shutdown
|
|
130
130
|
behavior.
|
|
131
131
|
|
|
132
132
|
## 🧩 Keep compatible record families separate
|
|
@@ -165,7 +165,8 @@ ordinary Event Store is intentionally ungrouped.
|
|
|
165
165
|
## 🗄️ Choose a durable adapter
|
|
166
166
|
|
|
167
167
|
`@spine-event-engine/storage-datastore` provides Google Cloud Datastore
|
|
168
|
-
storage. `@spine-event-engine/storage-
|
|
168
|
+
storage. `@spine-event-engine/storage-mysql` provides MySQL storage and
|
|
169
|
+
`@spine-event-engine/storage-postgres` provides PostgreSQL storage. Configure
|
|
169
170
|
those packages in application code and pass the resulting factory to the Spine
|
|
170
171
|
server; this package does not choose a database.
|
|
171
172
|
|
|
@@ -173,7 +174,8 @@ server; this package does not choose a database.
|
|
|
173
174
|
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
174
175
|
| Local development and tests | `InMemoryStorageFactory` in this package |
|
|
175
176
|
| Google Cloud Datastore | [`@spine-event-engine/storage-datastore`](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-datastore/README.md) |
|
|
176
|
-
| MySQL | [`@spine-event-engine/storage-
|
|
177
|
+
| MySQL | [`@spine-event-engine/storage-mysql`](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-mysql/README.md) |
|
|
178
|
+
| PostgreSQL | [`@spine-event-engine/storage-postgres`](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-postgres/README.md) |
|
|
177
179
|
|
|
178
180
|
## ⚠️ Lifecycle differences
|
|
179
181
|
|
|
@@ -185,6 +187,7 @@ shutdown and queries.
|
|
|
185
187
|
## 🔗 Learn more
|
|
186
188
|
|
|
187
189
|
- [Datastore adapter](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-datastore/README.md)
|
|
188
|
-
- [MySQL adapter](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-
|
|
190
|
+
- [MySQL adapter](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-mysql/README.md)
|
|
191
|
+
- [PostgreSQL adapter](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/storage-postgres/README.md)
|
|
189
192
|
- [Server](https://github.com/SpineEventEngine/spine-ts/blob/master/packages/server/README.md)
|
|
190
193
|
- [Reference for coding agents](REFERENCE.md)
|
package/REFERENCE.md
CHANGED
|
@@ -94,7 +94,7 @@ until each handle closes. `RecordStorage.close()` rejects that handle's later
|
|
|
94
94
|
operations. Datastore follows the base factory behavior. Adapters can define a
|
|
95
95
|
stronger shutdown lifecycle: the MySQL factory closes live handles while it
|
|
96
96
|
drains its pool. Read the [Datastore reference](../storage-datastore/REFERENCE.md)
|
|
97
|
-
and [MySQL reference](../storage-
|
|
97
|
+
and [MySQL reference](../storage-mysql/REFERENCE.md) or [PostgreSQL reference](../storage-postgres/REFERENCE.md) before relying on shutdown
|
|
98
98
|
behavior. The in-memory backend is ephemeral and process-local. Passing one
|
|
99
99
|
`InMemoryStorageBackend` to multiple in-memory factories deliberately shares
|
|
100
100
|
its scoped rows.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spine-event-engine/storage",
|
|
3
|
-
"version": "2.0.0-snapshot.
|
|
3
|
+
"version": "2.0.0-snapshot.15",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@bufbuild/protobuf": "2.12.1",
|
|
33
|
-
"@spine-event-engine/proto": "2.0.0-snapshot.
|
|
33
|
+
"@spine-event-engine/proto": "2.0.0-snapshot.15"
|
|
34
34
|
}
|
|
35
35
|
}
|