mirror of
https://github.com/versia-pub/api.git
synced 2026-03-13 04:09:15 +01:00
feat(client): 🏷️ Export all types, refactor ResponseError better
This commit is contained in:
parent
dc352bc276
commit
218af68dcc
6 changed files with 156 additions and 37 deletions
|
|
@ -1,7 +1,7 @@
|
|||
export type LysandRole = {
|
||||
id: string;
|
||||
name: string;
|
||||
permissions: LysandRolePermissions[];
|
||||
permissions: RolePermission[];
|
||||
priority: number;
|
||||
description: string | null;
|
||||
visible: boolean;
|
||||
|
|
@ -9,7 +9,7 @@ export type LysandRole = {
|
|||
};
|
||||
|
||||
// Last updated: 2024-06-07
|
||||
export enum LysandRolePermissions {
|
||||
export enum RolePermission {
|
||||
ManageNotes = "notes",
|
||||
ManageOwnNotes = "owner:note",
|
||||
ViewNotes = "read:note",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue