@nmshd/transport 7.0.0-alpha.7 → 7.0.0-alpha.70
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/Transport.d.ts +2 -0
- package/dist/core/Transport.d.ts.map +1 -1
- package/dist/core/Transport.js +2 -1
- package/dist/core/Transport.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 +8 -2
- package/dist/core/TransportCoreErrors.d.ts.map +1 -1
- package/dist/core/TransportCoreErrors.js +18 -6
- package/dist/core/TransportCoreErrors.js.map +1 -1
- package/dist/core/backbone/ClientResult.d.ts +2 -0
- package/dist/core/backbone/ClientResult.d.ts.map +1 -1
- package/dist/core/backbone/ClientResult.js +2 -0
- package/dist/core/backbone/ClientResult.js.map +1 -1
- package/dist/core/backbone/PlatformParameters.d.ts +2 -0
- package/dist/core/backbone/PlatformParameters.d.ts.map +1 -1
- package/dist/core/backbone/RESTClient.d.ts +3 -2
- package/dist/core/backbone/RESTClient.d.ts.map +1 -1
- package/dist/core/backbone/RESTClient.js +43 -36
- 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 +5 -6
- package/dist/core/types/PasswordProtection.d.ts.map +1 -1
- package/dist/core/types/PasswordProtection.js +12 -10
- 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 +6 -8
- package/dist/modules/accounts/AccountController.d.ts.map +1 -1
- package/dist/modules/accounts/AccountController.js +40 -26
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts +2 -10
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.js +4 -36
- package/dist/modules/accounts/IdentityDeletionProcessController.js.map +1 -1
- package/dist/modules/accounts/backbone/BackboneIdentityDeletionProcess.d.ts +0 -5
- package/dist/modules/accounts/backbone/BackboneIdentityDeletionProcess.d.ts.map +1 -1
- package/dist/modules/accounts/backbone/IdentityClient.js +2 -2
- package/dist/modules/accounts/backbone/IdentityDeletionProcessClient.d.ts +0 -2
- package/dist/modules/accounts/backbone/IdentityDeletionProcessClient.d.ts.map +1 -1
- package/dist/modules/accounts/backbone/IdentityDeletionProcessClient.js +3 -9
- package/dist/modules/accounts/backbone/IdentityDeletionProcessClient.js.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts +20 -8
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.js +35 -10
- package/dist/modules/accounts/data/IdentityDeletionProcess.js.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcessStatus.d.ts +1 -3
- package/dist/modules/accounts/data/IdentityDeletionProcessStatus.d.ts.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcessStatus.js +1 -3
- package/dist/modules/accounts/data/IdentityDeletionProcessStatus.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/backboneCompatibility/backbone/VersionClient.js +1 -1
- 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/challenges/backbone/ChallengeAuthClient.js +2 -2
- package/dist/modules/challenges/backbone/ChallengeClient.js +1 -1
- package/dist/modules/devices/DeviceController.d.ts +1 -2
- 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/DevicesController.d.ts.map +1 -1
- package/dist/modules/devices/DevicesController.js +0 -4
- package/dist/modules/devices/DevicesController.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 +9 -6
- package/dist/modules/devices/backbone/DeviceAuthClient.js.map +1 -1
- package/dist/modules/devices/local/Device.d.ts +2 -4
- 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/devices/local/SendDeviceParameters.d.ts +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.d.ts.map +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.js +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.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 +14 -5
- 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 +6 -23
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +6 -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/backbone/MessageClient.js +5 -5
- 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/backbone/RelationshipTemplateClient.js +4 -4
- 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/backbone/RelationshipClient.js +13 -13
- 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 +17 -38
- 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 +7 -7
- 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/tags/backbone/TagClient.d.ts +1 -1
- package/dist/modules/tags/backbone/TagClient.d.ts.map +1 -1
- package/dist/modules/tags/backbone/TagClient.js +13 -2
- package/dist/modules/tags/backbone/TagClient.js.map +1 -1
- package/dist/modules/tokens/AnonymousTokenController.d.ts +4 -1
- package/dist/modules/tokens/AnonymousTokenController.d.ts.map +1 -1
- package/dist/modules/tokens/AnonymousTokenController.js +18 -10
- package/dist/modules/tokens/AnonymousTokenController.js.map +1 -1
- package/dist/modules/tokens/TokenController.d.ts +6 -11
- package/dist/modules/tokens/TokenController.d.ts.map +1 -1
- package/dist/modules/tokens/TokenController.js +75 -129
- package/dist/modules/tokens/TokenController.js.map +1 -1
- package/dist/modules/tokens/backbone/AnonymousTokenClient.d.ts +2 -0
- package/dist/modules/tokens/backbone/AnonymousTokenClient.d.ts.map +1 -1
- package/dist/modules/tokens/backbone/AnonymousTokenClient.js +4 -1
- package/dist/modules/tokens/backbone/AnonymousTokenClient.js.map +1 -1
- package/dist/modules/tokens/backbone/BackboneGetTokens.d.ts +3 -3
- package/dist/modules/tokens/backbone/BackboneGetTokens.d.ts.map +1 -1
- package/dist/modules/tokens/backbone/BackbonePostTokens.d.ts +10 -0
- package/dist/modules/tokens/backbone/BackbonePostTokens.d.ts.map +1 -1
- package/dist/modules/tokens/backbone/TokenClient.d.ts +2 -1
- package/dist/modules/tokens/backbone/TokenClient.d.ts.map +1 -1
- package/dist/modules/tokens/backbone/TokenClient.js +7 -4
- package/dist/modules/tokens/backbone/TokenClient.js.map +1 -1
- package/dist/modules/tokens/local/EmptyToken.d.ts +20 -0
- package/dist/modules/tokens/local/EmptyToken.d.ts.map +1 -0
- package/dist/modules/{relationships/local/CachedRelationship.js → tokens/local/EmptyToken.js} +26 -28
- package/dist/modules/tokens/local/EmptyToken.js.map +1 -0
- 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/dist/modules/tokens/local/UpdateTokenContentParameters.d.ts +17 -0
- package/dist/modules/tokens/local/UpdateTokenContentParameters.d.ts.map +1 -0
- package/dist/modules/tokens/local/{CachedToken.js → UpdateTokenContentParameters.js} +15 -24
- package/dist/modules/tokens/local/UpdateTokenContentParameters.js.map +1 -0
- package/package.json +20 -23
- 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.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.map +0 -1
|
@@ -1,40 +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.CertificateTimeConstraint = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_types_1 = require("@nmshd/core-types");
|
|
15
|
-
const CertificateConstraint_1 = require("../CertificateConstraint");
|
|
16
|
-
/**
|
|
17
|
-
* A CertificateTimeConstraint limits the validity of the certificate to the specified
|
|
18
|
-
* dates. The certificate is not valid before the validFrom date, and not after the
|
|
19
|
-
* validTo date.
|
|
20
|
-
*/
|
|
21
|
-
let CertificateTimeConstraint = class CertificateTimeConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
22
|
-
static from(value) {
|
|
23
|
-
return this.fromAny(value);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
exports.CertificateTimeConstraint = CertificateTimeConstraint;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, ts_serval_1.validate)(),
|
|
29
|
-
(0, ts_serval_1.serialize)(),
|
|
30
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
31
|
-
], CertificateTimeConstraint.prototype, "validFrom", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, ts_serval_1.validate)(),
|
|
34
|
-
(0, ts_serval_1.serialize)(),
|
|
35
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
36
|
-
], CertificateTimeConstraint.prototype, "validTo", void 0);
|
|
37
|
-
exports.CertificateTimeConstraint = CertificateTimeConstraint = __decorate([
|
|
38
|
-
(0, ts_serval_1.type)("CertificateTimeConstraint")
|
|
39
|
-
], CertificateTimeConstraint);
|
|
40
|
-
//# sourceMappingURL=CertificateTimeConstraint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateTimeConstraint.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateTimeConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAwD;AACxD,oEAAyF;AAOzF;;;;GAIG;AAEI,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,6CAAqB;IASzD,MAAM,CAAU,IAAI,CAAC,KAAiC;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAZY,8DAAyB;AAG3B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;4DAAC;AAIpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,qBAAQ;0DAAC;oCAPhB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAYrC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
2
|
-
export interface ICertificateAuthorizationItem extends ICertificateItem {
|
|
3
|
-
authorization: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* A CertificateAuthorizationItem gives a certain authorization, from the issuer to the
|
|
7
|
-
* subject.
|
|
8
|
-
*
|
|
9
|
-
* Example:
|
|
10
|
-
* - Access Service XYZ
|
|
11
|
-
* - Admin access to a computer
|
|
12
|
-
* - Facility access to a visitor
|
|
13
|
-
*/
|
|
14
|
-
export declare class CertificateAuthorizationItem extends CertificateItem {
|
|
15
|
-
authorization: string;
|
|
16
|
-
static from(value: ICertificateAuthorizationItem): CertificateAuthorizationItem;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=CertificateAuthorizationItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateAuthorizationItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateAuthorizationItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACnE,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;GAQG;AACH,qBACa,4BAA6B,SAAQ,eAAe;IAGtD,aAAa,EAAE,MAAM,CAAC;WAEN,IAAI,CAAC,KAAK,EAAE,6BAA6B,GAAG,4BAA4B;CAGlG"}
|
|
@@ -1,38 +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.CertificateAuthorizationItem = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const CertificateItem_1 = require("../CertificateItem");
|
|
15
|
-
/**
|
|
16
|
-
* A CertificateAuthorizationItem gives a certain authorization, from the issuer to the
|
|
17
|
-
* subject.
|
|
18
|
-
*
|
|
19
|
-
* Example:
|
|
20
|
-
* - Access Service XYZ
|
|
21
|
-
* - Admin access to a computer
|
|
22
|
-
* - Facility access to a visitor
|
|
23
|
-
*/
|
|
24
|
-
let CertificateAuthorizationItem = class CertificateAuthorizationItem extends CertificateItem_1.CertificateItem {
|
|
25
|
-
static from(value) {
|
|
26
|
-
return this.fromAny(value);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.CertificateAuthorizationItem = CertificateAuthorizationItem;
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.validate)(),
|
|
32
|
-
(0, ts_serval_1.serialize)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], CertificateAuthorizationItem.prototype, "authorization", void 0);
|
|
35
|
-
exports.CertificateAuthorizationItem = CertificateAuthorizationItem = __decorate([
|
|
36
|
-
(0, ts_serval_1.type)("CertificateAuthorizationItem")
|
|
37
|
-
], CertificateAuthorizationItem);
|
|
38
|
-
//# sourceMappingURL=CertificateAuthorizationItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateAuthorizationItem.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateAuthorizationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,wDAAuE;AAMvE;;;;;;;;GAQG;AAEI,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,iCAAe;IAKtD,MAAM,CAAU,IAAI,CAAC,KAAoC;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AARY,oEAA4B;AAG9B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;mEACiB;uCAHpB,4BAA4B;IADxC,IAAA,gBAAI,EAAC,8BAA8B,CAAC;GACxB,4BAA4B,CAQxC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
2
|
-
export interface ICertificateDelegateItem extends ICertificateItem {
|
|
3
|
-
}
|
|
4
|
-
export declare enum CertificateDelegateType {
|
|
5
|
-
Clone = "clone",
|
|
6
|
-
Custodian = "custodian",
|
|
7
|
-
Sign = "sign",
|
|
8
|
-
Ppa = "ppa",
|
|
9
|
-
Communication = "communication"
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A CertificateDelegateItem
|
|
13
|
-
*/
|
|
14
|
-
export declare class CertificateDelegateItem extends CertificateItem {
|
|
15
|
-
type: CertificateDelegateType;
|
|
16
|
-
content: string;
|
|
17
|
-
static from(value: ICertificateDelegateItem): CertificateDelegateItem;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=CertificateDelegateItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateDelegateItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateDelegateItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;CAAG;AAErE,oBAAY,uBAAuB;IAC/B,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,aAAa,kBAAkB;CAClC;AAED;;GAEG;AACH,qBACa,uBAAwB,SAAQ,eAAe;IAGjD,IAAI,EAAE,uBAAuB,CAAC;IAI9B,OAAO,EAAE,MAAM,CAAC;WAEA,IAAI,CAAC,KAAK,EAAE,wBAAwB,GAAG,uBAAuB;CAGxF"}
|
|
@@ -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.CertificateDelegateItem = exports.CertificateDelegateType = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const CertificateItem_1 = require("../CertificateItem");
|
|
15
|
-
var CertificateDelegateType;
|
|
16
|
-
(function (CertificateDelegateType) {
|
|
17
|
-
CertificateDelegateType["Clone"] = "clone";
|
|
18
|
-
CertificateDelegateType["Custodian"] = "custodian";
|
|
19
|
-
CertificateDelegateType["Sign"] = "sign";
|
|
20
|
-
CertificateDelegateType["Ppa"] = "ppa";
|
|
21
|
-
CertificateDelegateType["Communication"] = "communication";
|
|
22
|
-
})(CertificateDelegateType || (exports.CertificateDelegateType = CertificateDelegateType = {}));
|
|
23
|
-
/**
|
|
24
|
-
* A CertificateDelegateItem
|
|
25
|
-
*/
|
|
26
|
-
let CertificateDelegateItem = class CertificateDelegateItem extends CertificateItem_1.CertificateItem {
|
|
27
|
-
static from(value) {
|
|
28
|
-
return this.fromAny(value);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
exports.CertificateDelegateItem = CertificateDelegateItem;
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, ts_serval_1.validate)(),
|
|
34
|
-
(0, ts_serval_1.serialize)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CertificateDelegateItem.prototype, "type", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
39
|
-
(0, ts_serval_1.serialize)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], CertificateDelegateItem.prototype, "content", void 0);
|
|
42
|
-
exports.CertificateDelegateItem = CertificateDelegateItem = __decorate([
|
|
43
|
-
(0, ts_serval_1.type)("CertificateDelegateItem")
|
|
44
|
-
], CertificateDelegateItem);
|
|
45
|
-
//# sourceMappingURL=CertificateDelegateItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateDelegateItem.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateDelegateItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,wDAAuE;AAIvE,IAAY,uBAMX;AAND,WAAY,uBAAuB;IAC/B,0CAAe,CAAA;IACf,kDAAuB,CAAA;IACvB,wCAAa,CAAA;IACb,sCAAW,CAAA;IACX,0DAA+B,CAAA;AACnC,CAAC,EANW,uBAAuB,uCAAvB,uBAAuB,QAMlC;AAED;;GAEG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,iCAAe;IASjD,MAAM,CAAU,IAAI,CAAC,KAA+B;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAZY,0DAAuB;AAGzB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;qDACyB;AAI9B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;;wDACW;kCAPd,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAYnC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { CoreHash, ICoreHash } from "../../../../core";
|
|
2
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
3
|
-
export interface ICertificatePrivateAttributeItem extends ICertificateItem {
|
|
4
|
-
hash: ICoreHash;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* A CertificatePrivateAttributeItem is a hashed representation of a single attribute,
|
|
8
|
-
* consisting of a user-defined random nonce, the name of the attribute and its value.
|
|
9
|
-
*
|
|
10
|
-
* With this approach, one Certificate can be used for certifying multiple attributes,
|
|
11
|
-
* but without leaking any private/confidential data. A user can still select the attributes to
|
|
12
|
-
* share with a third party (e.g. name, address, email) while submitting a Certificate
|
|
13
|
-
* certifying much more data (e.g. name, address, email, mobile, birthdate, tax id, ...). However,
|
|
14
|
-
* the additional data within the shared certificate is of no value to the third party, without
|
|
15
|
-
* the shared attributes (+ nonce).
|
|
16
|
-
*/
|
|
17
|
-
export declare class CertificatePrivateAttributeItem extends CertificateItem {
|
|
18
|
-
hash: CoreHash;
|
|
19
|
-
static from(value: ICertificatePrivateAttributeItem): CertificatePrivateAttributeItem;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=CertificatePrivateAttributeItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificatePrivateAttributeItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificatePrivateAttributeItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,gCAAiC,SAAQ,gBAAgB;IACtE,IAAI,EAAE,SAAS,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,qBACa,+BAAgC,SAAQ,eAAe;IAGzD,IAAI,EAAE,QAAQ,CAAC;WAEC,IAAI,CAAC,KAAK,EAAE,gCAAgC,GAAG,+BAA+B;CAGxG"}
|
|
@@ -1,41 +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.CertificatePrivateAttributeItem = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_1 = require("../../../../core");
|
|
15
|
-
const CertificateItem_1 = require("../CertificateItem");
|
|
16
|
-
/**
|
|
17
|
-
* A CertificatePrivateAttributeItem is a hashed representation of a single attribute,
|
|
18
|
-
* consisting of a user-defined random nonce, the name of the attribute and its value.
|
|
19
|
-
*
|
|
20
|
-
* With this approach, one Certificate can be used for certifying multiple attributes,
|
|
21
|
-
* but without leaking any private/confidential data. A user can still select the attributes to
|
|
22
|
-
* share with a third party (e.g. name, address, email) while submitting a Certificate
|
|
23
|
-
* certifying much more data (e.g. name, address, email, mobile, birthdate, tax id, ...). However,
|
|
24
|
-
* the additional data within the shared certificate is of no value to the third party, without
|
|
25
|
-
* the shared attributes (+ nonce).
|
|
26
|
-
*/
|
|
27
|
-
let CertificatePrivateAttributeItem = class CertificatePrivateAttributeItem extends CertificateItem_1.CertificateItem {
|
|
28
|
-
static from(value) {
|
|
29
|
-
return this.fromAny(value);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
exports.CertificatePrivateAttributeItem = CertificatePrivateAttributeItem;
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, ts_serval_1.validate)(),
|
|
35
|
-
(0, ts_serval_1.serialize)(),
|
|
36
|
-
__metadata("design:type", core_1.CoreHash)
|
|
37
|
-
], CertificatePrivateAttributeItem.prototype, "hash", void 0);
|
|
38
|
-
exports.CertificatePrivateAttributeItem = CertificatePrivateAttributeItem = __decorate([
|
|
39
|
-
(0, ts_serval_1.type)("CertificatePrivateAttributeItem")
|
|
40
|
-
], CertificatePrivateAttributeItem);
|
|
41
|
-
//# sourceMappingURL=CertificatePrivateAttributeItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificatePrivateAttributeItem.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificatePrivateAttributeItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,2CAAuD;AACvD,wDAAuE;AAMvE;;;;;;;;;;GAUG;AAEI,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,iCAAe;IAKzD,MAAM,CAAU,IAAI,CAAC,KAAuC;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AARY,0EAA+B;AAGjC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACC,eAAQ;6DAAC;0CAHb,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAQ3C"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { CoreHash } from "../../../../core";
|
|
2
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
3
|
-
export interface ICertificatePrivateAttributeItemSource extends ICertificateItem {
|
|
4
|
-
nonce: string;
|
|
5
|
-
name: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* A CertificatePrivateAttributeItemSource is the cleartext version of a
|
|
10
|
-
* CertificatePrivateAttributeItem.
|
|
11
|
-
*
|
|
12
|
-
* With this approach, one Certificate can be used for certifying multiple attributes,
|
|
13
|
-
* but without leaking any private/confidential data. A user can still select the attributes to
|
|
14
|
-
* share with a third party (e.g. name, address, email) while submitting a Certificate
|
|
15
|
-
* certifying much more data (e.g. name, address, email, mobile, birthdate, tax id, ...). However,
|
|
16
|
-
* the additional data within the shared certificate is of no value to the third party, without
|
|
17
|
-
* the shared attributes (+ nonce).
|
|
18
|
-
*/
|
|
19
|
-
export declare class CertificatePrivateAttributeItemSource extends CertificateItem {
|
|
20
|
-
nonce: string;
|
|
21
|
-
name: string;
|
|
22
|
-
value: string;
|
|
23
|
-
hash(): Promise<CoreHash>;
|
|
24
|
-
static from(value: ICertificatePrivateAttributeItemSource): CertificatePrivateAttributeItemSource;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=CertificatePrivateAttributeItemSource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificatePrivateAttributeItemSource.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificatePrivateAttributeItemSource.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,sCAAuC,SAAQ,gBAAgB;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;GAUG;AACH,qBACa,qCAAsC,SAAQ,eAAe;IAG/D,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;IAIb,KAAK,EAAE,MAAM,CAAC;IAER,IAAI,IAAI,OAAO,CAAC,QAAQ,CAAC;WAIf,IAAI,CAAC,KAAK,EAAE,sCAAsC,GAAG,qCAAqC;CAGpH"}
|
|
@@ -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.CertificatePrivateAttributeItemSource = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_1 = require("../../../../core");
|
|
15
|
-
const CertificateItem_1 = require("../CertificateItem");
|
|
16
|
-
/**
|
|
17
|
-
* A CertificatePrivateAttributeItemSource is the cleartext version of a
|
|
18
|
-
* CertificatePrivateAttributeItem.
|
|
19
|
-
*
|
|
20
|
-
* With this approach, one Certificate can be used for certifying multiple attributes,
|
|
21
|
-
* but without leaking any private/confidential data. A user can still select the attributes to
|
|
22
|
-
* share with a third party (e.g. name, address, email) while submitting a Certificate
|
|
23
|
-
* certifying much more data (e.g. name, address, email, mobile, birthdate, tax id, ...). However,
|
|
24
|
-
* the additional data within the shared certificate is of no value to the third party, without
|
|
25
|
-
* the shared attributes (+ nonce).
|
|
26
|
-
*/
|
|
27
|
-
let CertificatePrivateAttributeItemSource = class CertificatePrivateAttributeItemSource extends CertificateItem_1.CertificateItem {
|
|
28
|
-
async hash() {
|
|
29
|
-
return await core_1.CoreHash.hash(`${this.nonce}|${this.name}|${this.value}`);
|
|
30
|
-
}
|
|
31
|
-
static from(value) {
|
|
32
|
-
return this.fromAny(value);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
exports.CertificatePrivateAttributeItemSource = CertificatePrivateAttributeItemSource;
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, ts_serval_1.validate)(),
|
|
38
|
-
(0, ts_serval_1.serialize)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], CertificatePrivateAttributeItemSource.prototype, "nonce", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, ts_serval_1.validate)(),
|
|
43
|
-
(0, ts_serval_1.serialize)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], CertificatePrivateAttributeItemSource.prototype, "name", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, ts_serval_1.validate)(),
|
|
48
|
-
(0, ts_serval_1.serialize)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CertificatePrivateAttributeItemSource.prototype, "value", void 0);
|
|
51
|
-
exports.CertificatePrivateAttributeItemSource = CertificatePrivateAttributeItemSource = __decorate([
|
|
52
|
-
(0, ts_serval_1.type)("CertificatePrivateAttributeItem")
|
|
53
|
-
], CertificatePrivateAttributeItemSource);
|
|
54
|
-
//# sourceMappingURL=CertificatePrivateAttributeItemSource.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificatePrivateAttributeItemSource.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificatePrivateAttributeItemSource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,2CAA4C;AAC5C,wDAAuE;AAQvE;;;;;;;;;;GAUG;AAEI,IAAM,qCAAqC,GAA3C,MAAM,qCAAsC,SAAQ,iCAAe;IAa/D,KAAK,CAAC,IAAI;QACb,OAAO,MAAM,eAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;IAC3E,CAAC;IAEM,MAAM,CAAU,IAAI,CAAC,KAA6C;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AApBY,sFAAqC;AAGvC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;oEACS;AAId;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;mEACQ;AAIb;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;oEACS;gDAXZ,qCAAqC;IADjD,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,qCAAqC,CAoBjD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
2
|
-
export interface ICertificatePublicAttributeItem extends ICertificateItem {
|
|
3
|
-
name: string;
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* A CertificatePublicAttributeItem is a representation of a single attribute,
|
|
8
|
-
* consisting of a name of the attribute and its value.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CertificatePublicAttributeItem extends CertificateItem {
|
|
11
|
-
name: string;
|
|
12
|
-
value: string;
|
|
13
|
-
static from(value: ICertificatePublicAttributeItem): CertificatePublicAttributeItem;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=CertificatePublicAttributeItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificatePublicAttributeItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificatePublicAttributeItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,+BAAgC,SAAQ,gBAAgB;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,qBACa,8BAA+B,SAAQ,eAAe;IAGxD,IAAI,EAAE,MAAM,CAAC;IAIb,KAAK,EAAE,MAAM,CAAC;WAEE,IAAI,CAAC,KAAK,EAAE,+BAA+B,GAAG,8BAA8B;CAGtG"}
|
|
@@ -1,38 +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.CertificatePublicAttributeItem = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const CertificateItem_1 = require("../CertificateItem");
|
|
15
|
-
/**
|
|
16
|
-
* A CertificatePublicAttributeItem is a representation of a single attribute,
|
|
17
|
-
* consisting of a name of the attribute and its value.
|
|
18
|
-
*/
|
|
19
|
-
let CertificatePublicAttributeItem = class CertificatePublicAttributeItem extends CertificateItem_1.CertificateItem {
|
|
20
|
-
static from(value) {
|
|
21
|
-
return this.fromAny(value);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
exports.CertificatePublicAttributeItem = CertificatePublicAttributeItem;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, ts_serval_1.validate)(),
|
|
27
|
-
(0, ts_serval_1.serialize)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], CertificatePublicAttributeItem.prototype, "name", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.validate)(),
|
|
32
|
-
(0, ts_serval_1.serialize)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], CertificatePublicAttributeItem.prototype, "value", void 0);
|
|
35
|
-
exports.CertificatePublicAttributeItem = CertificatePublicAttributeItem = __decorate([
|
|
36
|
-
(0, ts_serval_1.type)("CertificatePublicAttributeItem")
|
|
37
|
-
], CertificatePublicAttributeItem);
|
|
38
|
-
//# sourceMappingURL=CertificatePublicAttributeItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificatePublicAttributeItem.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificatePublicAttributeItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,wDAAuE;AAOvE;;;GAGG;AAEI,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,iCAAe;IASxD,MAAM,CAAU,IAAI,CAAC,KAAsC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAZY,wEAA8B;AAGhC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;4DACQ;AAIb;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;6DACS;yCAPZ,8BAA8B;IAD1C,IAAA,gBAAI,EAAC,gCAAgC,CAAC;GAC1B,8BAA8B,CAY1C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
2
|
-
export interface ICertificateRoleItem extends ICertificateItem {
|
|
3
|
-
role: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* A CertificateRoleItem certifies a certain role, that the subject got from
|
|
7
|
-
* the issuer.
|
|
8
|
-
*
|
|
9
|
-
* Example:
|
|
10
|
-
* - Employee
|
|
11
|
-
* - Administrator
|
|
12
|
-
*/
|
|
13
|
-
export declare class CertificateRoleItem extends CertificateItem {
|
|
14
|
-
role: string;
|
|
15
|
-
static from(value: ICertificateRoleItem): CertificateRoleItem;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=CertificateRoleItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateRoleItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateRoleItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC1D,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,qBACa,mBAAoB,SAAQ,eAAe;IAG7C,IAAI,EAAE,MAAM,CAAC;WAEG,IAAI,CAAC,KAAK,EAAE,oBAAoB,GAAG,mBAAmB;CAGhF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateRoleItem.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateRoleItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,wDAAuE;AAMvE;;;;;;;GAOG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,iCAAe;IAK7C,MAAM,CAAU,IAAI,CAAC,KAA2B;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AARY,kDAAmB;AAGrB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;iDACQ;8BAHX,mBAAmB;IAD/B,IAAA,gBAAI,EAAC,qBAAqB,CAAC;GACf,mBAAmB,CAQ/B"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/core-types";
|
|
3
|
-
import { CryptoSecretKey, CryptoSignature, ICryptoSecretKey, ICryptoSignature } from "@nmshd/crypto";
|
|
4
|
-
import { CoreHash, ICoreHash } from "../../../core";
|
|
5
|
-
import { BackboneGetFilesResponse } from "../backbone/BackboneGetFiles";
|
|
6
|
-
import { FileMetadata } from "../transmission/FileMetadata";
|
|
7
|
-
export interface ICachedFile extends ISerializable {
|
|
8
|
-
title?: string;
|
|
9
|
-
filename: string;
|
|
10
|
-
tags?: string[];
|
|
11
|
-
filesize: number;
|
|
12
|
-
filemodified?: CoreDate;
|
|
13
|
-
mimetype: string;
|
|
14
|
-
cipherHash: ICoreHash;
|
|
15
|
-
createdAt: ICoreDate;
|
|
16
|
-
expiresAt: ICoreDate;
|
|
17
|
-
cipherKey: ICryptoSecretKey;
|
|
18
|
-
description?: string;
|
|
19
|
-
originalFilename?: string;
|
|
20
|
-
owner: CoreAddress;
|
|
21
|
-
ownerSignature: ICryptoSignature;
|
|
22
|
-
plaintextHash: ICoreHash;
|
|
23
|
-
createdBy: ICoreAddress;
|
|
24
|
-
createdByDevice: ICoreId;
|
|
25
|
-
deletedAt?: ICoreDate;
|
|
26
|
-
deletedBy?: ICoreAddress;
|
|
27
|
-
deletedByDevice?: ICoreId;
|
|
28
|
-
}
|
|
29
|
-
export declare class CachedFile extends Serializable implements ICachedFile {
|
|
30
|
-
title?: string;
|
|
31
|
-
filename: string;
|
|
32
|
-
tags?: string[];
|
|
33
|
-
filesize: number;
|
|
34
|
-
filemodified?: CoreDate;
|
|
35
|
-
mimetype: string;
|
|
36
|
-
cipherHash: CoreHash;
|
|
37
|
-
createdAt: CoreDate;
|
|
38
|
-
expiresAt: CoreDate;
|
|
39
|
-
description?: string;
|
|
40
|
-
owner: CoreAddress;
|
|
41
|
-
ownerSignature: CryptoSignature;
|
|
42
|
-
plaintextHash: CoreHash;
|
|
43
|
-
createdBy: CoreAddress;
|
|
44
|
-
createdByDevice: CoreId;
|
|
45
|
-
cipherKey: CryptoSecretKey;
|
|
46
|
-
deletedAt?: CoreDate;
|
|
47
|
-
deletedBy?: CoreAddress;
|
|
48
|
-
deletedByDevice?: CoreId;
|
|
49
|
-
static from(value: ICachedFile): CachedFile;
|
|
50
|
-
static fromBackbone(backboneResponse: BackboneGetFilesResponse, metadata: FileMetadata): CachedFile;
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=CachedFile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CachedFile.d.ts","sourceRoot":"","sources":["../../../../src/modules/files/local/CachedFile.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;AACpG,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,SAAS,CAAC;IACtB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,WAAW,CAAC;IACnB,cAAc,EAAE,gBAAgB,CAAC;IACjC,aAAa,EAAE,SAAS,CAAC;IACzB,SAAS,EAAE,YAAY,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,qBACa,UAAW,SAAQ,YAAa,YAAW,WAAW;IAGxD,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,QAAQ,EAAE,MAAM,CAAC;IAIjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAIhB,QAAQ,EAAE,MAAM,CAAC;IAIjB,YAAY,CAAC,EAAE,QAAQ,CAAC;IAIxB,QAAQ,EAAE,MAAM,CAAC;IAIjB,UAAU,EAAE,QAAQ,CAAC;IAIrB,SAAS,EAAE,QAAQ,CAAC;IAIpB,SAAS,EAAE,QAAQ,CAAC;IAIpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,KAAK,EAAE,WAAW,CAAC;IAInB,cAAc,EAAE,eAAe,CAAC;IAIhC,aAAa,EAAE,QAAQ,CAAC;IAIxB,SAAS,EAAE,WAAW,CAAC;IAIvB,eAAe,EAAE,MAAM,CAAC;IAIxB,SAAS,EAAE,eAAe,CAAC;IAI3B,SAAS,CAAC,EAAE,QAAQ,CAAC;IAIrB,SAAS,CAAC,EAAE,WAAW,CAAC;IAIxB,eAAe,CAAC,EAAE,MAAM,CAAC;WAElB,IAAI,CAAC,KAAK,EAAE,WAAW,GAAG,UAAU;WAIpC,YAAY,CAAC,gBAAgB,EAAE,wBAAwB,EAAE,QAAQ,EAAE,YAAY,GAAG,UAAU;CAuB7G"}
|