@medusajs/region 0.1.2-snapshot-20240924100349 → 0.1.2-snapshot-20240924111034
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +0 -1
- package/dist/loaders/defaults.d.ts.map +1 -1
- package/dist/loaders/defaults.js +0 -1
- package/dist/loaders/index.js +0 -1
- package/dist/migrations/Migration20240205173216.js +0 -1
- package/dist/migrations/Migration20240624200006.js +0 -1
- package/dist/models/country.d.ts +131 -131
- package/dist/models/country.js +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/region.d.ts +99 -99
- package/dist/models/region.js +0 -1
- package/dist/services/index.js +0 -1
- package/dist/services/region-module.d.ts +1 -1
- package/dist/services/region-module.d.ts.map +1 -1
- package/dist/services/region-module.js +0 -1
- package/dist/types/index.js +0 -1
- package/package.json +7 -11
- package/dist/index.js.map +0 -1
- package/dist/loaders/defaults.js.map +0 -1
- package/dist/loaders/index.js.map +0 -1
- package/dist/migrations/Migration20240205173216.js.map +0 -1
- package/dist/migrations/Migration20240624200006.js.map +0 -1
- package/dist/models/country.js.map +0 -1
- package/dist/models/index.js.map +0 -1
- package/dist/models/region.js.map +0 -1
- package/dist/services/index.js.map +0 -1
- package/dist/services/region-module.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/index.js.map +0 -1
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/loaders/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2B,MAAM,iBAAiB,CAAA;wCAInC,aAAa,KAAG,
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/loaders/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2B,MAAM,iBAAiB,CAAA;wCAInC,aAAa,KAAG,QAAQ,IAAI,CAAC;AAAlE,wBAwBC"}
|
package/dist/loaders/defaults.js
CHANGED
package/dist/loaders/index.js
CHANGED
package/dist/models/country.d.ts
CHANGED
@@ -1,164 +1,164 @@
|
|
1
1
|
declare const _default: import("@medusajs/utils").DmlEntity<{
|
2
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
3
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
4
|
-
num_code: import("@medusajs/utils").TextProperty;
|
5
|
-
name: import("@medusajs/utils").TextProperty;
|
6
|
-
display_name: import("@medusajs/utils").TextProperty;
|
7
|
-
region: import("@medusajs/utils").
|
8
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
9
|
-
name: import("@medusajs/utils").TextProperty;
|
10
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
11
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
12
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
13
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
14
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
15
|
-
num_code: import("@medusajs/utils").TextProperty;
|
16
|
-
name: import("@medusajs/utils").TextProperty;
|
17
|
-
display_name: import("@medusajs/utils").TextProperty;
|
18
|
-
region: import("@medusajs/utils").
|
19
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
20
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
2
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
3
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
4
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
5
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
6
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
7
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<() => import("@medusajs/utils").DmlEntity<{
|
8
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
9
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
10
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
11
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
12
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
13
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
14
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
15
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
16
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
17
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
18
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
19
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
20
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
21
21
|
readonly name: "Country";
|
22
22
|
readonly tableName: "region_country";
|
23
23
|
}>>;
|
24
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
24
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
25
25
|
} & {
|
26
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
27
|
-
name: import("@medusajs/utils").TextProperty;
|
28
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
29
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
30
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
31
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
32
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
33
|
-
num_code: import("@medusajs/utils").TextProperty;
|
34
|
-
name: import("@medusajs/utils").TextProperty;
|
35
|
-
display_name: import("@medusajs/utils").TextProperty;
|
36
|
-
region: import("@medusajs/utils").
|
37
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
38
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
26
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
27
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
28
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
29
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
30
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
31
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
32
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
33
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
34
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
35
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
36
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
37
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
38
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
39
39
|
readonly name: "Country";
|
40
40
|
readonly tableName: "region_country";
|
41
41
|
}>>;
|
42
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
43
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">, import("@medusajs/utils").BelongsTo<() => import("@medusajs/utils").DmlEntity<{
|
44
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
45
|
-
name: import("@medusajs/utils").TextProperty;
|
46
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
47
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
48
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
49
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
50
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
51
|
-
num_code: import("@medusajs/utils").TextProperty;
|
52
|
-
name: import("@medusajs/utils").TextProperty;
|
53
|
-
display_name: import("@medusajs/utils").TextProperty;
|
54
|
-
region: import("@medusajs/utils").
|
55
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
56
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
42
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
43
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<() => import("@medusajs/utils").DmlEntity<{
|
44
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
45
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
46
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
47
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
48
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
49
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
50
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
51
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
52
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
53
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
54
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
55
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
56
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
57
57
|
readonly name: "Country";
|
58
58
|
readonly tableName: "region_country";
|
59
59
|
}>>;
|
60
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
60
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
61
61
|
} & {
|
62
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
63
|
-
name: import("@medusajs/utils").TextProperty;
|
64
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
65
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
66
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
67
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
68
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
69
|
-
num_code: import("@medusajs/utils").TextProperty;
|
70
|
-
name: import("@medusajs/utils").TextProperty;
|
71
|
-
display_name: import("@medusajs/utils").TextProperty;
|
72
|
-
region: import("@medusajs/utils").
|
73
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
74
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
62
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
63
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
64
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
65
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
66
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<any & {
|
67
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
68
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
69
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
70
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
71
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
72
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
73
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
74
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
75
75
|
readonly name: "Country";
|
76
76
|
readonly tableName: "region_country";
|
77
77
|
}>>;
|
78
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
79
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">>>;
|
80
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
78
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
79
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">>>;
|
80
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
81
81
|
} & {
|
82
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
83
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
84
|
-
num_code: import("@medusajs/utils").TextProperty;
|
85
|
-
name: import("@medusajs/utils").TextProperty;
|
86
|
-
display_name: import("@medusajs/utils").TextProperty;
|
87
|
-
region: import("@medusajs/utils").
|
88
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
89
|
-
name: import("@medusajs/utils").TextProperty;
|
90
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
91
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
92
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<
|
93
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
94
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
95
|
-
num_code: import("@medusajs/utils").TextProperty;
|
96
|
-
name: import("@medusajs/utils").TextProperty;
|
97
|
-
display_name: import("@medusajs/utils").TextProperty;
|
98
|
-
region: import("@medusajs/utils").
|
99
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
100
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
82
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
83
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
84
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
85
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
86
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
87
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<() => import("@medusajs/utils").DmlEntity<{
|
88
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
89
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
90
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
91
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
92
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
93
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
94
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
95
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
96
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
97
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
98
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
99
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
100
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
101
101
|
readonly name: "Country";
|
102
102
|
readonly tableName: "region_country";
|
103
103
|
}>>;
|
104
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
104
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
105
105
|
} & {
|
106
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
107
|
-
name: import("@medusajs/utils").TextProperty;
|
108
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
109
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
110
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<
|
111
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
112
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
113
|
-
num_code: import("@medusajs/utils").TextProperty;
|
114
|
-
name: import("@medusajs/utils").TextProperty;
|
115
|
-
display_name: import("@medusajs/utils").TextProperty;
|
116
|
-
region: import("@medusajs/utils").
|
117
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
118
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
106
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
107
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
108
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
109
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
110
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
111
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
112
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
113
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
114
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
115
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
116
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
117
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
118
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
119
119
|
readonly name: "Country";
|
120
120
|
readonly tableName: "region_country";
|
121
121
|
}>>;
|
122
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
123
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">, import("@medusajs/utils").BelongsTo<() => import("@medusajs/utils").DmlEntity<{
|
124
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
125
|
-
name: import("@medusajs/utils").TextProperty;
|
126
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
127
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
128
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<
|
129
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
130
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
131
|
-
num_code: import("@medusajs/utils").TextProperty;
|
132
|
-
name: import("@medusajs/utils").TextProperty;
|
133
|
-
display_name: import("@medusajs/utils").TextProperty;
|
134
|
-
region: import("@medusajs/utils").
|
135
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
136
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
122
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
123
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<() => import("@medusajs/utils").DmlEntity<{
|
124
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
125
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
126
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
127
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
128
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
129
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
130
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
131
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
132
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
133
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
134
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
135
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
136
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
137
137
|
readonly name: "Country";
|
138
138
|
readonly tableName: "region_country";
|
139
139
|
}>>;
|
140
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
140
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
141
141
|
} & {
|
142
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
143
|
-
name: import("@medusajs/utils").TextProperty;
|
144
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
145
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
146
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<
|
147
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
148
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
149
|
-
num_code: import("@medusajs/utils").TextProperty;
|
150
|
-
name: import("@medusajs/utils").TextProperty;
|
151
|
-
display_name: import("@medusajs/utils").TextProperty;
|
152
|
-
region: import("@medusajs/utils").
|
153
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
154
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
142
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
143
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
144
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
145
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
146
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
147
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
148
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
149
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
150
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
151
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
152
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<any, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<any>>;
|
153
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
154
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
155
155
|
readonly name: "Country";
|
156
156
|
readonly tableName: "region_country";
|
157
157
|
}>>;
|
158
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
159
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">>>;
|
160
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
161
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
158
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
159
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">>>;
|
160
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
161
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
162
162
|
readonly name: "Country";
|
163
163
|
readonly tableName: "region_country";
|
164
164
|
}>;
|
package/dist/models/country.js
CHANGED
package/dist/models/index.js
CHANGED
@@ -8,4 +8,3 @@ var country_1 = require("./country");
|
|
8
8
|
Object.defineProperty(exports, "Country", { enumerable: true, get: function () { return __importDefault(country_1).default; } });
|
9
9
|
var region_1 = require("./region");
|
10
10
|
Object.defineProperty(exports, "Region", { enumerable: true, get: function () { return __importDefault(region_1).default; } });
|
11
|
-
//# sourceMappingURL=index.js.map
|
package/dist/models/region.d.ts
CHANGED
@@ -1,111 +1,111 @@
|
|
1
1
|
declare const _default: import("@medusajs/utils").DmlEntity<{
|
2
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
3
|
-
name: import("@medusajs/utils").TextProperty;
|
4
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
5
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
6
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
7
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
8
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
9
|
-
num_code: import("@medusajs/utils").TextProperty;
|
10
|
-
name: import("@medusajs/utils").TextProperty;
|
11
|
-
display_name: import("@medusajs/utils").TextProperty;
|
12
|
-
region: import("@medusajs/utils").
|
13
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
14
|
-
name: import("@medusajs/utils").TextProperty;
|
15
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
16
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
17
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
18
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
19
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">, import("@medusajs/utils").BelongsTo<() => import("@medusajs/utils").DmlEntity<any & {
|
20
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
21
|
-
name: import("@medusajs/utils").TextProperty;
|
22
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
23
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
24
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
25
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
26
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">>>;
|
27
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
2
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
3
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
4
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
5
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
6
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
7
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
8
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
9
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
10
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
11
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
12
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<() => import("@medusajs/utils").DmlEntity<any & {
|
13
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
14
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
15
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
16
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
17
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
18
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
19
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<() => import("@medusajs/utils").DmlEntity<any & {
|
20
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
21
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
22
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
23
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
24
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
25
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
26
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">>>;
|
27
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
28
28
|
} & {
|
29
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
30
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
31
|
-
num_code: import("@medusajs/utils").TextProperty;
|
32
|
-
name: import("@medusajs/utils").TextProperty;
|
33
|
-
display_name: import("@medusajs/utils").TextProperty;
|
34
|
-
region: import("@medusajs/utils").
|
35
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
36
|
-
name: import("@medusajs/utils").TextProperty;
|
37
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
38
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
39
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
40
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
41
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">, import("@medusajs/utils").BelongsTo<() => import("@medusajs/utils").DmlEntity<any & {
|
42
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
43
|
-
name: import("@medusajs/utils").TextProperty;
|
44
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
45
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
46
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
47
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
48
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">>>;
|
49
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
50
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
29
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
30
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
31
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
32
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
33
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
34
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<() => import("@medusajs/utils").DmlEntity<any & {
|
35
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
36
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
37
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
38
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
39
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
40
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
41
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<() => import("@medusajs/utils").DmlEntity<any & {
|
42
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
43
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
44
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
45
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
46
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
47
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
48
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">>>;
|
49
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
50
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
51
51
|
readonly name: "Country";
|
52
52
|
readonly tableName: "region_country";
|
53
53
|
}>>;
|
54
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
54
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
55
55
|
} & {
|
56
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
57
|
-
name: import("@medusajs/utils").TextProperty;
|
58
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
59
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
60
|
-
countries: import("@medusajs/utils").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
61
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
62
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
63
|
-
num_code: import("@medusajs/utils").TextProperty;
|
64
|
-
name: import("@medusajs/utils").TextProperty;
|
65
|
-
display_name: import("@medusajs/utils").TextProperty;
|
66
|
-
region: import("@medusajs/utils").
|
67
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
68
|
-
name: import("@medusajs/utils").TextProperty;
|
69
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
70
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
71
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
72
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
73
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">, import("@medusajs/utils").BelongsTo<() => import("@medusajs/utils").DmlEntity<
|
74
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
75
|
-
name: import("@medusajs/utils").TextProperty;
|
76
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
77
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
78
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
79
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
80
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">>>;
|
81
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
56
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
57
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
58
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
59
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
60
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<() => import("@medusajs/utils").DmlEntity<{
|
61
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
62
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
63
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
64
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
65
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
66
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<() => import("@medusajs/utils").DmlEntity<{
|
67
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
68
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
69
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
70
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
71
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
72
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
73
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<() => import("@medusajs/utils").DmlEntity<{
|
74
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
75
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
76
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
77
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
78
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
79
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
80
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">>>;
|
81
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
82
82
|
} & {
|
83
|
-
iso_2: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").TextProperty>;
|
84
|
-
iso_3: import("@medusajs/utils").TextProperty;
|
85
|
-
num_code: import("@medusajs/utils").TextProperty;
|
86
|
-
name: import("@medusajs/utils").TextProperty;
|
87
|
-
display_name: import("@medusajs/utils").TextProperty;
|
88
|
-
region: import("@medusajs/utils").
|
89
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
90
|
-
name: import("@medusajs/utils").TextProperty;
|
91
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
92
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
93
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
94
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
95
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">, import("@medusajs/utils").BelongsTo<() => import("@medusajs/utils").DmlEntity<
|
96
|
-
id: import("@medusajs/utils").PrimaryKeyModifier<string, import("@medusajs/utils").IdProperty>;
|
97
|
-
name: import("@medusajs/utils").TextProperty;
|
98
|
-
currency_code: import("@medusajs/utils").TextProperty;
|
99
|
-
automatic_taxes: import("@medusajs/utils").BooleanProperty;
|
100
|
-
countries: import("@medusajs/utils").HasMany<any>;
|
101
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
102
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">>>;
|
103
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
104
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, {
|
83
|
+
iso_2: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/text").TextProperty>;
|
84
|
+
iso_3: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
85
|
+
num_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
86
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
87
|
+
display_name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
88
|
+
region: import("@medusajs/utils/dist/dml/relations/nullable").NullableModifier<() => import("@medusajs/utils").DmlEntity<{
|
89
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
90
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
91
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
92
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
93
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
94
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
95
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">, import("@medusajs/utils/dist/dml/relations/belongs-to").BelongsTo<() => import("@medusajs/utils").DmlEntity<{
|
96
|
+
id: import("@medusajs/utils/dist/dml/properties/primary-key").PrimaryKeyModifier<string, import("@medusajs/utils/dist/dml/properties/id").IdProperty>;
|
97
|
+
name: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
98
|
+
currency_code: import("@medusajs/utils/dist/dml/properties/text").TextProperty;
|
99
|
+
automatic_taxes: import("@medusajs/utils/dist/dml/properties/boolean").BooleanProperty;
|
100
|
+
countries: import("@medusajs/utils/dist/dml/relations/has-many").HasMany<any>;
|
101
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
102
|
+
} & any & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">>>;
|
103
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
104
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, {
|
105
105
|
readonly name: "Country";
|
106
106
|
readonly tableName: "region_country";
|
107
107
|
}>>;
|
108
|
-
metadata: import("@medusajs/utils").NullableModifier<Record<string, unknown>, import("@medusajs/utils").JSONProperty>;
|
109
|
-
} & {} & import("@medusajs/utils").DMLSchemaDefaults, "region">;
|
108
|
+
metadata: import("@medusajs/utils/dist/dml/properties/nullable").NullableModifier<Record<string, unknown>, import("@medusajs/utils/dist/dml/properties/json").JSONProperty>;
|
109
|
+
} & {} & import("@medusajs/utils/dist/dml/helpers/entity-builder/create-default-properties").DMLSchemaDefaults, "region">;
|
110
110
|
export default _default;
|
111
111
|
//# sourceMappingURL=region.d.ts.map
|
package/dist/models/region.js
CHANGED
package/dist/services/index.js
CHANGED
@@ -6,4 +6,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.RegionModuleService = void 0;
|
7
7
|
var region_module_1 = require("./region-module");
|
8
8
|
Object.defineProperty(exports, "RegionModuleService", { enumerable: true, get: function () { return __importDefault(region_module_1).default; } });
|
9
|
-
//# sourceMappingURL=index.js.map
|
@@ -6,7 +6,7 @@ type InjectedDependencies = {
|
|
6
6
|
regionService: ModulesSdkTypes.IMedusaInternalService<any>;
|
7
7
|
countryService: ModulesSdkTypes.IMedusaInternalService<any>;
|
8
8
|
};
|
9
|
-
declare const RegionModuleService_base: import("@medusajs/utils").MedusaServiceReturnType<{
|
9
|
+
declare const RegionModuleService_base: import("@medusajs/utils/dist/modules-sdk/types/medusa-service").MedusaServiceReturnType<{
|
10
10
|
Region: {
|
11
11
|
dto: RegionDTO;
|
12
12
|
model: typeof Region;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"region-module.d.ts","sourceRoot":"","sources":["../../src/services/region-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,eAAe,EACf,GAAG,EACH,qBAAqB,EACrB,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,eAAe,EAChB,MAAM,iBAAiB,CAAA;AAaxB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAE1C,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,aAAa,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC1D,cAAc,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;CAC5D,CAAA;;YAIW;QACN,GAAG,EAAE,SAAS,CAAA;QACd,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"region-module.d.ts","sourceRoot":"","sources":["../../src/services/region-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,eAAe,EACf,GAAG,EACH,qBAAqB,EACrB,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,eAAe,EAChB,MAAM,iBAAiB,CAAA;AAaxB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAE1C,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,aAAa,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG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MAAM,EAAE,CAAC,GAAG,IAAI,CAAC;IAcrC,aAAa,CACjB,IAAI,EAAE,eAAe,EAAE,EACvB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,EAAE,CAAC;IACjB,aAAa,CACjB,IAAI,EAAE,eAAe,EACrB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,CAAC;IA+Bf,aAAa,CACjB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,eAAe,EACrB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,CAAC;IACf,aAAa,CACjB,QAAQ,EAAE,qBAAqB,EAC/B,IAAI,EAAE,eAAe,EACrB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,EAAE,CAAC;cAqCP,cAAc,CAC5B,IAAI,EAAE,iBAAiB,EAAE,EACR,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,eAAe,CAAC,OAAO,MAAM,CAAC,EAAE,CAAC;IA+C5C,OAAO,CAAC,MAAM,CAAC,cAAc;IAW7B;;;;;;;OAOG;YACW,iBAAiB;CAqDhC"}
|
package/dist/types/index.js
CHANGED
package/package.json
CHANGED
@@ -1,14 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/region",
|
3
|
-
"version": "0.1.2-snapshot-
|
3
|
+
"version": "0.1.2-snapshot-20240924111034",
|
4
4
|
"description": "Medusa Region module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
7
|
"files": [
|
8
|
-
"dist"
|
9
|
-
"!dist/**/__tests__",
|
10
|
-
"!dist/**/__mocks__",
|
11
|
-
"!dist/**/__fixtures__"
|
8
|
+
"dist"
|
12
9
|
],
|
13
10
|
"engines": {
|
14
11
|
"node": ">=20"
|
@@ -26,8 +23,7 @@
|
|
26
23
|
"scripts": {
|
27
24
|
"watch": "tsc --build --watch",
|
28
25
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
29
|
-
"
|
30
|
-
"build": "rimraf dist && tsc --build && npm run resolve:aliases",
|
26
|
+
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
31
27
|
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
32
28
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
33
29
|
"migration:generate": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:generate",
|
@@ -37,18 +33,18 @@
|
|
37
33
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
|
38
34
|
},
|
39
35
|
"devDependencies": {
|
40
|
-
"@medusajs/types": "1.12.0-snapshot-
|
36
|
+
"@medusajs/types": "1.12.0-snapshot-20240924111034",
|
41
37
|
"@mikro-orm/cli": "5.9.7",
|
42
38
|
"cross-env": "^5.2.1",
|
43
39
|
"jest": "^29.7.0",
|
44
|
-
"medusa-test-utils": "1.1.45-snapshot-
|
40
|
+
"medusa-test-utils": "1.1.45-snapshot-20240924111034",
|
45
41
|
"rimraf": "^3.0.2",
|
46
42
|
"ts-node": "^10.9.1",
|
47
43
|
"tsc-alias": "^1.8.6",
|
48
|
-
"typescript": "^5.6
|
44
|
+
"typescript": "^5.1.6"
|
49
45
|
},
|
50
46
|
"dependencies": {
|
51
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
47
|
+
"@medusajs/utils": "1.12.0-snapshot-20240924111034"
|
52
48
|
},
|
53
49
|
"peerDependencies": {
|
54
50
|
"@mikro-orm/core": "5.9.7",
|
package/dist/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,yCAAgD;AAChD,kEAA6C;AAC7C,2CAAiD;AAEjD,kBAAe,IAAA,cAAM,EAAC,eAAO,CAAC,MAAM,EAAE;IACpC,OAAO,EAAE,8BAAmB;IAC5B,OAAO,EAAE,CAAC,kBAAY,CAAC;CACxB,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/loaders/defaults.ts"],"names":[],"mappings":";;AACA,2CAA0E;AAG1E,kBAAe,KAAK,EAAE,EAAE,SAAS,EAAiB,EAAiB,EAAE;IACnE,+DAA+D;IAC/D,MAAM,MAAM,GACV,SAAS,CAAC,OAAO,CAAS,iCAAyB,CAAC,MAAM,CAAC,IAAI,OAAO,CAAA;IACxE,MAAM,eAAe,GAEjB,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAA;IAEvC,IAAI,CAAC;QACH,MAAM,mBAAmB,GAAG,qBAAa,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACrE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW,EAAE;YAC7B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW,EAAE;YAC7B,QAAQ,EAAE,CAAC,CAAC,OAAO;YACnB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE;YAC1B,YAAY,EAAE,CAAC,CAAC,IAAI;SACrB,CAAC,CAAC,CAAA;QAEH,MAAM,IAAI,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAA;QAC9D,MAAM,CAAC,KAAK,CAAC,UAAU,IAAI,CAAC,MAAM,YAAY,CAAC,CAAA;IACjD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,CAAC,IAAI,CACT,8DAA8D,KAAK,CAAC,OAAO,EAAE,CAC9E,CAAA;IACH,CAAC;AACH,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/loaders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Migration20240205173216.js","sourceRoot":"","sources":["../../src/migrations/Migration20240205173216.ts"],"names":[],"mappings":";;;AAAA,2CAA8E;AAC9E,sDAAiD;AAEjD,MAAa,+BAAgC,SAAQ,sBAAS;IAC5D,KAAK,CAAC,EAAE;QACN,IAAI,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;EAed,IAAA,oDAA4C,EAC5C,QAAQ,EACR,CAAC,UAAU,EAAE,oBAAoB,EAAE,cAAc,CAAC,EAClD,eAAe,CAChB;;;;;;;;;;;;;;;;;CAiBA,CAAC,CAAA;IACA,CAAC;CACF;AAxCD,0EAwCC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Migration20240624200006.js","sourceRoot":"","sources":["../../src/migrations/Migration20240624200006.ts"],"names":[],"mappings":";;;AAAA,2CAA8E;AAC9E,sDAAiD;AAEjD,MAAa,uBAAwB,SAAQ,sBAAS;IACpD,KAAK,CAAC,EAAE;QACN,IAAI,CAAC,MAAM,CACT,0PAA0P,CAC3P,CAAA;QACD,IAAI,CAAC,MAAM,CACT,IAAA,oDAA4C,EAC1C,gBAAgB,EAChB,CAAC,WAAW,CAAC,EACb,eAAe,CAChB,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,CACT,0EAA0E,CAC3E,CAAA;QACD,IAAI,CAAC,MAAM,CACT,4EAA4E,CAC7E,CAAA;QACD,IAAI,CAAC,MAAM,CACT,4EAA4E,CAC7E,CAAA;QACD,IAAI,CAAC,MAAM,CACT,4EAA4E,CAC7E,CAAA;QACD,IAAI,CAAC,MAAM,CACT,IAAA,oDAA4C,EAC1C,gBAAgB,EAChB,CAAC,WAAW,CAAC,EACb,cAAc,CACf,CACF,CAAA;IACH,CAAC;CACF;AAnCD,0DAmCC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"country.js","sourceRoot":"","sources":["../../src/models/country.ts"],"names":[],"mappings":";;;;;AAAA,2CAAuC;AACvC,sDAA6B;AAE7B,kBAAe,aAAK;KACjB,MAAM,CACL,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,EAChD;IACE,KAAK,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE;IAC7C,KAAK,EAAE,aAAK,CAAC,IAAI,EAAE;IACnB,QAAQ,EAAE,aAAK,CAAC,IAAI,EAAE;IACtB,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE;IAC/B,YAAY,EAAE,aAAK,CAAC,IAAI,EAAE;IAC1B,MAAM,EAAE,aAAK;SACV,SAAS,CAAC,GAAG,EAAE,CAAC,gBAAM,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;SAClD,QAAQ,EAAE;IACb,QAAQ,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CAClC,CACF;KACA,OAAO,CAAC;IACP;QACE,uFAAuF;QACvF,aAAa;QACb,EAAE,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC;QAC1B,MAAM,EAAE,IAAI;KACb;CACF,CAAC,CAAA"}
|
package/dist/models/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;AAAA,qCAA8C;AAArC,mHAAA,OAAO,OAAW;AAC3B,mCAA4C;AAAnC,iHAAA,OAAO,OAAU"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"region.js","sourceRoot":"","sources":["../../src/models/region.ts"],"names":[],"mappings":";;;;;AAAA,2CAAuC;AACvC,wDAAqC;AAErC,kBAAe,aAAK,CAAC,MAAM,CAAC,QAAQ,EAAE;IACpC,EAAE,EAAE,aAAK,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE;IAC5C,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE;IAC/B,aAAa,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE;IACxC,eAAe,EAAE,aAAK,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAC9C,SAAS,EAAE,aAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,iBAAa,CAAC;IAC7C,QAAQ,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";;;;;;AAAA,iDAAiE;AAAxD,qIAAA,OAAO,OAAuB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"region-module.js","sourceRoot":"","sources":["../../src/services/region-module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAeA,2CAWwB;AACxB,qCAAyC;AASzC,MAAqB,mBACnB,SAAQ,IAAA,qBAAa,EASlB,EAAE,MAAM,EAAN,gBAAM,EAAE,OAAO,EAAP,iBAAO,EAAE,CAAC;IAWvB,YACE,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAwB,EACpD,iBAA4C;QAE/D,aAAa;QACb,KAAK,CAAC,GAAG,SAAS,CAAC,CAAA;QAHA,sBAAiB,GAAjB,iBAAiB,CAA2B;QAI/D,IAAI,CAAC,eAAe,GAAG,cAAc,CAAA;QACrC,IAAI,CAAC,cAAc,GAAG,aAAa,CAAA;QACnC,IAAI,CAAC,eAAe,GAAG,cAAc,CAAA;IACvC,CAAC;IAaK,AAAN,KAAK,CAAC,aAAa,CACjB,IAAyC,EACxB,gBAAyB,EAAE;QAE5C,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;QAEjD,MAAM,MAAM,GAAG,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0,0 @@
|
|
1
|
-
{"root":["../src/index.ts","../src/loaders/defaults.ts","../src/loaders/index.ts","../src/migrations/Migration20240205173216.ts","../src/migrations/Migration20240624200006.ts","../src/models/country.ts","../src/models/index.ts","../src/models/region.ts","../src/services/index.ts","../src/services/region-module.ts","../src/types/index.ts"],"version":"5.6.2"}
|
package/dist/types/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":""}
|