@twin.org/federated-catalogue-models 0.0.2-next.1 → 0.0.2-next.3
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/cjs/index.cjs +87 -88
- package/dist/esm/index.mjs +87 -88
- package/dist/types/index.d.ts +26 -26
- package/docs/changelog.md +14 -0
- package/docs/reference/classes/FederatedCatalogueContextInstances.md +1 -1
- package/docs/reference/interfaces/IComplianceEvidence.md +1 -1
- package/docs/reference/interfaces/ICredential.md +2 -2
- package/docs/reference/interfaces/IDataResourceEntry.md +1 -1
- package/docs/reference/interfaces/IDataSpaceConnector.md +2 -2
- package/docs/reference/interfaces/IDataSpaceConnectorEntry.md +1 -1
- package/docs/reference/interfaces/IFederatedCatalogueGetRequest.md +3 -3
- package/docs/reference/interfaces/IParticipantEntry.md +1 -1
- package/docs/reference/interfaces/IServiceOfferingEntry.md +1 -1
- package/docs/reference/variables/FederatedCatalogueContexts.md +1 -1
- package/docs/reference/variables/FederatedCatalogueTypes.md +1 -1
- package/docs/reference/variables/VerificationFailureReasons.md +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var dataCore = require('@twin.org/data-core');
|
|
3
4
|
var standardsGaiaX = require('@twin.org/standards-gaia-x');
|
|
4
5
|
var standardsSchemaOrg = require('@twin.org/standards-schema-org');
|
|
5
|
-
|
|
6
|
+
|
|
7
|
+
// Copyright 2024 IOTA Stiftung.
|
|
8
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
9
|
+
/**
|
|
10
|
+
* The LD context concerning the Federated Catalogue.
|
|
11
|
+
*/
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13
|
+
const FederatedCatalogueContexts = {
|
|
14
|
+
/**
|
|
15
|
+
* The context root for the federated catalogue types.
|
|
16
|
+
*/
|
|
17
|
+
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
18
|
+
};
|
|
6
19
|
|
|
7
20
|
// Copyright 2024 IOTA Stiftung.
|
|
8
21
|
// SPDX-License-Identifier: Apache-2.0.
|
|
@@ -57,93 +70,6 @@ const FederatedCatalogueTypes = {
|
|
|
57
70
|
ServiceOfferingList: "ServiceOfferingList"
|
|
58
71
|
};
|
|
59
72
|
|
|
60
|
-
// Copyright 2024 IOTA Stiftung.
|
|
61
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
62
|
-
/**
|
|
63
|
-
* The LD context concerning the Federated Catalogue.
|
|
64
|
-
*/
|
|
65
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
66
|
-
const FederatedCatalogueContexts = {
|
|
67
|
-
/**
|
|
68
|
-
* The context root for the federated catalogue types.
|
|
69
|
-
*/
|
|
70
|
-
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// Copyright 2024 IOTA Stiftung.
|
|
74
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
75
|
-
/**
|
|
76
|
-
* The LD context instances concerning the Federated Catalogue.
|
|
77
|
-
*/
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
79
|
-
class FederatedCatalogueContextInstances {
|
|
80
|
-
/**
|
|
81
|
-
* The LD Context of a list of Catalogue entries.
|
|
82
|
-
*/
|
|
83
|
-
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
84
|
-
standardsSchemaOrg.SchemaOrgContexts.ContextRoot,
|
|
85
|
-
standardsGaiaX.GaiaXContexts.ContextRoot,
|
|
86
|
-
FederatedCatalogueContexts.ContextRoot
|
|
87
|
-
];
|
|
88
|
-
/**
|
|
89
|
-
* The LD Context of a Catalogue entry.
|
|
90
|
-
*/
|
|
91
|
-
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Copyright 2024 IOTA Stiftung.
|
|
95
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
96
|
-
/**
|
|
97
|
-
* The verification failure reasons.
|
|
98
|
-
*/
|
|
99
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
100
|
-
const VerificationFailureReasons = {
|
|
101
|
-
/**
|
|
102
|
-
* Credential type is invalid.
|
|
103
|
-
*/
|
|
104
|
-
InvalidCredentialType: "invalidCredentialType",
|
|
105
|
-
/**
|
|
106
|
-
* The issuer is invalid.
|
|
107
|
-
*/
|
|
108
|
-
InvalidIssuer: "invalidIssuer",
|
|
109
|
-
/**
|
|
110
|
-
* Credential is not valid yet.
|
|
111
|
-
*/
|
|
112
|
-
NotValidYet: "notValidYet",
|
|
113
|
-
/**
|
|
114
|
-
* Credential ahs expired.
|
|
115
|
-
*/
|
|
116
|
-
Expired: "expired",
|
|
117
|
-
/**
|
|
118
|
-
* Credential's evidence cannot be verified.
|
|
119
|
-
*/
|
|
120
|
-
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
121
|
-
/**
|
|
122
|
-
* Credential has no expiration.
|
|
123
|
-
*/
|
|
124
|
-
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
125
|
-
/**
|
|
126
|
-
* Credential's subject is missing.
|
|
127
|
-
*/
|
|
128
|
-
MissingSubject: "missingSubject",
|
|
129
|
-
/**
|
|
130
|
-
* Credential's evidences are missing.
|
|
131
|
-
*/
|
|
132
|
-
MissingEvidences: "missingEvidences",
|
|
133
|
-
/**
|
|
134
|
-
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
135
|
-
*/
|
|
136
|
-
GeneralVerificationError: "generalVerificationError",
|
|
137
|
-
/**
|
|
138
|
-
* Credential's integrity check has failed
|
|
139
|
-
*/
|
|
140
|
-
IntegrityCheckFailed: "integrityCheckFailed",
|
|
141
|
-
/**
|
|
142
|
-
* Credential's Evidence cannot be retrieved.
|
|
143
|
-
*/
|
|
144
|
-
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
145
|
-
};
|
|
146
|
-
|
|
147
73
|
var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
|
|
148
74
|
var $id$7 = "https://schema.twindev.org/federated-catalogue/DataResourceEntry";
|
|
149
75
|
var description$7 = "Interface describing a Data Resource entry.";
|
|
@@ -1447,6 +1373,79 @@ class FederatedCatalogueDataTypes {
|
|
|
1447
1373
|
}
|
|
1448
1374
|
}
|
|
1449
1375
|
|
|
1376
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1377
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1378
|
+
/**
|
|
1379
|
+
* The LD context instances concerning the Federated Catalogue.
|
|
1380
|
+
*/
|
|
1381
|
+
class FederatedCatalogueContextInstances {
|
|
1382
|
+
/**
|
|
1383
|
+
* The LD Context of a list of Catalogue entries.
|
|
1384
|
+
*/
|
|
1385
|
+
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
1386
|
+
standardsSchemaOrg.SchemaOrgContexts.ContextRoot,
|
|
1387
|
+
standardsGaiaX.GaiaXContexts.ContextRoot,
|
|
1388
|
+
FederatedCatalogueContexts.ContextRoot
|
|
1389
|
+
];
|
|
1390
|
+
/**
|
|
1391
|
+
* The LD Context of a Catalogue entry.
|
|
1392
|
+
*/
|
|
1393
|
+
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1397
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1398
|
+
/**
|
|
1399
|
+
* The verification failure reasons.
|
|
1400
|
+
*/
|
|
1401
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1402
|
+
const VerificationFailureReasons = {
|
|
1403
|
+
/**
|
|
1404
|
+
* Credential type is invalid.
|
|
1405
|
+
*/
|
|
1406
|
+
InvalidCredentialType: "invalidCredentialType",
|
|
1407
|
+
/**
|
|
1408
|
+
* The issuer is invalid.
|
|
1409
|
+
*/
|
|
1410
|
+
InvalidIssuer: "invalidIssuer",
|
|
1411
|
+
/**
|
|
1412
|
+
* Credential is not valid yet.
|
|
1413
|
+
*/
|
|
1414
|
+
NotValidYet: "notValidYet",
|
|
1415
|
+
/**
|
|
1416
|
+
* Credential ahs expired.
|
|
1417
|
+
*/
|
|
1418
|
+
Expired: "expired",
|
|
1419
|
+
/**
|
|
1420
|
+
* Credential's evidence cannot be verified.
|
|
1421
|
+
*/
|
|
1422
|
+
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
1423
|
+
/**
|
|
1424
|
+
* Credential has no expiration.
|
|
1425
|
+
*/
|
|
1426
|
+
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
1427
|
+
/**
|
|
1428
|
+
* Credential's subject is missing.
|
|
1429
|
+
*/
|
|
1430
|
+
MissingSubject: "missingSubject",
|
|
1431
|
+
/**
|
|
1432
|
+
* Credential's evidences are missing.
|
|
1433
|
+
*/
|
|
1434
|
+
MissingEvidences: "missingEvidences",
|
|
1435
|
+
/**
|
|
1436
|
+
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
1437
|
+
*/
|
|
1438
|
+
GeneralVerificationError: "generalVerificationError",
|
|
1439
|
+
/**
|
|
1440
|
+
* Credential's integrity check has failed
|
|
1441
|
+
*/
|
|
1442
|
+
IntegrityCheckFailed: "integrityCheckFailed",
|
|
1443
|
+
/**
|
|
1444
|
+
* Credential's Evidence cannot be retrieved.
|
|
1445
|
+
*/
|
|
1446
|
+
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
1447
|
+
};
|
|
1448
|
+
|
|
1450
1449
|
exports.FederatedCatalogueContextInstances = FederatedCatalogueContextInstances;
|
|
1451
1450
|
exports.FederatedCatalogueContexts = FederatedCatalogueContexts;
|
|
1452
1451
|
exports.FederatedCatalogueDataTypes = FederatedCatalogueDataTypes;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
import { DataTypeHandlerFactory } from '@twin.org/data-core';
|
|
1
2
|
import { GaiaXContexts } from '@twin.org/standards-gaia-x';
|
|
2
3
|
import { SchemaOrgContexts } from '@twin.org/standards-schema-org';
|
|
3
|
-
|
|
4
|
+
|
|
5
|
+
// Copyright 2024 IOTA Stiftung.
|
|
6
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
7
|
+
/**
|
|
8
|
+
* The LD context concerning the Federated Catalogue.
|
|
9
|
+
*/
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11
|
+
const FederatedCatalogueContexts = {
|
|
12
|
+
/**
|
|
13
|
+
* The context root for the federated catalogue types.
|
|
14
|
+
*/
|
|
15
|
+
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
16
|
+
};
|
|
4
17
|
|
|
5
18
|
// Copyright 2024 IOTA Stiftung.
|
|
6
19
|
// SPDX-License-Identifier: Apache-2.0.
|
|
@@ -55,93 +68,6 @@ const FederatedCatalogueTypes = {
|
|
|
55
68
|
ServiceOfferingList: "ServiceOfferingList"
|
|
56
69
|
};
|
|
57
70
|
|
|
58
|
-
// Copyright 2024 IOTA Stiftung.
|
|
59
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
60
|
-
/**
|
|
61
|
-
* The LD context concerning the Federated Catalogue.
|
|
62
|
-
*/
|
|
63
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
64
|
-
const FederatedCatalogueContexts = {
|
|
65
|
-
/**
|
|
66
|
-
* The context root for the federated catalogue types.
|
|
67
|
-
*/
|
|
68
|
-
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
// Copyright 2024 IOTA Stiftung.
|
|
72
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
73
|
-
/**
|
|
74
|
-
* The LD context instances concerning the Federated Catalogue.
|
|
75
|
-
*/
|
|
76
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
77
|
-
class FederatedCatalogueContextInstances {
|
|
78
|
-
/**
|
|
79
|
-
* The LD Context of a list of Catalogue entries.
|
|
80
|
-
*/
|
|
81
|
-
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
82
|
-
SchemaOrgContexts.ContextRoot,
|
|
83
|
-
GaiaXContexts.ContextRoot,
|
|
84
|
-
FederatedCatalogueContexts.ContextRoot
|
|
85
|
-
];
|
|
86
|
-
/**
|
|
87
|
-
* The LD Context of a Catalogue entry.
|
|
88
|
-
*/
|
|
89
|
-
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Copyright 2024 IOTA Stiftung.
|
|
93
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
94
|
-
/**
|
|
95
|
-
* The verification failure reasons.
|
|
96
|
-
*/
|
|
97
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
98
|
-
const VerificationFailureReasons = {
|
|
99
|
-
/**
|
|
100
|
-
* Credential type is invalid.
|
|
101
|
-
*/
|
|
102
|
-
InvalidCredentialType: "invalidCredentialType",
|
|
103
|
-
/**
|
|
104
|
-
* The issuer is invalid.
|
|
105
|
-
*/
|
|
106
|
-
InvalidIssuer: "invalidIssuer",
|
|
107
|
-
/**
|
|
108
|
-
* Credential is not valid yet.
|
|
109
|
-
*/
|
|
110
|
-
NotValidYet: "notValidYet",
|
|
111
|
-
/**
|
|
112
|
-
* Credential ahs expired.
|
|
113
|
-
*/
|
|
114
|
-
Expired: "expired",
|
|
115
|
-
/**
|
|
116
|
-
* Credential's evidence cannot be verified.
|
|
117
|
-
*/
|
|
118
|
-
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
119
|
-
/**
|
|
120
|
-
* Credential has no expiration.
|
|
121
|
-
*/
|
|
122
|
-
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
123
|
-
/**
|
|
124
|
-
* Credential's subject is missing.
|
|
125
|
-
*/
|
|
126
|
-
MissingSubject: "missingSubject",
|
|
127
|
-
/**
|
|
128
|
-
* Credential's evidences are missing.
|
|
129
|
-
*/
|
|
130
|
-
MissingEvidences: "missingEvidences",
|
|
131
|
-
/**
|
|
132
|
-
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
133
|
-
*/
|
|
134
|
-
GeneralVerificationError: "generalVerificationError",
|
|
135
|
-
/**
|
|
136
|
-
* Credential's integrity check has failed
|
|
137
|
-
*/
|
|
138
|
-
IntegrityCheckFailed: "integrityCheckFailed",
|
|
139
|
-
/**
|
|
140
|
-
* Credential's Evidence cannot be retrieved.
|
|
141
|
-
*/
|
|
142
|
-
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
143
|
-
};
|
|
144
|
-
|
|
145
71
|
var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
|
|
146
72
|
var $id$7 = "https://schema.twindev.org/federated-catalogue/DataResourceEntry";
|
|
147
73
|
var description$7 = "Interface describing a Data Resource entry.";
|
|
@@ -1445,4 +1371,77 @@ class FederatedCatalogueDataTypes {
|
|
|
1445
1371
|
}
|
|
1446
1372
|
}
|
|
1447
1373
|
|
|
1374
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1375
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1376
|
+
/**
|
|
1377
|
+
* The LD context instances concerning the Federated Catalogue.
|
|
1378
|
+
*/
|
|
1379
|
+
class FederatedCatalogueContextInstances {
|
|
1380
|
+
/**
|
|
1381
|
+
* The LD Context of a list of Catalogue entries.
|
|
1382
|
+
*/
|
|
1383
|
+
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
1384
|
+
SchemaOrgContexts.ContextRoot,
|
|
1385
|
+
GaiaXContexts.ContextRoot,
|
|
1386
|
+
FederatedCatalogueContexts.ContextRoot
|
|
1387
|
+
];
|
|
1388
|
+
/**
|
|
1389
|
+
* The LD Context of a Catalogue entry.
|
|
1390
|
+
*/
|
|
1391
|
+
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1395
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1396
|
+
/**
|
|
1397
|
+
* The verification failure reasons.
|
|
1398
|
+
*/
|
|
1399
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1400
|
+
const VerificationFailureReasons = {
|
|
1401
|
+
/**
|
|
1402
|
+
* Credential type is invalid.
|
|
1403
|
+
*/
|
|
1404
|
+
InvalidCredentialType: "invalidCredentialType",
|
|
1405
|
+
/**
|
|
1406
|
+
* The issuer is invalid.
|
|
1407
|
+
*/
|
|
1408
|
+
InvalidIssuer: "invalidIssuer",
|
|
1409
|
+
/**
|
|
1410
|
+
* Credential is not valid yet.
|
|
1411
|
+
*/
|
|
1412
|
+
NotValidYet: "notValidYet",
|
|
1413
|
+
/**
|
|
1414
|
+
* Credential ahs expired.
|
|
1415
|
+
*/
|
|
1416
|
+
Expired: "expired",
|
|
1417
|
+
/**
|
|
1418
|
+
* Credential's evidence cannot be verified.
|
|
1419
|
+
*/
|
|
1420
|
+
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
1421
|
+
/**
|
|
1422
|
+
* Credential has no expiration.
|
|
1423
|
+
*/
|
|
1424
|
+
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
1425
|
+
/**
|
|
1426
|
+
* Credential's subject is missing.
|
|
1427
|
+
*/
|
|
1428
|
+
MissingSubject: "missingSubject",
|
|
1429
|
+
/**
|
|
1430
|
+
* Credential's evidences are missing.
|
|
1431
|
+
*/
|
|
1432
|
+
MissingEvidences: "missingEvidences",
|
|
1433
|
+
/**
|
|
1434
|
+
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
1435
|
+
*/
|
|
1436
|
+
GeneralVerificationError: "generalVerificationError",
|
|
1437
|
+
/**
|
|
1438
|
+
* Credential's integrity check has failed
|
|
1439
|
+
*/
|
|
1440
|
+
IntegrityCheckFailed: "integrityCheckFailed",
|
|
1441
|
+
/**
|
|
1442
|
+
* Credential's Evidence cannot be retrieved.
|
|
1443
|
+
*/
|
|
1444
|
+
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1448
1447
|
export { FederatedCatalogueContextInstances, FederatedCatalogueContexts, FederatedCatalogueDataTypes, FederatedCatalogueTypes, VerificationFailureReasons };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./dataTypes/federatedCatalogueDataTypes";
|
|
2
|
+
export * from "./models/api/ICatalogueEntryGetRequest";
|
|
2
3
|
export * from "./models/api/ICompliancePresentationRequest";
|
|
3
|
-
export * from "./models/api/
|
|
4
|
-
export * from "./models/api/IServiceOfferingListRequest";
|
|
4
|
+
export * from "./models/api/IDataResourceGetResponse";
|
|
5
5
|
export * from "./models/api/IDataResourceListRequest";
|
|
6
|
-
export * from "./models/api/IParticipantListResponse";
|
|
7
|
-
export * from "./models/api/IServiceOfferingListResponse";
|
|
8
6
|
export * from "./models/api/IDataResourceListResponse";
|
|
9
|
-
export * from "./models/api/ICatalogueEntryGetRequest";
|
|
10
|
-
export * from "./models/api/IParticipantGetResponse";
|
|
11
|
-
export * from "./models/api/IServiceOfferingGetResponse";
|
|
12
|
-
export * from "./models/api/IDataResourceGetResponse";
|
|
13
7
|
export * from "./models/api/IDataSpaceConnectorGetResponse";
|
|
14
8
|
export * from "./models/api/IDataSpaceConnectorListRequest";
|
|
15
9
|
export * from "./models/api/IDataSpaceConnectorListResponse";
|
|
16
|
-
export * from "./models/
|
|
17
|
-
export * from "./models/
|
|
18
|
-
export * from "./models/
|
|
10
|
+
export * from "./models/api/IFederatedCatalogueGetRequest";
|
|
11
|
+
export * from "./models/api/IParticipantGetResponse";
|
|
12
|
+
export * from "./models/api/IParticipantListRequest";
|
|
13
|
+
export * from "./models/api/IParticipantListResponse";
|
|
14
|
+
export * from "./models/api/IServiceOfferingGetResponse";
|
|
15
|
+
export * from "./models/api/IServiceOfferingListRequest";
|
|
16
|
+
export * from "./models/api/IServiceOfferingListResponse";
|
|
17
|
+
export * from "./models/data-resource/IDataResourceCredential";
|
|
19
18
|
export * from "./models/data-resource/IDataResourceEntry";
|
|
20
19
|
export * from "./models/data-resource/IDataResourceList";
|
|
21
|
-
export * from "./models/data-resource/IDataResourceCredential";
|
|
22
|
-
export * from "./models/service-offering/IServiceOfferingEntry";
|
|
23
|
-
export * from "./models/service-offering/IServiceOfferingList";
|
|
24
|
-
export * from "./models/service-offering/IServiceOfferingCredential";
|
|
25
20
|
export * from "./models/data-space-connector/IDataSpaceConnector";
|
|
21
|
+
export * from "./models/data-space-connector/IDataSpaceConnectorCredential";
|
|
26
22
|
export * from "./models/data-space-connector/IDataSpaceConnectorEntry";
|
|
27
23
|
export * from "./models/data-space-connector/IDataSpaceConnectorList";
|
|
28
|
-
export * from "./models/
|
|
29
|
-
export * from "./models/
|
|
24
|
+
export * from "./models/federatedCatalogueContextInstances";
|
|
25
|
+
export * from "./models/federatedCatalogueContexts";
|
|
26
|
+
export * from "./models/federatedCatalogueContextType";
|
|
27
|
+
export * from "./models/federatedCatalogueEntryType";
|
|
28
|
+
export * from "./models/federatedCatalogueTypes";
|
|
29
|
+
export * from "./models/ICatalogueEntry";
|
|
30
30
|
export * from "./models/IComplianceCredential";
|
|
31
31
|
export * from "./models/IComplianceEvidence";
|
|
32
|
-
export * from "./models/IVerificationResult";
|
|
33
32
|
export * from "./models/IComplianceVerificationResult";
|
|
34
|
-
export * from "./models/federatedCatalogueTypes";
|
|
35
|
-
export * from "./models/federatedCatalogueContexts";
|
|
36
|
-
export * from "./models/federatedCatalogueContextInstances";
|
|
37
33
|
export * from "./models/ICredential";
|
|
34
|
+
export * from "./models/IFederatedCatalogueComponent";
|
|
35
|
+
export * from "./models/IVerificationResult";
|
|
36
|
+
export * from "./models/participant/IParticipantCredential";
|
|
37
|
+
export * from "./models/participant/IParticipantEntry";
|
|
38
|
+
export * from "./models/participant/IParticipantList";
|
|
39
|
+
export * from "./models/service-offering/IServiceOfferingCredential";
|
|
40
|
+
export * from "./models/service-offering/IServiceOfferingEntry";
|
|
41
|
+
export * from "./models/service-offering/IServiceOfferingList";
|
|
38
42
|
export * from "./models/verificationFailureReasons";
|
|
39
|
-
export * from "./models/federatedCatalogueContextType";
|
|
40
|
-
export * from "./models/federatedCatalogueEntryType";
|
|
41
|
-
export * from "./dataTypes/federatedCatalogueDataTypes";
|
|
42
|
-
export * from "./models/ICatalogueEntry";
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/federated-catalogue-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.2...federated-catalogue-models-v0.0.2-next.3) (2025-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* eslint migration to flat config ([b5990d9](https://github.com/twinfoundation/federated-catalogue/commit/b5990d9ebdf403ac999da456052bee72787745de))
|
|
9
|
+
|
|
10
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.1...federated-catalogue-models-v0.0.2-next.2) (2025-08-21)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* update framework core ([68293b6](https://github.com/twinfoundation/federated-catalogue/commit/68293b68aaf594d51431b942fa91e7cf7020a8d7))
|
|
16
|
+
|
|
3
17
|
## [0.0.2-next.1](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.0...federated-catalogue-models-v0.0.2-next.1) (2025-07-15)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -8,7 +8,7 @@ Compliance Evidence.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -8,11 +8,11 @@ A credential with subject.
|
|
|
8
8
|
|
|
9
9
|
## Extended by
|
|
10
10
|
|
|
11
|
-
- [`IParticipantCredential`](IParticipantCredential.md)
|
|
12
11
|
- [`IDataResourceCredential`](IDataResourceCredential.md)
|
|
13
|
-
- [`IServiceOfferingCredential`](IServiceOfferingCredential.md)
|
|
14
12
|
- [`IDataSpaceConnectorCredential`](IDataSpaceConnectorCredential.md)
|
|
15
13
|
- [`IComplianceCredential`](IComplianceCredential.md)
|
|
14
|
+
- [`IParticipantCredential`](IParticipantCredential.md)
|
|
15
|
+
- [`IServiceOfferingCredential`](IServiceOfferingCredential.md)
|
|
16
16
|
|
|
17
17
|
## Properties
|
|
18
18
|
|
|
@@ -8,7 +8,7 @@ Interface describing a Data Resource entry.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -12,7 +12,7 @@ TWIN Data Space Connector.
|
|
|
12
12
|
|
|
13
13
|
## Indexable
|
|
14
14
|
|
|
15
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
15
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
16
16
|
|
|
17
17
|
## Properties
|
|
18
18
|
|
|
@@ -121,7 +121,7 @@ default endpoint URL as a base URL.
|
|
|
121
121
|
|
|
122
122
|
### offeredResource
|
|
123
123
|
|
|
124
|
-
> **offeredResource**: `string`[] \| \{[`resourceId`: `string
|
|
124
|
+
> **offeredResource**: `string`[] \| \{\[`resourceId`: `string`\]: `IDataResource` \| `IJsonLdNodeObject` & `object`; \}
|
|
125
125
|
|
|
126
126
|
The resources offered by this Connector.
|
|
127
127
|
A resource index is usually a relative reference to the default endpoint base URL.
|
|
@@ -8,7 +8,7 @@ Interface describing a participant.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -4,11 +4,11 @@ Base interface for Federated Catalogue Get Requests
|
|
|
4
4
|
|
|
5
5
|
## Extended by
|
|
6
6
|
|
|
7
|
-
- [`IParticipantListRequest`](IParticipantListRequest.md)
|
|
8
|
-
- [`IServiceOfferingListRequest`](IServiceOfferingListRequest.md)
|
|
9
|
-
- [`IDataResourceListRequest`](IDataResourceListRequest.md)
|
|
10
7
|
- [`ICatalogueEntryGetRequest`](ICatalogueEntryGetRequest.md)
|
|
8
|
+
- [`IDataResourceListRequest`](IDataResourceListRequest.md)
|
|
11
9
|
- [`IDataSpaceConnectorListRequest`](IDataSpaceConnectorListRequest.md)
|
|
10
|
+
- [`IParticipantListRequest`](IParticipantListRequest.md)
|
|
11
|
+
- [`IServiceOfferingListRequest`](IServiceOfferingListRequest.md)
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Interface describing a participant.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Interface describing a Service Offering.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|