@nmshd/transport 7.0.0-alpha.9 → 7.0.0-openid4vc.1
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/buildInformation.js +5 -5
- package/dist/core/CoreSynchronizable.d.ts +1 -0
- package/dist/core/CoreSynchronizable.d.ts.map +1 -1
- package/dist/core/CoreSynchronizable.js +1 -0
- package/dist/core/CoreSynchronizable.js.map +1 -1
- package/dist/core/DbCollectionName.d.ts +0 -1
- package/dist/core/DbCollectionName.d.ts.map +1 -1
- package/dist/core/DbCollectionName.js +0 -1
- package/dist/core/DbCollectionName.js.map +1 -1
- package/dist/core/TransportController.d.ts +1 -4
- package/dist/core/TransportController.d.ts.map +1 -1
- package/dist/core/TransportController.js +7 -7
- package/dist/core/TransportController.js.map +1 -1
- package/dist/core/TransportCoreErrors.d.ts +7 -2
- package/dist/core/TransportCoreErrors.d.ts.map +1 -1
- package/dist/core/TransportCoreErrors.js +15 -6
- package/dist/core/TransportCoreErrors.js.map +1 -1
- package/dist/core/backbone/RESTClient.d.ts +1 -0
- package/dist/core/backbone/RESTClient.d.ts.map +1 -1
- package/dist/core/backbone/RESTClient.js +30 -10
- package/dist/core/backbone/RESTClient.js.map +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.d.ts +1 -0
- package/dist/core/backbone/RESTClientAuthenticate.d.ts.map +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.js +5 -0
- package/dist/core/backbone/RESTClientAuthenticate.js.map +1 -1
- package/dist/core/backbone/RequestError.d.ts.map +1 -1
- package/dist/core/backbone/RequestError.js +3 -0
- package/dist/core/backbone/RequestError.js.map +1 -1
- package/dist/core/types/PasswordProtection.d.ts +4 -5
- package/dist/core/types/PasswordProtection.d.ts.map +1 -1
- package/dist/core/types/PasswordProtection.js +10 -9
- package/dist/core/types/PasswordProtection.js.map +1 -1
- package/dist/core/types/PasswordProtectionCreationParameters.d.ts +3 -0
- package/dist/core/types/PasswordProtectionCreationParameters.d.ts.map +1 -1
- package/dist/core/types/PasswordProtectionCreationParameters.js +7 -1
- package/dist/core/types/PasswordProtectionCreationParameters.js.map +1 -1
- package/dist/events/FileOwnershipClaimedEvent.d.ts +7 -0
- package/dist/events/FileOwnershipClaimedEvent.d.ts.map +1 -0
- package/dist/events/FileOwnershipClaimedEvent.js +12 -0
- package/dist/events/FileOwnershipClaimedEvent.js.map +1 -0
- package/dist/events/FileOwnershipLockedEvent.d.ts +7 -0
- package/dist/events/FileOwnershipLockedEvent.d.ts.map +1 -0
- package/dist/events/FileOwnershipLockedEvent.js +12 -0
- package/dist/events/FileOwnershipLockedEvent.js.map +1 -0
- package/dist/events/MessageDeliveredEvent.d.ts +1 -1
- package/dist/events/MessageDeliveredEvent.d.ts.map +1 -1
- package/dist/events/MessageReceivedEvent.d.ts +1 -1
- package/dist/events/MessageReceivedEvent.d.ts.map +1 -1
- package/dist/events/MessageSentEvent.d.ts +1 -1
- package/dist/events/MessageSentEvent.d.ts.map +1 -1
- package/dist/events/MessageWasReadAtChangedEvent.d.ts +1 -1
- package/dist/events/MessageWasReadAtChangedEvent.d.ts.map +1 -1
- package/dist/events/PeerRelationshipTemplateLoadedEvent.d.ts +1 -1
- package/dist/events/PeerRelationshipTemplateLoadedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipChangedEvent.d.ts +1 -1
- package/dist/events/RelationshipChangedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipReactivationCompletedEvent.d.ts +1 -1
- package/dist/events/RelationshipReactivationCompletedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipReactivationRequestedEvent.d.ts +1 -1
- package/dist/events/RelationshipReactivationRequestedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.d.ts +7 -0
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.d.ts.map +1 -0
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.js +12 -0
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.js.map +1 -0
- package/dist/events/index.d.ts +3 -0
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +3 -0
- package/dist/events/index.js.map +1 -1
- package/dist/modules/accounts/AccountController.d.ts +4 -6
- package/dist/modules/accounts/AccountController.d.ts.map +1 -1
- package/dist/modules/accounts/AccountController.js +31 -17
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts +2 -8
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.js +4 -24
- package/dist/modules/accounts/IdentityDeletionProcessController.js.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts +35 -8
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.js +65 -10
- package/dist/modules/accounts/data/IdentityDeletionProcess.js.map +1 -1
- package/dist/modules/announcements/AnnouncementController.d.ts +11 -0
- package/dist/modules/announcements/AnnouncementController.d.ts.map +1 -0
- package/dist/modules/announcements/AnnouncementController.js +26 -0
- package/dist/modules/announcements/AnnouncementController.js.map +1 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.d.ts +6 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.d.ts.map +1 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.js +11 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.js.map +1 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.d.ts +18 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.d.ts.map +1 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.js +3 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.js.map +1 -0
- package/dist/modules/announcements/data/Announcement.d.ts +30 -0
- package/dist/modules/announcements/data/Announcement.d.ts.map +1 -0
- package/dist/modules/{messages/local/CachedMessage.js → announcements/data/Announcement.js} +37 -31
- package/dist/modules/announcements/data/Announcement.js.map +1 -0
- package/dist/modules/announcements/data/AnnouncementAction.d.ts +11 -0
- package/dist/modules/announcements/data/AnnouncementAction.d.ts.map +1 -0
- package/dist/modules/{certificates/data/items/CertificateRoleItem.js → announcements/data/AnnouncementAction.js} +13 -17
- package/dist/modules/announcements/data/AnnouncementAction.js.map +1 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.d.ts +13 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.d.ts.map +1 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.js +42 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.js.map +1 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.d.ts +9 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.d.ts.map +1 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.js +11 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.js.map +1 -0
- package/dist/modules/devices/DeviceController.d.ts +0 -1
- package/dist/modules/devices/DeviceController.d.ts.map +1 -1
- package/dist/modules/devices/DeviceController.js +0 -3
- package/dist/modules/devices/DeviceController.js.map +1 -1
- package/dist/modules/devices/backbone/BackboneGetDevices.d.ts +12 -0
- package/dist/modules/devices/backbone/BackboneGetDevices.d.ts.map +1 -0
- package/dist/modules/devices/backbone/BackboneGetDevices.js +3 -0
- package/dist/modules/devices/backbone/BackboneGetDevices.js.map +1 -0
- package/dist/modules/devices/backbone/DeviceAuthClient.d.ts +2 -0
- package/dist/modules/devices/backbone/DeviceAuthClient.d.ts.map +1 -1
- package/dist/modules/devices/backbone/DeviceAuthClient.js +3 -0
- package/dist/modules/devices/backbone/DeviceAuthClient.js.map +1 -1
- package/dist/modules/devices/local/Device.d.ts +0 -2
- package/dist/modules/devices/local/Device.d.ts.map +1 -1
- package/dist/modules/devices/local/Device.js +0 -6
- package/dist/modules/devices/local/Device.js.map +1 -1
- package/dist/modules/files/FileController.d.ts +8 -10
- package/dist/modules/files/FileController.d.ts.map +1 -1
- package/dist/modules/files/FileController.js +71 -84
- package/dist/modules/files/FileController.js.map +1 -1
- package/dist/modules/files/backbone/BackbonePostFiles.d.ts +1 -0
- package/dist/modules/files/backbone/BackbonePostFiles.d.ts.map +1 -1
- package/dist/modules/files/backbone/FileClient.d.ts +9 -0
- package/dist/modules/files/backbone/FileClient.d.ts.map +1 -1
- package/dist/modules/files/backbone/FileClient.js +9 -0
- package/dist/modules/files/backbone/FileClient.js.map +1 -1
- package/dist/modules/files/local/File.d.ts +57 -11
- package/dist/modules/files/local/File.d.ts.map +1 -1
- package/dist/modules/files/local/File.js +171 -18
- package/dist/modules/files/local/File.js.map +1 -1
- package/dist/modules/index.d.ts +5 -23
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +5 -23
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/messages/MessageController.d.ts +3 -8
- package/dist/modules/messages/MessageController.d.ts.map +1 -1
- package/dist/modules/messages/MessageController.js +29 -55
- package/dist/modules/messages/MessageController.js.map +1 -1
- package/dist/modules/messages/local/Message.d.ts +28 -7
- package/dist/modules/messages/local/Message.d.ts.map +1 -1
- package/dist/modules/messages/local/Message.js +53 -12
- package/dist/modules/messages/local/Message.js.map +1 -1
- package/dist/modules/messages/local/{CachedMessageRecipient.d.ts → MessageRecipient.d.ts} +4 -4
- package/dist/modules/messages/local/MessageRecipient.d.ts.map +1 -0
- package/dist/modules/messages/local/{CachedMessageRecipient.js → MessageRecipient.js} +12 -12
- package/dist/modules/messages/local/MessageRecipient.js.map +1 -0
- package/dist/modules/messages/transmission/MessageContentWrapper.js +1 -2
- package/dist/modules/messages/transmission/MessageContentWrapper.js.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts +3 -11
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +49 -131
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts +26 -10
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js +70 -19
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js +2 -2
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.d.ts +3 -3
- package/dist/modules/relationships/RelationshipSecretController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.js +2 -2
- package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
- package/dist/modules/relationships/RelationshipsController.d.ts +0 -10
- package/dist/modules/relationships/RelationshipsController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipsController.js +41 -117
- package/dist/modules/relationships/RelationshipsController.js.map +1 -1
- package/dist/modules/relationships/local/Relationship.d.ts +14 -10
- package/dist/modules/relationships/local/Relationship.d.ts.map +1 -1
- package/dist/modules/relationships/local/Relationship.js +30 -28
- package/dist/modules/relationships/local/Relationship.js.map +1 -1
- package/dist/modules/sync/ChangedItems.d.ts +5 -2
- package/dist/modules/sync/ChangedItems.d.ts.map +1 -1
- package/dist/modules/sync/ChangedItems.js +6 -1
- package/dist/modules/sync/ChangedItems.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationMapper.js +3 -3
- package/dist/modules/sync/DatawalletModificationMapper.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts +2 -60
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.js +11 -158
- package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
- package/dist/modules/sync/SyncController.d.ts +0 -3
- package/dist/modules/sync/SyncController.d.ts.map +1 -1
- package/dist/modules/sync/SyncController.js +16 -30
- package/dist/modules/sync/SyncController.js.map +1 -1
- package/dist/modules/sync/SynchronizedCollection.d.ts.map +1 -1
- package/dist/modules/sync/SynchronizedCollection.js +24 -10
- package/dist/modules/sync/SynchronizedCollection.js.map +1 -1
- package/dist/modules/sync/backbone/FinalizeSyncRun.d.ts +1 -0
- package/dist/modules/sync/backbone/FinalizeSyncRun.d.ts.map +1 -1
- package/dist/modules/sync/backbone/SyncClient.d.ts +0 -1
- package/dist/modules/sync/backbone/SyncClient.d.ts.map +1 -1
- package/dist/modules/sync/backbone/SyncClient.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.d.ts +2 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.d.ts.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.d.ts.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js +6 -0
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.d.ts +7 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.js +34 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.js.map +1 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.d.ts +7 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.js +37 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.js.map +1 -0
- package/dist/modules/sync/externalEventProcessors/IdentityDeletionProcessStatusChangedExternalEventProcessor.js +1 -1
- package/dist/modules/sync/externalEventProcessors/IdentityDeletionProcessStatusChangedExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/MessageDeliveredExternalEventProcessor.js +1 -1
- package/dist/modules/sync/externalEventProcessors/MessageDeliveredExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/RelationshipExternalEventProcessor.js +1 -1
- package/dist/modules/sync/externalEventProcessors/RelationshipExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.d.ts +6 -0
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.js +34 -0
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.js.map +1 -0
- package/dist/modules/sync/local/DatawalletModification.d.ts +2 -2
- package/dist/modules/sync/local/DatawalletModification.d.ts.map +1 -1
- package/dist/modules/sync/local/DatawalletModification.js +1 -1
- package/dist/modules/sync/local/DatawalletModification.js.map +1 -1
- package/dist/modules/sync/migrations/DeviceMigrations.d.ts +2 -2
- package/dist/modules/sync/migrations/DeviceMigrations.d.ts.map +1 -1
- package/dist/modules/sync/migrations/DeviceMigrations.js +5 -15
- package/dist/modules/sync/migrations/DeviceMigrations.js.map +1 -1
- package/dist/modules/tokens/AnonymousTokenController.d.ts +2 -1
- package/dist/modules/tokens/AnonymousTokenController.d.ts.map +1 -1
- package/dist/modules/tokens/AnonymousTokenController.js +4 -9
- package/dist/modules/tokens/AnonymousTokenController.js.map +1 -1
- package/dist/modules/tokens/TokenController.d.ts +3 -11
- package/dist/modules/tokens/TokenController.d.ts.map +1 -1
- package/dist/modules/tokens/TokenController.js +33 -128
- package/dist/modules/tokens/TokenController.js.map +1 -1
- package/dist/modules/tokens/local/Token.d.ts +16 -9
- package/dist/modules/tokens/local/Token.d.ts.map +1 -1
- package/dist/modules/tokens/local/Token.js +40 -18
- package/dist/modules/tokens/local/Token.js.map +1 -1
- package/package.json +17 -19
- package/dist/core/ICacheable.d.ts +0 -6
- package/dist/core/ICacheable.d.ts.map +0 -1
- package/dist/core/ICacheable.js +0 -17
- package/dist/core/ICacheable.js.map +0 -1
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts +0 -44
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts.map +0 -1
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js +0 -80
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js.map +0 -1
- package/dist/modules/certificates/CertificateController.d.ts +0 -15
- package/dist/modules/certificates/CertificateController.d.ts.map +0 -1
- package/dist/modules/certificates/CertificateController.js +0 -20
- package/dist/modules/certificates/CertificateController.js.map +0 -1
- package/dist/modules/certificates/CertificateIssuer.d.ts +0 -29
- package/dist/modules/certificates/CertificateIssuer.d.ts.map +0 -1
- package/dist/modules/certificates/CertificateIssuer.js +0 -43
- package/dist/modules/certificates/CertificateIssuer.js.map +0 -1
- package/dist/modules/certificates/CertificateValidator.d.ts +0 -15
- package/dist/modules/certificates/CertificateValidator.d.ts.map +0 -1
- package/dist/modules/certificates/CertificateValidator.js +0 -20
- package/dist/modules/certificates/CertificateValidator.js.map +0 -1
- package/dist/modules/certificates/data/Certificate.d.ts +0 -34
- package/dist/modules/certificates/data/Certificate.d.ts.map +0 -1
- package/dist/modules/certificates/data/Certificate.js +0 -61
- package/dist/modules/certificates/data/Certificate.js.map +0 -1
- package/dist/modules/certificates/data/CertificateConstraint.d.ts +0 -10
- package/dist/modules/certificates/data/CertificateConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/CertificateConstraint.js +0 -23
- package/dist/modules/certificates/data/CertificateConstraint.js.map +0 -1
- package/dist/modules/certificates/data/CertificateContent.d.ts +0 -29
- package/dist/modules/certificates/data/CertificateContent.d.ts.map +0 -1
- package/dist/modules/certificates/data/CertificateContent.js +0 -66
- package/dist/modules/certificates/data/CertificateContent.js.map +0 -1
- package/dist/modules/certificates/data/CertificateItem.d.ts +0 -11
- package/dist/modules/certificates/data/CertificateItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/CertificateItem.js +0 -24
- package/dist/modules/certificates/data/CertificateItem.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.d.ts +0 -30
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js +0 -56
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.d.ts +0 -32
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js +0 -59
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts +0 -10
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js +0 -30
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts +0 -17
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js +0 -40
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.d.ts +0 -18
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js +0 -38
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.d.ts +0 -19
- package/dist/modules/certificates/data/items/CertificateDelegateItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js +0 -45
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts +0 -21
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js +0 -41
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts +0 -26
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js +0 -54
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.d.ts +0 -15
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js +0 -38
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.d.ts +0 -17
- package/dist/modules/certificates/data/items/CertificateRoleItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.js.map +0 -1
- package/dist/modules/files/local/CachedFile.d.ts +0 -52
- package/dist/modules/files/local/CachedFile.d.ts.map +0 -1
- package/dist/modules/files/local/CachedFile.js +0 -145
- package/dist/modules/files/local/CachedFile.js.map +0 -1
- package/dist/modules/messages/local/CachedMessage.d.ts +0 -23
- package/dist/modules/messages/local/CachedMessage.d.ts.map +0 -1
- package/dist/modules/messages/local/CachedMessage.js.map +0 -1
- package/dist/modules/messages/local/CachedMessageRecipient.d.ts.map +0 -1
- package/dist/modules/messages/local/CachedMessageRecipient.js.map +0 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts +0 -30
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts.map +0 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js +0 -80
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +0 -1
- package/dist/modules/relationships/local/CachedRelationship.d.ts +0 -20
- package/dist/modules/relationships/local/CachedRelationship.d.ts.map +0 -1
- package/dist/modules/relationships/local/CachedRelationship.js +0 -57
- package/dist/modules/relationships/local/CachedRelationship.js.map +0 -1
- package/dist/modules/tokens/local/CachedToken.d.ts +0 -20
- package/dist/modules/tokens/local/CachedToken.d.ts.map +0 -1
- package/dist/modules/tokens/local/CachedToken.js +0 -54
- package/dist/modules/tokens/local/CachedToken.js.map +0 -1
|
@@ -1,80 +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.CachedRelationshipTemplate = void 0;
|
|
13
|
-
exports.validateMaxNumberOfAllocations = validateMaxNumberOfAllocations;
|
|
14
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
|
-
const core_types_1 = require("@nmshd/core-types");
|
|
16
|
-
const Identity_1 = require("../../accounts/data/Identity");
|
|
17
|
-
const RelationshipTemplatePublicKey_1 = require("../transmission/RelationshipTemplatePublicKey");
|
|
18
|
-
let CachedRelationshipTemplate = class CachedRelationshipTemplate extends ts_serval_1.Serializable {
|
|
19
|
-
static from(value) {
|
|
20
|
-
return this.fromAny(value);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
exports.CachedRelationshipTemplate = CachedRelationshipTemplate;
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, ts_serval_1.validate)(),
|
|
26
|
-
(0, ts_serval_1.serialize)(),
|
|
27
|
-
__metadata("design:type", Identity_1.Identity)
|
|
28
|
-
], CachedRelationshipTemplate.prototype, "identity", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, ts_serval_1.validate)(),
|
|
31
|
-
(0, ts_serval_1.serialize)(),
|
|
32
|
-
__metadata("design:type", core_types_1.CoreAddress)
|
|
33
|
-
], CachedRelationshipTemplate.prototype, "createdBy", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, ts_serval_1.validate)(),
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
__metadata("design:type", core_types_1.CoreId)
|
|
38
|
-
], CachedRelationshipTemplate.prototype, "createdByDevice", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, ts_serval_1.validate)(),
|
|
41
|
-
(0, ts_serval_1.serialize)(),
|
|
42
|
-
__metadata("design:type", RelationshipTemplatePublicKey_1.RelationshipTemplatePublicKey)
|
|
43
|
-
], CachedRelationshipTemplate.prototype, "templateKey", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, ts_serval_1.validate)(),
|
|
46
|
-
(0, ts_serval_1.serialize)(),
|
|
47
|
-
__metadata("design:type", ts_serval_1.Serializable)
|
|
48
|
-
], CachedRelationshipTemplate.prototype, "content", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, ts_serval_1.validate)(),
|
|
51
|
-
(0, ts_serval_1.serialize)(),
|
|
52
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
53
|
-
], CachedRelationshipTemplate.prototype, "createdAt", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
56
|
-
(0, ts_serval_1.serialize)(),
|
|
57
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
58
|
-
], CachedRelationshipTemplate.prototype, "expiresAt", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, ts_serval_1.validate)({ nullable: true, customValidator: validateMaxNumberOfAllocations }),
|
|
61
|
-
(0, ts_serval_1.serialize)(),
|
|
62
|
-
__metadata("design:type", Number)
|
|
63
|
-
], CachedRelationshipTemplate.prototype, "maxNumberOfAllocations", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
66
|
-
(0, ts_serval_1.serialize)(),
|
|
67
|
-
__metadata("design:type", core_types_1.CoreAddress)
|
|
68
|
-
], CachedRelationshipTemplate.prototype, "forIdentity", void 0);
|
|
69
|
-
exports.CachedRelationshipTemplate = CachedRelationshipTemplate = __decorate([
|
|
70
|
-
(0, ts_serval_1.type)("CachedRelationshipTemplate")
|
|
71
|
-
], CachedRelationshipTemplate);
|
|
72
|
-
function validateMaxNumberOfAllocations(value) {
|
|
73
|
-
if (value === undefined)
|
|
74
|
-
return;
|
|
75
|
-
if (value <= 0) {
|
|
76
|
-
return "maxNumberOfAllocations must be greater than 0";
|
|
77
|
-
}
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=CachedRelationshipTemplate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CachedRelationshipTemplate.js","sourceRoot":"","sources":["../../../../src/modules/relationshipTemplates/local/CachedRelationshipTemplate.ts"],"names":[],"mappings":";;;;;;;;;;;;AA6DA,wEAQC;AArED,kDAA4F;AAC5F,kDAAoG;AAEpG,2DAAmE;AACnE,iGAA8F;AAevF,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,wBAAY;IAqCjD,MAAM,CAAC,IAAI,CAAC,KAAkC;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAxCY,gEAA0B;AAG5B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACK,mBAAQ;4DAAC;AAInB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,wBAAW;6DAAC;AAIvB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,mBAAM;mEAAC;AAIxB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,6DAA6B;+DAAC;AAI3C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAY;2DAAC;AAItB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;6DAAC;AAIpB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACO,qBAAQ;6DAAC;AAIrB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,8BAA8B,EAAE,CAAC;IAC7E,IAAA,qBAAS,GAAE;;0EAC2B;AAIhC;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACS,wBAAW;+DAAC;qCAnCxB,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAwCtC;AAED,SAAgB,8BAA8B,CAAC,KAAc;IACzD,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO;IAEhC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QACb,OAAO,+CAA+C,CAAC;IAC3D,CAAC;IAED,OAAO;AACX,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreDate, CoreId, ICoreDate, ICoreId } from "@nmshd/core-types";
|
|
3
|
-
import { IRelationshipAuditLogEntry, RelationshipAuditLogEntry } from "./RelationshipAuditLogEntry";
|
|
4
|
-
export interface ICachedRelationship extends ISerializable {
|
|
5
|
-
templateId: ICoreId;
|
|
6
|
-
creationContent: ISerializable;
|
|
7
|
-
lastMessageSentAt?: ICoreDate;
|
|
8
|
-
lastMessageReceivedAt?: ICoreDate;
|
|
9
|
-
auditLog: IRelationshipAuditLogEntry[];
|
|
10
|
-
}
|
|
11
|
-
export declare class CachedRelationship extends Serializable implements ICachedRelationship {
|
|
12
|
-
templateId: CoreId;
|
|
13
|
-
creationContent: Serializable;
|
|
14
|
-
lastMessageSentAt?: CoreDate;
|
|
15
|
-
lastMessageReceivedAt?: CoreDate;
|
|
16
|
-
auditLog: RelationshipAuditLogEntry[];
|
|
17
|
-
static preFrom(value: any): any;
|
|
18
|
-
static from(value: ICachedRelationship): CachedRelationship;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=CachedRelationship.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CachedRelationship.d.ts","sourceRoot":"","sources":["../../../../src/modules/relationships/local/CachedRelationship.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAEpG,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACtD,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,aAAa,CAAC;IAE/B,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,QAAQ,EAAE,0BAA0B,EAAE,CAAC;CAC1C;AAED,qBACa,kBAAmB,SAAQ,YAAa,YAAW,mBAAmB;IAGxE,UAAU,EAAE,MAAM,CAAC;IAInB,eAAe,EAAE,YAAY,CAAC;IAI9B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAI7B,qBAAqB,CAAC,EAAE,QAAQ,CAAC;IAIjC,QAAQ,EAAE,yBAAyB,EAAE,CAAC;WAEtB,OAAO,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG;WASjC,IAAI,CAAC,KAAK,EAAE,mBAAmB,GAAG,kBAAkB;CAGrE"}
|
|
@@ -1,57 +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.CachedRelationship = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_types_1 = require("@nmshd/core-types");
|
|
15
|
-
const RelationshipAuditLogEntry_1 = require("./RelationshipAuditLogEntry");
|
|
16
|
-
let CachedRelationship = class CachedRelationship extends ts_serval_1.Serializable {
|
|
17
|
-
static preFrom(value) {
|
|
18
|
-
if (typeof value.template !== "undefined") {
|
|
19
|
-
value.templateId = value.template.id;
|
|
20
|
-
delete value.template;
|
|
21
|
-
}
|
|
22
|
-
return value;
|
|
23
|
-
}
|
|
24
|
-
static from(value) {
|
|
25
|
-
return this.fromAny(value);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
exports.CachedRelationship = CachedRelationship;
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, ts_serval_1.validate)(),
|
|
31
|
-
(0, ts_serval_1.serialize)(),
|
|
32
|
-
__metadata("design:type", core_types_1.CoreId)
|
|
33
|
-
], CachedRelationship.prototype, "templateId", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, ts_serval_1.validate)(),
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
__metadata("design:type", ts_serval_1.Serializable)
|
|
38
|
-
], CachedRelationship.prototype, "creationContent", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
41
|
-
(0, ts_serval_1.serialize)(),
|
|
42
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
43
|
-
], CachedRelationship.prototype, "lastMessageSentAt", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
46
|
-
(0, ts_serval_1.serialize)(),
|
|
47
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
48
|
-
], CachedRelationship.prototype, "lastMessageReceivedAt", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, ts_serval_1.validate)(),
|
|
51
|
-
(0, ts_serval_1.serialize)({ type: RelationshipAuditLogEntry_1.RelationshipAuditLogEntry }),
|
|
52
|
-
__metadata("design:type", Array)
|
|
53
|
-
], CachedRelationship.prototype, "auditLog", void 0);
|
|
54
|
-
exports.CachedRelationship = CachedRelationship = __decorate([
|
|
55
|
-
(0, ts_serval_1.type)("CachedRelationship")
|
|
56
|
-
], CachedRelationship);
|
|
57
|
-
//# sourceMappingURL=CachedRelationship.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CachedRelationship.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/CachedRelationship.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,kDAAyE;AACzE,2EAAoG;AAY7F,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAY;IAqBzC,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,CAAC,QAAQ,KAAK,WAAW,EAAE,CAAC;YACxC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;YACrC,OAAO,KAAK,CAAC,QAAQ,CAAC;QAC1B,CAAC;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAA0B;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAjCY,gDAAkB;AAGpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACO,mBAAM;sDAAC;AAInB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,wBAAY;2DAAC;AAI9B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACe,qBAAQ;6DAAC;AAI7B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACmB,qBAAQ;iEAAC;AAIjC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qDAAyB,EAAE,CAAC;;oDACF;6BAnBpC,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAiC9B"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/core-types";
|
|
3
|
-
export interface ICachedToken extends ISerializable {
|
|
4
|
-
createdBy: ICoreAddress;
|
|
5
|
-
createdAt: ICoreDate;
|
|
6
|
-
expiresAt: ICoreDate;
|
|
7
|
-
content: ISerializable;
|
|
8
|
-
createdByDevice: ICoreId;
|
|
9
|
-
forIdentity?: ICoreAddress;
|
|
10
|
-
}
|
|
11
|
-
export declare class CachedToken extends Serializable implements ICachedToken {
|
|
12
|
-
createdBy: CoreAddress;
|
|
13
|
-
createdAt: CoreDate;
|
|
14
|
-
expiresAt: CoreDate;
|
|
15
|
-
content: Serializable;
|
|
16
|
-
createdByDevice: CoreId;
|
|
17
|
-
forIdentity?: CoreAddress;
|
|
18
|
-
static from(value: ICachedToken): CachedToken;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=CachedToken.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CachedToken.d.ts","sourceRoot":"","sources":["../../../../src/modules/tokens/local/CachedToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEpG,MAAM,WAAW,YAAa,SAAQ,aAAa;IAC/C,SAAS,EAAE,YAAY,CAAC;IACxB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,CAAC;CAC9B;AAED,qBACa,WAAY,SAAQ,YAAa,YAAW,YAAY;IAG1D,SAAS,EAAE,WAAW,CAAC;IAIvB,SAAS,EAAE,QAAQ,CAAC;IAIpB,SAAS,EAAE,QAAQ,CAAC;IAIpB,OAAO,EAAE,YAAY,CAAC;IAItB,eAAe,EAAE,MAAM,CAAC;IAIxB,WAAW,CAAC,EAAE,WAAW,CAAC;WAEnB,IAAI,CAAC,KAAK,EAAE,YAAY,GAAG,WAAW;CAGvD"}
|
|
@@ -1,54 +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.CachedToken = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_types_1 = require("@nmshd/core-types");
|
|
15
|
-
let CachedToken = class CachedToken extends ts_serval_1.Serializable {
|
|
16
|
-
static from(value) {
|
|
17
|
-
return this.fromAny(value);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
exports.CachedToken = CachedToken;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, ts_serval_1.validate)(),
|
|
23
|
-
(0, ts_serval_1.serialize)(),
|
|
24
|
-
__metadata("design:type", core_types_1.CoreAddress)
|
|
25
|
-
], CachedToken.prototype, "createdBy", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, ts_serval_1.validate)(),
|
|
28
|
-
(0, ts_serval_1.serialize)(),
|
|
29
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
30
|
-
], CachedToken.prototype, "createdAt", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, ts_serval_1.validate)(),
|
|
33
|
-
(0, ts_serval_1.serialize)(),
|
|
34
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
35
|
-
], CachedToken.prototype, "expiresAt", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, ts_serval_1.validate)(),
|
|
38
|
-
(0, ts_serval_1.serialize)(),
|
|
39
|
-
__metadata("design:type", ts_serval_1.Serializable)
|
|
40
|
-
], CachedToken.prototype, "content", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, ts_serval_1.validate)(),
|
|
43
|
-
(0, ts_serval_1.serialize)(),
|
|
44
|
-
__metadata("design:type", core_types_1.CoreId)
|
|
45
|
-
], CachedToken.prototype, "createdByDevice", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
48
|
-
(0, ts_serval_1.serialize)(),
|
|
49
|
-
__metadata("design:type", core_types_1.CoreAddress)
|
|
50
|
-
], CachedToken.prototype, "forIdentity", void 0);
|
|
51
|
-
exports.CachedToken = CachedToken = __decorate([
|
|
52
|
-
(0, ts_serval_1.type)("CachedToken")
|
|
53
|
-
], CachedToken);
|
|
54
|
-
//# sourceMappingURL=CachedToken.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CachedToken.js","sourceRoot":"","sources":["../../../../src/modules/tokens/local/CachedToken.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,kDAAoG;AAY7F,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,wBAAY;IAyBlC,MAAM,CAAC,IAAI,CAAC,KAAmB;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AA5BY,kCAAW;AAGb;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,wBAAW;8CAAC;AAIvB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;8CAAC;AAIpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;8CAAC;AAIpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAY;4CAAC;AAItB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,mBAAM;oDAAC;AAIxB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACS,wBAAW;gDAAC;sBAvBxB,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CA4BvB"}
|