feat: allow filtering with null (no) rating
This commit is contained in:
@@ -41,6 +41,7 @@ export type GenericResource = {
|
||||
meta?: {
|
||||
image?: string;
|
||||
author?: string;
|
||||
rating?: number;
|
||||
average?: string;
|
||||
thumbnail?: string;
|
||||
};
|
||||
@@ -66,9 +67,4 @@ export type TypesenseDocument = {
|
||||
image?: string;
|
||||
};
|
||||
|
||||
export enum ResourceStatus {
|
||||
COMPLETED = "completed",
|
||||
NOT_COMPLETED = "not_completed",
|
||||
}
|
||||
|
||||
export type SearchResult = SearchResponse<TypesenseDocument>;
|
||||
|
||||
Reference in New Issue
Block a user