Skip to content

Commit 5097e06

Browse files
committed
chore(frontend): update generated api types
1 parent 9214edb commit 5097e06

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

frontend/src/api/Api.ts

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3686,10 +3686,10 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
36863686
*/
36873687
v1UsersGitBotsList: (params: RequestParams = {}) =>
36883688
this.request<
3689-
GitInChaitinNetGoDevWebResp & {
3689+
GithubComGoYokoWebResp & {
36903690
data?: DomainListGitBotResp;
36913691
},
3692-
GitInChaitinNetGoDevWebResp
3692+
GithubComGoYokoWebResp
36933693
>({
36943694
path: `/api/v1/users/git-bots`,
36953695
method: "GET",
@@ -3709,7 +3709,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
37093709
* @secure
37103710
*/
37113711
v1UsersGitBotsUpdate: (req: DomainUpdateGitBotReq, params: RequestParams = {}) =>
3712-
this.request<GitInChaitinNetGoDevWebResp, GitInChaitinNetGoDevWebResp>({
3712+
this.request<GithubComGoYokoWebResp, GithubComGoYokoWebResp>({
37133713
path: `/api/v1/users/git-bots`,
37143714
method: "PUT",
37153715
body: req,
@@ -3730,10 +3730,10 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
37303730
*/
37313731
v1UsersGitBotsCreate: (req: DomainCreateGitBotReq, params: RequestParams = {}) =>
37323732
this.request<
3733-
GitInChaitinNetGoDevWebResp & {
3733+
GithubComGoYokoWebResp & {
37343734
data?: DomainGitBot;
37353735
},
3736-
GitInChaitinNetGoDevWebResp
3736+
GithubComGoYokoWebResp
37373737
>({
37383738
path: `/api/v1/users/git-bots`,
37393739
method: "POST",
@@ -3754,7 +3754,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
37543754
* @secure
37553755
*/
37563756
v1UsersGitBotsShareCreate: (req: DomainShareGitBotReq, params: RequestParams = {}) =>
3757-
this.request<GitInChaitinNetGoDevWebResp, GitInChaitinNetGoDevWebResp>({
3757+
this.request<GithubComGoYokoWebResp, GithubComGoYokoWebResp>({
37583758
path: `/api/v1/users/git-bots/share`,
37593759
method: "POST",
37603760
body: req,
@@ -3787,10 +3787,10 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
37873787
params: RequestParams = {},
37883788
) =>
37893789
this.request<
3790-
GitInChaitinNetGoDevWebResp & {
3790+
GithubComGoYokoWebResp & {
37913791
data?: DomainListGitBotTaskResp;
37923792
},
3793-
GitInChaitinNetGoDevWebResp
3793+
GithubComGoYokoWebResp
37943794
>({
37953795
path: `/api/v1/users/git-bots/tasks`,
37963796
method: "GET",
@@ -3811,7 +3811,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
38113811
* @secure
38123812
*/
38133813
v1UsersGitBotsDelete: (id: string, params: RequestParams = {}) =>
3814-
this.request<GitInChaitinNetGoDevWebResp, GitInChaitinNetGoDevWebResp>({
3814+
this.request<GithubComGoYokoWebResp, GithubComGoYokoWebResp>({
38153815
path: `/api/v1/users/git-bots/${id}`,
38163816
method: "DELETE",
38173817
secure: true,
@@ -3829,13 +3829,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
38293829
* @request GET:/api/v1/users/git-identities
38303830
* @secure
38313831
*/
3832-
v1UsersGitIdentitiesList: (
3833-
query?: {
3834-
/** 是否刷新缓存 */
3835-
flush?: boolean;
3836-
},
3837-
params: RequestParams = {},
3838-
) =>
3832+
v1UsersGitIdentitiesList: (params: RequestParams = {}) =>
38393833
this.request<
38403834
GithubComGoYokoWebResp & {
38413835
data?: DomainGitIdentity[];
@@ -3844,7 +3838,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
38443838
>({
38453839
path: `/api/v1/users/git-identities`,
38463840
method: "GET",
3847-
query: query,
38483841
secure: true,
38493842
type: ContentType.Json,
38503843
format: "json",

0 commit comments

Comments
 (0)