-
-
Notifications
You must be signed in to change notification settings - Fork 945
Expand file tree
/
Copy pathschemaendpoints.ts
More file actions
56 lines (52 loc) · 1.66 KB
/
schemaendpoints.ts
File metadata and controls
56 lines (52 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Copyright 2025, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import aipresetsSchema from "../../../schema/aipresets.json";
import backgroundsSchema from "../../../schema/backgrounds.json";
import connectionsSchema from "../../../schema/connections.json";
import keybindingsSchema from "../../../schema/keybindings.json";
import settingsSchema from "../../../schema/settings.json";
import waveaiSchema from "../../../schema/waveai.json";
import widgetsSchema from "../../../schema/widgets.json";
type SchemaInfo = {
uri: string;
fileMatch: Array<string>;
schema: object;
};
const MonacoSchemas: SchemaInfo[] = [
{
uri: "wave://schema/settings.json",
fileMatch: ["*/WAVECONFIGPATH/settings.json"],
schema: settingsSchema,
},
{
uri: "wave://schema/connections.json",
fileMatch: ["*/WAVECONFIGPATH/connections.json"],
schema: connectionsSchema,
},
{
uri: "wave://schema/aipresets.json",
fileMatch: ["*/WAVECONFIGPATH/presets/ai.json"],
schema: aipresetsSchema,
},
{
uri: "wave://schema/backgrounds.json",
fileMatch: ["*/WAVECONFIGPATH/backgrounds.json"],
schema: backgroundsSchema,
},
{
uri: "wave://schema/waveai.json",
fileMatch: ["*/WAVECONFIGPATH/waveai.json"],
schema: waveaiSchema,
},
{
uri: "wave://schema/widgets.json",
fileMatch: ["*/WAVECONFIGPATH/widgets.json"],
schema: widgetsSchema,
},
{
uri: "wave://schema/keybindings.json",
fileMatch: ["*/WAVECONFIGPATH/keybindings.json"],
schema: keybindingsSchema,
},
];
export { MonacoSchemas };