We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c96b443 commit 84c2294Copy full SHA for 84c2294
1 file changed
src/Typesense/CurationSets.ts
@@ -42,8 +42,6 @@ export interface CurationSetsListEntrySchema {
42
items: CurationObjectSchema[];
43
}
44
45
-export type CurationSetsListResponseSchema = CurationSetsListEntrySchema[];
46
-
47
export interface CurationSetDeleteResponseSchema {
48
name: string;
49
@@ -52,8 +50,8 @@ export default class CurationSets {
52
50
constructor(private apiCall: ApiCall) {}
53
51
static readonly RESOURCEPATH = "/curation_sets";
54
55
- async retrieve(): Promise<CurationSetsListResponseSchema> {
56
- return this.apiCall.get<CurationSetsListResponseSchema>(
+ async retrieve(): Promise<CurationSetsListEntrySchema[]> {
+ return this.apiCall.get<CurationSetsListEntrySchema[]>(
57
CurationSets.RESOURCEPATH,
58
);
59
0 commit comments