feat: remove typesense

This commit is contained in:
2025-01-05 23:14:19 +01:00
parent d0d49b217d
commit 709fb2d7be
21 changed files with 128 additions and 381 deletions

View File

@@ -1,4 +1,3 @@
import { SearchResponse } from "https://raw.githubusercontent.com/bradenmacdonald/typesense-deno/main/src/Typesense/Documents.ts";
import { resources } from "@lib/resources.ts";
export interface TMDBMovie {
@@ -39,6 +38,7 @@ export type GenericResource = {
id: string;
tags?: string[];
type: keyof typeof resources;
content?: string;
meta?: {
image?: string;
author?: string;
@@ -58,7 +58,7 @@ export interface GiteaOauthUser {
groups: any;
}
export type TypesenseDocument = {
export type SearchResult = {
id: string;
name: string;
type: keyof typeof resources;
@@ -68,5 +68,3 @@ export type TypesenseDocument = {
description?: string;
image?: string;
};
export type SearchResult = SearchResponse<TypesenseDocument>;