@virtality/schema 0.0.1-alpha0.2.9 → 0.0.1-alpha0.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virtality/schema",
3
- "version": "0.0.1-alpha0.2.9",
3
+ "version": "0.0.1-alpha0.3.1",
4
4
  "description": "",
5
5
  "main": "prisma/generated/client.js",
6
6
  "types": "prisma/generated/client.d.ts",
@@ -17,10 +17,6 @@
17
17
  "typescript",
18
18
  "types"
19
19
  ],
20
- "scripts": {
21
- "generate": "prisma generate",
22
- "build": "rm -rf ./prisma/generated && tsc"
23
- },
24
20
  "dependencies": {
25
21
  "@prisma/client": "7.1.0",
26
22
  "dotenv": "17.2.3"
@@ -35,5 +31,10 @@
35
31
  "overrides": {
36
32
  "hono": "^4.10.7",
37
33
  "valibot": "^1.2.0"
34
+ },
35
+ "scripts": {
36
+ "generate": "prisma generate",
37
+ "migrate:dev": "prisma migrate dev",
38
+ "build": "rm -rf ./prisma/generated && tsc"
38
39
  }
39
- }
40
+ }
@@ -3,65 +3,70 @@ export { Prisma };
3
3
  export * as $Enums from './enums.js';
4
4
  export * from './enums.js';
5
5
  /**
6
- * Model Account
6
+ * Model Avatar
7
7
  *
8
8
  */
9
- export type Account = Prisma.AccountModel;
9
+ export type Avatar = Prisma.AvatarModel;
10
10
  /**
11
- * Model User
11
+ * Model Map
12
12
  *
13
13
  */
14
- export type User = Prisma.UserModel;
14
+ export type Map = Prisma.MapModel;
15
15
  /**
16
- * Model Session
16
+ * Model Device
17
17
  *
18
18
  */
19
- export type Session = Prisma.SessionModel;
19
+ export type Device = Prisma.DeviceModel;
20
20
  /**
21
- * Model Verification
21
+ * Model User
22
22
  *
23
23
  */
24
- export type Verification = Prisma.VerificationModel;
24
+ export type User = Prisma.UserModel;
25
25
  /**
26
- * Model Organization
26
+ * Model Account
27
27
  *
28
28
  */
29
- export type Organization = Prisma.OrganizationModel;
29
+ export type Account = Prisma.AccountModel;
30
30
  /**
31
- * Model Member
31
+ * Model Session
32
32
  *
33
33
  */
34
- export type Member = Prisma.MemberModel;
34
+ export type Session = Prisma.SessionModel;
35
35
  /**
36
- * Model Invitation
36
+ * Model Verification
37
37
  *
38
38
  */
39
- export type Invitation = Prisma.InvitationModel;
39
+ export type Verification = Prisma.VerificationModel;
40
+ /**
41
+ * Model ReferralCode
42
+ *
43
+ */
44
+ export type ReferralCode = Prisma.ReferralCodeModel;
40
45
  /**
41
46
  * Model Subscription
42
47
  *
43
48
  */
44
49
  export type Subscription = Prisma.SubscriptionModel;
45
50
  /**
46
- * Model Device
51
+ * Model WaitingList
47
52
  *
48
53
  */
49
- export type Device = Prisma.DeviceModel;
54
+ export type WaitingList = Prisma.WaitingListModel;
50
55
  /**
51
- * Model Exercise
56
+ * Model BugReport
52
57
  *
53
58
  */
54
- export type Exercise = Prisma.ExerciseModel;
59
+ export type BugReport = Prisma.BugReportModel;
55
60
  /**
56
- * Model Patient
61
+ * Model BugReportImage
57
62
  *
58
63
  */
59
- export type Patient = Prisma.PatientModel;
64
+ export type BugReportImage = Prisma.BugReportImageModel;
60
65
  /**
61
- * Model MedicalHistory
66
+ * Model Exercise
62
67
  *
63
68
  */
64
- export type MedicalHistory = Prisma.MedicalHistoryModel;
69
+ export type Exercise = Prisma.ExerciseModel;
65
70
  /**
66
71
  * Model Preset
67
72
  *
@@ -73,15 +78,20 @@ export type Preset = Prisma.PresetModel;
73
78
  */
74
79
  export type PresetExercise = Prisma.PresetExerciseModel;
75
80
  /**
76
- * Model PatientProgram
81
+ * Model Organization
77
82
  *
78
83
  */
79
- export type PatientProgram = Prisma.PatientProgramModel;
84
+ export type Organization = Prisma.OrganizationModel;
80
85
  /**
81
- * Model ProgramExercise
86
+ * Model Member
82
87
  *
83
88
  */
84
- export type ProgramExercise = Prisma.ProgramExerciseModel;
89
+ export type Member = Prisma.MemberModel;
90
+ /**
91
+ * Model Invitation
92
+ *
93
+ */
94
+ export type Invitation = Prisma.InvitationModel;
85
95
  /**
86
96
  * Model PatientSession
87
97
  *
@@ -98,37 +108,32 @@ export type SessionExercise = Prisma.SessionExerciseModel;
98
108
  */
99
109
  export type SessionData = Prisma.SessionDataModel;
100
110
  /**
101
- * Model Avatar
102
- *
103
- */
104
- export type Avatar = Prisma.AvatarModel;
105
- /**
106
- * Model Map
111
+ * Model SupplementalTherapy
107
112
  *
108
113
  */
109
- export type Map = Prisma.MapModel;
114
+ export type SupplementalTherapy = Prisma.SupplementalTherapyModel;
110
115
  /**
111
- * Model WaitingList
116
+ * Model PatientSessionSupplementalTherapyRel
112
117
  *
113
118
  */
114
- export type WaitingList = Prisma.WaitingListModel;
119
+ export type PatientSessionSupplementalTherapyRel = Prisma.PatientSessionSupplementalTherapyRelModel;
115
120
  /**
116
- * Model BugReport
121
+ * Model Patient
117
122
  *
118
123
  */
119
- export type BugReport = Prisma.BugReportModel;
124
+ export type Patient = Prisma.PatientModel;
120
125
  /**
121
- * Model BugReportImage
126
+ * Model MedicalHistory
122
127
  *
123
128
  */
124
- export type BugReportImage = Prisma.BugReportImageModel;
129
+ export type MedicalHistory = Prisma.MedicalHistoryModel;
125
130
  /**
126
- * Model SupplementalTherapy
131
+ * Model PatientProgram
127
132
  *
128
133
  */
129
- export type SupplementalTherapy = Prisma.SupplementalTherapyModel;
134
+ export type PatientProgram = Prisma.PatientProgramModel;
130
135
  /**
131
- * Model PatientSessionSupplementalTherapyRel
136
+ * Model ProgramExercise
132
137
  *
133
138
  */
134
- export type PatientSessionSupplementalTherapyRel = Prisma.PatientSessionSupplementalTherapyRelModel;
139
+ export type ProgramExercise = Prisma.ProgramExerciseModel;
@@ -10,75 +10,80 @@ export * from "./enums.js";
10
10
  * @example
11
11
  * ```
12
12
  * const prisma = new PrismaClient()
13
- * // Fetch zero or more Accounts
14
- * const accounts = await prisma.account.findMany()
13
+ * // Fetch zero or more Avatars
14
+ * const avatars = await prisma.avatar.findMany()
15
15
  * ```
16
16
  *
17
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
17
+ * Read more in our [docs](https://pris.ly/d/client).
18
18
  */
19
19
  export declare const PrismaClient: $Class.PrismaClientConstructor;
20
20
  export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
21
21
  export { Prisma };
22
22
  /**
23
- * Model Account
23
+ * Model Avatar
24
24
  *
25
25
  */
26
- export type Account = Prisma.AccountModel;
26
+ export type Avatar = Prisma.AvatarModel;
27
27
  /**
28
- * Model User
28
+ * Model Map
29
29
  *
30
30
  */
31
- export type User = Prisma.UserModel;
31
+ export type Map = Prisma.MapModel;
32
32
  /**
33
- * Model Session
33
+ * Model Device
34
34
  *
35
35
  */
36
- export type Session = Prisma.SessionModel;
36
+ export type Device = Prisma.DeviceModel;
37
37
  /**
38
- * Model Verification
38
+ * Model User
39
39
  *
40
40
  */
41
- export type Verification = Prisma.VerificationModel;
41
+ export type User = Prisma.UserModel;
42
42
  /**
43
- * Model Organization
43
+ * Model Account
44
44
  *
45
45
  */
46
- export type Organization = Prisma.OrganizationModel;
46
+ export type Account = Prisma.AccountModel;
47
47
  /**
48
- * Model Member
48
+ * Model Session
49
49
  *
50
50
  */
51
- export type Member = Prisma.MemberModel;
51
+ export type Session = Prisma.SessionModel;
52
52
  /**
53
- * Model Invitation
53
+ * Model Verification
54
54
  *
55
55
  */
56
- export type Invitation = Prisma.InvitationModel;
56
+ export type Verification = Prisma.VerificationModel;
57
+ /**
58
+ * Model ReferralCode
59
+ *
60
+ */
61
+ export type ReferralCode = Prisma.ReferralCodeModel;
57
62
  /**
58
63
  * Model Subscription
59
64
  *
60
65
  */
61
66
  export type Subscription = Prisma.SubscriptionModel;
62
67
  /**
63
- * Model Device
68
+ * Model WaitingList
64
69
  *
65
70
  */
66
- export type Device = Prisma.DeviceModel;
71
+ export type WaitingList = Prisma.WaitingListModel;
67
72
  /**
68
- * Model Exercise
73
+ * Model BugReport
69
74
  *
70
75
  */
71
- export type Exercise = Prisma.ExerciseModel;
76
+ export type BugReport = Prisma.BugReportModel;
72
77
  /**
73
- * Model Patient
78
+ * Model BugReportImage
74
79
  *
75
80
  */
76
- export type Patient = Prisma.PatientModel;
81
+ export type BugReportImage = Prisma.BugReportImageModel;
77
82
  /**
78
- * Model MedicalHistory
83
+ * Model Exercise
79
84
  *
80
85
  */
81
- export type MedicalHistory = Prisma.MedicalHistoryModel;
86
+ export type Exercise = Prisma.ExerciseModel;
82
87
  /**
83
88
  * Model Preset
84
89
  *
@@ -90,15 +95,20 @@ export type Preset = Prisma.PresetModel;
90
95
  */
91
96
  export type PresetExercise = Prisma.PresetExerciseModel;
92
97
  /**
93
- * Model PatientProgram
98
+ * Model Organization
94
99
  *
95
100
  */
96
- export type PatientProgram = Prisma.PatientProgramModel;
101
+ export type Organization = Prisma.OrganizationModel;
97
102
  /**
98
- * Model ProgramExercise
103
+ * Model Member
99
104
  *
100
105
  */
101
- export type ProgramExercise = Prisma.ProgramExerciseModel;
106
+ export type Member = Prisma.MemberModel;
107
+ /**
108
+ * Model Invitation
109
+ *
110
+ */
111
+ export type Invitation = Prisma.InvitationModel;
102
112
  /**
103
113
  * Model PatientSession
104
114
  *
@@ -115,37 +125,32 @@ export type SessionExercise = Prisma.SessionExerciseModel;
115
125
  */
116
126
  export type SessionData = Prisma.SessionDataModel;
117
127
  /**
118
- * Model Avatar
119
- *
120
- */
121
- export type Avatar = Prisma.AvatarModel;
122
- /**
123
- * Model Map
128
+ * Model SupplementalTherapy
124
129
  *
125
130
  */
126
- export type Map = Prisma.MapModel;
131
+ export type SupplementalTherapy = Prisma.SupplementalTherapyModel;
127
132
  /**
128
- * Model WaitingList
133
+ * Model PatientSessionSupplementalTherapyRel
129
134
  *
130
135
  */
131
- export type WaitingList = Prisma.WaitingListModel;
136
+ export type PatientSessionSupplementalTherapyRel = Prisma.PatientSessionSupplementalTherapyRelModel;
132
137
  /**
133
- * Model BugReport
138
+ * Model Patient
134
139
  *
135
140
  */
136
- export type BugReport = Prisma.BugReportModel;
141
+ export type Patient = Prisma.PatientModel;
137
142
  /**
138
- * Model BugReportImage
143
+ * Model MedicalHistory
139
144
  *
140
145
  */
141
- export type BugReportImage = Prisma.BugReportImageModel;
146
+ export type MedicalHistory = Prisma.MedicalHistoryModel;
142
147
  /**
143
- * Model SupplementalTherapy
148
+ * Model PatientProgram
144
149
  *
145
150
  */
146
- export type SupplementalTherapy = Prisma.SupplementalTherapyModel;
151
+ export type PatientProgram = Prisma.PatientProgramModel;
147
152
  /**
148
- * Model PatientSessionSupplementalTherapyRel
153
+ * Model ProgramExercise
149
154
  *
150
155
  */
151
- export type PatientSessionSupplementalTherapyRel = Prisma.PatientSessionSupplementalTherapyRelModel;
156
+ export type ProgramExercise = Prisma.ProgramExerciseModel;
@@ -22,11 +22,11 @@ export * from "./enums.js";
22
22
  * @example
23
23
  * ```
24
24
  * const prisma = new PrismaClient()
25
- * // Fetch zero or more Accounts
26
- * const accounts = await prisma.account.findMany()
25
+ * // Fetch zero or more Avatars
26
+ * const avatars = await prisma.avatar.findMany()
27
27
  * ```
28
28
  *
29
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
29
+ * Read more in our [docs](https://pris.ly/d/client).
30
30
  */
31
31
  export const PrismaClient = $Class.getPrismaClientClass();
32
32
  export { Prisma };