preperation for usage of grid_to_absolute_position
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { UserProfile } from "./UserProfile.js";
|
||||
import type { FriendshipResponseDto } from "./FriendshipResponseDto.js";
|
||||
import type { FriendshipResponseDto } from "./FriendshipResponseDto";
|
||||
import type { SceneData } from "./SceneData";
|
||||
import type { UserProfile } from "./UserProfile";
|
||||
|
||||
export type AppData = {
|
||||
user: UserProfile | null;
|
||||
friends: Array<FriendshipResponseDto> | null;
|
||||
};
|
||||
export type AppData = { user: UserProfile | null, friends: Array<FriendshipResponseDto> | null, scene: SceneData, };
|
||||
|
||||
3
src/types/bindings/DisplayData.ts
Normal file
3
src/types/bindings/DisplayData.ts
Normal file
@@ -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 DisplayData = { screen_width: number, screen_height: number, monitor_scale_factor: number, };
|
||||
@@ -1,10 +1,4 @@
|
||||
import type { UserBasicDto } from "./UserBasicDto.js";
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { UserBasicDto } from "./UserBasicDto";
|
||||
|
||||
export type FriendRequestResponseDto = {
|
||||
id: string;
|
||||
sender: UserBasicDto;
|
||||
receiver: UserBasicDto;
|
||||
status: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
export type FriendRequestResponseDto = { id: string, sender: UserBasicDto, receiver: UserBasicDto, status: string, createdAt: string, updatedAt: string, };
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import type { UserBasicDto } from "./UserBasicDto.js";
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { UserBasicDto } from "./UserBasicDto";
|
||||
|
||||
export type FriendshipResponseDto = {
|
||||
id: string;
|
||||
friend: UserBasicDto;
|
||||
createdAt: string;
|
||||
};
|
||||
export type FriendshipResponseDto = { id: string, friend: UserBasicDto, createdAt: string, };
|
||||
|
||||
4
src/types/bindings/SceneData.ts
Normal file
4
src/types/bindings/SceneData.ts
Normal file
@@ -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 { DisplayData } from "./DisplayData";
|
||||
|
||||
export type SceneData = { display: DisplayData, grid_size: number, };
|
||||
@@ -1,3 +1,3 @@
|
||||
export type SendFriendRequestDto = {
|
||||
receiverId: string;
|
||||
};
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type SendFriendRequestDto = { receiverId: string, };
|
||||
|
||||
3
src/types/bindings/UpdateUserDto.ts
Normal file
3
src/types/bindings/UpdateUserDto.ts
Normal file
@@ -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 UpdateUserDto = Record<string, never>;
|
||||
@@ -1,5 +1,3 @@
|
||||
export type UserBasicDto = {
|
||||
id: string;
|
||||
name: string;
|
||||
username: string | null;
|
||||
};
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type UserBasicDto = { id: string, name: string, username: string | null, };
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type UserProfile = { id: string, name: string, email: string, username: string, createdAt: string, lastLoginAt: string, };
|
||||
export type UserProfile = { id: string, keycloakSub: string, name: string, email: string, username: string | null, roles: Array<string>, createdAt: string, updatedAt: string, lastLoginAt: string | null, };
|
||||
|
||||
Reference in New Issue
Block a user