@openfn/language-collections 0.7.19 → 0.8.0
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/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/types/collections.d.ts +2 -1
package/dist/index.cjs
CHANGED
|
@@ -32,6 +32,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
32
32
|
// src/collections.js
|
|
33
33
|
var collections_exports = {};
|
|
34
34
|
__export(collections_exports, {
|
|
35
|
+
createMockAPI: () => API,
|
|
35
36
|
createMockServer: () => createServer,
|
|
36
37
|
each: () => each,
|
|
37
38
|
expandQuery: () => expandQuery,
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/types/collections.d.ts
CHANGED
|
@@ -87,7 +87,6 @@ export function remove(name: string, query?: string | QueryOptions, options?: {}
|
|
|
87
87
|
* })
|
|
88
88
|
*/
|
|
89
89
|
export function each(name: string, query?: string | QueryOptions, callback?: Function): (state: any) => Promise<any>;
|
|
90
|
-
export { createServer as createMockServer };
|
|
91
90
|
export function setMockClient(mockClient: any): void;
|
|
92
91
|
export function streamResponse(response: any, onValue: any): Promise<any>;
|
|
93
92
|
export function expandQuery(query: any): any;
|
|
@@ -99,3 +98,5 @@ export function handleError(response: any, path: any, endpoint: any): Promise<ne
|
|
|
99
98
|
*/
|
|
100
99
|
export type QueryOptions = any;
|
|
101
100
|
import { createServer } from "./mock.js";
|
|
101
|
+
import { API } from "./mock.js";
|
|
102
|
+
export { createServer as createMockServer, API as createMockAPI };
|