Skip to content

Commit 698ae07

Browse files
AutorestCIkpajdzik
authored andcommitted
[AutoPR] sql/resource-manager (Azure#298)
* Generated from 9350812b803a8652d44b6ed4e9d752c01b6be70e (Azure#296) fixed spelling mistake
1 parent 602578f commit 698ae07

File tree

6 files changed

+91
-78
lines changed

6 files changed

+91
-78
lines changed

packages/@azure/arm-sql/.npmignore

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
#git
2-
.git
3-
.gitignore
4-
#gulp
5-
gulpfile.js
6-
#documentation
7-
doc/
8-
docs/
9-
#dependencies
10-
node_modules/
11-
#samples
12-
sample/
13-
samples/
14-
#tests
15-
test/
16-
tests/
17-
coverage/
18-
#tools and scripts
19-
tools/
20-
scripts/
21-
#IDE settings
22-
*.sln
23-
.vscode/
24-
.idea
25-
.editorconfig
26-
.ntvs_analysis.*
27-
#build tools
28-
.travis.yml
29-
.jenkins.yml
30-
.codeclimate.yml
31-
appveyor.yml
32-
# Nuget packages #
33-
.nuget/
34-
packages/
35-
packages.config
1+
#git
2+
.git
3+
.gitignore
4+
#gulp
5+
gulpfile.js
6+
#documentation
7+
doc/
8+
docs/
9+
#dependencies
10+
node_modules/
11+
#samples
12+
sample/
13+
samples/
14+
#tests
15+
test/
16+
tests/
17+
coverage/
18+
#tools and scripts
19+
tools/
20+
scripts/
21+
#IDE settings
22+
*.sln
23+
.vscode/
24+
.idea
25+
.editorconfig
26+
.ntvs_analysis.*
27+
#build tools
28+
.travis.yml
29+
.jenkins.yml
30+
.codeclimate.yml
31+
appveyor.yml
32+
# Nuget packages #
33+
.nuget/
34+
packages/
35+
packages.config

packages/@azure/arm-sql/LICENSE.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
The MIT License (MIT)
2-
3-
Copyright (c) 2018 Microsoft
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018 Microsoft
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/@azure/arm-sql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
6868
console.log("The result is:");
6969
console.log(result);
7070
}).catch((err) => {
71-
console.log('An error occurred:');
71+
console.log("An error occurred:");
7272
console.error(err);
7373
});
7474
});

packages/@azure/arm-sql/lib/models/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4216,8 +4216,8 @@ export interface BackupLongTermRetentionPolicy extends ProxyResource {
42164216
*/
42174217
weeklyRetention?: string;
42184218
/**
4219-
* @member {string} [monthlyRetention] The montly retention policy for an LTR
4220-
* backup in an ISO 8601 format.
4219+
* @member {string} [monthlyRetention] The monthly retention policy for an
4220+
* LTR backup in an ISO 8601 format.
42214221
*/
42224222
monthlyRetention?: string;
42234223
/**

packages/@azure/arm-sql/lib/models/parameters.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -184,45 +184,45 @@ export const credentialName: msRest.OperationURLParameter = {
184184
}
185185
}
186186
};
187-
export const databaseName: msRest.OperationURLParameter = {
188-
parameterPath: "databaseName",
187+
export const dataMaskingPolicyName: msRest.OperationURLParameter = {
188+
parameterPath: "dataMaskingPolicyName",
189189
mapper: {
190190
required: true,
191-
serializedName: "databaseName",
191+
isConstant: true,
192+
serializedName: "dataMaskingPolicyName",
193+
defaultValue: 'Default',
192194
type: {
193195
name: "String"
194196
}
195197
}
196198
};
197-
export const databaseState: msRest.OperationQueryParameter = {
198-
parameterPath: [
199-
"options",
200-
"databaseState"
201-
],
199+
export const dataMaskingRuleName: msRest.OperationURLParameter = {
200+
parameterPath: "dataMaskingRuleName",
202201
mapper: {
203-
serializedName: "databaseState",
202+
required: true,
203+
serializedName: "dataMaskingRuleName",
204204
type: {
205205
name: "String"
206206
}
207207
}
208208
};
209-
export const dataMaskingPolicyName: msRest.OperationURLParameter = {
210-
parameterPath: "dataMaskingPolicyName",
209+
export const databaseName: msRest.OperationURLParameter = {
210+
parameterPath: "databaseName",
211211
mapper: {
212212
required: true,
213-
isConstant: true,
214-
serializedName: "dataMaskingPolicyName",
215-
defaultValue: 'Default',
213+
serializedName: "databaseName",
216214
type: {
217215
name: "String"
218216
}
219217
}
220218
};
221-
export const dataMaskingRuleName: msRest.OperationURLParameter = {
222-
parameterPath: "dataMaskingRuleName",
219+
export const databaseState: msRest.OperationQueryParameter = {
220+
parameterPath: [
221+
"options",
222+
"databaseState"
223+
],
223224
mapper: {
224-
required: true,
225-
serializedName: "dataMaskingRuleName",
225+
serializedName: "databaseState",
226226
type: {
227227
name: "String"
228228
}

packages/@azure/arm-sql/package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,23 @@
3333
"bugs": {
3434
"url": "https://github.com/azure/azure-sdk-for-js/issues"
3535
},
36+
"files": [
37+
"dist/**/*.js",
38+
"dist/**/*.js.map",
39+
"dist/**/*.d.ts",
40+
"dist/**/*.d.ts.map",
41+
"esm/**/*.js",
42+
"esm/**/*.js.map",
43+
"esm/**/*.d.ts",
44+
"esm/**/*.d.ts.map",
45+
"lib/**/*.ts",
46+
"rollup.config.js",
47+
"tsconfig.json"
48+
],
3649
"scripts": {
3750
"build": "tsc && rollup -c rollup.config.js && npm run minify",
3851
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-sql.js.map'\" -o ./dist/arm-sql.min.js ./dist/arm-sql.js",
39-
"prepare": "npm run build"
52+
"prepack": "npm install && npm run build"
4053
},
4154
"sideEffects": false
4255
}

0 commit comments

Comments
 (0)