@twin.org/engine-types 0.0.3-next.1 → 0.0.3-next.11
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/es/components/backgroundTask.js +9 -11
- package/dist/es/components/backgroundTask.js.map +1 -1
- package/dist/es/components/contextIdHandler.js +31 -0
- package/dist/es/components/contextIdHandler.js.map +1 -0
- package/dist/es/components/dataSpaceConnector.js +1 -2
- package/dist/es/components/dataSpaceConnector.js.map +1 -1
- package/dist/es/components/entityStorage.js +2 -1
- package/dist/es/components/entityStorage.js.map +1 -1
- package/dist/es/components/federatedCatalogue.js +1 -5
- package/dist/es/components/federatedCatalogue.js.map +1 -1
- package/dist/es/components/federatedCatalogueFilter.js +31 -0
- package/dist/es/components/federatedCatalogueFilter.js.map +1 -0
- package/dist/es/components/immutableProof.js +2 -1
- package/dist/es/components/immutableProof.js.map +1 -1
- package/dist/es/components/rightsManagementDap.js +2 -4
- package/dist/es/components/rightsManagementDap.js.map +1 -1
- package/dist/es/components/rightsManagementDarp.js +1 -0
- package/dist/es/components/rightsManagementDarp.js.map +1 -1
- package/dist/es/components/rightsManagementDataAccessHandler.js +27 -0
- package/dist/es/components/rightsManagementDataAccessHandler.js.map +1 -0
- package/dist/es/components/rightsManagementPdp.js +2 -16
- package/dist/es/components/rightsManagementPdp.js.map +1 -1
- package/dist/es/components/rightsManagementPep.js +2 -16
- package/dist/es/components/rightsManagementPep.js.map +1 -1
- package/dist/es/components/rightsManagementPip.js +2 -16
- package/dist/es/components/rightsManagementPip.js.map +1 -1
- package/dist/es/components/rightsManagementPnp.js +3 -23
- package/dist/es/components/rightsManagementPnp.js.map +1 -1
- package/dist/es/components/rightsManagementPolicyArbiter.js +27 -0
- package/dist/es/components/rightsManagementPolicyArbiter.js.map +1 -0
- package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js +27 -0
- package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js.map +1 -0
- package/dist/es/components/rightsManagementPolicyExecutionAction.js +27 -0
- package/dist/es/components/rightsManagementPolicyExecutionAction.js.map +1 -0
- package/dist/es/components/rightsManagementPolicyInformationSource.js +35 -0
- package/dist/es/components/rightsManagementPolicyInformationSource.js.map +1 -0
- package/dist/es/components/rightsManagementPolicyNegotiator.js +27 -0
- package/dist/es/components/rightsManagementPolicyNegotiator.js.map +1 -0
- package/dist/es/components/rightsManagementPolicyRequester.js +27 -0
- package/dist/es/components/rightsManagementPolicyRequester.js.map +1 -0
- package/dist/es/components/rightsManagementPxp.js +2 -16
- package/dist/es/components/rightsManagementPxp.js.map +1 -1
- package/dist/es/components/synchronisedStorage.js +1 -1
- package/dist/es/components/synchronisedStorage.js.map +1 -1
- package/dist/es/components/trust.js +29 -0
- package/dist/es/components/trust.js.map +1 -0
- package/dist/es/components/trustGenerator.js +28 -0
- package/dist/es/components/trustGenerator.js.map +1 -0
- package/dist/es/components/trustVerifier.js +28 -0
- package/dist/es/components/trustVerifier.js.map +1 -0
- package/dist/es/index.js +38 -2
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IEngineConfig.js.map +1 -1
- package/dist/es/models/config/backgroundTaskComponentConfig.js +2 -0
- package/dist/es/models/config/backgroundTaskComponentConfig.js.map +1 -0
- package/dist/es/models/config/contextIdHandlerComponentConfig.js +2 -0
- package/dist/es/models/config/contextIdHandlerComponentConfig.js.map +1 -0
- package/dist/es/models/config/federatedCatalogueFilterComponentConfig.js +2 -0
- package/dist/es/models/config/federatedCatalogueFilterComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementDarpComponentConfig.js.map +1 -1
- package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js +2 -0
- package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementPdpComponentConfig.js.map +1 -1
- package/dist/es/models/config/rightsManagementPepComponentConfig.js.map +1 -1
- package/dist/es/models/config/rightsManagementPipComponentConfig.js.map +1 -1
- package/dist/es/models/config/rightsManagementPnpComponentConfig.js.map +1 -1
- package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js +2 -0
- package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js +2 -0
- package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js +2 -0
- package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js +2 -0
- package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js +2 -0
- package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js +2 -0
- package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js.map +1 -0
- package/dist/es/models/config/rightsManagementPxpComponentConfig.js.map +1 -1
- package/dist/es/models/config/trustComponentConfig.js +2 -0
- package/dist/es/models/config/trustComponentConfig.js.map +1 -0
- package/dist/es/models/config/trustGeneratorComponentConfig.js +2 -0
- package/dist/es/models/config/trustGeneratorComponentConfig.js.map +1 -0
- package/dist/es/models/config/trustVerifierComponentConfig.js +2 -0
- package/dist/es/models/config/trustVerifierComponentConfig.js.map +1 -0
- package/dist/es/models/types/backgroundTaskComponentType.js +13 -0
- package/dist/es/models/types/backgroundTaskComponentType.js.map +1 -0
- package/dist/es/models/types/contextIdHandlerComponentType.js +17 -0
- package/dist/es/models/types/contextIdHandlerComponentType.js.map +1 -0
- package/dist/es/models/types/federatedCatalogueFilterComponentType.js +13 -0
- package/dist/es/models/types/federatedCatalogueFilterComponentType.js.map +1 -0
- package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js +13 -0
- package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js.map +1 -0
- package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js +13 -0
- package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js.map +1 -0
- package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js +13 -0
- package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js.map +1 -0
- package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js +13 -0
- package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js.map +1 -0
- package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js +17 -0
- package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js.map +1 -0
- package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js +13 -0
- package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js.map +1 -0
- package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js +13 -0
- package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js.map +1 -0
- package/dist/es/models/types/trustComponentType.js +13 -0
- package/dist/es/models/types/trustComponentType.js.map +1 -0
- package/dist/es/models/types/trustGeneratorComponentType.js +13 -0
- package/dist/es/models/types/trustGeneratorComponentType.js.map +1 -0
- package/dist/es/models/types/trustVerifierComponentType.js +13 -0
- package/dist/es/models/types/trustVerifierComponentType.js.map +1 -0
- package/dist/types/components/backgroundTask.d.ts +5 -6
- package/dist/types/components/contextIdHandler.d.ts +16 -0
- package/dist/types/components/federatedCatalogueFilter.d.ts +17 -0
- package/dist/types/components/rightsManagementDataAccessHandler.d.ts +17 -0
- package/dist/types/components/rightsManagementPolicyArbiter.d.ts +17 -0
- package/dist/types/components/rightsManagementPolicyEnforcementProcessor.d.ts +17 -0
- package/dist/types/components/rightsManagementPolicyExecutionAction.d.ts +17 -0
- package/dist/types/components/rightsManagementPolicyInformationSource.d.ts +17 -0
- package/dist/types/components/rightsManagementPolicyNegotiator.d.ts +17 -0
- package/dist/types/components/rightsManagementPolicyRequester.d.ts +17 -0
- package/dist/types/components/trust.d.ts +16 -0
- package/dist/types/components/trustGenerator.d.ts +17 -0
- package/dist/types/components/trustVerifier.d.ts +17 -0
- package/dist/types/index.d.ts +38 -2
- package/dist/types/models/IEngineConfig.d.ts +63 -3
- package/dist/types/models/config/backgroundTaskComponentConfig.d.ts +9 -0
- package/dist/types/models/config/contextIdHandlerComponentConfig.d.ts +11 -0
- package/dist/types/models/config/federatedCatalogueFilterComponentConfig.d.ts +9 -0
- package/dist/types/models/config/rightsManagementDarpComponentConfig.d.ts +1 -4
- package/dist/types/models/config/rightsManagementDataAccessHandlerComponentConfig.d.ts +9 -0
- package/dist/types/models/config/rightsManagementPdpComponentConfig.d.ts +1 -4
- package/dist/types/models/config/rightsManagementPepComponentConfig.d.ts +1 -4
- package/dist/types/models/config/rightsManagementPipComponentConfig.d.ts +1 -4
- package/dist/types/models/config/rightsManagementPnpComponentConfig.d.ts +1 -5
- package/dist/types/models/config/rightsManagementPolicyArbiterComponentConfig.d.ts +9 -0
- package/dist/types/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.d.ts +9 -0
- package/dist/types/models/config/rightsManagementPolicyExecutionActionComponentConfig.d.ts +9 -0
- package/dist/types/models/config/rightsManagementPolicyInformationSourceComponentConfig.d.ts +12 -0
- package/dist/types/models/config/rightsManagementPolicyNegotiatorComponentConfig.d.ts +9 -0
- package/dist/types/models/config/rightsManagementPolicyRequesterComponentConfig.d.ts +9 -0
- package/dist/types/models/config/rightsManagementPxpComponentConfig.d.ts +1 -4
- package/dist/types/models/config/trustComponentConfig.d.ts +9 -0
- package/dist/types/models/config/trustGeneratorComponentConfig.d.ts +9 -0
- package/dist/types/models/config/trustVerifierComponentConfig.d.ts +9 -0
- package/dist/types/models/types/backgroundTaskComponentType.d.ts +13 -0
- package/dist/types/models/types/contextIdHandlerComponentType.d.ts +17 -0
- package/dist/types/models/types/federatedCatalogueFilterComponentType.d.ts +13 -0
- package/dist/types/models/types/rightsManagementDataAccessHandlerComponentType.d.ts +13 -0
- package/dist/types/models/types/rightsManagementPolicyArbiterComponentType.d.ts +13 -0
- package/dist/types/models/types/rightsManagementPolicyEnforcementProcessorComponentType.d.ts +13 -0
- package/dist/types/models/types/rightsManagementPolicyExecutionActionComponentType.d.ts +13 -0
- package/dist/types/models/types/rightsManagementPolicyInformationSourceComponentType.d.ts +17 -0
- package/dist/types/models/types/rightsManagementPolicyNegotiatorComponentType.d.ts +13 -0
- package/dist/types/models/types/rightsManagementPolicyRequesterComponentType.d.ts +13 -0
- package/dist/types/models/types/trustComponentType.d.ts +13 -0
- package/dist/types/models/types/trustGeneratorComponentType.d.ts +13 -0
- package/dist/types/models/types/trustVerifierComponentType.d.ts +13 -0
- package/docs/changelog.md +155 -0
- package/docs/reference/functions/{initialiseBackgroundTaskConnector.md → initialiseBackgroundTaskComponent.md} +5 -5
- package/docs/reference/functions/initialiseContextIdHandlerComponent.md +31 -0
- package/docs/reference/functions/initialiseFederatedCatalogueFilterComponent.md +31 -0
- package/docs/reference/functions/initialiseRightsManagementDataAccessHandlerComponent.md +31 -0
- package/docs/reference/functions/initialiseRightsManagementPolicyArbiterComponent.md +31 -0
- package/docs/reference/functions/initialiseRightsManagementPolicyEnforcementProcessorComponent.md +31 -0
- package/docs/reference/functions/initialiseRightsManagementPolicyExecutionActionComponent.md +31 -0
- package/docs/reference/functions/initialiseRightsManagementPolicyInformationSourceComponent.md +31 -0
- package/docs/reference/functions/initialiseRightsManagementPolicyNegotiatorComponent.md +31 -0
- package/docs/reference/functions/initialiseRightsManagementPolicyRequesterComponent.md +31 -0
- package/docs/reference/functions/initialiseTrustComponent.md +31 -0
- package/docs/reference/functions/initialiseTrustGeneratorComponent.md +31 -0
- package/docs/reference/functions/initialiseTrustVerifierComponent.md +31 -0
- package/docs/reference/index.md +52 -4
- package/docs/reference/interfaces/IEngineConfig.md +75 -3
- package/docs/reference/type-aliases/BackgroundTaskComponentConfig.md +17 -0
- package/docs/reference/type-aliases/BackgroundTaskComponentType.md +5 -0
- package/docs/reference/type-aliases/ContextIdHandlerComponentConfig.md +5 -0
- package/docs/reference/type-aliases/ContextIdHandlerComponentType.md +5 -0
- package/docs/reference/type-aliases/FederatedCatalogueFilterComponentConfig.md +17 -0
- package/docs/reference/type-aliases/FederatedCatalogueFilterComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementDarpComponentConfig.md +1 -7
- package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentConfig.md +17 -0
- package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPdpComponentConfig.md +1 -7
- package/docs/reference/type-aliases/RightsManagementPepComponentConfig.md +1 -7
- package/docs/reference/type-aliases/RightsManagementPipComponentConfig.md +1 -7
- package/docs/reference/type-aliases/RightsManagementPnpComponentConfig.md +1 -1
- package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentConfig.md +17 -0
- package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentConfig.md +17 -0
- package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentConfig.md +17 -0
- package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentConfig.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentConfig.md +17 -0
- package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentConfig.md +17 -0
- package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentType.md +5 -0
- package/docs/reference/type-aliases/RightsManagementPxpComponentConfig.md +1 -7
- package/docs/reference/type-aliases/TrustComponentConfig.md +17 -0
- package/docs/reference/type-aliases/TrustComponentType.md +5 -0
- package/docs/reference/type-aliases/TrustGeneratorComponentConfig.md +17 -0
- package/docs/reference/type-aliases/TrustGeneratorComponentType.md +5 -0
- package/docs/reference/type-aliases/TrustVerifierComponentConfig.md +17 -0
- package/docs/reference/type-aliases/TrustVerifierComponentType.md +5 -0
- package/docs/reference/variables/BackgroundTaskComponentType.md +13 -0
- package/docs/reference/variables/ContextIdHandlerComponentType.md +19 -0
- package/docs/reference/variables/FederatedCatalogueFilterComponentType.md +13 -0
- package/docs/reference/variables/RightsManagementDataAccessHandlerComponentType.md +13 -0
- package/docs/reference/variables/RightsManagementPolicyArbiterComponentType.md +13 -0
- package/docs/reference/variables/RightsManagementPolicyEnforcementProcessorComponentType.md +13 -0
- package/docs/reference/variables/RightsManagementPolicyExecutionActionComponentType.md +13 -0
- package/docs/reference/variables/RightsManagementPolicyInformationSourceComponentType.md +19 -0
- package/docs/reference/variables/RightsManagementPolicyNegotiatorComponentType.md +13 -0
- package/docs/reference/variables/RightsManagementPolicyRequesterComponentType.md +13 -0
- package/docs/reference/variables/TrustComponentType.md +13 -0
- package/docs/reference/variables/TrustGeneratorComponentType.md +13 -0
- package/docs/reference/variables/TrustVerifierComponentType.md +13 -0
- package/package.json +10 -4
- package/dist/es/models/config/backgroundTaskConnectorConfig.js +0 -2
- package/dist/es/models/config/backgroundTaskConnectorConfig.js.map +0 -1
- package/dist/es/models/types/backgroundTaskConnectorType.js +0 -13
- package/dist/es/models/types/backgroundTaskConnectorType.js.map +0 -1
- package/dist/types/models/config/backgroundTaskConnectorConfig.d.ts +0 -9
- package/dist/types/models/types/backgroundTaskConnectorType.d.ts +0 -13
- package/docs/reference/type-aliases/BackgroundTaskConnectorConfig.md +0 -17
- package/docs/reference/type-aliases/BackgroundTaskConnectorType.md +0 -5
- package/docs/reference/variables/BackgroundTaskConnectorType.md +0 -13
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Rights management Data Access Handler component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const RightsManagementDataAccessHandlerComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Example.
|
|
10
|
+
*/
|
|
11
|
+
Example: "example"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=rightsManagementDataAccessHandlerComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rightsManagementDataAccessHandlerComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementDataAccessHandlerComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC7D;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Data Access Handler component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementDataAccessHandlerComponentType = {\n\t/**\n\t * Example.\n\t */\n\tExample: \"example\"\n} as const;\n\n/**\n * Rights management Data Access Handler component types.\n */\nexport type RightsManagementDataAccessHandlerComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementDataAccessHandlerComponentType)[keyof typeof RightsManagementDataAccessHandlerComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Rights management Policy Arbiter component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const RightsManagementPolicyArbiterComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Example.
|
|
10
|
+
*/
|
|
11
|
+
Example: "example"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=rightsManagementPolicyArbiterComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rightsManagementPolicyArbiterComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyArbiterComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0CAA0C,GAAG;IACzD;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Arbiter component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyArbiterComponentType = {\n\t/**\n\t * Example.\n\t */\n\tExample: \"example\"\n} as const;\n\n/**\n * Rights management Policy Arbiter component types.\n */\nexport type RightsManagementPolicyArbiterComponentType =\n\t(typeof RightsManagementPolicyArbiterComponentType)[keyof typeof RightsManagementPolicyArbiterComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Rights management Policy Enforcement Processor component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const RightsManagementPolicyEnforcementProcessorComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Example.
|
|
10
|
+
*/
|
|
11
|
+
Example: "example"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=rightsManagementPolicyEnforcementProcessorComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rightsManagementPolicyEnforcementProcessorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyEnforcementProcessorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uDAAuD,GAAG;IACtE;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Enforcement Processor component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyEnforcementProcessorComponentType = {\n\t/**\n\t * Example.\n\t */\n\tExample: \"example\"\n} as const;\n\n/**\n * Rights management Policy Enforcement Processor component types.\n */\nexport type RightsManagementPolicyEnforcementProcessorComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementPolicyEnforcementProcessorComponentType)[keyof typeof RightsManagementPolicyEnforcementProcessorComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Rights management Policy Execution Action component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const RightsManagementPolicyExecutionActionComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Logging.
|
|
10
|
+
*/
|
|
11
|
+
Logging: "logging"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=rightsManagementPolicyExecutionActionComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rightsManagementPolicyExecutionActionComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyExecutionActionComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,kDAAkD,GAAG;IACjE;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Execution Action component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyExecutionActionComponentType = {\n\t/**\n\t * Logging.\n\t */\n\tLogging: \"logging\"\n} as const;\n\n/**\n * Rights management Policy Execution Action component types.\n */\nexport type RightsManagementPolicyExecutionActionComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementPolicyExecutionActionComponentType)[keyof typeof RightsManagementPolicyExecutionActionComponentType];\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Rights management Policy Information Source component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const RightsManagementPolicyInformationSourceComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Identity.
|
|
10
|
+
*/
|
|
11
|
+
Identity: "identity",
|
|
12
|
+
/**
|
|
13
|
+
* Static.
|
|
14
|
+
*/
|
|
15
|
+
Static: "static"
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=rightsManagementPolicyInformationSourceComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rightsManagementPolicyInformationSourceComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyInformationSourceComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oDAAoD,GAAG;IACnE;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,MAAM,EAAE,QAAQ;CACP,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Information Source component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyInformationSourceComponentType = {\n\t/**\n\t * Identity.\n\t */\n\tIdentity: \"identity\",\n\n\t/**\n\t * Static.\n\t */\n\tStatic: \"static\"\n} as const;\n\n/**\n * Rights management Policy Information Source component types.\n */\nexport type RightsManagementPolicyInformationSourceComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementPolicyInformationSourceComponentType)[keyof typeof RightsManagementPolicyInformationSourceComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Rights management Policy Negotiator component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const RightsManagementPolicyNegotiatorComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Example.
|
|
10
|
+
*/
|
|
11
|
+
Example: "example"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=rightsManagementPolicyNegotiatorComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rightsManagementPolicyNegotiatorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyNegotiatorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6CAA6C,GAAG;IAC5D;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Negotiator component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyNegotiatorComponentType = {\n\t/**\n\t * Example.\n\t */\n\tExample: \"example\"\n} as const;\n\n/**\n * Rights management Policy Negotiator component types.\n */\nexport type RightsManagementPolicyNegotiatorComponentType =\n\t(typeof RightsManagementPolicyNegotiatorComponentType)[keyof typeof RightsManagementPolicyNegotiatorComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Rights management Policy Requester component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const RightsManagementPolicyRequesterComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Example.
|
|
10
|
+
*/
|
|
11
|
+
Example: "example"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=rightsManagementPolicyRequesterComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rightsManagementPolicyRequesterComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyRequesterComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC3D;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Requester component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyRequesterComponentType = {\n\t/**\n\t * Example.\n\t */\n\tExample: \"example\"\n} as const;\n\n/**\n * Rights management Policy Requester component types.\n */\nexport type RightsManagementPolicyRequesterComponentType =\n\t(typeof RightsManagementPolicyRequesterComponentType)[keyof typeof RightsManagementPolicyRequesterComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Trust component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const TrustComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Service.
|
|
10
|
+
*/
|
|
11
|
+
Service: "service"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=trustComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trustComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\"\n} as const;\n\n/**\n * Trust component types.\n */\nexport type TrustComponentType = (typeof TrustComponentType)[keyof typeof TrustComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Trust generator component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const TrustGeneratorComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* JWT Verifiable Credential.
|
|
10
|
+
*/
|
|
11
|
+
JwtVerifiableCredential: "jwt-verifiable-credential"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=trustGeneratorComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trustGeneratorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustGeneratorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;CAC3C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust generator component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustGeneratorComponentType = {\n\t/**\n\t * JWT Verifiable Credential.\n\t */\n\tJwtVerifiableCredential: \"jwt-verifiable-credential\"\n} as const;\n\n/**\n * Trust generator component types.\n */\nexport type TrustGeneratorComponentType =\n\t(typeof TrustGeneratorComponentType)[keyof typeof TrustGeneratorComponentType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Trust verifier component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const TrustVerifierComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* JWT Verifiable Credential.
|
|
10
|
+
*/
|
|
11
|
+
JwtVerifiableCredential: "jwt-verifiable-credential"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=trustVerifierComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trustVerifierComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustVerifierComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;CAC3C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust verifier component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustVerifierComponentType = {\n\t/**\n\t * JWT Verifiable Credential.\n\t */\n\tJwtVerifiableCredential: \"jwt-verifiable-credential\"\n} as const;\n\n/**\n * Trust verifier component types.\n */\nexport type TrustVerifierComponentType =\n\t(typeof TrustVerifierComponentType)[keyof typeof TrustVerifierComponentType];\n"]}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { IComponent } from "@twin.org/core";
|
|
1
|
+
import { ComponentFactory, type IComponent } from "@twin.org/core";
|
|
3
2
|
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
4
|
-
import type {
|
|
3
|
+
import type { BackgroundTaskComponentConfig } from "../models/config/backgroundTaskComponentConfig.js";
|
|
5
4
|
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
5
|
/**
|
|
7
|
-
* Initialise a background task
|
|
6
|
+
* Initialise a background task component.
|
|
8
7
|
* @param engineCore The engine core.
|
|
9
8
|
* @param context The context for the engine.
|
|
10
9
|
* @param instanceConfig The instance config.
|
|
11
10
|
* @returns The instance created and the factory for it.
|
|
12
11
|
*/
|
|
13
|
-
export declare function
|
|
12
|
+
export declare function initialiseBackgroundTaskComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: BackgroundTaskComponentConfig): Promise<{
|
|
14
13
|
instanceType?: string;
|
|
15
|
-
factory?: typeof
|
|
14
|
+
factory?: typeof ComponentFactory;
|
|
16
15
|
component?: IComponent;
|
|
17
16
|
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComponentFactory, type IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import type { ContextIdHandlerComponentConfig } from "../models/config/contextIdHandlerComponentConfig.js";
|
|
4
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
5
|
+
/**
|
|
6
|
+
* Initialise the context id handler component.
|
|
7
|
+
* @param engineCore The engine core.
|
|
8
|
+
* @param context The context for the engine.
|
|
9
|
+
* @param instanceConfig The instance config.
|
|
10
|
+
* @returns The instance created and the factory for it.
|
|
11
|
+
*/
|
|
12
|
+
export declare function initialiseContextIdHandlerComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: ContextIdHandlerComponentConfig): Promise<{
|
|
13
|
+
instanceType?: string;
|
|
14
|
+
factory?: typeof ComponentFactory;
|
|
15
|
+
component?: IComponent;
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { FederatedCatalogueFilterFactory } from "@twin.org/federated-catalogue-models";
|
|
4
|
+
import type { FederatedCatalogueFilterComponentConfig } from "../models/config/federatedCatalogueFilterComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the federated catalogue filter component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseFederatedCatalogueFilterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: FederatedCatalogueFilterComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof FederatedCatalogueFilterFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { DataAccessHandlerFactory } from "@twin.org/rights-management-models";
|
|
4
|
+
import type { RightsManagementDataAccessHandlerComponentConfig } from "../models/config/rightsManagementDataAccessHandlerComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the rights management data access handler component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseRightsManagementDataAccessHandlerComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementDataAccessHandlerComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof DataAccessHandlerFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { PolicyArbiterFactory } from "@twin.org/rights-management-models";
|
|
4
|
+
import type { RightsManagementPolicyArbiterComponentConfig } from "../models/config/rightsManagementPolicyArbiterComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the rights management policy arbiter component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseRightsManagementPolicyArbiterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyArbiterComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof PolicyArbiterFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { PolicyEnforcementProcessorFactory } from "@twin.org/rights-management-models";
|
|
4
|
+
import type { RightsManagementPolicyEnforcementProcessorComponentConfig } from "../models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the rights management policy enforcement processor component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseRightsManagementPolicyEnforcementProcessorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyEnforcementProcessorComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof PolicyEnforcementProcessorFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { PolicyExecutionActionFactory } from "@twin.org/rights-management-models";
|
|
4
|
+
import type { RightsManagementPolicyExecutionActionComponentConfig } from "../models/config/rightsManagementPolicyExecutionActionComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the rights management policy execution action component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseRightsManagementPolicyExecutionActionComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyExecutionActionComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof PolicyExecutionActionFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { PolicyInformationSourceFactory } from "@twin.org/rights-management-models";
|
|
4
|
+
import type { RightsManagementPolicyInformationSourceComponentConfig } from "../models/config/rightsManagementPolicyInformationSourceComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the rights management policy information source component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseRightsManagementPolicyInformationSourceComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyInformationSourceComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof PolicyInformationSourceFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { PolicyNegotiatorFactory } from "@twin.org/rights-management-models";
|
|
4
|
+
import type { RightsManagementPolicyNegotiatorComponentConfig } from "../models/config/rightsManagementPolicyNegotiatorComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the rights management policy negotiator component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseRightsManagementPolicyNegotiatorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyNegotiatorComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof PolicyNegotiatorFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { PolicyRequesterFactory } from "@twin.org/rights-management-models";
|
|
4
|
+
import type { RightsManagementPolicyRequesterComponentConfig } from "../models/config/rightsManagementPolicyRequesterComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the rights management policy requester component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseRightsManagementPolicyRequesterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyRequesterComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof PolicyRequesterFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComponentFactory, type IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import type { TrustComponentConfig } from "../models/config/trustComponentConfig.js";
|
|
4
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
5
|
+
/**
|
|
6
|
+
* Initialise the trust component.
|
|
7
|
+
* @param engineCore The engine core.
|
|
8
|
+
* @param context The context for the engine.
|
|
9
|
+
* @param instanceConfig The instance config.
|
|
10
|
+
* @returns The instance created and the factory for it.
|
|
11
|
+
*/
|
|
12
|
+
export declare function initialiseTrustComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustComponentConfig): Promise<{
|
|
13
|
+
instanceType?: string;
|
|
14
|
+
factory?: typeof ComponentFactory;
|
|
15
|
+
component?: IComponent;
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { TrustGeneratorFactory } from "@twin.org/trust-models";
|
|
4
|
+
import type { TrustGeneratorComponentConfig } from "../models/config/trustGeneratorComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the trust generator component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseTrustGeneratorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustGeneratorComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof TrustGeneratorFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IComponent } from "@twin.org/core";
|
|
2
|
+
import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { TrustVerifierFactory } from "@twin.org/trust-models";
|
|
4
|
+
import type { TrustVerifierComponentConfig } from "../models/config/trustVerifierComponentConfig.js";
|
|
5
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialise the trust verifier component.
|
|
8
|
+
* @param engineCore The engine core.
|
|
9
|
+
* @param context The context for the engine.
|
|
10
|
+
* @param instanceConfig The instance config.
|
|
11
|
+
* @returns The instance created and the factory for it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function initialiseTrustVerifierComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustVerifierComponentConfig): Promise<{
|
|
14
|
+
instanceType?: string;
|
|
15
|
+
factory?: typeof TrustVerifierFactory;
|
|
16
|
+
component?: IComponent;
|
|
17
|
+
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./components/auditableItemStream.js";
|
|
|
4
4
|
export * from "./components/authenticationGenerator.js";
|
|
5
5
|
export * from "./components/backgroundTask.js";
|
|
6
6
|
export * from "./components/blobStorage.js";
|
|
7
|
+
export * from "./components/contextIdHandler.js";
|
|
7
8
|
export * from "./components/dataProcessing.js";
|
|
8
9
|
export * from "./components/dataSpaceConnector.js";
|
|
9
10
|
export * from "./components/documentManagement.js";
|
|
@@ -11,6 +12,7 @@ export * from "./components/entityStorage.js";
|
|
|
11
12
|
export * from "./components/eventBus.js";
|
|
12
13
|
export * from "./components/faucet.js";
|
|
13
14
|
export * from "./components/federatedCatalogue.js";
|
|
15
|
+
export * from "./components/federatedCatalogueFilter.js";
|
|
14
16
|
export * from "./components/identity.js";
|
|
15
17
|
export * from "./components/identityProfile.js";
|
|
16
18
|
export * from "./components/identityResolver.js";
|
|
@@ -20,6 +22,7 @@ export * from "./components/messaging.js";
|
|
|
20
22
|
export * from "./components/nft.js";
|
|
21
23
|
export * from "./components/rightsManagementDap.js";
|
|
22
24
|
export * from "./components/rightsManagementDarp.js";
|
|
25
|
+
export * from "./components/rightsManagementDataAccessHandler.js";
|
|
23
26
|
export * from "./components/rightsManagementPap.js";
|
|
24
27
|
export * from "./components/rightsManagementPdp.js";
|
|
25
28
|
export * from "./components/rightsManagementPep.js";
|
|
@@ -27,11 +30,20 @@ export * from "./components/rightsManagementPip.js";
|
|
|
27
30
|
export * from "./components/rightsManagementPmp.js";
|
|
28
31
|
export * from "./components/rightsManagementPnap.js";
|
|
29
32
|
export * from "./components/rightsManagementPnp.js";
|
|
33
|
+
export * from "./components/rightsManagementPolicyArbiter.js";
|
|
34
|
+
export * from "./components/rightsManagementPolicyEnforcementProcessor.js";
|
|
35
|
+
export * from "./components/rightsManagementPolicyExecutionAction.js";
|
|
36
|
+
export * from "./components/rightsManagementPolicyInformationSource.js";
|
|
37
|
+
export * from "./components/rightsManagementPolicyNegotiator.js";
|
|
38
|
+
export * from "./components/rightsManagementPolicyRequester.js";
|
|
30
39
|
export * from "./components/rightsManagementPxp.js";
|
|
31
40
|
export * from "./components/synchronisedStorage.js";
|
|
32
41
|
export * from "./components/taskScheduler.js";
|
|
33
42
|
export * from "./components/telemetry.js";
|
|
34
43
|
export * from "./components/tenant.js";
|
|
44
|
+
export * from "./components/trust.js";
|
|
45
|
+
export * from "./components/trustGenerator.js";
|
|
46
|
+
export * from "./components/trustVerifier.js";
|
|
35
47
|
export * from "./components/vault.js";
|
|
36
48
|
export * from "./components/verifiableStorage.js";
|
|
37
49
|
export * from "./components/wallet.js";
|
|
@@ -40,9 +52,10 @@ export * from "./models/config/attestationConnectorConfig.js";
|
|
|
40
52
|
export * from "./models/config/auditableItemGraphComponentConfig.js";
|
|
41
53
|
export * from "./models/config/auditableItemStreamComponentConfig.js";
|
|
42
54
|
export * from "./models/config/authenticationGeneratorComponentConfig.js";
|
|
43
|
-
export * from "./models/config/
|
|
55
|
+
export * from "./models/config/backgroundTaskComponentConfig.js";
|
|
44
56
|
export * from "./models/config/blobStorageComponentConfig.js";
|
|
45
57
|
export * from "./models/config/blobStorageConnectorConfig.js";
|
|
58
|
+
export * from "./models/config/contextIdHandlerComponentConfig.js";
|
|
46
59
|
export * from "./models/config/dataConverterConnectorConfig.js";
|
|
47
60
|
export * from "./models/config/dataExtractorConnectorConfig.js";
|
|
48
61
|
export * from "./models/config/dataProcessingComponentConfig.js";
|
|
@@ -55,6 +68,7 @@ export * from "./models/config/eventBusComponentConfig.js";
|
|
|
55
68
|
export * from "./models/config/eventBusConnectorConfig.js";
|
|
56
69
|
export * from "./models/config/faucetConnectorConfig.js";
|
|
57
70
|
export * from "./models/config/federatedCatalogueComponentConfig.js";
|
|
71
|
+
export * from "./models/config/federatedCatalogueFilterComponentConfig.js";
|
|
58
72
|
export * from "./models/config/identityComponentConfig.js";
|
|
59
73
|
export * from "./models/config/identityConnectorConfig.js";
|
|
60
74
|
export * from "./models/config/identityProfileComponentConfig.js";
|
|
@@ -73,6 +87,7 @@ export * from "./models/config/nftComponentConfig.js";
|
|
|
73
87
|
export * from "./models/config/nftConnectorConfig.js";
|
|
74
88
|
export * from "./models/config/rightsManagementDapComponentConfig.js";
|
|
75
89
|
export * from "./models/config/rightsManagementDarpComponentConfig.js";
|
|
90
|
+
export * from "./models/config/rightsManagementDataAccessHandlerComponentConfig.js";
|
|
76
91
|
export * from "./models/config/rightsManagementPapComponentConfig.js";
|
|
77
92
|
export * from "./models/config/rightsManagementPdpComponentConfig.js";
|
|
78
93
|
export * from "./models/config/rightsManagementPepComponentConfig.js";
|
|
@@ -80,12 +95,21 @@ export * from "./models/config/rightsManagementPipComponentConfig.js";
|
|
|
80
95
|
export * from "./models/config/rightsManagementPmpComponentConfig.js";
|
|
81
96
|
export * from "./models/config/rightsManagementPnapComponentConfig.js";
|
|
82
97
|
export * from "./models/config/rightsManagementPnpComponentConfig.js";
|
|
98
|
+
export * from "./models/config/rightsManagementPolicyArbiterComponentConfig.js";
|
|
99
|
+
export * from "./models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
|
|
100
|
+
export * from "./models/config/rightsManagementPolicyExecutionActionComponentConfig.js";
|
|
101
|
+
export * from "./models/config/rightsManagementPolicyInformationSourceComponentConfig.js";
|
|
102
|
+
export * from "./models/config/rightsManagementPolicyNegotiatorComponentConfig.js";
|
|
103
|
+
export * from "./models/config/rightsManagementPolicyRequesterComponentConfig.js";
|
|
83
104
|
export * from "./models/config/rightsManagementPxpComponentConfig.js";
|
|
84
105
|
export * from "./models/config/synchronisedStorageComponentConfig.js";
|
|
85
106
|
export * from "./models/config/taskSchedulerComponentConfig.js";
|
|
86
107
|
export * from "./models/config/telemetryComponentConfig.js";
|
|
87
108
|
export * from "./models/config/telemetryConnectorConfig.js";
|
|
88
109
|
export * from "./models/config/tenantAdminComponentConfig.js";
|
|
110
|
+
export * from "./models/config/trustComponentConfig.js";
|
|
111
|
+
export * from "./models/config/trustGeneratorComponentConfig.js";
|
|
112
|
+
export * from "./models/config/trustVerifierComponentConfig.js";
|
|
89
113
|
export * from "./models/config/vaultConnectorConfig.js";
|
|
90
114
|
export * from "./models/config/verifiableStorageComponentConfig.js";
|
|
91
115
|
export * from "./models/config/verifiableStorageConnectorConfig.js";
|
|
@@ -96,9 +120,10 @@ export * from "./models/types/attestationConnectorType.js";
|
|
|
96
120
|
export * from "./models/types/auditableItemGraphComponentType.js";
|
|
97
121
|
export * from "./models/types/auditableItemStreamComponentType.js";
|
|
98
122
|
export * from "./models/types/authenticationGeneratorComponentType.js";
|
|
99
|
-
export * from "./models/types/
|
|
123
|
+
export * from "./models/types/backgroundTaskComponentType.js";
|
|
100
124
|
export * from "./models/types/blobStorageComponentType.js";
|
|
101
125
|
export * from "./models/types/blobStorageConnectorType.js";
|
|
126
|
+
export * from "./models/types/contextIdHandlerComponentType.js";
|
|
102
127
|
export * from "./models/types/dataConverterConnectorType.js";
|
|
103
128
|
export * from "./models/types/dataExtractorConnectorType.js";
|
|
104
129
|
export * from "./models/types/dataProcessingComponentType.js";
|
|
@@ -111,6 +136,7 @@ export * from "./models/types/eventBusComponentType.js";
|
|
|
111
136
|
export * from "./models/types/eventBusConnectorType.js";
|
|
112
137
|
export * from "./models/types/faucetConnectorType.js";
|
|
113
138
|
export * from "./models/types/federatedCatalogueComponentType.js";
|
|
139
|
+
export * from "./models/types/federatedCatalogueFilterComponentType.js";
|
|
114
140
|
export * from "./models/types/identityComponentType.js";
|
|
115
141
|
export * from "./models/types/identityConnectorType.js";
|
|
116
142
|
export * from "./models/types/identityProfileComponentType.js";
|
|
@@ -129,6 +155,7 @@ export * from "./models/types/nftComponentType.js";
|
|
|
129
155
|
export * from "./models/types/nftConnectorType.js";
|
|
130
156
|
export * from "./models/types/rightsManagementDapComponentType.js";
|
|
131
157
|
export * from "./models/types/rightsManagementDarpComponentType.js";
|
|
158
|
+
export * from "./models/types/rightsManagementDataAccessHandlerComponentType.js";
|
|
132
159
|
export * from "./models/types/rightsManagementPapComponentType.js";
|
|
133
160
|
export * from "./models/types/rightsManagementPdpComponentType.js";
|
|
134
161
|
export * from "./models/types/rightsManagementPepComponentType.js";
|
|
@@ -136,12 +163,21 @@ export * from "./models/types/rightsManagementPipComponentType.js";
|
|
|
136
163
|
export * from "./models/types/rightsManagementPmpComponentType.js";
|
|
137
164
|
export * from "./models/types/rightsManagementPnapComponentType.js";
|
|
138
165
|
export * from "./models/types/rightsManagementPnpComponentType.js";
|
|
166
|
+
export * from "./models/types/rightsManagementPolicyArbiterComponentType.js";
|
|
167
|
+
export * from "./models/types/rightsManagementPolicyEnforcementProcessorComponentType.js";
|
|
168
|
+
export * from "./models/types/rightsManagementPolicyExecutionActionComponentType.js";
|
|
169
|
+
export * from "./models/types/rightsManagementPolicyInformationSourceComponentType.js";
|
|
170
|
+
export * from "./models/types/rightsManagementPolicyNegotiatorComponentType.js";
|
|
171
|
+
export * from "./models/types/rightsManagementPolicyRequesterComponentType.js";
|
|
139
172
|
export * from "./models/types/rightsManagementPxpComponentType.js";
|
|
140
173
|
export * from "./models/types/synchronisedStorageComponentType.js";
|
|
141
174
|
export * from "./models/types/taskSchedulerComponentType.js";
|
|
142
175
|
export * from "./models/types/telemetryComponentType.js";
|
|
143
176
|
export * from "./models/types/telemetryConnectorType.js";
|
|
144
177
|
export * from "./models/types/tenantAdminComponentType.js";
|
|
178
|
+
export * from "./models/types/trustComponentType.js";
|
|
179
|
+
export * from "./models/types/trustGeneratorComponentType.js";
|
|
180
|
+
export * from "./models/types/trustVerifierComponentType.js";
|
|
145
181
|
export * from "./models/types/vaultConnectorType.js";
|
|
146
182
|
export * from "./models/types/verifiableStorageComponentType.js";
|
|
147
183
|
export * from "./models/types/verifiableStorageConnectorType.js";
|