@sphereon/ssi-sdk.data-store 0.23.5-next.10 → 0.23.5-next.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.
@@ -29,13 +29,13 @@ class CreateAuditEvents1701634812183 {
29
29
  down(queryRunner) {
30
30
  return __awaiter(this, void 0, void 0, function* () {
31
31
  yield queryRunner.query(`DROP TABLE "AuditEvents"`);
32
- yield queryRunner.query(`DROP TYPE "public"."Party_correlation_type_enum`);
33
- yield queryRunner.query(`DROP TYPE "public"."System_correlation_id_type_enum`);
34
- yield queryRunner.query(`DROP TYPE "public"."Initiator_type_enum`);
35
- yield queryRunner.query(`DROP TYPE "public"."Action_type_enum`);
36
- yield queryRunner.query(`DROP TYPE "public"."Subsystem_type_enum`);
37
- yield queryRunner.query(`DROP TYPE "public"."System_enum`);
38
- yield queryRunner.query(`DROP TYPE "public"."Level_enum`);
32
+ yield queryRunner.query(`DROP TYPE "public"."Party_correlation_type_enum"`);
33
+ yield queryRunner.query(`DROP TYPE "public"."System_correlation_id_type_enum"`);
34
+ yield queryRunner.query(`DROP TYPE "public"."Initiator_type_enum"`);
35
+ yield queryRunner.query(`DROP TYPE "public"."Action_type_enum"`);
36
+ yield queryRunner.query(`DROP TYPE "public"."Subsystem_type_enum"`);
37
+ yield queryRunner.query(`DROP TYPE "public"."System_enum"`);
38
+ yield queryRunner.query(`DROP TYPE "public"."Level_enum"`);
39
39
  });
40
40
  }
41
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"1701634812183-CreateAuditEvents.js","sourceRoot":"","sources":["../../../src/migrations/postgres/1701634812183-CreateAuditEvents.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,8BAA8B;IAA3C;QACE,SAAI,GAAG,gCAAgC,CAAA;IA6BzC,CAAC;IA3Bc,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,+DAA+D,CAAC,CAAA;YACxF,MAAM,WAAW,CAAC,KAAK,CACrB,kIAAkI,CACnI,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,gOAAgO,CACjO,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,kGAAkG,CAAC,CAAA;YAC3H,MAAM,WAAW,CAAC,KAAK,CAAC,kFAAkF,CAAC,CAAA;YAC3G,MAAM,WAAW,CAAC,KAAK,CAAC,6GAA6G,CAAC,CAAA;YACtI,MAAM,WAAW,CAAC,KAAK,CAAC,iGAAiG,CAAC,CAAA;YAC1H,MAAM,WAAW,CAAC,KAAK,CACrB,21BAA21B,CAC51B,CAAA;QACH,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,MAAM,WAAW,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAA;YACnD,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;YAC1E,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAA;YAC9E,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;YAClE,MAAM,WAAW,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAA;YAC/D,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;YAClE,MAAM,WAAW,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAA;YAC1D,MAAM,WAAW,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAA;QAC3D,CAAC;KAAA;CACF;AA9BD,wEA8BC"}
1
+ {"version":3,"file":"1701634812183-CreateAuditEvents.js","sourceRoot":"","sources":["../../../src/migrations/postgres/1701634812183-CreateAuditEvents.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,8BAA8B;IAA3C;QACE,SAAI,GAAG,gCAAgC,CAAA;IA6BzC,CAAC;IA3Bc,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,+DAA+D,CAAC,CAAA;YACxF,MAAM,WAAW,CAAC,KAAK,CACrB,kIAAkI,CACnI,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,gOAAgO,CACjO,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,kGAAkG,CAAC,CAAA;YAC3H,MAAM,WAAW,CAAC,KAAK,CAAC,kFAAkF,CAAC,CAAA;YAC3G,MAAM,WAAW,CAAC,KAAK,CAAC,6GAA6G,CAAC,CAAA;YACtI,MAAM,WAAW,CAAC,KAAK,CAAC,iGAAiG,CAAC,CAAA;YAC1H,MAAM,WAAW,CAAC,KAAK,CACrB,21BAA21B,CAC51B,CAAA;QACH,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,MAAM,WAAW,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAA;YACnD,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;YAC3E,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;YAC/E,MAAM,WAAW,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAA;YACnE,MAAM,WAAW,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAA;YAChE,MAAM,WAAW,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAA;YACnE,MAAM,WAAW,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAA;YAC3D,MAAM,WAAW,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAA;QAC5D,CAAC;KAAA;CACF;AA9BD,wEA8BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.data-store",
3
- "version": "0.23.5-next.10+42dc33a0",
3
+ "version": "0.23.5-next.11+d1d1b3ea",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,8 +13,8 @@
13
13
  "typeorm-postgres:migration:run": "pnpm run typeorm -- migration:run -c migration-postgres"
14
14
  },
15
15
  "dependencies": {
16
- "@sphereon/ssi-sdk.core": "0.23.5-next.10+42dc33a0",
17
- "@sphereon/ssi-types": "0.23.5-next.10+42dc33a0",
16
+ "@sphereon/ssi-sdk.core": "0.23.5-next.11+d1d1b3ea",
17
+ "@sphereon/ssi-types": "0.23.5-next.11+d1d1b3ea",
18
18
  "@veramo/core": "4.2.0",
19
19
  "@veramo/utils": "4.2.0",
20
20
  "class-validator": "^0.14.0",
@@ -44,5 +44,5 @@
44
44
  "PostgreSQL",
45
45
  "Contact Store"
46
46
  ],
47
- "gitHead": "42dc33a0f8677bb575baaa1b5903cf9b800e93db"
47
+ "gitHead": "d1d1b3ead6a800491639188596b385b5f5592973"
48
48
  }
@@ -6,28 +6,28 @@ export class CreateAuditEvents1701634812183 implements MigrationInterface {
6
6
  public async up(queryRunner: QueryRunner): Promise<void> {
7
7
  await queryRunner.query(`CREATE TYPE "public"."Level_enum" AS ENUM('0', '1', '2', '3')`)
8
8
  await queryRunner.query(
9
- `CREATE TYPE "public"."System_enum" AS ENUM('general', 'kms', 'identity', 'oid4vci', 'credentials', 'web3', 'profile', 'contact')`,
9
+ `CREATE TYPE "public"."System_enum" AS ENUM('general', 'kms', 'identity', 'oid4vci', 'credentials', 'web3', 'profile', 'contact')`
10
10
  )
11
11
  await queryRunner.query(
12
- `CREATE TYPE "public"."Subsystem_type_enum" AS ENUM('key', 'did_provider', 'did_resolver', 'oid4vp_op', 'oid4vci_client', 'siopv2_op', 'contact_manager', 'vc_issuer', 'vc_verifier', 'vc_persistence', 'transport', 'profile')`,
12
+ `CREATE TYPE "public"."Subsystem_type_enum" AS ENUM('key', 'did_provider', 'did_resolver', 'oid4vp_op', 'oid4vci_client', 'siopv2_op', 'contact_manager', 'vc_issuer', 'vc_verifier', 'vc_persistence', 'transport', 'profile')`
13
13
  )
14
14
  await queryRunner.query(`CREATE TYPE "public"."Action_type_enum" AS ENUM('create', 'read', 'update', 'delete', 'execute')`)
15
15
  await queryRunner.query(`CREATE TYPE "public"."Initiator_type_enum" AS ENUM('user', 'system', 'external')`)
16
16
  await queryRunner.query(`CREATE TYPE "public"."System_correlation_id_type_enum" AS ENUM('did', 'email', 'hostname', 'phone', 'user')`)
17
17
  await queryRunner.query(`CREATE TYPE "public"."Party_correlation_type_enum" AS ENUM('did', 'email', 'hostname', 'phone')`)
18
18
  await queryRunner.query(
19
- `CREATE TABLE "AuditEvents" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "timestamp" TIMESTAMP NOT NULL, "level" "public"."Level_enum" NOT NULL, "correlationId" TEXT NOT NULL, "system" "public"."System_enum" NOT NULL, "subSystemType" "public"."Subsystem_type_enum" NOT NULL, "actionType" "public"."Action_type_enum" NOT NULL, "actionSubType" TEXT NOT NULL, "initiatorType" "public"."Initiator_type_enum" NOT NULL, "systemCorrelationIdType" "public"."System_correlation_id_type_enum", "systemCorrelationId" TEXT, "systemAlias" TEXT, "partyCorrelationType" "public"."Party_correlation_type_enum", "partyCorrelationId" TEXT, "partyAlias" TEXT, "description" TEXT NOT NULL, "data" TEXT, "diagnosticData" TEXT, "created_at" TIMESTAMP NOT NULL DEFAULT now(), "last_updated_at" TIMESTAMP NOT NULL DEFAULT now(), CONSTRAINT "PK_AuditEvents_id" PRIMARY KEY ("id"))`,
19
+ `CREATE TABLE "AuditEvents" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "timestamp" TIMESTAMP NOT NULL, "level" "public"."Level_enum" NOT NULL, "correlationId" TEXT NOT NULL, "system" "public"."System_enum" NOT NULL, "subSystemType" "public"."Subsystem_type_enum" NOT NULL, "actionType" "public"."Action_type_enum" NOT NULL, "actionSubType" TEXT NOT NULL, "initiatorType" "public"."Initiator_type_enum" NOT NULL, "systemCorrelationIdType" "public"."System_correlation_id_type_enum", "systemCorrelationId" TEXT, "systemAlias" TEXT, "partyCorrelationType" "public"."Party_correlation_type_enum", "partyCorrelationId" TEXT, "partyAlias" TEXT, "description" TEXT NOT NULL, "data" TEXT, "diagnosticData" TEXT, "created_at" TIMESTAMP NOT NULL DEFAULT now(), "last_updated_at" TIMESTAMP NOT NULL DEFAULT now(), CONSTRAINT "PK_AuditEvents_id" PRIMARY KEY ("id"))`
20
20
  )
21
21
  }
22
22
 
23
23
  public async down(queryRunner: QueryRunner): Promise<void> {
24
24
  await queryRunner.query(`DROP TABLE "AuditEvents"`)
25
- await queryRunner.query(`DROP TYPE "public"."Party_correlation_type_enum`)
26
- await queryRunner.query(`DROP TYPE "public"."System_correlation_id_type_enum`)
27
- await queryRunner.query(`DROP TYPE "public"."Initiator_type_enum`)
28
- await queryRunner.query(`DROP TYPE "public"."Action_type_enum`)
29
- await queryRunner.query(`DROP TYPE "public"."Subsystem_type_enum`)
30
- await queryRunner.query(`DROP TYPE "public"."System_enum`)
31
- await queryRunner.query(`DROP TYPE "public"."Level_enum`)
25
+ await queryRunner.query(`DROP TYPE "public"."Party_correlation_type_enum"`)
26
+ await queryRunner.query(`DROP TYPE "public"."System_correlation_id_type_enum"`)
27
+ await queryRunner.query(`DROP TYPE "public"."Initiator_type_enum"`)
28
+ await queryRunner.query(`DROP TYPE "public"."Action_type_enum"`)
29
+ await queryRunner.query(`DROP TYPE "public"."Subsystem_type_enum"`)
30
+ await queryRunner.query(`DROP TYPE "public"."System_enum"`)
31
+ await queryRunner.query(`DROP TYPE "public"."Level_enum"`)
32
32
  }
33
33
  }