Commit 01d68a3
[WIP] Node.js provider for the API (vercel#252)
* Adding multiple initial files
* Updated the default cart endpoint
* Fixes
* Updated CommerceAPI class for better usage
* Adding more migration changes
* Taking multiple steps into better API types
* Adding more experimental types
* Removed many testing types
* Adding types, fixes and other updates
* Updated commerce types
* Updated types for hooks now using the API
* Updated mutation types
* Simplified cart types for the provider
* Updated cart hooks
* Remove normalizers from the hooks
* Updated cart endpoint
* Removed cart handlers
* bug fixes
* Improve quantity input behavior in cart item
* Removed endpoints folder
* Making progress on api operations
* Moved method
* Moved types
* Changed the way ops are created
* Added customer endpoint
* Login endpoint
* Added logout endpoint
* Add missing logout files
* Added signup endpoint
* Removed customers old endpoints
* Moved endpoints to nested folder
* Removed old customer endpoint builders
* Updated login operation
* Updated login operation
* Added getAllPages operation
* Renamed endpoint operations to handlers
* Changed import
* Renamed operations to handlers in usage
* Moved getAllPages everywhere
* Moved getPage
* Updated getPage usage
* Moved getSiteInfo
* Added def types for product
* Updated type
* moved products catalog endpoint
* removed old catalog endpoint
* Moved wishlist
* Removed commerce.endpoint
* Replaced references to commerce.endpoint
* Updated catalog products
* Moved checkout api
* Added the get customer wishlist operation
* Removed old wishlist stuff
* Added getAllProductPaths operation
* updated reference to operation
* Moved getAllProducts
* Updated getProduct operation
* Removed old getConfig and references
* Removed is-allowed-method from BC
* Updated types for auth hooks
* Updated useCustomer and core types
* Updated useData and util hooks
* Updated useSearch hook
* Updated types for useWishlist
* Added index for types
* Fixes
* Updated urls to the API
* Renamed fetchInput to fetcherInput
* Updated fetch type
* Fixes in search hook
* Updated Shopify Provider Structure (vercel#340)
* Add codegen, update fragments & schemas
* Update checkout-create.ts
* Update checkout-create.ts
* Update README.md
* Update product mutations & queries
* Uptate customer fetch types
* Update schemas
* Start updates
* Moved Page, AllPages & Site Info
* Moved product, all products (paths)
* Add translations, update operations & fixes
* Update api endpoints, types & fixes
* Add api checkout endpoint
* Updates
* Fixes
* Update commerce.config.json
Co-authored-by: B <curciobelen@gmail.com>
* Added category type and normalizer
* updated init script to exclude other providers
* Excluded swell and venture temporarily
* Fix category & color normalization
* Fixed category normalizer in shopify
* Don't use getSlug for category on /search
* Update colors.ts
Co-authored-by: cond0r <pinte_catalin@yahoo.com>
Co-authored-by: B <curciobelen@gmail.com>1 parent f6f4229 commit 01d68a3
File tree
249 files changed
+4641
-2976
lines changed- components
- cart/CartItem
- common
- HomeAllProductsGrid
- Layout
- product
- ProductCard
- ProductView
- Swatch
- wishlist
- WishlistButton
- WishlistCard
- framework
- bigcommerce
- api
- cart
- catalog
- customers
- endpoints
- cart
- catalog/products
- checkout
- customer
- login
- logout
- signup
- wishlist
- utils
- operations
- utils
- wishlist
- auth
- cart
- common
- customer
- lib
- product
- types
- wishlist
- commerce
- api
- endpoints
- catalog
- utils
- auth
- cart
- customer
- product
- types
- utils
- wishlist
- shopify
- api
- cart
- catalog
- customers
- endpoints
- catalog
- checkout
- operations
- utils
- wishlist
- auth
- cart
- common
- customer
- product
- types
- utils
- mutations
- queries
- lib
- api
- pages
- api
- bigcommerce
- catalog
- customers
- catalog
- product
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
249 files changed
+4641
-2976
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | | - | |
9 | 11 | | |
10 | 12 | | |
11 | | - | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| 151 | + | |
149 | 152 | | |
150 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments