@prisma-next/core-control-plane 0.1.0-dev.20 → 0.1.0-dev.22
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/exports/types.d.ts +8 -1
- package/package.json +4 -4
package/dist/exports/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TargetBoundComponentDescriptor, FamilyInstance, DriverInstance, FamilyDescriptor, TargetInstance, TargetDescriptor, AdapterInstance, AdapterDescriptor, DriverDescriptor, ExtensionInstance, ExtensionDescriptor } from '@prisma-next/contract/framework-components';
|
|
2
2
|
import { ContractIR } from '@prisma-next/contract/ir';
|
|
3
|
-
import { TargetFamilyHook } from '@prisma-next/contract/types';
|
|
3
|
+
import { ContractMarkerRecord, TargetFamilyHook } from '@prisma-next/contract/types';
|
|
4
4
|
import { Result } from '@prisma-next/utils/result';
|
|
5
5
|
import { CoreSchemaView } from './schema-view.js';
|
|
6
6
|
|
|
@@ -223,6 +223,13 @@ interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR = unknown> e
|
|
|
223
223
|
readonly contractPath: string;
|
|
224
224
|
readonly configPath?: string;
|
|
225
225
|
}): Promise<SignDatabaseResult>;
|
|
226
|
+
/**
|
|
227
|
+
* Reads the contract marker from the database.
|
|
228
|
+
* Returns null if no marker exists.
|
|
229
|
+
*/
|
|
230
|
+
readMarker(options: {
|
|
231
|
+
readonly driver: ControlDriverInstance<TFamilyId, string>;
|
|
232
|
+
}): Promise<ContractMarkerRecord | null>;
|
|
226
233
|
/**
|
|
227
234
|
* Introspects the database schema and returns a family-specific schema IR.
|
|
228
235
|
*
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/core-control-plane",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "Control plane domain actions, config types, validation, and error factories for Prisma Next",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"arktype": "^2.1.26",
|
|
9
9
|
"prettier": "^3.3.3",
|
|
10
|
-
"@prisma-next/contract": "0.1.0-dev.
|
|
11
|
-
"@prisma-next/operations": "0.1.0-dev.
|
|
12
|
-
"@prisma-next/utils": "0.1.0-dev.
|
|
10
|
+
"@prisma-next/contract": "0.1.0-dev.22",
|
|
11
|
+
"@prisma-next/operations": "0.1.0-dev.22",
|
|
12
|
+
"@prisma-next/utils": "0.1.0-dev.22"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"tsup": "^8.3.0",
|