Per-stream visibility: isPublic on StreamPlan, PATCH endpoint, feed + profile updates
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user