mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 18:32:26 -06:00
[feature] Add domain permission drafts and excludes (#3547)
* [feature] Add domain permission drafts and excludes * fix typescript complaining * lint * make filenames more consistent * test own domain excluded
This commit is contained in:
parent
c2029df9bc
commit
301543616b
69 changed files with 5664 additions and 264 deletions
|
|
@ -37,6 +37,12 @@ const extended = gtsApi.injectEndpoints({
|
|||
}),
|
||||
transformResponse: listToKeyedObject<DomainPerm>("domain"),
|
||||
}),
|
||||
|
||||
domainPermissionDrafts: build.query<any, void>({
|
||||
query: () => ({
|
||||
url: `/api/v1/admin/domain_permission_drafts`
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue