@exclusive-website/types 1.9.1 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -133,7 +133,7 @@ export interface ModelReadDto {
133
133
  export interface UserInfoReadDto {
134
134
  id: number;
135
135
  email: string;
136
- role: UserRole;
136
+ roles: UserRole[];
137
137
  }
138
138
  export interface MediaDto {
139
139
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "A collection of shared types (DTOs and DBEs) for the organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types.ts CHANGED
@@ -164,7 +164,7 @@ export interface ModelReadDto {
164
164
  export interface UserInfoReadDto {
165
165
  id: number;
166
166
  email: string;
167
- role: UserRole;
167
+ roles: UserRole[];
168
168
  }
169
169
 
170
170
  export interface MediaDto {