@virtality/schema 0.0.1-alpha0.2.2 → 0.0.1-alpha0.2.3
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 +5 -1
- package/prisma/generated/browser.d.ts +0 -124
- package/prisma/generated/browser.js +0 -17
- package/prisma/generated/client.d.ts +0 -141
- package/prisma/generated/client.js +0 -32
- package/prisma/generated/commonInputTypes.d.ts +0 -537
- package/prisma/generated/commonInputTypes.js +0 -10
- package/prisma/generated/enums.d.ts +0 -10
- package/prisma/generated/enums.js +0 -17
- package/prisma/generated/internal/class.d.ts +0 -379
- package/prisma/generated/internal/class.js +0 -40
- package/prisma/generated/internal/prismaNamespace.d.ts +0 -2567
- package/prisma/generated/internal/prismaNamespace.js +0 -368
- package/prisma/generated/internal/prismaNamespaceBrowser.d.ts +0 -354
- package/prisma/generated/internal/prismaNamespaceBrowser.js +0 -339
- package/prisma/generated/models/Account.d.ts +0 -1463
- package/prisma/generated/models/Account.js +0 -1
- package/prisma/generated/models/Avatar.d.ts +0 -937
- package/prisma/generated/models/Avatar.js +0 -1
- package/prisma/generated/models/BugReport.d.ts +0 -1223
- package/prisma/generated/models/BugReport.js +0 -1
- package/prisma/generated/models/BugReportImage.d.ts +0 -1101
- package/prisma/generated/models/BugReportImage.js +0 -1
- package/prisma/generated/models/Device.d.ts +0 -1276
- package/prisma/generated/models/Device.js +0 -1
- package/prisma/generated/models/Exercise.d.ts +0 -1569
- package/prisma/generated/models/Exercise.js +0 -1
- package/prisma/generated/models/Invitation.d.ts +0 -1358
- package/prisma/generated/models/Invitation.js +0 -1
- package/prisma/generated/models/Map.d.ts +0 -937
- package/prisma/generated/models/Map.js +0 -1
- package/prisma/generated/models/MedicalHistory.d.ts +0 -1334
- package/prisma/generated/models/MedicalHistory.js +0 -1
- package/prisma/generated/models/Member.d.ts +0 -1276
- package/prisma/generated/models/Member.js +0 -1
- package/prisma/generated/models/Organization.d.ts +0 -1366
- package/prisma/generated/models/Organization.js +0 -1
- package/prisma/generated/models/Patient.d.ts +0 -1773
- package/prisma/generated/models/Patient.js +0 -1
- package/prisma/generated/models/PatientProgram.d.ts +0 -1616
- package/prisma/generated/models/PatientProgram.js +0 -1
- package/prisma/generated/models/PatientSession.d.ts +0 -1724
- package/prisma/generated/models/PatientSession.js +0 -1
- package/prisma/generated/models/Preset.d.ts +0 -1505
- package/prisma/generated/models/Preset.js +0 -1
- package/prisma/generated/models/PresetExercise.d.ts +0 -1516
- package/prisma/generated/models/PresetExercise.js +0 -1
- package/prisma/generated/models/ProgramExercise.d.ts +0 -1461
- package/prisma/generated/models/ProgramExercise.js +0 -1
- package/prisma/generated/models/Session.d.ts +0 -1346
- package/prisma/generated/models/Session.js +0 -1
- package/prisma/generated/models/SessionData.d.ts +0 -1271
- package/prisma/generated/models/SessionData.js +0 -1
- package/prisma/generated/models/SessionExercise.d.ts +0 -1618
- package/prisma/generated/models/SessionExercise.js +0 -1
- package/prisma/generated/models/Subscription.d.ts +0 -1234
- package/prisma/generated/models/Subscription.js +0 -1
- package/prisma/generated/models/User.d.ts +0 -2465
- package/prisma/generated/models/User.js +0 -1
- package/prisma/generated/models/Verification.d.ts +0 -1021
- package/prisma/generated/models/Verification.js +0 -1
- package/prisma/generated/models/WaitingList.d.ts +0 -993
- package/prisma/generated/models/WaitingList.js +0 -1
- package/prisma/generated/models.d.ts +0 -25
- package/prisma/generated/models.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virtality/schema",
|
|
3
|
-
"version": "0.0.1-alpha0.2.
|
|
3
|
+
"version": "0.0.1-alpha0.2.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "prisma/generated/client.js",
|
|
6
6
|
"types": "prisma/generated/client.d.ts",
|
|
@@ -31,5 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@prisma/client": ">=6"
|
|
34
|
+
},
|
|
35
|
+
"overrides": {
|
|
36
|
+
"hono": "^4.10.7",
|
|
37
|
+
"valibot": "^1.2.0"
|
|
34
38
|
}
|
|
35
39
|
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import * as Prisma from './internal/prismaNamespaceBrowser.js';
|
|
2
|
-
export { Prisma };
|
|
3
|
-
export * as $Enums from './enums.js';
|
|
4
|
-
export * from './enums.js';
|
|
5
|
-
/**
|
|
6
|
-
* Model Account
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export type Account = Prisma.AccountModel;
|
|
10
|
-
/**
|
|
11
|
-
* Model User
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export type User = Prisma.UserModel;
|
|
15
|
-
/**
|
|
16
|
-
* Model Session
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type Session = Prisma.SessionModel;
|
|
20
|
-
/**
|
|
21
|
-
* Model Verification
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
export type Verification = Prisma.VerificationModel;
|
|
25
|
-
/**
|
|
26
|
-
* Model Organization
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export type Organization = Prisma.OrganizationModel;
|
|
30
|
-
/**
|
|
31
|
-
* Model Member
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export type Member = Prisma.MemberModel;
|
|
35
|
-
/**
|
|
36
|
-
* Model Invitation
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
export type Invitation = Prisma.InvitationModel;
|
|
40
|
-
/**
|
|
41
|
-
* Model Subscription
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export type Subscription = Prisma.SubscriptionModel;
|
|
45
|
-
/**
|
|
46
|
-
* Model Device
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export type Device = Prisma.DeviceModel;
|
|
50
|
-
/**
|
|
51
|
-
* Model Exercise
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export type Exercise = Prisma.ExerciseModel;
|
|
55
|
-
/**
|
|
56
|
-
* Model Patient
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
export type Patient = Prisma.PatientModel;
|
|
60
|
-
/**
|
|
61
|
-
* Model MedicalHistory
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export type MedicalHistory = Prisma.MedicalHistoryModel;
|
|
65
|
-
/**
|
|
66
|
-
* Model Preset
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
export type Preset = Prisma.PresetModel;
|
|
70
|
-
/**
|
|
71
|
-
* Model PresetExercise
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
|
-
export type PresetExercise = Prisma.PresetExerciseModel;
|
|
75
|
-
/**
|
|
76
|
-
* Model PatientProgram
|
|
77
|
-
*
|
|
78
|
-
*/
|
|
79
|
-
export type PatientProgram = Prisma.PatientProgramModel;
|
|
80
|
-
/**
|
|
81
|
-
* Model ProgramExercise
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
|
-
export type ProgramExercise = Prisma.ProgramExerciseModel;
|
|
85
|
-
/**
|
|
86
|
-
* Model PatientSession
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
export type PatientSession = Prisma.PatientSessionModel;
|
|
90
|
-
/**
|
|
91
|
-
* Model SessionExercise
|
|
92
|
-
*
|
|
93
|
-
*/
|
|
94
|
-
export type SessionExercise = Prisma.SessionExerciseModel;
|
|
95
|
-
/**
|
|
96
|
-
* Model SessionData
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
export type SessionData = Prisma.SessionDataModel;
|
|
100
|
-
/**
|
|
101
|
-
* Model Avatar
|
|
102
|
-
*
|
|
103
|
-
*/
|
|
104
|
-
export type Avatar = Prisma.AvatarModel;
|
|
105
|
-
/**
|
|
106
|
-
* Model Map
|
|
107
|
-
*
|
|
108
|
-
*/
|
|
109
|
-
export type Map = Prisma.MapModel;
|
|
110
|
-
/**
|
|
111
|
-
* Model WaitingList
|
|
112
|
-
*
|
|
113
|
-
*/
|
|
114
|
-
export type WaitingList = Prisma.WaitingListModel;
|
|
115
|
-
/**
|
|
116
|
-
* Model BugReport
|
|
117
|
-
*
|
|
118
|
-
*/
|
|
119
|
-
export type BugReport = Prisma.BugReportModel;
|
|
120
|
-
/**
|
|
121
|
-
* Model BugReportImage
|
|
122
|
-
*
|
|
123
|
-
*/
|
|
124
|
-
export type BugReportImage = Prisma.BugReportImageModel;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// biome-ignore-all lint: generated file
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/*
|
|
6
|
-
* This file should be your main import to use Prisma-related types and utilities in a browser.
|
|
7
|
-
* Use it to get access to models, enums, and input types.
|
|
8
|
-
*
|
|
9
|
-
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
10
|
-
* See `client.ts` for the standard, server-side entry point.
|
|
11
|
-
*
|
|
12
|
-
* 🟢 You can import this file directly.
|
|
13
|
-
*/
|
|
14
|
-
import * as Prisma from './internal/prismaNamespaceBrowser.js';
|
|
15
|
-
export { Prisma };
|
|
16
|
-
export * as $Enums from './enums.js';
|
|
17
|
-
export * from './enums.js';
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import * as $Class from "./internal/class.js";
|
|
3
|
-
import * as Prisma from "./internal/prismaNamespace.js";
|
|
4
|
-
export * as $Enums from './enums.js';
|
|
5
|
-
export * from "./enums.js";
|
|
6
|
-
/**
|
|
7
|
-
* ## Prisma Client
|
|
8
|
-
*
|
|
9
|
-
* Type-safe database client for TypeScript
|
|
10
|
-
* @example
|
|
11
|
-
* ```
|
|
12
|
-
* const prisma = new PrismaClient()
|
|
13
|
-
* // Fetch zero or more Accounts
|
|
14
|
-
* const accounts = await prisma.account.findMany()
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
|
|
18
|
-
*/
|
|
19
|
-
export declare const PrismaClient: $Class.PrismaClientConstructor;
|
|
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
|
-
export { Prisma };
|
|
22
|
-
/**
|
|
23
|
-
* Model Account
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
export type Account = Prisma.AccountModel;
|
|
27
|
-
/**
|
|
28
|
-
* Model User
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
export type User = Prisma.UserModel;
|
|
32
|
-
/**
|
|
33
|
-
* Model Session
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
export type Session = Prisma.SessionModel;
|
|
37
|
-
/**
|
|
38
|
-
* Model Verification
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export type Verification = Prisma.VerificationModel;
|
|
42
|
-
/**
|
|
43
|
-
* Model Organization
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export type Organization = Prisma.OrganizationModel;
|
|
47
|
-
/**
|
|
48
|
-
* Model Member
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export type Member = Prisma.MemberModel;
|
|
52
|
-
/**
|
|
53
|
-
* Model Invitation
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
export type Invitation = Prisma.InvitationModel;
|
|
57
|
-
/**
|
|
58
|
-
* Model Subscription
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export type Subscription = Prisma.SubscriptionModel;
|
|
62
|
-
/**
|
|
63
|
-
* Model Device
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
export type Device = Prisma.DeviceModel;
|
|
67
|
-
/**
|
|
68
|
-
* Model Exercise
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
export type Exercise = Prisma.ExerciseModel;
|
|
72
|
-
/**
|
|
73
|
-
* Model Patient
|
|
74
|
-
*
|
|
75
|
-
*/
|
|
76
|
-
export type Patient = Prisma.PatientModel;
|
|
77
|
-
/**
|
|
78
|
-
* Model MedicalHistory
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
export type MedicalHistory = Prisma.MedicalHistoryModel;
|
|
82
|
-
/**
|
|
83
|
-
* Model Preset
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
export type Preset = Prisma.PresetModel;
|
|
87
|
-
/**
|
|
88
|
-
* Model PresetExercise
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
export type PresetExercise = Prisma.PresetExerciseModel;
|
|
92
|
-
/**
|
|
93
|
-
* Model PatientProgram
|
|
94
|
-
*
|
|
95
|
-
*/
|
|
96
|
-
export type PatientProgram = Prisma.PatientProgramModel;
|
|
97
|
-
/**
|
|
98
|
-
* Model ProgramExercise
|
|
99
|
-
*
|
|
100
|
-
*/
|
|
101
|
-
export type ProgramExercise = Prisma.ProgramExerciseModel;
|
|
102
|
-
/**
|
|
103
|
-
* Model PatientSession
|
|
104
|
-
*
|
|
105
|
-
*/
|
|
106
|
-
export type PatientSession = Prisma.PatientSessionModel;
|
|
107
|
-
/**
|
|
108
|
-
* Model SessionExercise
|
|
109
|
-
*
|
|
110
|
-
*/
|
|
111
|
-
export type SessionExercise = Prisma.SessionExerciseModel;
|
|
112
|
-
/**
|
|
113
|
-
* Model SessionData
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
export type SessionData = Prisma.SessionDataModel;
|
|
117
|
-
/**
|
|
118
|
-
* Model Avatar
|
|
119
|
-
*
|
|
120
|
-
*/
|
|
121
|
-
export type Avatar = Prisma.AvatarModel;
|
|
122
|
-
/**
|
|
123
|
-
* Model Map
|
|
124
|
-
*
|
|
125
|
-
*/
|
|
126
|
-
export type Map = Prisma.MapModel;
|
|
127
|
-
/**
|
|
128
|
-
* Model WaitingList
|
|
129
|
-
*
|
|
130
|
-
*/
|
|
131
|
-
export type WaitingList = Prisma.WaitingListModel;
|
|
132
|
-
/**
|
|
133
|
-
* Model BugReport
|
|
134
|
-
*
|
|
135
|
-
*/
|
|
136
|
-
export type BugReport = Prisma.BugReportModel;
|
|
137
|
-
/**
|
|
138
|
-
* Model BugReportImage
|
|
139
|
-
*
|
|
140
|
-
*/
|
|
141
|
-
export type BugReportImage = Prisma.BugReportImageModel;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// biome-ignore-all lint: generated file
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/*
|
|
6
|
-
* This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
|
|
7
|
-
* If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
import * as path from 'node:path';
|
|
12
|
-
import { fileURLToPath } from 'node:url';
|
|
13
|
-
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url));
|
|
14
|
-
import * as $Class from "./internal/class.js";
|
|
15
|
-
import * as Prisma from "./internal/prismaNamespace.js";
|
|
16
|
-
export * as $Enums from './enums.js';
|
|
17
|
-
export * from "./enums.js";
|
|
18
|
-
/**
|
|
19
|
-
* ## Prisma Client
|
|
20
|
-
*
|
|
21
|
-
* Type-safe database client for TypeScript
|
|
22
|
-
* @example
|
|
23
|
-
* ```
|
|
24
|
-
* const prisma = new PrismaClient()
|
|
25
|
-
* // Fetch zero or more Accounts
|
|
26
|
-
* const accounts = await prisma.account.findMany()
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
|
|
30
|
-
*/
|
|
31
|
-
export const PrismaClient = $Class.getPrismaClientClass();
|
|
32
|
-
export { Prisma };
|