@azure-rest/purview-datamap 1.0.0-alpha.20250404.1 → 1.0.0-alpha.20250408.1
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/CHANGELOG.md +2 -6
- package/dist/browser/index.d.ts +0 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +0 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/outputModels.d.ts +2 -2
- package/dist/browser/outputModels.d.ts.map +1 -1
- package/dist/browser/outputModels.js.map +1 -1
- package/dist/browser/parameters.d.ts +1 -1
- package/dist/browser/parameters.d.ts.map +1 -1
- package/dist/browser/parameters.js.map +1 -1
- package/dist/browser/purviewDataMapClient.d.ts +1 -1
- package/dist/browser/purviewDataMapClient.js +1 -1
- package/dist/browser/purviewDataMapClient.js.map +1 -1
- package/dist/commonjs/index.d.ts +0 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +0 -5
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/outputModels.d.ts +2 -2
- package/dist/commonjs/outputModels.d.ts.map +1 -1
- package/dist/commonjs/outputModels.js.map +1 -1
- package/dist/commonjs/parameters.d.ts +1 -1
- package/dist/commonjs/parameters.d.ts.map +1 -1
- package/dist/commonjs/parameters.js.map +1 -1
- package/dist/commonjs/purviewDataMapClient.d.ts +1 -1
- package/dist/commonjs/purviewDataMapClient.js +1 -1
- package/dist/commonjs/purviewDataMapClient.js.map +1 -1
- package/dist/esm/index.d.ts +0 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/outputModels.d.ts +2 -2
- package/dist/esm/outputModels.d.ts.map +1 -1
- package/dist/esm/outputModels.js.map +1 -1
- package/dist/esm/parameters.d.ts +1 -1
- package/dist/esm/parameters.d.ts.map +1 -1
- package/dist/esm/parameters.js.map +1 -1
- package/dist/esm/purviewDataMapClient.d.ts +1 -1
- package/dist/esm/purviewDataMapClient.js +1 -1
- package/dist/esm/purviewDataMapClient.js.map +1 -1
- package/dist/react-native/index.d.ts +0 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +0 -2
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/outputModels.d.ts +2 -2
- package/dist/react-native/outputModels.d.ts.map +1 -1
- package/dist/react-native/outputModels.js.map +1 -1
- package/dist/react-native/parameters.d.ts +1 -1
- package/dist/react-native/parameters.d.ts.map +1 -1
- package/dist/react-native/parameters.js.map +1 -1
- package/dist/react-native/purviewDataMapClient.d.ts +1 -1
- package/dist/react-native/purviewDataMapClient.js +1 -1
- package/dist/react-native/purviewDataMapClient.js.map +1 -1
- package/package.json +1 -1
- package/review/purview-datamap.api.md +2 -17
- package/dist/browser/serializeHelper.d.ts +0 -2
- package/dist/browser/serializeHelper.d.ts.map +0 -1
- package/dist/browser/serializeHelper.js +0 -13
- package/dist/browser/serializeHelper.js.map +0 -1
- package/dist/commonjs/serializeHelper.d.ts +0 -2
- package/dist/commonjs/serializeHelper.d.ts.map +0 -1
- package/dist/commonjs/serializeHelper.js +0 -16
- package/dist/commonjs/serializeHelper.js.map +0 -1
- package/dist/esm/serializeHelper.d.ts +0 -2
- package/dist/esm/serializeHelper.d.ts.map +0 -1
- package/dist/esm/serializeHelper.js +0 -13
- package/dist/esm/serializeHelper.js.map +0 -1
- package/dist/react-native/serializeHelper.d.ts +0 -2
- package/dist/react-native/serializeHelper.d.ts.map +0 -1
- package/dist/react-native/serializeHelper.js +0 -13
- package/dist/react-native/serializeHelper.js.map +0 -1
|
@@ -4,7 +4,7 @@ import { getClient } from "@azure-rest/core-client";
|
|
|
4
4
|
import { logger } from "./logger.js";
|
|
5
5
|
/**
|
|
6
6
|
* Initialize a new instance of `PurviewDataMapClient`
|
|
7
|
-
* @param endpointParam -
|
|
7
|
+
* @param endpointParam - Represent a URL string as described by https://url.spec.whatwg.org/
|
|
8
8
|
* @param credentials - uniquely identify client credential
|
|
9
9
|
* @param options - the parameter for all optional parameters
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purviewDataMapClient.js","sourceRoot":"","sources":["../../src/purviewDataMapClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAOrC;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAqB,EACrB,WAA4B,EAC5B,UAAuC,EAAE;;IAEzC,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,GAAG,aAAa,cAAc,CAAC;IAC1F,MAAM,aAAa,GAAG,4CAA4C,CAAC;IACnE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,EACD,cAAc,EAAE;YACd,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI;SACtD,EACD,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,oCAAoC,CAAC;SAC9E,GACF,CAAC;IACF,MAAM,MAAM,GAAG,SAAS,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAyB,CAAC;IAEpF,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;QACvB,MAAM,CAAC,OAAO,CACZ,0FAA0F,CAC3F,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport { logger } from \"./logger.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { PurviewDataMapClient } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface PurviewDataMapClientOptions extends ClientOptions {}\n\n/**\n * Initialize a new instance of `PurviewDataMapClient`\n * @param endpointParam -
|
|
1
|
+
{"version":3,"file":"purviewDataMapClient.js","sourceRoot":"","sources":["../../src/purviewDataMapClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAOrC;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAqB,EACrB,WAA4B,EAC5B,UAAuC,EAAE;;IAEzC,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,GAAG,aAAa,cAAc,CAAC;IAC1F,MAAM,aAAa,GAAG,4CAA4C,CAAC;IACnE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,EACD,cAAc,EAAE;YACd,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI;SACtD,EACD,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,oCAAoC,CAAC;SAC9E,GACF,CAAC;IACF,MAAM,MAAM,GAAG,SAAS,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAyB,CAAC;IAEpF,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;QACvB,MAAM,CAAC,OAAO,CACZ,0FAA0F,CAC3F,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport { logger } from \"./logger.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { PurviewDataMapClient } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface PurviewDataMapClientOptions extends ClientOptions {}\n\n/**\n * Initialize a new instance of `PurviewDataMapClient`\n * @param endpointParam - Represent a URL string as described by https://url.spec.whatwg.org/\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpointParam: string,\n credentials: TokenCredential,\n options: PurviewDataMapClientOptions = {},\n): PurviewDataMapClient {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `${endpointParam}/datamap/api`;\n const userAgentInfo = `azsdk-js-purview-datamap-rest/1.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n loggingOptions: {\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://purview.azure.net/.default\"],\n },\n };\n const client = getClient(endpointUrl, credentials, options) as PurviewDataMapClient;\n\n client.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n if (options.apiVersion) {\n logger.warning(\n \"This client does not support client api-version, please change it at the operation level\",\n );\n }\n\n return client;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -6,10 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
import type { Client } from '@azure-rest/core-client';
|
|
8
8
|
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
-
import { createFile } from '@azure/core-rest-pipeline';
|
|
10
|
-
import { createFileFromStream } from '@azure/core-rest-pipeline';
|
|
11
|
-
import { CreateFileFromStreamOptions } from '@azure/core-rest-pipeline';
|
|
12
|
-
import { CreateFileOptions } from '@azure/core-rest-pipeline';
|
|
13
9
|
import type { HttpResponse } from '@azure-rest/core-client';
|
|
14
10
|
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
15
11
|
import type { RequestParameters } from '@azure-rest/core-client';
|
|
@@ -1011,9 +1007,6 @@ export interface AutoCompleteResultValueOutput {
|
|
|
1011
1007
|
text?: string;
|
|
1012
1008
|
}
|
|
1013
1009
|
|
|
1014
|
-
// @public (undocumented)
|
|
1015
|
-
export function buildMultiCollection(items: string[], parameterName: string): string;
|
|
1016
|
-
|
|
1017
1010
|
// @public
|
|
1018
1011
|
export interface BulkImportResultOutput {
|
|
1019
1012
|
failedImportInfoList?: Array<ImportInfoOutput>;
|
|
@@ -1073,14 +1066,6 @@ export interface ContactSearchResultValueOutput {
|
|
|
1073
1066
|
function createClient(endpointParam: string, credentials: TokenCredential, options?: PurviewDataMapClientOptions): PurviewDataMapClient;
|
|
1074
1067
|
export default createClient;
|
|
1075
1068
|
|
|
1076
|
-
export { createFile }
|
|
1077
|
-
|
|
1078
|
-
export { createFileFromStream }
|
|
1079
|
-
|
|
1080
|
-
export { CreateFileFromStreamOptions }
|
|
1081
|
-
|
|
1082
|
-
export { CreateFileOptions }
|
|
1083
|
-
|
|
1084
1069
|
// @public
|
|
1085
1070
|
export interface DateFormat {
|
|
1086
1071
|
availableLocales?: string[];
|
|
@@ -4033,7 +4018,7 @@ export interface SearchResultValueOutput {
|
|
|
4033
4018
|
contact?: Array<ContactSearchResultValueOutput>;
|
|
4034
4019
|
createTime?: number;
|
|
4035
4020
|
description?: string;
|
|
4036
|
-
endorsement?: string;
|
|
4021
|
+
endorsement?: string[];
|
|
4037
4022
|
entityType?: string;
|
|
4038
4023
|
glossary?: string;
|
|
4039
4024
|
glossaryType?: string;
|
|
@@ -4089,7 +4074,7 @@ export interface SuggestResultValueOutput {
|
|
|
4089
4074
|
contact?: Array<ContactSearchResultValueOutput>;
|
|
4090
4075
|
createTime?: number;
|
|
4091
4076
|
description?: string;
|
|
4092
|
-
endorsement?: string;
|
|
4077
|
+
endorsement?: string[];
|
|
4093
4078
|
entityType?: string;
|
|
4094
4079
|
glossary?: string;
|
|
4095
4080
|
glossaryType?: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.d.ts","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CASnF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
export function buildMultiCollection(items, parameterName) {
|
|
4
|
-
return items
|
|
5
|
-
.map((item, index) => {
|
|
6
|
-
if (index === 0) {
|
|
7
|
-
return item;
|
|
8
|
-
}
|
|
9
|
-
return `${parameterName}=${item}`;
|
|
10
|
-
})
|
|
11
|
-
.join("&");
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=serializeHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.js","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,UAAU,oBAAoB,CAAC,KAAe,EAAE,aAAqB;IACzE,OAAO,KAAK;SACT,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACnB,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,GAAG,aAAa,IAAI,IAAI,EAAE,CAAC;IACpC,CAAC,CAAC;SACD,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport function buildMultiCollection(items: string[], parameterName: string): string {\n return items\n .map((item, index) => {\n if (index === 0) {\n return item;\n }\n return `${parameterName}=${item}`;\n })\n .join(\"&\");\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.d.ts","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CASnF"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT License.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.buildMultiCollection = buildMultiCollection;
|
|
6
|
-
function buildMultiCollection(items, parameterName) {
|
|
7
|
-
return items
|
|
8
|
-
.map((item, index) => {
|
|
9
|
-
if (index === 0) {
|
|
10
|
-
return item;
|
|
11
|
-
}
|
|
12
|
-
return `${parameterName}=${item}`;
|
|
13
|
-
})
|
|
14
|
-
.join("&");
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=serializeHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.js","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,oDASC;AATD,SAAgB,oBAAoB,CAAC,KAAe,EAAE,aAAqB;IACzE,OAAO,KAAK;SACT,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACnB,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,GAAG,aAAa,IAAI,IAAI,EAAE,CAAC;IACpC,CAAC,CAAC;SACD,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport function buildMultiCollection(items: string[], parameterName: string): string {\n return items\n .map((item, index) => {\n if (index === 0) {\n return item;\n }\n return `${parameterName}=${item}`;\n })\n .join(\"&\");\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.d.ts","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CASnF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
export function buildMultiCollection(items, parameterName) {
|
|
4
|
-
return items
|
|
5
|
-
.map((item, index) => {
|
|
6
|
-
if (index === 0) {
|
|
7
|
-
return item;
|
|
8
|
-
}
|
|
9
|
-
return `${parameterName}=${item}`;
|
|
10
|
-
})
|
|
11
|
-
.join("&");
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=serializeHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.js","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,UAAU,oBAAoB,CAAC,KAAe,EAAE,aAAqB;IACzE,OAAO,KAAK;SACT,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACnB,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,GAAG,aAAa,IAAI,IAAI,EAAE,CAAC;IACpC,CAAC,CAAC;SACD,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport function buildMultiCollection(items: string[], parameterName: string): string {\n return items\n .map((item, index) => {\n if (index === 0) {\n return item;\n }\n return `${parameterName}=${item}`;\n })\n .join(\"&\");\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.d.ts","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CASnF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
export function buildMultiCollection(items, parameterName) {
|
|
4
|
-
return items
|
|
5
|
-
.map((item, index) => {
|
|
6
|
-
if (index === 0) {
|
|
7
|
-
return item;
|
|
8
|
-
}
|
|
9
|
-
return `${parameterName}=${item}`;
|
|
10
|
-
})
|
|
11
|
-
.join("&");
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=serializeHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializeHelper.js","sourceRoot":"","sources":["../../src/serializeHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,UAAU,oBAAoB,CAAC,KAAe,EAAE,aAAqB;IACzE,OAAO,KAAK;SACT,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACnB,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,GAAG,aAAa,IAAI,IAAI,EAAE,CAAC;IACpC,CAAC,CAAC;SACD,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport function buildMultiCollection(items: string[], parameterName: string): string {\n return items\n .map((item, index) => {\n if (index === 0) {\n return item;\n }\n return `${parameterName}=${item}`;\n })\n .join(\"&\");\n}\n"]}
|