mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
Rollback https://github.com/coder/coder/pull/18025
This commit is contained in:
2
cli/testdata/coder_list_--output_json.golden
vendored
2
cli/testdata/coder_list_--output_json.golden
vendored
@ -23,7 +23,7 @@
|
|||||||
"workspace_id": "===========[workspace ID]===========",
|
"workspace_id": "===========[workspace ID]===========",
|
||||||
"workspace_name": "test-workspace",
|
"workspace_name": "test-workspace",
|
||||||
"workspace_owner_id": "==========[first user ID]===========",
|
"workspace_owner_id": "==========[first user ID]===========",
|
||||||
"workspace_owner_username": "testuser",
|
"workspace_owner_name": "testuser",
|
||||||
"template_version_id": "============[version ID]============",
|
"template_version_id": "============[version ID]============",
|
||||||
"template_version_name": "===========[version name]===========",
|
"template_version_name": "===========[version name]===========",
|
||||||
"build_number": 1,
|
"build_number": 1,
|
||||||
|
4
coderd/apidoc/docs.go
generated
4
coderd/apidoc/docs.go
generated
@ -17865,9 +17865,7 @@ const docTemplate = `{
|
|||||||
"format": "uuid"
|
"format": "uuid"
|
||||||
},
|
},
|
||||||
"workspace_owner_name": {
|
"workspace_owner_name": {
|
||||||
"type": "string"
|
"description": "WorkspaceOwnerName is the username of the owner of the workspace.",
|
||||||
},
|
|
||||||
"workspace_owner_username": {
|
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
coderd/apidoc/swagger.json
generated
4
coderd/apidoc/swagger.json
generated
@ -16315,9 +16315,7 @@
|
|||||||
"format": "uuid"
|
"format": "uuid"
|
||||||
},
|
},
|
||||||
"workspace_owner_name": {
|
"workspace_owner_name": {
|
||||||
"type": "string"
|
"description": "WorkspaceOwnerName is the username of the owner of the workspace.",
|
||||||
},
|
|
||||||
"workspace_owner_username": {
|
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1098,8 +1098,7 @@ func (api *API) convertWorkspaceBuild(
|
|||||||
CreatedAt: build.CreatedAt,
|
CreatedAt: build.CreatedAt,
|
||||||
UpdatedAt: build.UpdatedAt,
|
UpdatedAt: build.UpdatedAt,
|
||||||
WorkspaceOwnerID: workspace.OwnerID,
|
WorkspaceOwnerID: workspace.OwnerID,
|
||||||
WorkspaceOwnerName: workspace.OwnerName,
|
WorkspaceOwnerName: workspace.OwnerUsername,
|
||||||
WorkspaceOwnerUsername: workspace.OwnerUsername,
|
|
||||||
WorkspaceOwnerAvatarURL: workspace.OwnerAvatarUrl,
|
WorkspaceOwnerAvatarURL: workspace.OwnerAvatarUrl,
|
||||||
WorkspaceID: build.WorkspaceID,
|
WorkspaceID: build.WorkspaceID,
|
||||||
WorkspaceName: workspace.Name,
|
WorkspaceName: workspace.Name,
|
||||||
|
@ -79,8 +79,7 @@ func TestWorkspaceBuild(t *testing.T) {
|
|||||||
}, testutil.WaitShort, testutil.IntervalFast)
|
}, testutil.WaitShort, testutil.IntervalFast)
|
||||||
wb, err := client.WorkspaceBuild(testutil.Context(t, testutil.WaitShort), workspace.LatestBuild.ID)
|
wb, err := client.WorkspaceBuild(testutil.Context(t, testutil.WaitShort), workspace.LatestBuild.ID)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, up.Username, wb.WorkspaceOwnerUsername)
|
require.Equal(t, up.Username, wb.WorkspaceOwnerName)
|
||||||
require.Equal(t, up.Name, wb.WorkspaceOwnerName)
|
|
||||||
require.Equal(t, up.AvatarURL, wb.WorkspaceOwnerAvatarURL)
|
require.Equal(t, up.AvatarURL, wb.WorkspaceOwnerAvatarURL)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,8 +57,8 @@ type WorkspaceBuild struct {
|
|||||||
WorkspaceID uuid.UUID `json:"workspace_id" format:"uuid"`
|
WorkspaceID uuid.UUID `json:"workspace_id" format:"uuid"`
|
||||||
WorkspaceName string `json:"workspace_name"`
|
WorkspaceName string `json:"workspace_name"`
|
||||||
WorkspaceOwnerID uuid.UUID `json:"workspace_owner_id" format:"uuid"`
|
WorkspaceOwnerID uuid.UUID `json:"workspace_owner_id" format:"uuid"`
|
||||||
WorkspaceOwnerName string `json:"workspace_owner_name,omitempty"`
|
// WorkspaceOwnerName is the username of the owner of the workspace.
|
||||||
WorkspaceOwnerUsername string `json:"workspace_owner_username"`
|
WorkspaceOwnerName string `json:"workspace_owner_name"`
|
||||||
WorkspaceOwnerAvatarURL string `json:"workspace_owner_avatar_url,omitempty"`
|
WorkspaceOwnerAvatarURL string `json:"workspace_owner_avatar_url,omitempty"`
|
||||||
TemplateVersionID uuid.UUID `json:"template_version_id" format:"uuid"`
|
TemplateVersionID uuid.UUID `json:"template_version_id" format:"uuid"`
|
||||||
TemplateVersionName string `json:"template_version_name"`
|
TemplateVersionName string `json:"template_version_name"`
|
||||||
|
18
docs/reference/api/builds.md
generated
18
docs/reference/api/builds.md
generated
@ -225,8 +225,7 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacenam
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -461,8 +460,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild} \
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -1176,8 +1174,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild}/sta
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -1485,8 +1482,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
@ -1658,8 +1654,7 @@ Status Code **200**
|
|||||||
| `» workspace_name` | string | false | | |
|
| `» workspace_name` | string | false | | |
|
||||||
| `» workspace_owner_avatar_url` | string | false | | |
|
| `» workspace_owner_avatar_url` | string | false | | |
|
||||||
| `» workspace_owner_id` | string(uuid) | false | | |
|
| `» workspace_owner_id` | string(uuid) | false | | |
|
||||||
| `» workspace_owner_name` | string | false | | |
|
| `» workspace_owner_name` | string | false | | Workspace owner name is the username of the owner of the workspace. |
|
||||||
| `» workspace_owner_username` | string | false | | |
|
|
||||||
|
|
||||||
#### Enumerated Values
|
#### Enumerated Values
|
||||||
|
|
||||||
@ -1972,8 +1967,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
14
docs/reference/api/schemas.md
generated
14
docs/reference/api/schemas.md
generated
@ -8422,8 +8422,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
@ -9414,15 +9413,14 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Properties
|
### Properties
|
||||||
|
|
||||||
| Name | Type | Required | Restrictions | Description |
|
| Name | Type | Required | Restrictions | Description |
|
||||||
|------------------------------|-------------------------------------------------------------------|----------|--------------|-------------|
|
|------------------------------|-------------------------------------------------------------------|----------|--------------|---------------------------------------------------------------------|
|
||||||
| `build_number` | integer | false | | |
|
| `build_number` | integer | false | | |
|
||||||
| `created_at` | string | false | | |
|
| `created_at` | string | false | | |
|
||||||
| `daily_cost` | integer | false | | |
|
| `daily_cost` | integer | false | | |
|
||||||
@ -9445,8 +9443,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
|||||||
| `workspace_name` | string | false | | |
|
| `workspace_name` | string | false | | |
|
||||||
| `workspace_owner_avatar_url` | string | false | | |
|
| `workspace_owner_avatar_url` | string | false | | |
|
||||||
| `workspace_owner_id` | string | false | | |
|
| `workspace_owner_id` | string | false | | |
|
||||||
| `workspace_owner_name` | string | false | | |
|
| `workspace_owner_name` | string | false | | Workspace owner name is the username of the owner of the workspace. |
|
||||||
| `workspace_owner_username` | string | false | | |
|
|
||||||
|
|
||||||
#### Enumerated Values
|
#### Enumerated Values
|
||||||
|
|
||||||
@ -10125,8 +10122,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
|
18
docs/reference/api/workspaces.md
generated
18
docs/reference/api/workspaces.md
generated
@ -280,8 +280,7 @@ of the template will be used.
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
@ -565,8 +564,7 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacenam
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
@ -876,8 +874,7 @@ of the template will be used.
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
@ -1147,8 +1144,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaces \
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
@ -1433,8 +1429,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace} \
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
@ -1834,8 +1829,7 @@ curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/dormant \
|
|||||||
"workspace_name": "string",
|
"workspace_name": "string",
|
||||||
"workspace_owner_avatar_url": "string",
|
"workspace_owner_avatar_url": "string",
|
||||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||||
"workspace_owner_name": "string",
|
"workspace_owner_name": "string"
|
||||||
"workspace_owner_username": "string"
|
|
||||||
},
|
},
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"next_start_at": "2019-08-24T14:15:22Z",
|
"next_start_at": "2019-08-24T14:15:22Z",
|
||||||
|
@ -1165,7 +1165,7 @@ class ApiMethods {
|
|||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
const { job } = await this.getWorkspaceBuildByNumber(
|
const { job } = await this.getWorkspaceBuildByNumber(
|
||||||
build.workspace_owner_username,
|
build.workspace_owner_name,
|
||||||
build.workspace_name,
|
build.workspace_name,
|
||||||
build.build_number,
|
build.build_number,
|
||||||
);
|
);
|
||||||
|
@ -279,7 +279,7 @@ const updateWorkspaceBuild = async (
|
|||||||
queryClient: QueryClient,
|
queryClient: QueryClient,
|
||||||
) => {
|
) => {
|
||||||
const workspaceKey = workspaceByOwnerAndNameKey(
|
const workspaceKey = workspaceByOwnerAndNameKey(
|
||||||
build.workspace_owner_username,
|
build.workspace_owner_name,
|
||||||
build.workspace_name,
|
build.workspace_name,
|
||||||
);
|
);
|
||||||
const previousData = queryClient.getQueryData<Workspace>(workspaceKey);
|
const previousData = queryClient.getQueryData<Workspace>(workspaceKey);
|
||||||
|
3
site/src/api/typesGenerated.ts
generated
3
site/src/api/typesGenerated.ts
generated
@ -3623,8 +3623,7 @@ export interface WorkspaceBuild {
|
|||||||
readonly workspace_id: string;
|
readonly workspace_id: string;
|
||||||
readonly workspace_name: string;
|
readonly workspace_name: string;
|
||||||
readonly workspace_owner_id: string;
|
readonly workspace_owner_id: string;
|
||||||
readonly workspace_owner_name?: string;
|
readonly workspace_owner_name: string;
|
||||||
readonly workspace_owner_username: string;
|
|
||||||
readonly workspace_owner_avatar_url?: string;
|
readonly workspace_owner_avatar_url?: string;
|
||||||
readonly template_version_id: string;
|
readonly template_version_id: string;
|
||||||
readonly template_version_name: string;
|
readonly template_version_name: string;
|
||||||
|
@ -104,7 +104,7 @@ export const WorkspaceBuildPageView: FC<WorkspaceBuildPageViewProps> = ({
|
|||||||
label="Workspace"
|
label="Workspace"
|
||||||
value={
|
value={
|
||||||
<Link
|
<Link
|
||||||
to={`/@${build.workspace_owner_username}/${build.workspace_name}`}
|
to={`/@${build.workspace_owner_name}/${build.workspace_name}`}
|
||||||
>
|
>
|
||||||
{build.workspace_name}
|
{build.workspace_name}
|
||||||
</Link>
|
</Link>
|
||||||
@ -158,7 +158,7 @@ export const WorkspaceBuildPageView: FC<WorkspaceBuildPageViewProps> = ({
|
|||||||
{builds?.map((build) => (
|
{builds?.map((build) => (
|
||||||
<Link
|
<Link
|
||||||
key={build.id}
|
key={build.id}
|
||||||
to={`/@${build.workspace_owner_username}/${build.workspace_name}/builds/${build.build_number}`}
|
to={`/@${build.workspace_owner_name}/${build.workspace_name}/builds/${build.build_number}`}
|
||||||
>
|
>
|
||||||
<SidebarItem active={build.build_number === activeBuildNumber}>
|
<SidebarItem active={build.build_number === activeBuildNumber}>
|
||||||
<WorkspaceBuildData build={build} />
|
<WorkspaceBuildData build={build} />
|
||||||
@ -205,7 +205,7 @@ export const WorkspaceBuildPageView: FC<WorkspaceBuildPageViewProps> = ({
|
|||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{`coder rm ${`${build.workspace_owner_username}/${build.workspace_name}`} --orphan`}
|
{`coder rm ${`${build.workspace_owner_name}/${build.workspace_name}`} --orphan`}
|
||||||
</code>{" "}
|
</code>{" "}
|
||||||
to delete the workspace skipping resource destruction.
|
to delete the workspace skipping resource destruction.
|
||||||
</div>
|
</div>
|
||||||
|
@ -35,7 +35,7 @@ export const HistorySidebar: FC<HistorySidebarProps> = ({ workspace }) => {
|
|||||||
<SidebarLink
|
<SidebarLink
|
||||||
target="_blank"
|
target="_blank"
|
||||||
key={build.id}
|
key={build.id}
|
||||||
to={`/@${build.workspace_owner_username}/${build.workspace_name}/builds/${build.build_number}`}
|
to={`/@${build.workspace_owner_name}/${build.workspace_name}/builds/${build.build_number}`}
|
||||||
>
|
>
|
||||||
<WorkspaceBuildData build={build} />
|
<WorkspaceBuildData build={build} />
|
||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
|
@ -1288,7 +1288,7 @@ export const MockWorkspaceBuild: TypesGen.WorkspaceBuild = {
|
|||||||
updated_at: "2022-05-17T17:39:01.382927298Z",
|
updated_at: "2022-05-17T17:39:01.382927298Z",
|
||||||
workspace_name: "test-workspace",
|
workspace_name: "test-workspace",
|
||||||
workspace_owner_id: MockUserOwner.id,
|
workspace_owner_id: MockUserOwner.id,
|
||||||
workspace_owner_username: MockUserOwner.username,
|
workspace_owner_name: MockUserOwner.username,
|
||||||
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
||||||
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
||||||
deadline: "2022-05-17T23:39:00.00Z",
|
deadline: "2022-05-17T23:39:00.00Z",
|
||||||
@ -1316,7 +1316,7 @@ const MockWorkspaceBuildAutostart: TypesGen.WorkspaceBuild = {
|
|||||||
updated_at: "2022-05-17T17:39:01.382927298Z",
|
updated_at: "2022-05-17T17:39:01.382927298Z",
|
||||||
workspace_name: "test-workspace",
|
workspace_name: "test-workspace",
|
||||||
workspace_owner_id: MockUserOwner.id,
|
workspace_owner_id: MockUserOwner.id,
|
||||||
workspace_owner_username: MockUserOwner.username,
|
workspace_owner_name: MockUserOwner.username,
|
||||||
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
||||||
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
||||||
deadline: "2022-05-17T23:39:00.00Z",
|
deadline: "2022-05-17T23:39:00.00Z",
|
||||||
@ -1340,7 +1340,7 @@ const MockWorkspaceBuildAutostop: TypesGen.WorkspaceBuild = {
|
|||||||
updated_at: "2022-05-17T17:39:01.382927298Z",
|
updated_at: "2022-05-17T17:39:01.382927298Z",
|
||||||
workspace_name: "test-workspace",
|
workspace_name: "test-workspace",
|
||||||
workspace_owner_id: MockUserOwner.id,
|
workspace_owner_id: MockUserOwner.id,
|
||||||
workspace_owner_username: MockUserOwner.username,
|
workspace_owner_name: MockUserOwner.username,
|
||||||
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
||||||
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
||||||
deadline: "2022-05-17T23:39:00.00Z",
|
deadline: "2022-05-17T23:39:00.00Z",
|
||||||
@ -1366,7 +1366,7 @@ export const MockFailedWorkspaceBuild = (
|
|||||||
updated_at: "2022-05-17T17:39:01.382927298Z",
|
updated_at: "2022-05-17T17:39:01.382927298Z",
|
||||||
workspace_name: "test-workspace",
|
workspace_name: "test-workspace",
|
||||||
workspace_owner_id: MockUserOwner.id,
|
workspace_owner_id: MockUserOwner.id,
|
||||||
workspace_owner_username: MockUserOwner.username,
|
workspace_owner_name: MockUserOwner.username,
|
||||||
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
workspace_owner_avatar_url: MockUserOwner.avatar_url,
|
||||||
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
workspace_id: "759f1d46-3174-453d-aa60-980a9c1442f3",
|
||||||
deadline: "2022-05-17T23:39:00.00Z",
|
deadline: "2022-05-17T23:39:00.00Z",
|
||||||
|
Reference in New Issue
Block a user