Skip to content

Commit

Permalink
Remove Unwanted Generators (#5406)
Browse files Browse the repository at this point in the history
As the spec-dashboard is unbranded generator, I am removing the names of
the unwanted generators.
  • Loading branch information
sarangan12 authored Dec 19, 2024
1 parent 3f2d10a commit cf8d1f2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/spec-dashboard/src/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,18 @@ const storageAccountName = "typespec";

export type GeneratorNames =
| "@typespec/http-client-python"
| "@azure-tools/typespec-python"
| "@azure-tools/typespec-go"
| "@azure-tools/typespec-csharp"
| "@typespec/http-client-csharp"
| "@azure-tools/typespec-ts-rlc"
| "@azure-tools/typespec-ts-modular"
| "@azure-tools/typespec-java"
| "@typespec/http-client-java"
| "@azure-tools/typespec-cpp"
| "@azure-tools/typespec-rust"
| "test";
const query = new URLSearchParams(window.location.search);
const generatorNames: GeneratorNames[] = [
"@typespec/http-client-python",
"@azure-tools/typespec-python",
"@azure-tools/typespec-go",
"@azure-tools/typespec-csharp",
"@typespec/http-client-csharp",
"@azure-tools/typespec-ts-rlc",
"@azure-tools/typespec-ts-modular",
"@azure-tools/typespec-java",
"@typespec/http-client-java",
"@azure-tools/typespec-cpp",
"@azure-tools/typespec-rust",
...(query.has("showtest") ? (["test"] as const) : []),
];

Expand Down

0 comments on commit cf8d1f2

Please sign in to comment.