Update types (#831)

* Update product types

* Cart types progress, add zod & initial schema validator

* Update normalize.ts

* Update with-schema-parser.ts

* Updated types, schemas & providers

* Fix providers after schema parse errors

* Fix paths

* More provider fixes

* Fix kibocommerce & commercejs

* Add customer updated types & fixes

* Add checkout & customer types

* Import core types only from commerce

* Update tsconfig.json

* Convert hooks interfaces to types

* Requested changes

* Change to relative paths

* Move Zod dependency
This commit is contained in:
Catalin Pinte
2022-10-05 09:02:29 +03:00
committed by GitHub
parent 8398a96215
commit 6c2610584d
291 changed files with 1992 additions and 1808 deletions

12
pnpm-lock.yaml generated
View File

@@ -90,6 +90,7 @@ importers:
taskr: ^1.1.0
taskr-swc: ^0.0.1
typescript: ^4.7.4
zod: ^3.19.0
dependencies:
'@vercel/fetch': 6.2.0_wbqoqouw2iimn65bqgaw3lwmza
deepmerge: 4.2.2
@@ -97,6 +98,7 @@ importers:
js-cookie: 3.0.1
node-fetch: 2.6.7
swr: 1.3.0_react@18.2.0
zod: 3.19.1
devDependencies:
'@taskr/clear': 1.1.0
'@taskr/esnext': 1.1.0
@@ -710,7 +712,7 @@ importers:
react-merge-refs: 2.0.1
react-use-measure: 2.1.1_biqbaboplfbrettd7655fr4n2y
tabbable: 5.3.3
tailwindcss: 3.1.8
tailwindcss: 3.1.8_postcss@8.4.16
devDependencies:
'@next/bundle-analyzer': 12.3.0
'@types/body-scroll-lock': 3.1.0
@@ -9044,10 +9046,12 @@ packages:
resolution: {integrity: sha512-QD9qKY3StfbZqWOPLp0++pOrAVb/HbUi5xCc8cUo4XjP19808oaMiDzn0leBY5mCespIBM0CIZePzZjgzR83kA==}
dev: false
/tailwindcss/3.1.8:
/tailwindcss/3.1.8_postcss@8.4.16:
resolution: {integrity: sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g==}
engines: {node: '>=12.13.0'}
hasBin: true
peerDependencies:
postcss: ^8.0.9
dependencies:
arg: 5.0.2
chokidar: 3.5.3
@@ -9844,3 +9848,7 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
dev: true
/zod/3.19.1:
resolution: {integrity: sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==}
dev: false