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

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
+ Context: "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,OAAO,EAAE,kCAAkC;CAClC,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\tContext: \"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";
package/docs/changelog.md CHANGED
@@ -1,5 +1,67 @@
1
1
  # @twin.org/standards-w3c-vcard - Changelog
2
2
 
3
+ ## [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)
4
+
5
+
6
+ ### Features
7
+
8
+ * add context id features ([#64](https://github.com/twinfoundation/standards/issues/64)) ([e68bb87](https://github.com/twinfoundation/standards/commit/e68bb87a215f3c3956cfd6400a5e1e2a16256085))
9
+ * add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
10
+ * eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
11
+ * update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
12
+ * update to latest JSON schema spec ([7a23930](https://github.com/twinfoundation/standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
13
+ * update ts-to-schema generation ([0905daa](https://github.com/twinfoundation/standards/commit/0905daa4a344ed35fc37b7f12fcf9ce9d34e4bd6))
14
+ * use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
15
+
16
+ ## [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)
17
+
18
+
19
+ ### Miscellaneous Chores
20
+
21
+ * **standards-w3c-vcard:** Synchronize repo versions
22
+
23
+ ## [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)
24
+
25
+
26
+ ### Features
27
+
28
+ * add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
29
+
30
+ ## [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)
31
+
32
+
33
+ ### Miscellaneous Chores
34
+
35
+ * **standards-w3c-vcard:** Synchronize repo versions
36
+
37
+ ## [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)
38
+
39
+
40
+ ### Miscellaneous Chores
41
+
42
+ * **standards-w3c-vcard:** Synchronize repo versions
43
+
44
+ ## [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)
45
+
46
+
47
+ ### Miscellaneous Chores
48
+
49
+ * **standards-w3c-vcard:** Synchronize repo versions
50
+
51
+ ## [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)
52
+
53
+
54
+ ### Miscellaneous Chores
55
+
56
+ * **standards-w3c-vcard:** Synchronize repo versions
57
+
58
+ ## [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)
59
+
60
+
61
+ ### Miscellaneous Chores
62
+
63
+ * **standards-w3c-vcard:** Synchronize repo versions
64
+
3
65
  ## [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
66
 
5
67
 
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.1",
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;