@prisma-next/core-control-plane 0.1.0-pr.56.6 → 0.1.0-pr.57.2
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 +12 -1
- package/package.json +4 -4
package/dist/exports/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FamilyInstance, DriverInstance, FamilyDescriptor, TargetInstance, TargetDescriptor, AdapterInstance, AdapterDescriptor, DriverDescriptor, ExtensionInstance, ExtensionDescriptor } from '@prisma-next/contract/framework-components';
|
|
1
|
+
import { ComponentDescriptor, 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
3
|
import { TargetFamilyHook } from '@prisma-next/contract/types';
|
|
4
4
|
import { Result } from '@prisma-next/utils/result';
|
|
@@ -115,6 +115,11 @@ interface MigrationPlanner {
|
|
|
115
115
|
readonly contract: unknown;
|
|
116
116
|
readonly schema: unknown;
|
|
117
117
|
readonly policy: MigrationOperationPolicy;
|
|
118
|
+
/**
|
|
119
|
+
* Active framework components participating in this composition.
|
|
120
|
+
* Families/targets can interpret this bag to derive family-specific metadata.
|
|
121
|
+
*/
|
|
122
|
+
readonly frameworkComponents: ReadonlyArray<ComponentDescriptor<string>>;
|
|
118
123
|
}): MigrationPlannerResult;
|
|
119
124
|
}
|
|
120
125
|
/**
|
|
@@ -131,6 +136,11 @@ interface MigrationRunner {
|
|
|
131
136
|
onOperationStart?(op: MigrationPlanOperation): void;
|
|
132
137
|
onOperationComplete?(op: MigrationPlanOperation): void;
|
|
133
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Active framework components participating in this composition.
|
|
141
|
+
* Families/targets can interpret this bag to derive family-specific metadata.
|
|
142
|
+
*/
|
|
143
|
+
readonly frameworkComponents: ReadonlyArray<ComponentDescriptor<string>>;
|
|
134
144
|
}): Promise<MigrationRunnerResult>;
|
|
135
145
|
}
|
|
136
146
|
/**
|
|
@@ -186,6 +196,7 @@ interface ControlFamilyInstance<TFamilyId extends string, TSchemaIR = unknown> e
|
|
|
186
196
|
readonly strict: boolean;
|
|
187
197
|
readonly contractPath: string;
|
|
188
198
|
readonly configPath?: string;
|
|
199
|
+
readonly frameworkComponents: ReadonlyArray<ComponentDescriptor<string>>;
|
|
189
200
|
}): Promise<VerifyDatabaseSchemaResult>;
|
|
190
201
|
/**
|
|
191
202
|
* Signs the database with the contract marker.
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/core-control-plane",
|
|
3
|
-
"version": "0.1.0-pr.
|
|
3
|
+
"version": "0.1.0-pr.57.2",
|
|
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.
|
|
11
|
-
"@prisma-next/operations": "0.1.0-pr.
|
|
12
|
-
"@prisma-next/utils": "0.1.0-pr.
|
|
10
|
+
"@prisma-next/contract": "0.1.0-pr.57.2",
|
|
11
|
+
"@prisma-next/operations": "0.1.0-pr.57.2",
|
|
12
|
+
"@prisma-next/utils": "0.1.0-pr.57.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"tsup": "^8.3.0",
|