@betterinternship/db 1.0.13 → 1.1.0

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.
Files changed (66) hide show
  1. package/dist/prisma/browser.ts +29 -0
  2. package/dist/prisma/client.d.ts +1 -0
  3. package/dist/prisma/client.js +5 -0
  4. package/dist/prisma/client.ts +51 -0
  5. package/dist/prisma/commonInputTypes.ts +349 -0
  6. package/dist/prisma/default.d.ts +1 -0
  7. package/dist/prisma/default.js +5 -0
  8. package/dist/prisma/edge.d.ts +1 -0
  9. package/dist/prisma/edge.js +175 -0
  10. package/dist/prisma/enums.ts +15 -0
  11. package/dist/prisma/index-browser.js +205 -0
  12. package/dist/prisma/index.d.ts +4237 -0
  13. package/dist/prisma/index.js +175 -0
  14. package/dist/prisma/internal/class.ts +202 -0
  15. package/dist/prisma/internal/prismaNamespace.ts +883 -0
  16. package/dist/prisma/internal/prismaNamespaceBrowser.ts +140 -0
  17. package/dist/prisma/models/processes.ts +1318 -0
  18. package/dist/prisma/models/tasks.ts +1507 -0
  19. package/dist/prisma/models.ts +13 -0
  20. package/dist/prisma/package.json +144 -0
  21. package/dist/prisma/query_compiler_fast_bg.js +2 -0
  22. package/dist/prisma/query_compiler_fast_bg.wasm +0 -0
  23. package/dist/prisma/query_compiler_fast_bg.wasm-base64.js +2 -0
  24. package/dist/prisma/runtime/client.d.ts +3304 -0
  25. package/dist/prisma/runtime/client.js +86 -0
  26. package/dist/prisma/runtime/index-browser.d.ts +87 -0
  27. package/dist/prisma/runtime/index-browser.js +6 -0
  28. package/dist/prisma/runtime/wasm-compiler-edge.js +76 -0
  29. package/dist/prisma/schema.prisma +34 -0
  30. package/dist/prisma/wasm-edge-light-loader.mjs +5 -0
  31. package/dist/prisma/wasm-worker-loader.mjs +5 -0
  32. package/dist/src/db/index.d.ts +9 -6
  33. package/dist/src/db/index.js +1 -1
  34. package/dist/src/db/index.js.map +1 -1
  35. package/dist/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +3 -2
  37. package/dist/src/prisma/browser.d.ts +0 -6
  38. package/dist/src/prisma/browser.js +0 -44
  39. package/dist/src/prisma/browser.js.map +0 -1
  40. package/dist/src/prisma/client.d.ts +0 -10
  41. package/dist/src/prisma/client.js +0 -49
  42. package/dist/src/prisma/client.js.map +0 -1
  43. package/dist/src/prisma/commonInputTypes.d.ts +0 -294
  44. package/dist/src/prisma/commonInputTypes.js +0 -3
  45. package/dist/src/prisma/commonInputTypes.js.map +0 -1
  46. package/dist/src/prisma/enums.d.ts +0 -1
  47. package/dist/src/prisma/enums.js +0 -3
  48. package/dist/src/prisma/enums.js.map +0 -1
  49. package/dist/src/prisma/internal/class.d.ts +0 -38
  50. package/dist/src/prisma/internal/class.js +0 -67
  51. package/dist/src/prisma/internal/class.js.map +0 -1
  52. package/dist/src/prisma/internal/prismaNamespace.d.ts +0 -460
  53. package/dist/src/prisma/internal/prismaNamespace.js +0 -113
  54. package/dist/src/prisma/internal/prismaNamespace.js.map +0 -1
  55. package/dist/src/prisma/internal/prismaNamespaceBrowser.d.ts +0 -71
  56. package/dist/src/prisma/internal/prismaNamespaceBrowser.js +0 -97
  57. package/dist/src/prisma/internal/prismaNamespaceBrowser.js.map +0 -1
  58. package/dist/src/prisma/models/processes.d.ts +0 -503
  59. package/dist/src/prisma/models/processes.js +0 -3
  60. package/dist/src/prisma/models/processes.js.map +0 -1
  61. package/dist/src/prisma/models/tasks.d.ts +0 -709
  62. package/dist/src/prisma/models/tasks.js +0 -3
  63. package/dist/src/prisma/models/tasks.js.map +0 -1
  64. package/dist/src/prisma/models.d.ts +0 -3
  65. package/dist/src/prisma/models.js +0 -3
  66. package/dist/src/prisma/models.js.map +0 -1
@@ -0,0 +1,205 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+
8
+ const {
9
+ Decimal,
10
+ DbNull,
11
+ JsonNull,
12
+ AnyNull,
13
+ NullTypes,
14
+ makeStrictEnum,
15
+ Public,
16
+ getRuntime,
17
+ skip
18
+ } = require('./runtime/index-browser.js')
19
+
20
+
21
+ const Prisma = {}
22
+
23
+ exports.Prisma = Prisma
24
+ exports.$Enums = {}
25
+
26
+ /**
27
+ * Prisma Client JS version: 7.3.0
28
+ * Query Engine version: 9d6ad21cbbceab97458517b147a6a09ff43aa735
29
+ */
30
+ Prisma.prismaVersion = {
31
+ client: "7.3.0",
32
+ engine: "9d6ad21cbbceab97458517b147a6a09ff43aa735"
33
+ }
34
+
35
+ Prisma.PrismaClientKnownRequestError = () => {
36
+ const runtimeName = getRuntime().prettyName;
37
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
38
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
39
+ )};
40
+ Prisma.PrismaClientUnknownRequestError = () => {
41
+ const runtimeName = getRuntime().prettyName;
42
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
43
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
44
+ )}
45
+ Prisma.PrismaClientRustPanicError = () => {
46
+ const runtimeName = getRuntime().prettyName;
47
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
48
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
49
+ )}
50
+ Prisma.PrismaClientInitializationError = () => {
51
+ const runtimeName = getRuntime().prettyName;
52
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
53
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
54
+ )}
55
+ Prisma.PrismaClientValidationError = () => {
56
+ const runtimeName = getRuntime().prettyName;
57
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
58
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
59
+ )}
60
+ Prisma.Decimal = Decimal
61
+
62
+ /**
63
+ * Re-export of sql-template-tag
64
+ */
65
+ Prisma.sql = () => {
66
+ const runtimeName = getRuntime().prettyName;
67
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
68
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
69
+ )}
70
+ Prisma.empty = () => {
71
+ const runtimeName = getRuntime().prettyName;
72
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
73
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
74
+ )}
75
+ Prisma.join = () => {
76
+ const runtimeName = getRuntime().prettyName;
77
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
78
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
79
+ )}
80
+ Prisma.raw = () => {
81
+ const runtimeName = getRuntime().prettyName;
82
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
83
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
84
+ )}
85
+ Prisma.validator = Public.validator
86
+
87
+ /**
88
+ * Extensions
89
+ */
90
+ Prisma.getExtensionContext = () => {
91
+ const runtimeName = getRuntime().prettyName;
92
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
93
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
94
+ )}
95
+ Prisma.defineExtension = () => {
96
+ const runtimeName = getRuntime().prettyName;
97
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
98
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
99
+ )}
100
+
101
+ /**
102
+ * Shorthand utilities for JSON filtering
103
+ */
104
+ Prisma.DbNull = DbNull
105
+ Prisma.JsonNull = JsonNull
106
+ Prisma.AnyNull = AnyNull
107
+
108
+ Prisma.NullTypes = NullTypes
109
+
110
+
111
+
112
+ /**
113
+ * Enums
114
+ */
115
+
116
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
117
+ ReadUncommitted: 'ReadUncommitted',
118
+ ReadCommitted: 'ReadCommitted',
119
+ RepeatableRead: 'RepeatableRead',
120
+ Serializable: 'Serializable'
121
+ });
122
+
123
+ exports.Prisma.ProcessesScalarFieldEnum = {
124
+ id: 'id',
125
+ result: 'result',
126
+ status: 'status',
127
+ error: 'error',
128
+ timestamp: 'timestamp'
129
+ };
130
+
131
+ exports.Prisma.TasksScalarFieldEnum = {
132
+ id: 'id',
133
+ internal_id: 'internal_id',
134
+ handler_id: 'handler_id',
135
+ parent_id: 'parent_id',
136
+ process_id: 'process_id',
137
+ inputs: 'inputs',
138
+ result: 'result',
139
+ status: 'status',
140
+ error: 'error',
141
+ timestamp: 'timestamp'
142
+ };
143
+
144
+ exports.Prisma.SortOrder = {
145
+ asc: 'asc',
146
+ desc: 'desc'
147
+ };
148
+
149
+ exports.Prisma.NullableJsonNullValueInput = {
150
+ DbNull: Prisma.DbNull,
151
+ JsonNull: Prisma.JsonNull
152
+ };
153
+
154
+ exports.Prisma.QueryMode = {
155
+ default: 'default',
156
+ insensitive: 'insensitive'
157
+ };
158
+
159
+ exports.Prisma.JsonNullValueFilter = {
160
+ DbNull: Prisma.DbNull,
161
+ JsonNull: Prisma.JsonNull,
162
+ AnyNull: Prisma.AnyNull
163
+ };
164
+
165
+ exports.Prisma.NullsOrder = {
166
+ first: 'first',
167
+ last: 'last'
168
+ };
169
+
170
+
171
+ exports.Prisma.ModelName = {
172
+ processes: 'processes',
173
+ tasks: 'tasks'
174
+ };
175
+
176
+ /**
177
+ * This is a stub Prisma Client that will error at runtime if called.
178
+ */
179
+ class PrismaClient {
180
+ constructor() {
181
+ return new Proxy(this, {
182
+ get(target, prop) {
183
+ let message
184
+ const runtime = getRuntime()
185
+ if (runtime.isEdge) {
186
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
187
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
188
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
189
+ `;
190
+ } else {
191
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
192
+ }
193
+
194
+ message += `
195
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
196
+
197
+ throw new Error(message)
198
+ }
199
+ })
200
+ }
201
+ }
202
+
203
+ exports.PrismaClient = PrismaClient
204
+
205
+ Object.assign(exports, Prisma)