Skip to content
Open
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
4 changes: 2 additions & 2 deletions website/src/pages/can-i-use/http.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -45,6 +44,7 @@ const options: CoverageFromAzureStorageOptions = {
packageName: "@typespec/http-specs",
},
],
tiers: scenarioTiers,
};
---

Expand Down
95 changes: 95 additions & 0 deletions website/src/pages/can-i-use/scenario-tiers.ts
Original file line number Diff line number Diff line change
@@ -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: [],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there no specialized one right now? or an empty array means it picks the rest?

},
};
Loading