@livequery/types
Advanced tools
@@ -37,10 +37,12 @@ import { LivequeryBaseEntity } from "./LivequeryBaseEntity.js"; | ||
| }; | ||
| export type Summary = { | ||
| [key: string]: any; | ||
| }; | ||
| export declare type QueryStream<T extends LivequeryBaseEntity = LivequeryBaseEntity> = Response<{ | ||
| changes: Array<UpdatedData<T>>; | ||
| paging?: Paging; | ||
| summary?: Summary; | ||
| }>; | ||
| export type CollectionResponse<T, R extends {} = {}> = Response<Paging & { | ||
| summary: { | ||
| [key in keyof R]: number; | ||
| }; | ||
| export type CollectionResponse<T> = Response<Paging & { | ||
| summary: Summary; | ||
| items: T[]; | ||
@@ -47,0 +49,0 @@ subscription_token?: string; |
+1
-1
@@ -6,3 +6,3 @@ { | ||
| }, | ||
| "version": "2.0.15", | ||
| "version": "2.0.22", | ||
| "description": "", | ||
@@ -9,0 +9,0 @@ "type": "module", |
7377
0.29%154
1.32%