@prisma/client-runtime-utils 7.5.0-dev.36 → 7.5.0-dev.37
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/nullTypes.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -343,6 +343,7 @@ declare class NullTypesEnumValue extends ObjectEnumValue {
|
|
|
343
343
|
* Base class for unique values of object-valued enums.
|
|
344
344
|
*/
|
|
345
345
|
export declare abstract class ObjectEnumValue {
|
|
346
|
+
#private;
|
|
346
347
|
constructor(arg?: symbol);
|
|
347
348
|
abstract _getNamespace(): string;
|
|
348
349
|
_getName(): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -343,6 +343,7 @@ declare class NullTypesEnumValue extends ObjectEnumValue {
|
|
|
343
343
|
* Base class for unique values of object-valued enums.
|
|
344
344
|
*/
|
|
345
345
|
export declare abstract class ObjectEnumValue {
|
|
346
|
+
#private;
|
|
346
347
|
constructor(arg?: symbol);
|
|
347
348
|
abstract _getNamespace(): string;
|
|
348
349
|
_getName(): string;
|
package/dist/index.js
CHANGED
|
@@ -196,20 +196,20 @@ setClassName(PrismaClientValidationError, "PrismaClientValidationError");
|
|
|
196
196
|
|
|
197
197
|
// src/nullTypes.ts
|
|
198
198
|
var secret = Symbol();
|
|
199
|
-
var representations = /* @__PURE__ */ new WeakMap();
|
|
200
199
|
var ObjectEnumValue = class {
|
|
200
|
+
#representation;
|
|
201
201
|
constructor(arg) {
|
|
202
202
|
if (arg === secret) {
|
|
203
|
-
|
|
203
|
+
this.#representation = `Prisma.${this._getName()}`;
|
|
204
204
|
} else {
|
|
205
|
-
|
|
205
|
+
this.#representation = `new Prisma.${this._getNamespace()}.${this._getName()}()`;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
_getName() {
|
|
209
209
|
return this.constructor.name;
|
|
210
210
|
}
|
|
211
211
|
toString() {
|
|
212
|
-
return
|
|
212
|
+
return this.#representation;
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
function setClassName2(classObject, name) {
|
package/dist/index.mjs
CHANGED
|
@@ -147,20 +147,20 @@ setClassName(PrismaClientValidationError, "PrismaClientValidationError");
|
|
|
147
147
|
|
|
148
148
|
// src/nullTypes.ts
|
|
149
149
|
var secret = Symbol();
|
|
150
|
-
var representations = /* @__PURE__ */ new WeakMap();
|
|
151
150
|
var ObjectEnumValue = class {
|
|
151
|
+
#representation;
|
|
152
152
|
constructor(arg) {
|
|
153
153
|
if (arg === secret) {
|
|
154
|
-
|
|
154
|
+
this.#representation = `Prisma.${this._getName()}`;
|
|
155
155
|
} else {
|
|
156
|
-
|
|
156
|
+
this.#representation = `new Prisma.${this._getNamespace()}.${this._getName()}()`;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
_getName() {
|
|
160
160
|
return this.constructor.name;
|
|
161
161
|
}
|
|
162
162
|
toString() {
|
|
163
|
-
return
|
|
163
|
+
return this.#representation;
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
166
|
function setClassName2(classObject, name) {
|
package/dist/nullTypes.d.ts
CHANGED