feat: some shit

This commit is contained in:
2023-08-08 11:03:20 +02:00
parent eb1d065f1f
commit dccb6a6ecf
9 changed files with 95 additions and 19 deletions

View File

@@ -27,8 +27,8 @@ export interface GiteaOauthUser {
groups: any;
}
export type SearchResult = SearchResponse<{
id:string;
export type TypesenseDocument = {
id: string;
name: string;
type: keyof typeof resources;
date?: string;
@@ -36,4 +36,6 @@ export type SearchResult = SearchResponse<{
tags: string[];
description?: string;
image?: string;
}>;
};
export type SearchResult = SearchResponse<TypesenseDocument>;