added recent links to dashboard

This commit is contained in:
daniel31x13
2023-10-23 10:45:48 -04:00
parent 697b139493
commit 4252b79586
19 changed files with 461 additions and 53 deletions
+6 -10
View File
@@ -56,21 +56,17 @@ export enum Sort {
DescriptionZA,
}
export type LinkSearchFilter = {
name: boolean;
url: boolean;
description: boolean;
tags: boolean;
};
export type LinkRequestQuery = {
sort: Sort;
cursor?: number;
collectionId?: number;
tagId?: number;
sort: Sort;
searchFilter?: LinkSearchFilter;
searchQuery?: string;
pinnedOnly?: boolean;
searchQueryString?: string;
searchByName?: boolean;
searchByUrl?: boolean;
searchByDescription?: boolean;
searchByTags?: boolean;
};
export type PublicLinkRequestQuery = {