omniarena-types 1.71.0 → 1.73.0
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/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,7 @@ export type YourSkinDto = {
|
|
|
153
153
|
public: boolean;
|
|
154
154
|
createdAt: Date;
|
|
155
155
|
updatedAt: Date;
|
|
156
|
+
default: boolean;
|
|
156
157
|
uses: number;
|
|
157
158
|
};
|
|
158
159
|
export type PublicSkinDto = {
|
|
@@ -225,8 +226,10 @@ export type UserDto = {
|
|
|
225
226
|
highestStreak: number;
|
|
226
227
|
shards: number;
|
|
227
228
|
skinId: string;
|
|
229
|
+
roles: UserRole[];
|
|
228
230
|
joinedOn: Date;
|
|
229
231
|
};
|
|
232
|
+
export type UserRole = 'user' | 'admin' | 'mod' | 'bot' | 'skin_maker';
|
|
230
233
|
export type UserSummaryDto = {
|
|
231
234
|
id: string;
|
|
232
235
|
username: string;
|