@prisma-next/core-control-plane 0.1.0-pr.56.3 → 0.1.0-pr.56.4

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.
@@ -149,12 +149,9 @@ interface TargetMigrationsCapability<TFamilyInstance extends ControlFamilyInstan
149
149
  * Extends the base FamilyInstance with control-plane domain actions.
150
150
  *
151
151
  * @template TFamilyId - The family ID (e.g., 'sql', 'document')
152
- * @template TSchemaIR - The schema IR type returned by introspect()
153
- * @template TVerifyResult - The result type for verify()
154
- * @template TSchemaVerifyResult - The result type for schemaVerify()
155
- * @template TSignResult - The result type for sign()
152
+ * @template TSchemaIR - The schema IR type returned by introspect() (family-specific)
156
153
  */
157
- interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR = unknown, TVerifyResult = unknown, TSchemaVerifyResult = unknown, TSignResult = unknown> extends FamilyInstance<TFamilyId> {
154
+ interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR = unknown> extends FamilyInstance<TFamilyId> {
158
155
  /**
159
156
  * Validates a contract JSON and returns a validated ContractIR (without mappings).
160
157
  * Mappings are runtime-only and should not be part of ContractIR.
@@ -170,7 +167,7 @@ interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR = unknown, T
170
167
  readonly expectedTargetId: string;
171
168
  readonly contractPath: string;
172
169
  readonly configPath?: string;
173
- }): Promise<TVerifyResult>;
170
+ }): Promise<VerifyDatabaseResult>;
174
171
  /**
175
172
  * Verifies the database schema against the contract.
176
173
  * Compares contract requirements against live database schema.
@@ -181,7 +178,7 @@ interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR = unknown, T
181
178
  readonly strict: boolean;
182
179
  readonly contractPath: string;
183
180
  readonly configPath?: string;
184
- }): Promise<TSchemaVerifyResult>;
181
+ }): Promise<VerifyDatabaseSchemaResult>;
185
182
  /**
186
183
  * Signs the database with the contract marker.
187
184
  * Writes or updates the contract marker if schema verification passes.
@@ -192,7 +189,7 @@ interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR = unknown, T
192
189
  readonly contractIR: unknown;
193
190
  readonly contractPath: string;
194
191
  readonly configPath?: string;
195
- }): Promise<TSignResult>;
192
+ }): Promise<SignDatabaseResult>;
196
193
  /**
197
194
  * Introspects the database schema and returns a family-specific schema IR.
198
195
  *
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@prisma-next/core-control-plane",
3
- "version": "0.1.0-pr.56.3",
3
+ "version": "0.1.0-pr.56.4",
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-pr.56.3",
11
- "@prisma-next/operations": "0.1.0-pr.56.3",
12
- "@prisma-next/utils": "0.1.0-pr.56.3"
10
+ "@prisma-next/contract": "0.1.0-pr.56.4",
11
+ "@prisma-next/operations": "0.1.0-pr.56.4",
12
+ "@prisma-next/utils": "0.1.0-pr.56.4"
13
13
  },
14
14
  "devDependencies": {
15
15
  "tsup": "^8.3.0",