@frontstackdev/cli 0.0.0-canary-20250305082834 → 0.0.0-canary-20250306115425
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.
|
@@ -64,11 +64,7 @@ type BlockEndpoints = {
|
|
|
64
64
|
declare global {
|
|
65
65
|
{{#each components.schemas}}
|
|
66
66
|
{{#if (contains tags "blocks")}}
|
|
67
|
-
export type {{@key}} = {
|
|
68
|
-
{{#each properties}}
|
|
69
|
-
{{@key}}: {{{getSchemaType this}}}
|
|
70
|
-
{{/each}}
|
|
71
|
-
}
|
|
67
|
+
export type {{@key}} = components['schemas']['{{@key}}']
|
|
72
68
|
{{/if}}
|
|
73
69
|
{{/each}}
|
|
74
70
|
}
|
|
@@ -79,7 +75,11 @@ Solve later
|
|
|
79
75
|
|
|
80
76
|
{{#each components.schemas}}
|
|
81
77
|
{{#if (contains tags "blocks")}}
|
|
82
|
-
export type {{@key}} =
|
|
78
|
+
export type {{@key}} = {
|
|
79
|
+
{{#each properties}}
|
|
80
|
+
{{@key}}: {{{getSchemaType this}}}
|
|
81
|
+
{{/each}}
|
|
82
|
+
}
|
|
83
83
|
{{/if}}
|
|
84
84
|
{{/each}}
|
|
85
85
|
--}}
|
|
@@ -117,6 +117,34 @@ type BlockMode = {
|
|
|
117
117
|
|
|
118
118
|
export type Page = components['schemas']['Page']
|
|
119
119
|
|
|
120
|
+
{{!-- Provide global types for listing meta data --}}
|
|
121
|
+
declare global {
|
|
122
|
+
export type Pagination = components["schemas"]["_page"];
|
|
123
|
+
export type FilterData = components["schemas"]["_filter"];
|
|
124
|
+
export type FilterGroup = components["schemas"]["_filter"][string];
|
|
125
|
+
export type Filter = components["schemas"]["_filter"][string][number];
|
|
126
|
+
export type SortingGroup = components["schemas"]["_sort"];
|
|
127
|
+
export type Sorting = components["schemas"]["_sort"][number];
|
|
128
|
+
export type AggregationData = components["schemas"]["_aggregation"];
|
|
129
|
+
export type AggregationGroup = components["schemas"]["_aggregation"][string];
|
|
130
|
+
export type Aggregation = components["schemas"]["_aggregation"][string]["total"];
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
{{!-- Provide global types for all project meta fields.
|
|
134
|
+
TODO: Generate these types straight from the project config --}}
|
|
135
|
+
declare global {
|
|
136
|
+
export type Media = components['schemas']['Media']
|
|
137
|
+
export type Price = components['schemas']['Price']
|
|
138
|
+
export type PriceScale = components['schemas']['PriceScale']
|
|
139
|
+
export type Seo = components['schemas']['Seo']
|
|
140
|
+
export type Vendor = components['schemas']['Vendor']
|
|
141
|
+
export type Weight = components['schemas']['Weight']
|
|
142
|
+
export type Option = components['schemas']['Option']
|
|
143
|
+
export type Swatch = components['schemas']['Swatch']
|
|
144
|
+
export type Availability = components['schemas']['Availability']
|
|
145
|
+
export type StockLevel = components['schemas']['StockLevel']
|
|
146
|
+
}
|
|
147
|
+
|
|
120
148
|
declare global {
|
|
121
149
|
export type ContextToken = string
|
|
122
150
|
|
|
@@ -160,7 +188,7 @@ declare global {
|
|
|
160
188
|
*/
|
|
161
189
|
key: string
|
|
162
190
|
/**
|
|
163
|
-
* The URL configured for the locale - e.g. 'https://
|
|
191
|
+
* The URL configured for the locale - e.g. 'https://demo-shop.com/uk/en'
|
|
164
192
|
*/
|
|
165
193
|
url: string
|
|
166
194
|
}
|
package/dist/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.0-canary-
|
|
1
|
+
0.0.0-canary-20250306115425
|