@prisma/orm-toolchain 8.0.0-rc.24-dev.14 → 8.0.0-rc.24-dev.15
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/cli.d.mts +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/cli__config-types.d.mts +2 -2
- package/dist/cli__control-api.d.mts +11 -11
- package/dist/cli__control-api.d.mts.map +1 -1
- package/dist/cli__control-api__testing.d.mts +1 -1
- package/dist/config-loader.d.mts +2 -2
- package/dist/{db-sign-BP5u4sSV-CLAaoQ2M.d.mts → db-sign-DGSaPRQ--B_9CmDng.d.mts} +4 -4
- package/dist/{db-sign-BP5u4sSV-CLAaoQ2M.d.mts.map → db-sign-DGSaPRQ--B_9CmDng.d.mts.map} +1 -1
- package/dist/{exports-Byp-xgRY.mjs → exports-YPUSt6NF.mjs} +6 -6
- package/dist/exports-YPUSt6NF.mjs.map +1 -0
- package/dist/{index-CWPFeYyi.d.mts → index-BhNbc269.d.mts} +8 -8
- package/dist/{index-CWPFeYyi.d.mts.map → index-BhNbc269.d.mts.map} +1 -1
- package/package.json +12 -12
- package/dist/exports-Byp-xgRY.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CliStructuredError } from "@prisma/orm-framework/errors/control";
|
|
2
2
|
import { Result } from "@prisma/orm-framework/utils/result";
|
|
3
3
|
import { ConfigSection, SectionProvenance } from "@prisma/cli-engine";
|
|
4
|
-
import {
|
|
4
|
+
import { PrismaConfig, PrismaConfig as PrismaConfig$1 } from "@prisma/orm-framework/config/config-types";
|
|
5
5
|
//#region ../../../1-framework/3-tooling/config-loader/dist/exports/index.d.mts
|
|
6
6
|
//#region src/expand-contract-inputs.d.ts
|
|
7
7
|
/**
|
|
@@ -114,7 +114,7 @@ declare const ormConfigSchema: import("arktype/internal/variants/object.ts").Obj
|
|
|
114
114
|
* handler the value: absolute paths, `migrations.dir` defaulted, `baseDir`
|
|
115
115
|
* recorded.
|
|
116
116
|
*/
|
|
117
|
-
declare const ormConfigSection: ConfigSection<
|
|
117
|
+
declare const ormConfigSection: ConfigSection<PrismaConfig>;
|
|
118
118
|
/**
|
|
119
119
|
* Validates a raw `orm` section the way the engine does for a command,
|
|
120
120
|
* for the loaders and tools that read the config outside a command run.
|
|
@@ -128,10 +128,10 @@ declare const CONFIG_FILENAME = "prisma.config.ts";
|
|
|
128
128
|
* Diagnostics are tagged with the config section they concern
|
|
129
129
|
* (`meta.section`); sections without diagnostics are safe to read. Callers
|
|
130
130
|
* must guard access through {@link requireConfigSections} — a section with a
|
|
131
|
-
* diagnostic may be missing or malformed despite the `
|
|
131
|
+
* diagnostic may be missing or malformed despite the `PrismaConfig` type.
|
|
132
132
|
*/
|
|
133
133
|
interface LoadedConfig$1 {
|
|
134
|
-
readonly config:
|
|
134
|
+
readonly config: PrismaConfig;
|
|
135
135
|
readonly diagnostics: readonly CliStructuredError[];
|
|
136
136
|
}
|
|
137
137
|
declare function findNearestConfigPathForFile(filePath: string): Promise<string | undefined>;
|
|
@@ -191,14 +191,14 @@ declare function loadConfig(configPath?: string, options?: {
|
|
|
191
191
|
* the first diagnostic concerning a required section; diagnostics on other
|
|
192
192
|
* sections are ignored so unrelated commands keep working.
|
|
193
193
|
*/
|
|
194
|
-
declare function requireConfigSections(loaded: LoadedConfig$1, sections: readonly ConfigSection$1[]): Result<
|
|
194
|
+
declare function requireConfigSections(loaded: LoadedConfig$1, sections: readonly ConfigSection$1[]): Result<PrismaConfig, CliStructuredError>;
|
|
195
195
|
/**
|
|
196
196
|
* Convenience composition of {@link loadConfig} and
|
|
197
197
|
* {@link requireConfigSections} for commands that read a fixed set of
|
|
198
198
|
* sections and have no use for diagnostics outside them.
|
|
199
199
|
*/
|
|
200
|
-
declare function loadConfigForSections(configPath: string | undefined, sections: readonly ConfigSection$1[]): Promise<Result<
|
|
200
|
+
declare function loadConfigForSections(configPath: string | undefined, sections: readonly ConfigSection$1[]): Promise<Result<PrismaConfig, CliStructuredError>>;
|
|
201
201
|
declare function loadConfigForFile(filePath: string): Promise<Result<LoadedConfig$1, CliStructuredError>>;
|
|
202
202
|
//#endregion
|
|
203
|
-
export { loadConfigForSections as _, LoadedConfig$1 as a, requireConfigSections as b, buildLoadedConfig as c, findNearestConfigPathForFile as d, globContractInputMatching as f, loadConfigForFile as g, loadConfigFiles as h, ConfigSection$1 as i, evaluateConfigModule as l, loadConfig as m, ConfigFile as n, ORM_CONFIG_SECTION_NAME as o, isConfigSection as p, ConfigFiles as r,
|
|
204
|
-
//# sourceMappingURL=index-
|
|
203
|
+
export { loadConfigForSections as _, LoadedConfig$1 as a, requireConfigSections as b, buildLoadedConfig as c, findNearestConfigPathForFile as d, globContractInputMatching as f, loadConfigForFile as g, loadConfigFiles as h, ConfigSection$1 as i, evaluateConfigModule as l, loadConfig as m, ConfigFile as n, ORM_CONFIG_SECTION_NAME as o, isConfigSection as p, ConfigFiles as r, PrismaConfig$1 as s, CONFIG_FILENAME as t, expandContractInputs as u, ormConfigSchema as v, validateOrmSection as x, ormConfigSection as y };
|
|
204
|
+
//# sourceMappingURL=index-BhNbc269.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BhNbc269.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/config-loader/dist/exports/index.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAoBiB,qBAAqB,0CAA0C;;;;;iBAK/D,0BAA0B,6BAA6B;;;;cAI1D;;;;;;KAMT;iBACY,gBAAgB,gBAAgB,SAAS;;;;;;;;cAQ5C,+DAA+D;EAC3E;IACE;IACA;IACA;IACA;IACA,QAAQ;IACR;;EAEF;IACE;IACA;IACA;IACA;IACA,QAAQ;IACR;;EAEF;IACE;IACA;IACA;IACA;IACA,QAAQ;IACR;;EAEF,qDAAqD;IACnD,MAAM,6CAA6C,8CAA8C;;EAEnG;IACE;IACA;IACA;IACA;IACA,QAAQ;IACR;;EAEF;IACE;IACA;IACA;IACA;IACA,QAAQ;IACR;;EAEF;IACE;;EAEF;IACE;MACE,MAAM;MACN;MACA,WAAW,iCAAiC;MAC5C;QACE;;;IAGJ,SAAS,6CAA6C,8CAA8C;;EAEtG;IACE;IACA;;;EAGF,OAAO,iCAAiC;;;;;;;;cAQ5B,kBAAkB,cAAgB;;;;;iBAK/B,mBAAmB,cAAc,YAAY,oBAAoB,kBAAkB,iBAAiB;;;cAGvG;;;;;;;;UAQJ;WACC,QAAQ;WACR,sBAAsB;;iBAEhB,6BAA6B,mBAAmB;;;;;;iBAMhD,kBAAkB,WAAW,yBAAyB,oBAAoB;;UAEjF;WACC;;WAEA,UAAU,SAAS;;;UAGpB;;WAEC,gBAAgB;;WAEhB,QAAQ,SAAS;;;;;;;;;iBASX,gBAAgB,qBAAqB;WAC3C;IACP,QAAQ,OAAO,aAAa;;;;;;;;iBAQf,qBAAqB,oBAAoB;WAC/C;IACP,QAAQ,gBAAgB;;;;;;;;;;iBAUX,WAAW,qBAAqB;WACtC;IACP,QAAQ,OAAO,gBAAc;;;;;;iBAMhB,sBAAsB,QAAQ,gBAAc,mBAAmB,oBAAkB,OAAO,cAAgB;;;;;;iBAMxG,sBAAsB,gCAAgC,mBAAmB,oBAAkB,QAAQ,OAAO,cAAgB;iBAC1H,kBAAkB,mBAAmB,QAAQ,OAAO,gBAAc"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-toolchain",
|
|
3
|
-
"version": "8.0.0-rc.24-dev.
|
|
3
|
+
"version": "8.0.0-rc.24-dev.15",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@prisma/orm-framework": "8.0.0-rc.24-dev.
|
|
12
|
+
"@prisma/orm-framework": "8.0.0-rc.24-dev.15",
|
|
13
13
|
"@vercel/detect-agent": "^1.2.4",
|
|
14
14
|
"arktype": "^2.2.2",
|
|
15
15
|
"c12": "^3.3.4",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"wrap-ansi": "^10.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@internal/cli": "8.0.0-rc.24-dev.
|
|
34
|
-
"@internal/cli-telemetry": "8.0.0-rc.24-dev.
|
|
35
|
-
"@internal/config-loader": "8.0.0-rc.24-dev.
|
|
36
|
-
"@internal/emitter": "8.0.0-rc.24-dev.
|
|
37
|
-
"@internal/language-server": "8.0.0-rc.24-dev.
|
|
38
|
-
"@internal/migration-tools": "8.0.0-rc.24-dev.
|
|
39
|
-
"@internal/publish-surface": "8.0.0-rc.24-dev.
|
|
40
|
-
"@repo/tsconfig": "8.0.0-rc.24-dev.
|
|
41
|
-
"@repo/tsdown": "8.0.0-rc.24-dev.
|
|
42
|
-
"@internal/vite-plugin-contract-emit": "8.0.0-rc.24-dev.
|
|
33
|
+
"@internal/cli": "8.0.0-rc.24-dev.15",
|
|
34
|
+
"@internal/cli-telemetry": "8.0.0-rc.24-dev.15",
|
|
35
|
+
"@internal/config-loader": "8.0.0-rc.24-dev.15",
|
|
36
|
+
"@internal/emitter": "8.0.0-rc.24-dev.15",
|
|
37
|
+
"@internal/language-server": "8.0.0-rc.24-dev.15",
|
|
38
|
+
"@internal/migration-tools": "8.0.0-rc.24-dev.15",
|
|
39
|
+
"@internal/publish-surface": "8.0.0-rc.24-dev.15",
|
|
40
|
+
"@repo/tsconfig": "8.0.0-rc.24-dev.15",
|
|
41
|
+
"@repo/tsdown": "8.0.0-rc.24-dev.15",
|
|
42
|
+
"@internal/vite-plugin-contract-emit": "8.0.0-rc.24-dev.15",
|
|
43
43
|
"tsdown": "0.22.14",
|
|
44
44
|
"typescript": "5.9.3"
|
|
45
45
|
},
|