mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 14:34:37 +00:00
PR: Feishu Plugin - Auto-grant document permissions to requesting user (openclaw#28295) thanks @zhoulongchao77
Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: zhoulongchao77 <65058500+zhoulongchao77@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
@@ -21,6 +21,14 @@ export const FeishuDocSchema = Type.Union([
|
||||
action: Type.Literal("create"),
|
||||
title: Type.String({ description: "Document title" }),
|
||||
folder_token: Type.Optional(Type.String({ description: "Target folder token (optional)" })),
|
||||
owner_open_id: Type.Optional(
|
||||
Type.String({ description: "Open ID of the user to grant ownership permission" }),
|
||||
),
|
||||
owner_perm_type: Type.Optional(
|
||||
Type.Union([Type.Literal("view"), Type.Literal("edit"), Type.Literal("full_access")], {
|
||||
description: "Permission type (default: full_access)",
|
||||
}),
|
||||
),
|
||||
}),
|
||||
Type.Object({
|
||||
action: Type.Literal("list_blocks"),
|
||||
|
||||
Reference in New Issue
Block a user