Vendored
+1
@@ -6,6 +6,7 @@ declare global {
|
||||
NEXTAUTH_URL: string;
|
||||
PAGINATION_TAKE_COUNT?: string;
|
||||
STORAGE_FOLDER?: string;
|
||||
AUTOSCROLL_TIMEOUT?: string;
|
||||
|
||||
SPACES_KEY?: string;
|
||||
SPACES_SECRET?: string;
|
||||
|
||||
+9
-1
@@ -36,7 +36,7 @@ export interface CollectionIncludingMembersAndLinkCount
|
||||
export interface AccountSettings extends User {
|
||||
profilePic: string;
|
||||
newPassword?: string;
|
||||
whitelistedUsers: string[]
|
||||
whitelistedUsers: string[];
|
||||
}
|
||||
|
||||
interface LinksIncludingTags extends Link {
|
||||
@@ -77,3 +77,11 @@ export type PublicLinkRequestQuery = {
|
||||
cursor?: number;
|
||||
collectionId: number;
|
||||
};
|
||||
|
||||
interface CollectionIncludingLinks extends Collection {
|
||||
links: LinksIncludingTags[];
|
||||
}
|
||||
|
||||
export interface Backup extends Omit<User, "password" | "id" | "image"> {
|
||||
collections: CollectionIncludingLinks[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user