@marianmeres/collection-types 2.11.0 β†’ 2.12.0

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.
@@ -69,8 +69,6 @@ export interface AddressData {
69
69
  phone?: string;
70
70
  /** Whether this is the default address for its type */
71
71
  is_default: boolean;
72
- /** Country relation (UI-only, stored in relations table) */
73
- country_rel?: never;
74
72
  /** Index signature for compatibility with UserData */
75
73
  [key: string]: unknown;
76
74
  }
package/dist/mod.d.ts CHANGED
@@ -43,7 +43,6 @@ export * from "./external-domain.js";
43
43
  export * from "./account.js";
44
44
  export * from "./product.js";
45
45
  export * from "./project.js";
46
- export * from "./country.js";
47
46
  export * from "./template.js";
48
47
  export * from "./email.js";
49
48
  export * from "./example.js";
package/dist/mod.js CHANGED
@@ -55,8 +55,6 @@ export * from "./account.js";
55
55
  export * from "./product.js";
56
56
  // Project/config domain types
57
57
  export * from "./project.js";
58
- // Country domain types (geographic reference data)
59
- export * from "./country.js";
60
58
  // Template domain types
61
59
  export * from "./template.js";
62
60
  // Email domain types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/collection-types",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "type": "module",
5
5
  "main": "dist/mod.js",
6
6
  "types": "dist/mod.d.ts",
package/dist/country.d.ts DELETED
@@ -1,24 +0,0 @@
1
- /**
2
- * Country type definitions for geographic reference data.
3
- *
4
- * Countries are stored in the project domain and referenced
5
- * via weak relations from customer addresses.
6
- */
7
- import type { MaybeLocalized } from "./utils.js";
8
- /** Country data field schema */
9
- export interface CountryData {
10
- /** ISO 3166-1 alpha-2 code (e.g., "US", "GB") - used as path for uniqueness */
11
- code: string;
12
- /** Display name - can be a plain string or localized object (e.g., { en: "United States", de: "Vereinigte Staaten" }) */
13
- name: MaybeLocalized<string>;
14
- /** Phone prefix with + (e.g., "+1", "+44") */
15
- phone_prefix?: string;
16
- /** Flag emoji (e.g., "πŸ‡ΊπŸ‡Έ") */
17
- flag?: string;
18
- /** Extensible metadata for future fields */
19
- custom?: Record<string, unknown>;
20
- /** Index signature for Model<T> compatibility */
21
- [key: string]: unknown;
22
- }
23
- /** Country type identifier */
24
- export type CountryType = "default";
package/dist/country.js DELETED
@@ -1,7 +0,0 @@
1
- /**
2
- * Country type definitions for geographic reference data.
3
- *
4
- * Countries are stored in the project domain and referenced
5
- * via weak relations from customer addresses.
6
- */
7
- export {};