@use-stall/types 0.3.3 → 0.3.4
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.
- package/package.json +1 -1
- package/src/extensions.d.ts +15 -17
package/package.json
CHANGED
package/src/extensions.d.ts
CHANGED
|
@@ -47,16 +47,15 @@ interface ExtensionActionFunctionProps {
|
|
|
47
47
|
action: ExtensionLookupAction;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
50
|
+
type ListDataSourceOptions =
|
|
51
|
+
| "products"
|
|
52
|
+
| "customers"
|
|
53
|
+
| "orders"
|
|
54
|
+
| "parked_orders"
|
|
55
|
+
| "collections"
|
|
56
|
+
| "categories"
|
|
57
|
+
| "register_sessions"
|
|
58
|
+
| "session_transactions";
|
|
60
59
|
|
|
61
60
|
type ListKeyFormat =
|
|
62
61
|
| "string"
|
|
@@ -150,12 +149,11 @@ interface StallExtensionConfig {
|
|
|
150
149
|
};
|
|
151
150
|
}
|
|
152
151
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
152
|
+
type ExtensionNativeActions =
|
|
153
|
+
| "open_group"
|
|
154
|
+
| "open_page"
|
|
155
|
+
| "add_to_cart"
|
|
156
|
+
| "add_customer_to_order";
|
|
159
157
|
|
|
160
158
|
export type {
|
|
161
159
|
StallExtension,
|
|
@@ -173,7 +171,7 @@ export type {
|
|
|
173
171
|
StallExtensionConfig,
|
|
174
172
|
};
|
|
175
173
|
|
|
176
|
-
export { ListDataSourceOptions, ExtensionNativeActions };
|
|
174
|
+
export type { ListDataSourceOptions, ExtensionNativeActions };
|
|
177
175
|
|
|
178
176
|
export interface ExtensionType {
|
|
179
177
|
id: string;
|