@prisma-next/cli 0.5.0-dev.82 → 0.5.0-dev.84
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/README.md +4 -4
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -1245,7 +1245,7 @@ See `.cursor/rules/config-validation-and-normalization.mdc` for detailed pattern
|
|
|
1245
1245
|
- **`capabilities`**: Feature flags the component contributes (e.g., adapter/runtime lowering requirements). Typically namespaced by target (e.g., `{ postgres: { returning: true } }`) so contracts can be validated against the active target.
|
|
1246
1246
|
- **`types`**: Type import specs and type IDs contributed by the component. Common examples:
|
|
1247
1247
|
- `types.codecTypes.import`: Where to import codec type mappings for `contract.d.ts`.
|
|
1248
|
-
- `types.
|
|
1248
|
+
- `types.queryOperationTypes.import`: Where to import flat query-builder operation type signatures for `contract.d.ts` (adapters/extensions).
|
|
1249
1249
|
- `types.storage`: Storage type bindings (`typeId`, `nativeType`, etc.) used in authoring/emission.
|
|
1250
1250
|
- **`operations`**: Operation signatures the component contributes (extensions), used for type generation and (optionally) validation/lowering.
|
|
1251
1251
|
- **Component-specific metadata**:
|
|
@@ -1268,11 +1268,11 @@ const exampleExtension: SqlControlExtensionDescriptor<'postgres'> = {
|
|
|
1268
1268
|
targetId: 'postgres',
|
|
1269
1269
|
capabilities: { postgres: { 'example/feature': true } },
|
|
1270
1270
|
types: {
|
|
1271
|
-
|
|
1271
|
+
queryOperationTypes: {
|
|
1272
1272
|
import: {
|
|
1273
1273
|
package: '@prisma-next/extension-example/operation-types',
|
|
1274
|
-
named: '
|
|
1275
|
-
alias: '
|
|
1274
|
+
named: 'QueryOperationTypes',
|
|
1275
|
+
alias: 'ExampleQueryOperationTypes',
|
|
1276
1276
|
},
|
|
1277
1277
|
},
|
|
1278
1278
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/cli",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.84",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -27,28 +27,28 @@
|
|
|
27
27
|
"string-width": "^8.2.1",
|
|
28
28
|
"strip-ansi": "^7.2.0",
|
|
29
29
|
"wrap-ansi": "^10.0.0",
|
|
30
|
-
"@prisma-next/config": "0.5.0-dev.
|
|
31
|
-
"@prisma-next/
|
|
32
|
-
"@prisma-next/
|
|
33
|
-
"@prisma-next/
|
|
34
|
-
"@prisma-next/
|
|
35
|
-
"@prisma-next/
|
|
36
|
-
"@prisma-next/
|
|
37
|
-
"@prisma-next/
|
|
30
|
+
"@prisma-next/config": "0.5.0-dev.84",
|
|
31
|
+
"@prisma-next/emitter": "0.5.0-dev.84",
|
|
32
|
+
"@prisma-next/contract": "0.5.0-dev.84",
|
|
33
|
+
"@prisma-next/errors": "0.5.0-dev.84",
|
|
34
|
+
"@prisma-next/framework-components": "0.5.0-dev.84",
|
|
35
|
+
"@prisma-next/migration-tools": "0.5.0-dev.84",
|
|
36
|
+
"@prisma-next/utils": "0.5.0-dev.84",
|
|
37
|
+
"@prisma-next/psl-printer": "0.5.0-dev.84"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "24.10.4",
|
|
41
41
|
"tsdown": "0.22.0",
|
|
42
42
|
"typescript": "5.9.3",
|
|
43
43
|
"vitest": "4.1.5",
|
|
44
|
-
"@prisma-next/sql-contract
|
|
45
|
-
"@prisma-next/sql-
|
|
46
|
-
"@prisma-next/sql-
|
|
47
|
-
"@prisma-next/sql-contract": "0.5.0-dev.
|
|
48
|
-
"@prisma-next/sql-runtime": "0.5.0-dev.
|
|
44
|
+
"@prisma-next/sql-contract": "0.5.0-dev.84",
|
|
45
|
+
"@prisma-next/sql-contract-emitter": "0.5.0-dev.84",
|
|
46
|
+
"@prisma-next/sql-operations": "0.5.0-dev.84",
|
|
47
|
+
"@prisma-next/sql-contract-ts": "0.5.0-dev.84",
|
|
48
|
+
"@prisma-next/sql-runtime": "0.5.0-dev.84",
|
|
49
49
|
"@prisma-next/test-utils": "0.0.1",
|
|
50
|
-
"@prisma-next/
|
|
51
|
-
"@prisma-next/
|
|
50
|
+
"@prisma-next/tsconfig": "0.0.0",
|
|
51
|
+
"@prisma-next/tsdown": "0.0.0"
|
|
52
52
|
},
|
|
53
53
|
"exports": {
|
|
54
54
|
".": {
|