Per-stream visibility: isPublic on StreamPlan, PATCH endpoint, feed + profile updates

This commit is contained in:
2026-03-03 21:37:00 +01:00
parent ed83c651d8
commit bc6c01940a
9 changed files with 280 additions and 45 deletions

View File

@@ -71,6 +71,7 @@ export interface CreateStreamPlanBody {
name: string;
executionMode?: string;
gameId?: string;
isPublic?: boolean;
destinations: CreateDestinationBody[];
}
@@ -78,6 +79,7 @@ export interface UpdateStreamPlanBody {
name?: string;
executionMode?: string;
gameId?: string;
isPublic?: boolean;
destinations?: CreateDestinationBody[];
}
@@ -98,6 +100,7 @@ export interface StreamPlanResponse {
status: string;
executionMode: string;
gameId: string;
isPublic: boolean;
createdAt: string;
updatedAt: string;
destinations: StreamDestinationResponse[];
@@ -140,10 +143,12 @@ export interface PublicUserResponse {
followerCount: number;
followingCount: number;
isFollowing: boolean;
streams?: StreamPlanResponse[];
}
export interface FeedItemResponse {
plan: StreamPlanResponse & { user: { id: string; displayName: string; avatarUrl: string | null } };
previewUrl: string | null;
likeCount: number;
commentCount: number;
isLiked: boolean;