Files
seanime/codegen/generated/hooks.json
2025-03-08 20:33:27 +00:00

3460 lines
94 KiB
JSON

[
{
"package": "metadata",
"goStruct": {
"filepath": "../internal/api/metadata/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeMetadataRequestedEvent",
"formattedName": "Metadata_AnimeMetadataRequestedEvent",
"package": "metadata",
"fields": [
{
"name": "MediaId",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "AnimeMetadata",
"jsonName": "overrideAnimeMetadata",
"goType": "AnimeMetadata",
"typescriptType": "Metadata_AnimeMetadata",
"usedStructName": "metadata.AnimeMetadata",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeMetadataRequestedEvent is triggered when anime metadata is requested.",
" Prevent default to skip the default behavior and return the overridden metadata."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "metadata",
"goStruct": {
"filepath": "../internal/api/metadata/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeMetadataEvent",
"formattedName": "Metadata_AnimeMetadataEvent",
"package": "metadata",
"fields": [
{
"name": "MediaId",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "AnimeMetadata",
"jsonName": "animeMetadata",
"goType": "AnimeMetadata",
"typescriptType": "Metadata_AnimeMetadata",
"usedStructName": "metadata.AnimeMetadata",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeMetadataEvent is triggered when anime metadata is available."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "debrid_client",
"goStruct": {
"filepath": "../internal/debrid/client/hook_events.go",
"filename": "hook_events.go",
"name": "DebridSendStreamToMediaPlayerEvent",
"formattedName": "DebridClient_DebridSendStreamToMediaPlayerEvent",
"package": "debrid_client",
"fields": [
{
"name": "WindowTitle",
"jsonName": "windowTitle",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "StreamURL",
"jsonName": "streamURL",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "Media",
"jsonName": "media",
"goType": "anilist.BaseAnime",
"typescriptType": "AL_BaseAnime",
"usedStructName": "anilist.BaseAnime",
"required": false,
"public": true,
"comments": []
},
{
"name": "AniDbEpisode",
"jsonName": "aniDbEpisode",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "PlaybackType",
"jsonName": "playbackType",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" DebridSendStreamToMediaPlayerEvent is triggered when the debrid client is about to send a stream to the media player.",
" Prevent default to skip the default playback and override the playback."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "debrid_client",
"goStruct": {
"filepath": "../internal/debrid/client/hook_events.go",
"filename": "hook_events.go",
"name": "DebridLocalDownloadRequestedEvent",
"formattedName": "DebridClient_DebridLocalDownloadRequestedEvent",
"package": "debrid_client",
"fields": [
{
"name": "TorrentName",
"jsonName": "torrentName",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "Destination",
"jsonName": "destination",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "DownloadUrl",
"jsonName": "downloadUrl",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" DebridLocalDownloadRequestedEvent is triggered when Seanime is about to download a debrid torrent locally.",
" Prevent default to skip the default download and override the download."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeEntryRequestedEvent",
"formattedName": "Anime_AnimeEntryRequestedEvent",
"package": "anime",
"fields": [
{
"name": "MediaId",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "AnimeCollection",
"jsonName": "animeCollection",
"goType": "anilist.AnimeCollection",
"typescriptType": "AL_AnimeCollection",
"usedStructName": "anilist.AnimeCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeEntryRequestedEvent is triggered when a new media entry is being created."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeEntryEvent",
"formattedName": "Anime_AnimeEntryEvent",
"package": "anime",
"fields": [
{
"name": "Entry",
"jsonName": "entry",
"goType": "Entry",
"typescriptType": "Anime_Entry",
"usedStructName": "anime.Entry",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeEntryEvent is triggered when the media entry is being returned."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeEntryFillerHydrationEvent",
"formattedName": "Anime_AnimeEntryFillerHydrationEvent",
"package": "anime",
"fields": [
{
"name": "Entry",
"jsonName": "entry",
"goType": "Entry",
"typescriptType": "Anime_Entry",
"usedStructName": "anime.Entry",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeEntryFillerHydrationEvent is triggered when the filler data is being added to the media entry.",
" Prevent default to avoid adding the filler data."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeEntryLibraryDataRequestedEvent",
"formattedName": "Anime_AnimeEntryLibraryDataRequestedEvent",
"package": "anime",
"fields": [
{
"name": "EntryLocalFiles",
"jsonName": "entryLocalFiles",
"goType": "[]LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "MediaId",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "CurrentProgress",
"jsonName": "currentProgress",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeEntryLibraryDataRequestedEvent is triggered when the app requests the library data for a media entry."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeEntryLibraryDataEvent",
"formattedName": "Anime_AnimeEntryLibraryDataEvent",
"package": "anime",
"fields": [
{
"name": "EntryLibraryData",
"jsonName": "entryLibraryData",
"goType": "EntryLibraryData",
"typescriptType": "Anime_EntryLibraryData",
"usedStructName": "anime.EntryLibraryData",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeEntryLibraryDataEvent is triggered when the library data is being added to the media entry."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeEntryManualMatchBeforeSaveEvent",
"formattedName": "Anime_AnimeEntryManualMatchBeforeSaveEvent",
"package": "anime",
"fields": [
{
"name": "MediaId",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "Paths",
"jsonName": "paths",
"goType": "[]string",
"typescriptType": "Array\u003cstring\u003e",
"required": false,
"public": true,
"comments": []
},
{
"name": "MatchedLocalFiles",
"jsonName": "matchedLocalFiles",
"goType": "[]LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AnimeEntryManualMatchBeforeSaveEvent is triggered when the user manually matches local files to a media entry."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "MissingEpisodesRequestedEvent",
"formattedName": "Anime_MissingEpisodesRequestedEvent",
"package": "anime",
"fields": [
{
"name": "AnimeCollection",
"jsonName": "animeCollection",
"goType": "anilist.AnimeCollection",
"typescriptType": "AL_AnimeCollection",
"usedStructName": "anilist.AnimeCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "SilencedMediaIds",
"jsonName": "silencedMediaIds",
"goType": "[]int",
"typescriptType": "Array\u003cnumber\u003e",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" MissingEpisodesRequestedEvent is triggered when the user requests the missing episodes for a media entry."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "MissingEpisodesEvent",
"formattedName": "Anime_MissingEpisodesEvent",
"package": "anime",
"fields": [
{
"name": "MissingEpisodes",
"jsonName": "missingEpisodes",
"goType": "MissingEpisodes",
"typescriptType": "Anime_MissingEpisodes",
"usedStructName": "anime.MissingEpisodes",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeLibraryCollectionEvent",
"formattedName": "Anime_AnimeLibraryCollectionEvent",
"package": "anime",
"fields": [
{
"name": "LibraryCollection",
"jsonName": "libraryCollection",
"goType": "LibraryCollection",
"typescriptType": "Anime_LibraryCollection",
"usedStructName": "anime.LibraryCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeLibraryStreamCollectionEvent",
"formattedName": "Anime_AnimeLibraryStreamCollectionEvent",
"package": "anime",
"fields": [
{
"name": "StreamCollection",
"jsonName": "streamCollection",
"goType": "StreamCollection",
"typescriptType": "Anime_StreamCollection",
"usedStructName": "anime.StreamCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeLibraryCollectionRequestedEvent",
"formattedName": "Anime_AnimeLibraryCollectionRequestedEvent",
"package": "anime",
"fields": [
{
"name": "AnimeCollection",
"jsonName": "animeCollection",
"goType": "anilist.AnimeCollection",
"typescriptType": "AL_AnimeCollection",
"usedStructName": "anilist.AnimeCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anime",
"goStruct": {
"filepath": "../internal/library/anime/hook_events.go",
"filename": "hook_events.go",
"name": "AnimeLibraryStreamCollectionRequestedEvent",
"formattedName": "Anime_AnimeLibraryStreamCollectionRequestedEvent",
"package": "anime",
"fields": [
{
"name": "AnimeCollection",
"jsonName": "animeCollection",
"goType": "anilist.AnimeCollection",
"typescriptType": "AL_AnimeCollection",
"usedStructName": "anilist.AnimeCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "LibraryCollection",
"jsonName": "libraryCollection",
"goType": "LibraryCollection",
"typescriptType": "Anime_LibraryCollection",
"usedStructName": "anime.LibraryCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "autodownloader",
"goStruct": {
"filepath": "../internal/library/autodownloader/hook_events.go",
"filename": "hook_events.go",
"name": "AutoDownloaderRunStartedEvent",
"formattedName": "AutoDownloader_AutoDownloaderRunStartedEvent",
"package": "autodownloader",
"fields": [
{
"name": "Rules",
"jsonName": "rules",
"goType": "[]anime.AutoDownloaderRule",
"typescriptType": "Array\u003cAnime_AutoDownloaderRule\u003e",
"usedStructName": "anime.AutoDownloaderRule",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AutoDownloaderRunStartedEvent is triggered when the autodownloader starts checking for new episodes.",
" Prevent default to abort the run."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "autodownloader",
"goStruct": {
"filepath": "../internal/library/autodownloader/hook_events.go",
"filename": "hook_events.go",
"name": "AutoDownloaderTorrentsFetchedEvent",
"formattedName": "AutoDownloader_AutoDownloaderTorrentsFetchedEvent",
"package": "autodownloader",
"fields": [
{
"name": "Torrents",
"jsonName": "torrents",
"goType": "[]NormalizedTorrent",
"typescriptType": "Array\u003cAutoDownloader_NormalizedTorrent\u003e",
"usedStructName": "autodownloader.NormalizedTorrent",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AutoDownloaderTorrentsFetchedEvent is triggered when the autodownloader fetches torrents from the provider."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "autodownloader",
"goStruct": {
"filepath": "../internal/library/autodownloader/hook_events.go",
"filename": "hook_events.go",
"name": "AutoDownloaderMatchVerifiedEvent",
"formattedName": "AutoDownloader_AutoDownloaderMatchVerifiedEvent",
"package": "autodownloader",
"fields": [
{
"name": "Torrent",
"jsonName": "torrent",
"goType": "NormalizedTorrent",
"typescriptType": "AutoDownloader_NormalizedTorrent",
"usedStructName": "autodownloader.NormalizedTorrent",
"required": false,
"public": true,
"comments": []
},
{
"name": "Rule",
"jsonName": "rule",
"goType": "anime.AutoDownloaderRule",
"typescriptType": "Anime_AutoDownloaderRule",
"usedStructName": "anime.AutoDownloaderRule",
"required": false,
"public": true,
"comments": []
},
{
"name": "ListEntry",
"jsonName": "listEntry",
"goType": "anilist.AnimeListEntry",
"typescriptType": "AL_AnimeListEntry",
"usedStructName": "anilist.AnimeListEntry",
"required": false,
"public": true,
"comments": []
},
{
"name": "LocalEntry",
"jsonName": "localEntry",
"goType": "anime.LocalFileWrapperEntry",
"typescriptType": "Anime_LocalFileWrapperEntry",
"usedStructName": "anime.LocalFileWrapperEntry",
"required": false,
"public": true,
"comments": []
},
{
"name": "Episode",
"jsonName": "episode",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "Ok",
"jsonName": "ok",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AutoDownloaderMatchVerifiedEvent is triggered when a torrent is verified to follow a rule."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "autodownloader",
"goStruct": {
"filepath": "../internal/library/autodownloader/hook_events.go",
"filename": "hook_events.go",
"name": "AutoDownloaderSettingsUpdatedEvent",
"formattedName": "AutoDownloader_AutoDownloaderSettingsUpdatedEvent",
"package": "autodownloader",
"fields": [
{
"name": "Settings",
"jsonName": "settings",
"goType": "models.AutoDownloaderSettings",
"typescriptType": "Models_AutoDownloaderSettings",
"usedStructName": "models.AutoDownloaderSettings",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" AutoDownloaderSettingsUpdatedEvent is triggered when the autodownloader settings are updated"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "playbackmanager",
"goStruct": {
"filepath": "../internal/library/playbackmanager/hook_events.go",
"filename": "hook_events.go",
"name": "LocalFilePlaybackRequestedEvent",
"formattedName": "PlaybackManager_LocalFilePlaybackRequestedEvent",
"package": "playbackmanager",
"fields": [
{
"name": "Path",
"jsonName": "path",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" LocalFilePlaybackRequestedEvent is triggered when a local file is requested to be played.",
" Prevent default to skip the default playback and override the playback."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "playbackmanager",
"goStruct": {
"filepath": "../internal/library/playbackmanager/hook_events.go",
"filename": "hook_events.go",
"name": "StreamPlaybackRequestedEvent",
"formattedName": "PlaybackManager_StreamPlaybackRequestedEvent",
"package": "playbackmanager",
"fields": [
{
"name": "WindowTitle",
"jsonName": "windowTitle",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "Payload",
"jsonName": "payload",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "Media",
"jsonName": "media",
"goType": "anilist.BaseAnime",
"typescriptType": "AL_BaseAnime",
"usedStructName": "anilist.BaseAnime",
"required": false,
"public": true,
"comments": []
},
{
"name": "AniDbEpisode",
"jsonName": "aniDbEpisode",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" StreamPlaybackRequestedEvent is triggered when a stream is requested to be played.",
" Prevent default to skip the default playback and override the playback."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "playbackmanager",
"goStruct": {
"filepath": "../internal/library/playbackmanager/hook_events.go",
"filename": "hook_events.go",
"name": "PrePlaybackTrackingEvent",
"formattedName": "PlaybackManager_PrePlaybackTrackingEvent",
"package": "playbackmanager",
"fields": [
{
"name": "IsStream",
"jsonName": "isStream",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" PrePlaybackTrackingEvent is triggered just before the playback tracking starts.",
" Prevent default to skip the default playback tracking."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanStartedEvent",
"formattedName": "Scanner_ScanStartedEvent",
"package": "scanner",
"fields": [
{
"name": "DirPath",
"jsonName": "dirPath",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "OtherDirPaths",
"jsonName": "otherDirPaths",
"goType": "[]string",
"typescriptType": "Array\u003cstring\u003e",
"required": false,
"public": true,
"comments": []
},
{
"name": "Enhanced",
"jsonName": "enhanced",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
},
{
"name": "SkipLocked",
"jsonName": "skipLocked",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
},
{
"name": "SkipIgnored",
"jsonName": "skipIgnored",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanStartedEvent is triggered when a scan operation begins"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanCompletedEvent",
"formattedName": "Scanner_ScanCompletedEvent",
"package": "scanner",
"fields": [
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]anime.LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "Duration",
"jsonName": "duration",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": [
" in milliseconds"
]
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanCompletedEvent is triggered when a scan operation finishes"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanMediaFetcherStartedEvent",
"formattedName": "Scanner_ScanMediaFetcherStartedEvent",
"package": "scanner",
"fields": [
{
"name": "Enhanced",
"jsonName": "enhanced",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanMediaFetcherStartedEvent is triggered when the media fetcher begins"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanMediaFetcherCompletedEvent",
"formattedName": "Scanner_ScanMediaFetcherCompletedEvent",
"package": "scanner",
"fields": [
{
"name": "AllMedia",
"jsonName": "allMedia",
"goType": "[]anilist.CompleteAnime",
"typescriptType": "Array\u003cAL_CompleteAnime\u003e",
"usedStructName": "anilist.CompleteAnime",
"required": false,
"public": true,
"comments": []
},
{
"name": "UnknownMediaIds",
"jsonName": "unknownMediaIds",
"goType": "[]int",
"typescriptType": "Array\u003cnumber\u003e",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanMediaFetcherCompletedEvent is triggered when the media fetcher completes"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanMatchingStartedEvent",
"formattedName": "Scanner_ScanMatchingStartedEvent",
"package": "scanner",
"fields": [
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]anime.LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "NormalizedMedia",
"jsonName": "normalizedMedia",
"goType": "[]anime.NormalizedMedia",
"typescriptType": "Array\u003cAnime_NormalizedMedia\u003e",
"usedStructName": "anime.NormalizedMedia",
"required": false,
"public": true,
"comments": []
},
{
"name": "Algorithm",
"jsonName": "algorithm",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "Threshold",
"jsonName": "threshold",
"goType": "float64",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanMatchingStartedEvent is triggered when the matching process begins.",
" Prevent default to skip the default matching and override the matching."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanLocalFileMatchedEvent",
"formattedName": "Scanner_ScanLocalFileMatchedEvent",
"package": "scanner",
"fields": [
{
"name": "Match",
"jsonName": "match",
"goType": "anime.NormalizedMedia",
"typescriptType": "Anime_NormalizedMedia",
"usedStructName": "anime.NormalizedMedia",
"required": false,
"public": true,
"comments": []
},
{
"name": "Found",
"jsonName": "found",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
},
{
"name": "LocalFile",
"jsonName": "localFile",
"goType": "anime.LocalFile",
"typescriptType": "Anime_LocalFile",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "Score",
"jsonName": "score",
"goType": "float64",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanLocalFileMatchedEvent is triggered when a local file is matched with media and before the match is analyzed.",
" Prevent default to skip the default analysis and override the match."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanMatchingCompletedEvent",
"formattedName": "Scanner_ScanMatchingCompletedEvent",
"package": "scanner",
"fields": [
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]anime.LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanMatchingCompletedEvent is triggered when the matching process completes"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanHydrationStartedEvent",
"formattedName": "Scanner_ScanHydrationStartedEvent",
"package": "scanner",
"fields": [
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]anime.LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "AllMedia",
"jsonName": "allMedia",
"goType": "[]anime.NormalizedMedia",
"typescriptType": "Array\u003cAnime_NormalizedMedia\u003e",
"usedStructName": "anime.NormalizedMedia",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanHydrationStartedEvent is triggered when the file hydration process begins"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanLocalFileHydrationStartedEvent",
"formattedName": "Scanner_ScanLocalFileHydrationStartedEvent",
"package": "scanner",
"fields": [
{
"name": "LocalFile",
"jsonName": "localFile",
"goType": "anime.LocalFile",
"typescriptType": "Anime_LocalFile",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "Media",
"jsonName": "media",
"goType": "anime.NormalizedMedia",
"typescriptType": "Anime_NormalizedMedia",
"usedStructName": "anime.NormalizedMedia",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanLocalFileHydrationStartedEvent is triggered when a local file's metadata is about to be hydrated.",
" Prevent default to skip the default hydration and override the hydration."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanLocalFileHydratedEvent",
"formattedName": "Scanner_ScanLocalFileHydratedEvent",
"package": "scanner",
"fields": [
{
"name": "LocalFile",
"jsonName": "localFile",
"goType": "anime.LocalFile",
"typescriptType": "Anime_LocalFile",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "MediaId",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "Episode",
"jsonName": "episode",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanLocalFileHydratedEvent is triggered when a local file's metadata is hydrated"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "scanner",
"goStruct": {
"filepath": "../internal/library/scanner/hook_events.go",
"filename": "hook_events.go",
"name": "ScanHydrationCompletedEvent",
"formattedName": "Scanner_ScanHydrationCompletedEvent",
"package": "scanner",
"fields": [
{
"name": "LocalFiles",
"jsonName": "localFiles",
"goType": "[]anime.LocalFile",
"typescriptType": "Array\u003cAnime_LocalFile\u003e",
"usedStructName": "anime.LocalFile",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" ScanHydrationCompletedEvent is triggered when the file hydration process completes"
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "manga",
"goStruct": {
"filepath": "../internal/manga/hook_events.go",
"filename": "hook_events.go",
"name": "MangaEntryRequestedEvent",
"formattedName": "Manga_MangaEntryRequestedEvent",
"package": "manga",
"fields": [
{
"name": "MediaId",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": true,
"public": true,
"comments": []
},
{
"name": "MangaCollection",
"jsonName": "mangaCollection",
"goType": "anilist.MangaCollection",
"typescriptType": "AL_MangaCollection",
"usedStructName": "anilist.MangaCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" MangaEntryRequestedEvent is triggered when a new media entry is being created."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "manga",
"goStruct": {
"filepath": "../internal/manga/hook_events.go",
"filename": "hook_events.go",
"name": "MangaEntryEvent",
"formattedName": "Manga_MangaEntryEvent",
"package": "manga",
"fields": [
{
"name": "Entry",
"jsonName": "entry",
"goType": "Entry",
"typescriptType": "Manga_Entry",
"usedStructName": "manga.Entry",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" MangaEntryEvent is triggered when the media entry is being returned."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "manga",
"goStruct": {
"filepath": "../internal/manga/hook_events.go",
"filename": "hook_events.go",
"name": "MangaLibraryCollectionEvent",
"formattedName": "Manga_MangaLibraryCollectionEvent",
"package": "manga",
"fields": [
{
"name": "LibraryCollection",
"jsonName": "libraryCollection",
"goType": "Collection",
"typescriptType": "Manga_Collection",
"usedStructName": "manga.Collection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "manga",
"goStruct": {
"filepath": "../internal/manga/hook_events.go",
"filename": "hook_events.go",
"name": "MangaLibraryCollectionRequestedEvent",
"formattedName": "Manga_MangaLibraryCollectionRequestedEvent",
"package": "manga",
"fields": [
{
"name": "MangaCollection",
"jsonName": "mangaCollection",
"goType": "anilist.MangaCollection",
"typescriptType": "AL_MangaCollection",
"usedStructName": "anilist.MangaCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetAnimeEvent",
"formattedName": "GetAnimeEvent",
"package": "anilist_platform",
"fields": [
{
"name": "Anime",
"jsonName": "anime",
"goType": "anilist.BaseAnime",
"typescriptType": "AL_BaseAnime",
"usedStructName": "anilist.BaseAnime",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetAnimeDetailsEvent",
"formattedName": "GetAnimeDetailsEvent",
"package": "anilist_platform",
"fields": [
{
"name": "Anime",
"jsonName": "anime",
"goType": "anilist.AnimeDetailsById_Media",
"typescriptType": "AL_AnimeDetailsById_Media",
"usedStructName": "anilist.AnimeDetailsById_Media",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetMangaEvent",
"formattedName": "GetMangaEvent",
"package": "anilist_platform",
"fields": [
{
"name": "Manga",
"jsonName": "manga",
"goType": "anilist.BaseManga",
"typescriptType": "AL_BaseManga",
"usedStructName": "anilist.BaseManga",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetMangaDetailsEvent",
"formattedName": "GetMangaDetailsEvent",
"package": "anilist_platform",
"fields": [
{
"name": "Manga",
"jsonName": "manga",
"goType": "anilist.MangaDetailsById_Media",
"typescriptType": "AL_MangaDetailsById_Media",
"usedStructName": "anilist.MangaDetailsById_Media",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetAnimeCollectionEvent",
"formattedName": "GetAnimeCollectionEvent",
"package": "anilist_platform",
"fields": [
{
"name": "AnimeCollection",
"jsonName": "animeCollection",
"goType": "anilist.AnimeCollection",
"typescriptType": "AL_AnimeCollection",
"usedStructName": "anilist.AnimeCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetMangaCollectionEvent",
"formattedName": "GetMangaCollectionEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MangaCollection",
"jsonName": "mangaCollection",
"goType": "anilist.MangaCollection",
"typescriptType": "AL_MangaCollection",
"usedStructName": "anilist.MangaCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetRawAnimeCollectionEvent",
"formattedName": "GetRawAnimeCollectionEvent",
"package": "anilist_platform",
"fields": [
{
"name": "AnimeCollection",
"jsonName": "animeCollection",
"goType": "anilist.AnimeCollection",
"typescriptType": "AL_AnimeCollection",
"usedStructName": "anilist.AnimeCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetRawMangaCollectionEvent",
"formattedName": "GetRawMangaCollectionEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MangaCollection",
"jsonName": "mangaCollection",
"goType": "anilist.MangaCollection",
"typescriptType": "AL_MangaCollection",
"usedStructName": "anilist.MangaCollection",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "GetStudioDetailsEvent",
"formattedName": "GetStudioDetailsEvent",
"package": "anilist_platform",
"fields": [
{
"name": "Studio",
"jsonName": "studio",
"goType": "anilist.StudioDetails",
"typescriptType": "AL_StudioDetails",
"usedStructName": "anilist.StudioDetails",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "PreUpdateEntryEvent",
"formattedName": "PreUpdateEntryEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MediaID",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "Status",
"jsonName": "status",
"goType": "anilist.MediaListStatus",
"typescriptType": "AL_MediaListStatus",
"usedStructName": "anilist.MediaListStatus",
"required": false,
"public": true,
"comments": []
},
{
"name": "ScoreRaw",
"jsonName": "scoreRaw",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "Progress",
"jsonName": "progress",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "StartedAt",
"jsonName": "startedAt",
"goType": "anilist.FuzzyDateInput",
"typescriptType": "AL_FuzzyDateInput",
"usedStructName": "anilist.FuzzyDateInput",
"required": false,
"public": true,
"comments": []
},
{
"name": "CompletedAt",
"jsonName": "completedAt",
"goType": "anilist.FuzzyDateInput",
"typescriptType": "AL_FuzzyDateInput",
"usedStructName": "anilist.FuzzyDateInput",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" PreUpdateEntryEvent is triggered when an entry is about to be updated.",
" Prevent default to skip the default update and override the update."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "PostUpdateEntryEvent",
"formattedName": "PostUpdateEntryEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MediaID",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "PreUpdateEntryProgressEvent",
"formattedName": "PreUpdateEntryProgressEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MediaID",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "Progress",
"jsonName": "progress",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "TotalCount",
"jsonName": "totalCount",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "Status",
"jsonName": "status",
"goType": "anilist.MediaListStatus",
"typescriptType": "AL_MediaListStatus",
"usedStructName": "anilist.MediaListStatus",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" PreUpdateEntryProgressEvent is triggered when an entry's progress is about to be updated.",
" Prevent default to skip the default update and override the update."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "PostUpdateEntryProgressEvent",
"formattedName": "PostUpdateEntryProgressEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MediaID",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "PreUpdateEntryRepeatEvent",
"formattedName": "PreUpdateEntryRepeatEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MediaID",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "Repeat",
"jsonName": "repeat",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" PreUpdateEntryRepeatEvent is triggered when an entry's repeat is about to be updated.",
" Prevent default to skip the default update and override the update."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "anilist_platform",
"goStruct": {
"filepath": "../internal/platforms/anilist_platform/hook_events.go",
"filename": "hook_events.go",
"name": "PostUpdateEntryRepeatEvent",
"formattedName": "PostUpdateEntryRepeatEvent",
"package": "anilist_platform",
"fields": [
{
"name": "MediaID",
"jsonName": "mediaId",
"goType": "int",
"typescriptType": "number",
"required": false,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
},
{
"package": "torrentstream",
"goStruct": {
"filepath": "../internal/torrentstream/hook_events.go",
"filename": "hook_events.go",
"name": "TorrentStreamSendStreamToMediaPlayerEvent",
"formattedName": "Torrentstream_TorrentStreamSendStreamToMediaPlayerEvent",
"package": "torrentstream",
"fields": [
{
"name": "WindowTitle",
"jsonName": "windowTitle",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "StreamURL",
"jsonName": "streamURL",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "Media",
"jsonName": "media",
"goType": "anilist.BaseAnime",
"typescriptType": "AL_BaseAnime",
"usedStructName": "anilist.BaseAnime",
"required": false,
"public": true,
"comments": []
},
{
"name": "AniDbEpisode",
"jsonName": "aniDbEpisode",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "PlaybackType",
"jsonName": "playbackType",
"goType": "string",
"typescriptType": "string",
"required": true,
"public": true,
"comments": []
},
{
"name": "next",
"jsonName": "next",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "preventDefault",
"jsonName": "preventDefault",
"goType": "",
"typescriptType": "any",
"required": true,
"public": false,
"comments": []
},
{
"name": "DefaultPrevented",
"jsonName": "defaultPrevented",
"goType": "bool",
"typescriptType": "boolean",
"required": true,
"public": true,
"comments": []
}
],
"comments": [
" TorrentStreamSendStreamToMediaPlayerEvent is triggered when the torrent stream is about to send a stream to the media player.",
" Prevent default to skip the default playback and override the playback."
],
"embeddedStructNames": [
"hook_resolver.Event"
]
}
}
]