@twin.org/standards-w3c-vcard 0.0.2-next.9 → 0.0.3-next.10

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.
@@ -0,0 +1,5 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export * from "./models/vcardContexts.js";
4
+ export * from "./models/vcardTypes.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./models/vcardContexts.js\";\nexport * from \"./models/vcardTypes.js\";\n"]}
@@ -0,0 +1,15 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The contexts for VCard.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const VCardContexts = {
8
+ /**
9
+ * The context root for VCard.
10
+ * Based on W3C VCard Ontology.
11
+ * @see http://www.w3.org/2006/vcard/ns#
12
+ */
13
+ ContextRoot: "http://www.w3.org/2006/vcard/ns#"
14
+ };
15
+ //# sourceMappingURL=vcardContexts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vcardContexts.js","sourceRoot":"","sources":["../../../src/models/vcardContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;;;OAIG;IACH,WAAW,EAAE,kCAAkC;CACtC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for VCard.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const VCardContexts = {\n\t/**\n\t * The context root for VCard.\n\t * Based on W3C VCard Ontology.\n\t * @see http://www.w3.org/2006/vcard/ns#\n\t */\n\tContextRoot: \"http://www.w3.org/2006/vcard/ns#\"\n} as const;\n\n/**\n * The contexts for VCard.\n */\nexport type VCardContexts = (typeof VCardContexts)[keyof typeof VCardContexts];\n"]}
@@ -1,18 +1,3 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * The contexts for VCard.
5
- */
6
- // eslint-disable-next-line @typescript-eslint/naming-convention
7
- const VCardContexts = {
8
- /**
9
- * The context root for VCard.
10
- * Based on W3C VCard Ontology.
11
- * @see http://www.w3.org/2006/vcard/ns#
12
- */
13
- Context: "http://www.w3.org/2006/vcard/ns#"
14
- };
15
-
16
1
  // Copyright 2024 IOTA Stiftung.
17
2
  // SPDX-License-Identifier: Apache-2.0.
18
3
  /**
@@ -20,7 +5,7 @@ const VCardContexts = {
20
5
  * Based on http://www.w3.org/2006/vcard/ns#
21
6
  */
22
7
  // eslint-disable-next-line @typescript-eslint/naming-convention
23
- const VCardPropertyType = {
8
+ export const VCardPropertyType = {
24
9
  /**
25
10
  * Formatted name
26
11
  */
@@ -66,5 +51,4 @@ const VCardPropertyType = {
66
51
  */
67
52
  Photo: "hasPhoto"
68
53
  };
69
-
70
- export { VCardContexts, VCardPropertyType };
54
+ //# sourceMappingURL=vcardTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vcardTypes.js","sourceRoot":"","sources":["../../../src/models/vcardTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;;OAEG;IACH,aAAa,EAAE,IAAI;IAEnB;;OAEG;IACH,KAAK,EAAE,UAAU;IAEjB;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,KAAK,EAAE,OAAO;IAEd;;OAEG;IACH,UAAU,EAAE,YAAY;IAExB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,KAAK,EAAE,cAAc;IAErB;;OAEG;IACH,GAAG,EAAE,QAAQ;IAEb;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM;IAEhB;;OAEG;IACH,KAAK,EAAE,UAAU;CACR,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Common VCard property types.\n * Based on http://www.w3.org/2006/vcard/ns#\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const VCardPropertyType = {\n\t/**\n\t * Formatted name\n\t */\n\tFormattedName: \"fn\",\n\n\t/**\n\t * Email address\n\t */\n\tEmail: \"hasEmail\",\n\n\t/**\n\t * Organization type\n\t */\n\tOrganization: \"Organization\",\n\n\t/**\n\t * Group type\n\t */\n\tGroup: \"Group\",\n\n\t/**\n\t * Individual type\n\t */\n\tIndividual: \"Individual\",\n\n\t/**\n\t * Address\n\t */\n\tAddress: \"Address\",\n\n\t/**\n\t * Phone number\n\t */\n\tPhone: \"hasTelephone\",\n\n\t/**\n\t * URL\n\t */\n\tUrl: \"hasUrl\",\n\n\t/**\n\t * Nickname\n\t */\n\tNickname: \"nickname\",\n\n\t/**\n\t * Birthday\n\t */\n\tBirthday: \"bday\",\n\n\t/**\n\t * Photo\n\t */\n\tPhoto: \"hasPhoto\"\n} as const;\n\n/**\n * Common VCard property types.\n */\nexport type VCardPropertyType = (typeof VCardPropertyType)[keyof typeof VCardPropertyType];\n"]}
@@ -1,2 +1,2 @@
1
- export * from "./models/vcardContexts";
2
- export * from "./models/vcardTypes";
1
+ export * from "./models/vcardContexts.js";
2
+ export * from "./models/vcardTypes.js";
@@ -7,7 +7,7 @@ export declare const VCardContexts: {
7
7
  * Based on W3C VCard Ontology.
8
8
  * @see http://www.w3.org/2006/vcard/ns#
9
9
  */
10
- readonly Context: "http://www.w3.org/2006/vcard/ns#";
10
+ readonly ContextRoot: "http://www.w3.org/2006/vcard/ns#";
11
11
  };
12
12
  /**
13
13
  * The contexts for VCard.
package/docs/changelog.md CHANGED
@@ -1,5 +1,130 @@
1
1
  # @twin.org/standards-w3c-vcard - Changelog
2
2
 
3
+ ## [0.0.3-next.10](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.9...standards-w3c-vcard-v0.0.3-next.10) (2026-01-13)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **standards-w3c-vcard:** Synchronize repo versions
9
+
10
+ ## [0.0.3-next.9](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.8...standards-w3c-vcard-v0.0.3-next.9) (2026-01-09)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-w3c-vcard:** Synchronize repo versions
16
+
17
+ ## [0.0.3-next.8](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.7...standards-w3c-vcard-v0.0.3-next.8) (2026-01-08)
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * **standards-w3c-vcard:** Synchronize repo versions
23
+
24
+ ## [0.0.3-next.7](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.6...standards-w3c-vcard-v0.0.3-next.7) (2026-01-06)
25
+
26
+
27
+ ### Miscellaneous Chores
28
+
29
+ * **standards-w3c-vcard:** Synchronize repo versions
30
+
31
+ ## [0.0.3-next.6](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.5...standards-w3c-vcard-v0.0.3-next.6) (2025-12-03)
32
+
33
+
34
+ ### Miscellaneous Chores
35
+
36
+ * **standards-w3c-vcard:** Synchronize repo versions
37
+
38
+ ## [0.0.3-next.5](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.4...standards-w3c-vcard-v0.0.3-next.5) (2025-11-28)
39
+
40
+
41
+ ### Miscellaneous Chores
42
+
43
+ * **standards-w3c-vcard:** Synchronize repo versions
44
+
45
+ ## [0.0.3-next.4](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.3...standards-w3c-vcard-v0.0.3-next.4) (2025-11-18)
46
+
47
+
48
+ ### Miscellaneous Chores
49
+
50
+ * **standards-w3c-vcard:** Synchronize repo versions
51
+
52
+ ## [0.0.3-next.3](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.2...standards-w3c-vcard-v0.0.3-next.3) (2025-11-18)
53
+
54
+
55
+ ### Features
56
+
57
+ * add w3c dcat standards package ([#68](https://github.com/twinfoundation/standards/issues/68)) ([85746c6](https://github.com/twinfoundation/standards/commit/85746c673464498a52e9c30ce498fd88b81a7434))
58
+
59
+ ## [0.0.3-next.2](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.1...standards-w3c-vcard-v0.0.3-next.2) (2025-11-11)
60
+
61
+
62
+ ### Miscellaneous Chores
63
+
64
+ * **standards-w3c-vcard:** Synchronize repo versions
65
+
66
+ ## [0.0.3-next.1](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.0...standards-w3c-vcard-v0.0.3-next.1) (2025-11-10)
67
+
68
+
69
+ ### Features
70
+
71
+ * add context id features ([#64](https://github.com/twinfoundation/standards/issues/64)) ([e68bb87](https://github.com/twinfoundation/standards/commit/e68bb87a215f3c3956cfd6400a5e1e2a16256085))
72
+ * add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
73
+ * eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
74
+ * update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
75
+ * update to latest JSON schema spec ([7a23930](https://github.com/twinfoundation/standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
76
+ * update ts-to-schema generation ([0905daa](https://github.com/twinfoundation/standards/commit/0905daa4a344ed35fc37b7f12fcf9ce9d34e4bd6))
77
+ * use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
78
+
79
+ ## [0.0.2-next.16](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.15...standards-w3c-vcard-v0.0.2-next.16) (2025-10-09)
80
+
81
+
82
+ ### Miscellaneous Chores
83
+
84
+ * **standards-w3c-vcard:** Synchronize repo versions
85
+
86
+ ## [0.0.2-next.15](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.14...standards-w3c-vcard-v0.0.2-next.15) (2025-10-09)
87
+
88
+
89
+ ### Features
90
+
91
+ * add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
92
+
93
+ ## [0.0.2-next.14](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.13...standards-w3c-vcard-v0.0.2-next.14) (2025-10-02)
94
+
95
+
96
+ ### Miscellaneous Chores
97
+
98
+ * **standards-w3c-vcard:** Synchronize repo versions
99
+
100
+ ## [0.0.2-next.13](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.12...standards-w3c-vcard-v0.0.2-next.13) (2025-09-22)
101
+
102
+
103
+ ### Miscellaneous Chores
104
+
105
+ * **standards-w3c-vcard:** Synchronize repo versions
106
+
107
+ ## [0.0.2-next.12](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.11...standards-w3c-vcard-v0.0.2-next.12) (2025-09-16)
108
+
109
+
110
+ ### Miscellaneous Chores
111
+
112
+ * **standards-w3c-vcard:** Synchronize repo versions
113
+
114
+ ## [0.0.2-next.11](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.10...standards-w3c-vcard-v0.0.2-next.11) (2025-09-16)
115
+
116
+
117
+ ### Miscellaneous Chores
118
+
119
+ * **standards-w3c-vcard:** Synchronize repo versions
120
+
121
+ ## [0.0.2-next.10](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.9...standards-w3c-vcard-v0.0.2-next.10) (2025-09-16)
122
+
123
+
124
+ ### Miscellaneous Chores
125
+
126
+ * **standards-w3c-vcard:** Synchronize repo versions
127
+
3
128
  ## [0.0.2-next.9](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.2-next.8...standards-w3c-vcard-v0.0.2-next.9) (2025-09-15)
4
129
 
5
130
 
@@ -6,9 +6,9 @@ The contexts for VCard.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### Context
9
+ ### ContextRoot
10
10
 
11
- > `readonly` **Context**: `"http://www.w3.org/2006/vcard/ns#"` = `"http://www.w3.org/2006/vcard/ns#"`
11
+ > `readonly` **ContextRoot**: `"http://www.w3.org/2006/vcard/ns#"` = `"http://www.w3.org/2006/vcard/ns#"`
12
12
 
13
13
  The context root for VCard.
14
14
  Based on W3C VCard Ontology.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-w3c-vcard",
3
- "version": "0.0.2-next.9",
3
+ "version": "0.0.3-next.10",
4
4
  "description": "Models which define the structure of W3C VCard Standard",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,22 +17,34 @@
17
17
  "@twin.org/data-json-ld": "next",
18
18
  "@twin.org/web": "next"
19
19
  },
20
- "main": "./dist/cjs/index.cjs",
21
- "module": "./dist/esm/index.mjs",
20
+ "main": "./dist/es/index.js",
22
21
  "types": "./dist/types/index.d.ts",
23
22
  "exports": {
24
23
  ".": {
25
24
  "types": "./dist/types/index.d.ts",
26
- "require": "./dist/cjs/index.cjs",
27
- "import": "./dist/esm/index.mjs"
25
+ "import": "./dist/es/index.js",
26
+ "default": "./dist/es/index.js"
28
27
  },
29
28
  "./locales/*.json": "./locales/*.json"
30
29
  },
31
30
  "files": [
32
- "dist/cjs",
33
- "dist/esm",
31
+ "dist/es",
34
32
  "dist/types",
35
33
  "locales",
36
34
  "docs"
37
- ]
35
+ ],
36
+ "keywords": [
37
+ "twin",
38
+ "trade",
39
+ "iota",
40
+ "framework",
41
+ "blockchain",
42
+ "standards",
43
+ "schema",
44
+ "specification"
45
+ ],
46
+ "bugs": {
47
+ "url": "git+https://github.com/twinfoundation/standards/issues"
48
+ },
49
+ "homepage": "https://twindev.org"
38
50
  }
@@ -1,73 +0,0 @@
1
- 'use strict';
2
-
3
- // Copyright 2024 IOTA Stiftung.
4
- // SPDX-License-Identifier: Apache-2.0.
5
- /**
6
- * The contexts for VCard.
7
- */
8
- // eslint-disable-next-line @typescript-eslint/naming-convention
9
- const VCardContexts = {
10
- /**
11
- * The context root for VCard.
12
- * Based on W3C VCard Ontology.
13
- * @see http://www.w3.org/2006/vcard/ns#
14
- */
15
- Context: "http://www.w3.org/2006/vcard/ns#"
16
- };
17
-
18
- // Copyright 2024 IOTA Stiftung.
19
- // SPDX-License-Identifier: Apache-2.0.
20
- /**
21
- * Common VCard property types.
22
- * Based on http://www.w3.org/2006/vcard/ns#
23
- */
24
- // eslint-disable-next-line @typescript-eslint/naming-convention
25
- const VCardPropertyType = {
26
- /**
27
- * Formatted name
28
- */
29
- FormattedName: "fn",
30
- /**
31
- * Email address
32
- */
33
- Email: "hasEmail",
34
- /**
35
- * Organization type
36
- */
37
- Organization: "Organization",
38
- /**
39
- * Group type
40
- */
41
- Group: "Group",
42
- /**
43
- * Individual type
44
- */
45
- Individual: "Individual",
46
- /**
47
- * Address
48
- */
49
- Address: "Address",
50
- /**
51
- * Phone number
52
- */
53
- Phone: "hasTelephone",
54
- /**
55
- * URL
56
- */
57
- Url: "hasUrl",
58
- /**
59
- * Nickname
60
- */
61
- Nickname: "nickname",
62
- /**
63
- * Birthday
64
- */
65
- Birthday: "bday",
66
- /**
67
- * Photo
68
- */
69
- Photo: "hasPhoto"
70
- };
71
-
72
- exports.VCardContexts = VCardContexts;
73
- exports.VCardPropertyType = VCardPropertyType;