@prisma/orm-family-sql 8.0.0-rc.11-dev.43 → 8.0.0-rc.11-dev.44
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/contract-prisma7__provider.mjs +1 -1
- package/dist/contract-psl.d.mts +1 -1
- package/dist/contract-psl.d.mts.map +1 -1
- package/dist/contract-psl.mjs +1 -1
- package/dist/contract-psl__attribute-specs.d.mts +7 -6
- package/dist/contract-psl__attribute-specs.d.mts.map +1 -1
- package/dist/contract-psl__attribute-specs.mjs +1 -1
- package/dist/contract-psl__provider.mjs +1 -1
- package/dist/contract-psl__provider.mjs.map +1 -1
- package/dist/{control-CkJbZTUB.d.mts → control-D7O180pB.d.mts} +2 -2
- package/dist/control-D7O180pB.d.mts.map +1 -0
- package/dist/{control-Ber3kz3q.mjs → control-FOipY3kl.mjs} +2 -2
- package/dist/{control-Ber3kz3q.mjs.map → control-FOipY3kl.mjs.map} +1 -1
- package/dist/family.d.mts +1 -1
- package/dist/family.mjs +1 -1
- package/dist/family__control.d.mts +1 -1
- package/dist/family__control.mjs +1 -1
- package/dist/family__pack.d.mts +1 -1
- package/dist/family__pack.d.mts.map +1 -1
- package/dist/family__pack.mjs +1 -1
- package/dist/{interpreter-DvKii7Bl-D8Ipte3f.mjs → interpreter-BIBwrA2w-DAiNN30m.mjs} +109 -81
- package/dist/interpreter-BIBwrA2w-DAiNN30m.mjs.map +1 -0
- package/dist/{sql-attribute-specs-CQoOV2MU-DLD9uxC6.mjs → sql-attribute-specs-BH0U6i1B-Ces5ZCvv.mjs} +23 -17
- package/dist/sql-attribute-specs-BH0U6i1B-Ces5ZCvv.mjs.map +1 -0
- package/package.json +18 -18
- package/dist/control-CkJbZTUB.d.mts.map +0 -1
- package/dist/interpreter-DvKii7Bl-D8Ipte3f.mjs.map +0 -1
- package/dist/sql-attribute-specs-CQoOV2MU-DLD9uxC6.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as validateSqlStorageConsistency, l as validateModelStorageReferences } from "./validators-y6eLjhcb.mjs";
|
|
2
2
|
import { t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
|
|
3
3
|
import { n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-6WZKIUxH-B3Pd6QA5.mjs";
|
|
4
|
-
import { c as resolveFieldTypeDescriptor, i as indexFkRelations, n as buildEntityTypesByDiscriminator, o as normalizeReferentialAction, r as entryForTag, s as readDataTypeDefault, t as applyBackrelationCandidates } from "./interpreter-
|
|
4
|
+
import { c as resolveFieldTypeDescriptor, i as indexFkRelations, n as buildEntityTypesByDiscriminator, o as normalizeReferentialAction, r as entryForTag, s as readDataTypeDefault, t as applyBackrelationCandidates } from "./interpreter-BIBwrA2w-DAiNN30m.mjs";
|
|
5
5
|
import { isStructuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
6
6
|
import { collectScalarTypeConstructors, instantiateAuthoringEntityType } from "@prisma/orm-framework/components/authoring";
|
|
7
7
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
package/dist/contract-psl.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ import { SymbolTable } from "@prisma/orm-framework/psl-parser";
|
|
|
11
11
|
import { CapabilityMatrix, ExtensionPackRef, TargetPackRef } from "@prisma/orm-framework/components/components";
|
|
12
12
|
import { ContractSourceDiagnostic, ContractSourceDiagnostics } from "@prisma/orm-framework/config/config-types";
|
|
13
13
|
import "@prisma/orm-framework/components/psl-ast";
|
|
14
|
-
//#region ../../../2-sql/2-authoring/contract-psl/dist/interpreter-
|
|
14
|
+
//#region ../../../2-sql/2-authoring/contract-psl/dist/interpreter-4nXyp2cN.d.mts
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/psl-column-resolution.d.ts
|
|
17
17
|
type ColumnDescriptor = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-psl.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/interpreter-
|
|
1
|
+
{"version":3,"file":"contract-psl.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/interpreter-4nXyp2cN.d.mts"],"mappings":";;;;;;;;;;;;;;;;KAmGK;WACM;WACA;WACA;WACA,aAAa;;;;;;;;;WASb,WAAW;;;;UAyDZ;WACC,UAAU;WACV,aAAa;WACb,SAAS;WACT,QAAQ;WACR,yBAAyB,oBAAoB;WAC7C;WACA,qCAAqC;WACrC,0BAA0B;;WAE1B,gBAAgB;WAChB,yBAAyB;;;;;;;;;;WAUzB,4BAA4B,oBAAoB;;WAEhD,kBAAkB,OAAO,sBAAsB;WAC/C,cAAc;WACd,2BAA2B;;WAE3B;aACE;aACA;;WAEF,cAAc;;iBASR,kCAAkC,OAAO,yCAAyC,OAAO,UAAU"}
|
package/dist/contract-psl.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as interpretPslDocumentToSqlContract } from "./interpreter-
|
|
1
|
+
import { a as interpretPslDocumentToSqlContract } from "./interpreter-BIBwrA2w-DAiNN30m.mjs";
|
|
2
2
|
export { interpretPslDocumentToSqlContract };
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import "@prisma/orm-framework/components/control";
|
|
2
|
-
import { AttributeSpec, FieldAttributeCtx, FieldAttributeSpecContext, ModelAttributeCtx, NumLiteral, ParsedTaggedLiteral, TypedFuncCall } from "@prisma/orm-framework/psl-parser";
|
|
2
|
+
import { AttributeSpec, FieldAttributeCtx, FieldAttributeSpecContext, ModelAttributeCtx, ModelSymbol, NumLiteral, ParsedTaggedLiteral, TypedFuncCall } from "@prisma/orm-framework/psl-parser";
|
|
3
3
|
import "@prisma/orm-framework/components/psl-ast";
|
|
4
|
-
//#region ../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-
|
|
4
|
+
//#region ../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-CFqEf1Qh.d.mts
|
|
5
5
|
//#region src/sql-attribute-specs.d.ts
|
|
6
6
|
type DefaultLiteralElement = string | NumLiteral | boolean | ParsedTaggedLiteral;
|
|
7
7
|
type DefaultArgValue = DefaultLiteralElement | DefaultLiteralElement[] | TypedFuncCall;
|
|
8
8
|
declare function defaultFieldSpec(ctx: FieldAttributeSpecContext): AttributeSpec<{
|
|
9
9
|
value: DefaultArgValue;
|
|
10
10
|
}, FieldAttributeCtx>;
|
|
11
|
+
declare function baseModelSpec(): AttributeSpec<{
|
|
12
|
+
base: import("@prisma/orm-framework/psl-parser").ResolvedEntityReference<ModelSymbol>;
|
|
13
|
+
value: string;
|
|
14
|
+
}, ModelAttributeCtx>;
|
|
11
15
|
declare const sqlAttributeSpecs: {
|
|
12
16
|
readonly model: {
|
|
13
17
|
readonly map: () => AttributeSpec<{
|
|
@@ -42,10 +46,7 @@ declare const sqlAttributeSpecs: {
|
|
|
42
46
|
readonly discriminator: () => AttributeSpec<{
|
|
43
47
|
field: string;
|
|
44
48
|
}, ModelAttributeCtx>;
|
|
45
|
-
readonly base:
|
|
46
|
-
base: string;
|
|
47
|
-
value: string;
|
|
48
|
-
}, ModelAttributeCtx>;
|
|
49
|
+
readonly base: typeof baseModelSpec;
|
|
49
50
|
};
|
|
50
51
|
readonly field: {
|
|
51
52
|
readonly map: () => AttributeSpec<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-psl__attribute-specs.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-
|
|
1
|
+
{"version":3,"file":"contract-psl__attribute-specs.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-CFqEf1Qh.d.mts"],"mappings":";;;;;KAKK,iCAAiC,uBAAuB;KACxD,kBAAkB,wBAAwB,0BAA0B;iBACxD,iBAAiB,KAAK,4BAA4B;EACjE,OAAO;GACN;iBACc,iBAAiB;EAChC,qCAAqC,wBAAwB;EAC7D;GACC;cACW;WACH;aACE,WAAW;MAClB;OACC;aACM,UAAU;MACjB;eACS;OACR;aACM,cAAc;MACrB;eACS;OACR;aACM,aAAa;MACpB;eACS;eACA;eACA;eACA;eACA;eACA;eACA,UAAU;OAClB;aACM,aAAa;eACX;eACA;eACA;OACR;aACM,eAAe;MACtB;OACC;aACM,qBAAqB;MAC5B;OACC;aACM,aAAa;;WAEf;aACE,WAAW;MAClB;OACC;aACM,UAAU;eACR;OACR;aACM,cAAc;eACZ;OACR;aACM,eAAe;MACtB;MACA;OACC;aACM,gBAAgB;MACvB;eACS;eACA;eACA;eACA;eACA;eACA;OACR;aACM,gBAAgB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { s as sqlAttributeSpecs } from "./sql-attribute-specs-
|
|
1
|
+
import { s as sqlAttributeSpecs } from "./sql-attribute-specs-BH0U6i1B-Ces5ZCvv.mjs";
|
|
2
2
|
export { sqlAttributeSpecs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applySqlSpecifierControlPolicy } from "./derived-checks-6WZKIUxH-B3Pd6QA5.mjs";
|
|
2
|
-
import { a as interpretPslDocumentToSqlContract } from "./interpreter-
|
|
2
|
+
import { a as interpretPslDocumentToSqlContract } from "./interpreter-BIBwrA2w-DAiNN30m.mjs";
|
|
3
3
|
import { collectScalarTypeConstructors } from "@prisma/orm-framework/components/authoring";
|
|
4
4
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
5
5
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-psl__provider.mjs","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/provider.mjs"],"sourcesContent":["import { n as interpretPslDocumentToSqlContract } from \"./interpreter-
|
|
1
|
+
{"version":3,"file":"contract-psl__provider.mjs","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/provider.mjs"],"sourcesContent":["import { n as interpretPslDocumentToSqlContract } from \"./interpreter-BIBwrA2w.mjs\";\nimport { buildSymbolTable, mapPslDiagnostics } from \"@internal/psl-parser\";\nimport { notOk, ok } from \"@internal/utils/result\";\nimport { collectScalarTypeConstructors } from \"@internal/framework-components/authoring\";\nimport { withSeedDiagnostics } from \"@internal/psl-parser/interpret\";\nimport { applySqlSpecifierControlPolicy } from \"@internal/sql-contract-ts/contract-builder\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { readFile } from \"node:fs/promises\";\nimport { parse } from \"@internal/psl-parser/syntax\";\nimport { basename, extname } from \"pathe\";\n//#region src/provider.ts\n/**\n* Derives the emit output path from the schema input path so artefacts land\n* colocated with the source (e.g. `src/contract/schema.prisma` →\n* `src/contract/contract.json`). The provider owns this because it is the\n* only layer that knows the input path; the upstream `normalizeContractConfig`\n* default is a last-resort fallback for providers that don't carry one.\n*/\nfunction defaultOutputFromSchemaPath(schemaPath) {\n\tconst ext = extname(schemaPath);\n\tif (ext.length === 0) return `${schemaPath}.json`;\n\tconst base = schemaPath.slice(0, -ext.length);\n\tif (basename(base) === \"schema\") return `${base.slice(0, -6)}contract.json`;\n\treturn `${base}.json`;\n}\nfunction prismaContract(schemaPath, options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"psl\",\n\t\t\tinputs: [schemaPath],\n\t\t\tinterpret(input, context) {\n\t\t\t\tconst scalarColumnDescriptors = collectScalarTypeConstructors(context.authoringContributions.type);\n\t\t\t\treturn interpretPslDocumentToSqlContract({\n\t\t\t\t\tdocument: input.document,\n\t\t\t\t\tsymbolTable: input.symbolTable,\n\t\t\t\t\tsources: input.sources,\n\t\t\t\t\tseedDiagnostics: [],\n\t\t\t\t\ttarget: options.target,\n\t\t\t\t\tauthoringContributions: context.authoringContributions,\n\t\t\t\t\tscalarColumnDescriptors,\n\t\t\t\t\t...ifDefined(\"composedExtensions\", context.composedExtensions.length > 0 ? [...context.composedExtensions] : void 0),\n\t\t\t\t\tcomposedExtensionContracts: context.composedExtensionContracts,\n\t\t\t\t\t...ifDefined(\"composedExtensionPackRefs\", options.composedExtensionPackRefs?.length ? options.composedExtensionPackRefs : void 0),\n\t\t\t\t\tcontrolMutationDefaults: context.controlMutationDefaults,\n\t\t\t\t\tcreateNamespace: options.createNamespace,\n\t\t\t\t\tcapabilities: context.capabilities,\n\t\t\t\t\tcodecLookup: context.codecLookup,\n\t\t\t\t\tdataTypeLookup: context.dataTypeLookup,\n\t\t\t\t\t...ifDefined(\"enumInferenceCodecs\", options.enumInferenceCodecs)\n\t\t\t\t});\n\t\t\t},\n\t\t\tasync load(context) {\n\t\t\t\tconst [absoluteSchemaPath] = context.resolvedInputs;\n\t\t\t\tif (absoluteSchemaPath === void 0) throw new InternalError(\"prismaContract: context.resolvedInputs is empty. The CLI config loader should populate it positional-matched with source.inputs.\");\n\t\t\t\tlet schema;\n\t\t\t\ttry {\n\t\t\t\t\tschema = await readFile(absoluteSchemaPath, \"utf-8\");\n\t\t\t\t} catch (error) {\n\t\t\t\t\tconst message = String(error);\n\t\t\t\t\treturn notOk({\n\t\t\t\t\t\tsummary: `Failed to read Prisma schema at \"${schemaPath}\"`,\n\t\t\t\t\t\tdiagnostics: [{\n\t\t\t\t\t\t\tcode: \"PSL_SCHEMA_READ_FAILED\",\n\t\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t\tsourceId: schemaPath\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tmeta: {\n\t\t\t\t\t\t\tschemaPath,\n\t\t\t\t\t\t\tabsoluteSchemaPath,\n\t\t\t\t\t\t\tcause: message\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tconst { document, sources, diagnostics: parseDiagnostics } = parse(schema, schemaPath);\n\t\t\t\tconst { symbolTable, diagnostics: symbolTableDiagnostics } = buildSymbolTable({\n\t\t\t\t\tdocuments: [document],\n\t\t\t\t\tsources,\n\t\t\t\t\tpslBlockDescriptors: context.authoringContributions.pslBlockDescriptors\n\t\t\t\t});\n\t\t\t\tconst seedDiagnostics = mapPslDiagnostics([...parseDiagnostics, ...symbolTableDiagnostics], sources);\n\t\t\t\tconst interpreted = withSeedDiagnostics(this.interpret({\n\t\t\t\t\tdocument,\n\t\t\t\t\tsources,\n\t\t\t\t\tsymbolTable\n\t\t\t\t}, context), seedDiagnostics);\n\t\t\t\tif (!interpreted.ok) return interpreted;\n\t\t\t\treturn ok(applySqlSpecifierControlPolicy(interpreted.value, options.defaultControlPolicy, options.createNamespace));\n\t\t\t}\n\t\t},\n\t\toutput: options.output ?? defaultOutputFromSchemaPath(schemaPath)\n\t};\n}\n//#endregion\nexport { prismaContract };\n\n//# sourceMappingURL=provider.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,4BAA4B,YAAY;CAChD,MAAM,MAAM,QAAQ,UAAU;CAC9B,IAAI,IAAI,WAAW,GAAG,OAAO,GAAG,WAAW;CAC3C,MAAM,OAAO,WAAW,MAAM,GAAG,CAAC,IAAI,MAAM;CAC5C,IAAI,SAAS,IAAI,MAAM,UAAU,OAAO,GAAG,KAAK,MAAM,GAAG,EAAE,EAAE;CAC7D,OAAO,GAAG,KAAK;AAChB;AACA,SAAS,eAAe,YAAY,SAAS;CAC5C,OAAO;EACN,QAAQ;GACP,QAAQ;GACR,QAAQ,CAAC,UAAU;GACnB,UAAU,OAAO,SAAS;IACzB,MAAM,0BAA0B,8BAA8B,QAAQ,uBAAuB,IAAI;IACjG,OAAO,kCAAkC;KACxC,UAAU,MAAM;KAChB,aAAa,MAAM;KACnB,SAAS,MAAM;KACf,iBAAiB,CAAC;KAClB,QAAQ,QAAQ;KAChB,wBAAwB,QAAQ;KAChC;KACA,GAAG,UAAU,sBAAsB,QAAQ,mBAAmB,SAAS,IAAI,CAAC,GAAG,QAAQ,kBAAkB,IAAI,KAAK,CAAC;KACnH,4BAA4B,QAAQ;KACpC,GAAG,UAAU,6BAA6B,QAAQ,2BAA2B,SAAS,QAAQ,4BAA4B,KAAK,CAAC;KAChI,yBAAyB,QAAQ;KACjC,iBAAiB,QAAQ;KACzB,cAAc,QAAQ;KACtB,aAAa,QAAQ;KACrB,gBAAgB,QAAQ;KACxB,GAAG,UAAU,uBAAuB,QAAQ,mBAAmB;IAChE,CAAC;GACF;GACA,MAAM,KAAK,SAAS;IACnB,MAAM,CAAC,sBAAsB,QAAQ;IACrC,IAAI,uBAAuB,KAAK,GAAG,MAAM,IAAI,cAAc,kIAAkI;IAC7L,IAAI;IACJ,IAAI;KACH,SAAS,MAAM,SAAS,oBAAoB,OAAO;IACpD,SAAS,OAAO;KACf,MAAM,UAAU,OAAO,KAAK;KAC5B,OAAO,MAAM;MACZ,SAAS,oCAAoC,WAAW;MACxD,aAAa,CAAC;OACb,MAAM;OACN;OACA,UAAU;MACX,CAAC;MACD,MAAM;OACL;OACA;OACA,OAAO;MACR;KACD,CAAC;IACF;IACA,MAAM,EAAE,UAAU,SAAS,aAAa,qBAAqB,MAAM,QAAQ,UAAU;IACrF,MAAM,EAAE,aAAa,aAAa,2BAA2B,iBAAiB;KAC7E,WAAW,CAAC,QAAQ;KACpB;KACA,qBAAqB,QAAQ,uBAAuB;IACrD,CAAC;IACD,MAAM,kBAAkB,kBAAkB,CAAC,GAAG,kBAAkB,GAAG,sBAAsB,GAAG,OAAO;IACnG,MAAM,cAAc,oBAAoB,KAAK,UAAU;KACtD;KACA;KACA;IACD,GAAG,OAAO,GAAG,eAAe;IAC5B,IAAI,CAAC,YAAY,IAAI,OAAO;IAC5B,OAAO,GAAG,+BAA+B,YAAY,OAAO,QAAQ,sBAAsB,QAAQ,eAAe,CAAC;GACnH;EACD;EACA,QAAQ,QAAQ,UAAU,4BAA4B,UAAU;CACjE;AACD"}
|
|
@@ -431,7 +431,7 @@ declare class SqlFamilyDescriptor implements ControlFamilyDescriptor<'sql', SqlC
|
|
|
431
431
|
field: string;
|
|
432
432
|
}, import("@prisma/orm-framework/psl-parser").ModelAttributeCtx>;
|
|
433
433
|
readonly base: () => import("@prisma/orm-framework/psl-parser").AttributeSpec<{
|
|
434
|
-
base:
|
|
434
|
+
base: import("@prisma/orm-framework/psl-parser").ResolvedEntityReference<import("@prisma/orm-framework/psl-parser").ModelSymbol>;
|
|
435
435
|
value: string;
|
|
436
436
|
}, import("@prisma/orm-framework/psl-parser").ModelAttributeCtx>;
|
|
437
437
|
};
|
|
@@ -1103,4 +1103,4 @@ declare function temporalCodecPreset<const CodecId extends string, const NativeT
|
|
|
1103
1103
|
declare const _default: SqlFamilyDescriptor;
|
|
1104
1104
|
//#endregion
|
|
1105
1105
|
export { controlPolicyForCall as A, runnerFailure as B, TableNameCaseGuardTable as C, buildNativeTypeExpander as D, assembleAuthoringContributions as E, partitionCallsByControlPolicy as F, temporalCodecPresetWithPrecision as G, sqlDefaultLiteralTagEntry as H, partitionIssuesByControlPolicy as I, temporalStringAuthoringPresets as K, planFieldEventOperations as L, detectDestructiveChanges as M, detectTableNameCaseChanges as N, contractNamespaceToSchemaIR as O, extractCodecControlHooks as P, plannerFailure as R, TIMESTAMP_NOW_GENERATOR_ID as S, _default as T, temporalAuthoringPresets as U, runnerSuccess as V, temporalCodecPreset as W, SqlControlFamilyInstance as _, EnumNamespaceSchemaResolver as a, SuppressionRecord as b, MigrationOperationPolicy$1 as c, MigrationPlanner as d, MigrationPlannerConflict$1 as f, PlanFieldEventOperationsOptions as g, PSL_INVALID_DEFAULT_SQL as h, DefaultResolver as i, createMigrationPlan as j, contractToSchemaIR as k, MigrationPlan$1 as l, NativeTypeExpander as m, ControlPolicySubject as n, INIT_ADDITIVE_POLICY as o, MigrationPlannerResult as p, timestampNowControlDescriptor as q, DefaultRenderer as r, MigrationOperationClass as s, ContractToSchemaIROptions as t, MigrationPlanOperation$1 as u, SqlControlTargetDescriptor as v, TargetMigrationsCapability as w, TABLE_NAME_CASE_CHANGED_CODE as x, SqlDescribedContractSpace as y, plannerSuccess as z };
|
|
1106
|
-
//# sourceMappingURL=control-
|
|
1106
|
+
//# sourceMappingURL=control-D7O180pB.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-D7O180pB.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;UAgBU;WACC;WACA;WACA;WACA;;KAEN,0BAA0B,YAAY;UACjC;WACC,kBAAkB,cAAc;WAChC,cAAc;WACd,sBAAsB;;UAEvB,iCAAiC,6BAA6B,kBAAkB,kBAAkB,kBAAkB,wBAAwB,kBAAkB,yBAAyB;;;;;;;;;EAS/L,oBAAoB,wBAAwB;EAC5C,OAAO;aACI,QAAQ;aACR;aACA;aACA;aACA;MACP,QAAQ;;;;;;;;;;EAUZ,aAAa;aACF;aACA,QAAQ;aACR;aACA,qBAAqB,cAAc;MAC1C;;;;;;;;;;EAUJ,2BAA2B,OAAO,kBAAkB;;;;;;;;EAQpD,mBAAmB,OAAO;EAC1B,KAAK;aACM,QAAQ;aACR;aACA;aACA;MACP,QAAQ;EACZ,WAAW;aACA,QAAQ;aACR;MACP,QAAQ;EACZ,iBAAiB,UAAU,kBAAkB;EAC7C,SAAS,KAAK,cAAc,SAAS,SAAS,0BAA0B,QAAQ;;;;;;EAMhF,WAAW;aACA,QAAQ;aACR;aACA;eACE;eACA;eACA;;MAET;;;;;EAKJ,aAAa;aACF,QAAQ;aACR;aACA;aACA;eACE;eACA;eACA;;MAET;;;;;EAKJ,iBAAiB;aACN,QAAQ;aACR;aACA;eACE;eACA;eACA;eACA;eACA;eACA;eACA;;MAET;EACJ,yCAAyC;EACzC,mBAAmB,qBAAqB,2BAA6B;;;;cAIzD,+BAA+B,+BAA+B;WACjE;WACA;WACA;WACA;WACA,UAAU;WACV;aACE;eACE;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;;;;;eAKR;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;6BACA;;;;;qBAKR;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;;;aAKR;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;;;;;;;aAOZ,gEAAgE;aAChE;eACE;iBACE;iBACA;iBACA;iBACA;iBACA;mBACE;;iBAEF;iBACA;iBACA;mBACE,2CAA2C;YAClD;4CACgC;;;;aAI/B;eACE;iBACE,0CAA0C;UACjD;0CACgC;iBACzB,yCAAyC;UAChD;mBACS;0CACuB;iBACzB,6CAA6C;UACpD;mBACS;0CACuB;iBACzB,4CAA4C;UACnD;mBACS;mBACA;mBACA;mBACA;mBACA;mBACA;mBACA,UAAU;0CACa;iBACzB,4CAA4C;mBAC1C;mBACA;mBACA;0CACuB;iBACzB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;;;eAIN;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA;;;;;;;;;cASP,UAAU"}
|
|
@@ -4,7 +4,7 @@ import { c as StorageTable } from "./storage-table-ZzbR-xzQ-BRoTQE_2.mjs";
|
|
|
4
4
|
import { u as isStorageTypeInstance } from "./types-D0B65hip.mjs";
|
|
5
5
|
import { n as checkSqlDefaultBody, o as reservedSqlDefaultBody } from "./validators-y6eLjhcb.mjs";
|
|
6
6
|
import { c as SqlSchemaIR, n as RelationalSchemaNodeKind, u as SqlTableIR } from "./types-DvrIPGUN-wxavfzyJ.mjs";
|
|
7
|
-
import { s as sqlAttributeSpecs } from "./sql-attribute-specs-
|
|
7
|
+
import { s as sqlAttributeSpecs } from "./sql-attribute-specs-BH0U6i1B-Ces5ZCvv.mjs";
|
|
8
8
|
import { t as sqlEmission } from "./dist-D5__KJs-.mjs";
|
|
9
9
|
import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-C1ogrr_x-VWDkCaSq.mjs";
|
|
10
10
|
import { n as classifyDiffSubjectGranularity, o as extractCodecControlHooks, s as verifySqlSchemaByDiff, t as classifyDiffEntityKind } from "./schema-verify-CrvQZ5V8-BfrNHJbX.mjs";
|
|
@@ -1361,4 +1361,4 @@ var control_default = new SqlFamilyDescriptor();
|
|
|
1361
1361
|
//#endregion
|
|
1362
1362
|
export { plannerSuccess as _, buildNativeTypeExpander as a, sqlDefaultLiteralTagEntry as b, controlPolicyForCall as c, detectDestructiveChanges as d, detectTableNameCaseChanges as f, plannerFailure as g, planFieldEventOperations as h, assembleAuthoringContributions as i, control_default as l, partitionIssuesByControlPolicy as m, PSL_INVALID_DEFAULT_SQL as n, contractNamespaceToSchemaIR as o, partitionCallsByControlPolicy as p, TABLE_NAME_CASE_CHANGED_CODE as r, contractToSchemaIR as s, INIT_ADDITIVE_POLICY as t, createMigrationPlan as u, runnerFailure as v, runnerSuccess as y };
|
|
1363
1363
|
|
|
1364
|
-
//# sourceMappingURL=control-
|
|
1364
|
+
//# sourceMappingURL=control-FOipY3kl.mjs.map
|