Documentation ¶
Index ¶
Constants ¶
View Source
const ( BookTypeText = litres_integration.ArtTypeText BookTypePDF = litres_integration.ArtTypePDF BookTypeAudio = litres_integration.ArtTypeAudio )
View Source
const ()
View Source
const ()
View Source
const ( BooksPath = "/books" SearchPath = "/search" BookPath = "/book" ListCoverPath = "/list_cover" BookCoverPath = "/book_cover" )
View Source
const ( ScopeNewSearch = "Новый" ScopeBacklogTextBooks = "Бэклог" ScopeKidsBooks = "Детские" ScopeImportedBooks = "Импорт" )
View Source
const ( DescriptionSection = "description" DownloadsSection = "downloads" )
Variables ¶
View Source
var BookHiddenProperties = []string{ data.DehydratedItemImageProperty, }
View Source
var BookLabels = []string{ data.ImportedProperty, }
View Source
var BookProperties = []string{}
View Source
var BookSections = []string{ DescriptionSection, DownloadsSection, }
View Source
var BookTypeOrder = []string{ BookTypeTitles[BookTypeText], BookTypeTitles[BookTypePDF], BookTypeTitles[BookTypeAudio], }
View Source
var BookTypeTitles = map[litres_integration.ArtType]string{ BookTypeText: "Текст", BookTypePDF: "PDF", BookTypeAudio: "Аудио", }
View Source
var BooksLabels = []string{ data.DehydratedListImageProperty, }
View Source
var BooksProperties = []string{ data.DehydratedListImageProperty, }
View Source
var DigestProperties = []string{ data.ImportedProperty, data.SortProperty, data.DescendingProperty, }
View Source
var PropertyTitles = map[string]string{ data.ImportedProperty: "Импорт", data.SortProperty: "Порядок", data.DescendingProperty: "По убыванию", data.ArtsHistoryOrderProperty: "По дате приобретения", "true": "Да", "false": "Нет", }
View Source
var SearchProperties = []string{ data.SortProperty, data.DescendingProperty, data.ImportedProperty, }
View Source
var SearchScopes = []string{ ScopeNewSearch, ScopeBacklogTextBooks, ScopeKidsBooks, ScopeImportedBooks, }
View Source
var SectionTitles = map[string]string{ DescriptionSection: "Описание", DownloadsSection: "Скачать книги", }
Functions ¶
func Init ¶
func Init(rdx kvas.ReadableRedux) (*stencil.AppConfiguration, error)
func SearchScopeQueries ¶ added in v0.1.43
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.