feat(client): 🏷️ Export all types, refactor ResponseError better

This commit is contained in:
Jesse Wierzbinski 2024-06-19 12:38:51 -10:00
parent dc352bc276
commit 218af68dcc
No known key found for this signature in database
6 changed files with 156 additions and 37 deletions

View file

@ -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",