@cosmicdrift/kumiko-bundled-features 0.311.0 → 0.312.0
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/package.json +9 -9
- package/src/__tests__/extension-points-typed.test.ts +4 -0
- package/src/document-ingest-foundation/__tests__/feature.integration.test.ts +621 -43
- package/src/document-ingest-foundation/__tests__/feature.test.ts +20 -3
- package/src/document-ingest-foundation/__tests__/providers.test.ts +204 -0
- package/src/document-ingest-foundation/boot-checks.ts +58 -0
- package/src/document-ingest-foundation/changes.json +18 -0
- package/src/document-ingest-foundation/events.ts +3 -0
- package/src/document-ingest-foundation/executor.ts +12 -0
- package/src/document-ingest-foundation/feature.ts +125 -72
- package/src/document-ingest-foundation/file-ref-liveness.ts +10 -0
- package/src/document-ingest-foundation/forget-extract-with-file-ref.ts +84 -0
- package/src/document-ingest-foundation/index.ts +17 -0
- package/src/document-ingest-foundation/providers.ts +78 -0
- package/src/document-ingest-foundation/tenant-destroy-hook.ts +3 -7
- package/src/document-ingest-foundation/write-document-extract.ts +48 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-bundled-features",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.312.0",
|
|
4
4
|
"description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -133,12 +133,12 @@
|
|
|
133
133
|
"./workflow-runner": "./src/workflow-runner/index.ts"
|
|
134
134
|
},
|
|
135
135
|
"dependencies": {
|
|
136
|
-
"@cosmicdrift/kumiko-dispatcher-live": "0.
|
|
137
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
138
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
139
|
-
"@cosmicdrift/kumiko-renderer": "0.
|
|
140
|
-
"@cosmicdrift/kumiko-renderer-web": "0.
|
|
141
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
136
|
+
"@cosmicdrift/kumiko-dispatcher-live": "0.312.0",
|
|
137
|
+
"@cosmicdrift/kumiko-framework": "0.312.0",
|
|
138
|
+
"@cosmicdrift/kumiko-headless": "0.312.0",
|
|
139
|
+
"@cosmicdrift/kumiko-renderer": "0.312.0",
|
|
140
|
+
"@cosmicdrift/kumiko-renderer-web": "0.312.0",
|
|
141
|
+
"@cosmicdrift/kumiko-types": "0.312.0",
|
|
142
142
|
"@mollie/api-client": "^4.5.0",
|
|
143
143
|
"@node-rs/argon2": "^2.0.2",
|
|
144
144
|
"@types/mailparser": "^3.4.6",
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
],
|
|
168
168
|
"devDependencies": {
|
|
169
169
|
"@testing-library/user-event": "^14.6.1",
|
|
170
|
-
"@cosmicdrift/kumiko-locale-de": "0.
|
|
171
|
-
"@cosmicdrift/kumiko-locale-es": "0.
|
|
170
|
+
"@cosmicdrift/kumiko-locale-de": "0.312.0",
|
|
171
|
+
"@cosmicdrift/kumiko-locale-es": "0.312.0",
|
|
172
172
|
"jsqr": "^1.4.0"
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -11,6 +11,7 @@ import { authFoundationFeature } from "../auth-foundation/feature";
|
|
|
11
11
|
import { billingFoundationFeature } from "../billing-foundation/feature";
|
|
12
12
|
import { createCustomFieldsFeature } from "../custom-fields/feature";
|
|
13
13
|
import { createDeliveryFeature } from "../delivery/feature";
|
|
14
|
+
import { documentIngestFoundationFeature } from "../document-ingest-foundation/feature";
|
|
14
15
|
import { createFileDerivativesFeature } from "../file-derivatives/feature";
|
|
15
16
|
import { fileFoundationFeature } from "../file-foundation/feature";
|
|
16
17
|
import { inboundMailFoundationFeature } from "../inbound-mail-foundation/feature";
|
|
@@ -44,6 +45,7 @@ const TYPED_EXTENSION_POINTS = [
|
|
|
44
45
|
"deliveryChannel",
|
|
45
46
|
"subscriptionProvider",
|
|
46
47
|
"mailTransport",
|
|
48
|
+
"documentIngestProvider",
|
|
47
49
|
] as const satisfies readonly (keyof KumikoExtensionOptionsMap)[];
|
|
48
50
|
|
|
49
51
|
const UNTYPED_BY_DESIGN: Record<string, string> = {
|
|
@@ -59,6 +61,7 @@ const DECLARING_FEATURE_DIRS = [
|
|
|
59
61
|
"billing-foundation",
|
|
60
62
|
"custom-fields",
|
|
61
63
|
"delivery",
|
|
64
|
+
"document-ingest-foundation",
|
|
62
65
|
"file-derivatives",
|
|
63
66
|
"file-foundation",
|
|
64
67
|
"inbound-mail-foundation",
|
|
@@ -97,6 +100,7 @@ function allRegistrarExtensionNames(): readonly string[] {
|
|
|
97
100
|
billingFoundationFeature,
|
|
98
101
|
createCustomFieldsFeature(),
|
|
99
102
|
createDeliveryFeature(),
|
|
103
|
+
documentIngestFoundationFeature,
|
|
100
104
|
createFileDerivativesFeature(),
|
|
101
105
|
fileFoundationFeature,
|
|
102
106
|
inboundMailFoundationFeature,
|