mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-13 19:08:52 +00:00
✨ feat: Manage world favorites
This commit is contained in:
@@ -33,6 +33,7 @@ export interface World {
|
||||
platforms?: WorldPlatforms;
|
||||
publicOccupants?: number;
|
||||
privateOccupants?: number;
|
||||
deleted?: boolean;
|
||||
}
|
||||
|
||||
export interface WorldSnapshot {
|
||||
@@ -46,6 +47,35 @@ export interface FavoriteWorldFolder {
|
||||
worldIds: string[];
|
||||
}
|
||||
|
||||
export type FavoriteVisibility = "private" | "friends" | "public";
|
||||
|
||||
export interface FavoriteWorldGroup {
|
||||
name: string;
|
||||
displayName: string;
|
||||
visibility: FavoriteVisibility;
|
||||
worldIds: string[];
|
||||
}
|
||||
|
||||
export interface FavoriteLimits {
|
||||
maxGroups: number;
|
||||
maxPerGroup: number;
|
||||
}
|
||||
|
||||
export interface FavoriteGroupEdit {
|
||||
displayName?: string;
|
||||
visibility?: FavoriteVisibility;
|
||||
}
|
||||
|
||||
export interface MoveResult {
|
||||
moved: number;
|
||||
skipped: string[];
|
||||
}
|
||||
|
||||
export interface WorldFavoritesSnapshot {
|
||||
groups: FavoriteWorldGroup[];
|
||||
limits: FavoriteLimits;
|
||||
}
|
||||
|
||||
export interface DiscoverCategory {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user