@scm-manager/ui-extensions 2.20.1-20210621-094534 → 2.20.1
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/package.json +2 -2
- package/src/extensionPoints.ts +1 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scm-manager/ui-extensions",
|
|
3
|
-
"version": "2.20.1
|
|
3
|
+
"version": "2.20.1",
|
|
4
4
|
"main": "src/index.ts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@scm-manager/ui-types": "^2.20.1
|
|
13
|
+
"@scm-manager/ui-types": "^2.20.1",
|
|
14
14
|
"react": "^17.0.1"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
package/src/extensionPoints.ts
CHANGED
|
@@ -22,16 +22,14 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
import
|
|
25
|
+
import { ExtensionPointDefinition } from "./binder";
|
|
26
26
|
import {
|
|
27
|
-
Branch,
|
|
28
27
|
IndexResources,
|
|
29
28
|
NamespaceStrategies,
|
|
30
29
|
Repository,
|
|
31
30
|
RepositoryCreation,
|
|
32
31
|
RepositoryTypeCollection,
|
|
33
32
|
} from "@scm-manager/ui-types";
|
|
34
|
-
import { ExtensionPointDefinition } from "./binder";
|
|
35
33
|
|
|
36
34
|
type RepositoryCreatorSubFormProps = {
|
|
37
35
|
repository: RepositoryCreation;
|
|
@@ -60,24 +58,3 @@ export type RepositoryCreatorExtension = {
|
|
|
60
58
|
export type RepositoryCreator = ExtensionPointDefinition<"repos.creator", RepositoryCreatorExtension>;
|
|
61
59
|
|
|
62
60
|
export type RepositoryFlags = ExtensionPointDefinition<"repository.flags", { repository: Repository }>;
|
|
63
|
-
|
|
64
|
-
export type ReposSourcesActionbarExtensionProps = {
|
|
65
|
-
baseUrl: string;
|
|
66
|
-
revision: string;
|
|
67
|
-
branch: Branch | undefined;
|
|
68
|
-
path: string;
|
|
69
|
-
sources: File;
|
|
70
|
-
repository: Repository;
|
|
71
|
-
};
|
|
72
|
-
export type ReposSourcesActionbarExtension = React.ComponentType<ReposSourcesActionbarExtensionProps>;
|
|
73
|
-
export type ReposSourcesActionbar = ExtensionPointDefinition<"repos.sources.actionbar", ReposSourcesActionbarExtension>;
|
|
74
|
-
|
|
75
|
-
export type ReposSourcesEmptyActionbarExtensionProps = {
|
|
76
|
-
sources: File;
|
|
77
|
-
repository: Repository;
|
|
78
|
-
};
|
|
79
|
-
export type ReposSourcesEmptyActionbarExtension = ReposSourcesActionbarExtension;
|
|
80
|
-
export type ReposSourcesEmptyActionbar = ExtensionPointDefinition<
|
|
81
|
-
"repos.sources.empty.actionbar",
|
|
82
|
-
ReposSourcesEmptyActionbarExtension
|
|
83
|
-
>;
|