@scoreboardmax/api-types 1.0.22-next.23 → 1.0.22-next.24

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -274,6 +274,12 @@ export declare enum WrestlingStyle {
274
274
  Greco = "greco",
275
275
  Folkstyle = "folkstyle"
276
276
  }
277
+ export interface AccountListResponse {
278
+ url: string;
279
+ uri: string;
280
+ pageNext: string | null;
281
+ data: AccountResponse[];
282
+ }
277
283
  export interface AccountRequest {
278
284
  name: string | null;
279
285
  logoFilename: string | null;
@@ -1171,7 +1177,7 @@ export interface UserListResponse {
1171
1177
  url: string;
1172
1178
  uri: string;
1173
1179
  pageNext: string | null;
1174
- data: UserResponse[] | UserResponseAdmin[];
1180
+ data: UserResponse[];
1175
1181
  }
1176
1182
  export interface UserRequest {
1177
1183
  email: string;
@@ -1193,10 +1199,6 @@ export interface UserResponse {
1193
1199
  dateModified: string;
1194
1200
  dateLastActivity: string | null;
1195
1201
  }
1196
- export interface UserResponseAdmin extends UserResponse {
1197
- isOwner: boolean;
1198
- isAdmin: boolean;
1199
- }
1200
1202
  export interface UserUpdateRequest {
1201
1203
  name?: string;
1202
1204
  permissions?: Permissions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scoreboardmax/api-types",
3
- "version": "1.0.22-next.23",
3
+ "version": "1.0.22-next.24",
4
4
  "description": "TypeScript definitions for ScoreboardMax API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",