@opendesign-plus-test/components 0.0.1-rc.137 → 0.0.1-rc.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/sig/components/utils.d.ts +3 -3
- package/dist/components.cjs.js +23 -23
- package/dist/components.css +1 -1
- package/dist/components.es.js +4627 -4634
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +62 -64
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +11 -1
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +5 -5
- package/dist/treeshaking/components/sig/components/utils.d.ts +3 -3
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 判断链接来自 GITEE / ATOMGIT
|
|
3
3
|
*/
|
|
4
|
-
export declare const detectGitPlatform: (url: string) => string;
|
|
4
|
+
export declare const detectGitPlatform: (url: string | undefined) => string;
|
|
5
5
|
/**
|
|
6
6
|
* 根据用户标识生成对应的代码托管平台主页地址。
|
|
7
7
|
*
|
|
@@ -17,7 +17,7 @@ export declare const detectGitPlatform: (url: string) => string;
|
|
|
17
17
|
* @param params 用户名或用户信息对象
|
|
18
18
|
* @returns 代码托管平台主页地址,无匹配时为 `undefined`
|
|
19
19
|
*/
|
|
20
|
-
export declare const getGitUrl: (params: string | {
|
|
20
|
+
export declare const getGitUrl: (params: undefined | string | {
|
|
21
21
|
gitee_id?: string;
|
|
22
22
|
gitcode_id?: string;
|
|
23
23
|
atomgit_id?: string;
|
|
@@ -33,7 +33,7 @@ export declare const getGitUrl: (params: string | {
|
|
|
33
33
|
* @param params 用户信息对象
|
|
34
34
|
* @returns 首个匹配的 git 标识,无匹配时为空字符串
|
|
35
35
|
*/
|
|
36
|
-
export declare const getGitId: (params: {
|
|
36
|
+
export declare const getGitId: (params: undefined | {
|
|
37
37
|
gitee_id?: string;
|
|
38
38
|
gitcode_id?: string;
|
|
39
39
|
atomgit_id?: string;
|