@sphereon/ssi-sdk.data-store 0.33.1-next.2 → 0.33.1-next.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +9052 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1730 -0
- package/dist/index.d.ts +1730 -63
- package/dist/index.js +9019 -167
- package/dist/index.js.map +1 -1
- package/package.json +26 -15
- package/src/__tests__/contact.entities.test.ts +1 -1
- package/src/__tests__/contact.store.test.ts +2 -1
- package/src/__tests__/digitalCredential.entities.test.ts +1 -0
- package/src/__tests__/digitalCredential.store.test.ts +2 -1
- package/src/__tests__/eventLogger.entities.test.ts +2 -1
- package/src/__tests__/eventLogger.store.test.ts +2 -1
- package/src/__tests__/issuanceBranding.entities.test.ts +8 -7
- package/src/__tests__/issuanceBranding.store.test.ts +1 -0
- package/src/__tests__/machineState.entities.test.ts +2 -1
- package/src/__tests__/machineState.store.test.ts +2 -1
- package/src/__tests__/pd-manager.entities.test.ts +1 -0
- package/src/__tests__/pd-manager.store.test.ts +1 -0
- package/src/__tests__/statusList.entities.test.ts +1 -0
- package/src/__tests__/statusList.store.test.ts +2 -1
- package/src/contact/ContactStore.ts +1 -1
- package/src/digitalCredential/DigitalCredentialStore.ts +3 -7
- package/src/entities/contact/BaseConfigEntity.ts +2 -1
- package/src/entities/contact/BaseContactEntity.ts +3 -2
- package/src/entities/contact/ConnectionEntity.ts +2 -1
- package/src/entities/contact/ContactMetadataItemEntity.ts +2 -1
- package/src/entities/contact/CorrelationIdentifierEntity.ts +2 -1
- package/src/entities/contact/DidAuthConfigEntity.ts +2 -1
- package/src/entities/contact/ElectronicAddressEntity.ts +3 -12
- package/src/entities/contact/PhysicalAddressEntity.ts +1 -1
- package/src/entities/digitalCredential/DigitalCredentialEntity.ts +1 -1
- package/src/entities/eventLogger/AuditEventEntity.ts +10 -1
- package/src/entities/issuanceBranding/BaseLocaleBrandingEntity.ts +3 -2
- package/src/entities/statusList/StatusListEntities.ts +8 -7
- package/src/entities/validators/index.ts +1 -1
- package/src/eventLogger/AbstractEventLoggerStore.ts +2 -2
- package/src/eventLogger/EventLoggerStore.ts +3 -3
- package/src/index.ts +4 -3
- package/src/issuanceBranding/AbstractIssuanceBrandingStore.ts +1 -1
- package/src/issuanceBranding/IssuanceBrandingStore.ts +3 -3
- package/src/machineState/IAbstractMachineStateStore.ts +1 -1
- package/src/machineState/MachineStateStore.ts +3 -3
- package/src/migrations/internal-migrations-ormconfig.ts +1 -1
- package/src/presentationDefinition/AbstractPDStore.ts +1 -1
- package/src/presentationDefinition/PDStore.ts +2 -2
- package/src/statusList/IStatusListStore.ts +1 -1
- package/src/statusList/StatusListStore.ts +4 -4
- package/src/types/contact/contact.ts +1 -1
- package/src/types/contact/index.ts +2 -0
- package/src/types/digitalCredential/IAbstractDigitalCredentialStore.ts +2 -1
- package/src/types/digitalCredential/{digitalCredential.ts → enums.ts} +0 -33
- package/src/types/digitalCredential/index.ts +3 -0
- package/src/types/digitalCredential/types.ts +39 -0
- package/src/types/index.ts +2 -2
- package/src/types/statusList/statusList.ts +2 -2
- package/src/utils/SortingUtils.ts +1 -1
- package/src/utils/ValidatorUtils.ts +1 -1
- package/src/utils/contact/MappingUtils.ts +1 -1
- package/src/utils/digitalCredential/MappingUtils.ts +7 -13
- package/src/utils/eventLogger/MappingUtils.ts +2 -2
- package/src/utils/issuanceBranding/MappingUtils.ts +1 -1
- package/src/utils/presentationDefinition/MappingUtils.ts +5 -5
- package/dist/contact/AbstractContactStore.d.ts +0 -34
- package/dist/contact/AbstractContactStore.d.ts.map +0 -1
- package/dist/contact/AbstractContactStore.js +0 -7
- package/dist/contact/AbstractContactStore.js.map +0 -1
- package/dist/contact/ContactStore.d.ts +0 -48
- package/dist/contact/ContactStore.d.ts.map +0 -1
- package/dist/contact/ContactStore.js +0 -573
- package/dist/contact/ContactStore.js.map +0 -1
- package/dist/digitalCredential/AbstractDigitalCredentialStore.d.ts +0 -9
- package/dist/digitalCredential/AbstractDigitalCredentialStore.d.ts.map +0 -1
- package/dist/digitalCredential/AbstractDigitalCredentialStore.js +0 -7
- package/dist/digitalCredential/AbstractDigitalCredentialStore.js.map +0 -1
- package/dist/digitalCredential/DigitalCredentialStore.d.ts +0 -18
- package/dist/digitalCredential/DigitalCredentialStore.d.ts.map +0 -1
- package/dist/digitalCredential/DigitalCredentialStore.js +0 -165
- package/dist/digitalCredential/DigitalCredentialStore.js.map +0 -1
- package/dist/entities/contact/BaseConfigEntity.d.ts +0 -7
- package/dist/entities/contact/BaseConfigEntity.d.ts.map +0 -1
- package/dist/entities/contact/BaseConfigEntity.js +0 -34
- package/dist/entities/contact/BaseConfigEntity.js.map +0 -1
- package/dist/entities/contact/BaseContactEntity.d.ts +0 -12
- package/dist/entities/contact/BaseContactEntity.d.ts.map +0 -1
- package/dist/entities/contact/BaseContactEntity.js +0 -64
- package/dist/entities/contact/BaseContactEntity.js.map +0 -1
- package/dist/entities/contact/ConnectionEntity.d.ts +0 -13
- package/dist/entities/contact/ConnectionEntity.d.ts.map +0 -1
- package/dist/entities/contact/ConnectionEntity.js +0 -55
- package/dist/entities/contact/ConnectionEntity.js.map +0 -1
- package/dist/entities/contact/ContactMetadataItemEntity.d.ts +0 -15
- package/dist/entities/contact/ContactMetadataItemEntity.d.ts.map +0 -1
- package/dist/entities/contact/ContactMetadataItemEntity.js +0 -89
- package/dist/entities/contact/ContactMetadataItemEntity.js.map +0 -1
- package/dist/entities/contact/CorrelationIdentifierEntity.d.ts +0 -13
- package/dist/entities/contact/CorrelationIdentifierEntity.d.ts.map +0 -1
- package/dist/entities/contact/CorrelationIdentifierEntity.js +0 -80
- package/dist/entities/contact/CorrelationIdentifierEntity.js.map +0 -1
- package/dist/entities/contact/DidAuthConfigEntity.d.ts +0 -9
- package/dist/entities/contact/DidAuthConfigEntity.d.ts.map +0 -1
- package/dist/entities/contact/DidAuthConfigEntity.js +0 -41
- package/dist/entities/contact/DidAuthConfigEntity.js.map +0 -1
- package/dist/entities/contact/ElectronicAddressEntity.d.ts +0 -17
- package/dist/entities/contact/ElectronicAddressEntity.d.ts.map +0 -1
- package/dist/entities/contact/ElectronicAddressEntity.js +0 -105
- package/dist/entities/contact/ElectronicAddressEntity.js.map +0 -1
- package/dist/entities/contact/IdentityEntity.d.ts +0 -24
- package/dist/entities/contact/IdentityEntity.d.ts.map +0 -1
- package/dist/entities/contact/IdentityEntity.js +0 -143
- package/dist/entities/contact/IdentityEntity.js.map +0 -1
- package/dist/entities/contact/IdentityMetadataItemEntity.d.ts +0 -15
- package/dist/entities/contact/IdentityMetadataItemEntity.d.ts.map +0 -1
- package/dist/entities/contact/IdentityMetadataItemEntity.js +0 -86
- package/dist/entities/contact/IdentityMetadataItemEntity.js.map +0 -1
- package/dist/entities/contact/NaturalPersonEntity.d.ts +0 -11
- package/dist/entities/contact/NaturalPersonEntity.d.ts.map +0 -1
- package/dist/entities/contact/NaturalPersonEntity.js +0 -80
- package/dist/entities/contact/NaturalPersonEntity.js.map +0 -1
- package/dist/entities/contact/OpenIdConfigEntity.d.ts +0 -13
- package/dist/entities/contact/OpenIdConfigEntity.d.ts.map +0 -1
- package/dist/entities/contact/OpenIdConfigEntity.js +0 -57
- package/dist/entities/contact/OpenIdConfigEntity.js.map +0 -1
- package/dist/entities/contact/OrganizationEntity.d.ts +0 -9
- package/dist/entities/contact/OrganizationEntity.d.ts.map +0 -1
- package/dist/entities/contact/OrganizationEntity.js +0 -69
- package/dist/entities/contact/OrganizationEntity.js.map +0 -1
- package/dist/entities/contact/PartyEntity.d.ts +0 -24
- package/dist/entities/contact/PartyEntity.d.ts.map +0 -1
- package/dist/entities/contact/PartyEntity.js +0 -152
- package/dist/entities/contact/PartyEntity.js.map +0 -1
- package/dist/entities/contact/PartyRelationshipEntity.d.ts +0 -15
- package/dist/entities/contact/PartyRelationshipEntity.d.ts.map +0 -1
- package/dist/entities/contact/PartyRelationshipEntity.js +0 -104
- package/dist/entities/contact/PartyRelationshipEntity.js.map +0 -1
- package/dist/entities/contact/PartyTypeEntity.d.ts +0 -16
- package/dist/entities/contact/PartyTypeEntity.d.ts.map +0 -1
- package/dist/entities/contact/PartyTypeEntity.js +0 -109
- package/dist/entities/contact/PartyTypeEntity.js.map +0 -1
- package/dist/entities/contact/PhysicalAddressEntity.d.ts +0 -23
- package/dist/entities/contact/PhysicalAddressEntity.d.ts.map +0 -1
- package/dist/entities/contact/PhysicalAddressEntity.js +0 -136
- package/dist/entities/contact/PhysicalAddressEntity.js.map +0 -1
- package/dist/entities/digitalCredential/DigitalCredentialEntity.d.ts +0 -33
- package/dist/entities/digitalCredential/DigitalCredentialEntity.d.ts.map +0 -1
- package/dist/entities/digitalCredential/DigitalCredentialEntity.js +0 -134
- package/dist/entities/digitalCredential/DigitalCredentialEntity.js.map +0 -1
- package/dist/entities/eventLogger/AuditEventEntity.d.ts +0 -32
- package/dist/entities/eventLogger/AuditEventEntity.d.ts.map +0 -1
- package/dist/entities/eventLogger/AuditEventEntity.js +0 -129
- package/dist/entities/eventLogger/AuditEventEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/BackgroundAttributesEntity.d.ts +0 -9
- package/dist/entities/issuanceBranding/BackgroundAttributesEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js +0 -67
- package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.d.ts +0 -18
- package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js +0 -121
- package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/CredentialBrandingEntity.d.ts +0 -13
- package/dist/entities/issuanceBranding/CredentialBrandingEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/CredentialBrandingEntity.js +0 -95
- package/dist/entities/issuanceBranding/CredentialBrandingEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/CredentialClaimsEntity.d.ts +0 -10
- package/dist/entities/issuanceBranding/CredentialClaimsEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/CredentialClaimsEntity.js +0 -70
- package/dist/entities/issuanceBranding/CredentialClaimsEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.d.ts +0 -9
- package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js +0 -45
- package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/ImageAttributesEntity.d.ts +0 -12
- package/dist/entities/issuanceBranding/ImageAttributesEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/ImageAttributesEntity.js +0 -82
- package/dist/entities/issuanceBranding/ImageAttributesEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/ImageDimensionsEntity.d.ts +0 -7
- package/dist/entities/issuanceBranding/ImageDimensionsEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/ImageDimensionsEntity.js +0 -32
- package/dist/entities/issuanceBranding/ImageDimensionsEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/IssuerBrandingEntity.d.ts +0 -12
- package/dist/entities/issuanceBranding/IssuerBrandingEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/IssuerBrandingEntity.js +0 -89
- package/dist/entities/issuanceBranding/IssuerBrandingEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.d.ts +0 -11
- package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js +0 -55
- package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js.map +0 -1
- package/dist/entities/issuanceBranding/TextAttributesEntity.d.ts +0 -7
- package/dist/entities/issuanceBranding/TextAttributesEntity.d.ts.map +0 -1
- package/dist/entities/issuanceBranding/TextAttributesEntity.js +0 -56
- package/dist/entities/issuanceBranding/TextAttributesEntity.js.map +0 -1
- package/dist/entities/machineState/MachineStateInfoEntity.d.ts +0 -33
- package/dist/entities/machineState/MachineStateInfoEntity.d.ts.map +0 -1
- package/dist/entities/machineState/MachineStateInfoEntity.js +0 -86
- package/dist/entities/machineState/MachineStateInfoEntity.js.map +0 -1
- package/dist/entities/oid4vcState/Oid4vcStateEntity.d.ts +0 -13
- package/dist/entities/oid4vcState/Oid4vcStateEntity.d.ts.map +0 -1
- package/dist/entities/oid4vcState/Oid4vcStateEntity.js +0 -57
- package/dist/entities/oid4vcState/Oid4vcStateEntity.js.map +0 -1
- package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.d.ts +0 -15
- package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.d.ts.map +0 -1
- package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.js +0 -81
- package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.js.map +0 -1
- package/dist/entities/statusList/StatusList2021EntryEntity.d.ts +0 -12
- package/dist/entities/statusList/StatusList2021EntryEntity.d.ts.map +0 -1
- package/dist/entities/statusList/StatusList2021EntryEntity.js +0 -56
- package/dist/entities/statusList/StatusList2021EntryEntity.js.map +0 -1
- package/dist/entities/statusList/StatusListEntities.d.ts +0 -23
- package/dist/entities/statusList/StatusListEntities.d.ts.map +0 -1
- package/dist/entities/statusList/StatusListEntities.js +0 -144
- package/dist/entities/statusList/StatusListEntities.js.map +0 -1
- package/dist/entities/validators/index.d.ts +0 -7
- package/dist/entities/validators/index.d.ts.map +0 -1
- package/dist/entities/validators/index.js +0 -27
- package/dist/entities/validators/index.js.map +0 -1
- package/dist/eventLogger/AbstractEventLoggerStore.d.ts +0 -9
- package/dist/eventLogger/AbstractEventLoggerStore.d.ts.map +0 -1
- package/dist/eventLogger/AbstractEventLoggerStore.js +0 -7
- package/dist/eventLogger/AbstractEventLoggerStore.js.map +0 -1
- package/dist/eventLogger/EventLoggerStore.d.ts +0 -14
- package/dist/eventLogger/EventLoggerStore.d.ts.map +0 -1
- package/dist/eventLogger/EventLoggerStore.js +0 -71
- package/dist/eventLogger/EventLoggerStore.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/issuanceBranding/AbstractIssuanceBrandingStore.d.ts +0 -20
- package/dist/issuanceBranding/AbstractIssuanceBrandingStore.d.ts.map +0 -1
- package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js +0 -7
- package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js.map +0 -1
- package/dist/issuanceBranding/IssuanceBrandingStore.d.ts +0 -27
- package/dist/issuanceBranding/IssuanceBrandingStore.d.ts.map +0 -1
- package/dist/issuanceBranding/IssuanceBrandingStore.js +0 -362
- package/dist/issuanceBranding/IssuanceBrandingStore.js.map +0 -1
- package/dist/machineState/IAbstractMachineStateStore.d.ts +0 -52
- package/dist/machineState/IAbstractMachineStateStore.d.ts.map +0 -1
- package/dist/machineState/IAbstractMachineStateStore.js +0 -13
- package/dist/machineState/IAbstractMachineStateStore.js.map +0 -1
- package/dist/machineState/MachineStateStore.d.ts +0 -21
- package/dist/machineState/MachineStateStore.d.ts.map +0 -1
- package/dist/machineState/MachineStateStore.js +0 -139
- package/dist/machineState/MachineStateStore.js.map +0 -1
- package/dist/migrations/generic/1-CreateContacts.d.ts +0 -7
- package/dist/migrations/generic/1-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/generic/1-CreateContacts.js +0 -78
- package/dist/migrations/generic/1-CreateContacts.js.map +0 -1
- package/dist/migrations/generic/10-CreatePresentationDefinitions.d.ts +0 -7
- package/dist/migrations/generic/10-CreatePresentationDefinitions.d.ts.map +0 -1
- package/dist/migrations/generic/10-CreatePresentationDefinitions.js +0 -78
- package/dist/migrations/generic/10-CreatePresentationDefinitions.js.map +0 -1
- package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.d.ts +0 -7
- package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.d.ts.map +0 -1
- package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.js +0 -80
- package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.js.map +0 -1
- package/dist/migrations/generic/2-CreateIssuanceBranding.d.ts +0 -7
- package/dist/migrations/generic/2-CreateIssuanceBranding.d.ts.map +0 -1
- package/dist/migrations/generic/2-CreateIssuanceBranding.js +0 -78
- package/dist/migrations/generic/2-CreateIssuanceBranding.js.map +0 -1
- package/dist/migrations/generic/3-CreateContacts.d.ts +0 -7
- package/dist/migrations/generic/3-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/generic/3-CreateContacts.js +0 -78
- package/dist/migrations/generic/3-CreateContacts.js.map +0 -1
- package/dist/migrations/generic/4-CreateStatusList.d.ts +0 -7
- package/dist/migrations/generic/4-CreateStatusList.d.ts.map +0 -1
- package/dist/migrations/generic/4-CreateStatusList.js +0 -82
- package/dist/migrations/generic/4-CreateStatusList.js.map +0 -1
- package/dist/migrations/generic/5-CreateAuditEvents.d.ts +0 -7
- package/dist/migrations/generic/5-CreateAuditEvents.d.ts.map +0 -1
- package/dist/migrations/generic/5-CreateAuditEvents.js +0 -78
- package/dist/migrations/generic/5-CreateAuditEvents.js.map +0 -1
- package/dist/migrations/generic/6-CreateDigitalCredential.d.ts +0 -7
- package/dist/migrations/generic/6-CreateDigitalCredential.d.ts.map +0 -1
- package/dist/migrations/generic/6-CreateDigitalCredential.js +0 -78
- package/dist/migrations/generic/6-CreateDigitalCredential.js.map +0 -1
- package/dist/migrations/generic/7-CreateMachineStateStore.d.ts +0 -7
- package/dist/migrations/generic/7-CreateMachineStateStore.d.ts.map +0 -1
- package/dist/migrations/generic/7-CreateMachineStateStore.js +0 -78
- package/dist/migrations/generic/7-CreateMachineStateStore.js.map +0 -1
- package/dist/migrations/generic/8-CreateContacts.d.ts +0 -7
- package/dist/migrations/generic/8-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/generic/8-CreateContacts.js +0 -78
- package/dist/migrations/generic/8-CreateContacts.js.map +0 -1
- package/dist/migrations/generic/9-CreateContacts.d.ts +0 -7
- package/dist/migrations/generic/9-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/generic/9-CreateContacts.js +0 -78
- package/dist/migrations/generic/9-CreateContacts.js.map +0 -1
- package/dist/migrations/generic/index.d.ts +0 -23
- package/dist/migrations/generic/index.d.ts.map +0 -1
- package/dist/migrations/generic/index.js +0 -45
- package/dist/migrations/generic/index.js.map +0 -1
- package/dist/migrations/index.d.ts +0 -2
- package/dist/migrations/index.d.ts.map +0 -1
- package/dist/migrations/index.js +0 -13
- package/dist/migrations/index.js.map +0 -1
- package/dist/migrations/internal-migrations-ormconfig.d.ts +0 -7
- package/dist/migrations/internal-migrations-ormconfig.d.ts.map +0 -1
- package/dist/migrations/internal-migrations-ormconfig.js +0 -27
- package/dist/migrations/internal-migrations-ormconfig.js.map +0 -1
- package/dist/migrations/postgres/1659463079428-CreateContacts.d.ts +0 -7
- package/dist/migrations/postgres/1659463079428-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/postgres/1659463079428-CreateContacts.js +0 -57
- package/dist/migrations/postgres/1659463079428-CreateContacts.js.map +0 -1
- package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.d.ts +0 -7
- package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.d.ts.map +0 -1
- package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js +0 -73
- package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js.map +0 -1
- package/dist/migrations/postgres/1690925872592-CreateContacts.d.ts +0 -7
- package/dist/migrations/postgres/1690925872592-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/postgres/1690925872592-CreateContacts.js +0 -110
- package/dist/migrations/postgres/1690925872592-CreateContacts.js.map +0 -1
- package/dist/migrations/postgres/1693866470001-CreateStatusList.d.ts +0 -7
- package/dist/migrations/postgres/1693866470001-CreateStatusList.d.ts.map +0 -1
- package/dist/migrations/postgres/1693866470001-CreateStatusList.js +0 -65
- package/dist/migrations/postgres/1693866470001-CreateStatusList.js.map +0 -1
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.d.ts +0 -7
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.d.ts.map +0 -1
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js +0 -71
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js.map +0 -1
- package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.d.ts +0 -7
- package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.d.ts.map +0 -1
- package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.js +0 -75
- package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.js.map +0 -1
- package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.d.ts +0 -7
- package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.d.ts.map +0 -1
- package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.js +0 -45
- package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.js.map +0 -1
- package/dist/migrations/postgres/1710438363001-CreateContacts.d.ts +0 -7
- package/dist/migrations/postgres/1710438363001-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/postgres/1710438363001-CreateContacts.js +0 -63
- package/dist/migrations/postgres/1710438363001-CreateContacts.js.map +0 -1
- package/dist/migrations/postgres/1715761125001-CreateContacts.d.ts +0 -7
- package/dist/migrations/postgres/1715761125001-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/postgres/1715761125001-CreateContacts.js +0 -74
- package/dist/migrations/postgres/1715761125001-CreateContacts.js.map +0 -1
- package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.d.ts +0 -7
- package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.d.ts.map +0 -1
- package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js +0 -42
- package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js.map +0 -1
- package/dist/migrations/postgres/1737110469001-UpdateStatusList.d.ts +0 -7
- package/dist/migrations/postgres/1737110469001-UpdateStatusList.d.ts.map +0 -1
- package/dist/migrations/postgres/1737110469001-UpdateStatusList.js +0 -39
- package/dist/migrations/postgres/1737110469001-UpdateStatusList.js.map +0 -1
- package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.d.ts +0 -7
- package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.d.ts.map +0 -1
- package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.js +0 -37
- package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.js.map +0 -1
- package/dist/migrations/sqlite/1659463069549-CreateContacts.d.ts +0 -7
- package/dist/migrations/sqlite/1659463069549-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/sqlite/1659463069549-CreateContacts.js +0 -79
- package/dist/migrations/sqlite/1659463069549-CreateContacts.js.map +0 -1
- package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.d.ts +0 -7
- package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.d.ts.map +0 -1
- package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js +0 -93
- package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js.map +0 -1
- package/dist/migrations/sqlite/1690925872693-CreateContacts.d.ts +0 -7
- package/dist/migrations/sqlite/1690925872693-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/sqlite/1690925872693-CreateContacts.js +0 -143
- package/dist/migrations/sqlite/1690925872693-CreateContacts.js.map +0 -1
- package/dist/migrations/sqlite/1693866470000-CreateStatusList.d.ts +0 -7
- package/dist/migrations/sqlite/1693866470000-CreateStatusList.d.ts.map +0 -1
- package/dist/migrations/sqlite/1693866470000-CreateStatusList.js +0 -72
- package/dist/migrations/sqlite/1693866470000-CreateStatusList.js.map +0 -1
- package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.d.ts +0 -7
- package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.d.ts.map +0 -1
- package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js +0 -55
- package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js.map +0 -1
- package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.d.ts +0 -7
- package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.d.ts.map +0 -1
- package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.js +0 -62
- package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.js.map +0 -1
- package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.d.ts +0 -7
- package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.d.ts.map +0 -1
- package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.js +0 -44
- package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.js.map +0 -1
- package/dist/migrations/sqlite/1710438363002-CreateContacts.d.ts +0 -7
- package/dist/migrations/sqlite/1710438363002-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/sqlite/1710438363002-CreateContacts.js +0 -79
- package/dist/migrations/sqlite/1710438363002-CreateContacts.js.map +0 -1
- package/dist/migrations/sqlite/1715761125002-CreateContacts.d.ts +0 -7
- package/dist/migrations/sqlite/1715761125002-CreateContacts.d.ts.map +0 -1
- package/dist/migrations/sqlite/1715761125002-CreateContacts.js +0 -73
- package/dist/migrations/sqlite/1715761125002-CreateContacts.js.map +0 -1
- package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.d.ts +0 -7
- package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.d.ts.map +0 -1
- package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js +0 -39
- package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js.map +0 -1
- package/dist/migrations/sqlite/1737110469000-UpdateStatusList.d.ts +0 -7
- package/dist/migrations/sqlite/1737110469000-UpdateStatusList.d.ts.map +0 -1
- package/dist/migrations/sqlite/1737110469000-UpdateStatusList.js +0 -96
- package/dist/migrations/sqlite/1737110469000-UpdateStatusList.js.map +0 -1
- package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.d.ts +0 -7
- package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.d.ts.map +0 -1
- package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.js +0 -80
- package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.js.map +0 -1
- package/dist/presentationDefinition/AbstractPDStore.d.ts +0 -12
- package/dist/presentationDefinition/AbstractPDStore.d.ts.map +0 -1
- package/dist/presentationDefinition/AbstractPDStore.js +0 -7
- package/dist/presentationDefinition/AbstractPDStore.js.map +0 -1
- package/dist/presentationDefinition/PDStore.d.ts +0 -19
- package/dist/presentationDefinition/PDStore.d.ts.map +0 -1
- package/dist/presentationDefinition/PDStore.js +0 -152
- package/dist/presentationDefinition/PDStore.js.map +0 -1
- package/dist/statusList/IStatusListStore.d.ts +0 -20
- package/dist/statusList/IStatusListStore.d.ts.map +0 -1
- package/dist/statusList/IStatusListStore.js +0 -3
- package/dist/statusList/IStatusListStore.js.map +0 -1
- package/dist/statusList/StatusListStore.d.ts +0 -37
- package/dist/statusList/StatusListStore.d.ts.map +0 -1
- package/dist/statusList/StatusListStore.js +0 -243
- package/dist/statusList/StatusListStore.js.map +0 -1
- package/dist/types/contact/IAbstractContactStore.d.ts +0 -111
- package/dist/types/contact/IAbstractContactStore.d.ts.map +0 -1
- package/dist/types/contact/IAbstractContactStore.js +0 -3
- package/dist/types/contact/IAbstractContactStore.js.map +0 -1
- package/dist/types/contact/contact.d.ts +0 -254
- package/dist/types/contact/contact.d.ts.map +0 -1
- package/dist/types/contact/contact.js +0 -30
- package/dist/types/contact/contact.js.map +0 -1
- package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.d.ts +0 -47
- package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.d.ts.map +0 -1
- package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.js +0 -3
- package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.js.map +0 -1
- package/dist/types/digitalCredential/digitalCredential.d.ts +0 -73
- package/dist/types/digitalCredential/digitalCredential.d.ts.map +0 -1
- package/dist/types/digitalCredential/digitalCredential.js +0 -79
- package/dist/types/digitalCredential/digitalCredential.js.map +0 -1
- package/dist/types/eventLogger/IAbstractEventLoggerStore.d.ts +0 -17
- package/dist/types/eventLogger/IAbstractEventLoggerStore.d.ts.map +0 -1
- package/dist/types/eventLogger/IAbstractEventLoggerStore.js +0 -3
- package/dist/types/eventLogger/IAbstractEventLoggerStore.js.map +0 -1
- package/dist/types/eventLogger/eventLogger.d.ts +0 -4
- package/dist/types/eventLogger/eventLogger.d.ts.map +0 -1
- package/dist/types/eventLogger/eventLogger.js +0 -3
- package/dist/types/eventLogger/eventLogger.js.map +0 -1
- package/dist/types/index.d.ts +0 -15
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -31
- package/dist/types/index.js.map +0 -1
- package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.d.ts +0 -59
- package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.d.ts.map +0 -1
- package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js +0 -3
- package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js.map +0 -1
- package/dist/types/issuanceBranding/issuanceBranding.d.ts +0 -132
- package/dist/types/issuanceBranding/issuanceBranding.d.ts.map +0 -1
- package/dist/types/issuanceBranding/issuanceBranding.js +0 -3
- package/dist/types/issuanceBranding/issuanceBranding.js.map +0 -1
- package/dist/types/machineState/IAbstractMachineStateStore.d.ts +0 -58
- package/dist/types/machineState/IAbstractMachineStateStore.d.ts.map +0 -1
- package/dist/types/machineState/IAbstractMachineStateStore.js +0 -3
- package/dist/types/machineState/IAbstractMachineStateStore.js.map +0 -1
- package/dist/types/presentationDefinition/IAbstractPDStore.d.ts +0 -17
- package/dist/types/presentationDefinition/IAbstractPDStore.d.ts.map +0 -1
- package/dist/types/presentationDefinition/IAbstractPDStore.js +0 -3
- package/dist/types/presentationDefinition/IAbstractPDStore.js.map +0 -1
- package/dist/types/presentationDefinition/presentationDefinition.d.ts +0 -18
- package/dist/types/presentationDefinition/presentationDefinition.d.ts.map +0 -1
- package/dist/types/presentationDefinition/presentationDefinition.js +0 -3
- package/dist/types/presentationDefinition/presentationDefinition.js.map +0 -1
- package/dist/types/statusList/IAbstractStatusListStore.d.ts +0 -39
- package/dist/types/statusList/IAbstractStatusListStore.d.ts.map +0 -1
- package/dist/types/statusList/IAbstractStatusListStore.js +0 -3
- package/dist/types/statusList/IAbstractStatusListStore.js.map +0 -1
- package/dist/types/statusList/statusList.d.ts +0 -31
- package/dist/types/statusList/statusList.d.ts.map +0 -1
- package/dist/types/statusList/statusList.js +0 -3
- package/dist/types/statusList/statusList.js.map +0 -1
- package/dist/types/validation/validation.d.ts +0 -4
- package/dist/types/validation/validation.d.ts.map +0 -1
- package/dist/types/validation/validation.js +0 -3
- package/dist/types/validation/validation.js.map +0 -1
- package/dist/utils/FormattingUtils.d.ts +0 -2
- package/dist/utils/FormattingUtils.d.ts.map +0 -1
- package/dist/utils/FormattingUtils.js +0 -23
- package/dist/utils/FormattingUtils.js.map +0 -1
- package/dist/utils/SortingUtils.d.ts +0 -3
- package/dist/utils/SortingUtils.d.ts.map +0 -1
- package/dist/utils/SortingUtils.js +0 -18
- package/dist/utils/SortingUtils.js.map +0 -1
- package/dist/utils/ValidatorUtils.d.ts +0 -4
- package/dist/utils/ValidatorUtils.d.ts.map +0 -1
- package/dist/utils/ValidatorUtils.js +0 -13
- package/dist/utils/ValidatorUtils.js.map +0 -1
- package/dist/utils/contact/MappingUtils.d.ts +0 -52
- package/dist/utils/contact/MappingUtils.d.ts.map +0 -1
- package/dist/utils/contact/MappingUtils.js +0 -458
- package/dist/utils/contact/MappingUtils.js.map +0 -1
- package/dist/utils/digitalCredential/MappingUtils.d.ts +0 -10
- package/dist/utils/digitalCredential/MappingUtils.d.ts.map +0 -1
- package/dist/utils/digitalCredential/MappingUtils.js +0 -139
- package/dist/utils/digitalCredential/MappingUtils.js.map +0 -1
- package/dist/utils/eventLogger/MappingUtils.d.ts +0 -8
- package/dist/utils/eventLogger/MappingUtils.d.ts.map +0 -1
- package/dist/utils/eventLogger/MappingUtils.js +0 -70
- package/dist/utils/eventLogger/MappingUtils.js.map +0 -1
- package/dist/utils/issuanceBranding/MappingUtils.d.ts +0 -24
- package/dist/utils/issuanceBranding/MappingUtils.d.ts.map +0 -1
- package/dist/utils/issuanceBranding/MappingUtils.js +0 -109
- package/dist/utils/issuanceBranding/MappingUtils.js.map +0 -1
- package/dist/utils/presentationDefinition/MappingUtils.d.ts +0 -6
- package/dist/utils/presentationDefinition/MappingUtils.d.ts.map +0 -1
- package/dist/utils/presentationDefinition/MappingUtils.js +0 -52
- package/dist/utils/presentationDefinition/MappingUtils.js.map +0 -1
- package/dist/utils/statusList/MappingUtils.d.ts +0 -5
- package/dist/utils/statusList/MappingUtils.d.ts.map +0 -1
- package/dist/utils/statusList/MappingUtils.js +0 -69
- package/dist/utils/statusList/MappingUtils.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuditEventEntity.js","sourceRoot":"","sources":["../../../src/entities/eventLogger/AuditEventEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAsJ;AACtJ,yDAA6E;AAC7E,yEAAgE;AAChE,qCAAgH;AAEhH,6JAA6J;AAC7J,gJAAgJ;AAEzI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,oBAAU;CA8E/C,CAAA;AA9EY,4CAAgB;AAE3B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACpB;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAA,sCAAe,GAAE,EAAE,CAAC;8BAC3E,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+0,0 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
|
-
import { ImageAttributesEntity } from './ImageAttributesEntity';
|
|
3
|
-
export declare class BackgroundAttributesEntity extends BaseEntity {
|
|
4
|
-
id: string;
|
|
5
|
-
color?: string;
|
|
6
|
-
image?: ImageAttributesEntity;
|
|
7
|
-
validate(): Promise<undefined>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=BackgroundAttributesEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BackgroundAttributesEntity.d.ts","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/BackgroundAttributesEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4F,MAAM,SAAS,CAAA;AAC9H,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAI/D,qBACa,0BAA2B,SAAQ,UAAU;IAExD,EAAE,EAAG,MAAM,CAAA;IAIX,KAAK,CAAC,EAAE,MAAM,CAAA;IASd,KAAK,CAAC,EAAE,qBAAqB,CAAA;IAIvB,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC;CAOrC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.BackgroundAttributesEntity = void 0;
|
|
22
|
-
const typeorm_1 = require("typeorm");
|
|
23
|
-
const ImageAttributesEntity_1 = require("./ImageAttributesEntity");
|
|
24
|
-
const class_validator_1 = require("class-validator");
|
|
25
|
-
const validators_1 = require("../validators");
|
|
26
|
-
let BackgroundAttributesEntity = class BackgroundAttributesEntity extends typeorm_1.BaseEntity {
|
|
27
|
-
validate() {
|
|
28
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
const validation = yield (0, class_validator_1.validate)(this);
|
|
30
|
-
if (validation.length > 0) {
|
|
31
|
-
return Promise.reject(Error(Object.values(validation[0].constraints)[0]));
|
|
32
|
-
}
|
|
33
|
-
return;
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
exports.BackgroundAttributesEntity = BackgroundAttributesEntity;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], BackgroundAttributesEntity.prototype, "id", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)('varchar', { name: 'color', length: 255, nullable: true, unique: false }),
|
|
44
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank background colors are not allowed' }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], BackgroundAttributesEntity.prototype, "color", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.OneToOne)(() => ImageAttributesEntity_1.ImageAttributesEntity, {
|
|
49
|
-
cascade: true,
|
|
50
|
-
onDelete: 'CASCADE',
|
|
51
|
-
eager: true,
|
|
52
|
-
nullable: true,
|
|
53
|
-
}),
|
|
54
|
-
(0, typeorm_1.JoinColumn)({ name: 'imageId' }),
|
|
55
|
-
__metadata("design:type", ImageAttributesEntity_1.ImageAttributesEntity)
|
|
56
|
-
], BackgroundAttributesEntity.prototype, "image", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
59
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
60
|
-
__metadata("design:type", Function),
|
|
61
|
-
__metadata("design:paramtypes", []),
|
|
62
|
-
__metadata("design:returntype", Promise)
|
|
63
|
-
], BackgroundAttributesEntity.prototype, "validate", null);
|
|
64
|
-
exports.BackgroundAttributesEntity = BackgroundAttributesEntity = __decorate([
|
|
65
|
-
(0, typeorm_1.Entity)('BackgroundAttributes')
|
|
66
|
-
], BackgroundAttributesEntity);
|
|
67
|
-
//# sourceMappingURL=BackgroundAttributesEntity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BackgroundAttributesEntity.js","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/BackgroundAttributesEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,qCAA8H;AAC9H,mEAA+D;AAC/D,qDAAqE;AACrE,8CAA0D;AAGnD,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,oBAAU;IAmBlD,QAAQ;;YACZ,MAAM,UAAU,GAA2B,MAAM,IAAA,0BAAQ,EAAC,IAAI,CAAC,CAAA;YAC/D,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC1B,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,WAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YAC5E,CAAC;YACD,OAAM;QACR,CAAC;KAAA;CACF,CAAA;AA1BY,gEAA0B;AAErC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sDACpB;AAIX;IAFC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChF,IAAA,0BAAQ,EAAC,uCAA0B,EAAE,EAAE,OAAO,EAAE,yCAAyC,EAAE,CAAC;;yDAC/E;AASd;IAPC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,6CAAqB,EAAE;QACrC,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BACxB,6CAAqB;yDAAA;AAIvB;IAFL,IAAA,sBAAY,GAAE;IACd,IAAA,sBAAY,GAAE;;;;0DAOd;qCAzBU,0BAA0B;IADtC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,0BAA0B,CA0BtC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
|
-
import { ImageAttributesEntity } from './ImageAttributesEntity';
|
|
3
|
-
import { BackgroundAttributesEntity } from './BackgroundAttributesEntity';
|
|
4
|
-
import { TextAttributesEntity } from './TextAttributesEntity';
|
|
5
|
-
export declare class BaseLocaleBrandingEntity extends BaseEntity {
|
|
6
|
-
id: string;
|
|
7
|
-
alias?: string;
|
|
8
|
-
locale?: string;
|
|
9
|
-
logo?: ImageAttributesEntity;
|
|
10
|
-
description?: string;
|
|
11
|
-
background?: BackgroundAttributesEntity;
|
|
12
|
-
text?: TextAttributesEntity;
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
lastUpdatedAt: Date;
|
|
15
|
-
updateUpdatedDate(): void;
|
|
16
|
-
validate(): Promise<undefined>;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=BaseLocaleBrandingEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseLocaleBrandingEntity.d.ts","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/BaseLocaleBrandingEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAWX,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAI7D,qBAEa,wBAAyB,SAAQ,UAAU;IAEtD,EAAE,EAAG,MAAM,CAAA;IAIX,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,MAAM,CAAC,EAAE,MAAM,CAAA;IASf,IAAI,CAAC,EAAE,qBAAqB,CAAA;IAI5B,WAAW,CAAC,EAAE,MAAM,CAAA;IASpB,UAAU,CAAC,EAAE,0BAA0B,CAAA;IASvC,IAAI,CAAC,EAAE,oBAAoB,CAAA;IAG3B,SAAS,EAAG,IAAI,CAAA;IAGhB,aAAa,EAAG,IAAI,CAAA;IAKpB,iBAAiB,IAAI,IAAI;IAMnB,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC;CAOrC"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.BaseLocaleBrandingEntity = void 0;
|
|
22
|
-
const typeorm_1 = require("typeorm");
|
|
23
|
-
const ssi_sdk_agent_config_1 = require("@sphereon/ssi-sdk.agent-config");
|
|
24
|
-
const ImageAttributesEntity_1 = require("./ImageAttributesEntity");
|
|
25
|
-
const BackgroundAttributesEntity_1 = require("./BackgroundAttributesEntity");
|
|
26
|
-
const TextAttributesEntity_1 = require("./TextAttributesEntity");
|
|
27
|
-
const class_validator_1 = require("class-validator");
|
|
28
|
-
const validators_1 = require("../validators");
|
|
29
|
-
let BaseLocaleBrandingEntity = class BaseLocaleBrandingEntity extends typeorm_1.BaseEntity {
|
|
30
|
-
// By default, @UpdateDateColumn in TypeORM updates the timestamp only when the entity's top-level properties change.
|
|
31
|
-
updateUpdatedDate() {
|
|
32
|
-
this.lastUpdatedAt = new Date();
|
|
33
|
-
}
|
|
34
|
-
validate() {
|
|
35
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
-
const validation = yield (0, class_validator_1.validate)(this);
|
|
37
|
-
if (validation.length > 0) {
|
|
38
|
-
return Promise.reject(Error(Object.values(validation[0].constraints)[0]));
|
|
39
|
-
}
|
|
40
|
-
return;
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
exports.BaseLocaleBrandingEntity = BaseLocaleBrandingEntity;
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], BaseLocaleBrandingEntity.prototype, "id", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)('varchar', { name: 'alias', length: 255, nullable: true, unique: false }),
|
|
51
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank aliases are not allowed' }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], BaseLocaleBrandingEntity.prototype, "alias", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, typeorm_1.Column)('varchar', { name: 'locale', length: 255, nullable: false, unique: false }),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], BaseLocaleBrandingEntity.prototype, "locale", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, typeorm_1.OneToOne)(() => ImageAttributesEntity_1.ImageAttributesEntity, {
|
|
60
|
-
cascade: true,
|
|
61
|
-
onDelete: 'CASCADE',
|
|
62
|
-
eager: true,
|
|
63
|
-
nullable: true,
|
|
64
|
-
}),
|
|
65
|
-
(0, typeorm_1.JoinColumn)({ name: 'logoId' }),
|
|
66
|
-
__metadata("design:type", ImageAttributesEntity_1.ImageAttributesEntity)
|
|
67
|
-
], BaseLocaleBrandingEntity.prototype, "logo", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)('varchar', { name: 'description', length: 255, nullable: true, unique: false }),
|
|
70
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank descriptions are not allowed' }),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], BaseLocaleBrandingEntity.prototype, "description", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, typeorm_1.OneToOne)(() => BackgroundAttributesEntity_1.BackgroundAttributesEntity, {
|
|
75
|
-
cascade: true,
|
|
76
|
-
onDelete: 'CASCADE',
|
|
77
|
-
eager: true,
|
|
78
|
-
nullable: true,
|
|
79
|
-
}),
|
|
80
|
-
(0, typeorm_1.JoinColumn)({ name: 'backgroundId' }),
|
|
81
|
-
__metadata("design:type", BackgroundAttributesEntity_1.BackgroundAttributesEntity)
|
|
82
|
-
], BaseLocaleBrandingEntity.prototype, "background", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.OneToOne)(() => TextAttributesEntity_1.TextAttributesEntity, {
|
|
85
|
-
cascade: true,
|
|
86
|
-
onDelete: 'CASCADE',
|
|
87
|
-
eager: true,
|
|
88
|
-
nullable: true,
|
|
89
|
-
}),
|
|
90
|
-
(0, typeorm_1.JoinColumn)({ name: 'textId' }),
|
|
91
|
-
__metadata("design:type", TextAttributesEntity_1.TextAttributesEntity)
|
|
92
|
-
], BaseLocaleBrandingEntity.prototype, "text", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, typeorm_1.CreateDateColumn)({ name: 'created_at', nullable: false, type: (0, ssi_sdk_agent_config_1.typeOrmDateTime)() }),
|
|
95
|
-
__metadata("design:type", Date)
|
|
96
|
-
], BaseLocaleBrandingEntity.prototype, "createdAt", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, typeorm_1.UpdateDateColumn)({ name: 'last_updated_at', nullable: false, type: (0, ssi_sdk_agent_config_1.typeOrmDateTime)() }),
|
|
99
|
-
__metadata("design:type", Date
|
|
100
|
-
// By default, @UpdateDateColumn in TypeORM updates the timestamp only when the entity's top-level properties change.
|
|
101
|
-
)
|
|
102
|
-
], BaseLocaleBrandingEntity.prototype, "lastUpdatedAt", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
105
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
106
|
-
__metadata("design:type", Function),
|
|
107
|
-
__metadata("design:paramtypes", []),
|
|
108
|
-
__metadata("design:returntype", void 0)
|
|
109
|
-
], BaseLocaleBrandingEntity.prototype, "updateUpdatedDate", null);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
112
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
113
|
-
__metadata("design:type", Function),
|
|
114
|
-
__metadata("design:paramtypes", []),
|
|
115
|
-
__metadata("design:returntype", Promise)
|
|
116
|
-
], BaseLocaleBrandingEntity.prototype, "validate", null);
|
|
117
|
-
exports.BaseLocaleBrandingEntity = BaseLocaleBrandingEntity = __decorate([
|
|
118
|
-
(0, typeorm_1.Entity)('BaseLocaleBranding'),
|
|
119
|
-
(0, typeorm_1.TableInheritance)({ column: { type: 'varchar', name: 'type' } })
|
|
120
|
-
], BaseLocaleBrandingEntity);
|
|
121
|
-
//# sourceMappingURL=BaseLocaleBrandingEntity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseLocaleBrandingEntity.js","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/BaseLocaleBrandingEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,qCAYgB;AAChB,yEAAgE;AAChE,mEAA+D;AAC/D,6EAAyE;AACzE,iEA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DAOd;mCA/DU,wBAAwB;IAFpC,IAAA,gBAAM,EAAC,oBAAoB,CAAC;IAC5B,IAAA,0BAAgB,EAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;GACnD,wBAAwB,CAgEpC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
|
-
import { CredentialLocaleBrandingEntity } from './CredentialLocaleBrandingEntity';
|
|
3
|
-
export declare class CredentialBrandingEntity extends BaseEntity {
|
|
4
|
-
id: string;
|
|
5
|
-
vcHash: string;
|
|
6
|
-
issuerCorrelationId: string;
|
|
7
|
-
localeBranding: Array<CredentialLocaleBrandingEntity>;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
lastUpdatedAt: Date;
|
|
10
|
-
updateUpdatedDate(): void;
|
|
11
|
-
validate(): Promise<undefined>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=CredentialBrandingEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialBrandingEntity.d.ts","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/CredentialBrandingEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAUX,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AAEjF,qBAGa,wBAAyB,SAAQ,UAAU;IAEtD,EAAE,EAAG,MAAM,CAAA;IAIX,MAAM,EAAG,MAAM,CAAA;IAIf,mBAAmB,EAAG,MAAM,CAAA;IAa5B,cAAc,EAAG,KAAK,CAAC,8BAA8B,CAAC,CAAA;IAGtD,SAAS,EAAG,IAAI,CAAA;IAGhB,aAAa,EAAG,IAAI,CAAA;IAKpB,iBAAiB,IAAI,IAAI;IAMnB,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC;CAOrC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.CredentialBrandingEntity = void 0;
|
|
22
|
-
const typeorm_1 = require("typeorm");
|
|
23
|
-
const class_validator_1 = require("class-validator");
|
|
24
|
-
const ssi_sdk_agent_config_1 = require("@sphereon/ssi-sdk.agent-config");
|
|
25
|
-
const CredentialLocaleBrandingEntity_1 = require("./CredentialLocaleBrandingEntity");
|
|
26
|
-
let CredentialBrandingEntity = class CredentialBrandingEntity extends typeorm_1.BaseEntity {
|
|
27
|
-
// By default, @UpdateDateColumn in TypeORM updates the timestamp only when the entity's top-level properties change.
|
|
28
|
-
updateUpdatedDate() {
|
|
29
|
-
this.lastUpdatedAt = new Date();
|
|
30
|
-
}
|
|
31
|
-
validate() {
|
|
32
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
-
const validation = yield (0, class_validator_1.validate)(this);
|
|
34
|
-
if (validation.length > 0) {
|
|
35
|
-
return Promise.reject(Error(Object.values(validation[0].constraints)[0]));
|
|
36
|
-
}
|
|
37
|
-
return;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
exports.CredentialBrandingEntity = CredentialBrandingEntity;
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], CredentialBrandingEntity.prototype, "id", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, typeorm_1.Column)('varchar', { name: 'vcHash', length: 255, nullable: false, unique: true }),
|
|
48
|
-
(0, class_validator_1.IsNotEmpty)({ message: 'Blank vcHashes are not allowed' }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CredentialBrandingEntity.prototype, "vcHash", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)('varchar', { name: 'issuerCorrelationId', length: 255, nullable: false, unique: false }),
|
|
53
|
-
(0, class_validator_1.IsNotEmpty)({ message: 'Blank issuerCorrelationIds are not allowed' }),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], CredentialBrandingEntity.prototype, "issuerCorrelationId", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.OneToMany)(() => CredentialLocaleBrandingEntity_1.CredentialLocaleBrandingEntity, (credentialLocaleBrandingEntity) => credentialLocaleBrandingEntity.credentialBranding, {
|
|
58
|
-
cascade: true,
|
|
59
|
-
onDelete: 'CASCADE',
|
|
60
|
-
eager: true,
|
|
61
|
-
nullable: false,
|
|
62
|
-
}),
|
|
63
|
-
(0, class_validator_1.ArrayMinSize)(1, { message: 'localeBranding cannot be empty' }),
|
|
64
|
-
__metadata("design:type", Array)
|
|
65
|
-
], CredentialBrandingEntity.prototype, "localeBranding", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, typeorm_1.CreateDateColumn)({ name: 'created_at', nullable: false, type: (0, ssi_sdk_agent_config_1.typeOrmDateTime)() }),
|
|
68
|
-
__metadata("design:type", Date)
|
|
69
|
-
], CredentialBrandingEntity.prototype, "createdAt", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, typeorm_1.UpdateDateColumn)({ name: 'last_updated_at', nullable: false, type: (0, ssi_sdk_agent_config_1.typeOrmDateTime)() }),
|
|
72
|
-
__metadata("design:type", Date
|
|
73
|
-
// By default, @UpdateDateColumn in TypeORM updates the timestamp only when the entity's top-level properties change.
|
|
74
|
-
)
|
|
75
|
-
], CredentialBrandingEntity.prototype, "lastUpdatedAt", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
78
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
79
|
-
__metadata("design:type", Function),
|
|
80
|
-
__metadata("design:paramtypes", []),
|
|
81
|
-
__metadata("design:returntype", void 0)
|
|
82
|
-
], CredentialBrandingEntity.prototype, "updateUpdatedDate", null);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
85
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
86
|
-
__metadata("design:type", Function),
|
|
87
|
-
__metadata("design:paramtypes", []),
|
|
88
|
-
__metadata("design:returntype", Promise)
|
|
89
|
-
], CredentialBrandingEntity.prototype, "validate", null);
|
|
90
|
-
exports.CredentialBrandingEntity = CredentialBrandingEntity = __decorate([
|
|
91
|
-
(0, typeorm_1.Entity)('CredentialBranding'),
|
|
92
|
-
(0, typeorm_1.Index)('IDX_CredentialBrandingEntity_vcHash', ['vcHash']),
|
|
93
|
-
(0, typeorm_1.Index)('IDX_CredentialBrandingEntity_issuerCorrelationId', ['issuerCorrelationId'])
|
|
94
|
-
], CredentialBrandingEntity);
|
|
95
|
-
//# sourceMappingURL=CredentialBrandingEntity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialBrandingEntity.js","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/CredentialBrandingEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,qCAWgB;AAChB,qDAAqF;AACrF,yEAAgE;AAChE,qFAAiF;AAK1E,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oBAAU;IA+BtD,qHAAqH;IAGrH,iBAAiB;QACf,IAAI,CAAC,aAAa,GAAG,IAAI,IAAI,EAAE,CAAA;IACjC,CAAC;IAIK,QAAQ;;YACZ,MAAM,UAAU,GAA2B,MAAM,IAAA,0BAAQ,EAAC,IAAI,CAAC,CAAA;YAC/D,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC1B,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,WAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YAC5E,CAAC;YACD,OAAM;QACR,CAAC;KAAA;CACF,CAAA;AA/CY,4DAAwB;AAEnC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;oDACpB;AAIX;IAFC,IAAA,gBAAM,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACjF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,gCAAgC,EAAE,CAAC;;wDAC3C;AAIf;IAFC,IAAA,gBAAM,EAAC,SAAS,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BaseEntity } from 'typeorm';
|
|
2
|
-
import { CredentialLocaleBrandingEntity } from './CredentialLocaleBrandingEntity';
|
|
3
|
-
export declare class CredentialClaimsEntity extends BaseEntity {
|
|
4
|
-
id: string;
|
|
5
|
-
key: string;
|
|
6
|
-
name: string;
|
|
7
|
-
credentialLocaleBranding: CredentialLocaleBrandingEntity;
|
|
8
|
-
validate(): Promise<undefined>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=CredentialClaimsEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialClaimsEntity.d.ts","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/CredentialClaimsEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAwF,MAAM,SAAS,CAAA;AAC1H,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AAIjF,qBAEa,sBAAuB,SAAQ,UAAU;IAEpD,EAAE,EAAG,MAAM,CAAA;IAIX,GAAG,EAAG,MAAM,CAAA;IAIZ,IAAI,EAAG,MAAM,CAAA;IAMb,wBAAwB,EAAG,8BAA8B,CAAA;IAInD,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC;CAOrC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.CredentialClaimsEntity = void 0;
|
|
22
|
-
const typeorm_1 = require("typeorm");
|
|
23
|
-
const CredentialLocaleBrandingEntity_1 = require("./CredentialLocaleBrandingEntity");
|
|
24
|
-
const class_validator_1 = require("class-validator");
|
|
25
|
-
const validators_1 = require("../validators");
|
|
26
|
-
let CredentialClaimsEntity = class CredentialClaimsEntity extends typeorm_1.BaseEntity {
|
|
27
|
-
validate() {
|
|
28
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
const validation = yield (0, class_validator_1.validate)(this);
|
|
30
|
-
if (validation.length > 0) {
|
|
31
|
-
return Promise.reject(Error(Object.values(validation[0].constraints)[0]));
|
|
32
|
-
}
|
|
33
|
-
return;
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
exports.CredentialClaimsEntity = CredentialClaimsEntity;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], CredentialClaimsEntity.prototype, "id", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)('varchar', { name: 'key', length: 255, nullable: false, unique: false }),
|
|
44
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank claim keys are not allowed' }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], CredentialClaimsEntity.prototype, "key", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)('varchar', { name: 'name', length: 255, nullable: false, unique: false }),
|
|
49
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank claim names are not allowed' }),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], CredentialClaimsEntity.prototype, "name", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, typeorm_1.ManyToOne)(() => CredentialLocaleBrandingEntity_1.CredentialLocaleBrandingEntity, (credentialLocaleBranding) => credentialLocaleBranding.claims, {
|
|
54
|
-
cascade: ['insert', 'update'],
|
|
55
|
-
onDelete: 'CASCADE',
|
|
56
|
-
}),
|
|
57
|
-
__metadata("design:type", CredentialLocaleBrandingEntity_1.CredentialLocaleBrandingEntity)
|
|
58
|
-
], CredentialClaimsEntity.prototype, "credentialLocaleBranding", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
61
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
62
|
-
__metadata("design:type", Function),
|
|
63
|
-
__metadata("design:paramtypes", []),
|
|
64
|
-
__metadata("design:returntype", Promise)
|
|
65
|
-
], CredentialClaimsEntity.prototype, "validate", null);
|
|
66
|
-
exports.CredentialClaimsEntity = CredentialClaimsEntity = __decorate([
|
|
67
|
-
(0, typeorm_1.Entity)('CredentialClaims'),
|
|
68
|
-
(0, typeorm_1.Index)('IDX_CredentialClaimsEntity_credentialLocaleBranding_locale', ['credentialLocaleBranding', 'key'], { unique: true })
|
|
69
|
-
], CredentialClaimsEntity);
|
|
70
|
-
//# sourceMappingURL=CredentialClaimsEntity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A8B,EAAE,CAAC,wBAAwD,EAAE,EAAE,CAAC,wBAAwB,CAAC,MAAM,EAAE;QAC9I,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAC7B,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACyB,+DAA8B;wEAAA;AAInD;IAFL,IAAA,sBAAY,GAAE;IACd,IAAA,sBAAY,GAAE;;;;sDAOd;iCA1BU,sBAAsB;IAFlC,IAAA,gBAAM,EAAC,kBAAkB,CAAC;IAC1B,IAAA,eAAK,EAAC,4DAA4D,EAAE,CAAC,0BAA0B,EAAE,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC9G,sBAAsB,CA2BlC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CredentialBrandingEntity } from './CredentialBrandingEntity';
|
|
2
|
-
import { BaseLocaleBrandingEntity } from './BaseLocaleBrandingEntity';
|
|
3
|
-
import { CredentialClaimsEntity } from './CredentialClaimsEntity';
|
|
4
|
-
export declare class CredentialLocaleBrandingEntity extends BaseLocaleBrandingEntity {
|
|
5
|
-
credentialBranding: CredentialBrandingEntity;
|
|
6
|
-
claims: Array<CredentialClaimsEntity>;
|
|
7
|
-
credentialBrandingId: string;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=CredentialLocaleBrandingEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialLocaleBrandingEntity.d.ts","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/CredentialLocaleBrandingEntity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,qBAEa,8BAA+B,SAAQ,wBAAwB;IAK1E,kBAAkB,EAAG,wBAAwB,CAAA;IAS7C,MAAM,EAAG,KAAK,CAAC,sBAAsB,CAAC,CAAA;IAGtC,oBAAoB,EAAG,MAAM,CAAA;CAC9B"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CredentialLocaleBrandingEntity = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const CredentialBrandingEntity_1 = require("./CredentialBrandingEntity");
|
|
15
|
-
const BaseLocaleBrandingEntity_1 = require("./BaseLocaleBrandingEntity");
|
|
16
|
-
const CredentialClaimsEntity_1 = require("./CredentialClaimsEntity");
|
|
17
|
-
let CredentialLocaleBrandingEntity = class CredentialLocaleBrandingEntity extends BaseLocaleBrandingEntity_1.BaseLocaleBrandingEntity {
|
|
18
|
-
};
|
|
19
|
-
exports.CredentialLocaleBrandingEntity = CredentialLocaleBrandingEntity;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.ManyToOne)(() => CredentialBrandingEntity_1.CredentialBrandingEntity, (credentialBranding) => credentialBranding.localeBranding, {
|
|
22
|
-
onDelete: 'CASCADE',
|
|
23
|
-
}),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'credentialBrandingId' }),
|
|
25
|
-
__metadata("design:type", CredentialBrandingEntity_1.CredentialBrandingEntity)
|
|
26
|
-
], CredentialLocaleBrandingEntity.prototype, "credentialBranding", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.OneToMany)(() => CredentialClaimsEntity_1.CredentialClaimsEntity, (claims) => claims.credentialLocaleBranding, {
|
|
29
|
-
cascade: true,
|
|
30
|
-
onDelete: 'CASCADE',
|
|
31
|
-
eager: true,
|
|
32
|
-
nullable: false,
|
|
33
|
-
}),
|
|
34
|
-
(0, typeorm_1.JoinColumn)({ name: 'claim_id' }),
|
|
35
|
-
__metadata("design:type", Array)
|
|
36
|
-
], CredentialLocaleBrandingEntity.prototype, "claims", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)('uuid', { name: 'credentialBrandingId', nullable: false }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], CredentialLocaleBrandingEntity.prototype, "credentialBrandingId", void 0);
|
|
41
|
-
exports.CredentialLocaleBrandingEntity = CredentialLocaleBrandingEntity = __decorate([
|
|
42
|
-
(0, typeorm_1.ChildEntity)('CredentialLocaleBranding'),
|
|
43
|
-
(0, typeorm_1.Index)('IDX_CredentialLocaleBrandingEntity_credentialBranding_locale', ['credentialBranding', 'locale'], { unique: true })
|
|
44
|
-
], CredentialLocaleBrandingEntity);
|
|
45
|
-
//# sourceMappingURL=CredentialLocaleBrandingEntity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialLocaleBrandingEntity.js","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/CredentialLocaleBrandingEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsF;AACtF,yEAAqE;AACrE,yEAAqE;AACrE,qEAAiE;AAI1D,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,mDAAwB;CAkB3E,CAAA;AAlBY,wEAA8B;AAKzC;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mDAAwB,EAAE,CAAC,kBAA4C,EAAE,EAAE,CAAC,kBAAkB,CAAC,cAAc,EAAE;QAC9H,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;8BACxB,mDAAwB;0EAAA;AAS7C;IAPC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+CAAsB,EAAE,CAAC,MAA8B,EAAE,EAAE,CAAC,MAAM,CAAC,wBAAwB,EAAE;QAC5G,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BACxB,KAAK;8DAAwB;AAGtC;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4EACrC;yCAjBlB,8BAA8B;IAF1C,IAAA,qBAAW,EAAC,0BAA0B,CAAC;IACvC,IAAA,eAAK,EAAC,8DAA8D,EAAE,CAAC,oBAAoB,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC7G,8BAA8B,CAkB1C"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
|
-
import { ImageDimensionsEntity } from './ImageDimensionsEntity';
|
|
3
|
-
export declare class ImageAttributesEntity extends BaseEntity {
|
|
4
|
-
id: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
dataUri?: string;
|
|
7
|
-
mediaType?: string;
|
|
8
|
-
alt?: string;
|
|
9
|
-
dimensions?: ImageDimensionsEntity;
|
|
10
|
-
validate(): Promise<undefined>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=ImageAttributesEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImageAttributesEntity.d.ts","sourceRoot":"","sources":["../../../src/entities/issuanceBranding/ImageAttributesEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4F,MAAM,SAAS,CAAA;AAC9H,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAI/D,qBACa,qBAAsB,SAAQ,UAAU;IAEnD,EAAE,EAAG,MAAM,CAAA;IAIX,GAAG,CAAC,EAAE,MAAM,CAAA;IAIZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAIhB,SAAS,CAAC,EAAE,MAAM,CAAA;IAIlB,GAAG,CAAC,EAAE,MAAM,CAAA;IASZ,UAAU,CAAC,EAAE,qBAAqB,CAAA;IAI5B,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC;CAOrC"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.ImageAttributesEntity = void 0;
|
|
22
|
-
const typeorm_1 = require("typeorm");
|
|
23
|
-
const ImageDimensionsEntity_1 = require("./ImageDimensionsEntity");
|
|
24
|
-
const class_validator_1 = require("class-validator");
|
|
25
|
-
const validators_1 = require("../validators");
|
|
26
|
-
let ImageAttributesEntity = class ImageAttributesEntity extends typeorm_1.BaseEntity {
|
|
27
|
-
validate() {
|
|
28
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
const validation = yield (0, class_validator_1.validate)(this);
|
|
30
|
-
if (validation.length > 0) {
|
|
31
|
-
return Promise.reject(Error(Object.values(validation[0].constraints)[0]));
|
|
32
|
-
}
|
|
33
|
-
return;
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
exports.ImageAttributesEntity = ImageAttributesEntity;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], ImageAttributesEntity.prototype, "id", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)('text', { name: 'uri', nullable: true, unique: false }),
|
|
44
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank image uri are not allowed' }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], ImageAttributesEntity.prototype, "uri", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)('text', { name: 'dataUri', nullable: true, unique: false }),
|
|
49
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank image data uri are not allowed' }),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], ImageAttributesEntity.prototype, "dataUri", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)('varchar', { name: 'mediaType', length: 255, nullable: true, unique: false }),
|
|
54
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank image types are not allowed' }),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], ImageAttributesEntity.prototype, "mediaType", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)('varchar', { name: 'alt', length: 255, nullable: true, unique: false }),
|
|
59
|
-
(0, class_validator_1.Validate)(validators_1.IsNonEmptyStringConstraint, { message: 'Blank image alts are not allowed' }),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], ImageAttributesEntity.prototype, "alt", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typeorm_1.OneToOne)(() => ImageDimensionsEntity_1.ImageDimensionsEntity, {
|
|
64
|
-
cascade: true,
|
|
65
|
-
onDelete: 'CASCADE',
|
|
66
|
-
eager: true,
|
|
67
|
-
nullable: true,
|
|
68
|
-
}),
|
|
69
|
-
(0, typeorm_1.JoinColumn)({ name: 'dimensionsId' }),
|
|
70
|
-
__metadata("design:type", ImageDimensionsEntity_1.ImageDimensionsEntity)
|
|
71
|
-
], ImageAttributesEntity.prototype, "dimensions", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
74
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
75
|
-
__metadata("design:type", Function),
|
|
76
|
-
__metadata("design:paramtypes", []),
|
|
77
|
-
__metadata("design:returntype", Promise)
|
|
78
|
-
], ImageAttributesEntity.prototype, "validate", null);
|
|
79
|
-
exports.ImageAttributesEntity = ImageAttributesEntity = __decorate([
|
|
80
|
-
(0, typeorm_1.Entity)('ImageAttributes')
|
|
81
|
-
], ImageAttributesEntity);
|
|
82
|
-
//# sourceMappingURL=ImageAttributesEntity.js.map
|