@twin.org/standards-dublin-core 0.0.1-next.34 → 0.0.1-next.36

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.
@@ -67,8 +67,29 @@ const DublinCorePropertyType = {
67
67
  * The identifier of a Policy that supersedes this Policy.
68
68
  * Using "@id" references is preferred for comparison purposes.
69
69
  */
70
- IsReplacedBy: "isReplacedBy"
70
+ IsReplacedBy: "isReplacedBy",
71
+ /**
72
+ * See Description at
73
+ * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
74
+ */
75
+ HasPart: "hasPart"
76
+ };
77
+
78
+ // Copyright 2024 IOTA Stiftung.
79
+ // SPDX-License-Identifier: Apache-2.0.
80
+ /**
81
+ * Dublin Core classes.
82
+ * Based on http://purl.org/dc/dcmitype
83
+ */
84
+ // eslint-disable-next-line @typescript-eslint/naming-convention
85
+ const DublinCoreClasses = {
86
+ /**
87
+ * See Description at
88
+ * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
89
+ */
90
+ Collection: "Collection"
71
91
  };
72
92
 
93
+ exports.DublinCoreClasses = DublinCoreClasses;
73
94
  exports.DublinCoreContexts = DublinCoreContexts;
74
95
  exports.DublinCorePropertyType = DublinCorePropertyType;
@@ -65,7 +65,27 @@ const DublinCorePropertyType = {
65
65
  * The identifier of a Policy that supersedes this Policy.
66
66
  * Using "@id" references is preferred for comparison purposes.
67
67
  */
68
- IsReplacedBy: "isReplacedBy"
68
+ IsReplacedBy: "isReplacedBy",
69
+ /**
70
+ * See Description at
71
+ * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
72
+ */
73
+ HasPart: "hasPart"
74
+ };
75
+
76
+ // Copyright 2024 IOTA Stiftung.
77
+ // SPDX-License-Identifier: Apache-2.0.
78
+ /**
79
+ * Dublin Core classes.
80
+ * Based on http://purl.org/dc/dcmitype
81
+ */
82
+ // eslint-disable-next-line @typescript-eslint/naming-convention
83
+ const DublinCoreClasses = {
84
+ /**
85
+ * See Description at
86
+ * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
87
+ */
88
+ Collection: "Collection"
69
89
  };
70
90
 
71
- export { DublinCoreContexts, DublinCorePropertyType };
91
+ export { DublinCoreClasses, DublinCoreContexts, DublinCorePropertyType };
@@ -1,2 +1,3 @@
1
1
  export * from "./models/dublinCoreContexts";
2
2
  export * from "./models/dublinCoreTypes";
3
+ export * from "./models/dublinCoreClasses";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Dublin Core classes.
3
+ * Based on http://purl.org/dc/dcmitype
4
+ */
5
+ export declare const DublinCoreClasses: {
6
+ /**
7
+ * See Description at
8
+ * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
9
+ */
10
+ readonly Collection: "Collection";
11
+ };
12
+ /**
13
+ * Dublin Core classes
14
+ */
15
+ export type DublinCoreClasses = (typeof DublinCoreClasses)[keyof typeof DublinCoreClasses];
@@ -49,6 +49,11 @@ export declare const DublinCorePropertyType: {
49
49
  * Using "@id" references is preferred for comparison purposes.
50
50
  */
51
51
  readonly IsReplacedBy: "isReplacedBy";
52
+ /**
53
+ * See Description at
54
+ * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
55
+ */
56
+ readonly HasPart: "hasPart";
52
57
  };
53
58
  /**
54
59
  * Common Dublin Core property types.
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/standards-dublin-core - Changelog
2
2
 
3
+ ## [0.0.1-next.36](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.1-next.35...standards-dublin-core-v0.0.1-next.36) (2025-04-30)
4
+
5
+
6
+ ### Features
7
+
8
+ * add Collection and hasPart to Dublin Core ([#13](https://github.com/twinfoundation/standards/issues/13)) ([867ddbc](https://github.com/twinfoundation/standards/commit/867ddbcad0c4afec3c112b113eb97ab431cf84b1))
9
+
10
+ ## [0.0.1-next.35](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.1-next.34...standards-dublin-core-v0.0.1-next.35) (2025-04-17)
11
+
12
+
13
+ ### Features
14
+
15
+ * use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
16
+
3
17
  ## [0.0.1-next.34](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.1-next.33...standards-dublin-core-v0.0.1-next.34) (2025-03-28)
4
18
 
5
19
 
@@ -2,10 +2,12 @@
2
2
 
3
3
  ## Type Aliases
4
4
 
5
+ - [DublinCoreClasses](type-aliases/DublinCoreClasses.md)
5
6
  - [DublinCoreContexts](type-aliases/DublinCoreContexts.md)
6
7
  - [DublinCorePropertyType](type-aliases/DublinCorePropertyType.md)
7
8
 
8
9
  ## Variables
9
10
 
11
+ - [DublinCoreClasses](variables/DublinCoreClasses.md)
10
12
  - [DublinCoreContexts](variables/DublinCoreContexts.md)
11
13
  - [DublinCorePropertyType](variables/DublinCorePropertyType.md)
@@ -0,0 +1,5 @@
1
+ # Type Alias: DublinCoreClasses
2
+
3
+ > **DublinCoreClasses** = *typeof* [`DublinCoreClasses`](../variables/DublinCoreClasses.md)\[keyof *typeof* [`DublinCoreClasses`](../variables/DublinCoreClasses.md)\]
4
+
5
+ Dublin Core classes
@@ -1,5 +1,5 @@
1
1
  # Type Alias: DublinCoreContexts
2
2
 
3
- > **DublinCoreContexts**: *typeof* [`DublinCoreContexts`](../variables/DublinCoreContexts.md)\[keyof *typeof* [`DublinCoreContexts`](../variables/DublinCoreContexts.md)\]
3
+ > **DublinCoreContexts** = *typeof* [`DublinCoreContexts`](../variables/DublinCoreContexts.md)\[keyof *typeof* [`DublinCoreContexts`](../variables/DublinCoreContexts.md)\]
4
4
 
5
5
  The contexts for Dublin Core.
@@ -1,5 +1,5 @@
1
1
  # Type Alias: DublinCorePropertyType
2
2
 
3
- > **DublinCorePropertyType**: *typeof* [`DublinCorePropertyType`](../variables/DublinCorePropertyType.md)\[keyof *typeof* [`DublinCorePropertyType`](../variables/DublinCorePropertyType.md)\]
3
+ > **DublinCorePropertyType** = *typeof* [`DublinCorePropertyType`](../variables/DublinCorePropertyType.md)\[keyof *typeof* [`DublinCorePropertyType`](../variables/DublinCorePropertyType.md)\]
4
4
 
5
5
  Common Dublin Core property types.
@@ -0,0 +1,15 @@
1
+ # Variable: DublinCoreClasses
2
+
3
+ > `const` **DublinCoreClasses**: `object`
4
+
5
+ Dublin Core classes.
6
+ Based on http://purl.org/dc/dcmitype
7
+
8
+ ## Type declaration
9
+
10
+ ### Collection
11
+
12
+ > `readonly` **Collection**: `"Collection"` = `"Collection"`
13
+
14
+ See Description at
15
+ https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
@@ -70,3 +70,10 @@ Using "@id" references is preferred for comparison purposes.
70
70
 
71
71
  The identifier of a Policy that supersedes this Policy.
72
72
  Using "@id" references is preferred for comparison purposes.
73
+
74
+ ### HasPart
75
+
76
+ > `readonly` **HasPart**: `"hasPart"` = `"hasPart"`
77
+
78
+ See Description at
79
+ https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dublin-core",
3
- "version": "0.0.1-next.34",
3
+ "version": "0.0.1-next.36",
4
4
  "description": "Models which define the structure of Dublin Core Standard",
5
5
  "repository": {
6
6
  "type": "git",