44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
generate:
|
|
- types
|
|
- client
|
|
accessModifier: public
|
|
namingStrategy: idiomatic
|
|
# Only the operations Luminate calls are generated. The Jellyfin specification defines 388
|
|
# operations and 357 schemas; generating all of them produced roughly 258,000 lines of Swift and
|
|
# dominated build time. The generator additionally includes the transitive closure of every
|
|
# component the listed operations reference, so no `schemas:` additions are needed.
|
|
#
|
|
# Keep this list in sync with the `JellyfinAPI` protocol in
|
|
# Sources/LuminateServices/Session/JellyfinAPI.swift. An operation that is not listed here is not
|
|
# generated, and a call to it fails to compile with "value of type 'Client' has no member".
|
|
filter:
|
|
operations:
|
|
# Discovery and system
|
|
- GetPublicSystemInfo
|
|
- GetSystemInfo
|
|
# Auth
|
|
- GetPublicUsers
|
|
- AuthenticateUserByName
|
|
- UpdateUserPassword
|
|
- GetQuickConnectEnabled
|
|
- InitiateQuickConnect
|
|
- GetQuickConnectState
|
|
- AuthenticateWithQuickConnect
|
|
# Home and browse
|
|
- GetUserViews
|
|
- GetItems
|
|
- GetItem
|
|
- GetResumeItems
|
|
- GetNextUp
|
|
- GetLatestMedia
|
|
- GetSeasons
|
|
- GetEpisodes
|
|
- GetSearchHints
|
|
# Images
|
|
- GetItemImage
|
|
- GetItemImageByIndex
|
|
# User state
|
|
- MarkPlayedItem
|
|
- MarkUnplayedItem
|
|
- MarkFavoriteItem
|
|
- UnmarkFavoriteItem
|