feat(mcp): расширить управление маршрутизацией, доступом и обслуживанием базы
This commit is contained in:
1 parent
9240e8be11
commit
cffcfada88
125 files changed
+6021
-602
No files matched your search
+2
-1
@@ -1,6 +1,7 @@
|
||||
import {
|
||||
interfaceCatalogStateSchema,
|
||||
type InterfaceCatalogState,
|
||||
appUserCreateSchema,
|
||||
appUserReadSchema,
|
||||
catalogInterfaceSchema,
|
||||
userBindingSchema,
|
||||
@@ -80,7 +81,7 @@ function confirmProfile(user: AppUserRead, data: AppUserCreate | AppUserUpdate)
|
||||
}
|
||||
}
|
||||
|
||||
export async function createAppUser(baseUrl: string, data: AppUserCreate, init?: RequestInit): Promise<AppUser> {
|
||||
export async function createAppUser(baseUrl: string, data: z.input<typeof appUserCreateSchema>, init?: RequestInit): Promise<AppUser> {
|
||||
const payload = await requestJson<unknown>(baseUrl, "/api/users", {
|
||||
...init,
|
||||
method: "POST",
|
||||
|
||||
Reference in new issue
Block a user