@semiont/backend 0.4.18 → 0.4.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/dist/index.js +22 -117
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +1 -105
- package/package.json +5 -5
package/dist/openapi.json
CHANGED
|
@@ -4628,7 +4628,7 @@
|
|
|
4628
4628
|
},
|
|
4629
4629
|
"EventMetadata": {
|
|
4630
4630
|
"type": "object",
|
|
4631
|
-
"description": "Metadata added at persistence time. Part of every StoredEvent.",
|
|
4631
|
+
"description": "Metadata added at persistence time. Part of every StoredEvent. Integrity is provided by git at the commit level (when gitSync is enabled), not by in-event metadata fields.",
|
|
4632
4632
|
"properties": {
|
|
4633
4633
|
"sequenceNumber": {
|
|
4634
4634
|
"type": "integer",
|
|
@@ -4638,14 +4638,6 @@
|
|
|
4638
4638
|
"type": "integer",
|
|
4639
4639
|
"description": "Byte offset in the JSONL file"
|
|
4640
4640
|
},
|
|
4641
|
-
"prevEventHash": {
|
|
4642
|
-
"type": "string",
|
|
4643
|
-
"description": "SHA-256 of the previous event (hash chain)"
|
|
4644
|
-
},
|
|
4645
|
-
"checksum": {
|
|
4646
|
-
"type": "string",
|
|
4647
|
-
"description": "SHA-256 of this event (integrity verification)"
|
|
4648
|
-
},
|
|
4649
4641
|
"correlationId": {
|
|
4650
4642
|
"type": "string",
|
|
4651
4643
|
"description": "Optional correlation id propagated from a command. Lets clients match command-result events back to the POST that initiated them. Set by EventStore.appendEvent's options when a route handler passes one through."
|
|
@@ -5188,49 +5180,6 @@
|
|
|
5188
5180
|
"error"
|
|
5189
5181
|
]
|
|
5190
5182
|
},
|
|
5191
|
-
"EmbeddingComputedPayload": {
|
|
5192
|
-
"type": "object",
|
|
5193
|
-
"description": "Payload for embedding:computed domain event",
|
|
5194
|
-
"properties": {
|
|
5195
|
-
"annotationId": {
|
|
5196
|
-
"type": "string"
|
|
5197
|
-
},
|
|
5198
|
-
"chunkIndex": {
|
|
5199
|
-
"type": "integer"
|
|
5200
|
-
},
|
|
5201
|
-
"chunkText": {
|
|
5202
|
-
"type": "string"
|
|
5203
|
-
},
|
|
5204
|
-
"embedding": {
|
|
5205
|
-
"type": "array",
|
|
5206
|
-
"items": {
|
|
5207
|
-
"type": "number"
|
|
5208
|
-
}
|
|
5209
|
-
},
|
|
5210
|
-
"model": {
|
|
5211
|
-
"type": "string"
|
|
5212
|
-
},
|
|
5213
|
-
"dimensions": {
|
|
5214
|
-
"type": "integer"
|
|
5215
|
-
}
|
|
5216
|
-
},
|
|
5217
|
-
"required": [
|
|
5218
|
-
"chunkIndex",
|
|
5219
|
-
"chunkText",
|
|
5220
|
-
"embedding",
|
|
5221
|
-
"model",
|
|
5222
|
-
"dimensions"
|
|
5223
|
-
]
|
|
5224
|
-
},
|
|
5225
|
-
"EmbeddingDeletedPayload": {
|
|
5226
|
-
"type": "object",
|
|
5227
|
-
"description": "Payload for embedding:deleted domain event",
|
|
5228
|
-
"properties": {
|
|
5229
|
-
"annotationId": {
|
|
5230
|
-
"type": "string"
|
|
5231
|
-
}
|
|
5232
|
-
}
|
|
5233
|
-
},
|
|
5234
5183
|
"AnnotateHighlightsStreamRequest": {
|
|
5235
5184
|
"type": "object",
|
|
5236
5185
|
"properties": {
|
|
@@ -7481,59 +7430,6 @@
|
|
|
7481
7430
|
"path"
|
|
7482
7431
|
]
|
|
7483
7432
|
},
|
|
7484
|
-
"EmbeddingComputeCommand": {
|
|
7485
|
-
"type": "object",
|
|
7486
|
-
"description": "Command to store a computed embedding for a resource chunk",
|
|
7487
|
-
"properties": {
|
|
7488
|
-
"resourceId": {
|
|
7489
|
-
"type": "string"
|
|
7490
|
-
},
|
|
7491
|
-
"annotationId": {
|
|
7492
|
-
"type": "string"
|
|
7493
|
-
},
|
|
7494
|
-
"chunkIndex": {
|
|
7495
|
-
"type": "integer"
|
|
7496
|
-
},
|
|
7497
|
-
"chunkText": {
|
|
7498
|
-
"type": "string"
|
|
7499
|
-
},
|
|
7500
|
-
"embedding": {
|
|
7501
|
-
"type": "array",
|
|
7502
|
-
"items": {
|
|
7503
|
-
"type": "number"
|
|
7504
|
-
}
|
|
7505
|
-
},
|
|
7506
|
-
"model": {
|
|
7507
|
-
"type": "string"
|
|
7508
|
-
},
|
|
7509
|
-
"dimensions": {
|
|
7510
|
-
"type": "integer"
|
|
7511
|
-
}
|
|
7512
|
-
},
|
|
7513
|
-
"required": [
|
|
7514
|
-
"resourceId",
|
|
7515
|
-
"chunkIndex",
|
|
7516
|
-
"chunkText",
|
|
7517
|
-
"embedding",
|
|
7518
|
-
"model",
|
|
7519
|
-
"dimensions"
|
|
7520
|
-
]
|
|
7521
|
-
},
|
|
7522
|
-
"EmbeddingDeleteCommand": {
|
|
7523
|
-
"type": "object",
|
|
7524
|
-
"description": "Command to delete embeddings for a resource or annotation",
|
|
7525
|
-
"properties": {
|
|
7526
|
-
"resourceId": {
|
|
7527
|
-
"type": "string"
|
|
7528
|
-
},
|
|
7529
|
-
"annotationId": {
|
|
7530
|
-
"type": "string"
|
|
7531
|
-
}
|
|
7532
|
-
},
|
|
7533
|
-
"required": [
|
|
7534
|
-
"resourceId"
|
|
7535
|
-
]
|
|
7536
|
-
},
|
|
7537
7433
|
"FragmentSelector": {
|
|
7538
7434
|
"type": "object",
|
|
7539
7435
|
"description": "W3C Web Annotation FragmentSelector for media fragment identifiers (RFC 3778 for PDFs)",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semiont/backend",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Semiont backend server - pre-built for npm consumption",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"@hono/swagger-ui": "^0.6.1",
|
|
21
21
|
"@prisma/adapter-pg": "^7.5.0",
|
|
22
22
|
"@prisma/client": "^7.5.0",
|
|
23
|
-
"@semiont/core": "^0.4.
|
|
24
|
-
"@semiont/event-sourcing": "^0.4.
|
|
25
|
-
"@semiont/jobs": "^0.4.
|
|
26
|
-
"@semiont/make-meaning": "^0.4.
|
|
23
|
+
"@semiont/core": "^0.4.20",
|
|
24
|
+
"@semiont/event-sourcing": "^0.4.20",
|
|
25
|
+
"@semiont/jobs": "^0.4.20",
|
|
26
|
+
"@semiont/make-meaning": "^0.4.20",
|
|
27
27
|
"ajv": "^8.17.1",
|
|
28
28
|
"ajv-formats": "^3.0.1",
|
|
29
29
|
"argon2": "^0.44.0",
|