This commit introduces several key features: - **Multiple Character Support**: The application can now handle multiple logged-in EVE Online characters. - **List Characters**: A new function `ListCharacters` allows retrieving a list of all authenticated characters. - **Set Destination for All**: The `SetDestinationForAll` function enables setting a destination for all logged-in characters simultaneously. - **UI Updates**: The frontend has been updated to display logged-in characters and to allow setting destinations for all characters. - **Backend Refinements**: The ESI SSO logic has been improved to support refreshing tokens for multiple characters and to handle the new multi-character functionality. - **Dependency Updates**: Dependencies have been updated to their latest versions. chore: update go module dependencies
20 lines
440 B
TypeScript
20 lines
440 B
TypeScript
export namespace main {
|
|
|
|
export class CharacterInfo {
|
|
character_id: number;
|
|
character_name: string;
|
|
|
|
static createFrom(source: any = {}) {
|
|
return new CharacterInfo(source);
|
|
}
|
|
|
|
constructor(source: any = {}) {
|
|
if ('string' === typeof source) source = JSON.parse(source);
|
|
this.character_id = source["character_id"];
|
|
this.character_name = source["character_name"];
|
|
}
|
|
}
|
|
|
|
}
|
|
|