ozmoz 0.1.25 → 0.1.27

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
@@ -71,10 +71,10 @@ export interface OzClient extends OzTagNames {
71
71
  update: (table: string, docId: string, data: any, options?: any) => Promise<{ success: boolean; documentId?: string; error?: string }>;
72
72
  delete: (table: string, docId: string, options?: any) => Promise<{ success: boolean; documentId?: string; error?: string }>;
73
73
 
74
- // Lectures : retournent les données directes
75
- getDocsG: <T = any>(table: string) => Promise<T[]>;
76
- getDocsU: <T = any>(table: string) => Promise<T[]>;
77
- getDoc: <T = any>(table: string, docId: string) => Promise<T | null>;
74
+ // Lectures : retournent les données directes (avec gouvernance autorisée)
75
+ getDocsG: <T = any>(table: string, options?: any) => Promise<T[]>;
76
+ getDocsU: <T = any>(table: string, options?: any) => Promise<T[]>;
77
+ getDoc: <T = any>(table: string, docId: string, options?: any) => Promise<T | null>;
78
78
 
79
79
  getAuthUser: OzMethod;
80
80
  join: OzMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ozmoz",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "description": "SDK and CLI for the oz.* data API and the <oz-*> web components.",
5
5
  "license": "UNLICENSED",
6
6
  "keywords": [