@sphereon/ssi-sdk.data-store 0.23.5-unstable.88 → 0.24.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 (146) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +77 -77
  3. package/dist/index.d.ts +3 -9
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +2 -15
  6. package/dist/index.js.map +1 -1
  7. package/dist/migrations/generic/index.d.ts +0 -2
  8. package/dist/migrations/generic/index.d.ts.map +1 -1
  9. package/dist/migrations/generic/index.js +1 -4
  10. package/dist/migrations/generic/index.js.map +1 -1
  11. package/dist/migrations/index.d.ts +1 -1
  12. package/dist/migrations/index.d.ts.map +1 -1
  13. package/dist/migrations/index.js +1 -2
  14. package/dist/migrations/index.js.map +1 -1
  15. package/dist/migrations/postgres/1690925872592-CreateContacts.js +1 -1
  16. package/dist/migrations/postgres/1690925872592-CreateContacts.js.map +1 -1
  17. package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.js +22 -22
  18. package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.js +16 -16
  19. package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.js +21 -21
  20. package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.js +15 -15
  21. package/dist/types/index.d.ts +0 -2
  22. package/dist/types/index.d.ts.map +1 -1
  23. package/dist/types/index.js +0 -2
  24. package/dist/types/index.js.map +1 -1
  25. package/package.json +4 -5
  26. package/src/__tests__/contact.entities.test.ts +2542 -2542
  27. package/src/__tests__/contact.store.test.ts +2471 -2471
  28. package/src/__tests__/digitalCredential.entities.test.ts +254 -254
  29. package/src/__tests__/digitalCredential.store.test.ts +294 -294
  30. package/src/__tests__/eventLogger.entities.test.ts +73 -73
  31. package/src/__tests__/eventLogger.store.test.ts +136 -136
  32. package/src/__tests__/issuanceBranding.entities.test.ts +844 -844
  33. package/src/__tests__/issuanceBranding.store.test.ts +1884 -1884
  34. package/src/__tests__/machineState.entities.test.ts +51 -51
  35. package/src/__tests__/machineState.store.test.ts +174 -174
  36. package/src/contact/AbstractContactStore.ts +71 -71
  37. package/src/contact/ContactStore.ts +723 -723
  38. package/src/digitalCredential/AbstractDigitalCredentialStore.ts +17 -17
  39. package/src/digitalCredential/DigitalCredentialStore.ts +127 -127
  40. package/src/entities/contact/BaseContactEntity.ts +39 -39
  41. package/src/entities/contact/ConnectionEntity.ts +29 -29
  42. package/src/entities/contact/CorrelationIdentifierEntity.ts +37 -37
  43. package/src/entities/contact/DidAuthConfigEntity.ts +14 -14
  44. package/src/entities/contact/ElectronicAddressEntity.ts +63 -63
  45. package/src/entities/contact/IdentityEntity.ts +97 -97
  46. package/src/entities/contact/IdentityMetadataItemEntity.ts +35 -35
  47. package/src/entities/contact/NaturalPersonEntity.ts +38 -38
  48. package/src/entities/contact/OpenIdConfigEntity.ts +26 -26
  49. package/src/entities/contact/OrganizationEntity.ts +34 -34
  50. package/src/entities/contact/PartyEntity.ts +110 -110
  51. package/src/entities/contact/PartyRelationshipEntity.ts +61 -61
  52. package/src/entities/contact/PartyTypeEntity.ts +62 -62
  53. package/src/entities/contact/PhysicalAddressEntity.ts +87 -87
  54. package/src/entities/digitalCredential/DigitalCredentialEntity.ts +64 -64
  55. package/src/entities/eventLogger/AuditEventEntity.ts +99 -99
  56. package/src/entities/issuanceBranding/CredentialBrandingEntity.ts +78 -78
  57. package/src/entities/issuanceBranding/ImageAttributesEntity.ts +57 -57
  58. package/src/entities/issuanceBranding/IssuerBrandingEntity.ts +72 -72
  59. package/src/entities/machineState/MachineStateInfoEntity.ts +58 -58
  60. package/src/entities/statusList2021/StatusList2021Entity.ts +96 -96
  61. package/src/eventLogger/AbstractEventLoggerStore.ts +7 -7
  62. package/src/eventLogger/EventLoggerStore.ts +62 -62
  63. package/src/index.ts +141 -154
  64. package/src/issuanceBranding/IssuanceBrandingStore.ts +559 -559
  65. package/src/machineState/IAbstractMachineStateStore.ts +65 -65
  66. package/src/machineState/MachineStateStore.ts +149 -149
  67. package/src/migrations/generic/1-CreateContacts.ts +66 -66
  68. package/src/migrations/generic/2-CreateIssuanceBranding.ts +64 -64
  69. package/src/migrations/generic/3-CreateContacts.ts +66 -66
  70. package/src/migrations/generic/4-CreateStatusList.ts +54 -54
  71. package/src/migrations/generic/5-CreateAuditEvents.ts +66 -66
  72. package/src/migrations/generic/6-CreateDigitalCredential.ts +66 -66
  73. package/src/migrations/generic/7-CreateMachineStateStore.ts +66 -66
  74. package/src/migrations/generic/index.ts +33 -36
  75. package/src/migrations/index.ts +9 -10
  76. package/src/migrations/postgres/1659463079428-CreateContacts.ts +63 -63
  77. package/src/migrations/postgres/1685628974232-CreateIssuanceBranding.ts +85 -85
  78. package/src/migrations/postgres/1690925872592-CreateContacts.ts +104 -104
  79. package/src/migrations/postgres/1693866470001-CreateStatusList.ts +24 -24
  80. package/src/migrations/postgres/1701634812183-CreateAuditEvents.ts +33 -33
  81. package/src/migrations/postgres/1708525189001-CreateDigitalCredential.ts +44 -44
  82. package/src/migrations/postgres/1708797018115-CreateMachineStateStore.ts +29 -29
  83. package/src/migrations/sqlite/1659463069549-CreateContacts.ts +110 -110
  84. package/src/migrations/sqlite/1685628973231-CreateIssuanceBranding.ts +119 -119
  85. package/src/migrations/sqlite/1690925872693-CreateContacts.ts +161 -161
  86. package/src/migrations/sqlite/1693866470000-CreateStatusList.ts +24 -24
  87. package/src/migrations/sqlite/1701634819487-CreateAuditEvents.ts +15 -15
  88. package/src/migrations/sqlite/1708525189002-CreateDigitalCredential.ts +34 -34
  89. package/src/migrations/sqlite/1708796002272-CreateMachineStateStore.ts +28 -28
  90. package/src/statusList/StatusListStore.ts +237 -237
  91. package/src/types/contact/IAbstractContactStore.ts +161 -161
  92. package/src/types/contact/contact.ts +237 -237
  93. package/src/types/digitalCredential/IAbstractDigitalCredentialStore.ts +37 -37
  94. package/src/types/digitalCredential/digitalCredential.ts +46 -46
  95. package/src/types/eventLogger/IAbstractEventLoggerStore.ts +12 -12
  96. package/src/types/eventLogger/eventLogger.ts +3 -3
  97. package/src/types/index.ts +10 -12
  98. package/src/types/machineState/IAbstractMachineStateStore.ts +68 -68
  99. package/src/utils/SortingUtils.ts +16 -16
  100. package/src/utils/contact/MappingUtils.ts +385 -385
  101. package/src/utils/digitalCredential/MappingUtils.ts +122 -122
  102. package/dist/entities/presentationDefinitions/PresentationDefinitionItemEntity.d.ts +0 -13
  103. package/dist/entities/presentationDefinitions/PresentationDefinitionItemEntity.d.ts.map +0 -1
  104. package/dist/entities/presentationDefinitions/PresentationDefinitionItemEntity.js +0 -71
  105. package/dist/entities/presentationDefinitions/PresentationDefinitionItemEntity.js.map +0 -1
  106. package/dist/migrations/generic/8-CreatePresentationDefinitions.d.ts +0 -7
  107. package/dist/migrations/generic/8-CreatePresentationDefinitions.d.ts.map +0 -1
  108. package/dist/migrations/generic/8-CreatePresentationDefinitions.js +0 -78
  109. package/dist/migrations/generic/8-CreatePresentationDefinitions.js.map +0 -1
  110. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.d.ts +0 -7
  111. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.d.ts.map +0 -1
  112. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js +0 -40
  113. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js.map +0 -1
  114. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.d.ts +0 -7
  115. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.d.ts.map +0 -1
  116. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js +0 -37
  117. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js.map +0 -1
  118. package/dist/pd/AbstractPDStore.d.ts +0 -10
  119. package/dist/pd/AbstractPDStore.d.ts.map +0 -1
  120. package/dist/pd/AbstractPDStore.js +0 -7
  121. package/dist/pd/AbstractPDStore.js.map +0 -1
  122. package/dist/pd/PDStore.d.ts +0 -14
  123. package/dist/pd/PDStore.d.ts.map +0 -1
  124. package/dist/pd/PDStore.js +0 -90
  125. package/dist/pd/PDStore.js.map +0 -1
  126. package/dist/types/pd/IAbstractPDStore.d.ts +0 -14
  127. package/dist/types/pd/IAbstractPDStore.d.ts.map +0 -1
  128. package/dist/types/pd/IAbstractPDStore.js +0 -3
  129. package/dist/types/pd/IAbstractPDStore.js.map +0 -1
  130. package/dist/types/pd/pd.d.ts +0 -15
  131. package/dist/types/pd/pd.d.ts.map +0 -1
  132. package/dist/types/pd/pd.js +0 -3
  133. package/dist/types/pd/pd.js.map +0 -1
  134. package/dist/utils/presentationDefinitions/MappingUtils.d.ts +0 -6
  135. package/dist/utils/presentationDefinitions/MappingUtils.d.ts.map +0 -1
  136. package/dist/utils/presentationDefinitions/MappingUtils.js +0 -50
  137. package/dist/utils/presentationDefinitions/MappingUtils.js.map +0 -1
  138. package/src/entities/presentationDefinitions/PresentationDefinitionItemEntity.ts +0 -41
  139. package/src/migrations/generic/8-CreatePresentationDefinitions.ts +0 -66
  140. package/src/migrations/postgres/1716475165345-CreatePresentationDefinitions.ts +0 -24
  141. package/src/migrations/sqlite/1716475165344-CreatePresentationDefinitions.ts +0 -23
  142. package/src/pd/AbstractPDStore.ts +0 -10
  143. package/src/pd/PDStore.ts +0 -103
  144. package/src/types/pd/IAbstractPDStore.ts +0 -19
  145. package/src/types/pd/pd.ts +0 -16
  146. package/src/utils/presentationDefinitions/MappingUtils.ts +0 -54
package/dist/index.js CHANGED
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.imageAttributesEntityFrom = exports.credentialBrandingEntityFrom = exports.backgroundAttributesEntityFrom = exports.PhysicalAddressEntity = exports.ElectronicAddressEntity = exports.IssuerLocaleBrandingEntity = exports.CredentialLocaleBrandingEntity = exports.TextAttributesEntity = exports.IssuerBrandingEntity = exports.BaseLocaleBrandingEntity = exports.ImageDimensionsEntity = exports.ImageAttributesEntity = exports.CredentialBrandingEntity = exports.BackgroundAttributesEntity = exports.OpenIdConfigEntity = exports.IdentityMetadataItemEntity = exports.IdentityEntity = exports.DidAuthConfigEntity = exports.CorrelationIdentifierEntity = exports.BaseContactEntity = exports.PartyEntity = exports.ConnectionEntity = exports.BaseConfigEntity = exports.DataStoreEntities = exports.DataStoreMachineStateEntities = exports.DataStoreDigitalCredentialEntities = exports.DataStoreEventLoggerEntities = exports.DataStoreStatusListEntities = exports.DataStorePresentationDefinitionEntities = exports.DataStoreIssuanceBrandingEntities = exports.DataStorePresentationDefinitionItemEntities = exports.DataStoreContactEntities = exports.DataStorePresentationsDefinitionsMigrations = exports.DataStoreMachineStateMigrations = exports.DataStoreStatusListMigrations = exports.DataStoreIssuanceBrandingMigrations = exports.DataStoreContactMigrations = exports.DataStoreEventLoggerMigrations = exports.DataStoreMigrations = exports.PDStore = exports.AbstractPdStore = exports.MachineStateStore = exports.IAbstractMachineStateStore = exports.EventLoggerStore = exports.AbstractEventLoggerStore = exports.StatusListStore = exports.IssuanceBrandingStore = exports.AbstractIssuanceBrandingStore = exports.AbstractContactStore = exports.ContactStore = void 0;
18
- exports.isPresentationDefinitionEqual = exports.PresentationDefinitionItemEntity = exports.MachineStateInfoEntity = exports.nonPersistedDigitalCredentialEntityFromAddArgs = exports.digitalCredentialsFrom = exports.digitalCredentialFrom = exports.DigitalCredentialEntity = exports.auditEventEntityFrom = exports.AuditEventEntity = exports.StatusListEntryEntity = exports.StatusListEntity = exports.credentialLocaleBrandingEntityFrom = exports.issuerLocaleBrandingEntityFrom = exports.textAttributesEntityFrom = exports.issuerBrandingEntityFrom = exports.imageDimensionsEntityFrom = void 0;
17
+ exports.credentialLocaleBrandingEntityFrom = exports.issuerLocaleBrandingEntityFrom = exports.textAttributesEntityFrom = exports.issuerBrandingEntityFrom = exports.imageDimensionsEntityFrom = exports.imageAttributesEntityFrom = exports.credentialBrandingEntityFrom = exports.backgroundAttributesEntityFrom = exports.PhysicalAddressEntity = exports.ElectronicAddressEntity = exports.IssuerLocaleBrandingEntity = exports.CredentialLocaleBrandingEntity = exports.TextAttributesEntity = exports.IssuerBrandingEntity = exports.BaseLocaleBrandingEntity = exports.ImageDimensionsEntity = exports.ImageAttributesEntity = exports.CredentialBrandingEntity = exports.BackgroundAttributesEntity = exports.OpenIdConfigEntity = exports.IdentityMetadataItemEntity = exports.IdentityEntity = exports.DidAuthConfigEntity = exports.CorrelationIdentifierEntity = exports.BaseContactEntity = exports.PartyEntity = exports.ConnectionEntity = exports.BaseConfigEntity = exports.DataStoreEntities = exports.DataStoreMachineStateEntities = exports.DataStoreDigitalCredentialEntities = exports.DataStoreEventLoggerEntities = exports.DataStoreStatusListEntities = exports.DataStoreIssuanceBrandingEntities = exports.DataStoreContactEntities = exports.DataStoreMachineStateMigrations = exports.DataStoreStatusListMigrations = exports.DataStoreIssuanceBrandingMigrations = exports.DataStoreContactMigrations = exports.DataStoreEventLoggerMigrations = exports.DataStoreMigrations = exports.MachineStateStore = exports.IAbstractMachineStateStore = exports.EventLoggerStore = exports.AbstractEventLoggerStore = exports.StatusListStore = exports.IssuanceBrandingStore = exports.AbstractIssuanceBrandingStore = exports.AbstractContactStore = exports.ContactStore = void 0;
18
+ exports.MachineStateInfoEntity = exports.nonPersistedDigitalCredentialEntityFromAddArgs = exports.digitalCredentialsFrom = exports.digitalCredentialFrom = exports.DigitalCredentialEntity = exports.auditEventEntityFrom = exports.AuditEventEntity = exports.StatusListEntryEntity = exports.StatusListEntity = void 0;
19
19
  const BaseConfigEntity_1 = require("./entities/contact/BaseConfigEntity");
20
20
  Object.defineProperty(exports, "BaseConfigEntity", { enumerable: true, get: function () { return BaseConfigEntity_1.BaseConfigEntity; } });
21
21
  const BaseLocaleBrandingEntity_1 = require("./entities/issuanceBranding/BaseLocaleBrandingEntity");
@@ -93,10 +93,6 @@ const MappingUtils_1 = require("./utils/digitalCredential/MappingUtils");
93
93
  Object.defineProperty(exports, "digitalCredentialFrom", { enumerable: true, get: function () { return MappingUtils_1.digitalCredentialFrom; } });
94
94
  Object.defineProperty(exports, "digitalCredentialsFrom", { enumerable: true, get: function () { return MappingUtils_1.digitalCredentialsFrom; } });
95
95
  Object.defineProperty(exports, "nonPersistedDigitalCredentialEntityFromAddArgs", { enumerable: true, get: function () { return MappingUtils_1.nonPersistedDigitalCredentialEntityFromAddArgs; } });
96
- const MappingUtils_2 = require("./utils/presentationDefinitions/MappingUtils");
97
- Object.defineProperty(exports, "isPresentationDefinitionEqual", { enumerable: true, get: function () { return MappingUtils_2.isPresentationDefinitionEqual; } });
98
- const PresentationDefinitionItemEntity_1 = require("./entities/presentationDefinitions/PresentationDefinitionItemEntity");
99
- Object.defineProperty(exports, "PresentationDefinitionItemEntity", { enumerable: true, get: function () { return PresentationDefinitionItemEntity_1.PresentationDefinitionItemEntity; } });
100
96
  var AbstractEventLoggerStore_1 = require("./eventLogger/AbstractEventLoggerStore");
101
97
  Object.defineProperty(exports, "AbstractEventLoggerStore", { enumerable: true, get: function () { return AbstractEventLoggerStore_1.AbstractEventLoggerStore; } });
102
98
  var EventLoggerStore_1 = require("./eventLogger/EventLoggerStore");
@@ -105,10 +101,6 @@ var IAbstractMachineStateStore_1 = require("./machineState/IAbstractMachineState
105
101
  Object.defineProperty(exports, "IAbstractMachineStateStore", { enumerable: true, get: function () { return IAbstractMachineStateStore_1.IAbstractMachineStateStore; } });
106
102
  var MachineStateStore_1 = require("./machineState/MachineStateStore");
107
103
  Object.defineProperty(exports, "MachineStateStore", { enumerable: true, get: function () { return MachineStateStore_1.MachineStateStore; } });
108
- var AbstractPDStore_1 = require("./pd/AbstractPDStore");
109
- Object.defineProperty(exports, "AbstractPdStore", { enumerable: true, get: function () { return AbstractPDStore_1.AbstractPdStore; } });
110
- var PDStore_1 = require("./pd/PDStore");
111
- Object.defineProperty(exports, "PDStore", { enumerable: true, get: function () { return PDStore_1.PDStore; } });
112
104
  var migrations_1 = require("./migrations");
113
105
  Object.defineProperty(exports, "DataStoreMigrations", { enumerable: true, get: function () { return migrations_1.DataStoreMigrations; } });
114
106
  Object.defineProperty(exports, "DataStoreEventLoggerMigrations", { enumerable: true, get: function () { return migrations_1.DataStoreEventLoggerMigrations; } });
@@ -116,7 +108,6 @@ Object.defineProperty(exports, "DataStoreContactMigrations", { enumerable: true,
116
108
  Object.defineProperty(exports, "DataStoreIssuanceBrandingMigrations", { enumerable: true, get: function () { return migrations_1.DataStoreIssuanceBrandingMigrations; } });
117
109
  Object.defineProperty(exports, "DataStoreStatusListMigrations", { enumerable: true, get: function () { return migrations_1.DataStoreStatusListMigrations; } });
118
110
  Object.defineProperty(exports, "DataStoreMachineStateMigrations", { enumerable: true, get: function () { return migrations_1.DataStoreMachineStateMigrations; } });
119
- Object.defineProperty(exports, "DataStorePresentationsDefinitionsMigrations", { enumerable: true, get: function () { return migrations_1.DataStorePresentationsDefinitionsMigrations; } });
120
111
  __exportStar(require("./types"), exports);
121
112
  __exportStar(require("./utils/contact/MappingUtils"), exports);
122
113
  exports.DataStoreContactEntities = [
@@ -136,7 +127,6 @@ exports.DataStoreContactEntities = [
136
127
  ElectronicAddressEntity_1.ElectronicAddressEntity,
137
128
  PhysicalAddressEntity_1.PhysicalAddressEntity,
138
129
  ];
139
- exports.DataStorePresentationDefinitionItemEntities = [PresentationDefinitionItemEntity_1.PresentationDefinitionItemEntity];
140
130
  exports.DataStoreIssuanceBrandingEntities = [
141
131
  BackgroundAttributesEntity_1.BackgroundAttributesEntity,
142
132
  CredentialBrandingEntity_1.CredentialBrandingEntity,
@@ -148,7 +138,6 @@ exports.DataStoreIssuanceBrandingEntities = [
148
138
  CredentialLocaleBrandingEntity_1.CredentialLocaleBrandingEntity,
149
139
  IssuerLocaleBrandingEntity_1.IssuerLocaleBrandingEntity,
150
140
  ];
151
- exports.DataStorePresentationDefinitionEntities = [PresentationDefinitionItemEntity_1.PresentationDefinitionItemEntity];
152
141
  exports.DataStoreStatusListEntities = [StatusList2021Entity_1.StatusListEntity, StatusList2021EntryEntity_1.StatusListEntryEntity];
153
142
  exports.DataStoreEventLoggerEntities = [AuditEventEntity_1.AuditEventEntity];
154
143
  exports.DataStoreDigitalCredentialEntities = [DigitalCredentialEntity_1.DigitalCredentialEntity];
@@ -161,7 +150,5 @@ exports.DataStoreEntities = [
161
150
  ...exports.DataStoreEventLoggerEntities,
162
151
  ...exports.DataStoreDigitalCredentialEntities,
163
152
  ...exports.DataStoreMachineStateEntities,
164
- ...exports.DataStorePresentationDefinitionEntities,
165
- ...exports.DataStorePresentationDefinitionItemEntities
166
153
  ];
167
154
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,0EAAsE;AAgHpE,iGAhHO,mCAAgB,OAgHP;AA/GlB,mGAA+F;AA4H7F,yGA5HO,mDAAwB,OA4HP;AA3H1B,4EAAwE;AAiHtE,kGAjHO,qCAAiB,OAiHP;AAhHnB,0EAAsE;AA8GpE,iGA9GO,mCAAgB,OA8GP;AA7GlB,gEAA4D;AA8G1D,4FA9GO,yBAAW,OA8GP;AA7Gb,gGAA4F;AA+G1F,4GA/GO,yDAA2B,OA+GP;AA9G7B,gFAA4E;AA+G1E,oGA/GO,yCAAmB,OA+GP;AA9GrB,sEAAkE;AA+GhE,+FA/GO,+BAAc,OA+GP;AA9GhB,8FAA0F;AA+GxF,2GA/GO,uDAA0B,OA+GP;AA9G5B,8EAA0E;AA+GxE,mGA/GO,uCAAkB,OA+GP;AA9GpB,uGAAmI;AA+GjI,2GA/GO,uDAA0B,OA+GP;AAW1B,+GA1HmC,2DAA8B,OA0HnC;AAzHhC,mGAA6H;AA+G3H,yGA/GO,mDAAwB,OA+GP;AAWxB,6GA1HiC,uDAA4B,OA0HjC;AAzH9B,+GAA+I;AAoH7I,+GAp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0B,OAAA;AACnC,sEAAoE;AAA3D,sHAAA,iBAAiB,OAAA;AAE1B,2CAOqB;AANnB,iHAAA,mBAAmB,OAAA;AACnB,4HAAA,8BAA8B,OAAA;AAC9B,wHAAA,0BAA0B,OAAA;AAC1B,iIAAA,mCAAmC,OAAA;AACnC,2HAAA,6BAA6B,OAAA;AAC7B,6HAAA,+BAA+B,OAAA;AAEjC,0CAAuB;AACvB,+DAA4C;AAE/B,QAAA,wBAAwB,GAAG;IACtC,mCAAgB;IAChB,mCAAgB;IAChB,yBAAW;IACX,+BAAc;IACd,uDAA0B;IAC1B,yDAA2B;IAC3B,yCAAmB;IACnB,uCAAkB;IAClB,iDAAuB;IACvB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,yCAAmB;IACnB,iDAAuB;IACvB,6CAAqB;CACtB,CAAA;AAEY,QAAA,iCAAiC,GAAG;IAC/C,uDAA0B;IAC1B,mDAAwB;IACxB,6CAAqB;IACrB,6CAAqB;IACrB,mDAAwB;IACxB,2CAAoB;IACpB,2CAAoB;IACpB,+DAA8B;IAC9B,uDAA0B;CAC3B,CAAA;AAEY,QAAA,2BAA2B,GAAG,CAAC,uCAAgB,EAAE,iDAAqB,CAAC,CAAA;AAEvE,QAAA,4BAA4B,GAAG,CAAC,mCAAgB,CAAC,CAAA;AAEjD,QAAA,kCAAkC,GAAG,CAAC,iDAAuB,CAAC,CAAA;AAE9D,QAAA,6BAA6B,GAAG,CAAC,+CAAsB,CAAC,CAAA;AAErE,oEAAoE;AACvD,QAAA,iBAAiB,GAAG;IAC/B,GAAG,gCAAwB;IAC3B,GAAG,yCAAiC;IACpC,GAAG,mCAA2B;IAC9B,GAAG,oCAA4B;IAC/B,GAAG,0CAAkC;IACrC,GAAG,qCAA6B;CACjC,CAAA"}
@@ -4,7 +4,6 @@ import { CreateStatusList1693866470000 } from './4-CreateStatusList';
4
4
  import { CreateAuditEvents1701635835330 } from './5-CreateAuditEvents';
5
5
  import { CreateDigitalCredential1708525189000 } from './6-CreateDigitalCredential';
6
6
  import { CreateMachineStateStore1708098041262 } from './7-CreateMachineStateStore';
7
- import { CreatePresentationDefinitions1716533767523 } from './8-CreatePresentationDefinitions';
8
7
  /**
9
8
  * The migrations array that SHOULD be used when initializing a TypeORM database connection.
10
9
  *
@@ -18,6 +17,5 @@ export declare const DataStoreStatusListMigrations: (typeof CreateStatusList1693
18
17
  export declare const DataStoreEventLoggerMigrations: (typeof CreateAuditEvents1701635835330)[];
19
18
  export declare const DataStoreDigitalCredentialMigrations: (typeof CreateDigitalCredential1708525189000)[];
20
19
  export declare const DataStoreMachineStateMigrations: (typeof CreateMachineStateStore1708098041262)[];
21
- export declare const DataStorePresentationsDefinitionsMigrations: (typeof CreatePresentationDefinitions1716533767523)[];
22
20
  export declare const DataStoreMigrations: (typeof CreateContacts1659463079429)[];
23
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migrations/generic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAA;AAChE,OAAO,EAAE,mCAAmC,EAAE,MAAM,4BAA4B,CAAA;AAEhF,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAA;AACtE,OAAO,EAAE,oCAAoC,EAAE,MAAM,6BAA6B,CAAA;AAClF,OAAO,EAAE,oCAAoC,EAAE,MAAM,6BAA6B,CAAA;AAClF,OAAO,EAAE,0CAA0C,EAAE,MAAM,mCAAmC,CAAA;AAE9F;;;;;;GAMG;AAGH,eAAO,MAAM,0BAA0B,wCAA6D,CAAA;AACpG,eAAO,MAAM,mCAAmC,gDAAwC,CAAA;AACxF,eAAO,MAAM,6BAA6B,0CAAkC,CAAA;AAC5E,eAAO,MAAM,8BAA8B,2CAAmC,CAAA;AAC9E,eAAO,MAAM,oCAAoC,iDAAyC,CAAA;AAC1F,eAAO,MAAM,+BAA+B,iDAAyC,CAAA;AACrF,eAAO,MAAM,2CAA2C,uDAA+C,CAAA;AAGvG,eAAO,MAAM,mBAAmB,wCAQ/B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migrations/generic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAA;AAChE,OAAO,EAAE,mCAAmC,EAAE,MAAM,4BAA4B,CAAA;AAEhF,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAA;AACtE,OAAO,EAAE,oCAAoC,EAAE,MAAM,6BAA6B,CAAA;AAClF,OAAO,EAAE,oCAAoC,EAAE,MAAM,6BAA6B,CAAA;AAElF;;;;;;GAMG;AAGH,eAAO,MAAM,0BAA0B,wCAA6D,CAAA;AACpG,eAAO,MAAM,mCAAmC,gDAAwC,CAAA;AACxF,eAAO,MAAM,6BAA6B,0CAAkC,CAAA;AAC5E,eAAO,MAAM,8BAA8B,2CAAmC,CAAA;AAC9E,eAAO,MAAM,oCAAoC,iDAAyC,CAAA;AAC1F,eAAO,MAAM,+BAA+B,iDAAyC,CAAA;AAGrF,eAAO,MAAM,mBAAmB,wCAO/B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DataStoreMigrations = exports.DataStorePresentationsDefinitionsMigrations = exports.DataStoreMachineStateMigrations = exports.DataStoreDigitalCredentialMigrations = exports.DataStoreEventLoggerMigrations = exports.DataStoreStatusListMigrations = exports.DataStoreIssuanceBrandingMigrations = exports.DataStoreContactMigrations = void 0;
3
+ exports.DataStoreMigrations = exports.DataStoreMachineStateMigrations = exports.DataStoreDigitalCredentialMigrations = exports.DataStoreEventLoggerMigrations = exports.DataStoreStatusListMigrations = exports.DataStoreIssuanceBrandingMigrations = exports.DataStoreContactMigrations = void 0;
4
4
  const _1_CreateContacts_1 = require("./1-CreateContacts");
5
5
  const _2_CreateIssuanceBranding_1 = require("./2-CreateIssuanceBranding");
6
6
  const _3_CreateContacts_1 = require("./3-CreateContacts");
@@ -8,7 +8,6 @@ const _4_CreateStatusList_1 = require("./4-CreateStatusList");
8
8
  const _5_CreateAuditEvents_1 = require("./5-CreateAuditEvents");
9
9
  const _6_CreateDigitalCredential_1 = require("./6-CreateDigitalCredential");
10
10
  const _7_CreateMachineStateStore_1 = require("./7-CreateMachineStateStore");
11
- const _8_CreatePresentationDefinitions_1 = require("./8-CreatePresentationDefinitions");
12
11
  /**
13
12
  * The migrations array that SHOULD be used when initializing a TypeORM database connection.
14
13
  *
@@ -23,7 +22,6 @@ exports.DataStoreStatusListMigrations = [_4_CreateStatusList_1.CreateStatusList1
23
22
  exports.DataStoreEventLoggerMigrations = [_5_CreateAuditEvents_1.CreateAuditEvents1701635835330];
24
23
  exports.DataStoreDigitalCredentialMigrations = [_6_CreateDigitalCredential_1.CreateDigitalCredential1708525189000];
25
24
  exports.DataStoreMachineStateMigrations = [_7_CreateMachineStateStore_1.CreateMachineStateStore1708098041262];
26
- exports.DataStorePresentationsDefinitionsMigrations = [_8_CreatePresentationDefinitions_1.CreatePresentationDefinitions1716533767523];
27
25
  // All migrations together
28
26
  exports.DataStoreMigrations = [
29
27
  ...exports.DataStoreContactMigrations,
@@ -32,6 +30,5 @@ exports.DataStoreMigrations = [
32
30
  ...exports.DataStoreEventLoggerMigrations,
33
31
  ...exports.DataStoreDigitalCredentialMigrations,
34
32
  ...exports.DataStoreMachineStateMigrations,
35
- ...exports.DataStorePresentationsDefinitionsMigrations
36
33
  ];
37
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/migrations/generic/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgE;AAChE,0EAAgF;AAChF,0DAAgE;AAChE,8DAAoE;AACpE,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AA0B;AACb,QAAA,mBAAmB,GAAG;IACjC,GAAG,kCAA0B;IAC7B,GAAG,2CAAmC;IACtC,GAAG,qCAA6B;IAChC,GAAG,sCAA8B;IACjC,GAAG,4CAAoC;IACvC,GAAG,uCAA+B;CACnC,CAAA"}
@@ -1,2 +1,2 @@
1
- export { DataStoreMigrations, DataStoreEventLoggerMigrations, DataStoreContactMigrations, DataStoreIssuanceBrandingMigrations, DataStoreStatusListMigrations, DataStoreDigitalCredentialMigrations, DataStoreMachineStateMigrations, DataStorePresentationsDefinitionsMigrations } from './generic';
1
+ export { DataStoreMigrations, DataStoreEventLoggerMigrations, DataStoreContactMigrations, DataStoreIssuanceBrandingMigrations, DataStoreStatusListMigrations, DataStoreDigitalCredentialMigrations, DataStoreMachineStateMigrations, } from './generic';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,0BAA0B,EAC1B,mCAAmC,EACnC,6BAA6B,EAC7B,oCAAoC,EACpC,+BAA+B,EAC/B,2CAA2C,EAC5C,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,0BAA0B,EAC1B,mCAAmC,EACnC,6BAA6B,EAC7B,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,WAAW,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DataStorePresentationsDefinitionsMigrations = exports.DataStoreMachineStateMigrations = exports.DataStoreDigitalCredentialMigrations = exports.DataStoreStatusListMigrations = exports.DataStoreIssuanceBrandingMigrations = exports.DataStoreContactMigrations = exports.DataStoreEventLoggerMigrations = exports.DataStoreMigrations = void 0;
3
+ exports.DataStoreMachineStateMigrations = exports.DataStoreDigitalCredentialMigrations = exports.DataStoreStatusListMigrations = exports.DataStoreIssuanceBrandingMigrations = exports.DataStoreContactMigrations = exports.DataStoreEventLoggerMigrations = exports.DataStoreMigrations = void 0;
4
4
  var generic_1 = require("./generic");
5
5
  Object.defineProperty(exports, "DataStoreMigrations", { enumerable: true, get: function () { return generic_1.DataStoreMigrations; } });
6
6
  Object.defineProperty(exports, "DataStoreEventLoggerMigrations", { enumerable: true, get: function () { return generic_1.DataStoreEventLoggerMigrations; } });
@@ -9,5 +9,4 @@ Object.defineProperty(exports, "DataStoreIssuanceBrandingMigrations", { enumerab
9
9
  Object.defineProperty(exports, "DataStoreStatusListMigrations", { enumerable: true, get: function () { return generic_1.DataStoreStatusListMigrations; } });
10
10
  Object.defineProperty(exports, "DataStoreDigitalCredentialMigrations", { enumerable: true, get: function () { return generic_1.DataStoreDigitalCredentialMigrations; } });
11
11
  Object.defineProperty(exports, "DataStoreMachineStateMigrations", { enumerable: true, get: function () { return generic_1.DataStoreMachineStateMigrations; } });
12
- Object.defineProperty(exports, "DataStorePresentationsDefinitionsMigrations", { enumerable: true, get: function () { return generic_1.DataStorePresentationsDefinitionsMigrations; } });
13
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":";;;AAAA,qCASkB;AARhB,8GAAA,mBAAmB,OAAA;AACnB,yHAAA,8BAA8B,OAAA;AAC9B,qHAAA,0BAA0B,OAAA;AAC1B,8HAAA,mCAAmC,OAAA;AACnC,wHAAA,6BAA6B,OAAA;AAC7B,+HAAA,oCAAoC,OAAA;AACpC,0HAAA,+BAA+B,OAAA;AAC/B,sIAAA,2CAA2C,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":";;;AAAA,qCAQkB;AAPhB,8GAAA,mBAAmB,OAAA;AACnB,yHAAA,8BAA8B,OAAA;AAC9B,qHAAA,0BAA0B,OAAA;AAC1B,8HAAA,mCAAmC,OAAA;AACnC,wHAAA,6BAA6B,OAAA;AAC7B,+HAAA,oCAAoC,OAAA;AACpC,0HAAA,+BAA+B,OAAA"}
@@ -55,7 +55,7 @@ class CreateContacts1690925872592 {
55
55
  yield queryRunner.query(`ALTER TABLE "Identity" RENAME CONSTRAINT "UQ_Identity_Alias" TO "UQ_Identity_alias"`);
56
56
  yield queryRunner.query(`INSERT INTO "BaseConfig"("id", "identifier", "redirect_url", "session_id", "client_id", "client_secret", "scopes", "issuer", "dangerously_allow_insecure_http_requests", "client_auth_method", "type", "connection_id") SELECT "id", "identifier", "redirect_url", "session_id", "client_id", "client_secret", "scopes", "issuer", "dangerously_allow_insecure_http_requests", "client_auth_method", "type", "connectionId" FROM "BaseConfigEntity"`);
57
57
  yield queryRunner.query(`DROP TABLE "BaseConfigEntity"`);
58
- yield queryRunner.query(`INSERT INTO "PartyType"(id, type, origin, name, description, tenant_id, created_at, last_updated_at) VALUES ('3875c12e-fdaa-4ef6-a340-c936e054b627', 'organization', 'INTERNAL', 'Sphereon_default_organization_type', 'sphereon_default_organization', '95e09cfc-c974-4174-86aa-7bf1d5251fb4', now(), now())`);
58
+ yield queryRunner.query(`INSERT INTO "PartyType"(id, type, origin, name, description, tenant_id, created_at, last_updated_at) VALUES ('3875c12e-fdaa-4ef6-a340-c936e054b627', 'organization', 'INTERNAL' 'Sphereon_default_organization_type', 'sphereon_default_organization', '95e09cfc-c974-4174-86aa-7bf1d5251fb4', now(), now())`);
59
59
  yield queryRunner.query(`INSERT INTO "PartyType"(id, type, origin, name, description, tenant_id, created_at, last_updated_at) VALUES ('7d248798-41ca-4fc1-a130-9934b43d532e', 'naturalPerson', 'INTERNAL', 'Sphereon_default_natural_person_type', 'sphereon_default_natural_person', '95e09cfc-c974-4174-86aa-7bf1d5251fb4', now(), now())`);
60
60
  yield queryRunner.query(`INSERT INTO "Party"(id, uri, created_at, last_updated_at, party_type_id) SELECT id, uri, created_at, last_updated_at, '3875c12e-fdaa-4ef6-a340-c936e054b627' FROM "Contact"`);
61
61
  yield queryRunner.query(`INSERT INTO "BaseContact"(id, legal_name, display_name, party_id, created_at, last_updated_at, type) SELECT id, name, alias, id, created_at, last_updated_at, 'Organization' FROM "Contact"`);
@@ -1 +1 @@
1
- {"version":3,"file":"1690925872592-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/postgres/1690925872592-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAoE;AAEpE,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;IAmGtC,CAAC;IAjGc,EAAE,CAAC,WAAwB;;YACtC,MAAM,IAAA,0CAA2B,EAAC,WAAW,CAAC,CAAA;YAC9C,MAAM,WAAW,CAAC,KAAK,CAAC,2FAA2F,CAAC,CAAA;YACpH,MAAM,WAAW,CAAC,KAAK,CAAC,iFAAiF,CAAC,CAAA;YAC1G,MAAM,WAAW,CAAC,KAAK,CAAC,gEAAgE,CAAC,CAAA;YACzF,MAAM,WAAW,CAAC,KAAK,CAAC,qEAAqE,CAAC,CAAA;YAC9F,MAAM,WAAW,CAAC,KAAK,CAAC,iFAAiF,CAAC,CAAA;YAC1G,MAAM,WAAW,CAAC,KAAK,CAAC,sEAAsE,CAAC,CAAA;YAC/F,MAAM,WAAW,CAAC,KAAK,CAAC,qFAAqF,CAAC,CAAA;YAC9G,MAAM,WAAW,CAAC,KAAK,CAAC,8EAA8E,CAAC,CAAA;YACvG,MAAM,WAAW,CAAC,KAAK,CACrB,ggBAAggB,CACjgB,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,yFAAyF,CAAC,CAAA;YAClH,MAAM,WAAW,CAAC,KAAK,CACrB,0kBAA0kB,CAC3kB,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,+DAA+D,CAAC,CAAA;YACxF,MAAM,WAAW,CAAC,KAAK,CACrB,iSAAi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,CAAC,KAAK,CACrB,qbAAqb,CACtb,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;YACxD,MAAM,WAAW,CAAC,KAAK,CACrB,+SAA+S,CAChT,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,oTAAoT,CACrT,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,6KAA6K,CAC9K,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,6LAA6L,CAC9L,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAA;QACjD,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,kCAAkC;YAClC,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,wCAAwC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;QACnF,CAAC;KAAA;CACF;AApGD,kEAoGC"}
1
+ {"version":3,"file":"1690925872592-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/postgres/1690925872592-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAoE;AAEpE,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;IAmGtC,CAAC;IAjGc,EAAE,CAAC,WAAwB;;YACtC,MAAM,IAAA,0CAA2B,EAAC,WAAW,CAAC,CAAA;YAC9C,MAAM,WAAW,CAAC,KAAK,CAAC,2FAA2F,CAAC,CAAA;YACpH,MAAM,WAAW,CAAC,KAAK,CAAC,iFAAiF,CAAC,CAAA;YAC1G,MAAM,WAAW,CAAC,KAAK,CAAC,gEAAgE,CAAC,CAAA;YACzF,MAAM,WAAW,CAAC,KAAK,CAAC,qEAAqE,CAAC,CAAA;YAC9F,MAAM,WAAW,CAAC,KAAK,CAAC,iFAAiF,CAAC,CAAA;YAC1G,MAAM,WAAW,CAAC,KAAK,CAAC,sEAAsE,CAAC,CAAA;YAC/F,MAAM,WAAW,CAAC,KAAK,CAAC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AAC,KAAK,CACrB,gKAAgK,CACjK,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,oJAAoJ,CACrJ,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,mKAAmK,CACpK,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,yKAAyK,CAC1K,CAAA;YAED,wBAAwB;YACxB,MAAM,WAAW,CAAC,KAAK,CAAC,wHAAwH,CAAC,CAAA;YACjJ,MAAM,WAAW,CAAC,KAAK,CAAC,qFAAqF,CAAC,CAAA;YAC9G,MAAM,WAAW,CAAC,KAAK,CACrB,qbAAqb,CACtb,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAA;YACxD,MAAM,WAAW,CAAC,KAAK,CACrB,8SAA8S,CAC/S,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,oTAAoT,CACrT,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,6KAA6K,CAC9K,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CACrB,6LAA6L,CAC9L,CAAA;YACD,MAAM,WAAW,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAA;QACjD,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACxC,kCAAkC;YAClC,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,wCAAwC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;QACnF,CAAC;KAAA;CACF;AApGD,kEAoGC"}
@@ -20,28 +20,28 @@ class CreateDigitalCredential1708525189001 {
20
20
  yield queryRunner.query(`CREATE TYPE "digital_credential_document_format" AS ENUM('JSON_LD', 'JWT', 'SD_JWT', 'MDOC')`);
21
21
  yield queryRunner.query(`CREATE TYPE "digital_credential_correlation_type" AS ENUM('DID')`);
22
22
  yield queryRunner.query(`CREATE TYPE "digital_credential_state_type" AS ENUM('REVOKED', 'VERIFIED', 'EXPIRED')`);
23
- yield queryRunner.query(`
24
- CREATE TABLE "DigitalCredential" (
25
- "id" uuid NOT NULL DEFAULT uuid_generate_v4(),
26
- "document_type" "digital_document_type" NOT NULL,
27
- "document_format" "digital_credential_document_format" NOT NULL,
28
- "raw_document" text NOT NULL,
29
- "uniform_document" text NOT NULL,
30
- "hash" text NOT NULL UNIQUE,
31
- "issuer_correlation_type" "digital_credential_correlation_type" NOT NULL,
32
- "subject_correlation_type" "digital_credential_correlation_type",
33
- "issuer_correlation_id" text NOT NULL,
34
- "subject_correlation_id" text,
35
- "verified_state" "digital_credential_state_type",
36
- "tenant_id" text,
37
- "created_at" TIMESTAMP NOT NULL DEFAULT now(),
38
- "last_updated_at" TIMESTAMP NOT NULL DEFAULT now(),
39
- "valid_from" DATE,
40
- "valid_until" DATE,
41
- "verified_at" DATE,
42
- "revoked_at" DATE,
43
- PRIMARY KEY ("id")
44
- )
23
+ yield queryRunner.query(`
24
+ CREATE TABLE "DigitalCredential" (
25
+ "id" uuid NOT NULL DEFAULT uuid_generate_v4(),
26
+ "document_type" "digital_document_type" NOT NULL,
27
+ "document_format" "digital_credential_document_format" NOT NULL,
28
+ "raw_document" text NOT NULL,
29
+ "uniform_document" text NOT NULL,
30
+ "hash" text NOT NULL UNIQUE,
31
+ "issuer_correlation_type" "digital_credential_correlation_type" NOT NULL,
32
+ "subject_correlation_type" "digital_credential_correlation_type",
33
+ "issuer_correlation_id" text NOT NULL,
34
+ "subject_correlation_id" text,
35
+ "verified_state" "digital_credential_state_type",
36
+ "tenant_id" text,
37
+ "created_at" TIMESTAMP NOT NULL DEFAULT now(),
38
+ "last_updated_at" TIMESTAMP NOT NULL DEFAULT now(),
39
+ "valid_from" DATE,
40
+ "valid_until" DATE,
41
+ "verified_at" DATE,
42
+ "revoked_at" DATE,
43
+ PRIMARY KEY ("id")
44
+ )
45
45
  `);
46
46
  });
47
47
  }
@@ -16,22 +16,22 @@ class CreateMachineStateStore1708797018115 {
16
16
  }
17
17
  up(queryRunner) {
18
18
  return __awaiter(this, void 0, void 0, function* () {
19
- yield queryRunner.query(`
20
- CREATE TABLE "MachineStateInfoEntity" (
21
- "instance_id" text NOT NULL,
22
- "session_id" text,
23
- "latest_state_name" text,
24
- "machine_name" text NOT NULL,
25
- "latest_event_type" text NOT NULL,
26
- "state" text NOT NULL,
27
- "created_at" TIMESTAMP NOT NULL DEFAULT now(),
28
- "updated_at" TIMESTAMP NOT NULL DEFAULT now(),
29
- "updated_count" integer NOT NULL DEFAULT 0,
30
- "expires_at" TIMESTAMP,
31
- "completed_at" TIMESTAMP,
32
- "tenant_id" text,
33
- CONSTRAINT "PK_MachineStateInfoEntity_id" PRIMARY KEY ("instance_id")
34
- )
19
+ yield queryRunner.query(`
20
+ CREATE TABLE "MachineStateInfoEntity" (
21
+ "instance_id" text NOT NULL,
22
+ "session_id" text,
23
+ "latest_state_name" text,
24
+ "machine_name" text NOT NULL,
25
+ "latest_event_type" text NOT NULL,
26
+ "state" text NOT NULL,
27
+ "created_at" TIMESTAMP NOT NULL DEFAULT now(),
28
+ "updated_at" TIMESTAMP NOT NULL DEFAULT now(),
29
+ "updated_count" integer NOT NULL DEFAULT 0,
30
+ "expires_at" TIMESTAMP,
31
+ "completed_at" TIMESTAMP,
32
+ "tenant_id" text,
33
+ CONSTRAINT "PK_MachineStateInfoEntity_id" PRIMARY KEY ("instance_id")
34
+ )
35
35
  `);
36
36
  });
37
37
  }
@@ -16,27 +16,27 @@ class CreateDigitalCredential1708525189002 {
16
16
  }
17
17
  up(queryRunner) {
18
18
  return __awaiter(this, void 0, void 0, function* () {
19
- yield queryRunner.query(`
20
- CREATE TABLE "DigitalCredential" (
21
- "id" varchar PRIMARY KEY NOT NULL,
22
- "document_type" varchar CHECK( "document_type" IN ('VC', 'VP', 'C', 'P') ) NOT NULL,
23
- "document_format" varchar CHECK( "document_format" IN ('JSON_LD', 'JWT', 'SD_JWT', 'MDOC') ) NOT NULL,
24
- "raw_document" text NOT NULL,
25
- "uniform_document" text NOT NULL,
26
- "hash" text NOT NULL UNIQUE,
27
- "issuer_correlation_type" varchar CHECK( "issuer_correlation_type" IN ('DID') ) NOT NULL,
28
- "subject_correlation_type" varchar CHECK( "subject_correlation_type" IN ('DID') ),
29
- "issuer_correlation_id" text NOT NULL,
30
- "subject_correlation_id" text,
31
- "verified_state" varchar CHECK( "verified_state" IN ('REVOKED', 'VERIFIED', 'EXPIRED') ),
32
- "tenant_id" text,
33
- "created_at" datetime NOT NULL DEFAULT (datetime('now')),
34
- "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')),
35
- "valid_from" datetime,
36
- "valid_until" datetime,
37
- "verified_at" datetime,
38
- "revoked_at" datetime
39
- )
19
+ yield queryRunner.query(`
20
+ CREATE TABLE "DigitalCredential" (
21
+ "id" varchar PRIMARY KEY NOT NULL,
22
+ "document_type" varchar CHECK( "document_type" IN ('VC', 'VP', 'C', 'P') ) NOT NULL,
23
+ "document_format" varchar CHECK( "document_format" IN ('JSON_LD', 'JWT', 'SD_JWT', 'MDOC') ) NOT NULL,
24
+ "raw_document" text NOT NULL,
25
+ "uniform_document" text NOT NULL,
26
+ "hash" text NOT NULL UNIQUE,
27
+ "issuer_correlation_type" varchar CHECK( "issuer_correlation_type" IN ('DID') ) NOT NULL,
28
+ "subject_correlation_type" varchar CHECK( "subject_correlation_type" IN ('DID') ),
29
+ "issuer_correlation_id" text NOT NULL,
30
+ "subject_correlation_id" text,
31
+ "verified_state" varchar CHECK( "verified_state" IN ('REVOKED', 'VERIFIED', 'EXPIRED') ),
32
+ "tenant_id" text,
33
+ "created_at" datetime NOT NULL DEFAULT (datetime('now')),
34
+ "last_updated_at" datetime NOT NULL DEFAULT (datetime('now')),
35
+ "valid_from" datetime,
36
+ "valid_until" datetime,
37
+ "verified_at" datetime,
38
+ "revoked_at" datetime
39
+ )
40
40
  `);
41
41
  });
42
42
  }
@@ -16,21 +16,21 @@ class CreateMachineStateStore1708796002272 {
16
16
  }
17
17
  up(queryRunner) {
18
18
  return __awaiter(this, void 0, void 0, function* () {
19
- yield queryRunner.query(`
20
- CREATE TABLE "MachineStateInfoEntity" (
21
- "instance_id" varchar PRIMARY KEY NOT NULL,
22
- "session_id" varchar,
23
- "machine_name" varchar NOT NULL,
24
- "latest_state_name" varchar,
25
- "latest_event_type" varchar NOT NULL,
26
- "state" text NOT NULL,
27
- "created_at" datetime NOT NULL DEFAULT (datetime('now')),
28
- "updated_at" datetime NOT NULL DEFAULT (datetime('now')),
29
- "updated_count" integer NOT NULL DEFAULT 0,
30
- "expires_at" datetime,
31
- "completed_at" datetime,
32
- "tenant_id" varchar
33
- )
19
+ yield queryRunner.query(`
20
+ CREATE TABLE "MachineStateInfoEntity" (
21
+ "instance_id" varchar PRIMARY KEY NOT NULL,
22
+ "session_id" varchar,
23
+ "machine_name" varchar NOT NULL,
24
+ "latest_state_name" varchar,
25
+ "latest_event_type" varchar NOT NULL,
26
+ "state" text NOT NULL,
27
+ "created_at" datetime NOT NULL DEFAULT (datetime('now')),
28
+ "updated_at" datetime NOT NULL DEFAULT (datetime('now')),
29
+ "updated_count" integer NOT NULL DEFAULT 0,
30
+ "expires_at" datetime,
31
+ "completed_at" datetime,
32
+ "tenant_id" varchar
33
+ )
34
34
  `);
35
35
  });
36
36
  }
@@ -1,8 +1,6 @@
1
1
  export * from './issuanceBranding/issuanceBranding';
2
2
  export * from './issuanceBranding/IAbstractIssuanceBrandingStore';
3
3
  export * from './contact/contact';
4
- export * from './pd/pd';
5
- export * from './pd/IAbstractPDStore';
6
4
  export * from './contact/IAbstractContactStore';
7
5
  export * from './validation/validation';
8
6
  export * from './statusList/statusList';
@@ -1 +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,SAAS,CAAA;AACvB,cAAc,uBAAuB,CAAA;AACrC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,2BAA2B,CAAA;AACzC,cAAc,2CAA2C,CAAA"}
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;AAC/C,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,2BAA2B,CAAA;AACzC,cAAc,2CAA2C,CAAA"}
@@ -17,8 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./issuanceBranding/issuanceBranding"), exports);
18
18
  __exportStar(require("./issuanceBranding/IAbstractIssuanceBrandingStore"), exports);
19
19
  __exportStar(require("./contact/contact"), exports);
20
- __exportStar(require("./pd/pd"), exports);
21
- __exportStar(require("./pd/IAbstractPDStore"), exports);
22
20
  __exportStar(require("./contact/IAbstractContactStore"), exports);
23
21
  __exportStar(require("./validation/validation"), exports);
24
22
  __exportStar(require("./statusList/statusList"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,oFAAiE;AACjE,oDAAiC;AACjC,0CAAuB;AACvB,wDAAqC;AACrC,kEAA+C;AAC/C,0DAAuC;AACvC,0DAAuC;AACvC,wEAAqD;AACrD,0EAAuD;AACvD,4DAAyC;AACzC,4EAAyD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,oFAAiE;AACjE,oDAAiC;AACjC,kEAA+C;AAC/C,0DAAuC;AACvC,0DAAuC;AACvC,wEAAqD;AACrD,0EAAuD;AACvD,4DAAyC;AACzC,4EAAyD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.data-store",
3
- "version": "0.23.5-unstable.88+7b7d0d09",
3
+ "version": "0.24.0",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,9 +13,8 @@
13
13
  "typeorm-postgres:migration:run": "pnpm run typeorm -- migration:run -c migration-postgres"
14
14
  },
15
15
  "dependencies": {
16
- "@sphereon/pex": "^3.3.3",
17
- "@sphereon/ssi-sdk.core": "0.23.5-unstable.88+7b7d0d09",
18
- "@sphereon/ssi-types": "0.23.5-unstable.88+7b7d0d09",
16
+ "@sphereon/ssi-sdk.core": "0.24.0",
17
+ "@sphereon/ssi-types": "0.24.0",
19
18
  "@veramo/core": "4.2.0",
20
19
  "@veramo/utils": "4.2.0",
21
20
  "class-validator": "^0.14.0",
@@ -45,5 +44,5 @@
45
44
  "PostgreSQL",
46
45
  "Contact Store"
47
46
  ],
48
- "gitHead": "7b7d0d0978207aa83db610898a024ceaf3a67127"
47
+ "gitHead": "fd8e1082588463c2bd5c8d81d711974971812ef7"
49
48
  }