42 Commits

Author SHA1 Message Date
Luis Alvarez
764e0db322 Removed bootstrap.js 2021-02-24 21:58:39 -05:00
Luis Alvarez
4c156422a6 Removed features.ts 2021-02-24 21:57:38 -05:00
okbel
bcd1d46e30 updates 2021-02-24 14:37:25 -03:00
Luis Alvarez
a8607f24cd Updates to wishlist feature 2021-02-22 19:06:03 -05:00
Luis Alvarez
4b4d804d03 Removed use-action helper 2021-02-19 21:55:18 -05:00
Luis Alvarez
7cd64d2c2a Moved use-login and use-logout 2021-02-19 19:43:15 -05:00
Luis Alvarez
f4c067982a Moved wishlist use-add-item 2021-02-19 16:44:13 -05:00
Luis Alvarez
9186fe5a66 Updated useData type 2021-02-19 13:22:41 -05:00
Luis Alvarez
0816bc967d Removed useResponse helper 2021-02-19 13:19:43 -05:00
Luis Alvarez
8fc549bf55 Removed no longer required types 2021-02-19 13:09:43 -05:00
Luis Alvarez
6721ef736b Moved data hooks to new format 2021-02-19 13:02:49 -05:00
Luis Alvarez
7005e45b09 Merge branch 'agnostic' of https://github.com/vercel/commerce into agnostic 2021-02-18 23:50:11 -05:00
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
okbel
c620355448 Adding Features APO 2021-02-18 12:59:18 -03: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
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
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
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
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
e5f0809070 Improved types for operations 2021-01-29 19:24:10 -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
bafb8a4479 Added useResponse hook 2021-01-21 21:19:53 -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
ed0783cfb3 Added framework folder 2020-12-29 19:14:49 -05:00