prisma 6.6.0-integration-push-spwsqpvywlkl.9 → 6.6.0-integration-push-spwsqpvywlkl.10

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.6.0-integration-push-spwsqpvywlkl.9",
2
+ "version": "6.6.0-integration-push-spwsqpvywlkl.10",
3
3
  "name": "prisma",
4
4
  "description": "Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.",
5
5
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  "node": ">=18.18"
42
42
  },
43
43
  "prisma": {
44
- "prismaCommit": "a88147bfd6742d286d9c495865299f772e23c17f"
44
+ "prismaCommit": "bc91cf68d1296a81b6f39a1a1985b1df63bd10af"
45
45
  },
46
46
  "files": [
47
47
  "README.md",
@@ -149,20 +149,20 @@
149
149
  "typescript": "5.4.5",
150
150
  "xdg-app-paths": "8.3.0",
151
151
  "zx": "8.4.1",
152
- "@prisma/client-generator-registry": "6.6.0-integration-push-spwsqpvywlkl.9",
153
- "@prisma/client": "6.6.0-integration-push-spwsqpvywlkl.9",
154
- "@prisma/debug": "6.6.0-integration-push-spwsqpvywlkl.9",
155
- "@prisma/adapter-libsql": "6.6.0-integration-push-spwsqpvywlkl.9",
156
- "@prisma/dmmf": "6.6.0-integration-push-spwsqpvywlkl.9",
157
- "@prisma/fetch-engine": "6.6.0-integration-push-spwsqpvywlkl.9",
158
- "@prisma/generator": "6.6.0-integration-push-spwsqpvywlkl.9",
159
- "@prisma/get-platform": "6.6.0-integration-push-spwsqpvywlkl.9",
160
- "@prisma/migrate": "6.6.0-integration-push-spwsqpvywlkl.9",
161
- "@prisma/internals": "6.6.0-integration-push-spwsqpvywlkl.9"
152
+ "@prisma/client": "6.6.0-integration-push-spwsqpvywlkl.10",
153
+ "@prisma/adapter-libsql": "6.6.0-integration-push-spwsqpvywlkl.10",
154
+ "@prisma/client-generator-registry": "6.6.0-integration-push-spwsqpvywlkl.10",
155
+ "@prisma/debug": "6.6.0-integration-push-spwsqpvywlkl.10",
156
+ "@prisma/dmmf": "6.6.0-integration-push-spwsqpvywlkl.10",
157
+ "@prisma/fetch-engine": "6.6.0-integration-push-spwsqpvywlkl.10",
158
+ "@prisma/generator": "6.6.0-integration-push-spwsqpvywlkl.10",
159
+ "@prisma/get-platform": "6.6.0-integration-push-spwsqpvywlkl.10",
160
+ "@prisma/internals": "6.6.0-integration-push-spwsqpvywlkl.10",
161
+ "@prisma/migrate": "6.6.0-integration-push-spwsqpvywlkl.10"
162
162
  },
163
163
  "dependencies": {
164
- "@prisma/config": "6.6.0-integration-push-spwsqpvywlkl.9",
165
- "@prisma/engines": "6.6.0-integration-push-spwsqpvywlkl.9"
164
+ "@prisma/config": "6.6.0-integration-push-spwsqpvywlkl.10",
165
+ "@prisma/engines": "6.6.0-integration-push-spwsqpvywlkl.10"
166
166
  },
167
167
  "optionalDependencies": {
168
168
  "fsevents": "2.3.3"
@@ -5547,7 +5547,7 @@ var import_pkg_up = __toESM(require_pkg_up());
5547
5547
  // package.json
5548
5548
  var package_default = {
5549
5549
  name: "@prisma/client",
5550
- version: "6.6.0-integration-push-spwsqpvywlkl.9",
5550
+ version: "6.6.0-integration-push-spwsqpvywlkl.10",
5551
5551
  description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5552
5552
  keywords: [
5553
5553
  "ORM",
@@ -6178,6 +6178,25 @@ function file() {
6178
6178
  return new File();
6179
6179
  }
6180
6180
 
6181
+ // ../ts-builders/src/ValueBuilder.ts
6182
+ var ValueBuilder = class {
6183
+ as(type) {
6184
+ return new TypeAssertion(this, type);
6185
+ }
6186
+ };
6187
+ var TypeAssertion = class extends ValueBuilder {
6188
+ #value;
6189
+ #type;
6190
+ constructor(value, type) {
6191
+ super();
6192
+ this.#value = value;
6193
+ this.#type = type;
6194
+ }
6195
+ write(writer) {
6196
+ writer.write(this.#value).write(" as ").write(this.#type);
6197
+ }
6198
+ };
6199
+
6181
6200
  // ../ts-builders/src/PrimitiveType.ts
6182
6201
  init_TypeBuilder();
6183
6202
  var PrimitiveType = class extends TypeBuilder {
@@ -6794,6 +6813,19 @@ var StringLiteralType = class extends TypeBuilder {
6794
6813
  write(writer) {
6795
6814
  writer.write(JSON.stringify(this.content));
6796
6815
  }
6816
+ asValue() {
6817
+ return new StringLiteralValue(this);
6818
+ }
6819
+ };
6820
+ var StringLiteralValue = class extends ValueBuilder {
6821
+ #type;
6822
+ constructor(type) {
6823
+ super();
6824
+ this.#type = type;
6825
+ }
6826
+ write(writer) {
6827
+ writer.write(this.#type);
6828
+ }
6797
6829
  };
6798
6830
  function stringLiteral(content) {
6799
6831
  return new StringLiteralType(content);
@@ -11490,7 +11522,7 @@ var import_node_path3 = __toESM(require("node:path"));
11490
11522
  var import_engines_version = __toESM(require_engines_version());
11491
11523
 
11492
11524
  // ../client-generator-js/package.json
11493
- var version = "6.6.0-integration-push-spwsqpvywlkl.9";
11525
+ var version = "6.6.0-integration-push-spwsqpvywlkl.10";
11494
11526
 
11495
11527
  // ../client-generator-js/src/resolvePrismaClient.ts
11496
11528
  var import_promises4 = __toESM(require("node:fs/promises"));
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "6.6.0-integration-push-spwsqpvywlkl.9",
3
+ "version": "6.6.0-integration-push-spwsqpvywlkl.10",
4
4
  "description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5
5
  "keywords": [
6
6
  "ORM",