@gooddata/api-client-tiger 11.13.0-alpha.6 → 11.13.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/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 +197 -10
- package/esm/api-endpoints/locationStyle/index.d.ts +3 -0
- package/esm/api-endpoints/locationStyle/index.d.ts.map +1 -0
- package/esm/api-endpoints/locationStyle/index.js +3 -0
- package/esm/api-endpoints/locationStyle/index.js.map +1 -0
- package/esm/client.d.ts +4 -2
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js +4 -1
- package/esm/client.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +347 -9
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +292 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +605 -364
- package/esm/locationStyle.d.ts +23 -0
- package/esm/locationStyle.d.ts.map +1 -0
- package/esm/locationStyle.js +17 -0
- package/esm/locationStyle.js.map +1 -0
- package/package.json +5 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AxiosInstance } from "axios";
|
|
2
|
+
/**
|
|
3
|
+
* Basic representation of a MapLibre style document returned by Tiger.
|
|
4
|
+
*/
|
|
5
|
+
export type LocationStyleDocument = Record<string, unknown>;
|
|
6
|
+
/**
|
|
7
|
+
* Interface describing available operations for location service style endpoint.
|
|
8
|
+
*/
|
|
9
|
+
export interface LocationStyleApiInterface {
|
|
10
|
+
/**
|
|
11
|
+
* Loads the default MapLibre style document configured for the organization.
|
|
12
|
+
*/
|
|
13
|
+
getDefaultStyle(): Promise<LocationStyleDocument>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Factory producing a typed client for interacting with the location style endpoint.
|
|
17
|
+
*/
|
|
18
|
+
export declare const tigerLocationStyleClientFactory: (axios: AxiosInstance) => LocationStyleApiInterface;
|
|
19
|
+
/**
|
|
20
|
+
* Low-level request that retrieves the current MapLibre style configuration.
|
|
21
|
+
*/
|
|
22
|
+
export declare function LocationStyleApi_GetDefaultStyle(axios: AxiosInstance): Promise<LocationStyleDocument>;
|
|
23
|
+
//# sourceMappingURL=locationStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locationStyle.d.ts","sourceRoot":"","sources":["../src/locationStyle.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,aAAa,KAAG,yBAItE,CAAC;AAEF;;GAEG;AACH,wBAAsB,gCAAgC,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAG3G"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
/**
|
|
3
|
+
* Factory producing a typed client for interacting with the location style endpoint.
|
|
4
|
+
*/
|
|
5
|
+
export const tigerLocationStyleClientFactory = (axios) => {
|
|
6
|
+
return {
|
|
7
|
+
getDefaultStyle: async () => LocationStyleApi_GetDefaultStyle(axios),
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Low-level request that retrieves the current MapLibre style configuration.
|
|
12
|
+
*/
|
|
13
|
+
export async function LocationStyleApi_GetDefaultStyle(axios) {
|
|
14
|
+
const response = await axios.get("/api/v1/location/style");
|
|
15
|
+
return response.data;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=locationStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locationStyle.js","sourceRoot":"","sources":["../src/locationStyle.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAmBhC;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,KAAoB,EAA6B,EAAE;IAC/F,OAAO;QACH,eAAe,EAAE,KAAK,IAAI,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC;KACvE,CAAC;AACN,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,gCAAgC,CAAC,KAAoB;IACvE,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAwB,wBAAwB,CAAC,CAAC;IAClF,OAAO,QAAQ,CAAC,IAAI,CAAC;AACzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/api-client-tiger",
|
|
3
|
-
"version": "11.13.0
|
|
3
|
+
"version": "11.13.0",
|
|
4
4
|
"description": "API Client for GoodData Cloud and GoodData.CN",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"./layout": "./esm/api-endpoints/layout/index.js",
|
|
24
24
|
"./actions": "./esm/api-endpoints/actions/index.js",
|
|
25
25
|
"./profile": "./esm/api-endpoints/profile/index.js",
|
|
26
|
+
"./locationStyle": "./esm/api-endpoints/locationStyle/index.js",
|
|
26
27
|
"./genAI": "./esm/api-endpoints/genAI/index.js",
|
|
27
28
|
"./authActions": "./esm/api-endpoints/authActions/index.js",
|
|
28
29
|
"./scanModel": "./esm/api-endpoints/scanModel/index.js",
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
"axios-cache-interceptor": "^1.8.0",
|
|
45
46
|
"lodash-es": "^4.17.21",
|
|
46
47
|
"tslib": "2.8.1",
|
|
47
|
-
"@gooddata/sdk-model": "11.13.0
|
|
48
|
+
"@gooddata/sdk-model": "11.13.0"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -72,8 +73,8 @@
|
|
|
72
73
|
"prettier": "^3.6.2",
|
|
73
74
|
"typescript": "5.8.3",
|
|
74
75
|
"vitest": "3.2.4",
|
|
75
|
-
"@gooddata/eslint-config": "11.13.0
|
|
76
|
-
"@gooddata/reference-workspace": "11.13.0
|
|
76
|
+
"@gooddata/eslint-config": "11.13.0",
|
|
77
|
+
"@gooddata/reference-workspace": "11.13.0"
|
|
77
78
|
},
|
|
78
79
|
"scripts": {
|
|
79
80
|
"_phase:build": "npm run build",
|