Skip to content
Merged
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
728 changes: 296 additions & 432 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions packages/typespec-powershell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@
"vitest": "1.6.1"
},
"peerDependencies": {
"@azure-tools/typespec-azure-core": ">=0.61.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.61.0 <1.0.0",
"@typespec/compiler": ">=1.5.0 <2.0.0",
"@typespec/http": ">=1.5.0 <2.0.0",
"@typespec/streams": ">=0.75.0 <1.0.0",
"@typespec/xml": ">=0.75.0 <1.0.0",
"@typespec/rest": ">=0.75.0 <1.0.0",
"@typespec/versioning": ">=0.75.0 <1.0.0",
"@typespec/openapi": ">=1.5.0 <2.0.0",
"@azure-tools/typespec-azure-resource-manager": ">=0.61.0 <1.0.0",
"@azure-tools/typespec-azure-rulesets": ">=0.61.0 <1.0.0"
"@azure-tools/typespec-azure-core": ">=0.63.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.63.0 <1.0.0",
"@typespec/compiler": ">=1.7.0 <2.0.0",
"@typespec/http": ">=1.7.0 <2.0.0",
"@typespec/streams": ">=0.77.0 <1.0.0",
"@typespec/xml": ">=0.77.0 <1.0.0",
"@typespec/rest": ">=0.77.0 <1.0.0",
"@typespec/versioning": ">=0.77.0 <1.0.0",
"@typespec/openapi": ">=1.7.0 <2.0.0",
"@azure-tools/typespec-azure-resource-manager": ">=0.63.0 <1.0.0",
"@azure-tools/typespec-azure-rulesets": ">=0.63.0 <1.0.0"
},
"scripts": {
"build": "tsc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ model Experiment extends Azure.ResourceManager.Foundations.TrackedResource {

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Required implementation to avoid breaking .NET SDK changes"
@doc("The resource-specific properties for this resource.")
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
@Azure.ResourceManager.Private.armResourcePropertiesOptionality(false)
properties?: ExperimentProperties;
}
Expand Down
2 changes: 1 addition & 1 deletion tests-upgrade/tests-emitter/ElasticSan.brown/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ model PrivateLinkResource extends Azure.ResourceManager.Foundations.Resource {
* Resource properties.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: PrivateLinkResourceProperties;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,9 @@ interface DiagnosticResources {
/**
* Creates a diagnostic for the specific resource using solutionId from discovery solutions. <br/>Diagnostics are powerful solutions that access product resources or other relevant data and provide the root cause of the issue and the steps to address the issue.<br/><br/>
*/
create is Legacy.ExtensionOperations.CreateOrUpdateAsync<
create is Legacy.Extension.CreateOrUpdateAsync<
Extension.ScopeParameter,
DiagnosticResource,
Parameters = {
...ApiVersionParameter;
...Extension.ScopeParameter;
...Legacy.Provider;

/**
* Unique resource name for insight resources
*/
@path
@segment("diagnostics")
@minLength(1)
@maxLength(100)
@pattern("^[A-Za-z0-9-+@()_]+$")
diagnosticsResourceName: string;
},
OptionalRequestBody = true
>;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,9 @@ interface SimplifiedSolutionsResources {
/**
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier while still providing access to the same powerful solutions rendered in Solutions API. With Simplified Solutions, users don't have to worry about stitching together the article using replacement maps and can use the content in the API response to directly render as HTML content.<br/>
*/
create is Legacy.ExtensionOperations.CreateOrUpdateAsync<
create is Legacy.Extension.CreateOrUpdateAsync<
Extension.ScopeParameter,
SimplifiedSolutionsResource,
Parameters = {
...ApiVersionParameter;
...Extension.ScopeParameter;
...Legacy.Provider;

/**
* Simplified Solutions Resource Name.
*/
@path
@segment("simplifiedSolutions")
@minLength(1)
@maxLength(100)
@pattern("^[A-Za-z0-9-+@()_]+$")
simplifiedSolutionsResourceName: string;
},
OptionalRequestBody = true
>;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ model AutonomousDatabaseUpdate
>>> {
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "backward compatibility"
@doc("The resource-specific properties for this resource.")
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: AutonomousDatabaseUpdateProperties;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ model VMSSExtension {
* Describes the properties of a Virtual Machine Scale Set Extension.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Backwards compatibility with existing flatten"
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties: VMSSExtensionProperties;
}
/**
Expand Down
24 changes: 12 additions & 12 deletions tests-upgrade/tests-emitter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"version": "0.1.0",
"type": "module",
"dependencies": {
"@typespec/compiler": "1.5.0",
"@azure-tools/typespec-autorest": "0.61.0",
"@azure-tools/typespec-azure-core": "0.61.0",
"@azure-tools/typespec-azure-resource-manager": "0.61.0",
"@azure-tools/typespec-client-generator-core": "0.61.0",
"@azure-tools/typespec-azure-rulesets": "0.61.0",
"@typespec/http": "1.5.0",
"@typespec/openapi": "1.5.0",
"@typespec/rest": "0.75.0",
"@typespec/streams": "0.75.0",
"@typespec/versioning": "0.75.0",
"@typespec/xml": "0.75.0",
"@typespec/compiler": "1.7.0",
"@azure-tools/typespec-autorest": "0.63.0",
"@azure-tools/typespec-azure-core": "0.63.0",
"@azure-tools/typespec-azure-resource-manager": "0.63.0",
"@azure-tools/typespec-client-generator-core": "0.63.0",
"@azure-tools/typespec-azure-rulesets": "0.63.0",
"@typespec/http": "1.7.0",
"@typespec/openapi": "1.7.0",
"@typespec/rest": "0.77.0",
"@typespec/streams": "0.77.0",
"@typespec/versioning": "0.77.0",
"@typespec/xml": "0.77.0",
"@azure-tools/typespec-liftr-base": "0.10.0"
},
"scripts": {
Expand Down
Loading