@volontariapp/domain-storage 0.14.14 → 0.14.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/CHANGELOG.md +8 -0
- package/dist/test/migrations/common/1794166000000-AddOutboxPollingIndexes.d.ts +7 -0
- package/dist/test/migrations/common/1794166000000-AddOutboxPollingIndexes.d.ts.map +1 -0
- package/dist/test/migrations/common/1794166000000-AddOutboxPollingIndexes.js +12 -0
- package/dist/test/migrations/common/1794166000000-AddOutboxPollingIndexes.js.map +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
|
+
export declare class AddOutboxPollingIndexes1794166000000 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=1794166000000-AddOutboxPollingIndexes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1794166000000-AddOutboxPollingIndexes.d.ts","sourceRoot":"","sources":["../../../../src/test/migrations/common/1794166000000-AddOutboxPollingIndexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAY/D,qBAAa,oCAAqC,YAAW,kBAAkB;IAC7E,IAAI,SAA0C;IAEjC,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAS3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAI3D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class AddOutboxPollingIndexes1794166000000 {
|
|
2
|
+
name = 'AddOutboxPollingIndexes1794166000000';
|
|
3
|
+
async up(queryRunner) {
|
|
4
|
+
await queryRunner.query(`CREATE INDEX IF NOT EXISTS "IDX_event_queue_status_created_at" ON "event_queue" ("status", "created_at", "id")`);
|
|
5
|
+
await queryRunner.query(`CREATE INDEX IF NOT EXISTS "IDX_jobs_outbox_status_created_at" ON "jobs_outbox" ("status", "created_at", "id")`);
|
|
6
|
+
}
|
|
7
|
+
async down(queryRunner) {
|
|
8
|
+
await queryRunner.query(`DROP INDEX IF EXISTS "IDX_jobs_outbox_status_created_at"`);
|
|
9
|
+
await queryRunner.query(`DROP INDEX IF EXISTS "IDX_event_queue_status_created_at"`);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=1794166000000-AddOutboxPollingIndexes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1794166000000-AddOutboxPollingIndexes.js","sourceRoot":"","sources":["../../../../src/test/migrations/common/1794166000000-AddOutboxPollingIndexes.ts"],"names":[],"mappings":"AAYA,MAAM,OAAO,oCAAoC;IAC/C,IAAI,GAAG,sCAAsC,CAAC;IAEvC,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CACrB,gHAAgH,CACjH,CAAC;QACF,MAAM,WAAW,CAAC,KAAK,CACrB,gHAAgH,CACjH,CAAC;IACJ,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACxC,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;QACpF,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;IACtF,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volontariapp/domain-storage",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@nestjs/common": "^11.2.8",
|
|
59
|
-
"@volontariapp/database": "3.
|
|
59
|
+
"@volontariapp/database": "3.13.0",
|
|
60
60
|
"@volontariapp/errors": "0.7.0",
|
|
61
61
|
"@volontariapp/logger": "0.4.0",
|
|
62
62
|
"@volontariapp/messaging": "2.34.5",
|
|
63
|
-
"@volontariapp/outbox": "0.10.
|
|
63
|
+
"@volontariapp/outbox": "0.10.42"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"reflect-metadata": "^0.2.2",
|