@sphereon/ssi-sdk.data-store 0.33.0 → 0.33.1-feature.vcdm2.4

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.
Files changed (210) hide show
  1. package/dist/contact/AbstractContactStore.js +1 -5
  2. package/dist/contact/AbstractContactStore.js.map +1 -1
  3. package/dist/contact/ContactStore.js +544 -545
  4. package/dist/contact/ContactStore.js.map +1 -1
  5. package/dist/digitalCredential/AbstractDigitalCredentialStore.js +1 -5
  6. package/dist/digitalCredential/AbstractDigitalCredentialStore.js.map +1 -1
  7. package/dist/digitalCredential/DigitalCredentialStore.js +131 -142
  8. package/dist/digitalCredential/DigitalCredentialStore.js.map +1 -1
  9. package/dist/entities/contact/BaseConfigEntity.js +13 -14
  10. package/dist/entities/contact/BaseConfigEntity.js.map +1 -1
  11. package/dist/entities/contact/BaseContactEntity.js +24 -22
  12. package/dist/entities/contact/BaseContactEntity.js.map +1 -1
  13. package/dist/entities/contact/ConnectionEntity.js +23 -20
  14. package/dist/entities/contact/ConnectionEntity.js.map +1 -1
  15. package/dist/entities/contact/ContactMetadataItemEntity.js +38 -44
  16. package/dist/entities/contact/ContactMetadataItemEntity.js.map +1 -1
  17. package/dist/entities/contact/CorrelationIdentifierEntity.js +34 -42
  18. package/dist/entities/contact/CorrelationIdentifierEntity.js.map +1 -1
  19. package/dist/entities/contact/DidAuthConfigEntity.js +16 -14
  20. package/dist/entities/contact/DidAuthConfigEntity.js.map +1 -1
  21. package/dist/entities/contact/ElectronicAddressEntity.js +42 -47
  22. package/dist/entities/contact/ElectronicAddressEntity.js.map +1 -1
  23. package/dist/entities/contact/IdentityEntity.js +56 -57
  24. package/dist/entities/contact/IdentityEntity.js.map +1 -1
  25. package/dist/entities/contact/IdentityMetadataItemEntity.js +38 -44
  26. package/dist/entities/contact/IdentityMetadataItemEntity.js.map +1 -1
  27. package/dist/entities/contact/NaturalPersonEntity.js +35 -43
  28. package/dist/entities/contact/NaturalPersonEntity.js.map +1 -1
  29. package/dist/entities/contact/OpenIdConfigEntity.js +24 -18
  30. package/dist/entities/contact/OpenIdConfigEntity.js.map +1 -1
  31. package/dist/entities/contact/OrganizationEntity.js +28 -38
  32. package/dist/entities/contact/OrganizationEntity.js.map +1 -1
  33. package/dist/entities/contact/PartyEntity.js +57 -59
  34. package/dist/entities/contact/PartyEntity.js.map +1 -1
  35. package/dist/entities/contact/PartyRelationshipEntity.js +37 -43
  36. package/dist/entities/contact/PartyRelationshipEntity.js.map +1 -1
  37. package/dist/entities/contact/PartyTypeEntity.js +44 -49
  38. package/dist/entities/contact/PartyTypeEntity.js.map +1 -1
  39. package/dist/entities/contact/PhysicalAddressEntity.js +61 -60
  40. package/dist/entities/contact/PhysicalAddressEntity.js.map +1 -1
  41. package/dist/entities/digitalCredential/DigitalCredentialEntity.js +63 -38
  42. package/dist/entities/digitalCredential/DigitalCredentialEntity.js.map +1 -1
  43. package/dist/entities/eventLogger/AuditEventEntity.js +60 -37
  44. package/dist/entities/eventLogger/AuditEventEntity.js.map +1 -1
  45. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js +25 -36
  46. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js.map +1 -1
  47. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js +48 -53
  48. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js.map +1 -1
  49. package/dist/entities/issuanceBranding/CredentialBrandingEntity.js +35 -43
  50. package/dist/entities/issuanceBranding/CredentialBrandingEntity.js.map +1 -1
  51. package/dist/entities/issuanceBranding/CredentialClaimsEntity.js +28 -38
  52. package/dist/entities/issuanceBranding/CredentialClaimsEntity.js.map +1 -1
  53. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js +18 -18
  54. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js.map +1 -1
  55. package/dist/entities/issuanceBranding/ImageAttributesEntity.js +34 -42
  56. package/dist/entities/issuanceBranding/ImageAttributesEntity.js.map +1 -1
  57. package/dist/entities/issuanceBranding/ImageDimensionsEntity.js +11 -11
  58. package/dist/entities/issuanceBranding/ImageDimensionsEntity.js.map +1 -1
  59. package/dist/entities/issuanceBranding/IssuerBrandingEntity.js +31 -40
  60. package/dist/entities/issuanceBranding/IssuerBrandingEntity.js.map +1 -1
  61. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js +27 -24
  62. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js.map +1 -1
  63. package/dist/entities/issuanceBranding/TextAttributesEntity.js +20 -32
  64. package/dist/entities/issuanceBranding/TextAttributesEntity.js.map +1 -1
  65. package/dist/entities/machineState/MachineStateInfoEntity.js +31 -21
  66. package/dist/entities/machineState/MachineStateInfoEntity.js.map +1 -1
  67. package/dist/entities/oid4vcState/Oid4vcStateEntity.js +24 -18
  68. package/dist/entities/oid4vcState/Oid4vcStateEntity.js.map +1 -1
  69. package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.js +34 -27
  70. package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.js.map +1 -1
  71. package/dist/entities/statusList/StatusList2021EntryEntity.js +26 -22
  72. package/dist/entities/statusList/StatusList2021EntryEntity.js.map +1 -1
  73. package/dist/entities/statusList/StatusListEntities.js +48 -39
  74. package/dist/entities/statusList/StatusListEntities.js.map +1 -1
  75. package/dist/entities/validators/index.js +6 -10
  76. package/dist/entities/validators/index.js.map +1 -1
  77. package/dist/eventLogger/AbstractEventLoggerStore.js +1 -5
  78. package/dist/eventLogger/AbstractEventLoggerStore.js.map +1 -1
  79. package/dist/eventLogger/EventLoggerStore.js +50 -65
  80. package/dist/eventLogger/EventLoggerStore.js.map +1 -1
  81. package/dist/index.js +96 -163
  82. package/dist/index.js.map +1 -1
  83. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js +1 -5
  84. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js.map +1 -1
  85. package/dist/issuanceBranding/IssuanceBrandingStore.js +331 -333
  86. package/dist/issuanceBranding/IssuanceBrandingStore.js.map +1 -1
  87. package/dist/machineState/IAbstractMachineStateStore.js +1 -5
  88. package/dist/machineState/IAbstractMachineStateStore.js.map +1 -1
  89. package/dist/machineState/MachineStateStore.js +102 -122
  90. package/dist/machineState/MachineStateStore.js.map +1 -1
  91. package/dist/migrations/generic/1-CreateContacts.js +50 -72
  92. package/dist/migrations/generic/1-CreateContacts.js.map +1 -1
  93. package/dist/migrations/generic/10-CreatePresentationDefinitions.js +50 -72
  94. package/dist/migrations/generic/10-CreatePresentationDefinitions.js.map +1 -1
  95. package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.js +52 -74
  96. package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.js.map +1 -1
  97. package/dist/migrations/generic/2-CreateIssuanceBranding.js +50 -72
  98. package/dist/migrations/generic/2-CreateIssuanceBranding.js.map +1 -1
  99. package/dist/migrations/generic/3-CreateContacts.js +50 -72
  100. package/dist/migrations/generic/3-CreateContacts.js.map +1 -1
  101. package/dist/migrations/generic/4-CreateStatusList.js +56 -78
  102. package/dist/migrations/generic/4-CreateStatusList.js.map +1 -1
  103. package/dist/migrations/generic/5-CreateAuditEvents.js +50 -72
  104. package/dist/migrations/generic/5-CreateAuditEvents.js.map +1 -1
  105. package/dist/migrations/generic/6-CreateDigitalCredential.js +50 -72
  106. package/dist/migrations/generic/6-CreateDigitalCredential.js.map +1 -1
  107. package/dist/migrations/generic/7-CreateMachineStateStore.js +50 -72
  108. package/dist/migrations/generic/7-CreateMachineStateStore.js.map +1 -1
  109. package/dist/migrations/generic/8-CreateContacts.js +50 -72
  110. package/dist/migrations/generic/8-CreateContacts.js.map +1 -1
  111. package/dist/migrations/generic/9-CreateContacts.js +50 -72
  112. package/dist/migrations/generic/9-CreateContacts.js.map +1 -1
  113. package/dist/migrations/generic/index.js +30 -33
  114. package/dist/migrations/generic/index.js.map +1 -1
  115. package/dist/migrations/index.js +1 -12
  116. package/dist/migrations/index.js.map +1 -1
  117. package/dist/migrations/internal-migrations-ormconfig.js +6 -8
  118. package/dist/migrations/internal-migrations-ormconfig.js.map +1 -1
  119. package/dist/migrations/postgres/1659463079428-CreateContacts.js +34 -53
  120. package/dist/migrations/postgres/1659463079428-CreateContacts.js.map +1 -1
  121. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js +50 -69
  122. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js.map +1 -1
  123. package/dist/migrations/postgres/1690925872592-CreateContacts.js +87 -106
  124. package/dist/migrations/postgres/1690925872592-CreateContacts.js.map +1 -1
  125. package/dist/migrations/postgres/1693866470001-CreateStatusList.js +16 -35
  126. package/dist/migrations/postgres/1693866470001-CreateStatusList.js.map +1 -1
  127. package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js +22 -41
  128. package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js.map +1 -1
  129. package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.js +19 -38
  130. package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.js.map +1 -1
  131. package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.js +6 -25
  132. package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.js.map +1 -1
  133. package/dist/migrations/postgres/1710438363001-CreateContacts.js +40 -59
  134. package/dist/migrations/postgres/1710438363001-CreateContacts.js.map +1 -1
  135. package/dist/migrations/postgres/1715761125001-CreateContacts.js +18 -37
  136. package/dist/migrations/postgres/1715761125001-CreateContacts.js.map +1 -1
  137. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js +6 -25
  138. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js.map +1 -1
  139. package/dist/migrations/postgres/1737110469001-UpdateStatusList.js +16 -35
  140. package/dist/migrations/postgres/1737110469001-UpdateStatusList.js.map +1 -1
  141. package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.js +8 -27
  142. package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.js.map +1 -1
  143. package/dist/migrations/sqlite/1659463069549-CreateContacts.js +56 -75
  144. package/dist/migrations/sqlite/1659463069549-CreateContacts.js.map +1 -1
  145. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js +70 -89
  146. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js.map +1 -1
  147. package/dist/migrations/sqlite/1690925872693-CreateContacts.js +120 -139
  148. package/dist/migrations/sqlite/1690925872693-CreateContacts.js.map +1 -1
  149. package/dist/migrations/sqlite/1693866470000-CreateStatusList.js +12 -31
  150. package/dist/migrations/sqlite/1693866470000-CreateStatusList.js.map +1 -1
  151. package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js +6 -25
  152. package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js.map +1 -1
  153. package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.js +7 -26
  154. package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.js.map +1 -1
  155. package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.js +6 -25
  156. package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.js.map +1 -1
  157. package/dist/migrations/sqlite/1710438363002-CreateContacts.js +43 -62
  158. package/dist/migrations/sqlite/1710438363002-CreateContacts.js.map +1 -1
  159. package/dist/migrations/sqlite/1715761125002-CreateContacts.js +18 -37
  160. package/dist/migrations/sqlite/1715761125002-CreateContacts.js.map +1 -1
  161. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js +6 -25
  162. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js.map +1 -1
  163. package/dist/migrations/sqlite/1737110469000-UpdateStatusList.js +20 -39
  164. package/dist/migrations/sqlite/1737110469000-UpdateStatusList.js.map +1 -1
  165. package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.js +25 -44
  166. package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.js.map +1 -1
  167. package/dist/presentationDefinition/AbstractPDStore.js +1 -5
  168. package/dist/presentationDefinition/AbstractPDStore.js.map +1 -1
  169. package/dist/presentationDefinition/PDStore.js +114 -123
  170. package/dist/presentationDefinition/PDStore.js.map +1 -1
  171. package/dist/statusList/IStatusListStore.js +1 -2
  172. package/dist/statusList/StatusListStore.js +196 -225
  173. package/dist/statusList/StatusListStore.js.map +1 -1
  174. package/dist/types/contact/IAbstractContactStore.js +1 -2
  175. package/dist/types/contact/contact.js +10 -13
  176. package/dist/types/contact/contact.js.map +1 -1
  177. package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.js +1 -2
  178. package/dist/types/digitalCredential/digitalCredential.js +13 -16
  179. package/dist/types/digitalCredential/digitalCredential.js.map +1 -1
  180. package/dist/types/eventLogger/IAbstractEventLoggerStore.js +1 -2
  181. package/dist/types/eventLogger/eventLogger.js +1 -2
  182. package/dist/types/index.js +14 -30
  183. package/dist/types/index.js.map +1 -1
  184. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js +1 -2
  185. package/dist/types/issuanceBranding/issuanceBranding.js +1 -2
  186. package/dist/types/machineState/IAbstractMachineStateStore.js +1 -2
  187. package/dist/types/presentationDefinition/IAbstractPDStore.js +1 -2
  188. package/dist/types/presentationDefinition/presentationDefinition.js +1 -2
  189. package/dist/types/statusList/IAbstractStatusListStore.js +1 -2
  190. package/dist/types/statusList/statusList.js +1 -2
  191. package/dist/types/validation/validation.js +1 -2
  192. package/dist/utils/FormattingUtils.js +3 -7
  193. package/dist/utils/FormattingUtils.js.map +1 -1
  194. package/dist/utils/SortingUtils.js +1 -5
  195. package/dist/utils/SortingUtils.js.map +1 -1
  196. package/dist/utils/ValidatorUtils.js +2 -6
  197. package/dist/utils/ValidatorUtils.js.map +1 -1
  198. package/dist/utils/contact/MappingUtils.js +124 -150
  199. package/dist/utils/contact/MappingUtils.js.map +1 -1
  200. package/dist/utils/digitalCredential/MappingUtils.js +50 -47
  201. package/dist/utils/digitalCredential/MappingUtils.js.map +1 -1
  202. package/dist/utils/eventLogger/MappingUtils.js +60 -22
  203. package/dist/utils/eventLogger/MappingUtils.js.map +1 -1
  204. package/dist/utils/issuanceBranding/MappingUtils.js +71 -77
  205. package/dist/utils/issuanceBranding/MappingUtils.js.map +1 -1
  206. package/dist/utils/presentationDefinition/MappingUtils.js +9 -15
  207. package/dist/utils/presentationDefinition/MappingUtils.js.map +1 -1
  208. package/dist/utils/statusList/MappingUtils.js +27 -22
  209. package/dist/utils/statusList/MappingUtils.js.map +1 -1
  210. package/package.json +5 -5
@@ -1,22 +1,7 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateMachineStateStore1708796002272 = void 0;
13
- class CreateMachineStateStore1708796002272 {
14
- constructor() {
15
- this.name = 'CreateMachineStateStore1708796002272';
16
- }
17
- up(queryRunner) {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- yield queryRunner.query(`
1
+ export class CreateMachineStateStore1708796002272 {
2
+ name = 'CreateMachineStateStore1708796002272';
3
+ async up(queryRunner) {
4
+ await queryRunner.query(`
20
5
  CREATE TABLE "MachineStateInfoEntity" (
21
6
  "instance_id" varchar PRIMARY KEY NOT NULL,
22
7
  "session_id" varchar,
@@ -32,13 +17,9 @@ class CreateMachineStateStore1708796002272 {
32
17
  "tenant_id" varchar
33
18
  )
34
19
  `);
35
- });
36
20
  }
37
- down(queryRunner) {
38
- return __awaiter(this, void 0, void 0, function* () {
39
- yield queryRunner.query(`DROP TABLE "MachineStateInfoEntity"`);
40
- });
21
+ async down(queryRunner) {
22
+ await queryRunner.query(`DROP TABLE "MachineStateInfoEntity"`);
41
23
  }
42
24
  }
43
- exports.CreateMachineStateStore1708796002272 = CreateMachineStateStore1708796002272;
44
25
  //# sourceMappingURL=1708796002272-CreateMachineStateStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1708796002272-CreateMachineStateStore.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1708796002272-CreateMachineStateStore.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,oCAAoC;IAAjD;QACE,SAAI,GAAG,sCAAsC,CAAA;IAwB/C,CAAC;IAtBc,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;SAenB,CAAC,CAAA;QACR,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,MAAM,WAAW,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAA;QAChE,CAAC;KAAA;CACF;AAzBD,oFAyBC"}
1
+ {"version":3,"file":"1708796002272-CreateMachineStateStore.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1708796002272-CreateMachineStateStore.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,oCAAoC;IAC/C,IAAI,GAAG,sCAAsC,CAAA;IAEtC,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;SAenB,CAAC,CAAA;IACR,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACxC,MAAM,WAAW,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAA;IAChE,CAAC;CACF"}
@@ -1,25 +1,10 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateContacts1710438363002 = void 0;
13
- class CreateContacts1710438363002 {
14
- constructor() {
15
- this.name = 'CreateContacts1710438363002';
16
- }
17
- up(queryRunner) {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- yield queryRunner.query(`ALTER TABLE "Party" ADD COLUMN "owner_id" text`);
20
- yield queryRunner.query(`ALTER TABLE "Party" ADD COLUMN "tenant_id" text`);
21
- // Add owner_id, tenant_id & origin
22
- yield queryRunner.query(`CREATE TABLE "temporary_Identity" (
1
+ export class CreateContacts1710438363002 {
2
+ name = 'CreateContacts1710438363002';
3
+ async up(queryRunner) {
4
+ await queryRunner.query(`ALTER TABLE "Party" ADD COLUMN "owner_id" text`);
5
+ await queryRunner.query(`ALTER TABLE "Party" ADD COLUMN "tenant_id" text`);
6
+ // Add owner_id, tenant_id & origin
7
+ await queryRunner.query(`CREATE TABLE "temporary_Identity" (
23
8
  "id" varchar PRIMARY KEY NOT NULL,
24
9
  "alias" varchar(255) NOT NULL,
25
10
  "roles" text NOT NULL,
@@ -32,48 +17,44 @@ class CreateContacts1710438363002 {
32
17
  CONSTRAINT "UQ_Identity_alias" UNIQUE ("alias"),
33
18
  CONSTRAINT "FK_Identity_partyId" FOREIGN KEY ("partyId") REFERENCES "Party" ("id") ON DELETE CASCADE ON UPDATE NO ACTION
34
19
  )`);
35
- yield queryRunner.query(`INSERT INTO "temporary_Identity"("id", "alias", "roles", "created_at", "last_updated_at", "partyId", "owner_id", "tenant_id", "origin")
20
+ await queryRunner.query(`INSERT INTO "temporary_Identity"("id", "alias", "roles", "created_at", "last_updated_at", "partyId", "owner_id", "tenant_id", "origin")
36
21
  SELECT "id", "alias", "roles", 'EXTERNAL' as "origin", "created_at", "last_updated_at", "partyId", NULL as "owner_id", NULL as "tenant_id" FROM "Identity"`);
37
- yield queryRunner.query(`DROP TABLE "Identity"`);
38
- yield queryRunner.query(`ALTER TABLE "temporary_Identity" RENAME TO "Identity"`);
39
- yield queryRunner.query(`ALTER TABLE "CorrelationIdentifier" ADD COLUMN "owner_id" text`);
40
- yield queryRunner.query(`ALTER TABLE "CorrelationIdentifier" ADD COLUMN "tenant_id" text`);
41
- yield queryRunner.query(`ALTER TABLE "Connection" ADD COLUMN "owner_id" text`);
42
- yield queryRunner.query(`ALTER TABLE "Connection" ADD COLUMN "tenant_id" text`);
43
- yield queryRunner.query(`ALTER TABLE "BaseConfig" ADD COLUMN "owner_id" text`);
44
- yield queryRunner.query(`ALTER TABLE "BaseConfig" ADD COLUMN "tenant_id" text`);
45
- yield queryRunner.query(`ALTER TABLE "BaseContact" ADD COLUMN "owner_id" text`);
46
- yield queryRunner.query(`ALTER TABLE "BaseContact" ADD COLUMN "tenant_id" text`);
47
- yield queryRunner.query(`ALTER TABLE "PartyRelationship" ADD COLUMN "owner_id" text`);
48
- yield queryRunner.query(`ALTER TABLE "PartyRelationship" ADD COLUMN "tenant_id" text`);
49
- yield queryRunner.query(`ALTER TABLE "ElectronicAddress" ADD COLUMN "owner_id" text`);
50
- yield queryRunner.query(`ALTER TABLE "ElectronicAddress" ADD COLUMN "tenant_id" text`);
51
- yield queryRunner.query(`ALTER TABLE "PhysicalAddress" ADD COLUMN "owner_id" text`);
52
- yield queryRunner.query(`ALTER TABLE "PhysicalAddress" ADD COLUMN "tenant_id" text`);
53
- });
22
+ await queryRunner.query(`DROP TABLE "Identity"`);
23
+ await queryRunner.query(`ALTER TABLE "temporary_Identity" RENAME TO "Identity"`);
24
+ await queryRunner.query(`ALTER TABLE "CorrelationIdentifier" ADD COLUMN "owner_id" text`);
25
+ await queryRunner.query(`ALTER TABLE "CorrelationIdentifier" ADD COLUMN "tenant_id" text`);
26
+ await queryRunner.query(`ALTER TABLE "Connection" ADD COLUMN "owner_id" text`);
27
+ await queryRunner.query(`ALTER TABLE "Connection" ADD COLUMN "tenant_id" text`);
28
+ await queryRunner.query(`ALTER TABLE "BaseConfig" ADD COLUMN "owner_id" text`);
29
+ await queryRunner.query(`ALTER TABLE "BaseConfig" ADD COLUMN "tenant_id" text`);
30
+ await queryRunner.query(`ALTER TABLE "BaseContact" ADD COLUMN "owner_id" text`);
31
+ await queryRunner.query(`ALTER TABLE "BaseContact" ADD COLUMN "tenant_id" text`);
32
+ await queryRunner.query(`ALTER TABLE "PartyRelationship" ADD COLUMN "owner_id" text`);
33
+ await queryRunner.query(`ALTER TABLE "PartyRelationship" ADD COLUMN "tenant_id" text`);
34
+ await queryRunner.query(`ALTER TABLE "ElectronicAddress" ADD COLUMN "owner_id" text`);
35
+ await queryRunner.query(`ALTER TABLE "ElectronicAddress" ADD COLUMN "tenant_id" text`);
36
+ await queryRunner.query(`ALTER TABLE "PhysicalAddress" ADD COLUMN "owner_id" text`);
37
+ await queryRunner.query(`ALTER TABLE "PhysicalAddress" ADD COLUMN "tenant_id" text`);
54
38
  }
55
- down(queryRunner) {
56
- return __awaiter(this, void 0, void 0, function* () {
57
- yield queryRunner.query(`ALTER TABLE "PhysicalAddress" DROP COLUMN "tenant_id"`);
58
- yield queryRunner.query(`ALTER TABLE "PhysicalAddress" DROP COLUMN "owner_id"`);
59
- yield queryRunner.query(`ALTER TABLE "ElectronicAddress" DROP COLUMN "tenant_id"`);
60
- yield queryRunner.query(`ALTER TABLE "ElectronicAddress" DROP COLUMN "owner_id"`);
61
- yield queryRunner.query(`ALTER TABLE "PartyRelationship" DROP COLUMN "tenant_id"`);
62
- yield queryRunner.query(`ALTER TABLE "PartyRelationship" DROP COLUMN "owner_id"`);
63
- yield queryRunner.query(`ALTER TABLE "BaseContact" DROP COLUMN "tenant_id"`);
64
- yield queryRunner.query(`ALTER TABLE "BaseContact" DROP COLUMN "owner_id"`);
65
- yield queryRunner.query(`ALTER TABLE "BaseConfig" DROP COLUMN "tenant_id"`);
66
- yield queryRunner.query(`ALTER TABLE "BaseConfig" DROP COLUMN "owner_id"`);
67
- yield queryRunner.query(`ALTER TABLE "Connection" DROP COLUMN "tenant_id"`);
68
- yield queryRunner.query(`ALTER TABLE "Connection" DROP COLUMN "owner_id"`);
69
- yield queryRunner.query(`ALTER TABLE "CorrelationIdentifier" DROP COLUMN "tenant_id"`);
70
- yield queryRunner.query(`ALTER TABLE "CorrelationIdentifier" DROP COLUMN "owner_id"`);
71
- yield queryRunner.query(`ALTER TABLE "Identity" DROP COLUMN "tenant_id"`);
72
- yield queryRunner.query(`ALTER TABLE "Identity" DROP COLUMN "owner_id"`);
73
- yield queryRunner.query(`ALTER TABLE "Party" DROP COLUMN "tenant_id"`);
74
- yield queryRunner.query(`ALTER TABLE "Party" DROP COLUMN "owner_id"`);
75
- });
39
+ async down(queryRunner) {
40
+ await queryRunner.query(`ALTER TABLE "PhysicalAddress" DROP COLUMN "tenant_id"`);
41
+ await queryRunner.query(`ALTER TABLE "PhysicalAddress" DROP COLUMN "owner_id"`);
42
+ await queryRunner.query(`ALTER TABLE "ElectronicAddress" DROP COLUMN "tenant_id"`);
43
+ await queryRunner.query(`ALTER TABLE "ElectronicAddress" DROP COLUMN "owner_id"`);
44
+ await queryRunner.query(`ALTER TABLE "PartyRelationship" DROP COLUMN "tenant_id"`);
45
+ await queryRunner.query(`ALTER TABLE "PartyRelationship" DROP COLUMN "owner_id"`);
46
+ await queryRunner.query(`ALTER TABLE "BaseContact" DROP COLUMN "tenant_id"`);
47
+ await queryRunner.query(`ALTER TABLE "BaseContact" DROP COLUMN "owner_id"`);
48
+ await queryRunner.query(`ALTER TABLE "BaseConfig" DROP COLUMN "tenant_id"`);
49
+ await queryRunner.query(`ALTER TABLE "BaseConfig" DROP COLUMN "owner_id"`);
50
+ await queryRunner.query(`ALTER TABLE "Connection" DROP COLUMN "tenant_id"`);
51
+ await queryRunner.query(`ALTER TABLE "Connection" DROP COLUMN "owner_id"`);
52
+ await queryRunner.query(`ALTER TABLE "CorrelationIdentifier" DROP COLUMN "tenant_id"`);
53
+ await queryRunner.query(`ALTER TABLE "CorrelationIdentifier" DROP COLUMN "owner_id"`);
54
+ await queryRunner.query(`ALTER TABLE "Identity" DROP COLUMN "tenant_id"`);
55
+ await queryRunner.query(`ALTER TABLE "Identity" DROP COLUMN "owner_id"`);
56
+ await queryRunner.query(`ALTER TABLE "Party" DROP COLUMN "tenant_id"`);
57
+ await queryRunner.query(`ALTER TABLE "Party" DROP COLUMN "owner_id"`);
76
58
  }
77
59
  }
78
- exports.CreateContacts1710438363002 = CreateContacts1710438363002;
79
60
  //# sourceMappingURL=1710438363002-CreateContacts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1710438363002-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1710438363002-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;IA+EtC,CAAC;IA7Ec,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAA;YACzE,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;YAE1E,mCAAmC;YACnC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;;;WAYK,CACN,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB;oKAC8J,CAC/J,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;YAChD,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAA;YAEhF,MAAM,WAAW,CAAC,KAAK,CAAC,gEAAgE,CAAC,CAAA;YACzF,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAA;YAE1F,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAA;YAC9E,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;YAE/E,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAA;YAC9E,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;YAE/E,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;YAC/E,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAA;YAEhF,MAAM,WAAW,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAA;YACrF,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAA;YAEtF,MAAM,WAAW,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAA;YACrF,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAA;YAEtF,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAA;YACnF,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAA;QACtF,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAA;YAChF,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;YAE/E,MAAM,WAAW,CAAC,KAAK,CAAC,yDAAyD,CAAC,CAAA;YAClF,MAAM,WAAW,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAA;YAEjF,MAAM,WAAW,CAAC,KAAK,CAAC,yDAAyD,CAAC,CAAA;YAClF,MAAM,WAAW,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAA;YAEjF,MAAM,WAAW,CAAC,KAAK,CAAC,mDAAmD,CAAC,CAAA;YAC5E,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;YAE3E,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;YAC3E,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;YAE1E,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;YAC3E,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;YAE1E,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAA;YACtF,MAAM,WAAW,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAA;YAErF,MAAM,WAAW,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAA;YACzE,MAAM,WAAW,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAA;YAExE,MAAM,WAAW,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAA;YACtE,MAAM,WAAW,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAA;QACvE,CAAC;KAAA;CACF;AAhFD,kEAgFC"}
1
+ {"version":3,"file":"1710438363002-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1710438363002-CreateContacts.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,2BAA2B;IACtC,IAAI,GAAG,6BAA6B,CAAA;IAE7B,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAA;QACzE,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;QAE1E,mCAAmC;QACnC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;;;WAYK,CACN,CAAA;QACD,MAAM,WAAW,CAAC,KAAK,CACrB;oKAC8J,CAC/J,CAAA;QACD,MAAM,WAAW,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;QAChD,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAA;QAEhF,MAAM,WAAW,CAAC,KAAK,CAAC,gEAAgE,CAAC,CAAA;QACzF,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAA;QAE1F,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAA;QAC9E,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;QAE/E,MAAM,WAAW,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAA;QAC9E,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;QAE/E,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;QAC/E,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAA;QAEhF,MAAM,WAAW,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAA;QACrF,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAA;QAEtF,MAAM,WAAW,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAA;QACrF,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAA;QAEtF,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAA;QACnF,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAA;IACtF,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACxC,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAA;QAChF,MAAM,WAAW,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAA;QAE/E,MAAM,WAAW,CAAC,KAAK,CAAC,yDAAyD,CAAC,CAAA;QAClF,MAAM,WAAW,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAA;QAEjF,MAAM,WAAW,CAAC,KAAK,CAAC,yDAAyD,CAAC,CAAA;QAClF,MAAM,WAAW,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAA;QAEjF,MAAM,WAAW,CAAC,KAAK,CAAC,mDAAmD,CAAC,CAAA;QAC5E,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;QAE3E,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;QAC3E,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;QAE1E,MAAM,WAAW,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;QAC3E,MAAM,WAAW,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;QAE1E,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAA;QACtF,MAAM,WAAW,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAA;QAErF,MAAM,WAAW,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAA;QACzE,MAAM,WAAW,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAA;QAExE,MAAM,WAAW,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAA;QACtE,MAAM,WAAW,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAA;IACvE,CAAC;CACF"}
@@ -1,24 +1,9 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateContacts1715761125002 = void 0;
13
- class CreateContacts1715761125002 {
14
- constructor() {
15
- this.name = 'CreateContacts1715761125002';
16
- }
17
- up(queryRunner) {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- // Upgrade IdentityMetadata table
20
- yield queryRunner.query(`ALTER TABLE "IdentityMetadata" RENAME TO "temporary_IdentityMetadata"`);
21
- yield queryRunner.query(`CREATE TABLE "IdentityMetadata"
1
+ export class CreateContacts1715761125002 {
2
+ name = 'CreateContacts1715761125002';
3
+ async up(queryRunner) {
4
+ // Upgrade IdentityMetadata table
5
+ await queryRunner.query(`ALTER TABLE "IdentityMetadata" RENAME TO "temporary_IdentityMetadata"`);
6
+ await queryRunner.query(`CREATE TABLE "IdentityMetadata"
22
7
  (
23
8
  "id" varchar PRIMARY KEY NOT NULL,
24
9
  "label" varchar(255) NOT NULL,
@@ -29,13 +14,13 @@ class CreateContacts1715761125002 {
29
14
  "boolValue" boolean,
30
15
  "identityId" varchar,
31
16
  FOREIGN KEY ("identityId") REFERENCES "Identity" ("id") ON DELETE CASCADE)`);
32
- yield queryRunner.query(`INSERT INTO "IdentityMetadata" ("id", "label", "valueType", "stringValue", "identityId")
17
+ await queryRunner.query(`INSERT INTO "IdentityMetadata" ("id", "label", "valueType", "stringValue", "identityId")
33
18
  SELECT "id", "label", 'string', "value", "identityId"
34
19
  FROM "temporary_IdentityMetadata"
35
20
  `);
36
- yield queryRunner.query(`DROP TABLE "temporary_IdentityMetadata"`);
37
- // Create new ContactMetadata table
38
- yield queryRunner.query(`CREATE TABLE "ContactMetadata"
21
+ await queryRunner.query(`DROP TABLE "temporary_IdentityMetadata"`);
22
+ // Create new ContactMetadata table
23
+ await queryRunner.query(`CREATE TABLE "ContactMetadata"
39
24
  (
40
25
  "id" varchar PRIMARY KEY NOT NULL,
41
26
  "label" varchar(255) NOT NULL,
@@ -46,15 +31,13 @@ class CreateContacts1715761125002 {
46
31
  "boolValue" boolean,
47
32
  "contactId" varchar,
48
33
  FOREIGN KEY ("contactId") REFERENCES "BaseContact" ("id") ON DELETE CASCADE)`);
49
- });
50
34
  }
51
- down(queryRunner) {
52
- return __awaiter(this, void 0, void 0, function* () {
53
- // Drop the ContactMetadata table
54
- yield queryRunner.query(`DROP TABLE "ContactMetadata"`);
55
- // Restore the IdentityMetadata table
56
- yield queryRunner.query(`ALTER TABLE "IdentityMetadata" RENAME TO "temporary_IdentityMetadata"`);
57
- yield queryRunner.query(`CREATE TABLE "IdentityMetadata"
35
+ async down(queryRunner) {
36
+ // Drop the ContactMetadata table
37
+ await queryRunner.query(`DROP TABLE "ContactMetadata"`);
38
+ // Restore the IdentityMetadata table
39
+ await queryRunner.query(`ALTER TABLE "IdentityMetadata" RENAME TO "temporary_IdentityMetadata"`);
40
+ await queryRunner.query(`CREATE TABLE "IdentityMetadata"
58
41
  (
59
42
  "id" varchar PRIMARY KEY NOT NULL,
60
43
  "label" varchar(255) NOT NULL,
@@ -62,12 +45,10 @@ class CreateContacts1715761125002 {
62
45
  "identityId" varchar,
63
46
  FOREIGN KEY ("identityId") REFERENCES "Identity" ("id") ON DELETE CASCADE
64
47
  )`);
65
- yield queryRunner.query(`INSERT INTO "IdentityMetadata" ("id", "label", "value", "identityId")
48
+ await queryRunner.query(`INSERT INTO "IdentityMetadata" ("id", "label", "value", "identityId")
66
49
  SELECT "id", "label", "stringValue", "identityId"
67
50
  FROM "temporary_IdentityMetadata"`);
68
- yield queryRunner.query(`DROP TABLE "temporary_IdentityMetadata"`);
69
- });
51
+ await queryRunner.query(`DROP TABLE "temporary_IdentityMetadata"`);
70
52
  }
71
53
  }
72
- exports.CreateContacts1715761125002 = CreateContacts1715761125002;
73
54
  //# sourceMappingURL=1715761125002-CreateContacts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1715761125002-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1715761125002-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;IAuDtC,CAAC;IArDc,EAAE,CAAC,WAAwB;;YACtC,iCAAiC;YACjC,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAA;YAChG,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;4GAUgF,CAAC,CAAA;YACzG,MAAM,WAAW,CAAC,KAAK,CAAC;;;SAGnB,CAAC,CAAA;YACN,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;YAElE,mCAAmC;YACnC,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;kHAUsF,CAAC,CAAA;QACjH,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,iCAAiC;YACjC,MAAM,WAAW,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAA;YAEvD,qCAAqC;YACrC,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAA;YAChG,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;mCAOO,CAAC,CAAA;YAChC,MAAM,WAAW,CAAC,KAAK,CAAC;;mEAEuC,CAAC,CAAA;YAChE,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;QACpE,CAAC;KAAA;CACF;AAxDD,kEAwDC"}
1
+ {"version":3,"file":"1715761125002-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1715761125002-CreateContacts.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,2BAA2B;IACtC,IAAI,GAAG,6BAA6B,CAAA;IAE7B,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,iCAAiC;QACjC,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAA;QAChG,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;4GAUgF,CAAC,CAAA;QACzG,MAAM,WAAW,CAAC,KAAK,CAAC;;;SAGnB,CAAC,CAAA;QACN,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;QAElE,mCAAmC;QACnC,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;kHAUsF,CAAC,CAAA;IACjH,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACxC,iCAAiC;QACjC,MAAM,WAAW,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAA;QAEvD,qCAAqC;QACrC,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAA;QAChG,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;mCAOO,CAAC,CAAA;QAChC,MAAM,WAAW,CAAC,KAAK,CAAC;;mEAEuC,CAAC,CAAA;QAChE,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;IACpE,CAAC;CACF"}
@@ -1,22 +1,7 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreatePresentationDefinitions1716475165344 = void 0;
13
- class CreatePresentationDefinitions1716475165344 {
14
- constructor() {
15
- this.name = 'CreatePresentationDefinitions1716475165344';
16
- }
17
- up(queryRunner) {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- yield queryRunner.query(`CREATE TABLE "PresentationDefinitionItem" (
1
+ export class CreatePresentationDefinitions1716475165344 {
2
+ name = 'CreatePresentationDefinitions1716475165344';
3
+ async up(queryRunner) {
4
+ await queryRunner.query(`CREATE TABLE "PresentationDefinitionItem" (
20
5
  "id" varchar PRIMARY KEY NOT NULL,
21
6
  "tenant_id" varchar,
22
7
  "definition_id" varchar NOT NULL,
@@ -27,13 +12,9 @@ class CreatePresentationDefinitions1716475165344 {
27
12
  "dcql_payload" varchar,
28
13
  "created_at" datetime NOT NULL DEFAULT (datetime('now')),
29
14
  "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')))`);
30
- });
31
15
  }
32
- down(queryRunner) {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- yield queryRunner.query(`DROP TABLE "PresentationDefinitionItem"`);
35
- });
16
+ async down(queryRunner) {
17
+ await queryRunner.query(`DROP TABLE "PresentationDefinitionItem"`);
36
18
  }
37
19
  }
38
- exports.CreatePresentationDefinitions1716475165344 = CreatePresentationDefinitions1716475165344;
39
20
  //# sourceMappingURL=1716475165344-CreatePresentationDefinitions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1716475165344-CreatePresentationDefinitions.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1716475165344-CreatePresentationDefinitions.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,0CAA0C;IAAvD;QACE,SAAI,GAAG,4CAA4C,CAAA;IAqBrD,CAAC;IAnBc,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;mEAU6D,CAC9D,CAAA;QACH,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;QACpE,CAAC;KAAA;CACF;AAtBD,gGAsBC"}
1
+ {"version":3,"file":"1716475165344-CreatePresentationDefinitions.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1716475165344-CreatePresentationDefinitions.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,0CAA0C;IACrD,IAAI,GAAG,4CAA4C,CAAA;IAE5C,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;mEAU6D,CAC9D,CAAA;IACH,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACxC,MAAM,WAAW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;IACpE,CAAC;CACF"}
@@ -1,23 +1,8 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateStatusList1737110469000 = void 0;
13
- class UpdateStatusList1737110469000 {
14
- constructor() {
15
- this.name = 'UpdateStatusList1737110469000';
16
- }
17
- up(queryRunner) {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- // Create temporary table with new schema
20
- yield queryRunner.query(`CREATE TABLE "temporary_StatusList" (
1
+ export class UpdateStatusList1737110469000 {
2
+ name = 'UpdateStatusList1737110469000';
3
+ async up(queryRunner) {
4
+ // Create temporary table with new schema
5
+ await queryRunner.query(`CREATE TABLE "temporary_StatusList" (
21
6
  "id" varchar PRIMARY KEY NOT NULL,
22
7
  "correlationId" varchar NOT NULL,
23
8
  "length" integer NOT NULL,
@@ -33,8 +18,8 @@ class UpdateStatusList1737110469000 {
33
18
  "expiresAt" datetime,
34
19
  CONSTRAINT "UQ_correlationId" UNIQUE ("correlationId")
35
20
  )`);
36
- // Copy data from old table to temporary table
37
- yield queryRunner.query(`INSERT INTO "temporary_StatusList"(
21
+ // Copy data from old table to temporary table
22
+ await queryRunner.query(`INSERT INTO "temporary_StatusList"(
38
23
  "id", "correlationId", "length", "issuer", "type", "driverType",
39
24
  "credentialIdMode", "proofFormat", "indexingDirection", "statusPurpose",
40
25
  "statusListCredential"
@@ -44,23 +29,21 @@ class UpdateStatusList1737110469000 {
44
29
  "credentialIdMode", "proofFormat", "indexingDirection", "statusPurpose",
45
30
  "statusListCredential"
46
31
  FROM "StatusList"`);
47
- // Drop old table and rename temporary table
48
- yield queryRunner.query(`DROP TABLE "StatusList"`);
49
- yield queryRunner.query(`ALTER TABLE "temporary_StatusList" RENAME TO "StatusList"`);
50
- });
32
+ // Drop old table and rename temporary table
33
+ await queryRunner.query(`DROP TABLE "StatusList"`);
34
+ await queryRunner.query(`ALTER TABLE "temporary_StatusList" RENAME TO "StatusList"`);
51
35
  }
52
- down(queryRunner) {
53
- return __awaiter(this, void 0, void 0, function* () {
54
- yield queryRunner.query(`
36
+ async down(queryRunner) {
37
+ await queryRunner.query(`
55
38
  ALTER TABLE "StatusListEntry"
56
39
  RENAME COLUMN "entryCorrelationId" TO "correlationId"
57
40
  `);
58
- yield queryRunner.query(`
41
+ await queryRunner.query(`
59
42
  ALTER TABLE "StatusListEntry"
60
43
  DROP COLUMN "statusListCorrelationId"
61
44
  `);
62
- // Create temporary table with old schema
63
- yield queryRunner.query(`CREATE TABLE "temporary_StatusList" (
45
+ // Create temporary table with old schema
46
+ await queryRunner.query(`CREATE TABLE "temporary_StatusList" (
64
47
  "id" varchar PRIMARY KEY NOT NULL,
65
48
  "correlationId" varchar NOT NULL,
66
49
  "length" integer NOT NULL,
@@ -74,8 +57,8 @@ class UpdateStatusList1737110469000 {
74
57
  "statusListCredential" text,
75
58
  CONSTRAINT "UQ_correlationId" UNIQUE ("correlationId")
76
59
  )`);
77
- // Copy data back, excluding new columns
78
- yield queryRunner.query(`INSERT INTO "temporary_StatusList"(
60
+ // Copy data back, excluding new columns
61
+ await queryRunner.query(`INSERT INTO "temporary_StatusList"(
79
62
  "id", "correlationId", "length", "issuer", "type", "driverType",
80
63
  "credentialIdMode", "proofFormat", "indexingDirection", "statusPurpose",
81
64
  "statusListCredential"
@@ -86,11 +69,9 @@ class UpdateStatusList1737110469000 {
86
69
  "driverType", "credentialIdMode", "proofFormat", "indexingDirection",
87
70
  COALESCE("statusPurpose", 'revocation'), "statusListCredential"
88
71
  FROM "StatusList"`);
89
- // Drop new table and rename temporary table back
90
- yield queryRunner.query(`DROP TABLE "StatusList"`);
91
- yield queryRunner.query(`ALTER TABLE "temporary_StatusList" RENAME TO "StatusList"`);
92
- });
72
+ // Drop new table and rename temporary table back
73
+ await queryRunner.query(`DROP TABLE "StatusList"`);
74
+ await queryRunner.query(`ALTER TABLE "temporary_StatusList" RENAME TO "StatusList"`);
93
75
  }
94
76
  }
95
- exports.UpdateStatusList1737110469000 = UpdateStatusList1737110469000;
96
77
  //# sourceMappingURL=1737110469000-UpdateStatusList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1737110469000-UpdateStatusList.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1737110469000-UpdateStatusList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,6BAA6B;IAA1C;QACE,SAAI,GAAG,+BAA+B,CAAA;IA0FxC,CAAC;IAxFc,EAAE,CAAC,WAAwB;;YACtC,yCAAyC;YACzC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;;;;;;cAeQ,CACT,CAAA;YAED,8CAA8C;YAC9C,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;8BASwB,CACzB,CAAA;YAED,4CAA4C;YAC5C,MAAM,WAAW,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAA;YAClD,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAA;QACtF,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,MAAM,WAAW,CAAC,KAAK,CAAC;;;IAGxB,CAAC,CAAA;YAED,MAAM,WAAW,CAAC,KAAK,CAAC;;;IAGxB,CAAC,CAAA;YAED,yCAAyC;YACzC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;;;;cAaQ,CACT,CAAA;YAED,wCAAwC;YACxC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;8BAUwB,CACzB,CAAA;YAED,iDAAiD;YACjD,MAAM,WAAW,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAA;YAClD,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAA;QACtF,CAAC;KAAA;CACF;AA3FD,sEA2FC"}
1
+ {"version":3,"file":"1737110469000-UpdateStatusList.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1737110469000-UpdateStatusList.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,6BAA6B;IACxC,IAAI,GAAG,+BAA+B,CAAA;IAE/B,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,yCAAyC;QACzC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;;;;;;cAeQ,CACT,CAAA;QAED,8CAA8C;QAC9C,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;8BASwB,CACzB,CAAA;QAED,4CAA4C;QAC5C,MAAM,WAAW,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAA;QAClD,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAA;IACtF,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACxC,MAAM,WAAW,CAAC,KAAK,CAAC;;;IAGxB,CAAC,CAAA;QAED,MAAM,WAAW,CAAC,KAAK,CAAC;;;IAGxB,CAAC,CAAA;QAED,yCAAyC;QACzC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;;;;cAaQ,CACT,CAAA;QAED,wCAAwC;QACxC,MAAM,WAAW,CAAC,KAAK,CACrB;;;;;;;;;;8BAUwB,CACzB,CAAA;QAED,iDAAiD;QACjD,MAAM,WAAW,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAA;QAClD,MAAM,WAAW,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAA;IACtF,CAAC;CACF"}
@@ -1,23 +1,8 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FixCredentialClaimsReferencesUuidSqlite1741895822987 = void 0;
13
- class FixCredentialClaimsReferencesUuidSqlite1741895822987 {
14
- constructor() {
15
- this.name = 'FixCredentialClaimsReferencesUuid1741895822987';
16
- }
17
- up(queryRunner) {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- // Create a new table with the updated column type (uuid)
20
- yield queryRunner.query(`
1
+ export class FixCredentialClaimsReferencesUuidSqlite1741895822987 {
2
+ name = 'FixCredentialClaimsReferencesUuid1741895822987';
3
+ async up(queryRunner) {
4
+ // Create a new table with the updated column type (uuid)
5
+ await queryRunner.query(`
21
6
  CREATE TABLE "CredentialClaims_new"
22
7
  (
23
8
  "id" uuid NOT NULL DEFAULT (lower(hex(randomblob(16)))),
@@ -27,28 +12,26 @@ class FixCredentialClaimsReferencesUuidSqlite1741895822987 {
27
12
  CONSTRAINT "PK_CredentialClaims_id" PRIMARY KEY ("id")
28
13
  )
29
14
  `);
30
- // Copy data from the old table
31
- yield queryRunner.query(`
15
+ // Copy data from the old table
16
+ await queryRunner.query(`
32
17
  INSERT INTO "CredentialClaims_new" ("id", "key", "name", "credentialLocaleBrandingId")
33
18
  SELECT "id", "key", "name", "credentialLocaleBrandingId"
34
19
  FROM "CredentialClaims"
35
20
  `);
36
- // Drop the old table
37
- yield queryRunner.query(`DROP TABLE "CredentialClaims"`);
38
- // Rename the new table to the original name
39
- yield queryRunner.query(`ALTER TABLE "CredentialClaims_new" RENAME TO "CredentialClaims"`);
40
- // Recreate the unique index
41
- yield queryRunner.query(`
21
+ // Drop the old table
22
+ await queryRunner.query(`DROP TABLE "CredentialClaims"`);
23
+ // Rename the new table to the original name
24
+ await queryRunner.query(`ALTER TABLE "CredentialClaims_new" RENAME TO "CredentialClaims"`);
25
+ // Recreate the unique index
26
+ await queryRunner.query(`
42
27
  CREATE UNIQUE INDEX "IDX_CredentialClaimsEntity_credentialLocaleBranding_locale"
43
28
  ON "CredentialClaims" ("credentialLocaleBrandingId", "key")
44
29
  `);
45
- });
46
30
  }
47
- down(queryRunner) {
48
- return __awaiter(this, void 0, void 0, function* () {
49
- // Migrate uuid back to varchar
50
- // Create a new table reverting the column back to character varying
51
- yield queryRunner.query(`
31
+ async down(queryRunner) {
32
+ // Migrate uuid back to varchar
33
+ // Create a new table reverting the column back to character varying
34
+ await queryRunner.query(`
52
35
  CREATE TABLE "CredentialClaims_old"
53
36
  (
54
37
  "id" uuid NOT NULL DEFAULT (lower(hex(randomblob(16)))),
@@ -58,23 +41,21 @@ class FixCredentialClaimsReferencesUuidSqlite1741895822987 {
58
41
  CONSTRAINT "PK_CredentialClaims_id" PRIMARY KEY ("id")
59
42
  )
60
43
  `);
61
- // Copy data from the current table
62
- yield queryRunner.query(`
44
+ // Copy data from the current table
45
+ await queryRunner.query(`
63
46
  INSERT INTO "CredentialClaims_old" ("id", "key", "name", "credentialLocaleBrandingId")
64
47
  SELECT "id", "key", "name", "credentialLocaleBrandingId"
65
48
  FROM "CredentialClaims"
66
49
  `);
67
- // Drop the current table
68
- yield queryRunner.query(`DROP TABLE "CredentialClaims"`);
69
- // Rename the new table back to the original name
70
- yield queryRunner.query(`ALTER TABLE "CredentialClaims_old" RENAME TO "CredentialClaims"`);
71
- // Recreate the unique index
72
- yield queryRunner.query(`
50
+ // Drop the current table
51
+ await queryRunner.query(`DROP TABLE "CredentialClaims"`);
52
+ // Rename the new table back to the original name
53
+ await queryRunner.query(`ALTER TABLE "CredentialClaims_old" RENAME TO "CredentialClaims"`);
54
+ // Recreate the unique index
55
+ await queryRunner.query(`
73
56
  CREATE UNIQUE INDEX "IDX_CredentialClaimsEntity_credentialLocaleBranding_locale"
74
57
  ON "CredentialClaims" ("credentialLocaleBrandingId", "key")
75
58
  `);
76
- });
77
59
  }
78
60
  }
79
- exports.FixCredentialClaimsReferencesUuidSqlite1741895822987 = FixCredentialClaimsReferencesUuidSqlite1741895822987;
80
61
  //# sourceMappingURL=1741895822987-FixCredentialClaimsReferencesUuid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1741895822987-FixCredentialClaimsReferencesUuid.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,oDAAoD;IAAjE;QACE,SAAI,GAAG,gDAAgD,CAAA;IAqEzD,CAAC;IAnEc,EAAE,CAAC,WAAwB;;YACtC,yDAAyD;YACzD,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;SASnB,CAAC,CAAA;YAEN,+BAA+B;YAC/B,MAAM,WAAW,CAAC,KAAK,CAAC;;;;SAInB,CAAC,CAAA;YAEN,qBAAqB;YACrB,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;YAExD,4CAA4C;YAC5C,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAA;YAE1F,4BAA4B;YAC5B,MAAM,WAAW,CAAC,KAAK,CAAC;;;SAGnB,CAAC,CAAA;QACR,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,+BAA+B;YAE/B,oEAAoE;YACpE,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;SASnB,CAAC,CAAA;YAEN,mCAAmC;YACnC,MAAM,WAAW,CAAC,KAAK,CAAC;;;;SAInB,CAAC,CAAA;YAEN,yBAAyB;YACzB,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;YAExD,iDAAiD;YACjD,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAA;YAE1F,4BAA4B;YAC5B,MAAM,WAAW,CAAC,KAAK,CAAC;;;SAGnB,CAAC,CAAA;QACR,CAAC;KAAA;CACF;AAtED,oHAsEC"}
1
+ {"version":3,"file":"1741895822987-FixCredentialClaimsReferencesUuid.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,oDAAoD;IAC/D,IAAI,GAAG,gDAAgD,CAAA;IAEhD,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,yDAAyD;QACzD,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;SASnB,CAAC,CAAA;QAEN,+BAA+B;QAC/B,MAAM,WAAW,CAAC,KAAK,CAAC;;;;SAInB,CAAC,CAAA;QAEN,qBAAqB;QACrB,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAExD,4CAA4C;QAC5C,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAA;QAE1F,4BAA4B;QAC5B,MAAM,WAAW,CAAC,KAAK,CAAC;;;SAGnB,CAAC,CAAA;IACR,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACxC,+BAA+B;QAE/B,oEAAoE;QACpE,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;SASnB,CAAC,CAAA;QAEN,mCAAmC;QACnC,MAAM,WAAW,CAAC,KAAK,CAAC;;;;SAInB,CAAC,CAAA;QAEN,yBAAyB;QACzB,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAExD,iDAAiD;QACjD,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAA;QAE1F,4BAA4B;QAC5B,MAAM,WAAW,CAAC,KAAK,CAAC;;;SAGnB,CAAC,CAAA;IACR,CAAC;CACF"}
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AbstractPDStore = void 0;
4
- class AbstractPDStore {
1
+ export class AbstractPDStore {
5
2
  }
6
- exports.AbstractPDStore = AbstractPDStore;
7
3
  //# sourceMappingURL=AbstractPDStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractPDStore.js","sourceRoot":"","sources":["../../src/presentationDefinition/AbstractPDStore.ts"],"names":[],"mappings":";;;AAUA,MAAsB,eAAe;CASpC;AATD,0CASC"}
1
+ {"version":3,"file":"AbstractPDStore.js","sourceRoot":"","sources":["../../src/presentationDefinition/AbstractPDStore.ts"],"names":[],"mappings":"AAUA,MAAM,OAAgB,eAAe;CASpC"}