Refactor billing system and enhance logging

Updated the billing system's schema to change 'storeId' to a string type, and improved the cleanliness and readability of the code. Enhanced the logging system within the billing service for better tracking and debugging. In line with these changes, added corresponding error pages in the client side to handle any errors.
This commit is contained in:
giancarlo
2024-04-02 12:19:09 +08:00
parent 6149f6a313
commit d24cf8427f
14 changed files with 458 additions and 81 deletions

View File

@@ -13,15 +13,12 @@
".": "./src/index.ts"
},
"peerDependencies": {
"@kit/contentlayer": "workspace:*",
"@kit/wordpress": "workspace:*"
"@kit/contentlayer": "workspace:*"
},
"devDependencies": {
"@kit/contentlayer": "*",
"@kit/eslint-config": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/wordpress": "*"
"@kit/tsconfig": "workspace:*"
},
"eslintConfig": {
"root": true,