document-drive 6.0.0-dev.108 → 6.0.0-dev.109

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.
@@ -1 +1 @@
1
- export * from './index'
1
+ export * from "./index";
@@ -1,4 +1,3 @@
1
-
2
1
  Object.defineProperty(exports, "__esModule", { value: true });
3
2
 
4
3
  const {
@@ -7,13 +6,12 @@ const {
7
6
  makeStrictEnum,
8
7
  Public,
9
8
  getRuntime,
10
- } = require('./runtime/index-browser.js')
11
-
9
+ } = require("./runtime/index-browser.js");
12
10
 
13
- const Prisma = {}
11
+ const Prisma = {};
14
12
 
15
- exports.Prisma = Prisma
16
- exports.$Enums = {}
13
+ exports.Prisma = Prisma;
14
+ exports.$Enums = {};
17
15
 
18
16
  /**
19
17
  * Prisma Client JS version: 5.17.0
@@ -21,40 +19,40 @@ exports.$Enums = {}
21
19
  */
22
20
  Prisma.prismaVersion = {
23
21
  client: "5.17.0",
24
- engine: "393aa359c9ad4a4bb28630fb5613f9c281cde053"
25
- }
22
+ engine: "393aa359c9ad4a4bb28630fb5613f9c281cde053",
23
+ };
26
24
 
27
25
  Prisma.PrismaClientKnownRequestError = () => {
28
26
  const runtimeName = getRuntime().prettyName;
29
27
  throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
30
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
31
- )};
28
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
29
+ };
32
30
  Prisma.PrismaClientUnknownRequestError = () => {
33
31
  const runtimeName = getRuntime().prettyName;
34
32
  throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
35
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
36
- )}
33
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
34
+ };
37
35
  Prisma.PrismaClientRustPanicError = () => {
38
36
  const runtimeName = getRuntime().prettyName;
39
37
  throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
40
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
41
- )}
38
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
39
+ };
42
40
  Prisma.PrismaClientInitializationError = () => {
43
41
  const runtimeName = getRuntime().prettyName;
44
42
  throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
45
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
46
- )}
43
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
44
+ };
47
45
  Prisma.PrismaClientValidationError = () => {
48
46
  const runtimeName = getRuntime().prettyName;
49
47
  throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
50
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
51
- )}
48
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
49
+ };
52
50
  Prisma.NotFoundError = () => {
53
51
  const runtimeName = getRuntime().prettyName;
54
52
  throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
55
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
56
- )}
57
- Prisma.Decimal = Decimal
53
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
54
+ };
55
+ Prisma.Decimal = Decimal;
58
56
 
59
57
  /**
60
58
  * Re-export of sql-template-tag
@@ -62,156 +60,155 @@ Prisma.Decimal = Decimal
62
60
  Prisma.sql = () => {
63
61
  const runtimeName = getRuntime().prettyName;
64
62
  throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
65
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
66
- )}
63
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
64
+ };
67
65
  Prisma.empty = () => {
68
66
  const runtimeName = getRuntime().prettyName;
69
67
  throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
70
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
71
- )}
68
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
69
+ };
72
70
  Prisma.join = () => {
73
71
  const runtimeName = getRuntime().prettyName;
74
72
  throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
75
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
76
- )}
73
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
74
+ };
77
75
  Prisma.raw = () => {
78
76
  const runtimeName = getRuntime().prettyName;
79
77
  throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
80
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
81
- )}
82
- Prisma.validator = Public.validator
78
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
79
+ };
80
+ Prisma.validator = Public.validator;
83
81
 
84
82
  /**
85
- * Extensions
86
- */
83
+ * Extensions
84
+ */
87
85
  Prisma.getExtensionContext = () => {
88
86
  const runtimeName = getRuntime().prettyName;
89
87
  throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
90
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
91
- )}
88
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
89
+ };
92
90
  Prisma.defineExtension = () => {
93
91
  const runtimeName = getRuntime().prettyName;
94
92
  throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
95
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
96
- )}
93
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`);
94
+ };
97
95
 
98
96
  /**
99
97
  * Shorthand utilities for JSON filtering
100
98
  */
101
- Prisma.DbNull = objectEnumValues.instances.DbNull
102
- Prisma.JsonNull = objectEnumValues.instances.JsonNull
103
- Prisma.AnyNull = objectEnumValues.instances.AnyNull
99
+ Prisma.DbNull = objectEnumValues.instances.DbNull;
100
+ Prisma.JsonNull = objectEnumValues.instances.JsonNull;
101
+ Prisma.AnyNull = objectEnumValues.instances.AnyNull;
104
102
 
105
103
  Prisma.NullTypes = {
106
104
  DbNull: objectEnumValues.classes.DbNull,
107
105
  JsonNull: objectEnumValues.classes.JsonNull,
108
- AnyNull: objectEnumValues.classes.AnyNull
109
- }
106
+ AnyNull: objectEnumValues.classes.AnyNull,
107
+ };
110
108
 
111
109
  /**
112
110
  * Enums
113
111
  */
114
112
 
115
113
  exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
116
- ReadUncommitted: 'ReadUncommitted',
117
- ReadCommitted: 'ReadCommitted',
118
- RepeatableRead: 'RepeatableRead',
119
- Serializable: 'Serializable'
114
+ ReadUncommitted: "ReadUncommitted",
115
+ ReadCommitted: "ReadCommitted",
116
+ RepeatableRead: "RepeatableRead",
117
+ Serializable: "Serializable",
120
118
  });
121
119
 
122
120
  exports.Prisma.DriveScalarFieldEnum = {
123
- id: 'id'
121
+ id: "id",
124
122
  };
125
123
 
126
124
  exports.Prisma.DocumentScalarFieldEnum = {
127
- id: 'id',
128
- ordinal: 'ordinal',
129
- created: 'created',
130
- lastModified: 'lastModified',
131
- slug: 'slug',
132
- revision: 'revision',
133
- name: 'name',
134
- initialState: 'initialState',
135
- documentType: 'documentType',
136
- meta: 'meta',
137
- scopes: 'scopes'
125
+ id: "id",
126
+ ordinal: "ordinal",
127
+ created: "created",
128
+ lastModified: "lastModified",
129
+ slug: "slug",
130
+ revision: "revision",
131
+ name: "name",
132
+ initialState: "initialState",
133
+ documentType: "documentType",
134
+ meta: "meta",
135
+ scopes: "scopes",
138
136
  };
139
137
 
140
138
  exports.Prisma.DriveDocumentScalarFieldEnum = {
141
- driveId: 'driveId',
142
- documentId: 'documentId'
139
+ driveId: "driveId",
140
+ documentId: "documentId",
143
141
  };
144
142
 
145
143
  exports.Prisma.OperationScalarFieldEnum = {
146
- id: 'id',
147
- opId: 'opId',
148
- documentId: 'documentId',
149
- scope: 'scope',
150
- branch: 'branch',
151
- index: 'index',
152
- skip: 'skip',
153
- hash: 'hash',
154
- timestamp: 'timestamp',
155
- actionId: 'actionId',
156
- input: 'input',
157
- type: 'type',
158
- syncId: 'syncId',
159
- clipboard: 'clipboard',
160
- context: 'context',
161
- resultingState: 'resultingState'
144
+ id: "id",
145
+ opId: "opId",
146
+ documentId: "documentId",
147
+ scope: "scope",
148
+ branch: "branch",
149
+ index: "index",
150
+ skip: "skip",
151
+ hash: "hash",
152
+ timestamp: "timestamp",
153
+ actionId: "actionId",
154
+ input: "input",
155
+ type: "type",
156
+ syncId: "syncId",
157
+ clipboard: "clipboard",
158
+ context: "context",
159
+ resultingState: "resultingState",
162
160
  };
163
161
 
164
162
  exports.Prisma.SynchronizationUnitScalarFieldEnum = {
165
- id: 'id',
166
- documentId: 'documentId',
167
- scope: 'scope',
168
- branch: 'branch'
163
+ id: "id",
164
+ documentId: "documentId",
165
+ scope: "scope",
166
+ branch: "branch",
169
167
  };
170
168
 
171
169
  exports.Prisma.AttachmentScalarFieldEnum = {
172
- id: 'id',
173
- operationId: 'operationId',
174
- mimeType: 'mimeType',
175
- data: 'data',
176
- filename: 'filename',
177
- extension: 'extension',
178
- hash: 'hash'
170
+ id: "id",
171
+ operationId: "operationId",
172
+ mimeType: "mimeType",
173
+ data: "data",
174
+ filename: "filename",
175
+ extension: "extension",
176
+ hash: "hash",
179
177
  };
180
178
 
181
179
  exports.Prisma.SortOrder = {
182
- asc: 'asc',
183
- desc: 'desc'
180
+ asc: "asc",
181
+ desc: "desc",
184
182
  };
185
183
 
186
184
  exports.Prisma.NullableJsonNullValueInput = {
187
185
  DbNull: Prisma.DbNull,
188
- JsonNull: Prisma.JsonNull
186
+ JsonNull: Prisma.JsonNull,
189
187
  };
190
188
 
191
189
  exports.Prisma.QueryMode = {
192
- default: 'default',
193
- insensitive: 'insensitive'
190
+ default: "default",
191
+ insensitive: "insensitive",
194
192
  };
195
193
 
196
194
  exports.Prisma.NullsOrder = {
197
- first: 'first',
198
- last: 'last'
195
+ first: "first",
196
+ last: "last",
199
197
  };
200
198
 
201
199
  exports.Prisma.JsonNullValueFilter = {
202
200
  DbNull: Prisma.DbNull,
203
201
  JsonNull: Prisma.JsonNull,
204
- AnyNull: Prisma.AnyNull
202
+ AnyNull: Prisma.AnyNull,
205
203
  };
206
204
 
207
-
208
205
  exports.Prisma.ModelName = {
209
- Drive: 'Drive',
210
- Document: 'Document',
211
- DriveDocument: 'DriveDocument',
212
- Operation: 'Operation',
213
- SynchronizationUnit: 'SynchronizationUnit',
214
- Attachment: 'Attachment'
206
+ Drive: "Drive",
207
+ Document: "Document",
208
+ DriveDocument: "DriveDocument",
209
+ Operation: "Operation",
210
+ SynchronizationUnit: "SynchronizationUnit",
211
+ Attachment: "Attachment",
215
212
  };
216
213
 
217
214
  /**
@@ -221,26 +218,29 @@ class PrismaClient {
221
218
  constructor() {
222
219
  return new Proxy(this, {
223
220
  get(target, prop) {
224
- let message
225
- const runtime = getRuntime()
221
+ let message;
222
+ const runtime = getRuntime();
226
223
  if (runtime.isEdge) {
227
224
  message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
228
225
  - Use Prisma Accelerate: https://pris.ly/d/accelerate
229
226
  - Use Driver Adapters: https://pris.ly/d/driver-adapters
230
227
  `;
231
228
  } else {
232
- message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
229
+ message =
230
+ "PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `" +
231
+ runtime.prettyName +
232
+ "`).";
233
233
  }
234
-
234
+
235
235
  message += `
236
- If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
236
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`;
237
237
 
238
- throw new Error(message)
239
- }
240
- })
238
+ throw new Error(message);
239
+ },
240
+ });
241
241
  }
242
242
  }
243
243
 
244
- exports.PrismaClient = PrismaClient
244
+ exports.PrismaClient = PrismaClient;
245
245
 
246
- Object.assign(exports, Prisma)
246
+ Object.assign(exports, Prisma);