@protobase/ui 0.59.3 → 0.60.1

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.
@@ -77,6 +77,8 @@ export declare const useClient: () => {
77
77
  clear: () => Promise<void>;
78
78
  people: () => Promise<import("@protobase/client").PersonStatus[]>;
79
79
  };
80
+ calls: (resource: import("@protobase/client").ResourceRef, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => Promise<import("@protobase/client").RecordCall[]>;
81
+ watchCalls: (resource: import("@protobase/client").ResourceRef, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[], handlers: import("@protobase/client").RecordCallsHandlers) => () => void;
80
82
  };
81
83
  /**
82
84
  * The client of the API that serves `resource`: a source's for a resource the app draws from one, the app's own
@@ -156,6 +158,8 @@ export declare const useResourceClient: (resource: string) => {
156
158
  clear: () => Promise<void>;
157
159
  people: () => Promise<import("@protobase/client").PersonStatus[]>;
158
160
  };
161
+ calls: (resource: import("@protobase/client").ResourceRef, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => Promise<import("@protobase/client").RecordCall[]>;
162
+ watchCalls: (resource: import("@protobase/client").ResourceRef, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[], handlers: import("@protobase/client").RecordCallsHandlers) => () => void;
159
163
  };
160
164
  export type ApiProviderProps = {
161
165
  /** Defaults to `/api/v1` on the current origin. */
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.59.3";
2
+ var version = "0.60.1";
3
3
  var protobase = { "pluginApi": 1 };
4
4
  //#endregion
5
5
  export { protobase, version };