mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Support patching select sorting function (#4903)
* Fix return types for RegisterComponent and PatchFunction * Add support for patching TagSelect.sort * Add support for patching PerformerSelect.sort * Patch other select component sort functions * Document patchable functions/components
This commit is contained in:
@@ -137,7 +137,39 @@ Registers an after function. An after function is called after the render functi
|
||||
|
||||
Returns `void`.
|
||||
|
||||
#### `PluginApi.Event`
|
||||
#### Patchable components and functions
|
||||
|
||||
- `CountrySelect`
|
||||
- `DateInput`
|
||||
- `FolderSelect`
|
||||
- `GalleryIDSelect`
|
||||
- `GallerySelect`
|
||||
- `GallerySelect.sort`
|
||||
- `Icon`
|
||||
- `MovieIDSelect`
|
||||
- `MovieSelect`
|
||||
- `MovieSelect.sort`
|
||||
- `PerformerIDSelect`
|
||||
- `PerformerSelect`
|
||||
- `PerformerSelect.sort`
|
||||
- `PluginRoutes`
|
||||
- `SceneCard`
|
||||
- `SceneCard.Details`
|
||||
- `SceneCard.Image`
|
||||
- `SceneCard.Overlays`
|
||||
- `SceneCard.Popovers`
|
||||
- `SceneIDSelect`
|
||||
- `SceneSelect`
|
||||
- `SceneSelect.sort`
|
||||
- `Setting`
|
||||
- `StudioIDSelect`
|
||||
- `StudioSelect`
|
||||
- `StudioSelect.sort`
|
||||
- `TagIDSelect`
|
||||
- `TagSelect`
|
||||
- `TagSelect.sort`
|
||||
|
||||
### `PluginApi.Event`
|
||||
|
||||
Allows plugins to listen for Stash's events.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user