mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
fe212ad313
commit
5c3337ce46
2 files changed
+2
-2
No files matched your search
@@ -51,7 +51,7 @@ export class CatalogEntityRegistry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a onRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again
|
* Add a onBeforeRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again
|
||||||
* @param catalogEntityUid The uid of the catalog entity
|
* @param catalogEntityUid The uid of the catalog entity
|
||||||
* @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered.
|
* @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered.
|
||||||
* @returns A function to remove that hook
|
* @returns A function to remove that hook
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ export class CatalogEntityRegistry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a onRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again
|
* Add a onBeforeRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again
|
||||||
* @param catalogEntityUid The uid of the catalog entity
|
* @param catalogEntityUid The uid of the catalog entity
|
||||||
* @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered.
|
* @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered.
|
||||||
* @returns A function to remove that hook
|
* @returns A function to remove that hook
|
||||||
|
|||||||
Reference in new issue
Block a user