mirror of
https://github.com/coder/coder.git
synced 2026-10-24 01:26:25 +08:00
feat: add organization scope for shared ports (#18314)
This commit is contained in:
Generated
+12
-2
@@ -3491,10 +3491,15 @@ export interface WorkspaceAgentPortShare {
|
||||
}
|
||||
|
||||
// From codersdk/workspaceagentportshare.go
|
||||
export type WorkspaceAgentPortShareLevel = "authenticated" | "owner" | "public";
|
||||
export type WorkspaceAgentPortShareLevel =
|
||||
| "authenticated"
|
||||
| "organization"
|
||||
| "owner"
|
||||
| "public";
|
||||
|
||||
export const WorkspaceAgentPortShareLevels: WorkspaceAgentPortShareLevel[] = [
|
||||
"authenticated",
|
||||
"organization",
|
||||
"owner",
|
||||
"public",
|
||||
];
|
||||
@@ -3584,10 +3589,15 @@ export type WorkspaceAppOpenIn = "slim-window" | "tab";
|
||||
export const WorkspaceAppOpenIns: WorkspaceAppOpenIn[] = ["slim-window", "tab"];
|
||||
|
||||
// From codersdk/workspaceapps.go
|
||||
export type WorkspaceAppSharingLevel = "authenticated" | "owner" | "public";
|
||||
export type WorkspaceAppSharingLevel =
|
||||
| "authenticated"
|
||||
| "organization"
|
||||
| "owner"
|
||||
| "public";
|
||||
|
||||
export const WorkspaceAppSharingLevels: WorkspaceAppSharingLevel[] = [
|
||||
"authenticated",
|
||||
"organization",
|
||||
"owner",
|
||||
"public",
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user