@prisma-next/sql-contract-ts 0.3.0-dev.125 → 0.3.0-dev.126

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,17 +1,17 @@
1
1
  {
2
2
  "name": "@prisma-next/sql-contract-ts",
3
- "version": "0.3.0-dev.125",
3
+ "version": "0.3.0-dev.126",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "SQL-specific TypeScript contract authoring surface for Prisma Next",
7
7
  "dependencies": {
8
8
  "arktype": "^2.1.25",
9
9
  "ts-toolbelt": "^9.6.0",
10
- "@prisma-next/config": "0.3.0-dev.125",
11
- "@prisma-next/contract": "0.3.0-dev.125",
12
- "@prisma-next/contract-authoring": "0.3.0-dev.125",
13
- "@prisma-next/sql-contract": "0.3.0-dev.125",
14
- "@prisma-next/utils": "0.3.0-dev.125"
10
+ "@prisma-next/config": "0.3.0-dev.126",
11
+ "@prisma-next/contract-authoring": "0.3.0-dev.126",
12
+ "@prisma-next/sql-contract": "0.3.0-dev.126",
13
+ "@prisma-next/utils": "0.3.0-dev.126",
14
+ "@prisma-next/contract": "0.3.0-dev.126"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/pg": "8.16.0",
@@ -20,8 +20,8 @@
20
20
  "typescript": "5.9.3",
21
21
  "vitest": "4.0.17",
22
22
  "@prisma-next/test-utils": "0.0.1",
23
- "@prisma-next/tsconfig": "0.0.0",
24
- "@prisma-next/tsdown": "0.0.0"
23
+ "@prisma-next/tsdown": "0.0.0",
24
+ "@prisma-next/tsconfig": "0.0.0"
25
25
  },
26
26
  "files": [
27
27
  "dist",
@@ -544,6 +544,14 @@
544
544
  "column": {
545
545
  "type": "string",
546
546
  "description": "Column name in the model's backing table"
547
+ },
548
+ "codecId": {
549
+ "type": "string",
550
+ "description": "Codec identifier for the field (derived from storage column)"
551
+ },
552
+ "nullable": {
553
+ "type": "boolean",
554
+ "description": "Whether the field allows NULL values (derived from storage column)"
547
555
  }
548
556
  },
549
557
  "required": ["column"]
@@ -561,6 +569,11 @@
561
569
  "enum": ["1:1", "1:N", "N:1", "N:M"],
562
570
  "description": "Relation cardinality"
563
571
  },
572
+ "strategy": {
573
+ "type": "string",
574
+ "enum": ["reference", "embed"],
575
+ "description": "Relation strategy"
576
+ },
564
577
  "on": {
565
578
  "type": "object",
566
579
  "description": "Relation field mappings",