@azure-tools/typespec-azure-resource-manager 0.60.0-dev.2 → 0.60.0-dev.4
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/lib/interfaces.tsp +1 -0
- package/lib/operations.tsp +6 -2
- package/package.json +3 -3
package/lib/interfaces.tsp
CHANGED
|
@@ -327,6 +327,7 @@ interface ResourceUpdateSync<
|
|
|
327
327
|
* @template Properties RP-specific property bag for the resource
|
|
328
328
|
* @template BaseParameters The http parameters that are part of the request
|
|
329
329
|
*/
|
|
330
|
+
@patch(#{ implicitOptionality: true })
|
|
330
331
|
update is ArmCustomPatchSync<Resource, ResourceUpdateModel<Resource, Properties>, BaseParameters>;
|
|
331
332
|
}
|
|
332
333
|
|
package/lib/operations.tsp
CHANGED
|
@@ -260,6 +260,7 @@ op ArmResourceCreateOrReplaceAsync<
|
|
|
260
260
|
* @template LroHeaders Optional. Allows overriding the lro headers that appear in the Accepted response
|
|
261
261
|
* @template Parameters Optional. Additional parameters after the path parameters
|
|
262
262
|
*/
|
|
263
|
+
@patch(#{ implicitOptionality: true })
|
|
263
264
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
264
265
|
op ArmTagsPatchAsync<
|
|
265
266
|
Resource extends Foundations.SimpleResource,
|
|
@@ -288,6 +289,7 @@ op ArmTagsPatchAsync<
|
|
|
288
289
|
* @template LroHeaders Optional. Allows overriding the lro headers returned in the Accepted response
|
|
289
290
|
* @template Parameters Optional. Additional parameters after the path parameters
|
|
290
291
|
*/
|
|
292
|
+
@patch(#{ implicitOptionality: true })
|
|
291
293
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
292
294
|
op ArmResourcePatchAsync<
|
|
293
295
|
Resource extends Foundations.SimpleResource,
|
|
@@ -315,8 +317,8 @@ op ArmResourcePatchAsync<
|
|
|
315
317
|
@autoRoute
|
|
316
318
|
@doc("Update a {name}", Resource)
|
|
317
319
|
@armResourceUpdate(Resource)
|
|
320
|
+
@patch(#{ implicitOptionality: false })
|
|
318
321
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
319
|
-
@patch(#{ implicitOptionality: true })
|
|
320
322
|
op ArmCustomPatchAsync<
|
|
321
323
|
Resource extends Foundations.SimpleResource,
|
|
322
324
|
PatchModel extends TypeSpec.Reflection.Model = TagsUpdateModel<Resource>,
|
|
@@ -346,6 +348,7 @@ op ArmCustomPatchAsync<
|
|
|
346
348
|
* @template BaseParameters Optional. Allows overriding the operation parameters
|
|
347
349
|
* @template Parameters Optional. Additional parameters after the path parameters
|
|
348
350
|
*/
|
|
351
|
+
@patch(#{ implicitOptionality: true })
|
|
349
352
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
350
353
|
op ArmTagsPatchSync<
|
|
351
354
|
Resource extends Foundations.SimpleResource,
|
|
@@ -360,6 +363,7 @@ op ArmTagsPatchSync<
|
|
|
360
363
|
* @template BaseParameters Optional. Allows overriding the operation parameters
|
|
361
364
|
* @template Parameters Optional. Additional parameters after the path parameters
|
|
362
365
|
*/
|
|
366
|
+
@patch(#{ implicitOptionality: true })
|
|
363
367
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
364
368
|
op ArmResourcePatchSync<
|
|
365
369
|
Resource extends Foundations.SimpleResource,
|
|
@@ -380,8 +384,8 @@ op ArmResourcePatchSync<
|
|
|
380
384
|
@autoRoute
|
|
381
385
|
@doc("Update a {name}", Resource)
|
|
382
386
|
@armResourceUpdate(Resource)
|
|
387
|
+
@patch(#{ implicitOptionality: false })
|
|
383
388
|
@Private.enforceConstraint(Resource, Foundations.Resource)
|
|
384
|
-
@patch(#{ implicitOptionality: true })
|
|
385
389
|
op ArmCustomPatchSync<
|
|
386
390
|
Resource extends Foundations.SimpleResource,
|
|
387
391
|
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.60.0-dev.
|
|
3
|
+
"version": "0.60.0-dev.4",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@azure-tools/typespec-azure-core": "^0.59.0 || >=0.60.0-dev <0.60.0",
|
|
56
|
-
"@types/node": "~24.
|
|
56
|
+
"@types/node": "~24.3.0",
|
|
57
57
|
"@types/pluralize": "^0.0.33",
|
|
58
58
|
"@typespec/compiler": "^1.3.0",
|
|
59
59
|
"@typespec/http": "^1.3.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@vitest/ui": "^3.1.2",
|
|
67
67
|
"c8": "^10.1.3",
|
|
68
68
|
"rimraf": "~6.0.1",
|
|
69
|
-
"typescript": "~5.
|
|
69
|
+
"typescript": "~5.9.2",
|
|
70
70
|
"vitest": "^3.1.2"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|