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 a6aef12 commit 88ce3eeCopy full SHA for 88ce3ee
packages/my-queries-storage/src/compass-query-storage.ts
@@ -16,7 +16,7 @@ export interface QueryStorageBackend<TData> {
16
loadAll(namespace?: string): Promise<TData[]>;
17
updateAttributes(id: string, data: Partial<TData>): Promise<TData>;
18
delete(id: string): Promise<boolean>;
19
- saveQuery(data: any): Promise<void>;
+ saveQuery(data: Omit<TData, '_id' | '_lastExecuted'>): Promise<void>;
20
}
21
22
export abstract class CompassQueryStorage<
0 commit comments