renamed a type + small improvements
This commit is contained in:
+2
-1
@@ -27,10 +27,11 @@ export interface Member {
|
||||
user: OptionalExcluding<User, "email" | "name">;
|
||||
}
|
||||
|
||||
export interface CollectionIncludingMembers
|
||||
export interface CollectionIncludingMembersAndLinkCount
|
||||
extends Omit<Collection, "id" | "createdAt"> {
|
||||
id?: number;
|
||||
createdAt?: string;
|
||||
_count: { links: number };
|
||||
members: Member[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user