update
This commit is contained in:
1 parent
65e85135c1
commit
6f1de8047e
64 files changed
+1269
-515
No files matched your search
@@ -109,6 +109,15 @@ export function registerCoreReadHandlers({
|
||||
}
|
||||
});
|
||||
|
||||
registerHandle(IPC_CHANNELS.getConnectorDisabledModels, (_event, connectorId) => {
|
||||
try {
|
||||
const parsed = connectorInputSchema.shape.id.parse(connectorId);
|
||||
return ok(db.getDisabledModels(parsed));
|
||||
} catch {
|
||||
return ok([]);
|
||||
}
|
||||
});
|
||||
|
||||
registerHandle(IPC_CHANNELS.getInbox, (_event, payload) => {
|
||||
const companyId = z.string().uuid().parse(payload);
|
||||
const err = ensureCompanyExists(companyId);
|
||||
|
||||
Reference in new issue
Block a user