@medusajs/store 2.1.3-snapshot-20241218105855 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,117 +1,24 @@
|
|
1
|
-
declare const StoreCurrency: import("@medusajs/framework/utils").DmlEntity<{
|
1
|
+
declare const StoreCurrency: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
2
2
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
3
3
|
currency_code: import("@medusajs/framework/utils").TextProperty;
|
4
4
|
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
5
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<{
|
5
|
+
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
6
6
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
7
7
|
name: import("@medusajs/framework/utils").TextProperty;
|
8
8
|
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
9
9
|
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
10
10
|
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
11
11
|
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
12
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any
|
13
|
-
|
14
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
15
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
16
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
17
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
18
|
-
} & {
|
12
|
+
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StoreCurrency">>;
|
13
|
+
}>, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
19
14
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
20
15
|
name: import("@medusajs/framework/utils").TextProperty;
|
21
16
|
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
22
17
|
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
23
18
|
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
24
19
|
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
25
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any
|
26
|
-
|
27
|
-
|
28
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
29
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
30
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
31
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<{
|
32
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
33
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
34
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
35
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
36
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
37
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
38
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
39
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
40
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
41
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
42
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
43
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
44
|
-
} & {
|
45
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
46
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
47
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
48
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
49
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
50
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
51
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
52
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
53
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
54
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
55
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
56
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
57
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">>, true>;
|
58
|
-
} & {
|
59
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
60
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
61
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
62
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<{
|
63
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
64
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
65
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
66
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
67
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
68
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
69
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
70
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
71
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
72
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
73
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
74
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
75
|
-
} & {
|
76
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
77
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
78
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
79
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
80
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
81
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
82
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
83
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
84
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
85
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
86
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
87
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
88
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<{
|
89
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
90
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
91
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
92
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
93
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
94
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
95
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
96
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
97
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
98
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
99
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
100
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
101
|
-
} & {
|
102
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
103
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
104
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
105
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
106
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
107
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
108
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
109
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
110
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
111
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
112
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").BelongsTo<any>, true>;
|
113
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
114
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">>, true>;
|
115
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">;
|
20
|
+
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StoreCurrency">>;
|
21
|
+
}>, "Store">, undefined>, true>;
|
22
|
+
}>, "StoreCurrency">;
|
116
23
|
export default StoreCurrency;
|
117
24
|
//# sourceMappingURL=currency.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../src/models/currency.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa
|
1
|
+
{"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../src/models/currency.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;oBASjB,CAAA;AAEF,eAAe,aAAa,CAAA"}
|
package/dist/models/store.d.ts
CHANGED
@@ -1,103 +1,16 @@
|
|
1
|
-
declare const Store: import("@medusajs/framework/utils").DmlEntity<{
|
1
|
+
declare const Store: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
2
2
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
3
3
|
name: import("@medusajs/framework/utils").TextProperty;
|
4
4
|
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
5
5
|
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
6
6
|
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
7
7
|
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
8
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<{
|
8
|
+
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
9
9
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
10
10
|
currency_code: import("@medusajs/framework/utils").TextProperty;
|
11
11
|
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
12
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<any
|
13
|
-
|
14
|
-
|
15
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
16
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
17
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
18
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
19
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
20
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
21
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
22
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
23
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
24
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
25
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
26
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
27
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
28
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">>, true>;
|
29
|
-
} & {
|
30
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
31
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
32
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
33
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
34
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
35
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
36
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
37
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
38
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
39
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
40
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
41
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
42
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
43
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
44
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
45
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
46
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
47
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
48
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
49
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">>, true>;
|
50
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
51
|
-
} & {
|
52
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
53
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
54
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
55
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
56
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
57
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
58
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<{
|
59
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
60
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
61
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
62
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
63
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
64
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
65
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
66
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
67
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
68
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
69
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
70
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
71
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
72
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
73
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
74
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
75
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
76
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
77
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
78
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">>, true>;
|
79
|
-
} & {
|
80
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
81
|
-
currency_code: import("@medusajs/framework/utils").TextProperty;
|
82
|
-
is_default: import("@medusajs/framework/utils").BooleanProperty;
|
83
|
-
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
84
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
85
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
86
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
87
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
88
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
89
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
90
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
91
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<any & {
|
92
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
93
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
94
|
-
default_sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
95
|
-
default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
96
|
-
default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
97
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
98
|
-
supported_currencies: import("@medusajs/framework/utils").HasMany<any>;
|
99
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">>, true>;
|
100
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "StoreCurrency">>;
|
101
|
-
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "Store">;
|
12
|
+
store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Store">, undefined>, true>;
|
13
|
+
}>, "StoreCurrency">>;
|
14
|
+
}>, "Store">;
|
102
15
|
export default Store;
|
103
16
|
//# sourceMappingURL=store.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/models/store.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,KAAK
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/models/store.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,KAAK;;;;;;;;;;;;;YAcP,CAAA;AAEJ,eAAe,KAAK,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"root":["../src/index.ts","../src/migrations/
|
1
|
+
{"root":["../src/index.ts","../src/migrations/initialsetup20240227075933.ts","../src/migrations/migration20240621145944.ts","../src/migrations/migration20241206083313.ts","../src/models/currency.ts","../src/models/index.ts","../src/models/store.ts","../src/services/index.ts","../src/services/store-module-service.ts","../src/services/__tests__/noop.ts","../src/types/index.ts"],"version":"5.6.2"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/store",
|
3
|
-
"version": "2.1.3
|
3
|
+
"version": "2.1.3",
|
4
4
|
"description": "Medusa Store module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -36,8 +36,8 @@
|
|
36
36
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm cache:clear"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@medusajs/framework": "2.1.3
|
40
|
-
"@medusajs/test-utils": "2.1.3
|
39
|
+
"@medusajs/framework": "^2.1.3",
|
40
|
+
"@medusajs/test-utils": "^2.1.3",
|
41
41
|
"@mikro-orm/cli": "5.9.7",
|
42
42
|
"@mikro-orm/core": "5.9.7",
|
43
43
|
"@mikro-orm/migrations": "5.9.7",
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"typescript": "^5.6.2"
|
51
51
|
},
|
52
52
|
"peerDependencies": {
|
53
|
-
"@medusajs/framework": "2.
|
53
|
+
"@medusajs/framework": "^2.0.0",
|
54
54
|
"@mikro-orm/core": "5.9.7",
|
55
55
|
"@mikro-orm/migrations": "5.9.7",
|
56
56
|
"@mikro-orm/postgresql": "5.9.7",
|