fix(webui): restore full-project typechecking
This commit is contained in:
1 parent
f869212e7d
commit
a1bca7dc50
56 files changed
+622
-583
No files matched your search
@@ -10,8 +10,8 @@ vi.mock("@/lib/remote-instances", async (original) => ({
|
||||
...await original<typeof import("@/lib/remote-instances")>(), readRemoteInstances: mocks.read,
|
||||
}));
|
||||
const ids = Array.from({ length: 4 }, (_, i) => `3b968d52-081d-4898-9970-ff0a1fc9381${i}`);
|
||||
const connections: RemoteConnection[] = ids.map((id, i) => ({ id, name: `Server ${i}`, hostname: `host-${i}`,
|
||||
gateway_id: `gateway-${i}`, url: `http://127.0.0.1:${24000 + i}/#/?bootstrapSecret=secret` }));
|
||||
const connections: RemoteConnection[] = ids.map((id, i) => ({ id, name: `Server ${i}`, host: `host-${i}`, hostname: `host-${i}`,
|
||||
config_path: "/home/test/.nanobot/config.json", gateway_id: `gateway-${i}`, url: `http://127.0.0.1:${24000 + i}/#/?bootstrapSecret=secret` }));
|
||||
const directory = { available: true, profiles: connections.map((item) => ({ ...item, connected: true })) };
|
||||
const deferred = <T,>() => {
|
||||
let resolve!: (value: T) => void;
|
||||
|
||||
Reference in new issue
Block a user