@twin.org/standards-dublin-core 0.0.3-next.67 → 0.0.3-next.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/models/dublinCoreClasses.js +6 -6
- package/dist/es/models/dublinCoreClasses.js.map +1 -1
- package/dist/es/models/dublinCorePropertyType.js +3 -3
- package/dist/es/models/dublinCorePropertyType.js.map +1 -1
- package/dist/types/models/dublinCoreClasses.d.ts +7 -7
- package/dist/types/models/dublinCorePropertyType.d.ts +3 -3
- package/docs/changelog.md +7 -0
- package/docs/reference/type-aliases/DublinCoreClasses.md +1 -1
- package/docs/reference/variables/DublinCoreClasses.md +13 -4
- package/docs/reference/variables/DublinCorePropertyType.md +8 -2
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// Copyright 2024 IOTA Stiftung.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0.
|
|
3
3
|
/**
|
|
4
|
-
* Dublin Core
|
|
5
|
-
*
|
|
4
|
+
* Dublin Core DCMI type class identifiers.
|
|
5
|
+
* @see http://purl.org/dc/dcmitype
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
8
|
export const DublinCoreClasses = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
|
|
10
|
+
* A collection of resources.
|
|
11
|
+
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
|
|
12
12
|
*/
|
|
13
13
|
Collection: "Collection",
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
15
|
+
* An interval of time named or defined by its start and end dates.
|
|
16
|
+
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
17
17
|
*/
|
|
18
18
|
PeriodOfTime: "PeriodOfTime"
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dublinCoreClasses.js","sourceRoot":"","sources":["../../../src/models/dublinCoreClasses.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,YAAY,EAAE,cAAc;CACnB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Dublin Core
|
|
1
|
+
{"version":3,"file":"dublinCoreClasses.js","sourceRoot":"","sources":["../../../src/models/dublinCoreClasses.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,YAAY,EAAE,cAAc;CACnB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Dublin Core DCMI type class identifiers.\n * @see http://purl.org/dc/dcmitype\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DublinCoreClasses = {\n\t/**\n\t * A collection of resources.\n\t * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection\n\t */\n\tCollection: \"Collection\",\n\n\t/**\n\t * An interval of time named or defined by its start and end dates.\n\t * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime\n\t */\n\tPeriodOfTime: \"PeriodOfTime\"\n} as const;\n\n/**\n * Union of all Dublin Core class identifier values.\n */\nexport type DublinCoreClasses = (typeof DublinCoreClasses)[keyof typeof DublinCoreClasses];\n"]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0.
|
|
3
3
|
/**
|
|
4
4
|
* Common Dublin Core property types for ODRL Policy Metadata.
|
|
5
|
-
*
|
|
5
|
+
* @see http://purl.org/dc/terms/
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
8
|
export const DublinCorePropertyType = {
|
|
@@ -53,8 +53,8 @@ export const DublinCorePropertyType = {
|
|
|
53
53
|
*/
|
|
54
54
|
IsReplacedBy: "isReplacedBy",
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
57
|
-
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
|
|
56
|
+
* A related resource that is included either physically or logically in the described resource.
|
|
57
|
+
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
|
|
58
58
|
*/
|
|
59
59
|
HasPart: "hasPart"
|
|
60
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dublinCorePropertyType.js","sourceRoot":"","sources":["../../../src/models/dublinCorePropertyType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACrC;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,WAAW,EAAE,aAAa;IAE1B;;;OAGG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;;OAIG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,YAAY,EAAE,cAAc;IAE5B;;;OAGG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Common Dublin Core property types for ODRL Policy Metadata.\n *
|
|
1
|
+
{"version":3,"file":"dublinCorePropertyType.js","sourceRoot":"","sources":["../../../src/models/dublinCorePropertyType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACrC;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,WAAW,EAAE,aAAa;IAE1B;;;OAGG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;;OAIG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,YAAY,EAAE,cAAc;IAE5B;;;OAGG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Common Dublin Core property types for ODRL Policy Metadata.\n * @see http://purl.org/dc/terms/\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DublinCorePropertyType = {\n\t/**\n\t * The individual, agent, or organisation that authored the Policy.\n\t * Note: String values may not be normalized and should not be used for direct comparison.\n\t */\n\tCreator: \"creator\",\n\n\t/**\n\t * A human-readable representation or summary of the Policy.\n\t * Note: String values may not be normalized and should not be used for direct comparison.\n\t */\n\tDescription: \"description\",\n\n\t/**\n\t * The date (and time) the Policy was first issued.\n\t * Note: String values may not be normalized and should not be used for direct comparison.\n\t */\n\tIssued: \"issued\",\n\n\t/**\n\t * The date (and time) the Policy was updated.\n\t * Note: String values may not be normalized and should not be used for direct comparison.\n\t */\n\tModified: \"modified\",\n\n\t/**\n\t * The publisher of the Policy.\n\t * Note: String values may not be normalized and should not be used for direct comparison.\n\t */\n\tPublisher: \"publisher\",\n\n\t/**\n\t * The subject of the Policy.\n\t * Note: String values may not be normalized and should not be used for direct comparison.\n\t */\n\tSubject: \"subject\",\n\n\t/**\n\t * The jurisdiction under which the Policy is relevant.\n\t * Note: When using string values, they may not be normalized and should not be used for direct comparison.\n\t * Using \"@id\" references is preferred for comparison purposes.\n\t */\n\tCoverage: \"coverage\",\n\n\t/**\n\t * The identifier of a Policy that this Policy supersedes.\n\t * Using \"@id\" references is preferred for comparison purposes.\n\t */\n\tReplaces: \"replaces\",\n\n\t/**\n\t * The identifier of a Policy that supersedes this Policy.\n\t * Using \"@id\" references is preferred for comparison purposes.\n\t */\n\tIsReplacedBy: \"isReplacedBy\",\n\n\t/**\n\t * A related resource that is included either physically or logically in the described resource.\n\t * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart\n\t */\n\tHasPart: \"hasPart\"\n} as const;\n\n/**\n * Common Dublin Core property types.\n */\nexport type DublinCorePropertyType =\n\t(typeof DublinCorePropertyType)[keyof typeof DublinCorePropertyType];\n"]}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Dublin Core
|
|
3
|
-
*
|
|
2
|
+
* Dublin Core DCMI type class identifiers.
|
|
3
|
+
* @see http://purl.org/dc/dcmitype
|
|
4
4
|
*/
|
|
5
5
|
export declare const DublinCoreClasses: {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
|
|
7
|
+
* A collection of resources.
|
|
8
|
+
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
|
|
9
9
|
*/
|
|
10
10
|
readonly Collection: "Collection";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
12
|
+
* An interval of time named or defined by its start and end dates.
|
|
13
|
+
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
14
14
|
*/
|
|
15
15
|
readonly PeriodOfTime: "PeriodOfTime";
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
|
-
* Dublin Core
|
|
18
|
+
* Union of all Dublin Core class identifier values.
|
|
19
19
|
*/
|
|
20
20
|
export type DublinCoreClasses = (typeof DublinCoreClasses)[keyof typeof DublinCoreClasses];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Common Dublin Core property types for ODRL Policy Metadata.
|
|
3
|
-
*
|
|
3
|
+
* @see http://purl.org/dc/terms/
|
|
4
4
|
*/
|
|
5
5
|
export declare const DublinCorePropertyType: {
|
|
6
6
|
/**
|
|
@@ -50,8 +50,8 @@ export declare const DublinCorePropertyType: {
|
|
|
50
50
|
*/
|
|
51
51
|
readonly IsReplacedBy: "isReplacedBy";
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
54
|
-
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
|
|
53
|
+
* A related resource that is included either physically or logically in the described resource.
|
|
54
|
+
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
|
|
55
55
|
*/
|
|
56
56
|
readonly HasPart: "hasPart";
|
|
57
57
|
};
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.68](https://github.com/iotaledger/twin-standards/compare/standards-dublin-core-v0.0.3-next.67...standards-dublin-core-v0.0.3-next.68) (2026-06-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
9
|
+
|
|
3
10
|
## [0.0.3-next.67](https://github.com/iotaledger/twin-standards/compare/standards-dublin-core-v0.0.3-next.66...standards-dublin-core-v0.0.3-next.67) (2026-06-12)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> `const` **DublinCoreClasses**: `object`
|
|
4
4
|
|
|
5
|
-
Dublin Core
|
|
6
|
-
Based on http://purl.org/dc/dcmitype
|
|
5
|
+
Dublin Core DCMI type class identifiers.
|
|
7
6
|
|
|
8
7
|
## Type Declaration
|
|
9
8
|
|
|
@@ -11,12 +10,22 @@ Based on http://purl.org/dc/dcmitype
|
|
|
11
10
|
|
|
12
11
|
> `readonly` **Collection**: `"Collection"` = `"Collection"`
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
A collection of resources.
|
|
14
|
+
|
|
15
|
+
#### See
|
|
16
|
+
|
|
15
17
|
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
|
|
16
18
|
|
|
17
19
|
### PeriodOfTime {#periodoftime}
|
|
18
20
|
|
|
19
21
|
> `readonly` **PeriodOfTime**: `"PeriodOfTime"` = `"PeriodOfTime"`
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
An interval of time named or defined by its start and end dates.
|
|
24
|
+
|
|
25
|
+
#### See
|
|
26
|
+
|
|
22
27
|
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
28
|
+
|
|
29
|
+
## See
|
|
30
|
+
|
|
31
|
+
http://purl.org/dc/dcmitype
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
> `const` **DublinCorePropertyType**: `object`
|
|
4
4
|
|
|
5
5
|
Common Dublin Core property types for ODRL Policy Metadata.
|
|
6
|
-
Based on http://purl.org/dc/terms/
|
|
7
6
|
|
|
8
7
|
## Type Declaration
|
|
9
8
|
|
|
@@ -75,5 +74,12 @@ Using "@id" references is preferred for comparison purposes.
|
|
|
75
74
|
|
|
76
75
|
> `readonly` **HasPart**: `"hasPart"` = `"hasPart"`
|
|
77
76
|
|
|
78
|
-
|
|
77
|
+
A related resource that is included either physically or logically in the described resource.
|
|
78
|
+
|
|
79
|
+
#### See
|
|
80
|
+
|
|
79
81
|
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
|
|
82
|
+
|
|
83
|
+
## See
|
|
84
|
+
|
|
85
|
+
http://purl.org/dc/terms/
|