@prisma/orm-toolchain 8.0.0-rc.18-dev.37 → 8.0.0-rc.18-dev.39
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.mjs
CHANGED
|
@@ -6960,7 +6960,7 @@ const lspCommand = defineServerCommand({
|
|
|
6960
6960
|
} },
|
|
6961
6961
|
handler: async (args, io) => {
|
|
6962
6962
|
const exitCode = await withoutClientProcessIdInArgv(async () => {
|
|
6963
|
-
const { startServer } = await import("./exports-
|
|
6963
|
+
const { startServer } = await import("./exports-DeD-nbF3.mjs");
|
|
6964
6964
|
return startServer({
|
|
6965
6965
|
stdin: io.stdin,
|
|
6966
6966
|
stdout: io.stdout,
|
|
@@ -1291,10 +1291,13 @@ function valueItems(input, type, syntax, qualifier) {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
if (syntax === "functionName") return [];
|
|
1293
1293
|
if (qualifier !== void 0) return qualifiedItems(input, type, qualifier);
|
|
1294
|
-
if (type.kind === "taggedLiteral" || type.kind === "dataTypeValue")
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1294
|
+
if (type.kind === "taggedLiteral" || type.kind === "dataTypeValue") {
|
|
1295
|
+
const tags = type.tags.map((tag) => ({
|
|
1296
|
+
...completionItem(input, tag, input.clientSupportsSnippets ? `${tag}\`$1\`` : tag, CompletionItemKind.Value, input.clientSupportsSnippets),
|
|
1297
|
+
detail: type.documentation
|
|
1298
|
+
}));
|
|
1299
|
+
return type.kind === "dataTypeValue" ? [...scalarItems(input, type.suggestions), ...tags] : tags;
|
|
1300
|
+
}
|
|
1298
1301
|
switch (type.kind) {
|
|
1299
1302
|
case "identifier": return type.name === void 0 ? [] : scalarItems(input, [type.name], type.documentation);
|
|
1300
1303
|
case "str": return scalarItems(input, type.value === void 0 ? [] : [JSON.stringify(type.value)]);
|
|
@@ -2238,6 +2241,7 @@ function binderContextFromStack(stack) {
|
|
|
2238
2241
|
model: {},
|
|
2239
2242
|
field: {}
|
|
2240
2243
|
},
|
|
2244
|
+
textDataTypes: [],
|
|
2241
2245
|
dataTypes: {}
|
|
2242
2246
|
},
|
|
2243
2247
|
controlMutationDefaults: { defaultFunctionRegistry: stack.controlMutationDefaults?.defaultFunctionRegistry ?? /* @__PURE__ */ new Map() },
|
|
@@ -3957,4 +3961,4 @@ function startServer(streams) {
|
|
|
3957
3961
|
//#endregion
|
|
3958
3962
|
export { startServer };
|
|
3959
3963
|
|
|
3960
|
-
//# sourceMappingURL=exports-
|
|
3964
|
+
//# sourceMappingURL=exports-DeD-nbF3.mjs.map
|