Add ContributorCountResponseDto and expose contributorCounts

on AlbumResponseDto in OpenAPI spec. Regenerate TypeScript SDK
and mobile OpenAPI clients to include new types.

No breaking changes; fields are additive.
This commit is contained in:
Chaoscontrol 2025-10-02 17:50:31 +01:00 committed by Chaoscontrol
parent 5b333fc03e
commit bd87d2bd08
7 changed files with 145 additions and 1 deletions

View file

@ -356,12 +356,17 @@ export type AssetResponseDto = {
updatedAt: string;
visibility: AssetVisibility;
};
export type ContributorCountResponseDto = {
assetCount: number;
userId: string;
};
export type AlbumResponseDto = {
albumName: string;
albumThumbnailAssetId: string | null;
albumUsers: AlbumUserResponseDto[];
assetCount: number;
assets: AssetResponseDto[];
contributorCounts?: ContributorCountResponseDto[];
createdAt: string;
description: string;
endDate?: string;