@azure-rest/maps-render 1.0.0-beta.3 → 2.0.0-alpha.20240926.2
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/README.md +38 -33
- package/dist/index.js +24 -28
- package/dist/index.js.map +1 -1
- package/dist-esm/src/createMultiCollection.js +1 -1
- package/dist-esm/src/createMultiCollection.js.map +1 -1
- package/dist-esm/src/createPathQuery.js +2 -2
- package/dist-esm/src/createPathQuery.js.map +1 -1
- package/dist-esm/src/createPinsQuery.js +1 -1
- package/dist-esm/src/createPinsQuery.js.map +1 -1
- package/dist-esm/src/generated/clientDefinitions.js +1 -1
- package/dist-esm/src/generated/clientDefinitions.js.map +1 -1
- package/dist-esm/src/generated/index.js +1 -1
- package/dist-esm/src/generated/index.js.map +1 -1
- package/dist-esm/src/generated/isUnexpected.js +6 -5
- package/dist-esm/src/generated/isUnexpected.js.map +1 -1
- package/dist-esm/src/generated/mapsRenderClient.js +9 -14
- package/dist-esm/src/generated/mapsRenderClient.js.map +1 -1
- package/dist-esm/src/generated/outputModels.js +1 -1
- package/dist-esm/src/generated/outputModels.js.map +1 -1
- package/dist-esm/src/generated/parameters.js +1 -1
- package/dist-esm/src/generated/parameters.js.map +1 -1
- package/dist-esm/src/generated/responses.js +1 -1
- package/dist-esm/src/generated/responses.js.map +1 -1
- package/dist-esm/src/index.js +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/mapsRender.js +3 -3
- package/dist-esm/src/mapsRender.js.map +1 -1
- package/dist-esm/src/positionToTileXY.js +1 -1
- package/dist-esm/src/positionToTileXY.js.map +1 -1
- package/package.json +32 -31
- package/review/maps-render.api.md +3 -3
- package/types/maps-render-rest.d.ts +174 -211
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure-rest/maps-render",
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "2.0.0-alpha.20240926.2",
|
|
6
6
|
"description": "A generated SDK for MapsRenderClient.",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
@@ -33,74 +33,75 @@
|
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
|
|
36
|
+
"build": "npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && dev-tool run extract-api",
|
|
36
37
|
"build:browser": "tsc -p . && dev-tool run bundle",
|
|
38
|
+
"build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api",
|
|
37
39
|
"build:node": "tsc -p . && dev-tool run bundle --browser-test false",
|
|
38
40
|
"build:samples": "dev-tool samples publish --force",
|
|
39
41
|
"build:test": "tsc -p . && dev-tool run bundle",
|
|
40
|
-
"build:debug": "tsc -p . && dev-tool run bundle && api-extractor run --local",
|
|
41
42
|
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
42
|
-
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
43
|
+
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
43
44
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
44
|
-
"extract-api": "rimraf review && mkdirp ./review &&
|
|
45
|
+
"extract-api": "rimraf review && mkdirp ./review && dev-tool run extract-api",
|
|
45
46
|
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
46
47
|
"generate:client": "autorest --typescript swagger/README.md && npm run format",
|
|
48
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
47
49
|
"integration-test:browser": "dev-tool run test:browser",
|
|
48
50
|
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
|
|
49
|
-
"
|
|
50
|
-
"lint:fix": "eslint package.json api-extractor.json src test --
|
|
51
|
-
"lint": "eslint package.json api-extractor.json src test --ext .ts",
|
|
51
|
+
"lint": "eslint package.json api-extractor.json src test",
|
|
52
|
+
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
52
53
|
"pack": "npm pack 2>&1",
|
|
54
|
+
"test": "npm run clean && npm run build:test && npm run unit-test",
|
|
53
55
|
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
|
|
54
56
|
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
|
|
55
|
-
"test": "npm run clean && npm run build:test && npm run unit-test",
|
|
56
57
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
57
|
-
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
|
|
58
58
|
"unit-test:browser": "dev-tool run test:browser",
|
|
59
|
-
"
|
|
59
|
+
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
|
|
60
|
+
"update-snippets": "echo skipped"
|
|
60
61
|
},
|
|
61
62
|
"sideEffects": false,
|
|
62
63
|
"autoPublish": false,
|
|
63
64
|
"dependencies": {
|
|
64
|
-
"@azure/core-auth": "^1.3.0",
|
|
65
65
|
"@azure-rest/core-client": "^1.0.0",
|
|
66
|
+
"@azure/core-auth": "^1.3.0",
|
|
66
67
|
"@azure/core-rest-pipeline": "^1.8.0",
|
|
67
68
|
"@azure/maps-common": "1.0.0-beta.2",
|
|
68
69
|
"tslib": "^2.2.0"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
|
-
"@azure/test-utils": "^1.0.0",
|
|
72
|
-
"@microsoft/api-extractor": "^7.31.1",
|
|
73
|
-
"autorest": "latest",
|
|
74
|
-
"@types/node": "^18.0.0",
|
|
75
|
-
"dotenv": "^16.0.0",
|
|
76
|
-
"eslint": "^8.0.0",
|
|
77
|
-
"mkdirp": "^1.0.4",
|
|
78
|
-
"rimraf": "^3.0.0",
|
|
79
|
-
"source-map-support": "^0.5.9",
|
|
80
|
-
"typescript": "~5.2.0",
|
|
81
|
-
"@azure/dev-tool": "^1.0.0",
|
|
82
|
-
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
83
72
|
"@azure-tools/test-credential": "^1.0.0",
|
|
84
|
-
"@azure/identity": "^3.3.0",
|
|
85
73
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
86
|
-
"
|
|
87
|
-
"@
|
|
88
|
-
"
|
|
74
|
+
"@azure-tools/test-utils": "^1.0.1",
|
|
75
|
+
"@azure/core-util": "^1.9.0",
|
|
76
|
+
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
77
|
+
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
78
|
+
"@azure/identity": "^4.0.1",
|
|
79
|
+
"@microsoft/api-extractor": "^7.31.1",
|
|
89
80
|
"@types/chai": "^4.2.8",
|
|
81
|
+
"@types/mocha": "^10.0.0",
|
|
82
|
+
"@types/node": "^18.0.0",
|
|
83
|
+
"autorest": "latest",
|
|
90
84
|
"chai": "^4.2.0",
|
|
85
|
+
"cross-env": "^7.0.2",
|
|
86
|
+
"dotenv": "^16.0.0",
|
|
87
|
+
"eslint": "^9.9.0",
|
|
88
|
+
"karma": "^6.2.0",
|
|
91
89
|
"karma-chrome-launcher": "^3.0.0",
|
|
92
90
|
"karma-coverage": "^2.0.0",
|
|
93
91
|
"karma-env-preprocessor": "^0.1.1",
|
|
94
92
|
"karma-firefox-launcher": "^1.1.0",
|
|
95
93
|
"karma-junit-reporter": "^2.0.1",
|
|
96
|
-
"karma-mocha-reporter": "^2.2.5",
|
|
97
94
|
"karma-mocha": "^2.0.1",
|
|
95
|
+
"karma-mocha-reporter": "^2.2.5",
|
|
98
96
|
"karma-source-map-support": "~1.4.0",
|
|
99
97
|
"karma-sourcemap-loader": "^0.3.8",
|
|
100
|
-
"
|
|
101
|
-
"
|
|
98
|
+
"mkdirp": "^3.0.1",
|
|
99
|
+
"mocha": "^10.0.0",
|
|
100
|
+
"nyc": "^17.0.0",
|
|
101
|
+
"rimraf": "^5.0.5",
|
|
102
|
+
"source-map-support": "^0.5.9",
|
|
102
103
|
"ts-node": "^10.0.0",
|
|
103
|
-
"
|
|
104
|
+
"typescript": "~5.6.2"
|
|
104
105
|
},
|
|
105
106
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/maps/maps-render-rest/README.md",
|
|
106
107
|
"//metadata": {
|
|
@@ -459,10 +459,10 @@ export interface RenderGetMapStaticImageQueryParamProperties {
|
|
|
459
459
|
center?: Array<number>;
|
|
460
460
|
height?: number;
|
|
461
461
|
language?: string;
|
|
462
|
-
layer?: "basic" | "hybrid" | "labels";
|
|
463
462
|
path?: string;
|
|
464
463
|
pins?: string;
|
|
465
|
-
|
|
464
|
+
tilesetId?: "microsoft.base" | "microsoft.base.labels" | "microsoft.base.hybrid" | "microsoft.terra.main" | "microsoft.base.road" | "microsoft.base.darkgrey" | "microsoft.base.labels.road" | "microsoft.base.labels.darkgrey" | "microsoft.base.hybrid.road" | "microsoft.base.hybrid.darkgrey" | "microsoft.imagery" | "microsoft.weather.radar.main" | "microsoft.weather.infrared.main" | "microsoft.traffic.absolute" | "microsoft.traffic.absolute.main" | "microsoft.traffic.relative" | "microsoft.traffic.relative.main" | "microsoft.traffic.relative.dark" | "microsoft.traffic.delay" | "microsoft.traffic.delay.main" | "microsoft.traffic.reduced.main" | "microsoft.traffic.incident";
|
|
465
|
+
trafficLayer?: "microsoft.traffic.relative.main" | "none";
|
|
466
466
|
view?: "AE" | "AR" | "BH" | "IN" | "IQ" | "JO" | "KW" | "LB" | "MA" | "OM" | "PK" | "PS" | "QA" | "SA" | "SY" | "YE" | "Auto" | "Unified";
|
|
467
467
|
width?: number;
|
|
468
468
|
zoom?: number;
|
|
@@ -548,7 +548,7 @@ export interface Routes {
|
|
|
548
548
|
(path: "/map/attribution"): GetMapAttribution;
|
|
549
549
|
(path: "/map/statetile"): GetMapStateTile;
|
|
550
550
|
(path: "/map/copyright/caption/{format}", format: "json" | "xml"): GetCopyrightCaption;
|
|
551
|
-
(path: "/map/static
|
|
551
|
+
(path: "/map/static"): GetMapStaticImage;
|
|
552
552
|
(path: "/map/copyright/bounding/{format}", format: "json" | "xml"): GetCopyrightFromBoundingBox;
|
|
553
553
|
(path: "/map/copyright/tile/{format}", format: "json" | "xml"): GetCopyrightForTile;
|
|
554
554
|
(path: "/map/copyright/world/{format}", format: "json" | "xml"): GetCopyrightForWorld;
|