Skip to content

Commit 99fa0e4

Browse files
committed
refactor: complete jsdocs
1 parent 209247f commit 99fa0e4

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

plugins/development/plugin-git/src/node/typings.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ export interface RawCommit {
2121
/** The co-authors of the commit */
2222
coAuthors: CoAuthorInfo[]
2323

24+
/**
25+
* Information about the submodule if the commit is related to a submodule
26+
* update, otherwise null.
27+
*/
2428
submodule: SubmoduleInfo | null
2529
}
2630

plugins/development/plugin-git/src/shared/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ export interface SubmoduleInfo {
9292
*/
9393
provider?: KnownGitProvider | null
9494

95+
/**
96+
* Git URL pattern for the submodule
97+
*
98+
* 子模块的 Git URL 模式
99+
*/
95100
pattern?: GitUrlPattern
96101
}
97102

0 commit comments

Comments
 (0)