diff --git a/package.json b/package.json index 955e296..b03578a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "netsblox-cloud-client", - "version": "2.4.1", + "version": "2.5.0", "description": "JS client for the netsblox cloud", "main": "index.js", "scripts": { diff --git a/src/types/CreateAssignmentData.ts b/src/types/CreateAssignmentData.ts index f84e69c..8c9d28b 100644 --- a/src/types/CreateAssignmentData.ts +++ b/src/types/CreateAssignmentData.ts @@ -1,4 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { GroupId } from "./GroupId"; -export interface CreateAssignmentData { name: string, dueDate: any, } +export interface CreateAssignmentData { name: string, dueDate: any, } \ No newline at end of file diff --git a/src/types/GroupJoinCode.ts b/src/types/GroupJoinCode.ts new file mode 100644 index 0000000..fdf223b --- /dev/null +++ b/src/types/GroupJoinCode.ts @@ -0,0 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { GroupId } from "./GroupId"; + +export interface GroupJoinCode { group: GroupId, code: string, createdAt: any, } \ No newline at end of file diff --git a/src/types/JoinCodeRequest.ts b/src/types/JoinCodeRequest.ts new file mode 100644 index 0000000..0333bc6 --- /dev/null +++ b/src/types/JoinCodeRequest.ts @@ -0,0 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export interface JoinCodeRequest { code: string, } \ No newline at end of file diff --git a/src/types/LogMessage.ts b/src/types/LogMessage.ts new file mode 100644 index 0000000..cd60514 --- /dev/null +++ b/src/types/LogMessage.ts @@ -0,0 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export interface LogMessage { sender: string, recipients: Array, content: object, } \ No newline at end of file diff --git a/src/types/NewUserBatch.ts b/src/types/NewUserBatch.ts new file mode 100644 index 0000000..8aa89e7 --- /dev/null +++ b/src/types/NewUserBatch.ts @@ -0,0 +1,4 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { NewUser } from "./NewUser"; + +export interface NewUserBatch { users: Array, } \ No newline at end of file diff --git a/src/types/NewUserErrorResponse.ts b/src/types/NewUserErrorResponse.ts new file mode 100644 index 0000000..909786b --- /dev/null +++ b/src/types/NewUserErrorResponse.ts @@ -0,0 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export interface NewUserErrorResponse { username: string, status: number, message: string, } \ No newline at end of file diff --git a/src/types/RoleMetadata.ts b/src/types/RoleMetadata.ts index 2334989..2c783de 100644 --- a/src/types/RoleMetadata.ts +++ b/src/types/RoleMetadata.ts @@ -1,3 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { S3Key } from "./S3Key"; -export interface RoleMetadata { name: string, code: string, media: string, } \ No newline at end of file +export interface RoleMetadata { name: string, code: S3Key, media: S3Key, } \ No newline at end of file diff --git a/src/types/S3Key.ts b/src/types/S3Key.ts new file mode 100644 index 0000000..d120f05 --- /dev/null +++ b/src/types/S3Key.ts @@ -0,0 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type S3Key = string; \ No newline at end of file diff --git a/src/types/UpdateUserData.ts b/src/types/UpdateUserData.ts new file mode 100644 index 0000000..b07851f --- /dev/null +++ b/src/types/UpdateUserData.ts @@ -0,0 +1,5 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { GroupId } from "./GroupId"; +import type { UserRole } from "./UserRole"; + +export interface UpdateUserData { email: string | null, groupId: GroupId | null, role: UserRole | null, } \ No newline at end of file