@bash-app/bash-common 29.42.1 → 29.42.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/package.json +47 -47
- package/prisma/schema.prisma +1623 -1623
- package/src/definitions.ts +608 -608
- package/src/extendedSchemas.ts +557 -556
- package/src/index.ts +16 -16
- package/src/utils/addressUtils.ts +173 -173
- package/src/utils/apiUtils.ts +76 -76
- package/src/utils/awsS3Utils.ts +99 -99
- package/src/utils/dateTimeUtils.ts +199 -199
- package/src/utils/paymentUtils.ts +56 -56
- package/src/utils/promoCodesUtils.ts +29 -29
- package/src/utils/qrCodeUtils.ts +23 -23
- package/src/utils/recurrenceUtils.ts +175 -175
- package/src/utils/service/serviceUtils.ts +121 -121
- package/src/utils/service/venueUtils.ts +45 -45
- package/src/utils/sortUtils.ts +28 -28
- package/src/utils/stripeAccountUtils.ts +11 -11
- package/src/utils/ticketListUtils.ts +78 -78
- package/src/utils/urlUtils.ts +29 -29
- package/tsconfig.json +19 -19
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Getting Started
|
|
2
|
-
|
|
3
|
-
If you have issues with a Prisma enum being undefined:
|
|
4
|
-
|
|
5
|
-
1. Make certain that the enum is used in a model. If it isn't, it won't show up.
|
|
6
|
-
|
|
7
|
-
You can add an unused enum to the model `unusedModelButNeededForSomeTypesToBeDefinedForTypescript`
|
|
8
|
-
2. Delete node_modules directory and reinstall.
|
|
1
|
+
# Getting Started
|
|
2
|
+
|
|
3
|
+
If you have issues with a Prisma enum being undefined:
|
|
4
|
+
|
|
5
|
+
1. Make certain that the enum is used in a model. If it isn't, it won't show up.
|
|
6
|
+
|
|
7
|
+
You can add an unused enum to the model `unusedModelButNeededForSomeTypesToBeDefinedForTypescript`
|
|
8
|
+
2. Delete node_modules directory and reinstall.
|
package/package.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bash-app/bash-common",
|
|
3
|
-
"version": "29.42.
|
|
4
|
-
"description": "Common data and scripts to use on the frontend and backend",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "src/index.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "npm run generate && npm run tsc",
|
|
9
|
-
"generate": "prisma generate",
|
|
10
|
-
"db": "prisma generate && prisma db push",
|
|
11
|
-
"tsc": "tsc",
|
|
12
|
-
"prepublishOnly": "npm run build"
|
|
13
|
-
},
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "git+ssh://git@github.com/bash-community/bash-common.git"
|
|
17
|
-
},
|
|
18
|
-
"author": "Frank Nielson and Steve Goodrick",
|
|
19
|
-
"license": "ISC",
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@aws-sdk/client-s3": "^3.529.0",
|
|
22
|
-
"@aws-sdk/client-textract": "^3.529.0",
|
|
23
|
-
"@aws-sdk/s3-request-presigner": "^3.529.0",
|
|
24
|
-
"@testing-library/jest-dom": "^6.6.3",
|
|
25
|
-
"@types/qrcode": "^1.5.5",
|
|
26
|
-
"qrcode": "^1.5.3"
|
|
27
|
-
},
|
|
28
|
-
"peerDependencies": {
|
|
29
|
-
"@prisma/client": "^5.18.0",
|
|
30
|
-
"dayjs": "^1.11.10",
|
|
31
|
-
"prisma": "^5.18.0",
|
|
32
|
-
"react-tailwindcss-datepicker": "^1.6.6",
|
|
33
|
-
"tsx": "^4.10.3"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@types/jest": "^29.5.5",
|
|
37
|
-
"@types/node": "^20.11.1",
|
|
38
|
-
"@types/react": "^18.3.2",
|
|
39
|
-
"@types/shelljs": "^0.8.15",
|
|
40
|
-
"jest": "^29.7.0",
|
|
41
|
-
"shelljs": "^0.8.5",
|
|
42
|
-
"ts-jest": "^29.1.1",
|
|
43
|
-
"ts-node": "^10.9.1",
|
|
44
|
-
"tslib": "^2.6.2",
|
|
45
|
-
"typescript": "^5.2.2"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bash-app/bash-common",
|
|
3
|
+
"version": "29.42.2",
|
|
4
|
+
"description": "Common data and scripts to use on the frontend and backend",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "npm run generate && npm run tsc",
|
|
9
|
+
"generate": "prisma generate",
|
|
10
|
+
"db": "prisma generate && prisma db push",
|
|
11
|
+
"tsc": "tsc",
|
|
12
|
+
"prepublishOnly": "npm run build"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+ssh://git@github.com/bash-community/bash-common.git"
|
|
17
|
+
},
|
|
18
|
+
"author": "Frank Nielson and Steve Goodrick",
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@aws-sdk/client-s3": "^3.529.0",
|
|
22
|
+
"@aws-sdk/client-textract": "^3.529.0",
|
|
23
|
+
"@aws-sdk/s3-request-presigner": "^3.529.0",
|
|
24
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
25
|
+
"@types/qrcode": "^1.5.5",
|
|
26
|
+
"qrcode": "^1.5.3"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@prisma/client": "^5.18.0",
|
|
30
|
+
"dayjs": "^1.11.10",
|
|
31
|
+
"prisma": "^5.18.0",
|
|
32
|
+
"react-tailwindcss-datepicker": "^1.6.6",
|
|
33
|
+
"tsx": "^4.10.3"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/jest": "^29.5.5",
|
|
37
|
+
"@types/node": "^20.11.1",
|
|
38
|
+
"@types/react": "^18.3.2",
|
|
39
|
+
"@types/shelljs": "^0.8.15",
|
|
40
|
+
"jest": "^29.7.0",
|
|
41
|
+
"shelljs": "^0.8.5",
|
|
42
|
+
"ts-jest": "^29.1.1",
|
|
43
|
+
"ts-node": "^10.9.1",
|
|
44
|
+
"tslib": "^2.6.2",
|
|
45
|
+
"typescript": "^5.2.2"
|
|
46
|
+
}
|
|
47
|
+
}
|