Privileged app passwords (#4200)
* add checkbox to create privileged app password * add indicator to privileged app pwds to list * bump api * oops missed the yarnlock * adjust modal padding * lowercase * one more lowercase --------- Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
parent
406993cf0e
commit
d2c42cf169
5 changed files with 145 additions and 110 deletions
|
@ -25,12 +25,13 @@ export function useAppPasswordCreateMutation() {
|
|||
return useMutation<
|
||||
ComAtprotoServerCreateAppPassword.OutputSchema,
|
||||
Error,
|
||||
{name: string}
|
||||
{name: string; privileged: boolean}
|
||||
>({
|
||||
mutationFn: async ({name}) => {
|
||||
mutationFn: async ({name, privileged}) => {
|
||||
return (
|
||||
await getAgent().com.atproto.server.createAppPassword({
|
||||
name,
|
||||
privileged,
|
||||
})
|
||||
).data
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue