tui: add reject message support to permission dialogs for better user feedback
This commit is contained in:
parent
2b66b31d96
commit
47c670aea9
8 changed files with 196 additions and 79 deletions
|
|
@ -1706,6 +1706,7 @@ export class Permission extends HeyApiClient {
|
|||
requestID: string
|
||||
directory?: string
|
||||
reply?: "once" | "always" | "reject"
|
||||
message?: string
|
||||
},
|
||||
options?: Options<never, ThrowOnError>,
|
||||
) {
|
||||
|
|
@ -1717,6 +1718,7 @@ export class Permission extends HeyApiClient {
|
|||
{ in: "path", key: "requestID" },
|
||||
{ in: "query", key: "directory" },
|
||||
{ in: "body", key: "reply" },
|
||||
{ in: "body", key: "message" },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -3449,6 +3449,7 @@ export type PermissionRespondResponse = PermissionRespondResponses[keyof Permiss
|
|||
export type PermissionReplyData = {
|
||||
body?: {
|
||||
reply: "once" | "always" | "reject"
|
||||
message?: string
|
||||
}
|
||||
path: {
|
||||
requestID: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue