@azure-tools/typespec-azure-resource-manager 0.56.0-dev.3 → 0.56.0-dev.5
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/dist/generated-defs/Azure.ResourceManager.CommonTypes.Private.d.ts.map +1 -1
- package/dist/generated-defs/Azure.ResourceManager.Legacy.ts-test.js +5 -2
- package/dist/generated-defs/Azure.ResourceManager.Legacy.ts-test.js.map +1 -1
- package/dist/generated-defs/Azure.ResourceManager.ts-test.js +5 -2
- package/dist/generated-defs/Azure.ResourceManager.ts-test.js.map +1 -1
- package/lib/operations.tsp +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Azure.ResourceManager.CommonTypes.Private.d.ts","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.CommonTypes.Private.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,aAAa,EACb,KAAK,EACN,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,KAAK,IAAI,CAAC;AAEhG;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG,CACxC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,aAAa,EACrB,cAAc,CAAC,EAAE,MAAM,EACvB,OAAO,CAAC,EACJ,SAAS,GACT;
|
|
1
|
+
{"version":3,"file":"Azure.ResourceManager.CommonTypes.Private.d.ts","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.CommonTypes.Private.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,aAAa,EACb,KAAK,EACN,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,KAAK,IAAI,CAAC;AAEhG;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG,CACxC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,aAAa,EACrB,cAAc,CAAC,EAAE,MAAM,EACvB,OAAO,CAAC,EACJ,SAAS,GACT;IACE,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B,GACD,MAAM,EACV,aAAa,CAAC,EAAE,MAAM,KACnB,IAAI,CAAC;AAEV;;;;;;;GAOG;AACH,MAAM,MAAM,4BAA4B,GAAG,CACzC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,IAAI,GAAG,KAAK,EAC5B,cAAc,CAAC,EAAE,MAAM,EACvB,OAAO,CAAC,EACJ,SAAS,GACT;IACE,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B,GACD,MAAM,EACV,aAAa,CAAC,EAAE,MAAM,KACnB,IAAI,CAAC;AAEV,MAAM,MAAM,gDAAgD,GAAG;IAC7D,sBAAsB,EAAE,+BAA+B,CAAC;IACxD,kBAAkB,EAAE,2BAA2B,CAAC;IAChD,mBAAmB,EAAE,4BAA4B,CAAC;CACnD,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// An error in the imports would mean that the decorator is not exported or
|
|
2
|
+
// doesn't have the right name.
|
|
2
3
|
import { $decorators } from "@azure-tools/typespec-azure-resource-manager";
|
|
3
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* An error here would mean that the exported decorator is not using the same signature. Make sure to have export const $decName: DecNameDecorator = (...) => ...
|
|
6
|
+
*/
|
|
4
7
|
const _ = $decorators["Azure.ResourceManager.Legacy"];
|
|
5
8
|
//# sourceMappingURL=Azure.ResourceManager.Legacy.ts-test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Azure.ResourceManager.Legacy.ts-test.js","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.Legacy.ts-test.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Azure.ResourceManager.Legacy.ts-test.js","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.Legacy.ts-test.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,+BAA+B;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAG3E;;GAEG;AACH,MAAM,CAAC,GAAyC,WAAW,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// An error in the imports would mean that the decorator is not exported or
|
|
2
|
+
// doesn't have the right name.
|
|
2
3
|
import { $decorators } from "@azure-tools/typespec-azure-resource-manager";
|
|
3
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* An error here would mean that the exported decorator is not using the same signature. Make sure to have export const $decName: DecNameDecorator = (...) => ...
|
|
6
|
+
*/
|
|
4
7
|
const _ = $decorators["Azure.ResourceManager"];
|
|
5
8
|
//# sourceMappingURL=Azure.ResourceManager.ts-test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Azure.ResourceManager.ts-test.js","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.ts-test.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Azure.ResourceManager.ts-test.js","sourceRoot":"","sources":["../../generated-defs/Azure.ResourceManager.ts-test.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,+BAA+B;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAG3E;;GAEG;AACH,MAAM,CAAC,GAAmC,WAAW,CAAC,uBAAuB,CAAC,CAAC"}
|
package/lib/operations.tsp
CHANGED
|
@@ -311,7 +311,7 @@ op ArmResourcePatchAsync<
|
|
|
311
311
|
@doc("Update a {name}", Resource)
|
|
312
312
|
@armResourceUpdate(Resource)
|
|
313
313
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
314
|
-
@patch
|
|
314
|
+
@patch(#{ implicitOptionality: true })
|
|
315
315
|
op ArmCustomPatchAsync<
|
|
316
316
|
Resource extends Foundations.Resource,
|
|
317
317
|
PatchModel extends TypeSpec.Reflection.Model = TagsUpdateModel<Resource>,
|
|
@@ -376,7 +376,7 @@ op ArmResourcePatchSync<
|
|
|
376
376
|
@doc("Update a {name}", Resource)
|
|
377
377
|
@armResourceUpdate(Resource)
|
|
378
378
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
379
|
-
@patch
|
|
379
|
+
@patch(#{ implicitOptionality: true })
|
|
380
380
|
op ArmCustomPatchSync<
|
|
381
381
|
Resource extends Foundations.Resource,
|
|
382
382
|
PatchModel extends TypeSpec.Reflection.Model = TagsUpdateModel<Resource>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.56.0-dev.
|
|
3
|
+
"version": "0.56.0-dev.5",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|