@wildo-ai/platform-infra-providers 1.1.10 → 1.1.11
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/esm/aws-s3/aws-s3.infra.module.d.ts.map +1 -1
- package/dist/esm/clamav-self/clamav-self.infra.module.d.ts.map +1 -1
- package/dist/esm/immudb-self/immudb-self.infra.module.d.ts.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/minio-self/minio-self.infra.module.d.ts.map +1 -1
- package/dist/esm/mongodb-atlas/mongodb-atlas.infra.module.d.ts.map +1 -1
- package/dist/esm/mongodb-self/mongodb-self.infra.module.d.ts.map +1 -1
- package/dist/esm/postgres-self/postgres-self.infra.module.d.ts.map +1 -1
- package/dist/esm/rabbitmq-self/rabbitmq-self.infra.module.d.ts.map +1 -1
- package/dist/esm/redis-self/redis-self.infra.module.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/servable-infra-providers.test.ts +1 -1
- package/src/mongodb-atlas/__tests__/mongodb-atlas.infra.module.test.ts +2 -0
- package/src/mongodb-self/__tests__/mongodb-self.infra.module.test.ts +5 -1
- package/src/postgres-self/__tests__/postgres-self.infra.module.test.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-s3.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"aws-s3.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/aws-s3/aws-s3.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AAEH,OAAO,EAIL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,wBAAwB,EAAE,mBA2DtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clamav-self.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"clamav-self.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/clamav-self/clamav-self.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAIL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AAIvC,eAAO,MAAM,6BAA6B,EAAE,mBAiC3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"immudb-self.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"immudb-self.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/immudb-self/immudb-self.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAIH,OAAO,EASL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AAKvC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAiB/D;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAMnE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAI5E;AAED,2GAA2G;AAC3G,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEhE;AA0BD,eAAO,MAAM,6BAA6B,EAAE,mBA0E3C,CAAC"}
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAaxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,cAAc,wCAAwC,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,mBAAmB,CAYrE,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qCAAqC,EAAE,WAAW,CAAC,aAAa,CAA4B,CAAC;AAE1G;;;;;;;;GAQG;AACH,wBAAgB,6BAA6B,IAAI,WAAW,CAAC,aAAa,CAAC,CAM1E;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,kCAAkC,IAAI,WAAW,CAAC,MAAM,CAAC,CAQxE;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,IAAI,WAAW,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAY7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minio-self.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"minio-self.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/minio-self/minio-self.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,OAAO,EAIL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AAIvC,eAAO,MAAM,4BAA4B,EAAE,mBA6C1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mongodb-atlas.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"mongodb-atlas.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/mongodb-atlas/mongodb-atlas.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AAEH,OAAO,EAQL,mBAAmB,EAKpB,MAAM,+BAA+B,CAAC;AA0IvC,eAAO,MAAM,+BAA+B,EAAE,mBA2K7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mongodb-self.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"mongodb-self.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/mongodb-self/mongodb-self.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAOL,mBAAmB,EAKnB,KAAK,2BAA2B,EACjC,MAAM,+BAA+B,CAAC;AA2FvC,qDAAqD;AACrD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,EAAE;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IACxE,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,kGAAkG;IAClG,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,mBAAmB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC,GAAG,0BAA0B,EAAE,CAe/B;AA4BD;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,CAC3C,oBAAoB,EAAE,MAAM,EAC5B,SAAS,EAAE,2BAA2B,GAAG,SAAS,GACjD,MAAM,CAMR;AAED,eAAO,MAAM,8BAA8B,EAAE,mBAwM5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres-self.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"postgres-self.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/postgres-self/postgres-self.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AAEH,OAAO,EAOL,mBAAmB,EAMpB,MAAM,+BAA+B,CAAC;AA6HvC,eAAO,MAAM,+BAA+B,EAAE,mBAgM7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rabbitmq-self.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"rabbitmq-self.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/rabbitmq-self/rabbitmq-self.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AAEH,OAAO,EAOL,mBAAmB,EAOpB,MAAM,+BAA+B,CAAC;AAiIvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,gCAAgC;IAC3C,gCAAgC;;;;CAIxB,CAAC;AAEX,mEAAmE;AACnE,wBAAgB,8BAA8B,CAAC,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAEjF;AAED,+FAA+F;AAC/F,wBAAgB,iCAAiC,CAAC,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAGpF;AAyED,eAAO,MAAM,+BAA+B,EAAE,mBA0P7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redis-self.infra.module.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"redis-self.infra.module.d.ts","sourceRoot":"","sources":["../../../../src/redis-self/redis-self.infra.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AAEH,OAAO,EAOL,mBAAmB,EAKpB,MAAM,+BAA+B,CAAC;AA+GvC,eAAO,MAAM,4BAA4B,EAAE,mBA+J1C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildo-ai/platform-infra-providers",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"description": "Concrete InfraProviderModule catalog (RabbitMQ_Self, Redis_Self, Postgres_Self, MongoDB_Atlas, MongoDB_Self) — tier-portable, importable by both platform-apps-manager (orchestrator) and wildo-cli (lockfile materializer). Slice 2.5c-1 of infra-provider-planner.md.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Wildo AI",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test:watch": "vitest"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@wildo-ai/platform-config-lib": "1.1.
|
|
33
|
+
"@wildo-ai/platform-config-lib": "1.1.11"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"zod": "^4.3.6"
|
|
@@ -128,7 +128,7 @@ describe('the declarations #1693 refuses, against the real catalogue', () => {
|
|
|
128
128
|
|
|
129
129
|
it('makes the lockfile projection refuse, with the real module map and servable set', () => {
|
|
130
130
|
expect(() => materializeInfraSection({
|
|
131
|
-
|
|
131
|
+
materializedAt: '2026-09-26T00:00:00.000Z',
|
|
132
132
|
moduleMap: buildInfraProviderModuleMap(),
|
|
133
133
|
servableProviders: collectServableInfraProviders(),
|
|
134
134
|
envs: [{ envName: 'production', backingServices: { [BackingServiceKind.REDIS]: { source: BackingServiceSource.MANAGED } } }],
|
|
@@ -242,12 +242,14 @@ describe('MongodbAtlasInfraProviderModule per-principal path (#1694)', () => {
|
|
|
242
242
|
// The declared read, then the engine execution-history floor every enabled Node minion needs — the
|
|
243
243
|
// same derivation as the self-hosted module, in Atlas's action vocabulary. No database-wide entry.
|
|
244
244
|
expect(call.privileges).toEqual([
|
|
245
|
+
{ resource: { db: 'wonder_todos', collection: 'applicationDataKeys' }, actions: ['FIND'] },
|
|
245
246
|
{ resource: { db: 'wonder_todos', collection: 'applications' }, actions: ['FIND'] },
|
|
246
247
|
{ resource: { db: 'wonder_todos', collection: 'jobExecutions' }, actions: ['FIND'] },
|
|
247
248
|
{ resource: { db: 'wonder_todos', collection: 'jobPayloadStorage' }, actions: ['FIND'] },
|
|
248
249
|
{ resource: { db: 'wonder_todos', collection: 'todos' }, actions: ['FIND'] },
|
|
249
250
|
{ resource: { db: 'wonder_todos', collection: 'auditLogs' }, actions: ['INSERT', 'FIND'] },
|
|
250
251
|
{ resource: { db: 'wonder_todos', collection: 'jobPayloadStorage' }, actions: ['INSERT', 'FIND'] },
|
|
252
|
+
{ resource: { db: 'wonder_todos', collection: 'applicationDataKeys' }, actions: ['INSERT', 'FIND', 'UPDATE'] },
|
|
251
253
|
{ resource: { db: 'wonder_todos', collection: 'jobExecutions' }, actions: ['INSERT', 'FIND', 'UPDATE'] },
|
|
252
254
|
]);
|
|
253
255
|
expect(result.secretBlobValues).toEqual({
|
|
@@ -315,6 +315,7 @@ describe('MongodbSelfInfraProviderModule per-principal users (Step 3 / R1 / D14)
|
|
|
315
315
|
// `jobExecutions` is MAINTAIN — both carry `find`, because the repository
|
|
316
316
|
// updates through `findOneAndUpdate`, which is Unauthorized without it.
|
|
317
317
|
expect(call.privileges).toEqual([
|
|
318
|
+
{ resource: { db: 'wonder-todos', collection: 'applicationDataKeys' }, actions: ['find'] },
|
|
318
319
|
{ resource: { db: 'wonder-todos', collection: 'applications' }, actions: ['find'] },
|
|
319
320
|
{ resource: { db: 'wonder-todos', collection: 'jobExecutions' }, actions: ['find'] },
|
|
320
321
|
{ resource: { db: 'wonder-todos', collection: 'jobPayloadStorage' }, actions: ['find'] },
|
|
@@ -322,6 +323,7 @@ describe('MongodbSelfInfraProviderModule per-principal users (Step 3 / R1 / D14)
|
|
|
322
323
|
{ resource: { db: 'wonder-todos', collection: 'todos' }, actions: ['insert', 'update', 'remove'] },
|
|
323
324
|
{ resource: { db: 'wonder-todos', collection: 'auditLogs' }, actions: ['insert', 'find'] },
|
|
324
325
|
{ resource: { db: 'wonder-todos', collection: 'jobPayloadStorage' }, actions: ['insert', 'find'] },
|
|
326
|
+
{ resource: { db: 'wonder-todos', collection: 'applicationDataKeys' }, actions: ['insert', 'find', 'update'] },
|
|
325
327
|
{ resource: { db: 'wonder-todos', collection: 'jobExecutions' }, actions: ['insert', 'find', 'update'] },
|
|
326
328
|
]);
|
|
327
329
|
});
|
|
@@ -400,18 +402,20 @@ describe('MongodbSelfInfraProviderModule per-principal users (Step 3 / R1 / D14)
|
|
|
400
402
|
privileges: Array<{ resource: { db: string; collection: string }; actions: string[] }>;
|
|
401
403
|
};
|
|
402
404
|
expect(privileges).toEqual([
|
|
405
|
+
{ resource: { db: 'wonder-todos', collection: 'applicationDataKeys' }, actions: ['find'] },
|
|
403
406
|
{ resource: { db: 'wonder-todos', collection: 'applications' }, actions: ['find'] },
|
|
404
407
|
{ resource: { db: 'wonder-todos', collection: 'jobExecutions' }, actions: ['find'] },
|
|
405
408
|
{ resource: { db: 'wonder-todos', collection: 'jobPayloadStorage' }, actions: ['find'] },
|
|
406
409
|
{ resource: { db: 'wonder-todos', collection: 'auditLogs' }, actions: ['insert', 'find'] },
|
|
407
410
|
{ resource: { db: 'wonder-todos', collection: 'jobPayloadStorage' }, actions: ['insert', 'find'] },
|
|
411
|
+
{ resource: { db: 'wonder-todos', collection: 'applicationDataKeys' }, actions: ['insert', 'find', 'update'] },
|
|
408
412
|
{ resource: { db: 'wonder-todos', collection: 'jobExecutions' }, actions: ['insert', 'find', 'update'] },
|
|
409
413
|
]);
|
|
410
414
|
// The property the original pin existed for, asserted directly rather than
|
|
411
415
|
// implied by an empty list: never database-wide, and never a mutating verb
|
|
412
416
|
// on anything the declaration did not name.
|
|
413
417
|
expect(privileges.every((p) => p.resource.collection !== '')).toBe(true);
|
|
414
|
-
expect(privileges.filter((p) => p.resource.collection
|
|
418
|
+
expect(privileges.filter((p) => !['jobExecutions', 'applicationDataKeys'].includes(p.resource.collection)).flatMap((p) => p.actions)).not.toContain('update');
|
|
415
419
|
expect(privileges.flatMap((p) => p.actions)).not.toContain('remove');
|
|
416
420
|
});
|
|
417
421
|
});
|
|
@@ -291,9 +291,9 @@ describe('PostgresSelfInfraProviderModule — per-principal table-scoped role',
|
|
|
291
291
|
// The authored declaration, plus the engine floor `deriveMinionDatabaseGrants`
|
|
292
292
|
// adds — `applications`, which every APPLICATION-scoped operation reads before
|
|
293
293
|
// it reaches a declared table, and which no `resourceAccess` can express.
|
|
294
|
-
expect(call.readTables).toEqual(['applications', 'jobExecutions', 'jobPayloadStorage', 'todos']);
|
|
294
|
+
expect(call.readTables).toEqual(['applicationDataKeys', 'applications', 'jobExecutions', 'jobPayloadStorage', 'todos']);
|
|
295
295
|
expect(call.appendTables).toEqual(['auditLogs', 'jobPayloadStorage']);
|
|
296
|
-
expect(call.maintainTables).toEqual(['jobExecutions']);
|
|
296
|
+
expect(call.maintainTables).toEqual(['applicationDataKeys', 'jobExecutions']);
|
|
297
297
|
// `write` does NOT widen into `read` — the axes stay exactly as declared,
|
|
298
298
|
// which is the property that makes the authored declaration describe the
|
|
299
299
|
// outcome. Asserting `readTables` does not contain 'events' is the half
|