Skip to content

Commit

Permalink
fix: refine access rights type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclickbits committed Oct 25, 2022
1 parent e7a833b commit 8a51f3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/access.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type AccessToCustomersProjects =
| boolean
| Record<string, true | Record<string, true>>;
| true
| Record<string, true | { projects: Record<string, true> }>;

export type AccessToServices = boolean | Record<string, true>;

0 comments on commit 8a51f3b

Please sign in to comment.