mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-13 19:08:52 +00:00
✨ feat: World Discovery
This commit is contained in:
+2
-1
@@ -6,7 +6,7 @@ import type {
|
||||
TwoFactorPayload,
|
||||
} from "./types/auth";
|
||||
import type { SocialSnapshot, UserProfile, UserStatus } from "./types/user";
|
||||
import type { FavoriteWorldFolder, World, WorldSnapshot } from "./types/world";
|
||||
import type { DiscoverCategory, FavoriteWorldFolder, World, WorldSnapshot } from "./types/world";
|
||||
import type { CreateInstanceInput, Instance, InstanceRegion } from "./types/instance";
|
||||
import type { UnityStatus } from "./types/unity";
|
||||
import type { Avatar } from "./types/avatar";
|
||||
@@ -48,6 +48,7 @@ export interface IpcRequests {
|
||||
|
||||
"world:byUser": (userId: string) => IpcResult<World[]>;
|
||||
"world:search": (query: string) => IpcResult<World[]>;
|
||||
"world:discover": () => IpcResult<DiscoverCategory[]>;
|
||||
"world:favorites": (userId: string) => IpcResult<FavoriteWorldFolder[]>;
|
||||
"world:get": (worldId: string) => IpcResult<World>;
|
||||
"world:snapshot": () => IpcResult<WorldSnapshot>;
|
||||
|
||||
@@ -45,3 +45,9 @@ export interface FavoriteWorldFolder {
|
||||
displayName: string;
|
||||
worldIds: string[];
|
||||
}
|
||||
|
||||
export interface DiscoverCategory {
|
||||
id: string;
|
||||
name: string;
|
||||
worlds: World[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user