feat: remove typesense
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user