feat(site): connect open_in parameter (#16036)

Second step to resolve [open_in
issue](https://github.com/coder/terraform-provider-coder/issues/297)

This PR improves the way the open_in parameter is forwarded across the
code, changing the last `string` to const everywhere.

Also make sure it is available and forwarded up to the `CreateLink`
component.
This commit is contained in:
Vincent Vielle
2025-01-07 18:08:03 +01:00
committed by GitHub
parent b5c85a8abd
commit 289338f19e
13 changed files with 510 additions and 466 deletions
+1 -1
View File
@@ -2964,7 +2964,7 @@ export interface WorkspaceApp {
readonly healthcheck: Healthcheck;
readonly health: WorkspaceAppHealth;
readonly hidden: boolean;
readonly open_in: string;
readonly open_in: WorkspaceAppOpenIn;
}
// From codersdk/workspaceapps.go