-
Notifications
You must be signed in to change notification settings - Fork 122
feat[UI]: update generated.ts #1336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3045,6 +3045,18 @@ export type AssigneeUpdatePayload = { | |
| link: string | ||
| } | ||
|
|
||
| export type CommonPageDiffItem = { | ||
| items: { | ||
| data: string | ||
| path: string | ||
| }[] | ||
| /** | ||
| * @format int64 | ||
| * @min 0 | ||
| */ | ||
| total: number | ||
| } | ||
|
|
||
| export type CommonResultCommonPageItemRes = { | ||
| data?: { | ||
| items: { | ||
|
|
@@ -3098,8 +3110,17 @@ export type CommonResultCommonPageLabelItem = { | |
|
|
||
| export type CommonResultFilesChangedList = { | ||
| data?: { | ||
| content: string | ||
| content: DiffItem[] | ||
| mui_trees: MuiTreeNode[] | ||
| } | ||
| err_message: string | ||
| req_result: boolean | ||
| } | ||
|
|
||
| export type CommonResultFilesChangedPage = { | ||
| data?: { | ||
| mui_trees: MuiTreeNode[] | ||
| page: CommonPageDiffItem | ||
| } | ||
| err_message: string | ||
| req_result: boolean | ||
|
|
@@ -3286,17 +3307,27 @@ export type CreateFileInfo = { | |
| path: string | ||
| } | ||
|
|
||
| export type DiffItem = { | ||
| data: string | ||
| path: string | ||
| } | ||
|
|
||
| export type FileTreeItem = { | ||
| /** @min 0 */ | ||
| total_count: number | ||
| tree_items: TreeBriefItem[] | ||
| } | ||
|
|
||
| export type FilesChangedList = { | ||
| content: string | ||
| content: DiffItem[] | ||
|
||
| mui_trees: MuiTreeNode[] | ||
| } | ||
|
|
||
| export type FilesChangedPage = { | ||
| mui_trees: MuiTreeNode[] | ||
| page: CommonPageDiffItem | ||
| } | ||
|
|
||
| export type IssueDetailRes = { | ||
| assignees: string[] | ||
| conversations: ConversationItem[] | ||
|
|
@@ -4723,6 +4754,8 @@ export type GetApiMrDetailData = CommonResultMRDetailRes | |
|
|
||
| export type GetApiMrFilesChangedData = CommonResultFilesChangedList | ||
|
|
||
| export type PostApiMrFilesChangedData = CommonResultFilesChangedPage | ||
|
|
||
| export type GetApiMrFilesListData = CommonResultVecMrFilesRes | ||
|
|
||
| export type PostApiMrMergeData = CommonResultString | ||
|
|
@@ -13701,7 +13734,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa | |
| * | ||
| * @tags merge_request | ||
| * @name GetApiMrFilesChanged | ||
| * @summary Get Merge Request file changed list | ||
| * @summary Get List of All Changed Files in Merge Request | ||
| * @request GET:/api/v1/mr/{link}/files-changed | ||
| */ | ||
| getApiMrFilesChanged: () => { | ||
|
|
@@ -13719,6 +13752,31 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa | |
| } | ||
| }, | ||
|
|
||
| /** | ||
| * No description | ||
| * | ||
| * @tags merge_request | ||
| * @name PostApiMrFilesChanged | ||
| * @summary Get Merge Request file changed list in Pagination | ||
| * @request POST:/api/v1/mr/{link}/files-changed | ||
| */ | ||
| postApiMrFilesChanged: () => { | ||
| const base = 'POST:/api/v1/mr/{link}/files-changed' as const | ||
|
|
||
| return { | ||
| baseKey: dataTaggedQueryKey<PostApiMrFilesChangedData>([base]), | ||
| requestKey: (link: string) => dataTaggedQueryKey<PostApiMrFilesChangedData>([base, link]), | ||
| request: (link: string, data: PageParamsString, params: RequestParams = {}) => | ||
| this.request<PostApiMrFilesChangedData>({ | ||
| path: `/api/v1/mr/${link}/files-changed`, | ||
| method: 'POST', | ||
| body: data, | ||
| type: ContentType.Json, | ||
| ...params | ||
| }) | ||
| } | ||
| }, | ||
|
|
||
| /** | ||
| * No description | ||
| * | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaking change modifies the
contentfield fromstringtoDiffItem[]without maintaining backward compatibility. Consider implementing a versioned API or providing migration guidance for existing consumers.