@prisma-next/sql-contract-psl 0.4.0-dev.2 → 0.4.0-dev.3
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/index.d.mts +5 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/interpreter-iFCRN9nb.mjs.map +1 -1
- package/dist/provider.d.mts +0 -11
- package/dist/provider.d.mts.map +1 -1
- package/dist/provider.mjs +19 -5
- package/dist/provider.mjs.map +1 -1
- package/package.json +9 -9
- package/src/default-function-registry.ts +6 -66
- package/src/exports/index.ts +1 -1
- package/src/interpreter.ts +5 -5
- package/src/provider.ts +28 -22
- package/src/psl-column-resolution.ts +4 -4
- package/src/psl-field-resolution.ts +3 -3
- package/dist/default-function-registry-DUMRIhJH.d.mts +0 -71
- package/dist/default-function-registry-DUMRIhJH.d.mts.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as DefaultFunctionRegistryEntry, i as DefaultFunctionRegistry, n as DefaultFunctionLoweringContext, o as MutationDefaultGeneratorDescriptor, r as DefaultFunctionLoweringHandler, t as ControlMutationDefaults } from "./default-function-registry-DUMRIhJH.mjs";
|
|
2
1
|
import { AuthoringContributions } from "@prisma-next/framework-components/authoring";
|
|
3
2
|
import { Result } from "@prisma-next/utils/result";
|
|
4
|
-
import { ParsePslDocumentResult
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { ParsePslDocumentResult } from "@prisma-next/psl-parser";
|
|
4
|
+
import { ControlMutationDefaults, ControlMutationDefaults as ControlMutationDefaults$1, DefaultFunctionLoweringContext, DefaultFunctionLoweringHandler, DefaultFunctionRegistry, DefaultFunctionRegistryEntry, MutationDefaultGeneratorDescriptor } from "@prisma-next/framework-components/control";
|
|
5
|
+
import { ContractSourceDiagnostics } from "@prisma-next/config/config-types";
|
|
6
|
+
import { Contract } from "@prisma-next/contract/types";
|
|
7
7
|
import { ExtensionPackRef, TargetPackRef } from "@prisma-next/framework-components/components";
|
|
8
8
|
|
|
9
9
|
//#region src/psl-column-resolution.d.ts
|
|
@@ -21,7 +21,7 @@ interface InterpretPslDocumentToSqlContractInput {
|
|
|
21
21
|
readonly scalarTypeDescriptors: ReadonlyMap<string, ColumnDescriptor>;
|
|
22
22
|
readonly composedExtensionPacks?: readonly string[];
|
|
23
23
|
readonly composedExtensionPackRefs?: readonly ExtensionPackRef<'sql', 'postgres'>[];
|
|
24
|
-
readonly controlMutationDefaults?: ControlMutationDefaults;
|
|
24
|
+
readonly controlMutationDefaults?: ControlMutationDefaults$1;
|
|
25
25
|
readonly authoringContributions?: AuthoringContributions;
|
|
26
26
|
}
|
|
27
27
|
declare function interpretPslDocumentToSqlContract(input: InterpretPslDocumentToSqlContractInput): Result<Contract, ContractSourceDiagnostics>;
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/psl-column-resolution.ts","../src/interpreter.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAmCY,gBAAA;;;;EAAA,SAAA,UAAgB,CAAA,EAIJ,MAJI,CAAA,MAIJ,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/psl-column-resolution.ts","../src/interpreter.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAmCY,gBAAA;;;;EAAA,SAAA,UAAgB,CAAA,EAIJ,MAJI,CAAA,MAIJ,EAAM,OAAA,CAAA;;;;UCsCb,sCAAA;ED1CL,SAAA,QAAA,EC2CS,sBDvCS;mBCwCX;kCACe,oBAAoB;;EAHrC,SAAA,yBAAA,CAAA,EAAA,SAK+B,gBALO,CAAA,KAAA,EAAA,UAAA,CAAA,EAAA;EAClC,SAAA,uBAAA,CAAA,EAKgB,yBALhB;EACF,SAAA,sBAAA,CAAA,EAKiB,sBALjB;;AACe,iBAu/BlB,iCAAA,CAv/BkB,KAAA,EAw/BzB,sCAx/ByB,CAAA,EAy/B/B,MAz/B+B,CAy/BxB,QAz/BwB,EAy/Bd,yBAz/Bc,CAAA"}
|