Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-eventgrid] Fix json format by prettier #53

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sdk/eventgrid/arm-eventgrid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ npm install @azure/arm-eventgrid

##### Install @azure/ms-rest-nodeauth

- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
```bash
npm install @azure/ms-rest-nodeauth
npm install @azure/ms-rest-nodeauth@"^3.0.0"
```

##### Sample code
Expand Down
14 changes: 7 additions & 7 deletions sdk/eventgrid/arm-eventgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "EventGridManagementClient Library with typescript type definitions for node.js and browser.",
"version": "4.0.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.8.1",
"tslib": "^1.9.3"
"@azure/ms-rest-azure-js": "^2.0.1",
"@azure/ms-rest-js": "^2.0.4",
"tslib": "^1.10.0"
},
"keywords": [
"node",
Expand All @@ -20,11 +20,11 @@
"module": "./esm/eventGridManagementClient.js",
"types": "./esm/eventGridManagementClient.d.ts",
"devDependencies": {
"typescript": "^3.1.1",
"rollup": "^0.66.2",
"rollup-plugin-node-resolve": "^3.4.0",
"typescript": "^3.5.3",
"rollup": "^1.18.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventgrid/arm-eventgrid",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/arm-eventgrid/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {
*/`
},
plugins: [
nodeResolve({ module: true }),
nodeResolve({ mainFields: ['module', 'main'] }),
sourcemaps()
]
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class EventGridManagementClientContext extends msRestAzure.AzureServiceCl

super(credentials, options);

this.apiVersion = '2019-06-01';
this.apiVersion = '2020-01-01-preview';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AdvancedFilter,
AzureFunctionEventSubscriptionDestination,
BaseResource,
BoolEqualsAdvancedFilter,
CloudError,
Expand All @@ -22,6 +23,10 @@ export {
EventSubscriptionFilter,
EventType,
HybridConnectionEventSubscriptionDestination,
InputSchemaMapping,
JsonField,
JsonFieldWithDefault,
JsonInputSchemaMapping,
NumberGreaterThanAdvancedFilter,
NumberGreaterThanOrEqualsAdvancedFilter,
NumberInAdvancedFilter,
Expand All @@ -31,6 +36,7 @@ export {
Resource,
RetryPolicy,
ServiceBusQueueEventSubscriptionDestination,
ServiceBusTopicEventSubscriptionDestination,
StorageBlobDeadLetterDestination,
StorageQueueEventSubscriptionDestination,
StringBeginsWithAdvancedFilter,
Expand Down
6 changes: 6 additions & 0 deletions sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AdvancedFilter,
AzureFunctionEventSubscriptionDestination,
BaseResource,
BoolEqualsAdvancedFilter,
CloudError,
Expand All @@ -25,6 +26,10 @@ export {
EventSubscriptionFilter,
EventType,
HybridConnectionEventSubscriptionDestination,
InputSchemaMapping,
JsonField,
JsonFieldWithDefault,
JsonInputSchemaMapping,
NumberGreaterThanAdvancedFilter,
NumberGreaterThanOrEqualsAdvancedFilter,
NumberInAdvancedFilter,
Expand All @@ -34,6 +39,7 @@ export {
Resource,
RetryPolicy,
ServiceBusQueueEventSubscriptionDestination,
ServiceBusTopicEventSubscriptionDestination,
StorageBlobDeadLetterDestination,
StorageQueueEventSubscriptionDestination,
StringBeginsWithAdvancedFilter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AdvancedFilter,
AzureFunctionEventSubscriptionDestination,
BaseResource,
BoolEqualsAdvancedFilter,
CloudError,
Expand All @@ -24,6 +25,10 @@ export {
EventSubscriptionUpdateParameters,
EventType,
HybridConnectionEventSubscriptionDestination,
InputSchemaMapping,
JsonField,
JsonFieldWithDefault,
JsonInputSchemaMapping,
NumberGreaterThanAdvancedFilter,
NumberGreaterThanOrEqualsAdvancedFilter,
NumberInAdvancedFilter,
Expand All @@ -33,6 +38,7 @@ export {
Resource,
RetryPolicy,
ServiceBusQueueEventSubscriptionDestination,
ServiceBusTopicEventSubscriptionDestination,
StorageBlobDeadLetterDestination,
StorageQueueEventSubscriptionDestination,
StringBeginsWithAdvancedFilter,
Expand Down
Loading