@or-sdk/data-hub 0.26.1 → 0.26.2-beta.4096.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/types/DataHub.d.ts
CHANGED
|
@@ -3,33 +3,10 @@ import { OperationNames } from './constants';
|
|
|
3
3
|
import { DataHubConfig, GraphqlRequestData, GraphqlResponseCheckExecution, GraphqlResponseDataVariations } from './types';
|
|
4
4
|
export declare class DataHub extends Base {
|
|
5
5
|
constructor(params: DataHubConfig);
|
|
6
|
-
/**
|
|
7
|
-
* Make request
|
|
8
|
-
* ```typescript
|
|
9
|
-
* const result = await dataHub.makeRequest({
|
|
10
|
-
* route: '/route',
|
|
11
|
-
* method: 'GET',
|
|
12
|
-
* data: requestData,
|
|
13
|
-
* params: queryParams,
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
6
|
makeRequest<T>(params: CalApiParams): Promise<T>;
|
|
18
7
|
parseError(e: AxiosError): Error;
|
|
19
8
|
getOperationName(name: OperationNames): keyof GraphqlResponseDataVariations<void>;
|
|
20
|
-
/**
|
|
21
|
-
* Subscribe for result
|
|
22
|
-
* ```typescript
|
|
23
|
-
* const result = await dataHub.subscribe('request-id');
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
9
|
subscribe(requestId: string): Promise<GraphqlResponseCheckExecution>;
|
|
27
|
-
/**
|
|
28
|
-
* Get full list from paginated request
|
|
29
|
-
* ```typescript
|
|
30
|
-
* const result = await dataHub.getFullList('POST', '/route', requestData);
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
10
|
getFullList<T>(method: CalApiParams['method'], route: string, data: GraphqlRequestData): Promise<List<T>>;
|
|
34
11
|
}
|
|
35
12
|
//# sourceMappingURL=DataHub.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataHub.d.ts","sourceRoot":"","sources":["../../src/DataHub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAW,IAAI,EAAY,UAAU,EAAE,MAAM,cAAc,CAAC;AAGvF,OAAO,EAIL,cAAc,EACf,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,aAAa,EACb,kBAAkB,EAGlB,6BAA6B,EAC7B,6BAA6B,EAC9B,MAAM,SAAS,CAAC;AAGjB,qBAAa,OAAQ,SAAQ,IAAI;gBAEnB,MAAM,EAAE,aAAa;
|
|
1
|
+
{"version":3,"file":"DataHub.d.ts","sourceRoot":"","sources":["../../src/DataHub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAW,IAAI,EAAY,UAAU,EAAE,MAAM,cAAc,CAAC;AAGvF,OAAO,EAIL,cAAc,EACf,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,aAAa,EACb,kBAAkB,EAGlB,6BAA6B,EAC7B,6BAA6B,EAC9B,MAAM,SAAS,CAAC;AAGjB,qBAAa,OAAQ,SAAQ,IAAI;gBAEnB,MAAM,EAAE,aAAa;IAuBpB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC;IAS7D,UAAU,CAAC,CAAC,EAAE,UAAU,GAAG,KAAK;IAIzB,gBAAgB,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,6BAA6B,CAAC,IAAI,CAAC;IAc3E,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,6BAA6B,CAAC;IAoDpE,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;CAyBvH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/data-hub",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2-beta.4096.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dev": "pnpm build:watch:esm"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@or-sdk/base": "^0.44.0",
|
|
21
|
+
"@or-sdk/base": "^0.44.1-beta.4096.0",
|
|
22
22
|
"uuid": "^8.3.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
@@ -28,6 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
|
-
}
|
|
32
|
-
"gitHead": "7d3b49250a670964dfe9e8e50e95417761c5473f"
|
|
31
|
+
}
|
|
33
32
|
}
|