@dhis2/app-service-data 3.14.3 → 3.14.4
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/build/types/types.d.ts +3 -0
- package/package.json +2 -2
package/build/types/types.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { QueryExecuteOptions } from './engine/types/ExecuteOptions';
|
|
|
3
3
|
import { FetchError } from './engine/types/FetchError';
|
|
4
4
|
import { JsonValue } from './engine/types/JsonValue';
|
|
5
5
|
import { QueryVariables, QueryResult } from './engine/types/Query';
|
|
6
|
+
export type { Mutation } from './engine/types/Mutation';
|
|
7
|
+
export type { Query } from './engine/types/Query';
|
|
6
8
|
export interface ContextType {
|
|
7
9
|
engine: DataEngine;
|
|
8
10
|
}
|
|
@@ -10,6 +12,7 @@ export interface ContextInput {
|
|
|
10
12
|
baseUrl: string;
|
|
11
13
|
apiVersion: number;
|
|
12
14
|
}
|
|
15
|
+
export type ExecuteOptions = QueryExecuteOptions;
|
|
13
16
|
export type RefetchOptions = QueryVariables;
|
|
14
17
|
export type RefetchFunction<ReturnType> = (options?: RefetchOptions) => Promise<ReturnType>;
|
|
15
18
|
export type QueryRefetchFunction = RefetchFunction<QueryResult>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2/app-service-data",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.4",
|
|
4
4
|
"main": "./build/cjs/index.js",
|
|
5
5
|
"module": "./build/es/index.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@tanstack/react-query": "^4.36.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@dhis2/app-service-config": "3.14.
|
|
39
|
+
"@dhis2/app-service-config": "3.14.4",
|
|
40
40
|
"prop-types": "^15.7.2",
|
|
41
41
|
"react": "^16.8 || ^18",
|
|
42
42
|
"react-dom": "^16.8 || ^18"
|