finalized server actions

This commit is contained in:
ACoolName 2024-05-23 02:32:07 +03:00
parent b25998da7f
commit 1d81974c32

View File

@ -547,14 +547,14 @@ export const SERVER_ACTIONS: ActionInfo[] = [
response_action: "Ignore", response_action: "Ignore",
args: { args: {
properties: { properties: {
username: { Username: {
type: "string", type: "string",
title: "Username", title: "Username",
fetch_display_path: "Username", fetch_display_path: "Username",
fetch_key_path: "Username", fetch_key_path: "Username",
fetch_url: "/users" fetch_url: "/users"
}, },
permissions: { Permissions: {
type: "number", type: "number",
title: "Permissions", title: "Permissions",
permissions: true, permissions: true,
@ -562,8 +562,11 @@ export const SERVER_ACTIONS: ActionInfo[] = [
}, },
type: "object", type: "object",
required: [ required: [
"username" "Username"
], ],
default: {
Permissions: 0
},
title: "Set User Permissions", title: "Set User Permissions",
definitions: definitions, definitions: definitions,
}, },