@gooddata/api-client-tiger 10.7.0-alpha.3 → 10.7.0-alpha.30
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/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +1327 -1311
- package/esm/client.d.ts +2 -2
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js +2 -2
- package/esm/client.js.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +1256 -1250
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +20 -20
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +5585 -5573
- package/esm/profile.d.ts +9 -1
- package/esm/profile.d.ts.map +1 -1
- package/esm/profile.js +12 -0
- package/esm/profile.js.map +1 -1
- package/package.json +3 -3
package/esm/profile.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AxiosInstance } from "axios";
|
|
|
2
2
|
import { ApiEntitlement } from "./generated/metadata-json-api/index.js";
|
|
3
3
|
export type FeatureContext = {
|
|
4
4
|
organizationId: string;
|
|
5
|
-
|
|
5
|
+
earlyAccessValues: string[];
|
|
6
6
|
};
|
|
7
7
|
export interface ILiveFeatures {
|
|
8
8
|
live: {
|
|
@@ -13,12 +13,20 @@ export interface ILiveFeatures {
|
|
|
13
13
|
context: FeatureContext;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare function isLiveFeatures(features: ILiveFeatures | IStaticFeatures | undefined): features is ILiveFeatures;
|
|
16
20
|
export interface IStaticFeatures {
|
|
17
21
|
static: {
|
|
18
22
|
items: Record<string, string>;
|
|
19
23
|
context: FeatureContext;
|
|
20
24
|
};
|
|
21
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare function isStaticFeatures(features: ILiveFeatures | IStaticFeatures | undefined): features is IStaticFeatures;
|
|
22
30
|
export interface IUserProfile {
|
|
23
31
|
name: string;
|
|
24
32
|
userId: string;
|
package/esm/profile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,MAAM,MAAM,cAAc,GAAG;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,MAAM,MAAM,cAAc,GAAG;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE;QACF,aAAa,EAAE;YACX,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;SACf,CAAC;QACF,OAAO,EAAE,cAAc,CAAC;KAC3B,CAAC;CACL;AAED;;GAEG;AACH,wBAAgB,cAAc,CAC1B,QAAQ,EAAE,aAAa,GAAG,eAAe,GAAG,SAAS,GACtD,QAAQ,IAAI,aAAa,CAE3B;AAED,MAAM,WAAW,eAAe;IAC5B,MAAM,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC9B,OAAO,EAAE,cAAc,CAAC;KAC3B,CAAC;CACL;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC5B,QAAQ,EAAE,aAAa,GAAG,eAAe,GAAG,SAAS,GACtD,QAAQ,IAAI,eAAe,CAE7B;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE;QACH,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,QAAQ,CAAC,EAAE,aAAa,GAAG,eAAe,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,EAAE,cAAc,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,mBAAmB;IAChC,UAAU,EAAE,MAAM,OAAO,CAAC,YAAY,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,yBAAyB,UAAW,aAAa,KAAG,mBAKhE,CAAC"}
|
package/esm/profile.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export function isLiveFeatures(features) {
|
|
5
|
+
return features.live !== undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export function isStaticFeatures(features) {
|
|
11
|
+
return features.static !== undefined;
|
|
12
|
+
}
|
|
1
13
|
export const tigerProfileClientFactory = (axios) => {
|
|
2
14
|
return {
|
|
3
15
|
// TODO: replace with direct call of TigerClient (once methods are generated from OpenAPI)
|
package/esm/profile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,MAAM,UAAU,cAAc,CAC1B,QAAqD;IAErD,OAAQ,QAA0B,CAAC,IAAI,KAAK,SAAS,CAAC;AAC1D,CAAC;AASD;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC5B,QAAqD;IAErD,OAAQ,QAA4B,CAAC,MAAM,KAAK,SAAS,CAAC;AAC9D,CAAC;AAoBD,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,KAAoB,EAAuB,EAAE;IACnF,OAAO;QACH,0FAA0F;QAC1F,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC,GAAG,CAAe,iBAAiB,CAAC,CAAC,CAAC,IAAI;KAClF,CAAC;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/api-client-tiger",
|
|
3
|
-
"version": "10.7.0-alpha.
|
|
3
|
+
"version": "10.7.0-alpha.30",
|
|
4
4
|
"author": "GoodData",
|
|
5
5
|
"description": "API Client for GoodData Cloud and GoodData.CN",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"lodash": "^4.17.21",
|
|
26
26
|
"tslib": "^2.5.0",
|
|
27
27
|
"axios-cache-interceptor": "^1.2.0",
|
|
28
|
-
"@gooddata/sdk-model": "10.7.0-alpha.
|
|
28
|
+
"@gooddata/sdk-model": "10.7.0-alpha.30"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@gooddata/eslint-config": "^4.1.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"prettier": "~2.5.0",
|
|
55
55
|
"typescript": "5.3.3",
|
|
56
56
|
"vitest": "1.0.4",
|
|
57
|
-
"@gooddata/reference-workspace": "10.7.0-alpha.
|
|
57
|
+
"@gooddata/reference-workspace": "10.7.0-alpha.30"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"clean": "rm -rf ci dist esm coverage *.log tsconfig.tsbuildinfo",
|