@prisma-next/sql-contract-ts 0.3.0-dev.77 → 0.3.0-dev.79
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/config-types.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { ok } from "@prisma-next/utils/result";
|
|
|
4
4
|
//#region src/config-types.ts
|
|
5
5
|
function typescriptContract(contractIR, output) {
|
|
6
6
|
return {
|
|
7
|
-
source: async () => ok(contractIR),
|
|
7
|
+
source: async (_context) => ok(contractIR),
|
|
8
8
|
...ifDefined("output", output)
|
|
9
9
|
};
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-types.mjs","names":[],"sources":["../src/config-types.ts"],"sourcesContent":["import type { ContractConfig } from '@prisma-next/config/config-types';\nimport type { ContractIR } from '@prisma-next/contract/ir';\nimport { ifDefined } from '@prisma-next/utils/defined';\nimport { ok } from '@prisma-next/utils/result';\n\nexport function typescriptContract(contractIR: ContractIR, output?: string): ContractConfig {\n return {\n source: async () => ok(contractIR),\n ...ifDefined('output', output),\n };\n}\n"],"mappings":";;;;AAKA,SAAgB,mBAAmB,YAAwB,QAAiC;AAC1F,QAAO;EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"config-types.mjs","names":[],"sources":["../src/config-types.ts"],"sourcesContent":["import type { ContractConfig } from '@prisma-next/config/config-types';\nimport type { ContractIR } from '@prisma-next/contract/ir';\nimport { ifDefined } from '@prisma-next/utils/defined';\nimport { ok } from '@prisma-next/utils/result';\n\nexport function typescriptContract(contractIR: ContractIR, output?: string): ContractConfig {\n return {\n source: async (_context) => ok(contractIR),\n ...ifDefined('output', output),\n };\n}\n"],"mappings":";;;;AAKA,SAAgB,mBAAmB,YAAwB,QAAiC;AAC1F,QAAO;EACL,QAAQ,OAAO,aAAa,GAAG,WAAW;EAC1C,GAAG,UAAU,UAAU,OAAO;EAC/B"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/sql-contract-ts",
|
|
3
|
-
"version": "0.3.0-dev.
|
|
3
|
+
"version": "0.3.0-dev.79",
|
|
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/
|
|
11
|
-
"@prisma-next/
|
|
12
|
-
"@prisma-next/contract-authoring": "0.3.0-dev.
|
|
13
|
-
"@prisma-next/
|
|
14
|
-
"@prisma-next/
|
|
10
|
+
"@prisma-next/contract": "0.3.0-dev.79",
|
|
11
|
+
"@prisma-next/config": "0.3.0-dev.79",
|
|
12
|
+
"@prisma-next/contract-authoring": "0.3.0-dev.79",
|
|
13
|
+
"@prisma-next/utils": "0.3.0-dev.79",
|
|
14
|
+
"@prisma-next/sql-contract": "0.3.0-dev.79"
|
|
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/
|
|
24
|
-
"@prisma-next/
|
|
23
|
+
"@prisma-next/tsconfig": "0.0.0",
|
|
24
|
+
"@prisma-next/tsdown": "0.0.0"
|
|
25
25
|
},
|
|
26
26
|
"files": [
|
|
27
27
|
"dist",
|
package/src/config-types.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ok } from '@prisma-next/utils/result';
|
|
|
5
5
|
|
|
6
6
|
export function typescriptContract(contractIR: ContractIR, output?: string): ContractConfig {
|
|
7
7
|
return {
|
|
8
|
-
source: async () => ok(contractIR),
|
|
8
|
+
source: async (_context) => ok(contractIR),
|
|
9
9
|
...ifDefined('output', output),
|
|
10
10
|
};
|
|
11
11
|
}
|