Skip to content

Commit

Permalink
fix: Update prisma. Fixes #1022
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenoo committed Nov 9, 2024
1 parent 907dde1 commit 0c03a0f
Show file tree
Hide file tree
Showing 19 changed files with 378 additions and 267 deletions.
2 changes: 1 addition & 1 deletion prisma/default.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './index'
export * from "./index"
2 changes: 1 addition & 1 deletion prisma/edge.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './default'
export * from "./default"
15 changes: 9 additions & 6 deletions prisma/edge.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions prisma/index-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const {
makeStrictEnum,
Public,
getRuntime,
skip
} = require('./runtime/index-browser.js')


Expand All @@ -16,12 +17,12 @@ exports.Prisma = Prisma
exports.$Enums = {}

/**
* Prisma Client JS version: 5.18.0
* Query Engine version: 4c784e32044a8a016d99474bd02a3b6123742169
* Prisma Client JS version: 5.22.0
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
*/
Prisma.prismaVersion = {
client: "5.18.0",
engine: "4c784e32044a8a016d99474bd02a3b6123742169"
client: "5.22.0",
engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
}

Prisma.PrismaClientKnownRequestError = () => {
Expand Down Expand Up @@ -108,6 +109,8 @@ Prisma.NullTypes = {
AnyNull: objectEnumValues.classes.AnyNull
}



/**
* Enums
*/
Expand Down
67 changes: 16 additions & 51 deletions prisma/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ export class PrismaClient<
*/
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;


/**
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
* @example
Expand Down Expand Up @@ -1006,6 +1007,8 @@ export namespace Prisma {
export import raw = runtime.raw
export import Sql = runtime.Sql



/**
* Decimal.js
*/
Expand All @@ -1032,8 +1035,8 @@ export namespace Prisma {
export import Exact = $Public.Exact

/**
* Prisma Client JS version: 5.18.0
* Query Engine version: 4c784e32044a8a016d99474bd02a3b6123742169
* Prisma Client JS version: 5.22.0
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
*/
export type PrismaVersion = {
client: string
Expand All @@ -1045,51 +1048,13 @@ export namespace Prisma {
* Utility Types
*/

/**
* From https://github.com/sindresorhus/type-fest/
* Matches a JSON object.
* This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.
*/
export type JsonObject = {[Key in string]?: JsonValue}

/**
* From https://github.com/sindresorhus/type-fest/
* Matches a JSON array.
*/
export interface JsonArray extends Array<JsonValue> {}

/**
* From https://github.com/sindresorhus/type-fest/
* Matches any valid JSON value.
*/
export type JsonValue = string | number | boolean | JsonObject | JsonArray | null

/**
* Matches a JSON object.
* Unlike `JsonObject`, this type allows undefined and read-only properties.
*/
export type InputJsonObject = {readonly [Key in string]?: InputJsonValue | null}

/**
* Matches a JSON array.
* Unlike `JsonArray`, readonly arrays are assignable to this type.
*/
export interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {}

/**
* Matches any valid value that can be used as an input for operations like
* create and update as the value of a JSON field. Unlike `JsonValue`, this
* type allows read-only arrays and read-only object properties and disallows
* `null` at the top level.
*
* `null` cannot be used as the value of a JSON field because its meaning
* would be ambiguous. Use `Prisma.JsonNull` to store the JSON null value or
* `Prisma.DbNull` to clear the JSON value and set the field to the database
* NULL value instead.
*
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values
*/
export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | { toJSON(): unknown }
export import JsonObject = runtime.JsonObject
export import JsonArray = runtime.JsonArray
export import JsonValue = runtime.JsonValue
export import InputJsonObject = runtime.InputJsonObject
export import InputJsonArray = runtime.InputJsonArray
export import InputJsonValue = runtime.InputJsonValue

/**
* Types of the values used to represent different kinds of `null` values when working with JSON fields.
Expand Down Expand Up @@ -3251,22 +3216,22 @@ export namespace Prisma {
other: {
payload: any
operations: {
$executeRawUnsafe: {
args: [query: string, ...values: any[]],
result: any
}
$executeRaw: {
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
result: any
}
$queryRawUnsafe: {
$executeRawUnsafe: {
args: [query: string, ...values: any[]],
result: any
}
$queryRaw: {
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
result: any
}
$queryRawUnsafe: {
args: [query: string, ...values: any[]],
result: any
}
}
}
}
Expand Down
15 changes: 9 additions & 6 deletions prisma/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified prisma/libquery_engine-debian-openssl-1.1.x.so.node
Binary file not shown.
Binary file modified prisma/libquery_engine-debian-openssl-3.0.x.so.node
Binary file not shown.
Binary file modified prisma/query_engine-windows.dll.node
Binary file not shown.
36 changes: 18 additions & 18 deletions prisma/runtime/edge-esm.js

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions prisma/runtime/edge.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0c03a0f

Please sign in to comment.