@prisma-next/emitter 0.3.0-pr.73.2 → 0.3.0-pr.75.1
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/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export { TargetFamilyHook, TypesImportSpec, ValidationContext } from '@prisma-next/contract/types';
|
|
2
|
-
export { EmitOptions, EmitResult
|
|
1
|
+
export type { TargetFamilyHook, TypesImportSpec, ValidationContext, } from '@prisma-next/contract/types';
|
|
2
|
+
export type { EmitOptions, EmitResult } from '@prisma-next/core-control-plane/emission';
|
|
3
|
+
export { emit } from '@prisma-next/core-control-plane/emission';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAExF,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target-family.d.ts","sourceRoot":"","sources":["../src/target-family.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,6BAA6B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/emitter",
|
|
3
|
-
"version": "0.3.0-pr.
|
|
3
|
+
"version": "0.3.0-pr.75.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
7
|
-
"dist"
|
|
7
|
+
"dist",
|
|
8
|
+
"src"
|
|
8
9
|
],
|
|
9
10
|
"dependencies": {
|
|
10
11
|
"arktype": "^2.0.0",
|
|
11
|
-
"@prisma-next/contract": "0.3.0-pr.
|
|
12
|
-
"@prisma-next/core-control-plane": "0.3.0-pr.
|
|
12
|
+
"@prisma-next/contract": "0.3.0-pr.75.1",
|
|
13
|
+
"@prisma-next/core-control-plane": "0.3.0-pr.75.1"
|
|
13
14
|
},
|
|
14
15
|
"devDependencies": {
|
|
15
16
|
"@types/node": "24.10.4",
|
|
16
|
-
"@vitest/coverage-v8": "
|
|
17
|
-
"tsup": "
|
|
18
|
-
"typescript": "
|
|
19
|
-
"vitest": "
|
|
20
|
-
"@prisma-next/operations": "0.3.0-pr.
|
|
17
|
+
"@vitest/coverage-v8": "4.0.16",
|
|
18
|
+
"tsup": "8.5.1",
|
|
19
|
+
"typescript": "5.9.3",
|
|
20
|
+
"vitest": "4.0.16",
|
|
21
|
+
"@prisma-next/operations": "0.3.0-pr.75.1",
|
|
21
22
|
"@prisma-next/test-utils": "0.0.1"
|
|
22
23
|
},
|
|
23
24
|
"exports": {
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
"scripts": {
|
|
34
|
-
"build": "tsup --config tsup.config.ts",
|
|
35
|
+
"build": "tsup --config tsup.config.ts && tsc --project tsconfig.build.json --declaration --declarationMap --emitDeclarationOnly",
|
|
35
36
|
"test": "vitest run",
|
|
36
37
|
"test:coverage": "vitest run --coverage",
|
|
37
38
|
"typecheck": "tsc --project tsconfig.json --noEmit",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Re-export types from @prisma-next/contract for backward compatibility
|
|
2
|
+
export type {
|
|
3
|
+
TargetFamilyHook,
|
|
4
|
+
TypesImportSpec,
|
|
5
|
+
ValidationContext,
|
|
6
|
+
} from '@prisma-next/contract/types';
|
|
7
|
+
export type { EmitOptions, EmitResult } from '@prisma-next/core-control-plane/emission';
|
|
8
|
+
// Re-export emit function and types from core-control-plane
|
|
9
|
+
export { emit } from '@prisma-next/core-control-plane/emission';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Re-export types from @prisma-next/contract for backward compatibility
|
|
2
|
+
// These types were moved to @prisma-next/contract to resolve dependency violations
|
|
3
|
+
export type {
|
|
4
|
+
TargetFamilyHook,
|
|
5
|
+
TypesImportSpec,
|
|
6
|
+
ValidationContext,
|
|
7
|
+
} from '@prisma-next/contract/types';
|
package/dist/test/utils.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ContractIR } from '@prisma-next/contract/ir';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Factory function for creating ContractIR objects in tests.
|
|
5
|
-
* Provides sensible defaults and allows overriding specific fields.
|
|
6
|
-
* Uses the emitter factories internally for consistency.
|
|
7
|
-
*
|
|
8
|
-
* If a field is explicitly set to `undefined` in overrides, it will be omitted
|
|
9
|
-
* from the result (useful for testing validation of missing fields).
|
|
10
|
-
*/
|
|
11
|
-
declare function createContractIR(overrides?: Partial<ContractIR> & {
|
|
12
|
-
coreHash?: string;
|
|
13
|
-
profileHash?: string;
|
|
14
|
-
}): ContractIR;
|
|
15
|
-
|
|
16
|
-
export { createContractIR };
|