mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-25 10:24:31 +01:00
19 lines
585 B
Kotlin
19 lines
585 B
Kotlin
|
@file:Suppress("FunctionName")
|
||
|
|
||
|
package analytics_html_img
|
||
|
|
||
|
import utils.byProperty
|
||
|
|
||
|
internal object Common {
|
||
|
const val GITHUB_API = "https://api.github.com"
|
||
|
val GITHUB_TOKEN get() = "GITHUB_TOKEN".byProperty
|
||
|
fun START_SECTION(tagName: String = "HTI") = "<!--START_SECTION:$tagName-->"
|
||
|
fun END_SECTION(tagName: String = "HTI") = "<!--END_SECTION:$tagName-->"
|
||
|
const val USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0"
|
||
|
}
|
||
|
|
||
|
internal data class GithubFileContent(
|
||
|
val decryptedContent: String,
|
||
|
val sha: String
|
||
|
)
|