Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7c14ab

Browse files
committed
Delete handwritten types
1 parent676b436 commitc7c14ab

File tree

1 file changed

+0
-111
lines changed

1 file changed

+0
-111
lines changed

‎site/src/api/types.ts

Lines changed: 0 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,10 @@
1-
/**
2-
* `BuildInfoResponse` must be kept in sync with the go struct in buildinfo.go.
3-
*/
4-
exportinterfaceBuildInfoResponse{
5-
external_url:string
6-
version:string
7-
}
8-
9-
exportinterfaceLoginResponse{
10-
session_token:string
11-
}
12-
13-
exportinterfaceCreateUserRequest{
14-
username:string
15-
email:string
16-
password:string
17-
organization_id:string
18-
}
19-
20-
exportinterfaceUserResponse{
21-
readonlyid:string
22-
readonlyusername:string
23-
readonlyemail:string
24-
readonlycreated_at:string
25-
readonlystatus:"active"|"suspended"
26-
readonlyorganization_ids:string[]
27-
readonlyroles:{name:string;display_name:string}[]
28-
}
29-
30-
/**
31-
* `Organization` must be kept in sync with the go struct in organizations.go
32-
*/
33-
exportinterfaceOrganization{
34-
id:string
35-
name:string
36-
created_at:string
37-
updated_at:string
38-
}
39-
40-
exportinterfaceProvisioner{
41-
id:string
42-
name:string
43-
}
44-
45-
// This must be kept in sync with the `Template` struct in the back-end
46-
exportinterfaceTemplate{
47-
id:string
48-
created_at:string
49-
updated_at:string
50-
organization_id:string
51-
name:string
52-
provisioner:string
53-
active_version_id:string
54-
}
55-
56-
exportinterfaceCreateTemplateRequest{
57-
name:string
58-
organizationId:string
59-
provisioner:string
60-
}
61-
62-
exportinterfaceCreateWorkspaceRequest{
63-
name:string
64-
template_id:string
65-
organization_id:string
66-
}
67-
68-
exportinterfaceWorkspaceBuild{
69-
id:string
70-
}
71-
72-
exportinterfaceWorkspace{
73-
id:string
74-
created_at:string
75-
updated_at:string
76-
owner_id:string
77-
template_id:string
78-
name:string
79-
autostart_schedule:string
80-
autostop_schedule:string
81-
latest_build:WorkspaceBuild
82-
}
83-
84-
exportinterfaceWorkspaceResource{
85-
id:string
86-
agents?:WorkspaceAgent[]
87-
}
88-
89-
exportinterfaceWorkspaceAgent{
90-
id:string
91-
name:string
92-
operating_system:string
93-
}
94-
95-
exportinterfaceAPIKeyResponse{
96-
key:string
97-
}
98-
991
exportinterfaceUserAgent{
1002
readonlybrowser:string
1013
readonlydevice:string
1024
readonlyip_address:string
1035
readonlyos:string
1046
}
1057

106-
exportinterfaceWorkspaceAutostartRequest{
107-
schedule:string
108-
}
109-
110-
exportinterfaceWorkspaceAutostopRequest{
111-
schedule:string
112-
}
113-
114-
exportinterfaceUpdateProfileRequest{
115-
readonlyusername:string
116-
readonlyemail:string
117-
}
118-
1198
exportinterfaceReconnectingPTYRequest{
1209
readonlydata?:string
12110
readonlyheight?:number

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp