diff --git a/website/src/pages/can-i-use/http.astro b/website/src/pages/can-i-use/http.astro index 5641448647..3e781100f0 100644 --- a/website/src/pages/can-i-use/http.astro +++ b/website/src/pages/can-i-use/http.astro @@ -5,6 +5,7 @@ import { DashboardFromAzureStorage, type CoverageFromAzureStorageOptions, } from "@typespec/spec-dashboard"; +import { scenarioTiers } from "./scenario-tiers.js"; const options: CoverageFromAzureStorageOptions = { storageAccountName: "typespec", containerName: "coverage", @@ -13,7 +14,6 @@ const options: CoverageFromAzureStorageOptions = { "@azure-tools/typespec-python", "@azure-tools/typespec-go", "@azure-typespec/http-client-csharp", - "@azure-tools/typespec-ts-rlc", "@azure-tools/typespec-ts-modular", "@azure-tools/typespec-java", "@azure-tools/typespec-cpp", @@ -33,7 +33,6 @@ const options: CoverageFromAzureStorageOptions = { "@azure-tools/typespec-python", "@azure-tools/typespec-go", "@azure-typespec/http-client-csharp-mgmt", - "@azure-tools/typespec-ts-rlc", "@azure-tools/typespec-ts-modular", "@azure-tools/typespec-java", "@azure-tools/typespec-cpp", @@ -45,6 +44,7 @@ const options: CoverageFromAzureStorageOptions = { packageName: "@typespec/http-specs", }, ], + tiers: scenarioTiers, }; --- diff --git a/website/src/pages/can-i-use/scenario-tiers.ts b/website/src/pages/can-i-use/scenario-tiers.ts new file mode 100644 index 0000000000..07a39c341e --- /dev/null +++ b/website/src/pages/can-i-use/scenario-tiers.ts @@ -0,0 +1,95 @@ +export const scenarioTiers = { + default: "specialized", + tiers: { + core: [ + // Azure Data Plane + "Azure_ClientGenerator_Core_Access_*", + "Azure_ClientGenerator_Core_FlattenProperty_*", + "Azure_ClientGenerator_Core_HierarchyBuilding_*", + "Azure_ClientGenerator_Core_Override_*", + "Azure_ClientGenerator_Core_Usage_*", + "Azure_CLientGeneratorCore_ClientInitialization_*", + "Azure_Core_Basic_*", + "Azure_Core_Lro_*", + "Azure_Core_Model_*", + "Azure_Core_Page_list*", + "Azure_Core_Page_TwoModelsAsPageItem", + "Azure_Core_Scalar_*", + "Azure_Core_Traits_*", + "Azure_Encode_*", + "Azure_Example_*", + "Azure_Payload_*", + "Azure_Versioning_*", + "Client_ClientNamespace", + "Client_Naming_*", + "Client_Overload_*", + "Client_Structure_*", + "Resiliency_*", + // Azure Management Plane + "Azure_ResourceManager_CommonProperties_Error_*", + "Azure_ResourceManager_CommonProperties_ManagedIdentity_*", + "Azure_ResourceManager_LargeHeader_*", + "Azure_ResourceManager_NonResource_*", + "Azure_ResourceManager_OperationTemplates_*", + "Azure_ResourceManager_Resources_*", + // Specs + "Authentication_*", + "Encode_Bytes_*", + "Encode_Datetime_*", + "Encode_Numeric_*", + "Parameters_Basic_*", + "Parameters_BodyOptionality_*", + "Parameters_CollectionFormat_*", + "Parameters_Path_*", + "Parameters_Spread_*", + "Payload_ContentNegotiation_*", + "Payload_MediaType_*", + "Payload_MultiPart_*", + "Payload_Pageable_ServerDrivenPagination_link", + "Routes_fixed", + "Routes_InInterface", + "Routes_PathParameters_annotationOnly", + "Routes_PathParameters_explicit", + "Routes_PathParameters_templateOnly", + "Routes_QueryParameters_annotationOnly", + "Routes_QueryParameters_explicit", + "Routes_QueryParameters_QueryContinuation_Explode_primitive", + "Routes_QueryParameters_QueryContinuation_Standard_array", + "Routes_QueryParameters_QueryContinuation_Standard_record", + "Routes_QueryParameters_templateOnly", + "Serialization_EncodedName_Json_Property_get", + "Serialization_EncodedName_Json_Property_send", + "Server_*", + "SpecialHeaders_*", + "SpecialWords_*", + "Type_Array_*", + "Type_Dictionary_*", + "Type_Enum_*", + "Type_Model_*", + "Type_Property_*", + "Type_Scalar_*", + "Type_Union_EnumsOnly_get", + "Type_Union_EnumsOnly_send", + "Type_Union_FloatsOnly_get", + "Type_Union_FloatsOnly_send", + "Type_Union_IntsOnly_get", + "Type_Union_IntsOnly_send", + "Type_Union_MixedLiterals_get", + "Type_Union_MixedLiterals_send", + "Type_Union_MixedTypes_get", + "Type_Union_MixedTypes_send", + "Type_Union_ModelsOnly_get", + "Type_Union_ModelsOnly_send", + "Type_Union_StringAndArray_get", + "Type_Union_StringAndArray_send", + "Type_Union_StringExtensible_get", + "Type_Union_StringExtensible_send", + "Type_Union_StringExtensibleNamed_get", + "Type_Union_StringExtensibleNamed_send", + "Type_Union_StringsOnly_get", + "Type_Union_StringsOnly_send", + "Versioning_*", + ], + specialized: [], + }, +};