v3 merge fixes (#344)
This commit is contained in:
Родитель
f0dcc48ed0
Коммит
9f16ec930f
|
@ -17,7 +17,7 @@ export class MultiRegionWriteScenario {
|
||||||
for (const region of config.regions) {
|
for (const region of config.regions) {
|
||||||
const client = new CosmosClient({
|
const client = new CosmosClient({
|
||||||
endpoint: config.endpoint,
|
endpoint: config.endpoint,
|
||||||
auth: { masterKey: config.key },
|
key: config.key,
|
||||||
connectionPolicy: {
|
connectionPolicy: {
|
||||||
preferredLocations: [region]
|
preferredLocations: [region]
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,7 +23,6 @@ export {
|
||||||
|
|
||||||
export { UniqueKeyPolicy, UniqueKey } from "./client/Container/UniqueKeyPolicy";
|
export { UniqueKeyPolicy, UniqueKey } from "./client/Container/UniqueKeyPolicy";
|
||||||
export { Constants, OperationType } from "./common";
|
export { Constants, OperationType } from "./common";
|
||||||
export { StatusCodes } from "./common/statusCodes";
|
|
||||||
export { RetryOptions } from "./retry";
|
export { RetryOptions } from "./retry";
|
||||||
export { Response, RequestOptions, FeedOptions, ErrorResponse, ResourceResponse } from "./request";
|
export { Response, RequestOptions, FeedOptions, ErrorResponse, ResourceResponse } from "./request";
|
||||||
export { FeedResponse } from "./request/FeedResponse";
|
export { FeedResponse } from "./request/FeedResponse";
|
||||||
|
|
Загрузка…
Ссылка в новой задаче