ozmoz 0.1.43 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -78,7 +78,7 @@ export interface OzClient extends OzTagNames {
78
78
 
79
79
  // Live data (read-only). Reloads when the data changes elsewhere. Returns a function that stops it.
80
80
  watch: {
81
- <T = any>(table: string, options: { desc?: string; role?: string; guard?: string; scope?: 'all' | 'user' }, onData: (docs: T[]) => void, onError?: (error: any) => void): () => void;
81
+ <T = any>(table: string, options: { desc?: string; role?: string; guard?: string; scope?: 'all' | 'user'; where?: Record<string, string | number | boolean>; limit?: number; sort?: Record<string, 1 | -1> }, onData: (docs: T[]) => void, onError?: (error: any) => void): () => void;
82
82
  (target: { call: string; payload?: any }, options: { desc?: string; role?: string } | undefined, onData: (result: any) => void, onError?: (error: any) => void): () => void;
83
83
  };
84
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ozmoz",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "SDK and CLI for the oz.* data API and the <oz-*> web components.",
5
5
  "license": "UNLICENSED",
6
6
  "keywords": [