mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
Add extension point for repository creators (#1657)
Adds an extension point for repository creator such as repository create, repository import or repository mirror.
This commit is contained in:
@@ -30,7 +30,7 @@ type ExtensionRegistration<P, T> = {
|
||||
extensionName: string;
|
||||
};
|
||||
|
||||
export type ExtensionPointDefinition<N extends string, T, P> = {
|
||||
export type ExtensionPointDefinition<N extends string, T, P = undefined> = {
|
||||
name: N;
|
||||
type: T;
|
||||
props: P;
|
||||
|
||||
Reference in New Issue
Block a user