@sphereon/ssi-sdk.data-store 0.11.1-unstable.64 → 0.12.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.
Files changed (165) hide show
  1. package/README.md +5 -0
  2. package/dist/contact/AbstractContactStore.d.ts +1 -2
  3. package/dist/contact/AbstractContactStore.d.ts.map +1 -1
  4. package/dist/contact/AbstractContactStore.js.map +1 -1
  5. package/dist/contact/ContactStore.d.ts +1 -2
  6. package/dist/contact/ContactStore.d.ts.map +1 -1
  7. package/dist/contact/ContactStore.js +11 -11
  8. package/dist/contact/ContactStore.js.map +1 -1
  9. package/dist/entities/contact/ConnectionEntity.d.ts +1 -1
  10. package/dist/entities/contact/ConnectionEntity.d.ts.map +1 -1
  11. package/dist/entities/contact/ConnectionEntity.js +4 -4
  12. package/dist/entities/contact/ConnectionEntity.js.map +1 -1
  13. package/dist/entities/contact/ContactEntity.d.ts +1 -1
  14. package/dist/entities/contact/ContactEntity.d.ts.map +1 -1
  15. package/dist/entities/contact/ContactEntity.js +2 -5
  16. package/dist/entities/contact/ContactEntity.js.map +1 -1
  17. package/dist/entities/contact/CorrelationIdentifierEntity.d.ts +1 -1
  18. package/dist/entities/contact/CorrelationIdentifierEntity.d.ts.map +1 -1
  19. package/dist/entities/contact/CorrelationIdentifierEntity.js +3 -4
  20. package/dist/entities/contact/CorrelationIdentifierEntity.js.map +1 -1
  21. package/dist/entities/contact/DidAuthConfigEntity.d.ts +1 -1
  22. package/dist/entities/contact/DidAuthConfigEntity.d.ts.map +1 -1
  23. package/dist/entities/contact/IdentityEntity.d.ts +2 -2
  24. package/dist/entities/contact/IdentityEntity.d.ts.map +1 -1
  25. package/dist/entities/contact/IdentityEntity.js +4 -7
  26. package/dist/entities/contact/IdentityEntity.js.map +1 -1
  27. package/dist/entities/contact/IdentityMetadataItemEntity.d.ts +1 -1
  28. package/dist/entities/contact/IdentityMetadataItemEntity.d.ts.map +1 -1
  29. package/dist/entities/contact/IdentityMetadataItemEntity.js +1 -2
  30. package/dist/entities/contact/IdentityMetadataItemEntity.js.map +1 -1
  31. package/dist/entities/contact/OpenIdConfigEntity.d.ts +1 -1
  32. package/dist/entities/contact/OpenIdConfigEntity.d.ts.map +1 -1
  33. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.d.ts +11 -0
  34. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.d.ts.map +1 -0
  35. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js +74 -0
  36. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js.map +1 -0
  37. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.d.ts +18 -0
  38. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.d.ts.map +1 -0
  39. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js +120 -0
  40. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js.map +1 -0
  41. package/dist/entities/issuanceBranding/CredentialBrandingEntity.d.ts +15 -0
  42. package/dist/entities/issuanceBranding/CredentialBrandingEntity.d.ts.map +1 -0
  43. package/dist/entities/issuanceBranding/CredentialBrandingEntity.js +102 -0
  44. package/dist/entities/issuanceBranding/CredentialBrandingEntity.js.map +1 -0
  45. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.d.ts +9 -0
  46. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.d.ts.map +1 -0
  47. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js +49 -0
  48. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js.map +1 -0
  49. package/dist/entities/issuanceBranding/ImageAttributesEntity.d.ts +14 -0
  50. package/dist/entities/issuanceBranding/ImageAttributesEntity.d.ts.map +1 -0
  51. package/dist/entities/issuanceBranding/ImageAttributesEntity.js +92 -0
  52. package/dist/entities/issuanceBranding/ImageAttributesEntity.js.map +1 -0
  53. package/dist/entities/issuanceBranding/ImageDimensionsEntity.d.ts +9 -0
  54. package/dist/entities/issuanceBranding/ImageDimensionsEntity.d.ts.map +1 -0
  55. package/dist/entities/issuanceBranding/ImageDimensionsEntity.js +39 -0
  56. package/dist/entities/issuanceBranding/ImageDimensionsEntity.js.map +1 -0
  57. package/dist/entities/issuanceBranding/IssuerBrandingEntity.d.ts +14 -0
  58. package/dist/entities/issuanceBranding/IssuerBrandingEntity.d.ts.map +1 -0
  59. package/dist/entities/issuanceBranding/IssuerBrandingEntity.js +95 -0
  60. package/dist/entities/issuanceBranding/IssuerBrandingEntity.js.map +1 -0
  61. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.d.ts +9 -0
  62. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.d.ts.map +1 -0
  63. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js +49 -0
  64. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js.map +1 -0
  65. package/dist/entities/issuanceBranding/TextAttributesEntity.d.ts +9 -0
  66. package/dist/entities/issuanceBranding/TextAttributesEntity.d.ts.map +1 -0
  67. package/dist/entities/issuanceBranding/TextAttributesEntity.js +62 -0
  68. package/dist/entities/issuanceBranding/TextAttributesEntity.js.map +1 -0
  69. package/dist/entities/validators/index.d.ts +7 -0
  70. package/dist/entities/validators/index.d.ts.map +1 -0
  71. package/dist/entities/validators/index.js +27 -0
  72. package/dist/entities/validators/index.js.map +1 -0
  73. package/dist/index.d.ts +15 -4
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +45 -5
  76. package/dist/index.js.map +1 -1
  77. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.d.ts +20 -0
  78. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.d.ts.map +1 -0
  79. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js +7 -0
  80. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js.map +1 -0
  81. package/dist/issuanceBranding/IssuanceBrandingStore.d.ts +31 -0
  82. package/dist/issuanceBranding/IssuanceBrandingStore.d.ts.map +1 -0
  83. package/dist/issuanceBranding/IssuanceBrandingStore.js +375 -0
  84. package/dist/issuanceBranding/IssuanceBrandingStore.js.map +1 -0
  85. package/dist/migrations/generic/1-CreateContacts.js +1 -1
  86. package/dist/migrations/generic/1-CreateContacts.js.map +1 -1
  87. package/dist/migrations/generic/1-CreateIssuanceBranding.d.ts +7 -0
  88. package/dist/migrations/generic/1-CreateIssuanceBranding.d.ts.map +1 -0
  89. package/dist/migrations/generic/1-CreateIssuanceBranding.js +72 -0
  90. package/dist/migrations/generic/1-CreateIssuanceBranding.js.map +1 -0
  91. package/dist/migrations/generic/index.d.ts.map +1 -1
  92. package/dist/migrations/generic/index.js +2 -1
  93. package/dist/migrations/generic/index.js.map +1 -1
  94. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.d.ts +7 -0
  95. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.d.ts.map +1 -0
  96. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js +67 -0
  97. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js.map +1 -0
  98. package/dist/migrations/sqlite/1659463069549-CreateContacts.d.ts.map +1 -1
  99. package/dist/migrations/sqlite/1659463069549-CreateContacts.js.map +1 -1
  100. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.d.ts +7 -0
  101. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.d.ts.map +1 -0
  102. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js +89 -0
  103. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js.map +1 -0
  104. package/dist/types/{IAbstractContactStore.d.ts → contact/IAbstractContactStore.d.ts} +2 -2
  105. package/dist/types/contact/IAbstractContactStore.d.ts.map +1 -0
  106. package/dist/types/contact/IAbstractContactStore.js.map +1 -0
  107. package/dist/types/contact/contact.d.ts.map +1 -0
  108. package/dist/types/contact/contact.js.map +1 -0
  109. package/dist/types/index.d.ts +5 -0
  110. package/dist/types/index.d.ts.map +1 -0
  111. package/dist/types/index.js +21 -0
  112. package/dist/types/index.js.map +1 -0
  113. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.d.ts +59 -0
  114. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.d.ts.map +1 -0
  115. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js +3 -0
  116. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js.map +1 -0
  117. package/dist/types/issuanceBranding/issuanceBranding.d.ts +115 -0
  118. package/dist/types/issuanceBranding/issuanceBranding.d.ts.map +1 -0
  119. package/dist/types/issuanceBranding/issuanceBranding.js +3 -0
  120. package/dist/types/issuanceBranding/issuanceBranding.js.map +1 -0
  121. package/package.json +3 -3
  122. package/src/__tests__/contact.entities.test.ts +31 -31
  123. package/src/__tests__/contact.store.test.ts +32 -32
  124. package/src/__tests__/issuanceBranding.entities.test.ts +844 -0
  125. package/src/__tests__/issuanceBranding.store.test.ts +1884 -0
  126. package/src/contact/AbstractContactStore.ts +3 -2
  127. package/src/contact/ContactStore.ts +2 -4
  128. package/src/entities/contact/ConnectionEntity.ts +1 -1
  129. package/src/entities/contact/ContactEntity.ts +5 -7
  130. package/src/entities/contact/CorrelationIdentifierEntity.ts +4 -4
  131. package/src/entities/contact/DidAuthConfigEntity.ts +1 -1
  132. package/src/entities/contact/IdentityEntity.ts +6 -8
  133. package/src/entities/contact/IdentityMetadataItemEntity.ts +4 -4
  134. package/src/entities/contact/OpenIdConfigEntity.ts +1 -1
  135. package/src/entities/issuanceBranding/BackgroundAttributesEntity.ts +42 -0
  136. package/src/entities/issuanceBranding/BaseLocaleBrandingEntity.ts +86 -0
  137. package/src/entities/issuanceBranding/CredentialBrandingEntity.ts +78 -0
  138. package/src/entities/issuanceBranding/CredentialLocaleBrandingEntity.ts +33 -0
  139. package/src/entities/issuanceBranding/ImageAttributesEntity.ts +57 -0
  140. package/src/entities/issuanceBranding/ImageDimensionsEntity.ts +22 -0
  141. package/src/entities/issuanceBranding/IssuerBrandingEntity.ts +72 -0
  142. package/src/entities/issuanceBranding/IssuerLocaleBrandingEntity.ts +33 -0
  143. package/src/entities/issuanceBranding/TextAttributesEntity.ts +31 -0
  144. package/src/entities/validators/index.ts +16 -0
  145. package/src/index.ts +42 -5
  146. package/src/issuanceBranding/AbstractIssuanceBrandingStore.ts +41 -0
  147. package/src/issuanceBranding/IssuanceBrandingStore.ts +544 -0
  148. package/src/migrations/generic/1-CreateContacts.ts +1 -1
  149. package/src/migrations/generic/1-CreateIssuanceBranding.ts +54 -0
  150. package/src/migrations/generic/index.ts +2 -1
  151. package/src/migrations/postgres/1685628974232-CreateIssuanceBranding.ts +83 -0
  152. package/src/migrations/sqlite/1659463069549-CreateContacts.ts +0 -1
  153. package/src/migrations/sqlite/1685628973231-CreateIssuanceBranding.ts +119 -0
  154. package/src/types/{IAbstractContactStore.ts → contact/IAbstractContactStore.ts} +3 -2
  155. package/src/types/index.ts +4 -0
  156. package/src/types/issuanceBranding/IAbstractIssuanceBrandingStore.ts +85 -0
  157. package/src/types/issuanceBranding/issuanceBranding.ts +120 -0
  158. package/dist/types/IAbstractContactStore.d.ts.map +0 -1
  159. package/dist/types/IAbstractContactStore.js.map +0 -1
  160. package/dist/types/contact.d.ts.map +0 -1
  161. package/dist/types/contact.js.map +0 -1
  162. /package/dist/types/{IAbstractContactStore.js → contact/IAbstractContactStore.js} +0 -0
  163. /package/dist/types/{contact.d.ts → contact/contact.d.ts} +0 -0
  164. /package/dist/types/{contact.js → contact/contact.js} +0 -0
  165. /package/src/types/{contact.ts → contact/contact.ts} +0 -0
@@ -0,0 +1,67 @@
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.CreateIssuanceBranding1685628974232 = void 0;
13
+ class CreateIssuanceBranding1685628974232 {
14
+ constructor() {
15
+ this.name = 'CreateIssuanceBranding1685628974232';
16
+ }
17
+ up(queryRunner) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ yield queryRunner.query(`CREATE TABLE "ImageDimensions" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "width" integer NOT NULL, "height" integer NOT NULL, CONSTRAINT "PK_ImageDimensions_id" PRIMARY KEY ("id"))`);
20
+ yield queryRunner.query(`CREATE TABLE "ImageAttributes" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "uri" character varying(255), "dataUri" character varying(255), "mediaType" character varying(255), "alt" character varying(255), "dimensionsId" uuid, CONSTRAINT "UQ_dimensionsId" UNIQUE ("dimensionsId"), CONSTRAINT "PK_ImageAttributes_id" PRIMARY KEY ("id"))`);
21
+ yield queryRunner.query(`CREATE TABLE "BackgroundAttributes" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "color" character varying(255), "imageId" uuid, CONSTRAINT "UQ_imageId" UNIQUE ("imageId"), CONSTRAINT "PK_BackgroundAttributes_id" PRIMARY KEY ("id"))`);
22
+ yield queryRunner.query(`CREATE TABLE "TextAttributes" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "color" character varying(255), CONSTRAINT "PK_TextAttributes_id" PRIMARY KEY ("id"))`);
23
+ yield queryRunner.query(`CREATE TABLE "BaseLocaleBranding" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "alias" character varying(255), "locale" character varying(255) NOT NULL, "description" character varying(255), "created_at" TIMESTAMP NOT NULL DEFAULT now(), "last_updated_at" TIMESTAMP NOT NULL DEFAULT now(), "credentialBrandingId" uuid, "issuerBrandingId" uuid, "type" character varying NOT NULL, "logoId" uuid, "backgroundId" uuid, "textId" uuid, CONSTRAINT "UQ_logoId" UNIQUE ("logoId"), CONSTRAINT "UQ_backgroundId" UNIQUE ("backgroundId"), CONSTRAINT "UQ_textId" UNIQUE ("textId"), CONSTRAINT "PK_BaseLocaleBranding_id" PRIMARY KEY ("id"))`);
24
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale" ON "BaseLocaleBranding" ("credentialBrandingId", "locale")`);
25
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale" ON "BaseLocaleBranding" ("issuerBrandingId", "locale")`);
26
+ yield queryRunner.query(`CREATE INDEX "IDX_BaseLocaleBranding_type" ON "BaseLocaleBranding" ("type")`);
27
+ yield queryRunner.query(`CREATE TABLE "CredentialBranding" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "vcHash" character varying(255) NOT NULL, "issuerCorrelationId" character varying(255) NOT NULL, "created_at" TIMESTAMP NOT NULL DEFAULT now(), "last_updated_at" TIMESTAMP NOT NULL DEFAULT now(), CONSTRAINT "UQ_vcHash" UNIQUE ("vcHash"), CONSTRAINT "PK_CredentialBranding_id" PRIMARY KEY ("id"))`);
28
+ yield queryRunner.query(`CREATE INDEX "IDX_CredentialBrandingEntity_issuerCorrelationId" ON "CredentialBranding" ("issuerCorrelationId")`);
29
+ yield queryRunner.query(`CREATE INDEX "IDX_CredentialBrandingEntity_vcHash" ON "CredentialBranding" ("vcHash")`);
30
+ yield queryRunner.query(`CREATE TABLE "IssuerBranding" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "issuerCorrelationId" character varying(255) NOT NULL, "created_at" TIMESTAMP NOT NULL DEFAULT now(), "last_updated_at" TIMESTAMP NOT NULL DEFAULT now(), CONSTRAINT "UQ_issuerCorrelationId" UNIQUE ("issuerCorrelationId"), CONSTRAINT "PK_IssuerBranding_id" PRIMARY KEY ("id"))`);
31
+ yield queryRunner.query(`CREATE INDEX "IDX_IssuerBrandingEntity_issuerCorrelationId" ON "IssuerBranding" ("issuerCorrelationId")`);
32
+ yield queryRunner.query(`ALTER TABLE "ImageAttributes" ADD CONSTRAINT "FK_ImageAttributes_dimensionsId" FOREIGN KEY ("dimensionsId") REFERENCES "ImageDimensions"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
33
+ yield queryRunner.query(`ALTER TABLE "BackgroundAttributes" ADD CONSTRAINT "FK_BackgroundAttributes_imageId" FOREIGN KEY ("imageId") REFERENCES "ImageAttributes"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
34
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" ADD CONSTRAINT "FK_BaseLocaleBranding_logoId" FOREIGN KEY ("logoId") REFERENCES "ImageAttributes"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
35
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" ADD CONSTRAINT "FK_BaseLocaleBranding_backgroundId" FOREIGN KEY ("backgroundId") REFERENCES "BackgroundAttributes"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
36
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" ADD CONSTRAINT "FK_BaseLocaleBranding_textId" FOREIGN KEY ("textId") REFERENCES "TextAttributes"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
37
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" ADD CONSTRAINT "FK_BaseLocaleBranding_credentialBrandingId" FOREIGN KEY ("credentialBrandingId") REFERENCES "CredentialBranding"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
38
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" ADD CONSTRAINT "FK_BaseLocaleBranding_issuerBrandingId" FOREIGN KEY ("issuerBrandingId") REFERENCES "IssuerBranding"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
39
+ });
40
+ }
41
+ down(queryRunner) {
42
+ return __awaiter(this, void 0, void 0, function* () {
43
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP CONSTRAINT "FK_BaseLocaleBranding_issuerBrandingId"`);
44
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP CONSTRAINT "FK_BaseLocaleBranding_credentialBrandingId"`);
45
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP CONSTRAINT "FK_BaseLocaleBranding_textId"`);
46
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP CONSTRAINT "FK_BaseLocaleBranding_backgroundId"`);
47
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP CONSTRAINT "FK_BaseLocaleBranding_logoId"`);
48
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP CONSTRAINT "FK_BackgroundAttributes_imageId"`);
49
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP CONSTRAINT "FK_ImageAttributes_dimensionsId"`);
50
+ yield queryRunner.query(`ALTER TABLE "IssuerBranding" DROP INDEX "IDX_IssuerBrandingEntity_issuerCorrelationId"`);
51
+ yield queryRunner.query(`DROP TABLE "IssuerBranding"`);
52
+ yield queryRunner.query(`ALTER TABLE "CredentialBranding" DROP INDEX "IDX_CredentialBrandingEntity_vcHash"`);
53
+ yield queryRunner.query(`ALTER TABLE "CredentialBranding" DROP INDEX "IDX_CredentialBrandingEntity_issuerCorrelationId"`);
54
+ yield queryRunner.query(`DROP TABLE "CredentialBranding"`);
55
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP INDEX "IDX_BaseLocaleBranding_type"`);
56
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale"`);
57
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" DROP INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale"`);
58
+ yield queryRunner.query(`DROP TABLE "BaseLocaleBranding"`);
59
+ yield queryRunner.query(`DROP TABLE "TextAttributes"`);
60
+ yield queryRunner.query(`DROP TABLE "BackgroundAttributes"`);
61
+ yield queryRunner.query(`DROP TABLE "ImageAttributes"`);
62
+ yield queryRunner.query(`DROP TABLE "ImageDimensions"`);
63
+ });
64
+ }
65
+ }
66
+ exports.CreateIssuanceBranding1685628974232 = CreateIssuanceBranding1685628974232;
67
+ //# sourceMappingURL=1685628974232-CreateIssuanceBranding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1685628974232-CreateIssuanceBranding.js","sourceRoot":"","sources":["../../../src/migrations/postgres/1685628974232-CreateIssuanceBranding.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,mCAAmC;IAAhD;QACE,SAAI,GAAG,qCAAqC,CAAA;IA+E9C,CAAC;IA7Ec,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CACrB,4LAA4L,CAC7L,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,oVAAoV,CACrV,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,6OAA6O,CAC9O,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,qKAAqK,CACtK,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,snBAAsnB,CACvnB,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,+IAA+I,CAChJ,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,mIAAmI,CACpI,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,6EAA6E,CAAC,CAAA;YACtG,MAAM,WAAW,CAAC,KAAK,CACrB,2XAA2X,CAC5X,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,iHAAiH,CAAC,CAAA;YAC1I,MAAM,WAAW,CAAC,KAAK,CAAC,uFAAuF,CAAC,CAAA;YAChH,MAAM,WAAW,CAAC,KAAK,CACrB,mWAAmW,CACpW,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,yGAAyG,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AAC,CAAA;YAC7H,MAAM,WAAW,CAAC,KAAK,CAAC,4GAA4G,CAAC,CAAA;YACrI,MAAM,WAAW,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAA;YAC1D,MAAM,WAAW,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAA;YACtD,MAAM,WAAW,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAA;YAC5D,MAAM,WAAW,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAA;YACvD,MAAM,WAAW,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAA;QACzD,CAAC;KAAA;CACF;AAhFD,kFAgFC"}
@@ -1 +1 @@
1
- {"version":3,"file":"1659463069549-CreateContacts.d.ts","sourceRoot":"","sources":["../../../src/migrations/sqlite/1659463069549-CreateContacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEzD,qBAAa,2BAA4B,YAAW,kBAAkB;IACpE,IAAI,SAAgC;IAEvB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA8D3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CA2C3D"}
1
+ {"version":3,"file":"1659463069549-CreateContacts.d.ts","sourceRoot":"","sources":["../../../src/migrations/sqlite/1659463069549-CreateContacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEzD,qBAAa,2BAA4B,YAAW,kBAAkB;IACpE,IAAI,SAAgC;IAEvB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA8D3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CA0C3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"1659463069549-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1659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AW,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAA;YAElE,MAAM,WAAW,CAAC,KAAK,CAAC,iFAAiF,CAAC,CAAA;YAC1G,MAAM,WAAW,CAAC,KAAK,CACrB,6TAA6T,CAC9T,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,oKAAoK,CACrK,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAA;YAEvE,MAAM,WAAW,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAA;YAClD,MAAM,WAAW,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;YAChD,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;YACxD,MAAM,WAAW,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAA;YAC/C,MAAM,WAAW,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAA;YAC7D,MAAM,WAAW,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAA;YACjE,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAC1D,CAAC;KAAA;CACF;AA5GD,kEA4GC"}
1
+ {"version":3,"file":"1659463069549-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1659463069549-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;IA0GtC,CAAC;IAxGc,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CACrB,gbAAgb,CACjb,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,yEAAyE,CAAC,CAAA;YAClG,MAAM,WAAW,CAAC,KAAK,CACrB,6TAA6T,CAC9T,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,6VAA6V,CAC9V,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,yJAAyJ,CAC1J,CAAA;YACD,MAAM,WAAW,CAAC,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AW,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAA;YAC/C,MAAM,WAAW,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAA;YAC7D,MAAM,WAAW,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAA;YACjE,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAC1D,CAAC;KAAA;CACF;AA3GD,kEA2GC"}
@@ -0,0 +1,7 @@
1
+ import { MigrationInterface, QueryRunner } from 'typeorm';
2
+ export declare class CreateIssuanceBranding1685628973231 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
7
+ //# sourceMappingURL=1685628973231-CreateIssuanceBranding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1685628973231-CreateIssuanceBranding.d.ts","sourceRoot":"","sources":["../../../src/migrations/sqlite/1685628973231-CreateIssuanceBranding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEzD,qBAAa,mCAAoC,YAAW,kBAAkB;IAC5E,IAAI,SAAwC;IAE/B,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAgE3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAiD3D"}
@@ -0,0 +1,89 @@
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.CreateIssuanceBranding1685628973231 = void 0;
13
+ class CreateIssuanceBranding1685628973231 {
14
+ constructor() {
15
+ this.name = 'CreateIssuanceBranding1685628973231';
16
+ }
17
+ up(queryRunner) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ yield queryRunner.query(`CREATE TABLE "ImageDimensions" ("id" varchar PRIMARY KEY NOT NULL, "width" integer NOT NULL, "height" integer NOT NULL)`);
20
+ yield queryRunner.query(`CREATE TABLE "ImageAttributes" ("id" varchar PRIMARY KEY NOT NULL, "uri" varchar(255), "dataUri" varchar(255), "mediaType" varchar(255), "alt" varchar(255), "dimensionsId" varchar, CONSTRAINT "UQ_dimensionsId" UNIQUE ("dimensionsId"))`);
21
+ yield queryRunner.query(`CREATE TABLE "BackgroundAttributes" ("id" varchar PRIMARY KEY NOT NULL, "color" varchar(255), "imageId" varchar, CONSTRAINT "UQ_imageId" UNIQUE ("imageId"))`);
22
+ yield queryRunner.query(`CREATE TABLE "TextAttributes" ("id" varchar PRIMARY KEY NOT NULL, "color" varchar(255))`);
23
+ yield queryRunner.query(`CREATE TABLE "BaseLocaleBranding" ("id" varchar PRIMARY KEY NOT NULL, "alias" varchar(255), "locale" varchar(255) NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL DEFAULT (datetime('now')), "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')), "credentialBrandingId" varchar, "issuerBrandingId" varchar, "type" varchar NOT NULL, "logoId" varchar, "backgroundId" varchar, "textId" varchar, CONSTRAINT "UQ_logoId" UNIQUE ("logoId"), CONSTRAINT "UQ_backgroundId" UNIQUE ("backgroundId"), CONSTRAINT "UQ_textId" UNIQUE ("textId"))`);
24
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale" ON "BaseLocaleBranding" ("credentialBrandingId", "locale")`);
25
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale" ON "BaseLocaleBranding" ("issuerBrandingId", "locale")`);
26
+ yield queryRunner.query(`CREATE INDEX "IDX_BaseLocaleBranding_type" ON "BaseLocaleBranding" ("type")`);
27
+ yield queryRunner.query(`CREATE TABLE "CredentialBranding" ("id" varchar PRIMARY KEY NOT NULL, "vcHash" varchar(255) NOT NULL, "issuerCorrelationId" varchar(255) NOT NULL, "created_at" datetime NOT NULL DEFAULT (datetime('now')), "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')), CONSTRAINT "UQ_vcHash" UNIQUE ("vcHash"))`);
28
+ yield queryRunner.query(`CREATE INDEX "IDX_CredentialBrandingEntity_issuerCorrelationId" ON "CredentialBranding" ("issuerCorrelationId")`);
29
+ yield queryRunner.query(`CREATE INDEX "IDX_CredentialBrandingEntity_vcHash" ON "CredentialBranding" ("vcHash")`);
30
+ yield queryRunner.query(`CREATE TABLE "IssuerBranding" ("id" varchar PRIMARY KEY NOT NULL, "issuerCorrelationId" varchar(255) NOT NULL, "created_at" datetime NOT NULL DEFAULT (datetime('now')), "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')), CONSTRAINT "UQ_issuerCorrelationId" UNIQUE ("issuerCorrelationId"))`);
31
+ yield queryRunner.query(`CREATE INDEX "IDX_IssuerBrandingEntity_issuerCorrelationId" ON "IssuerBranding" ("issuerCorrelationId")`);
32
+ yield queryRunner.query(`CREATE TABLE "temporary_ImageAttributes" ("id" varchar PRIMARY KEY NOT NULL, "uri" varchar(255), "dataUri" varchar(255), "mediaType" varchar(255), "alt" varchar(255), "dimensionsId" varchar, CONSTRAINT "UQ_dimensionsId" UNIQUE ("dimensionsId"), CONSTRAINT "FK_ImageAttributes_dimensionsId" FOREIGN KEY ("dimensionsId") REFERENCES "ImageDimensions" ("id") ON DELETE CASCADE ON UPDATE NO ACTION)`);
33
+ yield queryRunner.query(`INSERT INTO "temporary_ImageAttributes"("id", "uri", "dataUri", "mediaType", "alt", "dimensionsId") SELECT "id", "uri", "dataUri", "mediaType", "alt", "dimensionsId" FROM "ImageAttributes"`);
34
+ yield queryRunner.query(`DROP TABLE "ImageAttributes"`);
35
+ yield queryRunner.query(`ALTER TABLE "temporary_ImageAttributes" RENAME TO "ImageAttributes"`);
36
+ yield queryRunner.query(`CREATE TABLE "temporary_BackgroundAttributes" ("id" varchar PRIMARY KEY NOT NULL, "color" varchar(255), "imageId" varchar, CONSTRAINT "UQ_imageId" UNIQUE ("imageId"), CONSTRAINT "FK_BackgroundAttributes_imageId" FOREIGN KEY ("imageId") REFERENCES "ImageAttributes" ("id") ON DELETE CASCADE ON UPDATE NO ACTION)`);
37
+ yield queryRunner.query(`INSERT INTO "temporary_BackgroundAttributes"("id", "color", "imageId") SELECT "id", "color", "imageId" FROM "BackgroundAttributes"`);
38
+ yield queryRunner.query(`DROP TABLE "BackgroundAttributes"`);
39
+ yield queryRunner.query(`ALTER TABLE "temporary_BackgroundAttributes" RENAME TO "BackgroundAttributes"`);
40
+ yield queryRunner.query(`DROP INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale"`);
41
+ yield queryRunner.query(`DROP INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale"`);
42
+ yield queryRunner.query(`DROP INDEX "IDX_BaseLocaleBranding_type"`);
43
+ yield queryRunner.query(`CREATE TABLE "temporary_BaseLocaleBranding" ("id" varchar PRIMARY KEY NOT NULL, "alias" varchar(255), "locale" varchar(255) NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL DEFAULT (datetime('now')), "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')), "credentialBrandingId" varchar, "issuerBrandingId" varchar, "type" varchar NOT NULL, "logoId" varchar, "backgroundId" varchar, "textId" varchar, CONSTRAINT "UQ_logoId" UNIQUE ("logoId"), CONSTRAINT "UQ_backgroundId" UNIQUE ("backgroundId"), CONSTRAINT "UQ_textId" UNIQUE ("textId"), CONSTRAINT "FK_BaseLocaleBranding_logoId" FOREIGN KEY ("logoId") REFERENCES "ImageAttributes" ("id") ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT "FK_BaseLocaleBranding_backgroundId" FOREIGN KEY ("backgroundId") REFERENCES "BackgroundAttributes" ("id") ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT "FK_BaseLocaleBranding_textId" FOREIGN KEY ("textId") REFERENCES "TextAttributes" ("id") ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT "FK_BaseLocaleBranding_credentialBrandingId" FOREIGN KEY ("credentialBrandingId") REFERENCES "CredentialBranding" ("id") ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT "FK_BaseLocaleBranding_issuerBrandingId" FOREIGN KEY ("issuerBrandingId") REFERENCES "IssuerBranding" ("id") ON DELETE CASCADE ON UPDATE NO ACTION)`);
44
+ yield queryRunner.query(`INSERT INTO "temporary_BaseLocaleBranding"("id", "alias", "locale", "description", "created_at", "last_updated_at", "credentialBrandingId", "issuerBrandingId", "type", "logoId", "backgroundId", "textId") SELECT "id", "alias", "locale", "description", "created_at", "last_updated_at", "credentialBrandingId", "issuerBrandingId", "type", "logoId", "backgroundId", "textId" FROM "BaseLocaleBranding"`);
45
+ yield queryRunner.query(`DROP TABLE "BaseLocaleBranding"`);
46
+ yield queryRunner.query(`ALTER TABLE "temporary_BaseLocaleBranding" RENAME TO "BaseLocaleBranding"`);
47
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale" ON "BaseLocaleBranding" ("credentialBrandingId", "locale")`);
48
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale" ON "BaseLocaleBranding" ("issuerBrandingId", "locale")`);
49
+ yield queryRunner.query(`CREATE INDEX "IDX_BaseLocaleBranding_type" ON "BaseLocaleBranding" ("type")`);
50
+ });
51
+ }
52
+ down(queryRunner) {
53
+ return __awaiter(this, void 0, void 0, function* () {
54
+ yield queryRunner.query(`DROP INDEX "IDX_BaseLocaleBranding_type"`);
55
+ yield queryRunner.query(`DROP INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale"`);
56
+ yield queryRunner.query(`DROP INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale"`);
57
+ yield queryRunner.query(`ALTER TABLE "BaseLocaleBranding" RENAME TO "temporary_BaseLocaleBranding"`);
58
+ yield queryRunner.query(`CREATE TABLE "BaseLocaleBranding" ("id" varchar PRIMARY KEY NOT NULL, "alias" varchar(255), "locale" varchar(255) NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL DEFAULT (datetime('now')), "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')), "credentialBrandingId" varchar, "issuerBrandingId" varchar, "type" varchar NOT NULL, "logoId" varchar, "backgroundId" varchar, "textId" varchar, CONSTRAINT "UQ_logoId" UNIQUE ("logoId"), CONSTRAINT "UQ_backgroundId" UNIQUE ("backgroundId"), CONSTRAINT "UQ_textId" UNIQUE ("textId"))`);
59
+ yield queryRunner.query(`INSERT INTO "BaseLocaleBranding"("id", "alias", "locale", "description", "created_at", "last_updated_at", "credentialBrandingId", "issuerBrandingId", "type", "logoId", "backgroundId", "textId") SELECT "id", "alias", "locale", "description", "created_at", "last_updated_at", "credentialBrandingId", "issuerBrandingId", "type", "logoId", "backgroundId", "textId" FROM "BaseLocaleBranding"`);
60
+ yield queryRunner.query(`DROP TABLE "temporary_BaseLocaleBranding"`);
61
+ yield queryRunner.query(`CREATE INDEX "IDX_BaseLocaleBranding_type" ON "BaseLocaleBranding" ("type")`);
62
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale" ON "BaseLocaleBranding" ("issuerBrandingId", "locale")`);
63
+ yield queryRunner.query(`CREATE UNIQUE INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale" ON "BaseLocaleBranding" ("credentialBrandingId", "locale")`);
64
+ yield queryRunner.query(`ALTER TABLE "BackgroundAttributes" RENAME TO "temporary_BackgroundAttributes"`);
65
+ yield queryRunner.query(`CREATE TABLE "BackgroundAttributes" ("id" varchar PRIMARY KEY NOT NULL, "color" varchar(255), "imageId" varchar, CONSTRAINT "UQ_imageId" UNIQUE ("imageId"))`);
66
+ yield queryRunner.query(`INSERT INTO "BackgroundAttributes"("id", "color", "imageId") SELECT "id", "color", "imageId" FROM "BackgroundAttributes"`);
67
+ yield queryRunner.query(`DROP TABLE "temporary_BackgroundAttributes"`);
68
+ yield queryRunner.query(`ALTER TABLE "ImageAttributes" RENAME TO "temporary_ImageAttributes"`);
69
+ yield queryRunner.query(`CREATE TABLE "ImageAttributes" ("id" varchar PRIMARY KEY NOT NULL, "uri" varchar(255), "dataUri" varchar(255), "mediaType" varchar(255), "alt" varchar(255), "dimensionsId" varchar, CONSTRAINT "UQ_dimensionsId" UNIQUE ("dimensionsId"))`);
70
+ yield queryRunner.query(`INSERT INTO "ImageAttributes"("id", "uri", "dataUri", "mediaType", "alt", "dimensionsId") SELECT "id", "uri", "dataUri", "mediaType", "alt", "dimensionsId" FROM "ImageAttributes"`);
71
+ yield queryRunner.query(`DROP TABLE "temporary_ImageAttributes"`);
72
+ yield queryRunner.query(`DROP INDEX "IDX_IssuerBrandingEntity_issuerCorrelationId"`);
73
+ yield queryRunner.query(`DROP TABLE "IssuerBranding"`);
74
+ yield queryRunner.query(`DROP INDEX "IDX_CredentialBrandingEntity_vcHash"`);
75
+ yield queryRunner.query(`DROP INDEX "IDX_CredentialBrandingEntity_issuerCorrelationId"`);
76
+ yield queryRunner.query(`DROP TABLE "CredentialBranding"`);
77
+ yield queryRunner.query(`DROP INDEX "IDX_BaseLocaleBranding_type"`);
78
+ yield queryRunner.query(`DROP INDEX "IDX_IssuerLocaleBrandingEntity_issuerBranding_locale"`);
79
+ yield queryRunner.query(`DROP INDEX "IDX_CredentialLocaleBrandingEntity_credentialBranding_locale"`);
80
+ yield queryRunner.query(`DROP TABLE "BaseLocaleBranding"`);
81
+ yield queryRunner.query(`DROP TABLE "TextAttributes"`);
82
+ yield queryRunner.query(`DROP TABLE "BackgroundAttributes"`);
83
+ yield queryRunner.query(`DROP TABLE "ImageAttributes"`);
84
+ yield queryRunner.query(`DROP TABLE "ImageDimensions"`);
85
+ });
86
+ }
87
+ }
88
+ exports.CreateIssuanceBranding1685628973231 = CreateIssuanceBranding1685628973231;
89
+ //# sourceMappingURL=1685628973231-CreateIssuanceBranding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1685628973231-CreateIssuanceBranding.js","sourceRoot":"","sources":["../../../src/migrations/sqlite/1685628973231-CreateIssuanceBranding.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,mCAAmC;IAAhD;QACE,SAAI,GAAG,qCAAqC,CAAA;IAmH9C,CAAC;IAjHc,EAAE,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,yHAAyH,CAAC,CAAA;YAClJ,MAAM,WAAW,CAAC,KAAK,CACrB,4OAA4O,CAC7O,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,8JAA8J,CAC/J,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,yFAAyF,CAAC,CAAA;YAClH,MAAM,WAAW,CAAC,KAAK,CACrB,6iBAA6iB,CAC9iB,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,+IAA+I,CAChJ,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,mIAAmI,CACpI,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,6EAA6E,CAAC,CAAA;YACtG,MAAM,WAAW,CAAC,KAAK,CACrB,uTAAuT,CACxT,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,iHAAiH,CAAC,CAAA;YAC1I,MAAM,WAAW,CAAC,KAAK,CAAC,uFAAuF,CAAC,CAAA;YAChH,MAAM,WAAW,CAAC,KAAK,CACrB,6SAA6S,CAC9S,CAAA;YACD,MAAM,WAAW,CAAC,KAAK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E,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAA;YAC5F,MAAM,WAAW,CAAC,KAAK,CAAC,2EAA2E,CAAC,CAAA;YACpG,MAAM,WAAW,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAA;YAC1D,MAAM,WAAW,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAA;YACtD,MAAM,WAAW,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAA;YAC5D,MAAM,WAAW,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAA;YACvD,MAAM,WAAW,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAA;QACzD,CAAC;KAAA;CACF;AApHD,kFAoHC"}
@@ -1,6 +1,6 @@
1
1
  import { FindOptionsWhere } from 'typeorm';
2
- import { ContactEntity } from '../entities/contact/ContactEntity';
3
- import { IdentityEntity } from '../entities/contact/IdentityEntity';
2
+ import { ContactEntity } from '../../entities/contact/ContactEntity';
3
+ import { IdentityEntity } from '../../entities/contact/IdentityEntity';
4
4
  import { IBasicIdentity, IContact, IIdentity } from './contact';
5
5
  export type FindContactArgs = FindOptionsWhere<ContactEntity>[];
6
6
  export type FindIdentityArgs = FindOptionsWhere<IdentityEntity>[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAbstractContactStore.d.ts","sourceRoot":"","sources":["../../../src/types/contact/IAbstractContactStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAA;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAG/D,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,aAAa,CAAC,EAAE,CAAA;AAC/D,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,cAAc,CAAC,EAAE,CAAA;AAEjE,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,eAAe,CAAA;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,YAAY,GAAG,WAAW,GAAG,eAAe,CAAC,CAAA;CACtE;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAbstractContactStore.js","sourceRoot":"","sources":["../../../src/types/contact/IAbstractContactStore.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../src/types/contact/contact.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED,oBAAY,kBAAkB;IAC5B,cAAc,SAAS;IACvB,MA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CAAA;AAEnE,MAAM,CAAC,OAAO,MAAM,gBAAgB,GAAG,aAAa,GAAG,cAAc,CAAA;AACrE,MAAM,CAAC,OAAO,MAAM,qBAAqB,GAAG,kBAAkB,GAAG,iBAAiB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact.js","sourceRoot":"","sources":["../../../src/types/contact/contact.ts"],"names":[],"mappings":";;;AAEA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;AACnB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,6CAAuB,CAAA;IACvB,uCAAiB,CAAA;IACjB,2DAAqC,CAAA;AACvC,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wCAAW,CAAA;IACX,wCAAW,CAAA;AACb,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC"}
@@ -0,0 +1,5 @@
1
+ export * from './issuanceBranding/issuanceBranding';
2
+ export * from './issuanceBranding/IAbstractIssuanceBrandingStore';
3
+ export * from './contact/contact';
4
+ export * from './contact/IAbstractContactStore';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,mDAAmD,CAAA;AACjE,cAAc,mBAAmB,CAAA;AACjC,cAAc,iCAAiC,CAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./issuanceBranding/issuanceBranding"), exports);
18
+ __exportStar(require("./issuanceBranding/IAbstractIssuanceBrandingStore"), exports);
19
+ __exportStar(require("./contact/contact"), exports);
20
+ __exportStar(require("./contact/IAbstractContactStore"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,oFAAiE;AACjE,oDAAiC;AACjC,kEAA+C"}
@@ -0,0 +1,59 @@
1
+ import { IBasicCredentialLocaleBranding, IBasicIssuerLocaleBranding, ICredentialBranding, ICredentialLocaleBrandingFilter, IIssuerBranding, IIssuerBrandingFilter, IIssuerLocaleBrandingFilter, ILocaleBranding, ICredentialBrandingFilter } from './issuanceBranding';
2
+ export type FindCredentialBrandingArgs = Array<ICredentialBrandingFilter>;
3
+ export type FindCredentialLocaleBrandingArgs = Array<ICredentialLocaleBrandingFilter>;
4
+ export type FindIssuerBrandingArgs = Array<IIssuerBrandingFilter>;
5
+ export type FindIssuerLocaleBrandingArgs = Array<IIssuerLocaleBrandingFilter>;
6
+ export interface IAddCredentialBrandingArgs {
7
+ vcHash: string;
8
+ issuerCorrelationId: string;
9
+ localeBranding: Array<IBasicCredentialLocaleBranding>;
10
+ }
11
+ export interface IGetCredentialBrandingArgs {
12
+ filter?: FindCredentialBrandingArgs;
13
+ }
14
+ export interface IUpdateCredentialBrandingArgs {
15
+ credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
16
+ }
17
+ export interface IRemoveCredentialBrandingArgs {
18
+ filter: FindCredentialBrandingArgs;
19
+ }
20
+ export interface IAddCredentialLocaleBrandingArgs {
21
+ credentialBrandingId: string;
22
+ localeBranding: Array<IBasicCredentialLocaleBranding>;
23
+ }
24
+ export interface IUpdateCredentialLocaleBrandingArgs {
25
+ localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
26
+ }
27
+ export interface IRemoveCredentialLocaleBrandingArgs {
28
+ filter: FindCredentialLocaleBrandingArgs;
29
+ }
30
+ export interface IGetCredentialLocaleBrandingArgs {
31
+ filter?: FindCredentialLocaleBrandingArgs;
32
+ }
33
+ export interface IAddIssuerBrandingArgs {
34
+ issuerCorrelationId: string;
35
+ localeBranding: Array<IBasicIssuerLocaleBranding>;
36
+ }
37
+ export interface IGetIssuerBrandingArgs {
38
+ filter?: FindIssuerBrandingArgs;
39
+ }
40
+ export interface IUpdateIssuerBrandingArgs {
41
+ issuerBranding: Omit<IIssuerBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
42
+ }
43
+ export interface IRemoveIssuerBrandingArgs {
44
+ filter: FindIssuerBrandingArgs;
45
+ }
46
+ export interface IAddIssuerLocaleBrandingArgs {
47
+ issuerBrandingId: string;
48
+ localeBranding: Array<IBasicIssuerLocaleBranding>;
49
+ }
50
+ export interface IUpdateIssuerLocaleBrandingArgs {
51
+ localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
52
+ }
53
+ export interface IRemoveIssuerLocaleBrandingArgs {
54
+ filter: FindIssuerLocaleBrandingArgs;
55
+ }
56
+ export interface IGetIssuerLocaleBrandingArgs {
57
+ filter?: FindIssuerLocaleBrandingArgs;
58
+ }
59
+ //# sourceMappingURL=IAbstractIssuanceBrandingStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAbstractIssuanceBrandingStore.d.ts","sourceRoot":"","sources":["../../../src/types/issuanceBranding/IAbstractIssuanceBrandingStore.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,mBAAmB,EACnB,+BAA+B,EAC/B,eAAe,EACf,qBAAqB,EACrB,2BAA2B,EAC3B,eAAe,EACf,yBAAyB,EAC1B,MAAM,oBAAoB,CAAA;AAE3B,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,yBAAyB,CAAC,CAAA;AACzE,MAAM,MAAM,gCAAgC,GAAG,KAAK,CAAC,+BAA+B,CAAC,CAAA;AACrF,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAA;AACjE,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,2BAA2B,CAAC,CAAA;AAE7E,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAA;IACd,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAA;CACtD;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,CAAC,EAAE,0BAA0B,CAAA;CACpC;AAED,MAAM,WAAW,6BAA6B;IAC5C,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,GAAG,WAAW,GAAG,eAAe,CAAC,CAAA;CAChG;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,0BAA0B,CAAA;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,oBAAoB,EAAE,MAAM,CAAA;IAC5B,cAAc,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAA;CACtD;AAED,MAAM,WAAW,mCAAmC;IAClD,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,eAAe,CAAC,CAAA;CACrE;AAED,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,gCAAgC,CAAA;CACzC;AAED,MAAM,WAAW,gCAAgC;IAC/C,MAAM,CAAC,EAAE,gCAAgC,CAAA;CAC1C;AAED,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAA;CAClD;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,sBAAsB,CAAA;CAChC;AAED,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,gBAAgB,GAAG,WAAW,GAAG,eAAe,CAAC,CAAA;CACxF;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,sBAAsB,CAAA;CAC/B;AAED,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,MAAM,CAAA;IACxB,cAAc,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAA;CAClD;AAED,MAAM,WAAW,+BAA+B;IAC9C,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,eAAe,CAAC,CAAA;CACrE;AAED,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,4BAA4B,CAAA;CACrC;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,CAAC,EAAE,4BAA4B,CAAA;CACtC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IAbstractIssuanceBrandingStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAbstractIssuanceBrandingStore.js","sourceRoot":"","sources":["../../../src/types/issuanceBranding/IAbstractIssuanceBrandingStore.ts"],"names":[],"mappings":""}
@@ -0,0 +1,115 @@
1
+ export interface ILocaleBranding {
2
+ id: string;
3
+ alias?: string;
4
+ locale?: string;
5
+ logo?: IImageAttributes;
6
+ description?: string;
7
+ background?: IBackgroundAttributes;
8
+ text?: ITextAttributes;
9
+ createdAt: Date;
10
+ lastUpdatedAt: Date;
11
+ }
12
+ export interface IImageAttributes {
13
+ id: string;
14
+ uri?: string;
15
+ dataUri?: string;
16
+ mediaType?: string;
17
+ alt?: string;
18
+ dimensions?: IImageDimensions;
19
+ }
20
+ export interface IBasicImageAttributes extends Omit<IImageAttributes, 'id' | 'dimensions'> {
21
+ dimensions?: IBasicImageDimensions;
22
+ }
23
+ export interface IPartialImageAttributes extends Partial<Omit<IImageAttributes, 'dimensions'>> {
24
+ dimensions?: IPartialImageDimensions;
25
+ }
26
+ export interface IBackgroundAttributes {
27
+ id: string;
28
+ color?: string;
29
+ image?: IImageAttributes;
30
+ }
31
+ export interface IBasicBackgroundAttributes extends Omit<IBackgroundAttributes, 'id' | 'image'> {
32
+ image?: IBasicImageAttributes;
33
+ }
34
+ export interface IPartialBackgroundAttributes extends Partial<Omit<IBackgroundAttributes, 'image'>> {
35
+ image?: IPartialImageAttributes;
36
+ }
37
+ export interface ITextAttributes {
38
+ id: string;
39
+ color?: string;
40
+ }
41
+ export interface IBasicTextAttributes extends Omit<ITextAttributes, 'id'> {
42
+ }
43
+ export interface IPartialTextAttributes extends Partial<ITextAttributes> {
44
+ }
45
+ export interface IImageDimensions {
46
+ id: string;
47
+ width: number;
48
+ height: number;
49
+ }
50
+ export interface IBasicImageDimensions extends Omit<IImageDimensions, 'id'> {
51
+ }
52
+ export interface IPartialImageDimensions extends Partial<IImageDimensions> {
53
+ }
54
+ export interface ICredentialLocaleBranding extends ILocaleBranding {
55
+ }
56
+ export interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text'> {
57
+ logo?: IBasicImageAttributes;
58
+ background?: IBasicBackgroundAttributes;
59
+ text?: IBasicTextAttributes;
60
+ }
61
+ export interface IPartialCredentialLocaleBranding extends Partial<Omit<ICredentialLocaleBranding, 'logo' | 'background' | 'text'>> {
62
+ logo?: IPartialImageAttributes;
63
+ background?: IPartialBackgroundAttributes;
64
+ text?: IPartialTextAttributes;
65
+ }
66
+ export interface ICredentialBranding {
67
+ id: string;
68
+ issuerCorrelationId: string;
69
+ vcHash: string;
70
+ localeBranding: Array<ICredentialLocaleBranding>;
71
+ createdAt: Date;
72
+ lastUpdatedAt: Date;
73
+ }
74
+ export interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
75
+ localeBranding: Array<IBasicCredentialLocaleBranding>;
76
+ }
77
+ export interface IPartialCredentialBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
78
+ localeBranding?: IPartialCredentialLocaleBranding;
79
+ }
80
+ export interface IIssuerLocaleBranding extends ILocaleBranding {
81
+ }
82
+ export interface IBasicIssuerLocaleBranding extends Omit<IIssuerLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text'> {
83
+ logo?: IBasicImageAttributes;
84
+ background?: IBasicBackgroundAttributes;
85
+ text?: IBasicTextAttributes;
86
+ }
87
+ export interface IPartialIssuerLocaleBranding extends Partial<Omit<IIssuerLocaleBranding, 'logo' | 'background' | 'text'>> {
88
+ logo?: IPartialImageAttributes;
89
+ background?: IPartialBackgroundAttributes;
90
+ text?: IPartialTextAttributes;
91
+ }
92
+ export interface IIssuerBranding {
93
+ id: string;
94
+ issuerCorrelationId: string;
95
+ localeBranding: Array<IIssuerLocaleBranding>;
96
+ createdAt: Date;
97
+ lastUpdatedAt: Date;
98
+ }
99
+ export interface IBasicIssuerBranding extends Omit<IIssuerBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
100
+ localeBranding: Array<IBasicIssuerLocaleBranding>;
101
+ }
102
+ export interface IPartialIssuerBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
103
+ localeBranding?: IPartialIssuerLocaleBranding;
104
+ }
105
+ export interface ICredentialBrandingFilter extends IPartialCredentialBranding {
106
+ }
107
+ export interface ICredentialLocaleBrandingFilter extends IPartialCredentialLocaleBranding {
108
+ credentialBranding?: IPartialCredentialBranding;
109
+ }
110
+ export interface IIssuerBrandingFilter extends IPartialIssuerBranding {
111
+ }
112
+ export interface IIssuerLocaleBrandingFilter extends IPartialIssuerLocaleBranding {
113
+ issuerBranding?: IPartialIssuerBranding;
114
+ }
115
+ //# sourceMappingURL=issuanceBranding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issuanceBranding.d.ts","sourceRoot":"","sources":["../../../src/types/issuanceBranding/issuanceBranding.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,gBAAgB,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,qBAAqB,CAAA;IAClC,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,SAAS,EAAE,IAAI,CAAA;IACf,aAAa,EAAE,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAC9B;AACD,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,YAAY,CAAC;IACxF,UAAU,CAAC,EAAE,qBAAqB,CAAA;CACnC;AACD,MAAM,WAAW,uBAAwB,SAAQ,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;IAC5F,UAAU,CAAC,EAAE,uBAAuB,CAAA;CACrC;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,C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C9B,EAAE,EAAE,MAAM,CAAA;IACV,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;IAC5C,SAAS,EAAE,IAAI,CAAA;IACf,aAAa,EAAE,IAAI,CAAA;CACpB;AACD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,eAAe,EAAE,IAAI,GAAG,WAAW,GAAG,eAAe,GAAG,gBAAgB,CAAC;IAC1H,cAAc,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAA;CAClD;AACD,MAAM,WAAW,sBAAuB,SAAQ,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;IAClG,cAAc,CAAC,EAAE,4BAA4B,CAAA;CAC9C;AAED,MAAM,WAAW,yBAA0B,SAAQ,0BAA0B;CAAG;AAEhF,MAAM,WAAW,+BAAgC,SAAQ,gCAAgC;IACvF,kBAAkB,CAAC,EAAE,0BAA0B,CAAA;CAChD;AAED,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;CAAG;AAExE,MAAM,WAAW,2BAA4B,SAAQ,4BAA4B;IAC/E,cAAc,CAAC,EAAE,sBAAsB,CAAA;CACxC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=issuanceBranding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issuanceBranding.js","sourceRoot":"","sources":["../../../src/types/issuanceBranding/issuanceBranding.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.data-store",
3
- "version": "0.11.1-unstable.64+10aa180",
3
+ "version": "0.12.0",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "typeorm-postgres:migration:run": "pnpm run typeorm -- migration:run -c migration-postgres"
14
14
  },
15
15
  "dependencies": {
16
- "@sphereon/ssi-types": "0.11.1-unstable.64+10aa180",
16
+ "@sphereon/ssi-types": "0.12.0",
17
17
  "@veramo/core": "4.2.0",
18
18
  "class-validator": "^0.14.0",
19
19
  "debug": "^4.3.4",
@@ -41,5 +41,5 @@
41
41
  "PostgreSQL",
42
42
  "Contact Store"
43
43
  ],
44
- "gitHead": "10aa18058c39b33a3ea2744f4911dd0232918de9"
44
+ "gitHead": "5cb38d5993514391fdadb9d67977746cfce6158f"
45
45
  }