@azure-tools/typespec-azure-core 0.70.0 → 0.71.0-dev.1

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.
@@ -2,7 +2,7 @@ import { type Scalar } from "@typespec/compiler";
2
2
  export interface ArmResourceIdentifierConfig {
3
3
  readonly allowedResources: readonly ArmResourceIdentifierAllowedResource[];
4
4
  }
5
- export type ArmResourceDeploymentScope = "Tenant" | "Subscription" | "ResourceGroup" | "ManagementGroup" | "Extension";
5
+ export type ArmResourceDeploymentScope = "Tenant" | "Subscription" | "ResourceGroup" | "ManagementGroup" | "ServiceGroup" | "Extension";
6
6
  export interface ArmResourceIdentifierAllowedResource {
7
7
  /** The type of resource that is being referred to. For example Microsoft.Network/virtualNetworks or Microsoft.Network/virtualNetworks/subnets. See Example Types for more examples. */
8
8
  readonly type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"arm-resource-identifier-config.d.ts","sourceRoot":"","sources":["../../../../src/decorators/private/arm-resource-identifier-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAKrE,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,gBAAgB,EAAE,SAAS,oCAAoC,EAAE,CAAC;CAC5E;AAED,MAAM,MAAM,0BAA0B,GAClC,QAAQ,GACR,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,WAAW,CAAC;AAEhB,MAAM,WAAW,oCAAoC;IACnD,uLAAuL;IACvL,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,0BAA0B,EAAE,CAAC;CAChD;AAED,eAAO;AACL,oEAAoE;AACpE,8BAA8B,4GAC9B,8BAA8B,2GAG/B,CAAC"}
1
+ {"version":3,"file":"arm-resource-identifier-config.d.ts","sourceRoot":"","sources":["../../../../src/decorators/private/arm-resource-identifier-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAKrE,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,gBAAgB,EAAE,SAAS,oCAAoC,EAAE,CAAC;CAC5E;AAED,MAAM,MAAM,0BAA0B,GAClC,QAAQ,GACR,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,WAAW,CAAC;AAEhB,MAAM,WAAW,oCAAoC;IACnD,uLAAuL;IACvL,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,0BAA0B,EAAE,CAAC;CAChD;AAED,eAAO;AACL,oEAAoE;AACpE,8BAA8B,4GAC9B,8BAA8B,2GAG/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"arm-resource-identifier-config.js","sourceRoot":"","sources":["../../../../src/decorators/private/arm-resource-identifier-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAe,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAwBlD,MAAM,CAAC,MAAM;AACX,oEAAoE;AACpE,8BAA8B,EAC9B,8BAA8B,EAC/B,GAAG,WAAW,CACb,kBAAkB,CAAC,2BAA2B,CAC/C,CAAC;AAEF,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAAyC,CAChF,OAAO,EACP,MAAM,EACN,MAAM,EACN,EAAE;IACF,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO;QAAE,OAAO;IACpC,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IACvD,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO;QAAE,OAAO;IAC7D,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,kBAAkB,CAC5C,IAAI,CAAC,IAAI,EACT,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAE,CAC9B,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAE/C,IAAI,IAAI,EAAE,CAAC;QACT,8BAA8B,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE;YACtD,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"arm-resource-identifier-config.js","sourceRoot":"","sources":["../../../../src/decorators/private/arm-resource-identifier-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAe,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAyBlD,MAAM,CAAC,MAAM;AACX,oEAAoE;AACpE,8BAA8B,EAC9B,8BAA8B,EAC/B,GAAG,WAAW,CACb,kBAAkB,CAAC,2BAA2B,CAC/C,CAAC;AAEF,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAAyC,CAChF,OAAO,EACP,MAAM,EACN,MAAM,EACN,EAAE;IACF,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO;QAAE,OAAO;IACpC,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IACvD,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO;QAAE,OAAO;IAC7D,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,kBAAkB,CAC5C,IAAI,CAAC,IAAI,EACT,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAE,CAC9B,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAE/C,IAAI,IAAI,EAAE,CAAC;QACT,8BAA8B,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE;YACtD,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC"}
package/lib/models.tsp CHANGED
@@ -388,6 +388,7 @@ union ArmResourceDeploymentScope {
388
388
  "Subscription",
389
389
  "ResourceGroup",
390
390
  "ManagementGroup",
391
+ "ServiceGroup",
391
392
  "Extension",
392
393
  }
393
394
 
@@ -396,6 +397,7 @@ alias AllArmResourceDeploymentScopes = [
396
397
  "Subscription",
397
398
  "ResourceGroup",
398
399
  "ManagementGroup",
400
+ "ServiceGroup",
399
401
  "Extension"
400
402
  ];
401
403
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-core",
3
- "version": "0.70.0",
3
+ "version": "0.71.0-dev.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Core library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",
@@ -47,25 +47,26 @@
47
47
  "!dist/test/**"
48
48
  ],
49
49
  "peerDependencies": {
50
- "@typespec/http": "^1.14.0",
51
50
  "@typespec/compiler": "^1.14.0",
52
- "@typespec/rest": "^0.84.0"
51
+ "@typespec/http": "^1.14.0",
52
+ "@typespec/rest": "^0.84.0 || >=0.85.0-dev <0.85.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^26.0.0",
56
+ "@typespec/compiler": "^1.14.0",
57
+ "@typespec/http": "^1.14.0",
58
+ "@typespec/library-linter": "^0.84.0 || >=0.85.0-dev <0.85.0",
59
+ "@typespec/openapi": "^1.14.0",
60
+ "@typespec/rest": "^0.84.0 || >=0.85.0-dev <0.85.0",
61
+ "@typespec/tspd": "^0.76.0 || >=0.77.0-dev <0.77.0",
62
+ "@typespec/versioning": "^0.84.0 || >=0.85.0-dev <0.85.0",
56
63
  "@vitest/coverage-v8": "^4.1.3",
57
64
  "@vitest/ui": "^4.1.3",
58
65
  "rimraf": "^6.1.3",
59
66
  "typescript": "~6.0.2",
60
- "vitest": "^4.1.3",
61
- "@typespec/compiler": "^1.14.0",
62
- "@typespec/http": "^1.14.0",
63
- "@typespec/library-linter": "^0.84.0",
64
- "@typespec/openapi": "^1.14.0",
65
- "@typespec/rest": "^0.84.0",
66
- "@typespec/tspd": "^0.76.0",
67
- "@typespec/versioning": "^0.84.0"
67
+ "vitest": "^4.1.3"
68
68
  },
69
+ "dependencies": {},
69
70
  "scripts": {
70
71
  "clean": "rimraf ./dist ./temp",
71
72
  "build": "pnpm run gen-extern-signature && tsc -p tsconfig.build.json && pnpm run lint-typespec-library",