4
0
forked from crowetic/commerce

49 Commits

Author SHA1 Message Date
Luis Alvarez
2e1d2610bb Moved more hooks and updated types to make them smaller 2021-02-18 23:22:45 -05:00
Luis Alvarez
a7df259bda Removed MutationHandler type 2021-02-18 16:07:11 -05:00
Luis Alvarez
6dc7e0b632 moved use-remove-item 2021-02-18 16:06:19 -05:00
Luis Alvarez
ff5b1e9414 Removed use-cart-actions 2021-02-18 01:55:32 -05:00
Luis Alvarez
74da22d5f4 Added better mutation types, and moved some hooks 2021-02-18 01:10:38 -05:00
Luis Alvarez
c02d7fec62 Added initial version of useAddItem 2021-02-16 21:14:11 -05:00
Luis Alvarez
fe7d6df04f Added a MutationHandler 2021-02-15 12:02:31 -05:00
Luis Alvarez
bb0b8d2771 Fixed remaining issues with types 2021-02-15 12:02:24 -05:00
Luis Alvarez
62ed50a646 Fixed product types 2021-02-15 10:15:20 -05:00
Luis Alvarez
b907c31ef2 Removed generics for result and body 2021-02-12 13:13:08 -05:00
Luis Alvarez
505d3fe04b Removed old use-data lib 2021-02-12 13:01:13 -05:00
Luis Alvarez
1549368c88 Moved useSearch to the new hook 2021-02-12 12:17:36 -05:00
Luis Alvarez
883fbcbcb9 Added a default fetcher 2021-02-11 13:35:17 -05:00
Luis Alvarez
d8de84bed1 Move useCustomer to the new hook 2021-02-11 13:26:09 -05:00
Luis Alvarez
8966f0b583 Moved useWishlist to use new handler 2021-02-11 02:43:09 -05:00
Luis Alvarez
271ed01631 Final touches to the hook handler type 2021-02-10 15:10:48 -05:00
Luis Alvarez
0eeb290eb0 Add more options to the hook handler 2021-02-10 10:51:46 -05:00
Luis Alvarez
5aecb0f303 Updated how the hook input is handled 2021-02-09 13:23:48 -05:00
Luis Alvarez
016be86d9a Added proper type for fetch input 2021-02-08 22:07:26 -05:00
Luis Alvarez
479b30ba5f Moved provider to its own file 2021-02-08 21:57:39 -05:00
Luis Alvarez
2a5cbadd3a Removed duplicated fetcher 2021-02-08 19:50:45 -05:00
Luis Alvarez
7f3174bcd0 Moved SwrOptions type 2021-02-08 18:13:29 -05:00
Luis Alvarez
82c5cd4aba Updated Fetcher type 2021-02-08 18:00:48 -05:00
Luis Alvarez
8bf42c3b50 Simplified useData types 2021-02-08 17:55:23 -05:00
Luis Alvarez
74c55cc50e Moved types 2021-02-08 17:16:45 -05:00
Luis Alvarez
17b336017c Improved HookHandler type 2021-02-08 11:16:14 -05:00
Luis Alvarez
25b14007da Removed old hook 2021-02-08 11:10:35 -05:00
Luis Alvarez
aab2e7f7cc Replace use-cart with the new hook 2021-02-08 10:52:35 -05:00
Luis Alvarez
2c9b8b100d MOving stuff around and adding temporal new files 2021-02-05 17:44:10 -05:00
Luis Alvarez
5cfa8241f6 Updated the useAddItem and useRemoveItem hooks 2021-02-02 20:16:47 -05:00
Luis Alvarez
023058dc0c Moved and updated cart types 2021-02-02 17:49:05 -05:00
Luis Alvarez
e5f0809070 Improved types for operations 2021-01-29 19:24:10 -05:00
Luis Alvarez
172b413521 Making multiple changes 2021-01-29 16:45:50 -05:00
Luis Alvarez
1de3e76513 Switch away from global types 2021-01-29 11:30:17 -05:00
Luis Alvarez
59a4535f0e More corrections for useCart 2021-01-28 18:34:44 -05:00
Luis Alvarez
3e27b80658 Added new normalizer for the cart to the UI 2021-01-28 15:54:17 -05:00
Luis Alvarez
7cf1ace9fb Updated normalizer for useData 2021-01-27 15:41:04 -05:00
Luis Alvarez
61fa423673 updated useCart types 2021-01-26 17:10:33 -05:00
Luis Alvarez
7edd5aa182 Moved normalizer to happen after fetch 2021-01-25 16:58:19 -05:00
Luis Alvarez
1588fcf6bb Minor changes 2021-01-25 15:03:59 -05:00
Luis Alvarez
905d0324f0 Moved types.d.ts to the commerce folder 2021-01-25 14:50:04 -05:00
Luis Alvarez
bafb8a4479 Added useResponse hook 2021-01-21 21:19:53 -05:00
Luis Alvarez
1db974dabd Changed the way isEmpty works 2021-01-20 15:29:02 -05:00
Luis Alvarez
a7baff45fc Bug fix 2021-01-19 18:45:50 -05:00
Luis Alvarez
10318b2fab Add loading state for data hooks 2021-01-19 17:40:27 -05:00
Luis Alvarez
4a268e738d Removed some comments 2021-01-19 17:36:09 -05:00
Belen Curcio
fc34856e50 Normalizing Cart Responses 2021-01-12 16:59:07 -03:00
Belen Curcio
3ba60fcafc Changes 2021-01-10 14:11:00 -03:00
Luis Alvarez
ed0783cfb3 Added framework folder 2020-12-29 19:14:49 -05:00