From 7f0c425389f904ada1b8ad4d80d5326e88fb1641 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 2 Dec 2022 13:04:44 +0600 Subject: [PATCH 1/7] start 0.14.5 --- CHANGELOG.md | 2 ++ gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e978cee9496..b036de8851a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.14.5 + ## 0.14.4 * `Common`: diff --git a/gradle.properties b/gradle.properties index 283fbfee177..315bb442022 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,5 +14,5 @@ crypto_js_version=4.1.1 # Project data group=dev.inmo -version=0.14.4 -android_code_version=165 +version=0.14.5 +android_code_version=166 From 04c301d1ac6fd062bc57604d876570f129757bd5 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 2 Dec 2022 13:31:11 +0600 Subject: [PATCH 2/7] upgrade version up to 0.15.0 --- CHANGELOG.md | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b036de8851a..b72c8245ddc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.14.5 +## 0.15.0 ## 0.14.4 diff --git a/gradle.properties b/gradle.properties index 315bb442022..19ccba28486 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,5 +14,5 @@ crypto_js_version=4.1.1 # Project data group=dev.inmo -version=0.14.5 +version=0.15.0 android_code_version=166 From 217e977f0d18f48782028b306d25a36965553d82 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 2 Dec 2022 13:46:06 +0600 Subject: [PATCH 3/7] ids in crud repos --- CHANGELOG.md | 12 +++++++++++ .../repos/cache/full/FullCRUDCacheRepo.kt | 6 ++++++ .../micro_utils/repos/StandartCRUDRepo.kt | 1 + .../micro_utils/repos/mappers/CRUDMappers.kt | 8 ++++++++ .../repos/crud/AbstractAndroidCRUDRepo.kt | 20 +++++++++++++++++++ .../exposed/AbstractExposedReadCRUDRepo.kt | 11 ++++++++++ .../repos/exposed/CommonExposedRepo.kt | 1 + .../AbstractExposedReadKeyValueRepo.kt | 6 ++++++ .../AbstractExposedReadKeyValueRepo.kt | 2 ++ .../dev/inmo/micro_utils/repos/MapCRUDRepo.kt | 7 +++++++ .../ktor/client/crud/KtorCRUDRepoClient.kt | 1 + .../client/crud/KtorReadCRUDRepoClient.kt | 7 +++++++ .../repos/ktor/common/crud/CrudReadRoutes.kt | 1 + .../server/crud/KtorReadCRUDRepoRoutes.kt | 5 +++++ 14 files changed, 88 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b72c8245ddc..0db1eebd3fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## 0.15.0 +* `Repos`: + * `CRUD`: + * `Common`: + * New method `ReadCRUDRepo#getIdsByPagination` + * `Android`: + * `AbstractAndroidCRUDRepo` got new abstract method `toId` + * `Exposed`: + * `CommonExposedRepo` new abstract property `asId` + * `Ktor`: + * `Client`: + * `KtorReadCRUDRepoClient` now requires `paginationIdType` + ## 0.14.4 * `Common`: diff --git a/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/full/FullCRUDCacheRepo.kt b/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/full/FullCRUDCacheRepo.kt index bbd5445e5f3..242b07e12ed 100644 --- a/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/full/FullCRUDCacheRepo.kt +++ b/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/full/FullCRUDCacheRepo.kt @@ -46,6 +46,12 @@ open class FullReadCRUDCacheRepo( { if (it.results.isNotEmpty()) actualizeAll() } ) + override suspend fun getIdsByPagination(pagination: Pagination): PaginationResult = doOrTakeAndActualize( + { keys(pagination).takeIf { it.results.isNotEmpty() }.optionalOrAbsentIfNull }, + { getIdsByPagination(pagination) }, + { if (it.results.isNotEmpty()) actualizeAll() } + ) + override suspend fun count(): Long = doOrTakeAndActualize( { count().takeIf { it != 0L }.optionalOrAbsentIfNull }, { count() }, diff --git a/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/StandartCRUDRepo.kt b/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/StandartCRUDRepo.kt index 265de6dab16..5af7ec929fc 100644 --- a/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/StandartCRUDRepo.kt +++ b/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/StandartCRUDRepo.kt @@ -6,6 +6,7 @@ import kotlinx.coroutines.flow.Flow interface ReadCRUDRepo : Repo { suspend fun getByPagination(pagination: Pagination): PaginationResult + suspend fun getIdsByPagination(pagination: Pagination): PaginationResult suspend fun getById(id: IdType): ObjectType? suspend fun contains(id: IdType): Boolean suspend fun count(): Long diff --git a/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/mappers/CRUDMappers.kt b/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/mappers/CRUDMappers.kt index 97894431d7b..4fb74e91f59 100644 --- a/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/mappers/CRUDMappers.kt +++ b/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/mappers/CRUDMappers.kt @@ -20,6 +20,14 @@ open class MapperReadCRUDRepo( ) } + override suspend fun getIdsByPagination(pagination: Pagination): PaginationResult = to.getIdsByPagination( + pagination + ).let { + it.changeResultsUnchecked( + it.results.map { it.toInnerKey() } + ) + } + override suspend fun count(): Long = to.count() override suspend fun contains(id: FromId): Boolean = to.contains(id.toOutKey()) diff --git a/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractAndroidCRUDRepo.kt b/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractAndroidCRUDRepo.kt index 817e3aeb3fe..ae832c1a1a5 100644 --- a/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractAndroidCRUDRepo.kt +++ b/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractAndroidCRUDRepo.kt @@ -16,6 +16,7 @@ abstract class AbstractAndroidCRUDRepo( protected abstract val tableName: String protected abstract val idColumnName: String protected abstract suspend fun Cursor.toObject(): ObjectType + protected abstract suspend fun Cursor.toId(): IdType protected fun SQLiteDatabase.count(): Long = select(tableName).use { it.count }.toLong() @@ -64,4 +65,23 @@ abstract class AbstractAndroidCRUDRepo( } } } + + override suspend fun getIdsByPagination(pagination: Pagination): PaginationResult { + return helper.readableTransaction { + select( + tableName, + limit = pagination.limitClause() + ).use { + if (it.moveToFirst()) { + val resultList = mutableListOf(it.toId()) + while (it.moveToNext()) { + resultList.add(it.toId()) + } + resultList.createPaginationResult(pagination, count()) + } else { + emptyList().createPaginationResult(pagination, 0) + } + } + } + } } diff --git a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedReadCRUDRepo.kt b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedReadCRUDRepo.kt index bcac643e6dc..95b25277a26 100644 --- a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedReadCRUDRepo.kt +++ b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedReadCRUDRepo.kt @@ -22,6 +22,17 @@ abstract class AbstractExposedReadCRUDRepo( ) } } + + override suspend fun getIdsByPagination(pagination: Pagination): PaginationResult { + return transaction(db = database) { + selectAll().paginate(pagination).map { + it.asId + }.createPaginationResult( + pagination, + selectAll().count() + ) + } + } override suspend fun getById(id: IdType): ObjectType? { return transaction(db = database) { select { diff --git a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/CommonExposedRepo.kt b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/CommonExposedRepo.kt index fe19c54493e..8e12921bece 100644 --- a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/CommonExposedRepo.kt +++ b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/CommonExposedRepo.kt @@ -4,6 +4,7 @@ import org.jetbrains.exposed.sql.* interface CommonExposedRepo : ExposedRepo { val ResultRow.asObject: ObjectType + val ResultRow.asId: IdType val selectById: ISqlExpressionBuilder.(IdType) -> Op val selectByIds: ISqlExpressionBuilder.(List) -> Op get() = { list -> diff --git a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/keyvalue/AbstractExposedReadKeyValueRepo.kt b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/keyvalue/AbstractExposedReadKeyValueRepo.kt index 3498bf2685b..428b3498bf5 100644 --- a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/keyvalue/AbstractExposedReadKeyValueRepo.kt +++ b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/keyvalue/AbstractExposedReadKeyValueRepo.kt @@ -15,7 +15,13 @@ abstract class AbstractExposedReadKeyValueRepo( CommonExposedRepo, Table(tableName ?: "") { abstract val keyColumn: Column<*> + + /** + * Same as [asId] in context of KeyValue repo + */ abstract val ResultRow.asKey: Key + override val ResultRow.asId: Key + get() = asKey abstract val selectByValue: ISqlExpressionBuilder.(Value) -> Op override suspend fun get(k: Key): Value? = transaction(database) { diff --git a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/onetomany/AbstractExposedReadKeyValueRepo.kt b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/onetomany/AbstractExposedReadKeyValueRepo.kt index 3b0e7313887..15fa501e579 100644 --- a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/onetomany/AbstractExposedReadKeyValueRepo.kt +++ b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/onetomany/AbstractExposedReadKeyValueRepo.kt @@ -17,6 +17,8 @@ abstract class AbstractExposedReadKeyValuesRepo( Table(tableName ?: "") { abstract val keyColumn: Column<*> abstract val ResultRow.asKey: Key + override val ResultRow.asId: Key + get() = asKey abstract val selectByValue: ISqlExpressionBuilder.(Value) -> Op override suspend fun count(k: Key): Long = transaction(database) { select { selectById(k) }.count() } diff --git a/repos/inmemory/src/commonMain/kotlin/dev/inmo/micro_utils/repos/MapCRUDRepo.kt b/repos/inmemory/src/commonMain/kotlin/dev/inmo/micro_utils/repos/MapCRUDRepo.kt index 875510b5ee2..bce6525676d 100644 --- a/repos/inmemory/src/commonMain/kotlin/dev/inmo/micro_utils/repos/MapCRUDRepo.kt +++ b/repos/inmemory/src/commonMain/kotlin/dev/inmo/micro_utils/repos/MapCRUDRepo.kt @@ -15,6 +15,13 @@ class ReadMapCRUDRepo( ) } + override suspend fun getIdsByPagination(pagination: Pagination): PaginationResult { + return map.keys.drop(pagination.firstIndex).take(pagination.size).createPaginationResult( + pagination, + count() + ) + } + override suspend fun getById(id: IdType): ObjectType? = map[id] override suspend fun contains(id: IdType): Boolean = map.containsKey(id) diff --git a/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorCRUDRepoClient.kt b/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorCRUDRepoClient.kt index 45a521c264f..51f79547dcc 100644 --- a/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorCRUDRepoClient.kt +++ b/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorCRUDRepoClient.kt @@ -28,6 +28,7 @@ class KtorCRUDRepoClient ( httpClient, typeInfo(), typeInfo>(), + typeInfo>(), contentType, idSerializer ), diff --git a/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorReadCRUDRepoClient.kt b/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorReadCRUDRepoClient.kt index ec675f6857b..250192de745 100644 --- a/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorReadCRUDRepoClient.kt +++ b/repos/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/client/crud/KtorReadCRUDRepoClient.kt @@ -19,6 +19,7 @@ class KtorReadCRUDRepoClient ( private val httpClient: HttpClient, private val objectType: TypeInfo, private val paginationObjectType: TypeInfo, + private val paginationIdType: TypeInfo, private val contentType: ContentType, private val idSerializer: suspend (IdType) -> String ) : ReadCRUDRepo { @@ -27,6 +28,11 @@ class KtorReadCRUDRepoClient ( ) { contentType(contentType) }.body(paginationObjectType) + override suspend fun getIdsByPagination(pagination: Pagination): PaginationResult = httpClient.get( + buildStandardUrl(baseUrl, getIdsByPaginationRouting, pagination.asUrlQueryParts) + ) { + contentType(contentType) + }.body(paginationIdType) override suspend fun getById(id: IdType): ObjectType? = httpClient.get( buildStandardUrl( @@ -72,6 +78,7 @@ inline fun KtorReadCRUDRepoClient( httpClient, typeInfo(), typeInfo>(), + typeInfo>(), contentType, idSerializer ) diff --git a/repos/ktor/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/common/crud/CrudReadRoutes.kt b/repos/ktor/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/common/crud/CrudReadRoutes.kt index dc44163c26e..d04464d2205 100644 --- a/repos/ktor/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/common/crud/CrudReadRoutes.kt +++ b/repos/ktor/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/common/crud/CrudReadRoutes.kt @@ -1,5 +1,6 @@ package dev.inmo.micro_utils.repos.ktor.common.crud const val getByPaginationRouting = "getByPagination" +const val getIdsByPaginationRouting = "getIdsByPagination" const val getByIdRouting = "getById" const val containsRouting = "contains" diff --git a/repos/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/ktor/server/crud/KtorReadCRUDRepoRoutes.kt b/repos/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/ktor/server/crud/KtorReadCRUDRepoRoutes.kt index fd5acf5cf4b..4cc54433b87 100644 --- a/repos/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/ktor/server/crud/KtorReadCRUDRepoRoutes.kt +++ b/repos/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/ktor/server/crud/KtorReadCRUDRepoRoutes.kt @@ -23,6 +23,11 @@ inline fun Route.configureReadCRUDRepoRoute call.respond(originalRepo.getByPagination(pagination)) } + get(getIdsByPaginationRouting) { + val pagination = call.request.queryParameters.extractPagination + + call.respond(originalRepo.getIdsByPagination(pagination)) + } get(getByIdRouting) { val id = idDeserializer( From a812c2dd2f9f53017f5b0b83ad1d14e465ae8ba6 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 2 Dec 2022 20:03:29 +0600 Subject: [PATCH 4/7] refresh language codes --- .../generator/src/main/kotlin/Main.kt | 9 +- .../language_codes/LanguageCodes.kt | 1329 ++++++++++------- 2 files changed, 826 insertions(+), 512 deletions(-) diff --git a/language_codes/generator/src/main/kotlin/Main.kt b/language_codes/generator/src/main/kotlin/Main.kt index e4fa658ec7a..8e32140a21e 100644 --- a/language_codes/generator/src/main/kotlin/Main.kt +++ b/language_codes/generator/src/main/kotlin/Main.kt @@ -78,12 +78,14 @@ private fun printLanguageCodeAndTags( indents: String = " " ): String = if (tag.subtags.isEmpty()) { """${indents}${baseClassSerializerAnnotationName} -${indents}object ${tag.title} : ${parent ?.title ?: baseClassName}() { override val code: String = "${tag.tag}" }""" +${indents}object ${tag.title} : ${parent ?.title ?: baseClassName}() { override val code: String = "${tag.tag}"; override val withoutDialect: String get() = ${parent ?.title ?.let { "$it.code" } ?: "code"} }""" } else { """ ${indents}${baseClassSerializerAnnotationName} ${indents}sealed class ${tag.title} : ${parent ?.title ?: baseClassName}() { ${indents} override val code: String = "${tag.tag}" +${indents} override val withoutDialect: String +${indents} get() = code ${tag.subtags.joinToString("\n") { printLanguageCodeAndTags(it, tag, "${indents} ") }} @@ -104,11 +106,14 @@ import kotlinx.serialization.Serializable ${baseClassSerializerAnnotationName} sealed class $baseClassName { abstract val code: String + abstract val withoutDialect: String ${tags.joinToString("\n") { printLanguageCodeAndTags(it, indents = " ") } } $baseClassSerializerAnnotationName - data class $unknownBaseClassName (override val code: String) : $baseClassName() + data class $unknownBaseClassName (override val code: String) : $baseClassName() { + override val withoutDialect: String = code.takeWhile { it != '-' } + } override fun toString() = code } diff --git a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt index 6f717bb8468..03f6d617e9b 100644 --- a/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt +++ b/language_codes/src/commonMain/kotlin/dev/inmo/micro_utils/language_codes/LanguageCodes.kt @@ -12,22 +12,25 @@ import kotlinx.serialization.Serializable @Serializable(IetfLanguageCodeSerializer::class) sealed class IetfLanguageCode { abstract val code: String + abstract val withoutDialect: String @Serializable(IetfLanguageCodeSerializer::class) - object Afar : IetfLanguageCode() { override val code: String = "aa" } + object Afar : IetfLanguageCode() { override val code: String = "aa"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Abkhazian : IetfLanguageCode() { override val code: String = "ab" } + object Abkhazian : IetfLanguageCode() { override val code: String = "ab"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Avestan : IetfLanguageCode() { override val code: String = "ae" } + object Avestan : IetfLanguageCode() { override val code: String = "ae"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Afrikaans : IetfLanguageCode() { override val code: String = "af" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object NA : Afrikaans() { override val code: String = "af-NA" } + object NA : Afrikaans() { override val code: String = "af-NA"; override val withoutDialect: String get() = Afrikaans.code } @Serializable(IetfLanguageCodeSerializer::class) - object ZA : Afrikaans() { override val code: String = "af-ZA" } + object ZA : Afrikaans() { override val code: String = "af-ZA"; override val withoutDialect: String get() = Afrikaans.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Afrikaans() @@ -37,9 +40,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Akan : IetfLanguageCode() { override val code: String = "ak" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GH : Akan() { override val code: String = "ak-GH" } + object GH : Akan() { override val code: String = "ak-GH"; override val withoutDialect: String get() = Akan.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Akan() @@ -49,77 +54,81 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Amharic : IetfLanguageCode() { override val code: String = "am" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ET : Amharic() { override val code: String = "am-ET" } + object ET : Amharic() { override val code: String = "am-ET"; override val withoutDialect: String get() = Amharic.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Amharic() } @Serializable(IetfLanguageCodeSerializer::class) - object Aragonese : IetfLanguageCode() { override val code: String = "an" } + object Aragonese : IetfLanguageCode() { override val code: String = "an"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Arabic : IetfLanguageCode() { override val code: String = "ar" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Arabic() { override val code: String = "ar-001" } + object L001 : Arabic() { override val code: String = "ar-001"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object AE : Arabic() { override val code: String = "ar-AE" } + object AE : Arabic() { override val code: String = "ar-AE"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object BH : Arabic() { override val code: String = "ar-BH" } + object BH : Arabic() { override val code: String = "ar-BH"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object DJ : Arabic() { override val code: String = "ar-DJ" } + object DJ : Arabic() { override val code: String = "ar-DJ"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object DZ : Arabic() { override val code: String = "ar-DZ" } + object DZ : Arabic() { override val code: String = "ar-DZ"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object EG : Arabic() { override val code: String = "ar-EG" } + object EG : Arabic() { override val code: String = "ar-EG"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object EH : Arabic() { override val code: String = "ar-EH" } + object EH : Arabic() { override val code: String = "ar-EH"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object ER : Arabic() { override val code: String = "ar-ER" } + object ER : Arabic() { override val code: String = "ar-ER"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object IL : Arabic() { override val code: String = "ar-IL" } + object IL : Arabic() { override val code: String = "ar-IL"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object IQ : Arabic() { override val code: String = "ar-IQ" } + object IQ : Arabic() { override val code: String = "ar-IQ"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object JO : Arabic() { override val code: String = "ar-JO" } + object JO : Arabic() { override val code: String = "ar-JO"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object KM : Arabic() { override val code: String = "ar-KM" } + object KM : Arabic() { override val code: String = "ar-KM"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object KW : Arabic() { override val code: String = "ar-KW" } + object KW : Arabic() { override val code: String = "ar-KW"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object LB : Arabic() { override val code: String = "ar-LB" } + object LB : Arabic() { override val code: String = "ar-LB"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object LY : Arabic() { override val code: String = "ar-LY" } + object LY : Arabic() { override val code: String = "ar-LY"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object MA : Arabic() { override val code: String = "ar-MA" } + object MA : Arabic() { override val code: String = "ar-MA"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object MR : Arabic() { override val code: String = "ar-MR" } + object MR : Arabic() { override val code: String = "ar-MR"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object OM : Arabic() { override val code: String = "ar-OM" } + object OM : Arabic() { override val code: String = "ar-OM"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object PS : Arabic() { override val code: String = "ar-PS" } + object PS : Arabic() { override val code: String = "ar-PS"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object QA : Arabic() { override val code: String = "ar-QA" } + object QA : Arabic() { override val code: String = "ar-QA"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object SA : Arabic() { override val code: String = "ar-SA" } + object SA : Arabic() { override val code: String = "ar-SA"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object SD : Arabic() { override val code: String = "ar-SD" } + object SD : Arabic() { override val code: String = "ar-SD"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object SO : Arabic() { override val code: String = "ar-SO" } + object SO : Arabic() { override val code: String = "ar-SO"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object SS : Arabic() { override val code: String = "ar-SS" } + object SS : Arabic() { override val code: String = "ar-SS"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object SY : Arabic() { override val code: String = "ar-SY" } + object SY : Arabic() { override val code: String = "ar-SY"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object TD : Arabic() { override val code: String = "ar-TD" } + object TD : Arabic() { override val code: String = "ar-TD"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object TN : Arabic() { override val code: String = "ar-TN" } + object TN : Arabic() { override val code: String = "ar-TN"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) - object YE : Arabic() { override val code: String = "ar-YE" } + object YE : Arabic() { override val code: String = "ar-YE"; override val withoutDialect: String get() = Arabic.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Arabic() @@ -129,30 +138,36 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Assamese : IetfLanguageCode() { override val code: String = "as" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Assamese() { override val code: String = "as-IN" } + object IN : Assamese() { override val code: String = "as-IN"; override val withoutDialect: String get() = Assamese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Assamese() } @Serializable(IetfLanguageCodeSerializer::class) - object Avaric : IetfLanguageCode() { override val code: String = "av" } + object Avaric : IetfLanguageCode() { override val code: String = "av"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Aymara : IetfLanguageCode() { override val code: String = "ay" } + object Aymara : IetfLanguageCode() { override val code: String = "ay"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Azerbaijani : IetfLanguageCode() { override val code: String = "az" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Cyrl : Azerbaijani() { override val code: String = "az-Cyrl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AZ : Cyrl() { override val code: String = "az-Cyrl-AZ" } + object AZ : Cyrl() { override val code: String = "az-Cyrl-AZ"; override val withoutDialect: String get() = Cyrl.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() @@ -162,9 +177,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Latn : Azerbaijani() { override val code: String = "az-Latn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AZ : Latn() { override val code: String = "az-Latn-AZ" } + object AZ : Latn() { override val code: String = "az-Latn-AZ"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() @@ -176,14 +193,16 @@ sealed class IetfLanguageCode { } @Serializable(IetfLanguageCodeSerializer::class) - object Bashkir : IetfLanguageCode() { override val code: String = "ba" } + object Bashkir : IetfLanguageCode() { override val code: String = "ba"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Belarusian : IetfLanguageCode() { override val code: String = "be" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BY : Belarusian() { override val code: String = "be-BY" } + object BY : Belarusian() { override val code: String = "be-BY"; override val withoutDialect: String get() = Belarusian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Belarusian() @@ -193,25 +212,29 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Bulgarian : IetfLanguageCode() { override val code: String = "bg" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BG : Bulgarian() { override val code: String = "bg-BG" } + object BG : Bulgarian() { override val code: String = "bg-BG"; override val withoutDialect: String get() = Bulgarian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Bulgarian() } @Serializable(IetfLanguageCodeSerializer::class) - object BihariLanguages : IetfLanguageCode() { override val code: String = "bh" } + object BihariLanguages : IetfLanguageCode() { override val code: String = "bh"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Bislama : IetfLanguageCode() { override val code: String = "bi" } + object Bislama : IetfLanguageCode() { override val code: String = "bi"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Bambara : IetfLanguageCode() { override val code: String = "bm" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ML : Bambara() { override val code: String = "bm-ML" } + object ML : Bambara() { override val code: String = "bm-ML"; override val withoutDialect: String get() = Bambara.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Bambara() @@ -221,11 +244,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Bengali : IetfLanguageCode() { override val code: String = "bn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BD : Bengali() { override val code: String = "bn-BD" } + object BD : Bengali() { override val code: String = "bn-BD"; override val withoutDialect: String get() = Bengali.code } @Serializable(IetfLanguageCodeSerializer::class) - object IN : Bengali() { override val code: String = "bn-IN" } + object IN : Bengali() { override val code: String = "bn-IN"; override val withoutDialect: String get() = Bengali.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Bengali() @@ -235,11 +260,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Tibetan : IetfLanguageCode() { override val code: String = "bo" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CN : Tibetan() { override val code: String = "bo-CN" } + object CN : Tibetan() { override val code: String = "bo-CN"; override val withoutDialect: String get() = Tibetan.code } @Serializable(IetfLanguageCodeSerializer::class) - object IN : Tibetan() { override val code: String = "bo-IN" } + object IN : Tibetan() { override val code: String = "bo-IN"; override val withoutDialect: String get() = Tibetan.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Tibetan() @@ -249,9 +276,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Breton : IetfLanguageCode() { override val code: String = "br" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object FR : Breton() { override val code: String = "br-FR" } + object FR : Breton() { override val code: String = "br-FR"; override val withoutDialect: String get() = Breton.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Breton() @@ -261,14 +290,18 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Bosnian : IetfLanguageCode() { override val code: String = "bs" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Cyrl : Bosnian() { override val code: String = "bs-Cyrl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BA : Cyrl() { override val code: String = "bs-Cyrl-BA" } + object BA : Cyrl() { override val code: String = "bs-Cyrl-BA"; override val withoutDialect: String get() = Cyrl.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() @@ -278,9 +311,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Latn : Bosnian() { override val code: String = "bs-Latn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BA : Latn() { override val code: String = "bs-Latn-BA" } + object BA : Latn() { override val code: String = "bs-Latn-BA"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() @@ -295,25 +330,29 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class CatalanValencian : IetfLanguageCode() { override val code: String = "ca" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AD : CatalanValencian() { override val code: String = "ca-AD" } + object AD : CatalanValencian() { override val code: String = "ca-AD"; override val withoutDialect: String get() = CatalanValencian.code } @Serializable(IetfLanguageCodeSerializer::class) sealed class ES : CatalanValencian() { override val code: String = "ca-ES" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object VALENCIA : ES() { override val code: String = "ca-ES-VALENCIA" } + object VALENCIA : ES() { override val code: String = "ca-ES-VALENCIA"; override val withoutDialect: String get() = ES.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : ES() } @Serializable(IetfLanguageCodeSerializer::class) - object FR : CatalanValencian() { override val code: String = "ca-FR" } + object FR : CatalanValencian() { override val code: String = "ca-FR"; override val withoutDialect: String get() = CatalanValencian.code } @Serializable(IetfLanguageCodeSerializer::class) - object IT : CatalanValencian() { override val code: String = "ca-IT" } + object IT : CatalanValencian() { override val code: String = "ca-IT"; override val withoutDialect: String get() = CatalanValencian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : CatalanValencian() @@ -323,27 +362,31 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Chechen : IetfLanguageCode() { override val code: String = "ce" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object RU : Chechen() { override val code: String = "ce-RU" } + object RU : Chechen() { override val code: String = "ce-RU"; override val withoutDialect: String get() = Chechen.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Chechen() } @Serializable(IetfLanguageCodeSerializer::class) - object Chamorro : IetfLanguageCode() { override val code: String = "ch" } + object Chamorro : IetfLanguageCode() { override val code: String = "ch"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Corsican : IetfLanguageCode() { override val code: String = "co" } + object Corsican : IetfLanguageCode() { override val code: String = "co"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Cree : IetfLanguageCode() { override val code: String = "cr" } + object Cree : IetfLanguageCode() { override val code: String = "cr"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Czech : IetfLanguageCode() { override val code: String = "cs" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CZ : Czech() { override val code: String = "cs-CZ" } + object CZ : Czech() { override val code: String = "cs-CZ"; override val withoutDialect: String get() = Czech.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Czech() @@ -353,23 +396,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic : IetfLanguageCode() { override val code: String = "cu" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object RU : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() { override val code: String = "cu-RU" } + object RU : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() { override val code: String = "cu-RU"; override val withoutDialect: String get() = ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : ChurchSlavicOldSlavonicChurchSlavonicOldBulgarianOldChurchSlavonic() } @Serializable(IetfLanguageCodeSerializer::class) - object Chuvash : IetfLanguageCode() { override val code: String = "cv" } + object Chuvash : IetfLanguageCode() { override val code: String = "cv"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Welsh : IetfLanguageCode() { override val code: String = "cy" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GB : Welsh() { override val code: String = "cy-GB" } + object GB : Welsh() { override val code: String = "cy-GB"; override val withoutDialect: String get() = Welsh.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Welsh() @@ -379,11 +426,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Danish : IetfLanguageCode() { override val code: String = "da" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object DK : Danish() { override val code: String = "da-DK" } + object DK : Danish() { override val code: String = "da-DK"; override val withoutDialect: String get() = Danish.code } @Serializable(IetfLanguageCodeSerializer::class) - object GL : Danish() { override val code: String = "da-GL" } + object GL : Danish() { override val code: String = "da-GL"; override val withoutDialect: String get() = Danish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Danish() @@ -393,35 +442,39 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class German : IetfLanguageCode() { override val code: String = "de" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AT : German() { override val code: String = "de-AT" } + object AT : German() { override val code: String = "de-AT"; override val withoutDialect: String get() = German.code } @Serializable(IetfLanguageCodeSerializer::class) - object BE : German() { override val code: String = "de-BE" } + object BE : German() { override val code: String = "de-BE"; override val withoutDialect: String get() = German.code } @Serializable(IetfLanguageCodeSerializer::class) - object CH : German() { override val code: String = "de-CH" } + object CH : German() { override val code: String = "de-CH"; override val withoutDialect: String get() = German.code } @Serializable(IetfLanguageCodeSerializer::class) - object DE : German() { override val code: String = "de-DE" } + object DE : German() { override val code: String = "de-DE"; override val withoutDialect: String get() = German.code } @Serializable(IetfLanguageCodeSerializer::class) - object IT : German() { override val code: String = "de-IT" } + object IT : German() { override val code: String = "de-IT"; override val withoutDialect: String get() = German.code } @Serializable(IetfLanguageCodeSerializer::class) - object LI : German() { override val code: String = "de-LI" } + object LI : German() { override val code: String = "de-LI"; override val withoutDialect: String get() = German.code } @Serializable(IetfLanguageCodeSerializer::class) - object LU : German() { override val code: String = "de-LU" } + object LU : German() { override val code: String = "de-LU"; override val withoutDialect: String get() = German.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : German() } @Serializable(IetfLanguageCodeSerializer::class) - object DivehiDhivehiMaldivian : IetfLanguageCode() { override val code: String = "dv" } + object DivehiDhivehiMaldivian : IetfLanguageCode() { override val code: String = "dv"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Dzongkha : IetfLanguageCode() { override val code: String = "dz" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BT : Dzongkha() { override val code: String = "dz-BT" } + object BT : Dzongkha() { override val code: String = "dz-BT"; override val withoutDialect: String get() = Dzongkha.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Dzongkha() @@ -431,11 +484,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Ewe : IetfLanguageCode() { override val code: String = "ee" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GH : Ewe() { override val code: String = "ee-GH" } + object GH : Ewe() { override val code: String = "ee-GH"; override val withoutDialect: String get() = Ewe.code } @Serializable(IetfLanguageCodeSerializer::class) - object TG : Ewe() { override val code: String = "ee-TG" } + object TG : Ewe() { override val code: String = "ee-TG"; override val withoutDialect: String get() = Ewe.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Ewe() @@ -445,11 +500,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class GreekModern1453 : IetfLanguageCode() { override val code: String = "el" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CY : GreekModern1453() { override val code: String = "el-CY" } + object CY : GreekModern1453() { override val code: String = "el-CY"; override val withoutDialect: String get() = GreekModern1453.code } @Serializable(IetfLanguageCodeSerializer::class) - object GR : GreekModern1453() { override val code: String = "el-GR" } + object GR : GreekModern1453() { override val code: String = "el-GR"; override val withoutDialect: String get() = GreekModern1453.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : GreekModern1453() @@ -459,227 +516,231 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class English : IetfLanguageCode() { override val code: String = "en" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object L001 : English() { override val code: String = "en-001" } + object L001 : English() { override val code: String = "en-001"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object L150 : English() { override val code: String = "en-150" } + object L150 : English() { override val code: String = "en-150"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object AE : English() { override val code: String = "en-AE" } + object AE : English() { override val code: String = "en-AE"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object AG : English() { override val code: String = "en-AG" } + object AG : English() { override val code: String = "en-AG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object AI : English() { override val code: String = "en-AI" } + object AI : English() { override val code: String = "en-AI"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object AS : English() { override val code: String = "en-AS" } + object AS : English() { override val code: String = "en-AS"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object AT : English() { override val code: String = "en-AT" } + object AT : English() { override val code: String = "en-AT"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object AU : English() { override val code: String = "en-AU" } + object AU : English() { override val code: String = "en-AU"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object BB : English() { override val code: String = "en-BB" } + object BB : English() { override val code: String = "en-BB"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object BE : English() { override val code: String = "en-BE" } + object BE : English() { override val code: String = "en-BE"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object BI : English() { override val code: String = "en-BI" } + object BI : English() { override val code: String = "en-BI"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object BM : English() { override val code: String = "en-BM" } + object BM : English() { override val code: String = "en-BM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object BS : English() { override val code: String = "en-BS" } + object BS : English() { override val code: String = "en-BS"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object BW : English() { override val code: String = "en-BW" } + object BW : English() { override val code: String = "en-BW"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object BZ : English() { override val code: String = "en-BZ" } + object BZ : English() { override val code: String = "en-BZ"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object CA : English() { override val code: String = "en-CA" } + object CA : English() { override val code: String = "en-CA"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object CC : English() { override val code: String = "en-CC" } + object CC : English() { override val code: String = "en-CC"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object CH : English() { override val code: String = "en-CH" } + object CH : English() { override val code: String = "en-CH"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object CK : English() { override val code: String = "en-CK" } + object CK : English() { override val code: String = "en-CK"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object CM : English() { override val code: String = "en-CM" } + object CM : English() { override val code: String = "en-CM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object CX : English() { override val code: String = "en-CX" } + object CX : English() { override val code: String = "en-CX"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object CY : English() { override val code: String = "en-CY" } + object CY : English() { override val code: String = "en-CY"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object DE : English() { override val code: String = "en-DE" } + object DE : English() { override val code: String = "en-DE"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object DG : English() { override val code: String = "en-DG" } + object DG : English() { override val code: String = "en-DG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object DK : English() { override val code: String = "en-DK" } + object DK : English() { override val code: String = "en-DK"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object DM : English() { override val code: String = "en-DM" } + object DM : English() { override val code: String = "en-DM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object ER : English() { override val code: String = "en-ER" } + object ER : English() { override val code: String = "en-ER"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object FI : English() { override val code: String = "en-FI" } + object FI : English() { override val code: String = "en-FI"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object FJ : English() { override val code: String = "en-FJ" } + object FJ : English() { override val code: String = "en-FJ"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object FK : English() { override val code: String = "en-FK" } + object FK : English() { override val code: String = "en-FK"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object FM : English() { override val code: String = "en-FM" } + object FM : English() { override val code: String = "en-FM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GB : English() { override val code: String = "en-GB" } + object GB : English() { override val code: String = "en-GB"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GD : English() { override val code: String = "en-GD" } + object GD : English() { override val code: String = "en-GD"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GG : English() { override val code: String = "en-GG" } + object GG : English() { override val code: String = "en-GG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GH : English() { override val code: String = "en-GH" } + object GH : English() { override val code: String = "en-GH"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GI : English() { override val code: String = "en-GI" } + object GI : English() { override val code: String = "en-GI"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GM : English() { override val code: String = "en-GM" } + object GM : English() { override val code: String = "en-GM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GU : English() { override val code: String = "en-GU" } + object GU : English() { override val code: String = "en-GU"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object GY : English() { override val code: String = "en-GY" } + object GY : English() { override val code: String = "en-GY"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object HK : English() { override val code: String = "en-HK" } + object HK : English() { override val code: String = "en-HK"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object IE : English() { override val code: String = "en-IE" } + object IE : English() { override val code: String = "en-IE"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object IL : English() { override val code: String = "en-IL" } + object IL : English() { override val code: String = "en-IL"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object IM : English() { override val code: String = "en-IM" } + object IM : English() { override val code: String = "en-IM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object IN : English() { override val code: String = "en-IN" } + object IN : English() { override val code: String = "en-IN"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object IO : English() { override val code: String = "en-IO" } + object IO : English() { override val code: String = "en-IO"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object JE : English() { override val code: String = "en-JE" } + object JE : English() { override val code: String = "en-JE"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object JM : English() { override val code: String = "en-JM" } + object JM : English() { override val code: String = "en-JM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object KE : English() { override val code: String = "en-KE" } + object KE : English() { override val code: String = "en-KE"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object KI : English() { override val code: String = "en-KI" } + object KI : English() { override val code: String = "en-KI"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object KN : English() { override val code: String = "en-KN" } + object KN : English() { override val code: String = "en-KN"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object KY : English() { override val code: String = "en-KY" } + object KY : English() { override val code: String = "en-KY"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object LC : English() { override val code: String = "en-LC" } + object LC : English() { override val code: String = "en-LC"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object LR : English() { override val code: String = "en-LR" } + object LR : English() { override val code: String = "en-LR"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object LS : English() { override val code: String = "en-LS" } + object LS : English() { override val code: String = "en-LS"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MG : English() { override val code: String = "en-MG" } + object MG : English() { override val code: String = "en-MG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MH : English() { override val code: String = "en-MH" } + object MH : English() { override val code: String = "en-MH"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MO : English() { override val code: String = "en-MO" } + object MO : English() { override val code: String = "en-MO"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MP : English() { override val code: String = "en-MP" } + object MP : English() { override val code: String = "en-MP"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MS : English() { override val code: String = "en-MS" } + object MS : English() { override val code: String = "en-MS"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MT : English() { override val code: String = "en-MT" } + object MT : English() { override val code: String = "en-MT"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MU : English() { override val code: String = "en-MU" } + object MU : English() { override val code: String = "en-MU"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MW : English() { override val code: String = "en-MW" } + object MW : English() { override val code: String = "en-MW"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object MY : English() { override val code: String = "en-MY" } + object MY : English() { override val code: String = "en-MY"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object NA : English() { override val code: String = "en-NA" } + object NA : English() { override val code: String = "en-NA"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object NF : English() { override val code: String = "en-NF" } + object NF : English() { override val code: String = "en-NF"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object NG : English() { override val code: String = "en-NG" } + object NG : English() { override val code: String = "en-NG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object NL : English() { override val code: String = "en-NL" } + object NL : English() { override val code: String = "en-NL"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object NR : English() { override val code: String = "en-NR" } + object NR : English() { override val code: String = "en-NR"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object NU : English() { override val code: String = "en-NU" } + object NU : English() { override val code: String = "en-NU"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object NZ : English() { override val code: String = "en-NZ" } + object NZ : English() { override val code: String = "en-NZ"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object PG : English() { override val code: String = "en-PG" } + object PG : English() { override val code: String = "en-PG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object PH : English() { override val code: String = "en-PH" } + object PH : English() { override val code: String = "en-PH"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object PK : English() { override val code: String = "en-PK" } + object PK : English() { override val code: String = "en-PK"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object PN : English() { override val code: String = "en-PN" } + object PN : English() { override val code: String = "en-PN"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object PR : English() { override val code: String = "en-PR" } + object PR : English() { override val code: String = "en-PR"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object PW : English() { override val code: String = "en-PW" } + object PW : English() { override val code: String = "en-PW"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object RW : English() { override val code: String = "en-RW" } + object RW : English() { override val code: String = "en-RW"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SB : English() { override val code: String = "en-SB" } + object SB : English() { override val code: String = "en-SB"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SC : English() { override val code: String = "en-SC" } + object SC : English() { override val code: String = "en-SC"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SD : English() { override val code: String = "en-SD" } + object SD : English() { override val code: String = "en-SD"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SE : English() { override val code: String = "en-SE" } + object SE : English() { override val code: String = "en-SE"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SG : English() { override val code: String = "en-SG" } + object SG : English() { override val code: String = "en-SG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SH : English() { override val code: String = "en-SH" } + object SH : English() { override val code: String = "en-SH"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SI : English() { override val code: String = "en-SI" } + object SI : English() { override val code: String = "en-SI"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SL : English() { override val code: String = "en-SL" } + object SL : English() { override val code: String = "en-SL"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SS : English() { override val code: String = "en-SS" } + object SS : English() { override val code: String = "en-SS"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SX : English() { override val code: String = "en-SX" } + object SX : English() { override val code: String = "en-SX"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object SZ : English() { override val code: String = "en-SZ" } + object SZ : English() { override val code: String = "en-SZ"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object TC : English() { override val code: String = "en-TC" } + object TC : English() { override val code: String = "en-TC"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object TK : English() { override val code: String = "en-TK" } + object TK : English() { override val code: String = "en-TK"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object TO : English() { override val code: String = "en-TO" } + object TO : English() { override val code: String = "en-TO"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object TT : English() { override val code: String = "en-TT" } + object TT : English() { override val code: String = "en-TT"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object TV : English() { override val code: String = "en-TV" } + object TV : English() { override val code: String = "en-TV"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object TZ : English() { override val code: String = "en-TZ" } + object TZ : English() { override val code: String = "en-TZ"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object UG : English() { override val code: String = "en-UG" } + object UG : English() { override val code: String = "en-UG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object UM : English() { override val code: String = "en-UM" } + object UM : English() { override val code: String = "en-UM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) sealed class US : English() { override val code: String = "en-US" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object POSIX : US() { override val code: String = "en-US-POSIX" } + object POSIX : US() { override val code: String = "en-US-POSIX"; override val withoutDialect: String get() = US.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : US() } @Serializable(IetfLanguageCodeSerializer::class) - object VC : English() { override val code: String = "en-VC" } + object VC : English() { override val code: String = "en-VC"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object VG : English() { override val code: String = "en-VG" } + object VG : English() { override val code: String = "en-VG"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object VI : English() { override val code: String = "en-VI" } + object VI : English() { override val code: String = "en-VI"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object VU : English() { override val code: String = "en-VU" } + object VU : English() { override val code: String = "en-VU"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object WS : English() { override val code: String = "en-WS" } + object WS : English() { override val code: String = "en-WS"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object ZA : English() { override val code: String = "en-ZA" } + object ZA : English() { override val code: String = "en-ZA"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object ZM : English() { override val code: String = "en-ZM" } + object ZM : English() { override val code: String = "en-ZM"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) - object ZW : English() { override val code: String = "en-ZW" } + object ZW : English() { override val code: String = "en-ZW"; override val withoutDialect: String get() = English.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : English() @@ -689,9 +750,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Esperanto : IetfLanguageCode() { override val code: String = "eo" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Esperanto() { override val code: String = "eo-001" } + object L001 : Esperanto() { override val code: String = "eo-001"; override val withoutDialect: String get() = Esperanto.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Esperanto() @@ -701,63 +764,65 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class SpanishCastilian : IetfLanguageCode() { override val code: String = "es" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object L419 : SpanishCastilian() { override val code: String = "es-419" } + object L419 : SpanishCastilian() { override val code: String = "es-419"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object AR : SpanishCastilian() { override val code: String = "es-AR" } + object AR : SpanishCastilian() { override val code: String = "es-AR"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object BO : SpanishCastilian() { override val code: String = "es-BO" } + object BO : SpanishCastilian() { override val code: String = "es-BO"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object BR : SpanishCastilian() { override val code: String = "es-BR" } + object BR : SpanishCastilian() { override val code: String = "es-BR"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object BZ : SpanishCastilian() { override val code: String = "es-BZ" } + object BZ : SpanishCastilian() { override val code: String = "es-BZ"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object CL : SpanishCastilian() { override val code: String = "es-CL" } + object CL : SpanishCastilian() { override val code: String = "es-CL"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object CO : SpanishCastilian() { override val code: String = "es-CO" } + object CO : SpanishCastilian() { override val code: String = "es-CO"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object CR : SpanishCastilian() { override val code: String = "es-CR" } + object CR : SpanishCastilian() { override val code: String = "es-CR"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object CU : SpanishCastilian() { override val code: String = "es-CU" } + object CU : SpanishCastilian() { override val code: String = "es-CU"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object DO : SpanishCastilian() { override val code: String = "es-DO" } + object DO : SpanishCastilian() { override val code: String = "es-DO"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object EA : SpanishCastilian() { override val code: String = "es-EA" } + object EA : SpanishCastilian() { override val code: String = "es-EA"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object EC : SpanishCastilian() { override val code: String = "es-EC" } + object EC : SpanishCastilian() { override val code: String = "es-EC"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object ES : SpanishCastilian() { override val code: String = "es-ES" } + object ES : SpanishCastilian() { override val code: String = "es-ES"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object GQ : SpanishCastilian() { override val code: String = "es-GQ" } + object GQ : SpanishCastilian() { override val code: String = "es-GQ"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object GT : SpanishCastilian() { override val code: String = "es-GT" } + object GT : SpanishCastilian() { override val code: String = "es-GT"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object HN : SpanishCastilian() { override val code: String = "es-HN" } + object HN : SpanishCastilian() { override val code: String = "es-HN"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object IC : SpanishCastilian() { override val code: String = "es-IC" } + object IC : SpanishCastilian() { override val code: String = "es-IC"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object MX : SpanishCastilian() { override val code: String = "es-MX" } + object MX : SpanishCastilian() { override val code: String = "es-MX"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object NI : SpanishCastilian() { override val code: String = "es-NI" } + object NI : SpanishCastilian() { override val code: String = "es-NI"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object PA : SpanishCastilian() { override val code: String = "es-PA" } + object PA : SpanishCastilian() { override val code: String = "es-PA"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object PE : SpanishCastilian() { override val code: String = "es-PE" } + object PE : SpanishCastilian() { override val code: String = "es-PE"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object PH : SpanishCastilian() { override val code: String = "es-PH" } + object PH : SpanishCastilian() { override val code: String = "es-PH"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object PR : SpanishCastilian() { override val code: String = "es-PR" } + object PR : SpanishCastilian() { override val code: String = "es-PR"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object PY : SpanishCastilian() { override val code: String = "es-PY" } + object PY : SpanishCastilian() { override val code: String = "es-PY"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object SV : SpanishCastilian() { override val code: String = "es-SV" } + object SV : SpanishCastilian() { override val code: String = "es-SV"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object US : SpanishCastilian() { override val code: String = "es-US" } + object US : SpanishCastilian() { override val code: String = "es-US"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object UY : SpanishCastilian() { override val code: String = "es-UY" } + object UY : SpanishCastilian() { override val code: String = "es-UY"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) - object VE : SpanishCastilian() { override val code: String = "es-VE" } + object VE : SpanishCastilian() { override val code: String = "es-VE"; override val withoutDialect: String get() = SpanishCastilian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : SpanishCastilian() @@ -767,9 +832,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Estonian : IetfLanguageCode() { override val code: String = "et" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object EE : Estonian() { override val code: String = "et-EE" } + object EE : Estonian() { override val code: String = "et-EE"; override val withoutDialect: String get() = Estonian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Estonian() @@ -779,9 +846,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Basque : IetfLanguageCode() { override val code: String = "eu" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ES : Basque() { override val code: String = "eu-ES" } + object ES : Basque() { override val code: String = "eu-ES"; override val withoutDialect: String get() = Basque.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Basque() @@ -791,11 +860,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Persian : IetfLanguageCode() { override val code: String = "fa" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AF : Persian() { override val code: String = "fa-AF" } + object AF : Persian() { override val code: String = "fa-AF"; override val withoutDialect: String get() = Persian.code } @Serializable(IetfLanguageCodeSerializer::class) - object IR : Persian() { override val code: String = "fa-IR" } + object IR : Persian() { override val code: String = "fa-IR"; override val withoutDialect: String get() = Persian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Persian() @@ -805,36 +876,40 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Fulah : IetfLanguageCode() { override val code: String = "ff" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Adlm : Fulah() { override val code: String = "ff-Adlm" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BF : Adlm() { override val code: String = "ff-Adlm-BF" } + object BF : Adlm() { override val code: String = "ff-Adlm-BF"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object CM : Adlm() { override val code: String = "ff-Adlm-CM" } + object CM : Adlm() { override val code: String = "ff-Adlm-CM"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object GH : Adlm() { override val code: String = "ff-Adlm-GH" } + object GH : Adlm() { override val code: String = "ff-Adlm-GH"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object GM : Adlm() { override val code: String = "ff-Adlm-GM" } + object GM : Adlm() { override val code: String = "ff-Adlm-GM"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object GN : Adlm() { override val code: String = "ff-Adlm-GN" } + object GN : Adlm() { override val code: String = "ff-Adlm-GN"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object GW : Adlm() { override val code: String = "ff-Adlm-GW" } + object GW : Adlm() { override val code: String = "ff-Adlm-GW"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object LR : Adlm() { override val code: String = "ff-Adlm-LR" } + object LR : Adlm() { override val code: String = "ff-Adlm-LR"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object MR : Adlm() { override val code: String = "ff-Adlm-MR" } + object MR : Adlm() { override val code: String = "ff-Adlm-MR"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object NE : Adlm() { override val code: String = "ff-Adlm-NE" } + object NE : Adlm() { override val code: String = "ff-Adlm-NE"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object NG : Adlm() { override val code: String = "ff-Adlm-NG" } + object NG : Adlm() { override val code: String = "ff-Adlm-NG"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object SL : Adlm() { override val code: String = "ff-Adlm-SL" } + object SL : Adlm() { override val code: String = "ff-Adlm-SL"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) - object SN : Adlm() { override val code: String = "ff-Adlm-SN" } + object SN : Adlm() { override val code: String = "ff-Adlm-SN"; override val withoutDialect: String get() = Adlm.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Adlm() @@ -844,31 +919,33 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Latn : Fulah() { override val code: String = "ff-Latn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BF : Latn() { override val code: String = "ff-Latn-BF" } + object BF : Latn() { override val code: String = "ff-Latn-BF"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object CM : Latn() { override val code: String = "ff-Latn-CM" } + object CM : Latn() { override val code: String = "ff-Latn-CM"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object GH : Latn() { override val code: String = "ff-Latn-GH" } + object GH : Latn() { override val code: String = "ff-Latn-GH"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object GM : Latn() { override val code: String = "ff-Latn-GM" } + object GM : Latn() { override val code: String = "ff-Latn-GM"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object GN : Latn() { override val code: String = "ff-Latn-GN" } + object GN : Latn() { override val code: String = "ff-Latn-GN"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object GW : Latn() { override val code: String = "ff-Latn-GW" } + object GW : Latn() { override val code: String = "ff-Latn-GW"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object LR : Latn() { override val code: String = "ff-Latn-LR" } + object LR : Latn() { override val code: String = "ff-Latn-LR"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object MR : Latn() { override val code: String = "ff-Latn-MR" } + object MR : Latn() { override val code: String = "ff-Latn-MR"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object NE : Latn() { override val code: String = "ff-Latn-NE" } + object NE : Latn() { override val code: String = "ff-Latn-NE"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object NG : Latn() { override val code: String = "ff-Latn-NG" } + object NG : Latn() { override val code: String = "ff-Latn-NG"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object SL : Latn() { override val code: String = "ff-Latn-SL" } + object SL : Latn() { override val code: String = "ff-Latn-SL"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object SN : Latn() { override val code: String = "ff-Latn-SN" } + object SN : Latn() { override val code: String = "ff-Latn-SN"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() @@ -883,25 +960,29 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Finnish : IetfLanguageCode() { override val code: String = "fi" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object FI : Finnish() { override val code: String = "fi-FI" } + object FI : Finnish() { override val code: String = "fi-FI"; override val withoutDialect: String get() = Finnish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Finnish() } @Serializable(IetfLanguageCodeSerializer::class) - object Fijian : IetfLanguageCode() { override val code: String = "fj" } + object Fijian : IetfLanguageCode() { override val code: String = "fj"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Faroese : IetfLanguageCode() { override val code: String = "fo" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object DK : Faroese() { override val code: String = "fo-DK" } + object DK : Faroese() { override val code: String = "fo-DK"; override val withoutDialect: String get() = Faroese.code } @Serializable(IetfLanguageCodeSerializer::class) - object FO : Faroese() { override val code: String = "fo-FO" } + object FO : Faroese() { override val code: String = "fo-FO"; override val withoutDialect: String get() = Faroese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Faroese() @@ -911,99 +992,101 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class French : IetfLanguageCode() { override val code: String = "fr" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BE : French() { override val code: String = "fr-BE" } + object BE : French() { override val code: String = "fr-BE"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object BF : French() { override val code: String = "fr-BF" } + object BF : French() { override val code: String = "fr-BF"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object BI : French() { override val code: String = "fr-BI" } + object BI : French() { override val code: String = "fr-BI"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object BJ : French() { override val code: String = "fr-BJ" } + object BJ : French() { override val code: String = "fr-BJ"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object BL : French() { override val code: String = "fr-BL" } + object BL : French() { override val code: String = "fr-BL"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object CA : French() { override val code: String = "fr-CA" } + object CA : French() { override val code: String = "fr-CA"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object CD : French() { override val code: String = "fr-CD" } + object CD : French() { override val code: String = "fr-CD"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object CF : French() { override val code: String = "fr-CF" } + object CF : French() { override val code: String = "fr-CF"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object CG : French() { override val code: String = "fr-CG" } + object CG : French() { override val code: String = "fr-CG"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object CH : French() { override val code: String = "fr-CH" } + object CH : French() { override val code: String = "fr-CH"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object CI : French() { override val code: String = "fr-CI" } + object CI : French() { override val code: String = "fr-CI"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object CM : French() { override val code: String = "fr-CM" } + object CM : French() { override val code: String = "fr-CM"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object DJ : French() { override val code: String = "fr-DJ" } + object DJ : French() { override val code: String = "fr-DJ"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object DZ : French() { override val code: String = "fr-DZ" } + object DZ : French() { override val code: String = "fr-DZ"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object FR : French() { override val code: String = "fr-FR" } + object FR : French() { override val code: String = "fr-FR"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object GA : French() { override val code: String = "fr-GA" } + object GA : French() { override val code: String = "fr-GA"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object GF : French() { override val code: String = "fr-GF" } + object GF : French() { override val code: String = "fr-GF"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object GN : French() { override val code: String = "fr-GN" } + object GN : French() { override val code: String = "fr-GN"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object GP : French() { override val code: String = "fr-GP" } + object GP : French() { override val code: String = "fr-GP"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object GQ : French() { override val code: String = "fr-GQ" } + object GQ : French() { override val code: String = "fr-GQ"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object HT : French() { override val code: String = "fr-HT" } + object HT : French() { override val code: String = "fr-HT"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object KM : French() { override val code: String = "fr-KM" } + object KM : French() { override val code: String = "fr-KM"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object LU : French() { override val code: String = "fr-LU" } + object LU : French() { override val code: String = "fr-LU"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object MA : French() { override val code: String = "fr-MA" } + object MA : French() { override val code: String = "fr-MA"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object MC : French() { override val code: String = "fr-MC" } + object MC : French() { override val code: String = "fr-MC"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object MF : French() { override val code: String = "fr-MF" } + object MF : French() { override val code: String = "fr-MF"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object MG : French() { override val code: String = "fr-MG" } + object MG : French() { override val code: String = "fr-MG"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object ML : French() { override val code: String = "fr-ML" } + object ML : French() { override val code: String = "fr-ML"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object MQ : French() { override val code: String = "fr-MQ" } + object MQ : French() { override val code: String = "fr-MQ"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object MR : French() { override val code: String = "fr-MR" } + object MR : French() { override val code: String = "fr-MR"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object MU : French() { override val code: String = "fr-MU" } + object MU : French() { override val code: String = "fr-MU"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object NC : French() { override val code: String = "fr-NC" } + object NC : French() { override val code: String = "fr-NC"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object NE : French() { override val code: String = "fr-NE" } + object NE : French() { override val code: String = "fr-NE"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object PF : French() { override val code: String = "fr-PF" } + object PF : French() { override val code: String = "fr-PF"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object PM : French() { override val code: String = "fr-PM" } + object PM : French() { override val code: String = "fr-PM"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object RE : French() { override val code: String = "fr-RE" } + object RE : French() { override val code: String = "fr-RE"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object RW : French() { override val code: String = "fr-RW" } + object RW : French() { override val code: String = "fr-RW"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object SC : French() { override val code: String = "fr-SC" } + object SC : French() { override val code: String = "fr-SC"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object SN : French() { override val code: String = "fr-SN" } + object SN : French() { override val code: String = "fr-SN"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object SY : French() { override val code: String = "fr-SY" } + object SY : French() { override val code: String = "fr-SY"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object TD : French() { override val code: String = "fr-TD" } + object TD : French() { override val code: String = "fr-TD"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object TG : French() { override val code: String = "fr-TG" } + object TG : French() { override val code: String = "fr-TG"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object TN : French() { override val code: String = "fr-TN" } + object TN : French() { override val code: String = "fr-TN"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object VU : French() { override val code: String = "fr-VU" } + object VU : French() { override val code: String = "fr-VU"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object WF : French() { override val code: String = "fr-WF" } + object WF : French() { override val code: String = "fr-WF"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) - object YT : French() { override val code: String = "fr-YT" } + object YT : French() { override val code: String = "fr-YT"; override val withoutDialect: String get() = French.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : French() @@ -1013,9 +1096,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class WesternFrisian : IetfLanguageCode() { override val code: String = "fy" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object NL : WesternFrisian() { override val code: String = "fy-NL" } + object NL : WesternFrisian() { override val code: String = "fy-NL"; override val withoutDialect: String get() = WesternFrisian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : WesternFrisian() @@ -1025,11 +1110,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Irish : IetfLanguageCode() { override val code: String = "ga" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GB : Irish() { override val code: String = "ga-GB" } + object GB : Irish() { override val code: String = "ga-GB"; override val withoutDialect: String get() = Irish.code } @Serializable(IetfLanguageCodeSerializer::class) - object IE : Irish() { override val code: String = "ga-IE" } + object IE : Irish() { override val code: String = "ga-IE"; override val withoutDialect: String get() = Irish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Irish() @@ -1039,9 +1126,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class GaelicScottishGaelic : IetfLanguageCode() { override val code: String = "gd" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GB : GaelicScottishGaelic() { override val code: String = "gd-GB" } + object GB : GaelicScottishGaelic() { override val code: String = "gd-GB"; override val withoutDialect: String get() = GaelicScottishGaelic.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : GaelicScottishGaelic() @@ -1051,23 +1140,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Galician : IetfLanguageCode() { override val code: String = "gl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ES : Galician() { override val code: String = "gl-ES" } + object ES : Galician() { override val code: String = "gl-ES"; override val withoutDialect: String get() = Galician.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Galician() } @Serializable(IetfLanguageCodeSerializer::class) - object Guarani : IetfLanguageCode() { override val code: String = "gn" } + object Guarani : IetfLanguageCode() { override val code: String = "gn"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Gujarati : IetfLanguageCode() { override val code: String = "gu" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Gujarati() { override val code: String = "gu-IN" } + object IN : Gujarati() { override val code: String = "gu-IN"; override val withoutDialect: String get() = Gujarati.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Gujarati() @@ -1077,9 +1170,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Manx : IetfLanguageCode() { override val code: String = "gv" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IM : Manx() { override val code: String = "gv-IM" } + object IM : Manx() { override val code: String = "gv-IM"; override val withoutDialect: String get() = Manx.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Manx() @@ -1089,13 +1184,15 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Hausa : IetfLanguageCode() { override val code: String = "ha" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GH : Hausa() { override val code: String = "ha-GH" } + object GH : Hausa() { override val code: String = "ha-GH"; override val withoutDialect: String get() = Hausa.code } @Serializable(IetfLanguageCodeSerializer::class) - object NE : Hausa() { override val code: String = "ha-NE" } + object NE : Hausa() { override val code: String = "ha-NE"; override val withoutDialect: String get() = Hausa.code } @Serializable(IetfLanguageCodeSerializer::class) - object NG : Hausa() { override val code: String = "ha-NG" } + object NG : Hausa() { override val code: String = "ha-NG"; override val withoutDialect: String get() = Hausa.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Hausa() @@ -1105,9 +1202,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Hebrew : IetfLanguageCode() { override val code: String = "he" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IL : Hebrew() { override val code: String = "he-IL" } + object IL : Hebrew() { override val code: String = "he-IL"; override val withoutDialect: String get() = Hebrew.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Hebrew() @@ -1117,39 +1216,45 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Hindi : IetfLanguageCode() { override val code: String = "hi" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Hindi() { override val code: String = "hi-IN" } + object IN : Hindi() { override val code: String = "hi-IN"; override val withoutDialect: String get() = Hindi.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Hindi() } @Serializable(IetfLanguageCodeSerializer::class) - object HiriMotu : IetfLanguageCode() { override val code: String = "ho" } + object HiriMotu : IetfLanguageCode() { override val code: String = "ho"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Croatian : IetfLanguageCode() { override val code: String = "hr" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BA : Croatian() { override val code: String = "hr-BA" } + object BA : Croatian() { override val code: String = "hr-BA"; override val withoutDialect: String get() = Croatian.code } @Serializable(IetfLanguageCodeSerializer::class) - object HR : Croatian() { override val code: String = "hr-HR" } + object HR : Croatian() { override val code: String = "hr-HR"; override val withoutDialect: String get() = Croatian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Croatian() } @Serializable(IetfLanguageCodeSerializer::class) - object HaitianHaitianCreole : IetfLanguageCode() { override val code: String = "ht" } + object HaitianHaitianCreole : IetfLanguageCode() { override val code: String = "ht"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Hungarian : IetfLanguageCode() { override val code: String = "hu" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object HU : Hungarian() { override val code: String = "hu-HU" } + object HU : Hungarian() { override val code: String = "hu-HU"; override val withoutDialect: String get() = Hungarian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Hungarian() @@ -1159,23 +1264,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Armenian : IetfLanguageCode() { override val code: String = "hy" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AM : Armenian() { override val code: String = "hy-AM" } + object AM : Armenian() { override val code: String = "hy-AM"; override val withoutDialect: String get() = Armenian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Armenian() } @Serializable(IetfLanguageCodeSerializer::class) - object Herero : IetfLanguageCode() { override val code: String = "hz" } + object Herero : IetfLanguageCode() { override val code: String = "hz"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class InterlinguaInternationalAuxiliaryLanguageAssociation : IetfLanguageCode() { override val code: String = "ia" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object L001 : InterlinguaInternationalAuxiliaryLanguageAssociation() { override val code: String = "ia-001" } + object L001 : InterlinguaInternationalAuxiliaryLanguageAssociation() { override val code: String = "ia-001"; override val withoutDialect: String get() = InterlinguaInternationalAuxiliaryLanguageAssociation.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : InterlinguaInternationalAuxiliaryLanguageAssociation() @@ -1185,23 +1294,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Indonesian : IetfLanguageCode() { override val code: String = "id" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ID : Indonesian() { override val code: String = "id-ID" } + object ID : Indonesian() { override val code: String = "id-ID"; override val withoutDialect: String get() = Indonesian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Indonesian() } @Serializable(IetfLanguageCodeSerializer::class) - object InterlingueOccidental : IetfLanguageCode() { override val code: String = "ie" } + object InterlingueOccidental : IetfLanguageCode() { override val code: String = "ie"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Igbo : IetfLanguageCode() { override val code: String = "ig" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object NG : Igbo() { override val code: String = "ig-NG" } + object NG : Igbo() { override val code: String = "ig-NG"; override val withoutDialect: String get() = Igbo.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Igbo() @@ -1211,25 +1324,29 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class SichuanYiNuosu : IetfLanguageCode() { override val code: String = "ii" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CN : SichuanYiNuosu() { override val code: String = "ii-CN" } + object CN : SichuanYiNuosu() { override val code: String = "ii-CN"; override val withoutDialect: String get() = SichuanYiNuosu.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : SichuanYiNuosu() } @Serializable(IetfLanguageCodeSerializer::class) - object Inupiaq : IetfLanguageCode() { override val code: String = "ik" } + object Inupiaq : IetfLanguageCode() { override val code: String = "ik"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Ido : IetfLanguageCode() { override val code: String = "io" } + object Ido : IetfLanguageCode() { override val code: String = "io"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Icelandic : IetfLanguageCode() { override val code: String = "is" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IS : Icelandic() { override val code: String = "is-IS" } + object IS : Icelandic() { override val code: String = "is-IS"; override val withoutDialect: String get() = Icelandic.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Icelandic() @@ -1239,29 +1356,33 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Italian : IetfLanguageCode() { override val code: String = "it" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CH : Italian() { override val code: String = "it-CH" } + object CH : Italian() { override val code: String = "it-CH"; override val withoutDialect: String get() = Italian.code } @Serializable(IetfLanguageCodeSerializer::class) - object IT : Italian() { override val code: String = "it-IT" } + object IT : Italian() { override val code: String = "it-IT"; override val withoutDialect: String get() = Italian.code } @Serializable(IetfLanguageCodeSerializer::class) - object SM : Italian() { override val code: String = "it-SM" } + object SM : Italian() { override val code: String = "it-SM"; override val withoutDialect: String get() = Italian.code } @Serializable(IetfLanguageCodeSerializer::class) - object VA : Italian() { override val code: String = "it-VA" } + object VA : Italian() { override val code: String = "it-VA"; override val withoutDialect: String get() = Italian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Italian() } @Serializable(IetfLanguageCodeSerializer::class) - object Inuktitut : IetfLanguageCode() { override val code: String = "iu" } + object Inuktitut : IetfLanguageCode() { override val code: String = "iu"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Japanese : IetfLanguageCode() { override val code: String = "ja" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object JP : Japanese() { override val code: String = "ja-JP" } + object JP : Japanese() { override val code: String = "ja-JP"; override val withoutDialect: String get() = Japanese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Japanese() @@ -1271,9 +1392,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Javanese : IetfLanguageCode() { override val code: String = "jv" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ID : Javanese() { override val code: String = "jv-ID" } + object ID : Javanese() { override val code: String = "jv-ID"; override val withoutDialect: String get() = Javanese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Javanese() @@ -1283,37 +1406,43 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Georgian : IetfLanguageCode() { override val code: String = "ka" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GE : Georgian() { override val code: String = "ka-GE" } + object GE : Georgian() { override val code: String = "ka-GE"; override val withoutDialect: String get() = Georgian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Georgian() } @Serializable(IetfLanguageCodeSerializer::class) - object Kongo : IetfLanguageCode() { override val code: String = "kg" } + object Kongo : IetfLanguageCode() { override val code: String = "kg"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class KikuyuGikuyu : IetfLanguageCode() { override val code: String = "ki" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object KE : KikuyuGikuyu() { override val code: String = "ki-KE" } + object KE : KikuyuGikuyu() { override val code: String = "ki-KE"; override val withoutDialect: String get() = KikuyuGikuyu.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : KikuyuGikuyu() } @Serializable(IetfLanguageCodeSerializer::class) - object KuanyamaKwanyama : IetfLanguageCode() { override val code: String = "kj" } + object KuanyamaKwanyama : IetfLanguageCode() { override val code: String = "kj"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Kazakh : IetfLanguageCode() { override val code: String = "kk" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object KZ : Kazakh() { override val code: String = "kk-KZ" } + object KZ : Kazakh() { override val code: String = "kk-KZ"; override val withoutDialect: String get() = Kazakh.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Kazakh() @@ -1323,9 +1452,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class KalaallisutGreenlandic : IetfLanguageCode() { override val code: String = "kl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GL : KalaallisutGreenlandic() { override val code: String = "kl-GL" } + object GL : KalaallisutGreenlandic() { override val code: String = "kl-GL"; override val withoutDialect: String get() = KalaallisutGreenlandic.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : KalaallisutGreenlandic() @@ -1335,9 +1466,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class CentralKhmer : IetfLanguageCode() { override val code: String = "km" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object KH : CentralKhmer() { override val code: String = "km-KH" } + object KH : CentralKhmer() { override val code: String = "km-KH"; override val withoutDialect: String get() = CentralKhmer.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : CentralKhmer() @@ -1347,9 +1480,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Kannada : IetfLanguageCode() { override val code: String = "kn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Kannada() { override val code: String = "kn-IN" } + object IN : Kannada() { override val code: String = "kn-IN"; override val withoutDialect: String get() = Kannada.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Kannada() @@ -1359,30 +1494,36 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Korean : IetfLanguageCode() { override val code: String = "ko" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object KP : Korean() { override val code: String = "ko-KP" } + object KP : Korean() { override val code: String = "ko-KP"; override val withoutDialect: String get() = Korean.code } @Serializable(IetfLanguageCodeSerializer::class) - object KR : Korean() { override val code: String = "ko-KR" } + object KR : Korean() { override val code: String = "ko-KR"; override val withoutDialect: String get() = Korean.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Korean() } @Serializable(IetfLanguageCodeSerializer::class) - object Kanuri : IetfLanguageCode() { override val code: String = "kr" } + object Kanuri : IetfLanguageCode() { override val code: String = "kr"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Kashmiri : IetfLanguageCode() { override val code: String = "ks" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Arab : Kashmiri() { override val code: String = "ks-Arab" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Arab() { override val code: String = "ks-Arab-IN" } + object IN : Arab() { override val code: String = "ks-Arab-IN"; override val withoutDialect: String get() = Arab.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() @@ -1397,23 +1538,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Kurdish : IetfLanguageCode() { override val code: String = "ku" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object TR : Kurdish() { override val code: String = "ku-TR" } + object TR : Kurdish() { override val code: String = "ku-TR"; override val withoutDialect: String get() = Kurdish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Kurdish() } @Serializable(IetfLanguageCodeSerializer::class) - object Komi : IetfLanguageCode() { override val code: String = "kv" } + object Komi : IetfLanguageCode() { override val code: String = "kv"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Cornish : IetfLanguageCode() { override val code: String = "kw" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GB : Cornish() { override val code: String = "kw-GB" } + object GB : Cornish() { override val code: String = "kw-GB"; override val withoutDialect: String get() = Cornish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Cornish() @@ -1423,23 +1568,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class KirghizKyrgyz : IetfLanguageCode() { override val code: String = "ky" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object KG : KirghizKyrgyz() { override val code: String = "ky-KG" } + object KG : KirghizKyrgyz() { override val code: String = "ky-KG"; override val withoutDialect: String get() = KirghizKyrgyz.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : KirghizKyrgyz() } @Serializable(IetfLanguageCodeSerializer::class) - object Latin : IetfLanguageCode() { override val code: String = "la" } + object Latin : IetfLanguageCode() { override val code: String = "la"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class LuxembourgishLetzeburgesch : IetfLanguageCode() { override val code: String = "lb" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object LU : LuxembourgishLetzeburgesch() { override val code: String = "lb-LU" } + object LU : LuxembourgishLetzeburgesch() { override val code: String = "lb-LU"; override val withoutDialect: String get() = LuxembourgishLetzeburgesch.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : LuxembourgishLetzeburgesch() @@ -1449,29 +1598,33 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Ganda : IetfLanguageCode() { override val code: String = "lg" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object UG : Ganda() { override val code: String = "lg-UG" } + object UG : Ganda() { override val code: String = "lg-UG"; override val withoutDialect: String get() = Ganda.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Ganda() } @Serializable(IetfLanguageCodeSerializer::class) - object LimburganLimburgerLimburgish : IetfLanguageCode() { override val code: String = "li" } + object LimburganLimburgerLimburgish : IetfLanguageCode() { override val code: String = "li"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Lingala : IetfLanguageCode() { override val code: String = "ln" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AO : Lingala() { override val code: String = "ln-AO" } + object AO : Lingala() { override val code: String = "ln-AO"; override val withoutDialect: String get() = Lingala.code } @Serializable(IetfLanguageCodeSerializer::class) - object CD : Lingala() { override val code: String = "ln-CD" } + object CD : Lingala() { override val code: String = "ln-CD"; override val withoutDialect: String get() = Lingala.code } @Serializable(IetfLanguageCodeSerializer::class) - object CF : Lingala() { override val code: String = "ln-CF" } + object CF : Lingala() { override val code: String = "ln-CF"; override val withoutDialect: String get() = Lingala.code } @Serializable(IetfLanguageCodeSerializer::class) - object CG : Lingala() { override val code: String = "ln-CG" } + object CG : Lingala() { override val code: String = "ln-CG"; override val withoutDialect: String get() = Lingala.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Lingala() @@ -1481,9 +1634,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Lao : IetfLanguageCode() { override val code: String = "lo" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object LA : Lao() { override val code: String = "lo-LA" } + object LA : Lao() { override val code: String = "lo-LA"; override val withoutDialect: String get() = Lao.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Lao() @@ -1493,9 +1648,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Lithuanian : IetfLanguageCode() { override val code: String = "lt" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object LT : Lithuanian() { override val code: String = "lt-LT" } + object LT : Lithuanian() { override val code: String = "lt-LT"; override val withoutDialect: String get() = Lithuanian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Lithuanian() @@ -1505,9 +1662,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class LubaKatanga : IetfLanguageCode() { override val code: String = "lu" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CD : LubaKatanga() { override val code: String = "lu-CD" } + object CD : LubaKatanga() { override val code: String = "lu-CD"; override val withoutDialect: String get() = LubaKatanga.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : LubaKatanga() @@ -1517,9 +1676,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Latvian : IetfLanguageCode() { override val code: String = "lv" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object LV : Latvian() { override val code: String = "lv-LV" } + object LV : Latvian() { override val code: String = "lv-LV"; override val withoutDialect: String get() = Latvian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Latvian() @@ -1529,23 +1690,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Malagasy : IetfLanguageCode() { override val code: String = "mg" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object MG : Malagasy() { override val code: String = "mg-MG" } + object MG : Malagasy() { override val code: String = "mg-MG"; override val withoutDialect: String get() = Malagasy.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Malagasy() } @Serializable(IetfLanguageCodeSerializer::class) - object Marshallese : IetfLanguageCode() { override val code: String = "mh" } + object Marshallese : IetfLanguageCode() { override val code: String = "mh"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Maori : IetfLanguageCode() { override val code: String = "mi" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object NZ : Maori() { override val code: String = "mi-NZ" } + object NZ : Maori() { override val code: String = "mi-NZ"; override val withoutDialect: String get() = Maori.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Maori() @@ -1555,9 +1720,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Macedonian : IetfLanguageCode() { override val code: String = "mk" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object MK : Macedonian() { override val code: String = "mk-MK" } + object MK : Macedonian() { override val code: String = "mk-MK"; override val withoutDialect: String get() = Macedonian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Macedonian() @@ -1567,9 +1734,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Malayalam : IetfLanguageCode() { override val code: String = "ml" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Malayalam() { override val code: String = "ml-IN" } + object IN : Malayalam() { override val code: String = "ml-IN"; override val withoutDialect: String get() = Malayalam.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Malayalam() @@ -1579,9 +1748,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Mongolian : IetfLanguageCode() { override val code: String = "mn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object MN : Mongolian() { override val code: String = "mn-MN" } + object MN : Mongolian() { override val code: String = "mn-MN"; override val withoutDialect: String get() = Mongolian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Mongolian() @@ -1591,9 +1762,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Marathi : IetfLanguageCode() { override val code: String = "mr" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Marathi() { override val code: String = "mr-IN" } + object IN : Marathi() { override val code: String = "mr-IN"; override val withoutDialect: String get() = Marathi.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Marathi() @@ -1603,15 +1776,17 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Malay : IetfLanguageCode() { override val code: String = "ms" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BN : Malay() { override val code: String = "ms-BN" } + object BN : Malay() { override val code: String = "ms-BN"; override val withoutDialect: String get() = Malay.code } @Serializable(IetfLanguageCodeSerializer::class) - object ID : Malay() { override val code: String = "ms-ID" } + object ID : Malay() { override val code: String = "ms-ID"; override val withoutDialect: String get() = Malay.code } @Serializable(IetfLanguageCodeSerializer::class) - object MY : Malay() { override val code: String = "ms-MY" } + object MY : Malay() { override val code: String = "ms-MY"; override val withoutDialect: String get() = Malay.code } @Serializable(IetfLanguageCodeSerializer::class) - object SG : Malay() { override val code: String = "ms-SG" } + object SG : Malay() { override val code: String = "ms-SG"; override val withoutDialect: String get() = Malay.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Malay() @@ -1621,9 +1796,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Maltese : IetfLanguageCode() { override val code: String = "mt" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object MT : Maltese() { override val code: String = "mt-MT" } + object MT : Maltese() { override val code: String = "mt-MT"; override val withoutDialect: String get() = Maltese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Maltese() @@ -1633,25 +1810,29 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Burmese : IetfLanguageCode() { override val code: String = "my" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object MM : Burmese() { override val code: String = "my-MM" } + object MM : Burmese() { override val code: String = "my-MM"; override val withoutDialect: String get() = Burmese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Burmese() } @Serializable(IetfLanguageCodeSerializer::class) - object Nauru : IetfLanguageCode() { override val code: String = "na" } + object Nauru : IetfLanguageCode() { override val code: String = "na"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class BokmalNorwegianNorwegianBokmal : IetfLanguageCode() { override val code: String = "nb" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object NO : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-NO" } + object NO : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-NO"; override val withoutDialect: String get() = BokmalNorwegianNorwegianBokmal.code } @Serializable(IetfLanguageCodeSerializer::class) - object SJ : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-SJ" } + object SJ : BokmalNorwegianNorwegianBokmal() { override val code: String = "nb-SJ"; override val withoutDialect: String get() = BokmalNorwegianNorwegianBokmal.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : BokmalNorwegianNorwegianBokmal() @@ -1661,9 +1842,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class NdebeleNorthNorthNdebele : IetfLanguageCode() { override val code: String = "nd" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ZW : NdebeleNorthNorthNdebele() { override val code: String = "nd-ZW" } + object ZW : NdebeleNorthNorthNdebele() { override val code: String = "nd-ZW"; override val withoutDialect: String get() = NdebeleNorthNorthNdebele.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : NdebeleNorthNorthNdebele() @@ -1673,37 +1856,41 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Nepali : IetfLanguageCode() { override val code: String = "ne" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Nepali() { override val code: String = "ne-IN" } + object IN : Nepali() { override val code: String = "ne-IN"; override val withoutDialect: String get() = Nepali.code } @Serializable(IetfLanguageCodeSerializer::class) - object NP : Nepali() { override val code: String = "ne-NP" } + object NP : Nepali() { override val code: String = "ne-NP"; override val withoutDialect: String get() = Nepali.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Nepali() } @Serializable(IetfLanguageCodeSerializer::class) - object Ndonga : IetfLanguageCode() { override val code: String = "ng" } + object Ndonga : IetfLanguageCode() { override val code: String = "ng"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class DutchFlemish : IetfLanguageCode() { override val code: String = "nl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AW : DutchFlemish() { override val code: String = "nl-AW" } + object AW : DutchFlemish() { override val code: String = "nl-AW"; override val withoutDialect: String get() = DutchFlemish.code } @Serializable(IetfLanguageCodeSerializer::class) - object BE : DutchFlemish() { override val code: String = "nl-BE" } + object BE : DutchFlemish() { override val code: String = "nl-BE"; override val withoutDialect: String get() = DutchFlemish.code } @Serializable(IetfLanguageCodeSerializer::class) - object BQ : DutchFlemish() { override val code: String = "nl-BQ" } + object BQ : DutchFlemish() { override val code: String = "nl-BQ"; override val withoutDialect: String get() = DutchFlemish.code } @Serializable(IetfLanguageCodeSerializer::class) - object CW : DutchFlemish() { override val code: String = "nl-CW" } + object CW : DutchFlemish() { override val code: String = "nl-CW"; override val withoutDialect: String get() = DutchFlemish.code } @Serializable(IetfLanguageCodeSerializer::class) - object NL : DutchFlemish() { override val code: String = "nl-NL" } + object NL : DutchFlemish() { override val code: String = "nl-NL"; override val withoutDialect: String get() = DutchFlemish.code } @Serializable(IetfLanguageCodeSerializer::class) - object SR : DutchFlemish() { override val code: String = "nl-SR" } + object SR : DutchFlemish() { override val code: String = "nl-SR"; override val withoutDialect: String get() = DutchFlemish.code } @Serializable(IetfLanguageCodeSerializer::class) - object SX : DutchFlemish() { override val code: String = "nl-SX" } + object SX : DutchFlemish() { override val code: String = "nl-SX"; override val withoutDialect: String get() = DutchFlemish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : DutchFlemish() @@ -1713,35 +1900,39 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class NorwegianNynorskNynorskNorwegian : IetfLanguageCode() { override val code: String = "nn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object NO : NorwegianNynorskNynorskNorwegian() { override val code: String = "nn-NO" } + object NO : NorwegianNynorskNynorskNorwegian() { override val code: String = "nn-NO"; override val withoutDialect: String get() = NorwegianNynorskNynorskNorwegian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : NorwegianNynorskNynorskNorwegian() } @Serializable(IetfLanguageCodeSerializer::class) - object Norwegian : IetfLanguageCode() { override val code: String = "no" } + object Norwegian : IetfLanguageCode() { override val code: String = "no"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object NdebeleSouthSouthNdebele : IetfLanguageCode() { override val code: String = "nr" } + object NdebeleSouthSouthNdebele : IetfLanguageCode() { override val code: String = "nr"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object NavajoNavaho : IetfLanguageCode() { override val code: String = "nv" } + object NavajoNavaho : IetfLanguageCode() { override val code: String = "nv"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object ChichewaChewaNyanja : IetfLanguageCode() { override val code: String = "ny" } + object ChichewaChewaNyanja : IetfLanguageCode() { override val code: String = "ny"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object OccitanPost1500 : IetfLanguageCode() { override val code: String = "oc" } + object OccitanPost1500 : IetfLanguageCode() { override val code: String = "oc"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Ojibwa : IetfLanguageCode() { override val code: String = "oj" } + object Ojibwa : IetfLanguageCode() { override val code: String = "oj"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Oromo : IetfLanguageCode() { override val code: String = "om" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ET : Oromo() { override val code: String = "om-ET" } + object ET : Oromo() { override val code: String = "om-ET"; override val withoutDialect: String get() = Oromo.code } @Serializable(IetfLanguageCodeSerializer::class) - object KE : Oromo() { override val code: String = "om-KE" } + object KE : Oromo() { override val code: String = "om-KE"; override val withoutDialect: String get() = Oromo.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Oromo() @@ -1751,9 +1942,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Oriya : IetfLanguageCode() { override val code: String = "or" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Oriya() { override val code: String = "or-IN" } + object IN : Oriya() { override val code: String = "or-IN"; override val withoutDialect: String get() = Oriya.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Oriya() @@ -1763,11 +1956,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class OssetianOssetic : IetfLanguageCode() { override val code: String = "os" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object GE : OssetianOssetic() { override val code: String = "os-GE" } + object GE : OssetianOssetic() { override val code: String = "os-GE"; override val withoutDialect: String get() = OssetianOssetic.code } @Serializable(IetfLanguageCodeSerializer::class) - object RU : OssetianOssetic() { override val code: String = "os-RU" } + object RU : OssetianOssetic() { override val code: String = "os-RU"; override val withoutDialect: String get() = OssetianOssetic.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : OssetianOssetic() @@ -1777,14 +1972,18 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class PanjabiPunjabi : IetfLanguageCode() { override val code: String = "pa" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Arab : PanjabiPunjabi() { override val code: String = "pa-Arab" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object PK : Arab() { override val code: String = "pa-Arab-PK" } + object PK : Arab() { override val code: String = "pa-Arab-PK"; override val withoutDialect: String get() = Arab.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() @@ -1794,9 +1993,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Guru : PanjabiPunjabi() { override val code: String = "pa-Guru" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Guru() { override val code: String = "pa-Guru-IN" } + object IN : Guru() { override val code: String = "pa-Guru-IN"; override val withoutDialect: String get() = Guru.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Guru() @@ -1808,14 +2009,16 @@ sealed class IetfLanguageCode { } @Serializable(IetfLanguageCodeSerializer::class) - object Pali : IetfLanguageCode() { override val code: String = "pi" } + object Pali : IetfLanguageCode() { override val code: String = "pi"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Polish : IetfLanguageCode() { override val code: String = "pl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object PL : Polish() { override val code: String = "pl-PL" } + object PL : Polish() { override val code: String = "pl-PL"; override val withoutDialect: String get() = Polish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Polish() @@ -1825,11 +2028,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class PushtoPashto : IetfLanguageCode() { override val code: String = "ps" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AF : PushtoPashto() { override val code: String = "ps-AF" } + object AF : PushtoPashto() { override val code: String = "ps-AF"; override val withoutDialect: String get() = PushtoPashto.code } @Serializable(IetfLanguageCodeSerializer::class) - object PK : PushtoPashto() { override val code: String = "ps-PK" } + object PK : PushtoPashto() { override val code: String = "ps-PK"; override val withoutDialect: String get() = PushtoPashto.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : PushtoPashto() @@ -1839,31 +2044,33 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Portuguese : IetfLanguageCode() { override val code: String = "pt" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AO : Portuguese() { override val code: String = "pt-AO" } + object AO : Portuguese() { override val code: String = "pt-AO"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object BR : Portuguese() { override val code: String = "pt-BR" } + object BR : Portuguese() { override val code: String = "pt-BR"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object CH : Portuguese() { override val code: String = "pt-CH" } + object CH : Portuguese() { override val code: String = "pt-CH"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object CV : Portuguese() { override val code: String = "pt-CV" } + object CV : Portuguese() { override val code: String = "pt-CV"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object GQ : Portuguese() { override val code: String = "pt-GQ" } + object GQ : Portuguese() { override val code: String = "pt-GQ"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object GW : Portuguese() { override val code: String = "pt-GW" } + object GW : Portuguese() { override val code: String = "pt-GW"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object LU : Portuguese() { override val code: String = "pt-LU" } + object LU : Portuguese() { override val code: String = "pt-LU"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object MO : Portuguese() { override val code: String = "pt-MO" } + object MO : Portuguese() { override val code: String = "pt-MO"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object MZ : Portuguese() { override val code: String = "pt-MZ" } + object MZ : Portuguese() { override val code: String = "pt-MZ"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object PT : Portuguese() { override val code: String = "pt-PT" } + object PT : Portuguese() { override val code: String = "pt-PT"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object ST : Portuguese() { override val code: String = "pt-ST" } + object ST : Portuguese() { override val code: String = "pt-ST"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) - object TL : Portuguese() { override val code: String = "pt-TL" } + object TL : Portuguese() { override val code: String = "pt-TL"; override val withoutDialect: String get() = Portuguese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Portuguese() @@ -1873,13 +2080,15 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Quechua : IetfLanguageCode() { override val code: String = "qu" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BO : Quechua() { override val code: String = "qu-BO" } + object BO : Quechua() { override val code: String = "qu-BO"; override val withoutDialect: String get() = Quechua.code } @Serializable(IetfLanguageCodeSerializer::class) - object EC : Quechua() { override val code: String = "qu-EC" } + object EC : Quechua() { override val code: String = "qu-EC"; override val withoutDialect: String get() = Quechua.code } @Serializable(IetfLanguageCodeSerializer::class) - object PE : Quechua() { override val code: String = "qu-PE" } + object PE : Quechua() { override val code: String = "qu-PE"; override val withoutDialect: String get() = Quechua.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Quechua() @@ -1889,9 +2098,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Romansh : IetfLanguageCode() { override val code: String = "rm" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CH : Romansh() { override val code: String = "rm-CH" } + object CH : Romansh() { override val code: String = "rm-CH"; override val withoutDialect: String get() = Romansh.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Romansh() @@ -1901,9 +2112,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Rundi : IetfLanguageCode() { override val code: String = "rn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BI : Rundi() { override val code: String = "rn-BI" } + object BI : Rundi() { override val code: String = "rn-BI"; override val withoutDialect: String get() = Rundi.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Rundi() @@ -1913,11 +2126,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class RomanianMoldavianMoldovan : IetfLanguageCode() { override val code: String = "ro" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object MD : RomanianMoldavianMoldovan() { override val code: String = "ro-MD" } + object MD : RomanianMoldavianMoldovan() { override val code: String = "ro-MD"; override val withoutDialect: String get() = RomanianMoldavianMoldovan.code } @Serializable(IetfLanguageCodeSerializer::class) - object RO : RomanianMoldavianMoldovan() { override val code: String = "ro-RO" } + object RO : RomanianMoldavianMoldovan() { override val code: String = "ro-RO"; override val withoutDialect: String get() = RomanianMoldavianMoldovan.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : RomanianMoldavianMoldovan() @@ -1927,19 +2142,21 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Russian : IetfLanguageCode() { override val code: String = "ru" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BY : Russian() { override val code: String = "ru-BY" } + object BY : Russian() { override val code: String = "ru-BY"; override val withoutDialect: String get() = Russian.code } @Serializable(IetfLanguageCodeSerializer::class) - object KG : Russian() { override val code: String = "ru-KG" } + object KG : Russian() { override val code: String = "ru-KG"; override val withoutDialect: String get() = Russian.code } @Serializable(IetfLanguageCodeSerializer::class) - object KZ : Russian() { override val code: String = "ru-KZ" } + object KZ : Russian() { override val code: String = "ru-KZ"; override val withoutDialect: String get() = Russian.code } @Serializable(IetfLanguageCodeSerializer::class) - object MD : Russian() { override val code: String = "ru-MD" } + object MD : Russian() { override val code: String = "ru-MD"; override val withoutDialect: String get() = Russian.code } @Serializable(IetfLanguageCodeSerializer::class) - object RU : Russian() { override val code: String = "ru-RU" } + object RU : Russian() { override val code: String = "ru-RU"; override val withoutDialect: String get() = Russian.code } @Serializable(IetfLanguageCodeSerializer::class) - object UA : Russian() { override val code: String = "ru-UA" } + object UA : Russian() { override val code: String = "ru-UA"; override val withoutDialect: String get() = Russian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Russian() @@ -1949,30 +2166,36 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Kinyarwanda : IetfLanguageCode() { override val code: String = "rw" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object RW : Kinyarwanda() { override val code: String = "rw-RW" } + object RW : Kinyarwanda() { override val code: String = "rw-RW"; override val withoutDialect: String get() = Kinyarwanda.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Kinyarwanda() } @Serializable(IetfLanguageCodeSerializer::class) - object Sanskrit : IetfLanguageCode() { override val code: String = "sa" } + object Sanskrit : IetfLanguageCode() { override val code: String = "sa"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Sardinian : IetfLanguageCode() { override val code: String = "sc" } + object Sardinian : IetfLanguageCode() { override val code: String = "sc"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Sindhi : IetfLanguageCode() { override val code: String = "sd" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Arab : Sindhi() { override val code: String = "sd-Arab" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object PK : Arab() { override val code: String = "sd-Arab-PK" } + object PK : Arab() { override val code: String = "sd-Arab-PK"; override val withoutDialect: String get() = Arab.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() @@ -1982,9 +2205,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Deva : Sindhi() { override val code: String = "sd-Deva" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Deva() { override val code: String = "sd-Deva-IN" } + object IN : Deva() { override val code: String = "sd-Deva-IN"; override val withoutDialect: String get() = Deva.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Deva() @@ -1999,13 +2224,15 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class NorthernSami : IetfLanguageCode() { override val code: String = "se" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object FI : NorthernSami() { override val code: String = "se-FI" } + object FI : NorthernSami() { override val code: String = "se-FI"; override val withoutDialect: String get() = NorthernSami.code } @Serializable(IetfLanguageCodeSerializer::class) - object NO : NorthernSami() { override val code: String = "se-NO" } + object NO : NorthernSami() { override val code: String = "se-NO"; override val withoutDialect: String get() = NorthernSami.code } @Serializable(IetfLanguageCodeSerializer::class) - object SE : NorthernSami() { override val code: String = "se-SE" } + object SE : NorthernSami() { override val code: String = "se-SE"; override val withoutDialect: String get() = NorthernSami.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : NorthernSami() @@ -2015,9 +2242,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Sango : IetfLanguageCode() { override val code: String = "sg" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CF : Sango() { override val code: String = "sg-CF" } + object CF : Sango() { override val code: String = "sg-CF"; override val withoutDialect: String get() = Sango.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Sango() @@ -2027,9 +2256,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class SinhalaSinhalese : IetfLanguageCode() { override val code: String = "si" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object LK : SinhalaSinhalese() { override val code: String = "si-LK" } + object LK : SinhalaSinhalese() { override val code: String = "si-LK"; override val withoutDialect: String get() = SinhalaSinhalese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : SinhalaSinhalese() @@ -2039,9 +2270,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Slovak : IetfLanguageCode() { override val code: String = "sk" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object SK : Slovak() { override val code: String = "sk-SK" } + object SK : Slovak() { override val code: String = "sk-SK"; override val withoutDialect: String get() = Slovak.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Slovak() @@ -2051,23 +2284,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Slovenian : IetfLanguageCode() { override val code: String = "sl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object SI : Slovenian() { override val code: String = "sl-SI" } + object SI : Slovenian() { override val code: String = "sl-SI"; override val withoutDialect: String get() = Slovenian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Slovenian() } @Serializable(IetfLanguageCodeSerializer::class) - object Samoan : IetfLanguageCode() { override val code: String = "sm" } + object Samoan : IetfLanguageCode() { override val code: String = "sm"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Shona : IetfLanguageCode() { override val code: String = "sn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ZW : Shona() { override val code: String = "sn-ZW" } + object ZW : Shona() { override val code: String = "sn-ZW"; override val withoutDialect: String get() = Shona.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Shona() @@ -2077,15 +2314,17 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Somali : IetfLanguageCode() { override val code: String = "so" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object DJ : Somali() { override val code: String = "so-DJ" } + object DJ : Somali() { override val code: String = "so-DJ"; override val withoutDialect: String get() = Somali.code } @Serializable(IetfLanguageCodeSerializer::class) - object ET : Somali() { override val code: String = "so-ET" } + object ET : Somali() { override val code: String = "so-ET"; override val withoutDialect: String get() = Somali.code } @Serializable(IetfLanguageCodeSerializer::class) - object KE : Somali() { override val code: String = "so-KE" } + object KE : Somali() { override val code: String = "so-KE"; override val withoutDialect: String get() = Somali.code } @Serializable(IetfLanguageCodeSerializer::class) - object SO : Somali() { override val code: String = "so-SO" } + object SO : Somali() { override val code: String = "so-SO"; override val withoutDialect: String get() = Somali.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Somali() @@ -2095,13 +2334,15 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Albanian : IetfLanguageCode() { override val code: String = "sq" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AL : Albanian() { override val code: String = "sq-AL" } + object AL : Albanian() { override val code: String = "sq-AL"; override val withoutDialect: String get() = Albanian.code } @Serializable(IetfLanguageCodeSerializer::class) - object MK : Albanian() { override val code: String = "sq-MK" } + object MK : Albanian() { override val code: String = "sq-MK"; override val withoutDialect: String get() = Albanian.code } @Serializable(IetfLanguageCodeSerializer::class) - object XK : Albanian() { override val code: String = "sq-XK" } + object XK : Albanian() { override val code: String = "sq-XK"; override val withoutDialect: String get() = Albanian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Albanian() @@ -2111,20 +2352,24 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Serbian : IetfLanguageCode() { override val code: String = "sr" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Cyrl : Serbian() { override val code: String = "sr-Cyrl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BA : Cyrl() { override val code: String = "sr-Cyrl-BA" } + object BA : Cyrl() { override val code: String = "sr-Cyrl-BA"; override val withoutDialect: String get() = Cyrl.code } @Serializable(IetfLanguageCodeSerializer::class) - object ME : Cyrl() { override val code: String = "sr-Cyrl-ME" } + object ME : Cyrl() { override val code: String = "sr-Cyrl-ME"; override val withoutDialect: String get() = Cyrl.code } @Serializable(IetfLanguageCodeSerializer::class) - object RS : Cyrl() { override val code: String = "sr-Cyrl-RS" } + object RS : Cyrl() { override val code: String = "sr-Cyrl-RS"; override val withoutDialect: String get() = Cyrl.code } @Serializable(IetfLanguageCodeSerializer::class) - object XK : Cyrl() { override val code: String = "sr-Cyrl-XK" } + object XK : Cyrl() { override val code: String = "sr-Cyrl-XK"; override val withoutDialect: String get() = Cyrl.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() @@ -2134,15 +2379,17 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Latn : Serbian() { override val code: String = "sr-Latn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BA : Latn() { override val code: String = "sr-Latn-BA" } + object BA : Latn() { override val code: String = "sr-Latn-BA"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object ME : Latn() { override val code: String = "sr-Latn-ME" } + object ME : Latn() { override val code: String = "sr-Latn-ME"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object RS : Latn() { override val code: String = "sr-Latn-RS" } + object RS : Latn() { override val code: String = "sr-Latn-RS"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) - object XK : Latn() { override val code: String = "sr-Latn-XK" } + object XK : Latn() { override val code: String = "sr-Latn-XK"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() @@ -2154,21 +2401,25 @@ sealed class IetfLanguageCode { } @Serializable(IetfLanguageCodeSerializer::class) - object Swati : IetfLanguageCode() { override val code: String = "ss" } + object Swati : IetfLanguageCode() { override val code: String = "ss"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object SothoSouthern : IetfLanguageCode() { override val code: String = "st" } + object SothoSouthern : IetfLanguageCode() { override val code: String = "st"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Sundanese : IetfLanguageCode() { override val code: String = "su" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Latn : Sundanese() { override val code: String = "su-Latn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ID : Latn() { override val code: String = "su-Latn-ID" } + object ID : Latn() { override val code: String = "su-Latn-ID"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() @@ -2183,13 +2434,15 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Swedish : IetfLanguageCode() { override val code: String = "sv" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AX : Swedish() { override val code: String = "sv-AX" } + object AX : Swedish() { override val code: String = "sv-AX"; override val withoutDialect: String get() = Swedish.code } @Serializable(IetfLanguageCodeSerializer::class) - object FI : Swedish() { override val code: String = "sv-FI" } + object FI : Swedish() { override val code: String = "sv-FI"; override val withoutDialect: String get() = Swedish.code } @Serializable(IetfLanguageCodeSerializer::class) - object SE : Swedish() { override val code: String = "sv-SE" } + object SE : Swedish() { override val code: String = "sv-SE"; override val withoutDialect: String get() = Swedish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Swedish() @@ -2199,15 +2452,17 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Swahili : IetfLanguageCode() { override val code: String = "sw" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CD : Swahili() { override val code: String = "sw-CD" } + object CD : Swahili() { override val code: String = "sw-CD"; override val withoutDialect: String get() = Swahili.code } @Serializable(IetfLanguageCodeSerializer::class) - object KE : Swahili() { override val code: String = "sw-KE" } + object KE : Swahili() { override val code: String = "sw-KE"; override val withoutDialect: String get() = Swahili.code } @Serializable(IetfLanguageCodeSerializer::class) - object TZ : Swahili() { override val code: String = "sw-TZ" } + object TZ : Swahili() { override val code: String = "sw-TZ"; override val withoutDialect: String get() = Swahili.code } @Serializable(IetfLanguageCodeSerializer::class) - object UG : Swahili() { override val code: String = "sw-UG" } + object UG : Swahili() { override val code: String = "sw-UG"; override val withoutDialect: String get() = Swahili.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Swahili() @@ -2217,15 +2472,17 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Tamil : IetfLanguageCode() { override val code: String = "ta" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Tamil() { override val code: String = "ta-IN" } + object IN : Tamil() { override val code: String = "ta-IN"; override val withoutDialect: String get() = Tamil.code } @Serializable(IetfLanguageCodeSerializer::class) - object LK : Tamil() { override val code: String = "ta-LK" } + object LK : Tamil() { override val code: String = "ta-LK"; override val withoutDialect: String get() = Tamil.code } @Serializable(IetfLanguageCodeSerializer::class) - object MY : Tamil() { override val code: String = "ta-MY" } + object MY : Tamil() { override val code: String = "ta-MY"; override val withoutDialect: String get() = Tamil.code } @Serializable(IetfLanguageCodeSerializer::class) - object SG : Tamil() { override val code: String = "ta-SG" } + object SG : Tamil() { override val code: String = "ta-SG"; override val withoutDialect: String get() = Tamil.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Tamil() @@ -2235,9 +2492,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Telugu : IetfLanguageCode() { override val code: String = "te" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Telugu() { override val code: String = "te-IN" } + object IN : Telugu() { override val code: String = "te-IN"; override val withoutDialect: String get() = Telugu.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Telugu() @@ -2247,9 +2506,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Tajik : IetfLanguageCode() { override val code: String = "tg" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object TJ : Tajik() { override val code: String = "tg-TJ" } + object TJ : Tajik() { override val code: String = "tg-TJ"; override val withoutDialect: String get() = Tajik.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Tajik() @@ -2259,9 +2520,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Thai : IetfLanguageCode() { override val code: String = "th" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object TH : Thai() { override val code: String = "th-TH" } + object TH : Thai() { override val code: String = "th-TH"; override val withoutDialect: String get() = Thai.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Thai() @@ -2271,11 +2534,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Tigrinya : IetfLanguageCode() { override val code: String = "ti" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ER : Tigrinya() { override val code: String = "ti-ER" } + object ER : Tigrinya() { override val code: String = "ti-ER"; override val withoutDialect: String get() = Tigrinya.code } @Serializable(IetfLanguageCodeSerializer::class) - object ET : Tigrinya() { override val code: String = "ti-ET" } + object ET : Tigrinya() { override val code: String = "ti-ET"; override val withoutDialect: String get() = Tigrinya.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Tigrinya() @@ -2285,25 +2550,29 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Turkmen : IetfLanguageCode() { override val code: String = "tk" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object TM : Turkmen() { override val code: String = "tk-TM" } + object TM : Turkmen() { override val code: String = "tk-TM"; override val withoutDialect: String get() = Turkmen.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Turkmen() } @Serializable(IetfLanguageCodeSerializer::class) - object Tagalog : IetfLanguageCode() { override val code: String = "tl" } + object Tagalog : IetfLanguageCode() { override val code: String = "tl"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Tswana : IetfLanguageCode() { override val code: String = "tn" } + object Tswana : IetfLanguageCode() { override val code: String = "tn"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class TongaTongaIslands : IetfLanguageCode() { override val code: String = "to" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object TO : TongaTongaIslands() { override val code: String = "to-TO" } + object TO : TongaTongaIslands() { override val code: String = "to-TO"; override val withoutDialect: String get() = TongaTongaIslands.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : TongaTongaIslands() @@ -2313,41 +2582,47 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Turkish : IetfLanguageCode() { override val code: String = "tr" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CY : Turkish() { override val code: String = "tr-CY" } + object CY : Turkish() { override val code: String = "tr-CY"; override val withoutDialect: String get() = Turkish.code } @Serializable(IetfLanguageCodeSerializer::class) - object TR : Turkish() { override val code: String = "tr-TR" } + object TR : Turkish() { override val code: String = "tr-TR"; override val withoutDialect: String get() = Turkish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Turkish() } @Serializable(IetfLanguageCodeSerializer::class) - object Tsonga : IetfLanguageCode() { override val code: String = "ts" } + object Tsonga : IetfLanguageCode() { override val code: String = "ts"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Tatar : IetfLanguageCode() { override val code: String = "tt" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object RU : Tatar() { override val code: String = "tt-RU" } + object RU : Tatar() { override val code: String = "tt-RU"; override val withoutDialect: String get() = Tatar.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Tatar() } @Serializable(IetfLanguageCodeSerializer::class) - object Twi : IetfLanguageCode() { override val code: String = "tw" } + object Twi : IetfLanguageCode() { override val code: String = "tw"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) - object Tahitian : IetfLanguageCode() { override val code: String = "ty" } + object Tahitian : IetfLanguageCode() { override val code: String = "ty"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class UighurUyghur : IetfLanguageCode() { override val code: String = "ug" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CN : UighurUyghur() { override val code: String = "ug-CN" } + object CN : UighurUyghur() { override val code: String = "ug-CN"; override val withoutDialect: String get() = UighurUyghur.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : UighurUyghur() @@ -2357,9 +2632,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Ukrainian : IetfLanguageCode() { override val code: String = "uk" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object UA : Ukrainian() { override val code: String = "uk-UA" } + object UA : Ukrainian() { override val code: String = "uk-UA"; override val withoutDialect: String get() = Ukrainian.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Ukrainian() @@ -2369,11 +2646,13 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Urdu : IetfLanguageCode() { override val code: String = "ur" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object IN : Urdu() { override val code: String = "ur-IN" } + object IN : Urdu() { override val code: String = "ur-IN"; override val withoutDialect: String get() = Urdu.code } @Serializable(IetfLanguageCodeSerializer::class) - object PK : Urdu() { override val code: String = "ur-PK" } + object PK : Urdu() { override val code: String = "ur-PK"; override val withoutDialect: String get() = Urdu.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Urdu() @@ -2383,14 +2662,18 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Uzbek : IetfLanguageCode() { override val code: String = "uz" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Arab : Uzbek() { override val code: String = "uz-Arab" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object AF : Arab() { override val code: String = "uz-Arab-AF" } + object AF : Arab() { override val code: String = "uz-Arab-AF"; override val withoutDialect: String get() = Arab.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Arab() @@ -2400,9 +2683,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Cyrl : Uzbek() { override val code: String = "uz-Cyrl" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object UZ : Cyrl() { override val code: String = "uz-Cyrl-UZ" } + object UZ : Cyrl() { override val code: String = "uz-Cyrl-UZ"; override val withoutDialect: String get() = Cyrl.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Cyrl() @@ -2412,9 +2697,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Latn : Uzbek() { override val code: String = "uz-Latn" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object UZ : Latn() { override val code: String = "uz-Latn-UZ" } + object UZ : Latn() { override val code: String = "uz-Latn-UZ"; override val withoutDialect: String get() = Latn.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Latn() @@ -2426,14 +2713,16 @@ sealed class IetfLanguageCode { } @Serializable(IetfLanguageCodeSerializer::class) - object Venda : IetfLanguageCode() { override val code: String = "ve" } + object Venda : IetfLanguageCode() { override val code: String = "ve"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Vietnamese : IetfLanguageCode() { override val code: String = "vi" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object VN : Vietnamese() { override val code: String = "vi-VN" } + object VN : Vietnamese() { override val code: String = "vi-VN"; override val withoutDialect: String get() = Vietnamese.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Vietnamese() @@ -2443,23 +2732,27 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Volapuk : IetfLanguageCode() { override val code: String = "vo" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Volapuk() { override val code: String = "vo-001" } + object L001 : Volapuk() { override val code: String = "vo-001"; override val withoutDialect: String get() = Volapuk.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Volapuk() } @Serializable(IetfLanguageCodeSerializer::class) - object Walloon : IetfLanguageCode() { override val code: String = "wa" } + object Walloon : IetfLanguageCode() { override val code: String = "wa"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Wolof : IetfLanguageCode() { override val code: String = "wo" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object SN : Wolof() { override val code: String = "wo-SN" } + object SN : Wolof() { override val code: String = "wo-SN"; override val withoutDialect: String get() = Wolof.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Wolof() @@ -2469,9 +2762,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Xhosa : IetfLanguageCode() { override val code: String = "xh" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ZA : Xhosa() { override val code: String = "xh-ZA" } + object ZA : Xhosa() { override val code: String = "xh-ZA"; override val withoutDialect: String get() = Xhosa.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Xhosa() @@ -2481,9 +2776,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Yiddish : IetfLanguageCode() { override val code: String = "yi" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object L001 : Yiddish() { override val code: String = "yi-001" } + object L001 : Yiddish() { override val code: String = "yi-001"; override val withoutDialect: String get() = Yiddish.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Yiddish() @@ -2493,36 +2790,42 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Yoruba : IetfLanguageCode() { override val code: String = "yo" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object BJ : Yoruba() { override val code: String = "yo-BJ" } + object BJ : Yoruba() { override val code: String = "yo-BJ"; override val withoutDialect: String get() = Yoruba.code } @Serializable(IetfLanguageCodeSerializer::class) - object NG : Yoruba() { override val code: String = "yo-NG" } + object NG : Yoruba() { override val code: String = "yo-NG"; override val withoutDialect: String get() = Yoruba.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Yoruba() } @Serializable(IetfLanguageCodeSerializer::class) - object ZhuangChuang : IetfLanguageCode() { override val code: String = "za" } + object ZhuangChuang : IetfLanguageCode() { override val code: String = "za"; override val withoutDialect: String get() = code } @Serializable(IetfLanguageCodeSerializer::class) sealed class Chinese : IetfLanguageCode() { override val code: String = "zh" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) sealed class Hans : Chinese() { override val code: String = "zh-Hans" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object CN : Hans() { override val code: String = "zh-Hans-CN" } + object CN : Hans() { override val code: String = "zh-Hans-CN"; override val withoutDialect: String get() = Hans.code } @Serializable(IetfLanguageCodeSerializer::class) - object HK : Hans() { override val code: String = "zh-Hans-HK" } + object HK : Hans() { override val code: String = "zh-Hans-HK"; override val withoutDialect: String get() = Hans.code } @Serializable(IetfLanguageCodeSerializer::class) - object MO : Hans() { override val code: String = "zh-Hans-MO" } + object MO : Hans() { override val code: String = "zh-Hans-MO"; override val withoutDialect: String get() = Hans.code } @Serializable(IetfLanguageCodeSerializer::class) - object SG : Hans() { override val code: String = "zh-Hans-SG" } + object SG : Hans() { override val code: String = "zh-Hans-SG"; override val withoutDialect: String get() = Hans.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Hans() @@ -2532,13 +2835,15 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Hant : Chinese() { override val code: String = "zh-Hant" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object HK : Hant() { override val code: String = "zh-Hant-HK" } + object HK : Hant() { override val code: String = "zh-Hant-HK"; override val withoutDialect: String get() = Hant.code } @Serializable(IetfLanguageCodeSerializer::class) - object MO : Hant() { override val code: String = "zh-Hant-MO" } + object MO : Hant() { override val code: String = "zh-Hant-MO"; override val withoutDialect: String get() = Hant.code } @Serializable(IetfLanguageCodeSerializer::class) - object TW : Hant() { override val code: String = "zh-Hant-TW" } + object TW : Hant() { override val code: String = "zh-Hant-TW"; override val withoutDialect: String get() = Hant.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Hant() @@ -2553,9 +2858,11 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) sealed class Zulu : IetfLanguageCode() { override val code: String = "zu" + override val withoutDialect: String + get() = code @Serializable(IetfLanguageCodeSerializer::class) - object ZA : Zulu() { override val code: String = "zu-ZA" } + object ZA : Zulu() { override val code: String = "zu-ZA"; override val withoutDialect: String get() = Zulu.code } @Serializable(IetfLanguageCodeSerializer::class) companion object : Zulu() @@ -2563,7 +2870,9 @@ sealed class IetfLanguageCode { @Serializable(IetfLanguageCodeSerializer::class) - data class UnknownIetfLanguageCode (override val code: String) : IetfLanguageCode() + data class UnknownIetfLanguageCode (override val code: String) : IetfLanguageCode() { + override val withoutDialect: String = code.takeWhile { it != '-' } + } override fun toString() = code } From f9a8c398795f6ad99bf5eb742a9bc8fa1fdde652 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 2 Dec 2022 21:01:11 +0600 Subject: [PATCH 5/7] updates and fixes in mime types --- CHANGELOG.md | 4 + mime_types/mimes_generator/mime_generator.py | 5 +- .../micro_utils/mime_types/CustomMimeType.kt | 3 + .../micro_utils/mime_types/KnownMimeTypes.kt | 2239 ++++++----------- .../mime_types/KnownMimeTypesSet.kt | 705 ++++++ .../inmo/micro_utils/mime_types/MimeType.kt | 8 + .../mime_types/MimeTypeSerializer.kt | 24 + .../micro_utils/mime_types/MimeTypeTools.kt | 19 - 8 files changed, 1524 insertions(+), 1483 deletions(-) create mode 100644 mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/CustomMimeType.kt create mode 100644 mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypesSet.kt create mode 100644 mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeType.kt create mode 100644 mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeSerializer.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index 0db1eebd3fb..dd51bd38dfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ * `Ktor`: * `Client`: * `KtorReadCRUDRepoClient` now requires `paginationIdType` +* `LanguageCodes`: + * Updates and fixes in generation +* `MimeTypes`: + * Updates and fixes in generation ## 0.14.4 diff --git a/mime_types/mimes_generator/mime_generator.py b/mime_types/mimes_generator/mime_generator.py index ec9916a986d..ae0348f3ff5 100644 --- a/mime_types/mimes_generator/mime_generator.py +++ b/mime_types/mimes_generator/mime_generator.py @@ -17,10 +17,11 @@ def fix_name(category, raw_name): result += out1 return result +# https://www.freeformatter.com/mime-types-list.html if __name__ == '__main__': df = pd.read_html(open('table.html', 'r')) mimes = [] - for row in df[0].iterrows(): + for row in df[0].drop_duplicates(subset=['MIME Type / Internet Media Type'], keep='first').iterrows(): mime = row[1][1] mime_category = mime.split('/', 1)[0] mime_name = mime.split('/', 1)[1] @@ -37,7 +38,7 @@ if __name__ == '__main__': code2 = 'internal val knownMimeTypes: Set = setOf(\n' code2 += ' KnownMimeTypes.Any,\n' for key, group in grouped: - group_name = key.capitalize() + group_name = fix_name(group, key) code += '@Serializable(MimeTypeSerializer::class)\nsealed class %s(raw: String) : MimeType, KnownMimeTypes(raw) {\n' % group_name code += ' @Serializable(MimeTypeSerializer::class)\n object Any: %s ("%s/*")\n' % (group_name, key) for mime in group: diff --git a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/CustomMimeType.kt b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/CustomMimeType.kt new file mode 100644 index 00000000000..77098e4bdb4 --- /dev/null +++ b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/CustomMimeType.kt @@ -0,0 +1,3 @@ +package dev.inmo.micro_utils.mime_types + +data class CustomMimeType(override val raw: String) : MimeType diff --git a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypes.kt b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypes.kt index 24e575c1a9a..1608e3a2fde 100644 --- a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypes.kt +++ b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypes.kt @@ -4,12 +4,6 @@ package dev.inmo.micro_utils.mime_types import kotlinx.serialization.Serializable -@Serializable(MimeTypeSerializer::class) -interface MimeType { - val raw: String -} -data class CustomMimeType(override val raw: String) : MimeType - @Serializable(MimeTypeSerializer::class) sealed class KnownMimeTypes(override val raw: String) : MimeType { object Any : MimeType, KnownMimeTypes("*/*") @@ -18,193 +12,11 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object Any: Application ("application/*") @Serializable(MimeTypeSerializer::class) - object AndrewInset: Application ("application/andrew-inset") + object VndHzn3dCrossword: Application ("application/vnd.hzn-3d-crossword") @Serializable(MimeTypeSerializer::class) - object Applixware: Application ("application/applixware") + object VndMseq: Application ("application/vnd.mseq") @Serializable(MimeTypeSerializer::class) - object AtomXml: Application ("application/atom+xml") - @Serializable(MimeTypeSerializer::class) - object AtomcatXml: Application ("application/atomcat+xml") - @Serializable(MimeTypeSerializer::class) - object AtomsvcXml: Application ("application/atomsvc+xml") - @Serializable(MimeTypeSerializer::class) - object CcxmlXml: Application ("application/ccxml+xml,") - @Serializable(MimeTypeSerializer::class) - object CdmiCapability: Application ("application/cdmi-capability") - @Serializable(MimeTypeSerializer::class) - object CdmiContainer: Application ("application/cdmi-container") - @Serializable(MimeTypeSerializer::class) - object CdmiDomain: Application ("application/cdmi-domain") - @Serializable(MimeTypeSerializer::class) - object CdmiObject: Application ("application/cdmi-object") - @Serializable(MimeTypeSerializer::class) - object CdmiQueue: Application ("application/cdmi-queue") - @Serializable(MimeTypeSerializer::class) - object CuSeeme: Application ("application/cu-seeme") - @Serializable(MimeTypeSerializer::class) - object DavmountXml: Application ("application/davmount+xml") - @Serializable(MimeTypeSerializer::class) - object DsscDer: Application ("application/dssc+der") - @Serializable(MimeTypeSerializer::class) - object DsscXml: Application ("application/dssc+xml") - @Serializable(MimeTypeSerializer::class) - object Ecmascript: Application ("application/ecmascript") - @Serializable(MimeTypeSerializer::class) - object EmmaXml: Application ("application/emma+xml") - @Serializable(MimeTypeSerializer::class) - object EpubZip: Application ("application/epub+zip") - @Serializable(MimeTypeSerializer::class) - object Exi: Application ("application/exi") - @Serializable(MimeTypeSerializer::class) - object FontTdpfr: Application ("application/font-tdpfr") - @Serializable(MimeTypeSerializer::class) - object Hyperstudio: Application ("application/hyperstudio") - @Serializable(MimeTypeSerializer::class) - object Ipfix: Application ("application/ipfix") - @Serializable(MimeTypeSerializer::class) - object JavaArchive: Application ("application/java-archive") - @Serializable(MimeTypeSerializer::class) - object JavaSerializedObject: Application ("application/java-serialized-object") - @Serializable(MimeTypeSerializer::class) - object JavaVm: Application ("application/java-vm") - @Serializable(MimeTypeSerializer::class) - object Javascript: Application ("application/javascript") - @Serializable(MimeTypeSerializer::class) - object Json: Application ("application/json") - @Serializable(MimeTypeSerializer::class) - object MacBinhex40: Application ("application/mac-binhex40") - @Serializable(MimeTypeSerializer::class) - object MacCompactpro: Application ("application/mac-compactpro") - @Serializable(MimeTypeSerializer::class) - object MadsXml: Application ("application/mads+xml") - @Serializable(MimeTypeSerializer::class) - object Marc: Application ("application/marc") - @Serializable(MimeTypeSerializer::class) - object MarcxmlXml: Application ("application/marcxml+xml") - @Serializable(MimeTypeSerializer::class) - object Mathematica: Application ("application/mathematica") - @Serializable(MimeTypeSerializer::class) - object MathmlXml: Application ("application/mathml+xml") - @Serializable(MimeTypeSerializer::class) - object Mbox: Application ("application/mbox") - @Serializable(MimeTypeSerializer::class) - object MediaservercontrolXml: Application ("application/mediaservercontrol+xml") - @Serializable(MimeTypeSerializer::class) - object Metalink4Xml: Application ("application/metalink4+xml") - @Serializable(MimeTypeSerializer::class) - object MetsXml: Application ("application/mets+xml") - @Serializable(MimeTypeSerializer::class) - object ModsXml: Application ("application/mods+xml") - @Serializable(MimeTypeSerializer::class) - object Mp21: Application ("application/mp21") - @Serializable(MimeTypeSerializer::class) - object Mp4: Application ("application/mp4") - @Serializable(MimeTypeSerializer::class) - object Msword: Application ("application/msword") - @Serializable(MimeTypeSerializer::class) - object Mxf: Application ("application/mxf") - @Serializable(MimeTypeSerializer::class) - object OctetStream: Application ("application/octet-stream") - @Serializable(MimeTypeSerializer::class) - object Oda: Application ("application/oda") - @Serializable(MimeTypeSerializer::class) - object OebpsPackageXml: Application ("application/oebps-package+xml") - @Serializable(MimeTypeSerializer::class) - object Ogg: Application ("application/ogg") - @Serializable(MimeTypeSerializer::class) - object Onenote: Application ("application/onenote") - @Serializable(MimeTypeSerializer::class) - object PatchOpsErrorXml: Application ("application/patch-ops-error+xml") - @Serializable(MimeTypeSerializer::class) - object Pdf: Application ("application/pdf") - @Serializable(MimeTypeSerializer::class) - object PgpEncrypted: Application ("application/pgp-encrypted") - @Serializable(MimeTypeSerializer::class) - object PgpSignature: Application ("application/pgp-signature") - @Serializable(MimeTypeSerializer::class) - object PicsRules: Application ("application/pics-rules") - @Serializable(MimeTypeSerializer::class) - object Pkcs10: Application ("application/pkcs10") - @Serializable(MimeTypeSerializer::class) - object Pkcs7Mime: Application ("application/pkcs7-mime") - @Serializable(MimeTypeSerializer::class) - object Pkcs7Signature: Application ("application/pkcs7-signature") - @Serializable(MimeTypeSerializer::class) - object Pkcs8: Application ("application/pkcs8") - @Serializable(MimeTypeSerializer::class) - object PkixAttrCert: Application ("application/pkix-attr-cert") - @Serializable(MimeTypeSerializer::class) - object PkixCert: Application ("application/pkix-cert") - @Serializable(MimeTypeSerializer::class) - object PkixCrl: Application ("application/pkix-crl") - @Serializable(MimeTypeSerializer::class) - object PkixPkipath: Application ("application/pkix-pkipath") - @Serializable(MimeTypeSerializer::class) - object Pkixcmp: Application ("application/pkixcmp") - @Serializable(MimeTypeSerializer::class) - object PlsXml: Application ("application/pls+xml") - @Serializable(MimeTypeSerializer::class) - object Postscript: Application ("application/postscript") - @Serializable(MimeTypeSerializer::class) - object PrsCww: Application ("application/prs.cww") - @Serializable(MimeTypeSerializer::class) - object PskcXml: Application ("application/pskc+xml") - @Serializable(MimeTypeSerializer::class) - object RdfXml: Application ("application/rdf+xml") - @Serializable(MimeTypeSerializer::class) - object ReginfoXml: Application ("application/reginfo+xml") - @Serializable(MimeTypeSerializer::class) - object RelaxNgCompactSyntax: Application ("application/relax-ng-compact-syntax") - @Serializable(MimeTypeSerializer::class) - object ResourceListsXml: Application ("application/resource-lists+xml") - @Serializable(MimeTypeSerializer::class) - object ResourceListsDiffXml: Application ("application/resource-lists-diff+xml") - @Serializable(MimeTypeSerializer::class) - object RlsServicesXml: Application ("application/rls-services+xml") - @Serializable(MimeTypeSerializer::class) - object RsdXml: Application ("application/rsd+xml") - @Serializable(MimeTypeSerializer::class) - object RssXml: Application ("application/rss+xml") - @Serializable(MimeTypeSerializer::class) - object Rtf: Application ("application/rtf") - @Serializable(MimeTypeSerializer::class) - object SbmlXml: Application ("application/sbml+xml") - @Serializable(MimeTypeSerializer::class) - object ScvpCvRequest: Application ("application/scvp-cv-request") - @Serializable(MimeTypeSerializer::class) - object ScvpCvResponse: Application ("application/scvp-cv-response") - @Serializable(MimeTypeSerializer::class) - object ScvpVpRequest: Application ("application/scvp-vp-request") - @Serializable(MimeTypeSerializer::class) - object ScvpVpResponse: Application ("application/scvp-vp-response") - @Serializable(MimeTypeSerializer::class) - object Sdp: Application ("application/sdp") - @Serializable(MimeTypeSerializer::class) - object SetPaymentInitiation: Application ("application/set-payment-initiation") - @Serializable(MimeTypeSerializer::class) - object SetRegistrationInitiation: Application ("application/set-registration-initiation") - @Serializable(MimeTypeSerializer::class) - object ShfXml: Application ("application/shf+xml") - @Serializable(MimeTypeSerializer::class) - object SmilXml: Application ("application/smil+xml") - @Serializable(MimeTypeSerializer::class) - object SparqlQuery: Application ("application/sparql-query") - @Serializable(MimeTypeSerializer::class) - object SparqlResultsXml: Application ("application/sparql-results+xml") - @Serializable(MimeTypeSerializer::class) - object Srgs: Application ("application/srgs") - @Serializable(MimeTypeSerializer::class) - object SrgsXml: Application ("application/srgs+xml") - @Serializable(MimeTypeSerializer::class) - object SruXml: Application ("application/sru+xml") - @Serializable(MimeTypeSerializer::class) - object SsmlXml: Application ("application/ssml+xml") - @Serializable(MimeTypeSerializer::class) - object TeiXml: Application ("application/tei+xml") - @Serializable(MimeTypeSerializer::class) - object ThraudXml: Application ("application/thraud+xml") - @Serializable(MimeTypeSerializer::class) - object TimestampedData: Application ("application/timestamped-data") + object Vnd3mPostItNotes: Application ("application/vnd.3m.post-it-notes") @Serializable(MimeTypeSerializer::class) object Vnd3gppPicBwLarge: Application ("application/vnd.3gpp.pic-bw-large") @Serializable(MimeTypeSerializer::class) @@ -214,20 +26,36 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object Vnd3gpp2Tcap: Application ("application/vnd.3gpp2.tcap") @Serializable(MimeTypeSerializer::class) - object Vnd3mPostItNotes: Application ("application/vnd.3m.post-it-notes") + object X7zCompressed: Application ("application/x-7z-compressed") @Serializable(MimeTypeSerializer::class) - object VndAccpacSimplyAso: Application ("application/vnd.accpac.simply.aso") + object XAbiword: Application ("application/x-abiword") @Serializable(MimeTypeSerializer::class) - object VndAccpacSimplyImp: Application ("application/vnd.accpac.simply.imp") + object XAceCompressed: Application ("application/x-ace-compressed") + @Serializable(MimeTypeSerializer::class) + object VndAmericandynamicsAcc: Application ("application/vnd.americandynamics.acc") @Serializable(MimeTypeSerializer::class) object VndAcucobol: Application ("application/vnd.acucobol") @Serializable(MimeTypeSerializer::class) object VndAcucorp: Application ("application/vnd.acucorp") @Serializable(MimeTypeSerializer::class) + object XAuthorwareBin: Application ("application/x-authorware-bin") + @Serializable(MimeTypeSerializer::class) + object XAuthorwareMap: Application ("application/x-authorware-map") + @Serializable(MimeTypeSerializer::class) + object XAuthorwareSeg: Application ("application/x-authorware-seg") + @Serializable(MimeTypeSerializer::class) object VndAdobeAirApplicationInstallerPackageZip: Application ("application/vnd.adobe.air-application-installer-package+zip") @Serializable(MimeTypeSerializer::class) + object XShockwaveFlash: Application ("application/x-shockwave-flash") + @Serializable(MimeTypeSerializer::class) object VndAdobeFxp: Application ("application/vnd.adobe.fxp") @Serializable(MimeTypeSerializer::class) + object Pdf: Application ("application/pdf") + @Serializable(MimeTypeSerializer::class) + object VndCupsPpd: Application ("application/vnd.cups-ppd") + @Serializable(MimeTypeSerializer::class) + object XDirector: Application ("application/x-director") + @Serializable(MimeTypeSerializer::class) object VndAdobeXdpXml: Application ("application/vnd.adobe.xdp+xml") @Serializable(MimeTypeSerializer::class) object VndAdobeXfdf: Application ("application/vnd.adobe.xfdf") @@ -240,10 +68,10 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndAmazonEbook: Application ("application/vnd.amazon.ebook") @Serializable(MimeTypeSerializer::class) - object VndAmericandynamicsAcc: Application ("application/vnd.americandynamics.acc") - @Serializable(MimeTypeSerializer::class) object VndAmigaAmi: Application ("application/vnd.amiga.ami") @Serializable(MimeTypeSerializer::class) + object AndrewInset: Application ("application/andrew-inset") + @Serializable(MimeTypeSerializer::class) object VndAndroidPackageArchive: Application ("application/vnd.android.package-archive") @Serializable(MimeTypeSerializer::class) object VndAnserWebCertificateIssueInitiation: Application ("application/vnd.anser-web-certificate-issue-initiation") @@ -252,42 +80,84 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndAntixGameComponent: Application ("application/vnd.antix.game-component") @Serializable(MimeTypeSerializer::class) + object XAppleDiskimage: Application ("application/x-apple-diskimage") + @Serializable(MimeTypeSerializer::class) object VndAppleInstallerXml: Application ("application/vnd.apple.installer+xml") @Serializable(MimeTypeSerializer::class) - object VndAppleMpegurl: Application ("application/vnd.apple.mpegurl") + object Applixware: Application ("application/applixware") + @Serializable(MimeTypeSerializer::class) + object VndHheLessonPlayer: Application ("application/vnd.hhe.lesson-player") + @Serializable(MimeTypeSerializer::class) + object XFreearc: Application ("application/x-freearc") @Serializable(MimeTypeSerializer::class) object VndAristanetworksSwi: Application ("application/vnd.aristanetworks.swi") @Serializable(MimeTypeSerializer::class) + object AtomcatXml: Application ("application/atomcat+xml") + @Serializable(MimeTypeSerializer::class) + object AtomsvcXml: Application ("application/atomsvc+xml") + @Serializable(MimeTypeSerializer::class) + object AtomXml: Application ("application/atom+xml") + @Serializable(MimeTypeSerializer::class) + object PkixAttrCert: Application ("application/pkix-attr-cert") + @Serializable(MimeTypeSerializer::class) object VndAudiograph: Application ("application/vnd.audiograph") @Serializable(MimeTypeSerializer::class) + object XBcpio: Application ("application/x-bcpio") + @Serializable(MimeTypeSerializer::class) + object OctetStream: Application ("application/octet-stream") + @Serializable(MimeTypeSerializer::class) + object XBittorrent: Application ("application/x-bittorrent") + @Serializable(MimeTypeSerializer::class) + object VndRimCod: Application ("application/vnd.rim.cod") + @Serializable(MimeTypeSerializer::class) object VndBlueiceMultipass: Application ("application/vnd.blueice.multipass") @Serializable(MimeTypeSerializer::class) object VndBmi: Application ("application/vnd.bmi") @Serializable(MimeTypeSerializer::class) + object XSh: Application ("application/x-sh") + @Serializable(MimeTypeSerializer::class) object VndBusinessobjects: Application ("application/vnd.businessobjects") @Serializable(MimeTypeSerializer::class) + object XBzip: Application ("application/x-bzip") + @Serializable(MimeTypeSerializer::class) + object XBzip2: Application ("application/x-bzip2") + @Serializable(MimeTypeSerializer::class) + object XCsh: Application ("application/x-csh") + @Serializable(MimeTypeSerializer::class) object VndChemdrawXml: Application ("application/vnd.chemdraw+xml") @Serializable(MimeTypeSerializer::class) - object VndChipnutsKaraokeMmd: Application ("application/vnd.chipnuts.karaoke-mmd") + object XCdf: Application ("application/x-cdf") @Serializable(MimeTypeSerializer::class) - object VndCinderella: Application ("application/vnd.cinderella") + object VndContactCmsg: Application ("application/vnd.contact.cmsg") @Serializable(MimeTypeSerializer::class) object VndClaymore: Application ("application/vnd.claymore") @Serializable(MimeTypeSerializer::class) - object VndCloantoRp9: Application ("application/vnd.cloanto.rp9") - @Serializable(MimeTypeSerializer::class) object VndClonkC4group: Application ("application/vnd.clonk.c4group") @Serializable(MimeTypeSerializer::class) + object CdmiCapability: Application ("application/cdmi-capability") + @Serializable(MimeTypeSerializer::class) + object CdmiContainer: Application ("application/cdmi-container") + @Serializable(MimeTypeSerializer::class) + object CdmiDomain: Application ("application/cdmi-domain") + @Serializable(MimeTypeSerializer::class) + object CdmiObject: Application ("application/cdmi-object") + @Serializable(MimeTypeSerializer::class) + object CdmiQueue: Application ("application/cdmi-queue") + @Serializable(MimeTypeSerializer::class) object VndCluetrustCartomobileConfig: Application ("application/vnd.cluetrust.cartomobile-config") @Serializable(MimeTypeSerializer::class) object VndCluetrustCartomobileConfigPkg: Application ("application/vnd.cluetrust.cartomobile-config-pkg") @Serializable(MimeTypeSerializer::class) - object VndCommonspace: Application ("application/vnd.commonspace") + object MacCompactpro: Application ("application/mac-compactpro") @Serializable(MimeTypeSerializer::class) - object VndContactCmsg: Application ("application/vnd.contact.cmsg") + object VndWapWmlc: Application ("application/vnd.wap.wmlc") + @Serializable(MimeTypeSerializer::class) + object VndXara: Application ("application/vnd.xara") @Serializable(MimeTypeSerializer::class) object VndCosmocaller: Application ("application/vnd.cosmocaller") @Serializable(MimeTypeSerializer::class) + object XCpio: Application ("application/x-cpio") + @Serializable(MimeTypeSerializer::class) object VndCrickClicker: Application ("application/vnd.crick.clicker") @Serializable(MimeTypeSerializer::class) object VndCrickClickerKeyboard: Application ("application/vnd.crick.clicker.keyboard") @@ -300,67 +170,91 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndCriticaltoolsWbsXml: Application ("application/vnd.criticaltools.wbs+xml") @Serializable(MimeTypeSerializer::class) - object VndCtcPosml: Application ("application/vnd.ctc-posml") + object VndRigCryptonote: Application ("application/vnd.rig.cryptonote") @Serializable(MimeTypeSerializer::class) - object VndCupsPpd: Application ("application/vnd.cups-ppd") + object CuSeeme: Application ("application/cu-seeme") + @Serializable(MimeTypeSerializer::class) + object PrsCww: Application ("application/prs.cww") @Serializable(MimeTypeSerializer::class) object VndCurlCar: Application ("application/vnd.curl.car") @Serializable(MimeTypeSerializer::class) object VndCurlPcurl: Application ("application/vnd.curl.pcurl") @Serializable(MimeTypeSerializer::class) - object VndDataVisionRdz: Application ("application/vnd.data-vision.rdz") + object VndYellowriverCustomMenu: Application ("application/vnd.yellowriver-custom-menu") @Serializable(MimeTypeSerializer::class) - object VndDenovoFcselayoutLink: Application ("application/vnd.denovo.fcselayout-link") + object DsscDer: Application ("application/dssc+der") @Serializable(MimeTypeSerializer::class) - object VndDna: Application ("application/vnd.dna") + object DsscXml: Application ("application/dssc+xml") @Serializable(MimeTypeSerializer::class) - object VndDolbyMlp: Application ("application/vnd.dolby.mlp") + object XDebianPackage: Application ("application/x-debian-package") @Serializable(MimeTypeSerializer::class) - object VndDpgraph: Application ("application/vnd.dpgraph") + object XDvi: Application ("application/x-dvi") @Serializable(MimeTypeSerializer::class) - object VndDreamfactory: Application ("application/vnd.dreamfactory") + object VndFdsnSeed: Application ("application/vnd.fdsn.seed") + @Serializable(MimeTypeSerializer::class) + object XDtbookXml: Application ("application/x-dtbook+xml") + @Serializable(MimeTypeSerializer::class) + object XDtbresourceXml: Application ("application/x-dtbresource+xml") @Serializable(MimeTypeSerializer::class) object VndDvbAit: Application ("application/vnd.dvb.ait") @Serializable(MimeTypeSerializer::class) object VndDvbService: Application ("application/vnd.dvb.service") @Serializable(MimeTypeSerializer::class) + object XmlDtd: Application ("application/xml-dtd") + @Serializable(MimeTypeSerializer::class) + object VndDolbyMlp: Application ("application/vnd.dolby.mlp") + @Serializable(MimeTypeSerializer::class) + object XDoom: Application ("application/x-doom") + @Serializable(MimeTypeSerializer::class) + object VndDpgraph: Application ("application/vnd.dpgraph") + @Serializable(MimeTypeSerializer::class) + object VndDreamfactory: Application ("application/vnd.dreamfactory") + @Serializable(MimeTypeSerializer::class) object VndDynageo: Application ("application/vnd.dynageo") @Serializable(MimeTypeSerializer::class) + object Ecmascript: Application ("application/ecmascript") + @Serializable(MimeTypeSerializer::class) object VndEcowinChart: Application ("application/vnd.ecowin.chart") @Serializable(MimeTypeSerializer::class) + object Exi: Application ("application/exi") + @Serializable(MimeTypeSerializer::class) + object VndProteusMagazine: Application ("application/vnd.proteus.magazine") + @Serializable(MimeTypeSerializer::class) + object EpubZip: Application ("application/epub+zip") + @Serializable(MimeTypeSerializer::class) object VndEnliven: Application ("application/vnd.enliven") @Serializable(MimeTypeSerializer::class) - object VndEpsonEsf: Application ("application/vnd.epson.esf") + object VndIsXpr: Application ("application/vnd.is-xpr") @Serializable(MimeTypeSerializer::class) - object VndEpsonMsf: Application ("application/vnd.epson.msf") + object VndXfdl: Application ("application/vnd.xfdl") @Serializable(MimeTypeSerializer::class) - object VndEpsonQuickanime: Application ("application/vnd.epson.quickanime") - @Serializable(MimeTypeSerializer::class) - object VndEpsonSalt: Application ("application/vnd.epson.salt") - @Serializable(MimeTypeSerializer::class) - object VndEpsonSsf: Application ("application/vnd.epson.ssf") - @Serializable(MimeTypeSerializer::class) - object VndEszigno3Xml: Application ("application/vnd.eszigno3+xml") + object EmmaXml: Application ("application/emma+xml") @Serializable(MimeTypeSerializer::class) object VndEzpixAlbum: Application ("application/vnd.ezpix-album") @Serializable(MimeTypeSerializer::class) object VndEzpixPackage: Application ("application/vnd.ezpix-package") @Serializable(MimeTypeSerializer::class) - object VndFdf: Application ("application/vnd.fdf") - @Serializable(MimeTypeSerializer::class) - object VndFdsnSeed: Application ("application/vnd.fdsn.seed") - @Serializable(MimeTypeSerializer::class) - object VndFlographit: Application ("application/vnd.flographit") + object VndDenovoFcselayoutLink: Application ("application/vnd.denovo.fcselayout-link") @Serializable(MimeTypeSerializer::class) object VndFluxtimeClip: Application ("application/vnd.fluxtime.clip") @Serializable(MimeTypeSerializer::class) + object VndFdf: Application ("application/vnd.fdf") + @Serializable(MimeTypeSerializer::class) + object VndMif: Application ("application/vnd.mif") + @Serializable(MimeTypeSerializer::class) object VndFramemaker: Application ("application/vnd.framemaker") @Serializable(MimeTypeSerializer::class) + object VndFscWeblaunch: Application ("application/vnd.fsc.weblaunch") + @Serializable(MimeTypeSerializer::class) object VndFrogansFnc: Application ("application/vnd.frogans.fnc") @Serializable(MimeTypeSerializer::class) object VndFrogansLtf: Application ("application/vnd.frogans.ltf") @Serializable(MimeTypeSerializer::class) - object VndFscWeblaunch: Application ("application/vnd.fsc.weblaunch") + object VndFujixeroxDdd: Application ("application/vnd.fujixerox.ddd") + @Serializable(MimeTypeSerializer::class) + object VndFujixeroxDocuworks: Application ("application/vnd.fujixerox.docuworks") + @Serializable(MimeTypeSerializer::class) + object VndFujixeroxDocuworksBinder: Application ("application/vnd.fujixerox.docuworks.binder") @Serializable(MimeTypeSerializer::class) object VndFujitsuOasys: Application ("application/vnd.fujitsu.oasys") @Serializable(MimeTypeSerializer::class) @@ -372,14 +266,12 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndFujitsuOasysprs: Application ("application/vnd.fujitsu.oasysprs") @Serializable(MimeTypeSerializer::class) - object VndFujixeroxDdd: Application ("application/vnd.fujixerox.ddd") - @Serializable(MimeTypeSerializer::class) - object VndFujixeroxDocuworks: Application ("application/vnd.fujixerox.docuworks") - @Serializable(MimeTypeSerializer::class) - object VndFujixeroxDocuworksBinder: Application ("application/vnd.fujixerox.docuworks.binder") + object XFuturesplash: Application ("application/x-futuresplash") @Serializable(MimeTypeSerializer::class) object VndFuzzysheet: Application ("application/vnd.fuzzysheet") @Serializable(MimeTypeSerializer::class) + object VndGmx: Application ("application/vnd.gmx") + @Serializable(MimeTypeSerializer::class) object VndGenomatixTuxedo: Application ("application/vnd.genomatix.tuxedo") @Serializable(MimeTypeSerializer::class) object VndGeogebraFile: Application ("application/vnd.geogebra.file") @@ -394,12 +286,22 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndGeospace: Application ("application/vnd.geospace") @Serializable(MimeTypeSerializer::class) - object VndGmx: Application ("application/vnd.gmx") + object XFontGhostscript: Application ("application/x-font-ghostscript") + @Serializable(MimeTypeSerializer::class) + object XFontBdf: Application ("application/x-font-bdf") + @Serializable(MimeTypeSerializer::class) + object XGtar: Application ("application/x-gtar") + @Serializable(MimeTypeSerializer::class) + object XTexinfo: Application ("application/x-texinfo") + @Serializable(MimeTypeSerializer::class) + object XGnumeric: Application ("application/x-gnumeric") @Serializable(MimeTypeSerializer::class) object VndGoogleEarthKmlXml: Application ("application/vnd.google-earth.kml+xml") @Serializable(MimeTypeSerializer::class) object VndGoogleEarthKmz: Application ("application/vnd.google-earth.kmz") @Serializable(MimeTypeSerializer::class) + object GpxXml: Application ("application/gpx+xml") + @Serializable(MimeTypeSerializer::class) object VndGrafeq: Application ("application/vnd.grafeq") @Serializable(MimeTypeSerializer::class) object VndGrooveAccount: Application ("application/vnd.groove-account") @@ -416,33 +318,33 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndGrooveVcard: Application ("application/vnd.groove-vcard") @Serializable(MimeTypeSerializer::class) - object VndHalXml: Application ("application/vnd.hal+xml") - @Serializable(MimeTypeSerializer::class) - object VndHandheldEntertainmentXml: Application ("application/vnd.handheld-entertainment+xml") - @Serializable(MimeTypeSerializer::class) - object VndHbci: Application ("application/vnd.hbci") - @Serializable(MimeTypeSerializer::class) - object VndHheLessonPlayer: Application ("application/vnd.hhe.lesson-player") - @Serializable(MimeTypeSerializer::class) - object VndHpHpgl: Application ("application/vnd.hp-hpgl") + object Gzip: Application ("application/gzip") @Serializable(MimeTypeSerializer::class) object VndHpHpid: Application ("application/vnd.hp-hpid") @Serializable(MimeTypeSerializer::class) object VndHpHps: Application ("application/vnd.hp-hps") @Serializable(MimeTypeSerializer::class) + object XHdf: Application ("application/x-hdf") + @Serializable(MimeTypeSerializer::class) + object VndHbci: Application ("application/vnd.hbci") + @Serializable(MimeTypeSerializer::class) object VndHpJlyt: Application ("application/vnd.hp-jlyt") @Serializable(MimeTypeSerializer::class) object VndHpPcl: Application ("application/vnd.hp-pcl") @Serializable(MimeTypeSerializer::class) - object VndHpPclxl: Application ("application/vnd.hp-pclxl") + object VndHpHpgl: Application ("application/vnd.hp-hpgl") + @Serializable(MimeTypeSerializer::class) + object VndYamahaHvScript: Application ("application/vnd.yamaha.hv-script") + @Serializable(MimeTypeSerializer::class) + object VndYamahaHvDic: Application ("application/vnd.yamaha.hv-dic") + @Serializable(MimeTypeSerializer::class) + object VndYamahaHvVoice: Application ("application/vnd.yamaha.hv-voice") @Serializable(MimeTypeSerializer::class) object VndHydrostatixSofData: Application ("application/vnd.hydrostatix.sof-data") @Serializable(MimeTypeSerializer::class) - object VndHzn3dCrossword: Application ("application/vnd.hzn-3d-crossword") + object Hyperstudio: Application ("application/hyperstudio") @Serializable(MimeTypeSerializer::class) - object VndIbmMinipay: Application ("application/vnd.ibm.minipay") - @Serializable(MimeTypeSerializer::class) - object VndIbmModcap: Application ("application/vnd.ibm.modcap") + object VndHalXml: Application ("application/vnd.hal+xml") @Serializable(MimeTypeSerializer::class) object VndIbmRightsManagement: Application ("application/vnd.ibm.rights-management") @Serializable(MimeTypeSerializer::class) @@ -456,34 +358,52 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndImmervisionIvu: Application ("application/vnd.immervision-ivu") @Serializable(MimeTypeSerializer::class) - object VndInsorsIgm: Application ("application/vnd.insors.igm") - @Serializable(MimeTypeSerializer::class) - object VndInterconFormnet: Application ("application/vnd.intercon.formnet") + object ReginfoXml: Application ("application/reginfo+xml") @Serializable(MimeTypeSerializer::class) object VndIntergeo: Application ("application/vnd.intergeo") @Serializable(MimeTypeSerializer::class) - object VndIntuQbo: Application ("application/vnd.intu.qbo") + object VndCinderella: Application ("application/vnd.cinderella") @Serializable(MimeTypeSerializer::class) - object VndIntuQfx: Application ("application/vnd.intu.qfx") + object VndInterconFormnet: Application ("application/vnd.intercon.formnet") + @Serializable(MimeTypeSerializer::class) + object VndIsacFcs: Application ("application/vnd.isac.fcs") + @Serializable(MimeTypeSerializer::class) + object Ipfix: Application ("application/ipfix") + @Serializable(MimeTypeSerializer::class) + object PkixCert: Application ("application/pkix-cert") + @Serializable(MimeTypeSerializer::class) + object Pkixcmp: Application ("application/pkixcmp") + @Serializable(MimeTypeSerializer::class) + object PkixCrl: Application ("application/pkix-crl") + @Serializable(MimeTypeSerializer::class) + object PkixPkipath: Application ("application/pkix-pkipath") + @Serializable(MimeTypeSerializer::class) + object VndInsorsIgm: Application ("application/vnd.insors.igm") @Serializable(MimeTypeSerializer::class) object VndIpunpluggedRcprofile: Application ("application/vnd.ipunplugged.rcprofile") @Serializable(MimeTypeSerializer::class) object VndIrepositoryPackageXml: Application ("application/vnd.irepository.package+xml") @Serializable(MimeTypeSerializer::class) - object VndIsXpr: Application ("application/vnd.is-xpr") + object JavaArchive: Application ("application/java-archive") @Serializable(MimeTypeSerializer::class) - object VndIsacFcs: Application ("application/vnd.isac.fcs") + object JavaVm: Application ("application/java-vm") @Serializable(MimeTypeSerializer::class) - object VndJam: Application ("application/vnd.jam") + object XJavaJnlpFile: Application ("application/x-java-jnlp-file") @Serializable(MimeTypeSerializer::class) - object VndJcpJavameMidletRms: Application ("application/vnd.jcp.javame.midlet-rms") + object JavaSerializedObject: Application ("application/java-serialized-object") @Serializable(MimeTypeSerializer::class) - object VndJisp: Application ("application/vnd.jisp") + object Javascript: Application ("application/javascript") + @Serializable(MimeTypeSerializer::class) + object Json: Application ("application/json") @Serializable(MimeTypeSerializer::class) object VndJoostJodaArchive: Application ("application/vnd.joost.joda-archive") @Serializable(MimeTypeSerializer::class) + object LdJson: Application ("application/ld+json") + @Serializable(MimeTypeSerializer::class) object VndKahootz: Application ("application/vnd.kahootz") @Serializable(MimeTypeSerializer::class) + object VndChipnutsKaraokeMmd: Application ("application/vnd.chipnuts.karaoke-mmd") + @Serializable(MimeTypeSerializer::class) object VndKdeKarbon: Application ("application/vnd.kde.karbon") @Serializable(MimeTypeSerializer::class) object VndKdeKchart: Application ("application/vnd.kde.kchart") @@ -506,16 +426,18 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndKinar: Application ("application/vnd.kinar") @Serializable(MimeTypeSerializer::class) - object VndKoan: Application ("application/vnd.koan") - @Serializable(MimeTypeSerializer::class) object VndKodakDescriptor: Application ("application/vnd.kodak-descriptor") @Serializable(MimeTypeSerializer::class) object VndLasLasXml: Application ("application/vnd.las.las+xml") @Serializable(MimeTypeSerializer::class) + object XLatex: Application ("application/x-latex") + @Serializable(MimeTypeSerializer::class) object VndLlamagraphicsLifeBalanceDesktop: Application ("application/vnd.llamagraphics.life-balance.desktop") @Serializable(MimeTypeSerializer::class) object VndLlamagraphicsLifeBalanceExchangeXml: Application ("application/vnd.llamagraphics.life-balance.exchange+xml") @Serializable(MimeTypeSerializer::class) + object VndJam: Application ("application/vnd.jam") + @Serializable(MimeTypeSerializer::class) object VndLotus123: Application ("application/vnd.lotus-1-2-3") @Serializable(MimeTypeSerializer::class) object VndLotusApproach: Application ("application/vnd.lotus-approach") @@ -530,114 +452,220 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndLotusWordpro: Application ("application/vnd.lotus-wordpro") @Serializable(MimeTypeSerializer::class) + object MacBinhex40: Application ("application/mac-binhex40") + @Serializable(MimeTypeSerializer::class) object VndMacportsPortpkg: Application ("application/vnd.macports.portpkg") @Serializable(MimeTypeSerializer::class) - object VndMcd: Application ("application/vnd.mcd") + object VndOsgeoMapguidePackage: Application ("application/vnd.osgeo.mapguide.package") + @Serializable(MimeTypeSerializer::class) + object Marc: Application ("application/marc") + @Serializable(MimeTypeSerializer::class) + object MarcxmlXml: Application ("application/marcxml+xml") + @Serializable(MimeTypeSerializer::class) + object Mxf: Application ("application/mxf") + @Serializable(MimeTypeSerializer::class) + object VndWolframPlayer: Application ("application/vnd.wolfram.player") + @Serializable(MimeTypeSerializer::class) + object Mathematica: Application ("application/mathematica") + @Serializable(MimeTypeSerializer::class) + object MathmlXml: Application ("application/mathml+xml") + @Serializable(MimeTypeSerializer::class) + object Mbox: Application ("application/mbox") @Serializable(MimeTypeSerializer::class) object VndMedcalcdata: Application ("application/vnd.medcalcdata") @Serializable(MimeTypeSerializer::class) + object MediaservercontrolXml: Application ("application/mediaservercontrol+xml") + @Serializable(MimeTypeSerializer::class) object VndMediastationCdkey: Application ("application/vnd.mediastation.cdkey") @Serializable(MimeTypeSerializer::class) object VndMfer: Application ("application/vnd.mfer") @Serializable(MimeTypeSerializer::class) object VndMfmp: Application ("application/vnd.mfmp") @Serializable(MimeTypeSerializer::class) + object MadsXml: Application ("application/mads+xml") + @Serializable(MimeTypeSerializer::class) + object MetsXml: Application ("application/mets+xml") + @Serializable(MimeTypeSerializer::class) + object ModsXml: Application ("application/mods+xml") + @Serializable(MimeTypeSerializer::class) + object Metalink4Xml: Application ("application/metalink4+xml") + @Serializable(MimeTypeSerializer::class) + object VndMcd: Application ("application/vnd.mcd") + @Serializable(MimeTypeSerializer::class) object VndMicrografxFlo: Application ("application/vnd.micrografx.flo") @Serializable(MimeTypeSerializer::class) object VndMicrografxIgx: Application ("application/vnd.micrografx.igx") @Serializable(MimeTypeSerializer::class) - object VndMif: Application ("application/vnd.mif") + object VndEszigno3Xml: Application ("application/vnd.eszigno3+xml") @Serializable(MimeTypeSerializer::class) - object VndMobiusDaf: Application ("application/vnd.mobius.daf") + object XMsaccess: Application ("application/x-msaccess") @Serializable(MimeTypeSerializer::class) - object VndMobiusDis: Application ("application/vnd.mobius.dis") - @Serializable(MimeTypeSerializer::class) - object VndMobiusMbk: Application ("application/vnd.mobius.mbk") - @Serializable(MimeTypeSerializer::class) - object VndMobiusMqy: Application ("application/vnd.mobius.mqy") - @Serializable(MimeTypeSerializer::class) - object VndMobiusMsl: Application ("application/vnd.mobius.msl") - @Serializable(MimeTypeSerializer::class) - object VndMobiusPlc: Application ("application/vnd.mobius.plc") - @Serializable(MimeTypeSerializer::class) - object VndMobiusTxf: Application ("application/vnd.mobius.txf") - @Serializable(MimeTypeSerializer::class) - object VndMophunApplication: Application ("application/vnd.mophun.application") - @Serializable(MimeTypeSerializer::class) - object VndMophunCertificate: Application ("application/vnd.mophun.certificate") - @Serializable(MimeTypeSerializer::class) - object VndMozillaXulXml: Application ("application/vnd.mozilla.xul+xml") + object XMsdownload: Application ("application/x-msdownload") @Serializable(MimeTypeSerializer::class) object VndMsArtgalry: Application ("application/vnd.ms-artgalry") @Serializable(MimeTypeSerializer::class) object VndMsCabCompressed: Application ("application/vnd.ms-cab-compressed") @Serializable(MimeTypeSerializer::class) + object VndMsIms: Application ("application/vnd.ms-ims") + @Serializable(MimeTypeSerializer::class) + object XMsApplication: Application ("application/x-ms-application") + @Serializable(MimeTypeSerializer::class) + object XMsclip: Application ("application/x-msclip") + @Serializable(MimeTypeSerializer::class) + object VndMsFontobject: Application ("application/vnd.ms-fontobject") + @Serializable(MimeTypeSerializer::class) object VndMsExcel: Application ("application/vnd.ms-excel") @Serializable(MimeTypeSerializer::class) object VndMsExcelAddinMacroenabled12: Application ("application/vnd.ms-excel.addin.macroenabled.12") @Serializable(MimeTypeSerializer::class) object VndMsExcelSheetBinaryMacroenabled12: Application ("application/vnd.ms-excel.sheet.binary.macroenabled.12") @Serializable(MimeTypeSerializer::class) - object VndMsExcelSheetMacroenabled12: Application ("application/vnd.ms-excel.sheet.macroenabled.12") - @Serializable(MimeTypeSerializer::class) object VndMsExcelTemplateMacroenabled12: Application ("application/vnd.ms-excel.template.macroenabled.12") @Serializable(MimeTypeSerializer::class) - object VndMsFontobject: Application ("application/vnd.ms-fontobject") + object VndMsExcelSheetMacroenabled12: Application ("application/vnd.ms-excel.sheet.macroenabled.12") @Serializable(MimeTypeSerializer::class) object VndMsHtmlhelp: Application ("application/vnd.ms-htmlhelp") @Serializable(MimeTypeSerializer::class) - object VndMsIms: Application ("application/vnd.ms-ims") + object XMscardfile: Application ("application/x-mscardfile") @Serializable(MimeTypeSerializer::class) object VndMsLrm: Application ("application/vnd.ms-lrm") @Serializable(MimeTypeSerializer::class) + object XMsmediaview: Application ("application/x-msmediaview") + @Serializable(MimeTypeSerializer::class) + object XMsmoney: Application ("application/x-msmoney") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentPresentationmlPresentation: Application ("application/vnd.openxmlformats-officedocument.presentationml.presentation") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentPresentationmlSlide: Application ("application/vnd.openxmlformats-officedocument.presentationml.slide") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentPresentationmlSlideshow: Application ("application/vnd.openxmlformats-officedocument.presentationml.slideshow") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentPresentationmlTemplate: Application ("application/vnd.openxmlformats-officedocument.presentationml.template") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: Application ("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate: Application ("application/vnd.openxmlformats-officedocument.spreadsheetml.template") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentWordprocessingmlDocument: Application ("application/vnd.openxmlformats-officedocument.wordprocessingml.document") + @Serializable(MimeTypeSerializer::class) + object VndOpenxmlformatsOfficedocumentWordprocessingmlTemplate: Application ("application/vnd.openxmlformats-officedocument.wordprocessingml.template") + @Serializable(MimeTypeSerializer::class) + object XMsbinder: Application ("application/x-msbinder") + @Serializable(MimeTypeSerializer::class) object VndMsOfficetheme: Application ("application/vnd.ms-officetheme") @Serializable(MimeTypeSerializer::class) - object VndMsPkiSeccat: Application ("application/vnd.ms-pki.seccat") - @Serializable(MimeTypeSerializer::class) - object VndMsPkiStl: Application ("application/vnd.ms-pki.stl") + object Onenote: Application ("application/onenote") @Serializable(MimeTypeSerializer::class) object VndMsPowerpoint: Application ("application/vnd.ms-powerpoint") @Serializable(MimeTypeSerializer::class) object VndMsPowerpointAddinMacroenabled12: Application ("application/vnd.ms-powerpoint.addin.macroenabled.12") @Serializable(MimeTypeSerializer::class) - object VndMsPowerpointPresentationMacroenabled12: Application ("application/vnd.ms-powerpoint.presentation.macroenabled.12") - @Serializable(MimeTypeSerializer::class) object VndMsPowerpointSlideMacroenabled12: Application ("application/vnd.ms-powerpoint.slide.macroenabled.12") @Serializable(MimeTypeSerializer::class) + object VndMsPowerpointPresentationMacroenabled12: Application ("application/vnd.ms-powerpoint.presentation.macroenabled.12") + @Serializable(MimeTypeSerializer::class) object VndMsPowerpointSlideshowMacroenabled12: Application ("application/vnd.ms-powerpoint.slideshow.macroenabled.12") @Serializable(MimeTypeSerializer::class) object VndMsPowerpointTemplateMacroenabled12: Application ("application/vnd.ms-powerpoint.template.macroenabled.12") @Serializable(MimeTypeSerializer::class) object VndMsProject: Application ("application/vnd.ms-project") @Serializable(MimeTypeSerializer::class) + object XMspublisher: Application ("application/x-mspublisher") + @Serializable(MimeTypeSerializer::class) + object XMsschedule: Application ("application/x-msschedule") + @Serializable(MimeTypeSerializer::class) + object XSilverlightApp: Application ("application/x-silverlight-app") + @Serializable(MimeTypeSerializer::class) + object VndMsPkiStl: Application ("application/vnd.ms-pki.stl") + @Serializable(MimeTypeSerializer::class) + object VndMsPkiSeccat: Application ("application/vnd.ms-pki.seccat") + @Serializable(MimeTypeSerializer::class) + object VndVisio: Application ("application/vnd.visio") + @Serializable(MimeTypeSerializer::class) + object VndVisio2013: Application ("application/vnd.visio2013") + @Serializable(MimeTypeSerializer::class) + object XMsWmd: Application ("application/x-ms-wmd") + @Serializable(MimeTypeSerializer::class) + object VndMsWpl: Application ("application/vnd.ms-wpl") + @Serializable(MimeTypeSerializer::class) + object XMsWmz: Application ("application/x-ms-wmz") + @Serializable(MimeTypeSerializer::class) + object XMsmetafile: Application ("application/x-msmetafile") + @Serializable(MimeTypeSerializer::class) + object XMsterminal: Application ("application/x-msterminal") + @Serializable(MimeTypeSerializer::class) + object Msword: Application ("application/msword") + @Serializable(MimeTypeSerializer::class) object VndMsWordDocumentMacroenabled12: Application ("application/vnd.ms-word.document.macroenabled.12") @Serializable(MimeTypeSerializer::class) object VndMsWordTemplateMacroenabled12: Application ("application/vnd.ms-word.template.macroenabled.12") @Serializable(MimeTypeSerializer::class) + object XMswrite: Application ("application/x-mswrite") + @Serializable(MimeTypeSerializer::class) object VndMsWorks: Application ("application/vnd.ms-works") @Serializable(MimeTypeSerializer::class) - object VndMsWpl: Application ("application/vnd.ms-wpl") + object XMsXbap: Application ("application/x-ms-xbap") @Serializable(MimeTypeSerializer::class) object VndMsXpsdocument: Application ("application/vnd.ms-xpsdocument") @Serializable(MimeTypeSerializer::class) - object VndMseq: Application ("application/vnd.mseq") + object VndIbmMinipay: Application ("application/vnd.ibm.minipay") + @Serializable(MimeTypeSerializer::class) + object VndIbmModcap: Application ("application/vnd.ibm.modcap") + @Serializable(MimeTypeSerializer::class) + object VndJcpJavameMidletRms: Application ("application/vnd.jcp.javame.midlet-rms") + @Serializable(MimeTypeSerializer::class) + object VndTmobileLivetv: Application ("application/vnd.tmobile-livetv") + @Serializable(MimeTypeSerializer::class) + object XMobipocketEbook: Application ("application/x-mobipocket-ebook") + @Serializable(MimeTypeSerializer::class) + object VndMobiusMbk: Application ("application/vnd.mobius.mbk") + @Serializable(MimeTypeSerializer::class) + object VndMobiusDis: Application ("application/vnd.mobius.dis") + @Serializable(MimeTypeSerializer::class) + object VndMobiusPlc: Application ("application/vnd.mobius.plc") + @Serializable(MimeTypeSerializer::class) + object VndMobiusMqy: Application ("application/vnd.mobius.mqy") + @Serializable(MimeTypeSerializer::class) + object VndMobiusMsl: Application ("application/vnd.mobius.msl") + @Serializable(MimeTypeSerializer::class) + object VndMobiusTxf: Application ("application/vnd.mobius.txf") + @Serializable(MimeTypeSerializer::class) + object VndMobiusDaf: Application ("application/vnd.mobius.daf") + @Serializable(MimeTypeSerializer::class) + object VndMophunCertificate: Application ("application/vnd.mophun.certificate") + @Serializable(MimeTypeSerializer::class) + object VndMophunApplication: Application ("application/vnd.mophun.application") + @Serializable(MimeTypeSerializer::class) + object Mp21: Application ("application/mp21") + @Serializable(MimeTypeSerializer::class) + object Mp4: Application ("application/mp4") + @Serializable(MimeTypeSerializer::class) + object VndAppleMpegurl: Application ("application/vnd.apple.mpegurl") @Serializable(MimeTypeSerializer::class) object VndMusician: Application ("application/vnd.musician") @Serializable(MimeTypeSerializer::class) object VndMuveeStyle: Application ("application/vnd.muvee.style") @Serializable(MimeTypeSerializer::class) + object XvXml: Application ("application/xv+xml") + @Serializable(MimeTypeSerializer::class) + object VndNokiaNGageData: Application ("application/vnd.nokia.n-gage.data") + @Serializable(MimeTypeSerializer::class) + object VndNokiaNGageSymbianInstall: Application ("application/vnd.nokia.n-gage.symbian.install") + @Serializable(MimeTypeSerializer::class) + object XDtbncxXml: Application ("application/x-dtbncx+xml") + @Serializable(MimeTypeSerializer::class) + object XNetcdf: Application ("application/x-netcdf") + @Serializable(MimeTypeSerializer::class) object VndNeurolanguageNlu: Application ("application/vnd.neurolanguage.nlu") @Serializable(MimeTypeSerializer::class) + object VndDna: Application ("application/vnd.dna") + @Serializable(MimeTypeSerializer::class) object VndNoblenetDirectory: Application ("application/vnd.noblenet-directory") @Serializable(MimeTypeSerializer::class) object VndNoblenetSealer: Application ("application/vnd.noblenet-sealer") @Serializable(MimeTypeSerializer::class) object VndNoblenetWeb: Application ("application/vnd.noblenet-web") @Serializable(MimeTypeSerializer::class) - object VndNokiaNGageData: Application ("application/vnd.nokia.n-gage.data") - @Serializable(MimeTypeSerializer::class) - object VndNokiaNGageSymbianInstall: Application ("application/vnd.nokia.n-gage.symbian.install") - @Serializable(MimeTypeSerializer::class) object VndNokiaRadioPreset: Application ("application/vnd.nokia.radio-preset") @Serializable(MimeTypeSerializer::class) object VndNokiaRadioPresets: Application ("application/vnd.nokia.radio-presets") @@ -648,6 +676,24 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndNovadigmExt: Application ("application/vnd.novadigm.ext") @Serializable(MimeTypeSerializer::class) + object VndFlographit: Application ("application/vnd.flographit") + @Serializable(MimeTypeSerializer::class) + object Oda: Application ("application/oda") + @Serializable(MimeTypeSerializer::class) + object Ogg: Application ("application/ogg") + @Serializable(MimeTypeSerializer::class) + object VndOmaDd2Xml: Application ("application/vnd.oma.dd2+xml") + @Serializable(MimeTypeSerializer::class) + object VndOasisOpendocumentTextWeb: Application ("application/vnd.oasis.opendocument.text-web") + @Serializable(MimeTypeSerializer::class) + object OebpsPackageXml: Application ("application/oebps-package+xml") + @Serializable(MimeTypeSerializer::class) + object VndIntuQbo: Application ("application/vnd.intu.qbo") + @Serializable(MimeTypeSerializer::class) + object VndOpenofficeorgExtension: Application ("application/vnd.openofficeorg.extension") + @Serializable(MimeTypeSerializer::class) + object VndYamahaOpenscoreformat: Application ("application/vnd.yamaha.openscoreformat") + @Serializable(MimeTypeSerializer::class) object VndOasisOpendocumentChart: Application ("application/vnd.oasis.opendocument.chart") @Serializable(MimeTypeSerializer::class) object VndOasisOpendocumentChartTemplate: Application ("application/vnd.oasis.opendocument.chart-template") @@ -680,118 +726,6 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndOasisOpendocumentTextTemplate: Application ("application/vnd.oasis.opendocument.text-template") @Serializable(MimeTypeSerializer::class) - object VndOasisOpendocumentTextWeb: Application ("application/vnd.oasis.opendocument.text-web") - @Serializable(MimeTypeSerializer::class) - object VndOlpcSugar: Application ("application/vnd.olpc-sugar") - @Serializable(MimeTypeSerializer::class) - object VndOmaDd2Xml: Application ("application/vnd.oma.dd2+xml") - @Serializable(MimeTypeSerializer::class) - object VndOpenofficeorgExtension: Application ("application/vnd.openofficeorg.extension") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentPresentationmlPresentation: Application ("application/vnd.openxmlformats-officedocument.presentationml.presentation") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentPresentationmlSlide: Application ("application/vnd.openxmlformats-officedocument.presentationml.slide") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentPresentationmlSlideshow: Application ("application/vnd.openxmlformats-officedocument.presentationml.slideshow") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentPresentationmlTemplate: Application ("application/vnd.openxmlformats-officedocument.presentationml.template") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: Application ("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate: Application ("application/vnd.openxmlformats-officedocument.spreadsheetml.template") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentWordprocessingmlDocument: Application ("application/vnd.openxmlformats-officedocument.wordprocessingml.document") - @Serializable(MimeTypeSerializer::class) - object VndOpenxmlformatsOfficedocumentWordprocessingmlTemplate: Application ("application/vnd.openxmlformats-officedocument.wordprocessingml.template") - @Serializable(MimeTypeSerializer::class) - object VndOsgeoMapguidePackage: Application ("application/vnd.osgeo.mapguide.package") - @Serializable(MimeTypeSerializer::class) - object VndOsgiDp: Application ("application/vnd.osgi.dp") - @Serializable(MimeTypeSerializer::class) - object VndPalm: Application ("application/vnd.palm") - @Serializable(MimeTypeSerializer::class) - object VndPawaafile: Application ("application/vnd.pawaafile") - @Serializable(MimeTypeSerializer::class) - object VndPgFormat: Application ("application/vnd.pg.format") - @Serializable(MimeTypeSerializer::class) - object VndPgOsasli: Application ("application/vnd.pg.osasli") - @Serializable(MimeTypeSerializer::class) - object VndPicsel: Application ("application/vnd.picsel") - @Serializable(MimeTypeSerializer::class) - object VndPmiWidget: Application ("application/vnd.pmi.widget") - @Serializable(MimeTypeSerializer::class) - object VndPocketlearn: Application ("application/vnd.pocketlearn") - @Serializable(MimeTypeSerializer::class) - object VndPowerbuilder6: Application ("application/vnd.powerbuilder6") - @Serializable(MimeTypeSerializer::class) - object VndPreviewsystemsBox: Application ("application/vnd.previewsystems.box") - @Serializable(MimeTypeSerializer::class) - object VndProteusMagazine: Application ("application/vnd.proteus.magazine") - @Serializable(MimeTypeSerializer::class) - object VndPublishareDeltaTree: Application ("application/vnd.publishare-delta-tree") - @Serializable(MimeTypeSerializer::class) - object VndPviPtid1: Application ("application/vnd.pvi.ptid1") - @Serializable(MimeTypeSerializer::class) - object VndQuarkQuarkxpress: Application ("application/vnd.quark.quarkxpress") - @Serializable(MimeTypeSerializer::class) - object VndRealvncBed: Application ("application/vnd.realvnc.bed") - @Serializable(MimeTypeSerializer::class) - object VndRecordareMusicxml: Application ("application/vnd.recordare.musicxml") - @Serializable(MimeTypeSerializer::class) - object VndRecordareMusicxmlXml: Application ("application/vnd.recordare.musicxml+xml") - @Serializable(MimeTypeSerializer::class) - object VndRigCryptonote: Application ("application/vnd.rig.cryptonote") - @Serializable(MimeTypeSerializer::class) - object VndRimCod: Application ("application/vnd.rim.cod") - @Serializable(MimeTypeSerializer::class) - object VndRnRealmedia: Application ("application/vnd.rn-realmedia") - @Serializable(MimeTypeSerializer::class) - object VndRoute66Link66Xml: Application ("application/vnd.route66.link66+xml") - @Serializable(MimeTypeSerializer::class) - object VndSailingtrackerTrack: Application ("application/vnd.sailingtracker.track") - @Serializable(MimeTypeSerializer::class) - object VndSeemail: Application ("application/vnd.seemail") - @Serializable(MimeTypeSerializer::class) - object VndSema: Application ("application/vnd.sema") - @Serializable(MimeTypeSerializer::class) - object VndSemd: Application ("application/vnd.semd") - @Serializable(MimeTypeSerializer::class) - object VndSemf: Application ("application/vnd.semf") - @Serializable(MimeTypeSerializer::class) - object VndShanaInformedFormdata: Application ("application/vnd.shana.informed.formdata") - @Serializable(MimeTypeSerializer::class) - object VndShanaInformedFormtemplate: Application ("application/vnd.shana.informed.formtemplate") - @Serializable(MimeTypeSerializer::class) - object VndShanaInformedInterchange: Application ("application/vnd.shana.informed.interchange") - @Serializable(MimeTypeSerializer::class) - object VndShanaInformedPackage: Application ("application/vnd.shana.informed.package") - @Serializable(MimeTypeSerializer::class) - object VndSimtechMindmapper: Application ("application/vnd.simtech-mindmapper") - @Serializable(MimeTypeSerializer::class) - object VndSmaf: Application ("application/vnd.smaf") - @Serializable(MimeTypeSerializer::class) - object VndSmartTeacher: Application ("application/vnd.smart.teacher") - @Serializable(MimeTypeSerializer::class) - object VndSolentSdkmXml: Application ("application/vnd.solent.sdkm+xml") - @Serializable(MimeTypeSerializer::class) - object VndSpotfireDxp: Application ("application/vnd.spotfire.dxp") - @Serializable(MimeTypeSerializer::class) - object VndSpotfireSfs: Application ("application/vnd.spotfire.sfs") - @Serializable(MimeTypeSerializer::class) - object VndStardivisionCalc: Application ("application/vnd.stardivision.calc") - @Serializable(MimeTypeSerializer::class) - object VndStardivisionDraw: Application ("application/vnd.stardivision.draw") - @Serializable(MimeTypeSerializer::class) - object VndStardivisionImpress: Application ("application/vnd.stardivision.impress") - @Serializable(MimeTypeSerializer::class) - object VndStardivisionMath: Application ("application/vnd.stardivision.math") - @Serializable(MimeTypeSerializer::class) - object VndStardivisionWriter: Application ("application/vnd.stardivision.writer") - @Serializable(MimeTypeSerializer::class) - object VndStardivisionWriterGlobal: Application ("application/vnd.stardivision.writer-global") - @Serializable(MimeTypeSerializer::class) - object VndStepmaniaStepchart: Application ("application/vnd.stepmania.stepchart") - @Serializable(MimeTypeSerializer::class) object VndSunXmlCalc: Application ("application/vnd.sun.xml.calc") @Serializable(MimeTypeSerializer::class) object VndSunXmlCalcTemplate: Application ("application/vnd.sun.xml.calc.template") @@ -812,232 +746,234 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndSunXmlWriterTemplate: Application ("application/vnd.sun.xml.writer.template") @Serializable(MimeTypeSerializer::class) + object XFontOtf: Application ("application/x-font-otf") + @Serializable(MimeTypeSerializer::class) + object VndYamahaOpenscoreformatOsfpvgXml: Application ("application/vnd.yamaha.openscoreformat.osfpvg+xml") + @Serializable(MimeTypeSerializer::class) + object VndOsgiDp: Application ("application/vnd.osgi.dp") + @Serializable(MimeTypeSerializer::class) + object VndPalm: Application ("application/vnd.palm") + @Serializable(MimeTypeSerializer::class) + object VndPawaafile: Application ("application/vnd.pawaafile") + @Serializable(MimeTypeSerializer::class) + object VndHpPclxl: Application ("application/vnd.hp-pclxl") + @Serializable(MimeTypeSerializer::class) + object VndPicsel: Application ("application/vnd.picsel") + @Serializable(MimeTypeSerializer::class) + object PicsRules: Application ("application/pics-rules") + @Serializable(MimeTypeSerializer::class) + object XChat: Application ("application/x-chat") + @Serializable(MimeTypeSerializer::class) + object Pkcs10: Application ("application/pkcs10") + @Serializable(MimeTypeSerializer::class) + object XPkcs12: Application ("application/x-pkcs12") + @Serializable(MimeTypeSerializer::class) + object Pkcs7Mime: Application ("application/pkcs7-mime") + @Serializable(MimeTypeSerializer::class) + object Pkcs7Signature: Application ("application/pkcs7-signature") + @Serializable(MimeTypeSerializer::class) + object XPkcs7Certreqresp: Application ("application/x-pkcs7-certreqresp") + @Serializable(MimeTypeSerializer::class) + object XPkcs7Certificates: Application ("application/x-pkcs7-certificates") + @Serializable(MimeTypeSerializer::class) + object Pkcs8: Application ("application/pkcs8") + @Serializable(MimeTypeSerializer::class) + object VndPocketlearn: Application ("application/vnd.pocketlearn") + @Serializable(MimeTypeSerializer::class) + object XFontPcf: Application ("application/x-font-pcf") + @Serializable(MimeTypeSerializer::class) + object FontTdpfr: Application ("application/font-tdpfr") + @Serializable(MimeTypeSerializer::class) + object XChessPgn: Application ("application/x-chess-pgn") + @Serializable(MimeTypeSerializer::class) + object PskcXml: Application ("application/pskc+xml") + @Serializable(MimeTypeSerializer::class) + object VndCtcPosml: Application ("application/vnd.ctc-posml") + @Serializable(MimeTypeSerializer::class) + object Postscript: Application ("application/postscript") + @Serializable(MimeTypeSerializer::class) + object XFontType1: Application ("application/x-font-type1") + @Serializable(MimeTypeSerializer::class) + object VndPowerbuilder6: Application ("application/vnd.powerbuilder6") + @Serializable(MimeTypeSerializer::class) + object PgpEncrypted: Application ("application/pgp-encrypted") + @Serializable(MimeTypeSerializer::class) + object PgpSignature: Application ("application/pgp-signature") + @Serializable(MimeTypeSerializer::class) + object VndPreviewsystemsBox: Application ("application/vnd.previewsystems.box") + @Serializable(MimeTypeSerializer::class) + object VndPviPtid1: Application ("application/vnd.pvi.ptid1") + @Serializable(MimeTypeSerializer::class) + object PlsXml: Application ("application/pls+xml") + @Serializable(MimeTypeSerializer::class) + object VndPgFormat: Application ("application/vnd.pg.format") + @Serializable(MimeTypeSerializer::class) + object VndPgOsasli: Application ("application/vnd.pg.osasli") + @Serializable(MimeTypeSerializer::class) + object XFontLinuxPsf: Application ("application/x-font-linux-psf") + @Serializable(MimeTypeSerializer::class) + object VndPublishareDeltaTree: Application ("application/vnd.publishare-delta-tree") + @Serializable(MimeTypeSerializer::class) + object VndPmiWidget: Application ("application/vnd.pmi.widget") + @Serializable(MimeTypeSerializer::class) + object VndQuarkQuarkxpress: Application ("application/vnd.quark.quarkxpress") + @Serializable(MimeTypeSerializer::class) + object VndEpsonEsf: Application ("application/vnd.epson.esf") + @Serializable(MimeTypeSerializer::class) + object VndEpsonMsf: Application ("application/vnd.epson.msf") + @Serializable(MimeTypeSerializer::class) + object VndEpsonSsf: Application ("application/vnd.epson.ssf") + @Serializable(MimeTypeSerializer::class) + object VndEpsonQuickanime: Application ("application/vnd.epson.quickanime") + @Serializable(MimeTypeSerializer::class) + object VndIntuQfx: Application ("application/vnd.intu.qfx") + @Serializable(MimeTypeSerializer::class) + object XRarCompressed: Application ("application/x-rar-compressed") + @Serializable(MimeTypeSerializer::class) + object RsdXml: Application ("application/rsd+xml") + @Serializable(MimeTypeSerializer::class) + object VndRnRealmedia: Application ("application/vnd.rn-realmedia") + @Serializable(MimeTypeSerializer::class) + object VndRealvncBed: Application ("application/vnd.realvnc.bed") + @Serializable(MimeTypeSerializer::class) + object VndRecordareMusicxml: Application ("application/vnd.recordare.musicxml") + @Serializable(MimeTypeSerializer::class) + object VndRecordareMusicxmlXml: Application ("application/vnd.recordare.musicxml+xml") + @Serializable(MimeTypeSerializer::class) + object RelaxNgCompactSyntax: Application ("application/relax-ng-compact-syntax") + @Serializable(MimeTypeSerializer::class) + object VndDataVisionRdz: Application ("application/vnd.data-vision.rdz") + @Serializable(MimeTypeSerializer::class) + object RdfXml: Application ("application/rdf+xml") + @Serializable(MimeTypeSerializer::class) + object VndCloantoRp9: Application ("application/vnd.cloanto.rp9") + @Serializable(MimeTypeSerializer::class) + object VndJisp: Application ("application/vnd.jisp") + @Serializable(MimeTypeSerializer::class) + object Rtf: Application ("application/rtf") + @Serializable(MimeTypeSerializer::class) + object VndRoute66Link66Xml: Application ("application/vnd.route66.link66+xml") + @Serializable(MimeTypeSerializer::class) + object RssXml: Application ("application/rss+xml") + @Serializable(MimeTypeSerializer::class) + object ShfXml: Application ("application/shf+xml") + @Serializable(MimeTypeSerializer::class) + object VndSailingtrackerTrack: Application ("application/vnd.sailingtracker.track") + @Serializable(MimeTypeSerializer::class) object VndSusCalendar: Application ("application/vnd.sus-calendar") @Serializable(MimeTypeSerializer::class) + object SruXml: Application ("application/sru+xml") + @Serializable(MimeTypeSerializer::class) + object SetPaymentInitiation: Application ("application/set-payment-initiation") + @Serializable(MimeTypeSerializer::class) + object SetRegistrationInitiation: Application ("application/set-registration-initiation") + @Serializable(MimeTypeSerializer::class) + object VndSema: Application ("application/vnd.sema") + @Serializable(MimeTypeSerializer::class) + object VndSemd: Application ("application/vnd.semd") + @Serializable(MimeTypeSerializer::class) + object VndSemf: Application ("application/vnd.semf") + @Serializable(MimeTypeSerializer::class) + object VndSeemail: Application ("application/vnd.seemail") + @Serializable(MimeTypeSerializer::class) + object XFontSnf: Application ("application/x-font-snf") + @Serializable(MimeTypeSerializer::class) + object ScvpVpRequest: Application ("application/scvp-vp-request") + @Serializable(MimeTypeSerializer::class) + object ScvpVpResponse: Application ("application/scvp-vp-response") + @Serializable(MimeTypeSerializer::class) + object ScvpCvRequest: Application ("application/scvp-cv-request") + @Serializable(MimeTypeSerializer::class) + object ScvpCvResponse: Application ("application/scvp-cv-response") + @Serializable(MimeTypeSerializer::class) + object Sdp: Application ("application/sdp") + @Serializable(MimeTypeSerializer::class) + object VndShanaInformedFormdata: Application ("application/vnd.shana.informed.formdata") + @Serializable(MimeTypeSerializer::class) + object VndShanaInformedFormtemplate: Application ("application/vnd.shana.informed.formtemplate") + @Serializable(MimeTypeSerializer::class) + object VndShanaInformedInterchange: Application ("application/vnd.shana.informed.interchange") + @Serializable(MimeTypeSerializer::class) + object VndShanaInformedPackage: Application ("application/vnd.shana.informed.package") + @Serializable(MimeTypeSerializer::class) + object ThraudXml: Application ("application/thraud+xml") + @Serializable(MimeTypeSerializer::class) + object XShar: Application ("application/x-shar") + @Serializable(MimeTypeSerializer::class) + object VndEpsonSalt: Application ("application/vnd.epson.salt") + @Serializable(MimeTypeSerializer::class) + object VndAccpacSimplyAso: Application ("application/vnd.accpac.simply.aso") + @Serializable(MimeTypeSerializer::class) + object VndAccpacSimplyImp: Application ("application/vnd.accpac.simply.imp") + @Serializable(MimeTypeSerializer::class) + object VndSimtechMindmapper: Application ("application/vnd.simtech-mindmapper") + @Serializable(MimeTypeSerializer::class) + object VndCommonspace: Application ("application/vnd.commonspace") + @Serializable(MimeTypeSerializer::class) + object VndYamahaSmafAudio: Application ("application/vnd.yamaha.smaf-audio") + @Serializable(MimeTypeSerializer::class) + object VndSmaf: Application ("application/vnd.smaf") + @Serializable(MimeTypeSerializer::class) + object VndYamahaSmafPhrase: Application ("application/vnd.yamaha.smaf-phrase") + @Serializable(MimeTypeSerializer::class) + object VndSmartTeacher: Application ("application/vnd.smart.teacher") + @Serializable(MimeTypeSerializer::class) object VndSvd: Application ("application/vnd.svd") @Serializable(MimeTypeSerializer::class) + object SparqlQuery: Application ("application/sparql-query") + @Serializable(MimeTypeSerializer::class) + object SparqlResultsXml: Application ("application/sparql-results+xml") + @Serializable(MimeTypeSerializer::class) + object Srgs: Application ("application/srgs") + @Serializable(MimeTypeSerializer::class) + object SrgsXml: Application ("application/srgs+xml") + @Serializable(MimeTypeSerializer::class) + object SsmlXml: Application ("application/ssml+xml") + @Serializable(MimeTypeSerializer::class) + object VndKoan: Application ("application/vnd.koan") + @Serializable(MimeTypeSerializer::class) + object VndStardivisionCalc: Application ("application/vnd.stardivision.calc") + @Serializable(MimeTypeSerializer::class) + object VndStardivisionDraw: Application ("application/vnd.stardivision.draw") + @Serializable(MimeTypeSerializer::class) + object VndStardivisionImpress: Application ("application/vnd.stardivision.impress") + @Serializable(MimeTypeSerializer::class) + object VndStardivisionMath: Application ("application/vnd.stardivision.math") + @Serializable(MimeTypeSerializer::class) + object VndStardivisionWriter: Application ("application/vnd.stardivision.writer") + @Serializable(MimeTypeSerializer::class) + object VndStardivisionWriterGlobal: Application ("application/vnd.stardivision.writer-global") + @Serializable(MimeTypeSerializer::class) + object VndStepmaniaStepchart: Application ("application/vnd.stepmania.stepchart") + @Serializable(MimeTypeSerializer::class) + object XStuffit: Application ("application/x-stuffit") + @Serializable(MimeTypeSerializer::class) + object XStuffitx: Application ("application/x-stuffitx") + @Serializable(MimeTypeSerializer::class) + object VndSolentSdkmXml: Application ("application/vnd.solent.sdkm+xml") + @Serializable(MimeTypeSerializer::class) + object VndOlpcSugar: Application ("application/vnd.olpc-sugar") + @Serializable(MimeTypeSerializer::class) + object VndWqd: Application ("application/vnd.wqd") + @Serializable(MimeTypeSerializer::class) object VndSymbianInstall: Application ("application/vnd.symbian.install") @Serializable(MimeTypeSerializer::class) + object SmilXml: Application ("application/smil+xml") + @Serializable(MimeTypeSerializer::class) object VndSyncmlXml: Application ("application/vnd.syncml+xml") @Serializable(MimeTypeSerializer::class) object VndSyncmlDmWbxml: Application ("application/vnd.syncml.dm+wbxml") @Serializable(MimeTypeSerializer::class) object VndSyncmlDmXml: Application ("application/vnd.syncml.dm+xml") @Serializable(MimeTypeSerializer::class) - object VndTaoIntentModuleArchive: Application ("application/vnd.tao.intent-module-archive") - @Serializable(MimeTypeSerializer::class) - object VndTmobileLivetv: Application ("application/vnd.tmobile-livetv") - @Serializable(MimeTypeSerializer::class) - object VndTridTpt: Application ("application/vnd.trid.tpt") - @Serializable(MimeTypeSerializer::class) - object VndTriscapeMxs: Application ("application/vnd.triscape.mxs") - @Serializable(MimeTypeSerializer::class) - object VndTrueapp: Application ("application/vnd.trueapp") - @Serializable(MimeTypeSerializer::class) - object VndUfdl: Application ("application/vnd.ufdl") - @Serializable(MimeTypeSerializer::class) - object VndUiqTheme: Application ("application/vnd.uiq.theme") - @Serializable(MimeTypeSerializer::class) - object VndUmajin: Application ("application/vnd.umajin") - @Serializable(MimeTypeSerializer::class) - object VndUnity: Application ("application/vnd.unity") - @Serializable(MimeTypeSerializer::class) - object VndUomlXml: Application ("application/vnd.uoml+xml") - @Serializable(MimeTypeSerializer::class) - object VndVcx: Application ("application/vnd.vcx") - @Serializable(MimeTypeSerializer::class) - object VndVisio: Application ("application/vnd.visio") - @Serializable(MimeTypeSerializer::class) - object VndVisio2013: Application ("application/vnd.visio2013") - @Serializable(MimeTypeSerializer::class) - object VndVisionary: Application ("application/vnd.visionary") - @Serializable(MimeTypeSerializer::class) - object VndVsf: Application ("application/vnd.vsf") - @Serializable(MimeTypeSerializer::class) - object VndWapWbxml: Application ("application/vnd.wap.wbxml") - @Serializable(MimeTypeSerializer::class) - object VndWapWmlc: Application ("application/vnd.wap.wmlc") - @Serializable(MimeTypeSerializer::class) - object VndWapWmlscriptc: Application ("application/vnd.wap.wmlscriptc") - @Serializable(MimeTypeSerializer::class) - object VndWebturbo: Application ("application/vnd.webturbo") - @Serializable(MimeTypeSerializer::class) - object VndWolframPlayer: Application ("application/vnd.wolfram.player") - @Serializable(MimeTypeSerializer::class) - object VndWordperfect: Application ("application/vnd.wordperfect") - @Serializable(MimeTypeSerializer::class) - object VndWqd: Application ("application/vnd.wqd") - @Serializable(MimeTypeSerializer::class) - object VndWtStf: Application ("application/vnd.wt.stf") - @Serializable(MimeTypeSerializer::class) - object VndXara: Application ("application/vnd.xara") - @Serializable(MimeTypeSerializer::class) - object VndXfdl: Application ("application/vnd.xfdl") - @Serializable(MimeTypeSerializer::class) - object VndYamahaHvDic: Application ("application/vnd.yamaha.hv-dic") - @Serializable(MimeTypeSerializer::class) - object VndYamahaHvScript: Application ("application/vnd.yamaha.hv-script") - @Serializable(MimeTypeSerializer::class) - object VndYamahaHvVoice: Application ("application/vnd.yamaha.hv-voice") - @Serializable(MimeTypeSerializer::class) - object VndYamahaOpenscoreformat: Application ("application/vnd.yamaha.openscoreformat") - @Serializable(MimeTypeSerializer::class) - object VndYamahaOpenscoreformatOsfpvgXml: Application ("application/vnd.yamaha.openscoreformat.osfpvg+xml") - @Serializable(MimeTypeSerializer::class) - object VndYamahaSmafAudio: Application ("application/vnd.yamaha.smaf-audio") - @Serializable(MimeTypeSerializer::class) - object VndYamahaSmafPhrase: Application ("application/vnd.yamaha.smaf-phrase") - @Serializable(MimeTypeSerializer::class) - object VndYellowriverCustomMenu: Application ("application/vnd.yellowriver-custom-menu") - @Serializable(MimeTypeSerializer::class) - object VndZul: Application ("application/vnd.zul") - @Serializable(MimeTypeSerializer::class) - object VndZzazzDeckXml: Application ("application/vnd.zzazz.deck+xml") - @Serializable(MimeTypeSerializer::class) - object VoicexmlXml: Application ("application/voicexml+xml") - @Serializable(MimeTypeSerializer::class) - object Widget: Application ("application/widget") - @Serializable(MimeTypeSerializer::class) - object Winhlp: Application ("application/winhlp") - @Serializable(MimeTypeSerializer::class) - object WsdlXml: Application ("application/wsdl+xml") - @Serializable(MimeTypeSerializer::class) - object WspolicyXml: Application ("application/wspolicy+xml") - @Serializable(MimeTypeSerializer::class) - object X7zCompressed: Application ("application/x-7z-compressed") - @Serializable(MimeTypeSerializer::class) - object XAbiword: Application ("application/x-abiword") - @Serializable(MimeTypeSerializer::class) - object XAceCompressed: Application ("application/x-ace-compressed") - @Serializable(MimeTypeSerializer::class) - object XAuthorwareBin: Application ("application/x-authorware-bin") - @Serializable(MimeTypeSerializer::class) - object XAuthorwareMap: Application ("application/x-authorware-map") - @Serializable(MimeTypeSerializer::class) - object XAuthorwareSeg: Application ("application/x-authorware-seg") - @Serializable(MimeTypeSerializer::class) - object XBcpio: Application ("application/x-bcpio") - @Serializable(MimeTypeSerializer::class) - object XBittorrent: Application ("application/x-bittorrent") - @Serializable(MimeTypeSerializer::class) - object XBzip: Application ("application/x-bzip") - @Serializable(MimeTypeSerializer::class) - object XBzip2: Application ("application/x-bzip2") - @Serializable(MimeTypeSerializer::class) - object XCdlink: Application ("application/x-cdlink") - @Serializable(MimeTypeSerializer::class) - object XChat: Application ("application/x-chat") - @Serializable(MimeTypeSerializer::class) - object XChessPgn: Application ("application/x-chess-pgn") - @Serializable(MimeTypeSerializer::class) - object XCpio: Application ("application/x-cpio") - @Serializable(MimeTypeSerializer::class) - object XCsh: Application ("application/x-csh") - @Serializable(MimeTypeSerializer::class) - object XDebianPackage: Application ("application/x-debian-package") - @Serializable(MimeTypeSerializer::class) - object XDirector: Application ("application/x-director") - @Serializable(MimeTypeSerializer::class) - object XDoom: Application ("application/x-doom") - @Serializable(MimeTypeSerializer::class) - object XDtbncxXml: Application ("application/x-dtbncx+xml") - @Serializable(MimeTypeSerializer::class) - object XDtbookXml: Application ("application/x-dtbook+xml") - @Serializable(MimeTypeSerializer::class) - object XDtbresourceXml: Application ("application/x-dtbresource+xml") - @Serializable(MimeTypeSerializer::class) - object XDvi: Application ("application/x-dvi") - @Serializable(MimeTypeSerializer::class) - object XFontBdf: Application ("application/x-font-bdf") - @Serializable(MimeTypeSerializer::class) - object XFontGhostscript: Application ("application/x-font-ghostscript") - @Serializable(MimeTypeSerializer::class) - object XFontLinuxPsf: Application ("application/x-font-linux-psf") - @Serializable(MimeTypeSerializer::class) - object XFontOtf: Application ("application/x-font-otf") - @Serializable(MimeTypeSerializer::class) - object XFontPcf: Application ("application/x-font-pcf") - @Serializable(MimeTypeSerializer::class) - object XFontSnf: Application ("application/x-font-snf") - @Serializable(MimeTypeSerializer::class) - object XFontTtf: Application ("application/x-font-ttf") - @Serializable(MimeTypeSerializer::class) - object XFontType1: Application ("application/x-font-type1") - @Serializable(MimeTypeSerializer::class) - object XFontWoff: Application ("application/x-font-woff") - @Serializable(MimeTypeSerializer::class) - object XFuturesplash: Application ("application/x-futuresplash") - @Serializable(MimeTypeSerializer::class) - object XGnumeric: Application ("application/x-gnumeric") - @Serializable(MimeTypeSerializer::class) - object XGtar: Application ("application/x-gtar") - @Serializable(MimeTypeSerializer::class) - object XHdf: Application ("application/x-hdf") - @Serializable(MimeTypeSerializer::class) - object XJavaJnlpFile: Application ("application/x-java-jnlp-file") - @Serializable(MimeTypeSerializer::class) - object XLatex: Application ("application/x-latex") - @Serializable(MimeTypeSerializer::class) - object XMobipocketEbook: Application ("application/x-mobipocket-ebook") - @Serializable(MimeTypeSerializer::class) - object XMsApplication: Application ("application/x-ms-application") - @Serializable(MimeTypeSerializer::class) - object XMsWmd: Application ("application/x-ms-wmd") - @Serializable(MimeTypeSerializer::class) - object XMsWmz: Application ("application/x-ms-wmz") - @Serializable(MimeTypeSerializer::class) - object XMsXbap: Application ("application/x-ms-xbap") - @Serializable(MimeTypeSerializer::class) - object XMsaccess: Application ("application/x-msaccess") - @Serializable(MimeTypeSerializer::class) - object XMsbinder: Application ("application/x-msbinder") - @Serializable(MimeTypeSerializer::class) - object XMscardfile: Application ("application/x-mscardfile") - @Serializable(MimeTypeSerializer::class) - object XMsclip: Application ("application/x-msclip") - @Serializable(MimeTypeSerializer::class) - object XMsdownload: Application ("application/x-msdownload") - @Serializable(MimeTypeSerializer::class) - object XMsmediaview: Application ("application/x-msmediaview") - @Serializable(MimeTypeSerializer::class) - object XMsmetafile: Application ("application/x-msmetafile") - @Serializable(MimeTypeSerializer::class) - object XMsmoney: Application ("application/x-msmoney") - @Serializable(MimeTypeSerializer::class) - object XMspublisher: Application ("application/x-mspublisher") - @Serializable(MimeTypeSerializer::class) - object XMsschedule: Application ("application/x-msschedule") - @Serializable(MimeTypeSerializer::class) - object XMsterminal: Application ("application/x-msterminal") - @Serializable(MimeTypeSerializer::class) - object XMswrite: Application ("application/x-mswrite") - @Serializable(MimeTypeSerializer::class) - object XNetcdf: Application ("application/x-netcdf") - @Serializable(MimeTypeSerializer::class) - object XPkcs12: Application ("application/x-pkcs12") - @Serializable(MimeTypeSerializer::class) - object XPkcs7Certificates: Application ("application/x-pkcs7-certificates") - @Serializable(MimeTypeSerializer::class) - object XPkcs7Certreqresp: Application ("application/x-pkcs7-certreqresp") - @Serializable(MimeTypeSerializer::class) - object XRarCompressed: Application ("application/x-rar-compressed") - @Serializable(MimeTypeSerializer::class) - object XSh: Application ("application/x-sh") - @Serializable(MimeTypeSerializer::class) - object XShar: Application ("application/x-shar") - @Serializable(MimeTypeSerializer::class) - object XShockwaveFlash: Application ("application/x-shockwave-flash") - @Serializable(MimeTypeSerializer::class) - object XSilverlightApp: Application ("application/x-silverlight-app") - @Serializable(MimeTypeSerializer::class) - object XStuffit: Application ("application/x-stuffit") - @Serializable(MimeTypeSerializer::class) - object XStuffitx: Application ("application/x-stuffitx") - @Serializable(MimeTypeSerializer::class) object XSv4cpio: Application ("application/x-sv4cpio") @Serializable(MimeTypeSerializer::class) object XSv4crc: Application ("application/x-sv4crc") @Serializable(MimeTypeSerializer::class) + object SbmlXml: Application ("application/sbml+xml") + @Serializable(MimeTypeSerializer::class) + object VndTaoIntentModuleArchive: Application ("application/vnd.tao.intent-module-archive") + @Serializable(MimeTypeSerializer::class) object XTar: Application ("application/x-tar") @Serializable(MimeTypeSerializer::class) object XTcl: Application ("application/x-tcl") @@ -1046,43 +982,111 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object XTexTfm: Application ("application/x-tex-tfm") @Serializable(MimeTypeSerializer::class) - object XTexinfo: Application ("application/x-texinfo") + object TeiXml: Application ("application/tei+xml") + @Serializable(MimeTypeSerializer::class) + object VndSpotfireDxp: Application ("application/vnd.spotfire.dxp") + @Serializable(MimeTypeSerializer::class) + object VndSpotfireSfs: Application ("application/vnd.spotfire.sfs") + @Serializable(MimeTypeSerializer::class) + object TimestampedData: Application ("application/timestamped-data") + @Serializable(MimeTypeSerializer::class) + object VndTridTpt: Application ("application/vnd.trid.tpt") + @Serializable(MimeTypeSerializer::class) + object VndTriscapeMxs: Application ("application/vnd.triscape.mxs") + @Serializable(MimeTypeSerializer::class) + object VndTrueapp: Application ("application/vnd.trueapp") + @Serializable(MimeTypeSerializer::class) + object XFontTtf: Application ("application/x-font-ttf") + @Serializable(MimeTypeSerializer::class) + object VndUmajin: Application ("application/vnd.umajin") + @Serializable(MimeTypeSerializer::class) + object VndUomlXml: Application ("application/vnd.uoml+xml") + @Serializable(MimeTypeSerializer::class) + object VndUnity: Application ("application/vnd.unity") + @Serializable(MimeTypeSerializer::class) + object VndUfdl: Application ("application/vnd.ufdl") + @Serializable(MimeTypeSerializer::class) + object VndUiqTheme: Application ("application/vnd.uiq.theme") @Serializable(MimeTypeSerializer::class) object XUstar: Application ("application/x-ustar") @Serializable(MimeTypeSerializer::class) + object XCdlink: Application ("application/x-cdlink") + @Serializable(MimeTypeSerializer::class) + object VndVsf: Application ("application/vnd.vsf") + @Serializable(MimeTypeSerializer::class) + object VndVcx: Application ("application/vnd.vcx") + @Serializable(MimeTypeSerializer::class) + object VndVisionary: Application ("application/vnd.visionary") + @Serializable(MimeTypeSerializer::class) + object CcxmlXml: Application ("application/ccxml+xml,") + @Serializable(MimeTypeSerializer::class) + object VoicexmlXml: Application ("application/voicexml+xml") + @Serializable(MimeTypeSerializer::class) object XWaisSource: Application ("application/x-wais-source") @Serializable(MimeTypeSerializer::class) + object VndWapWbxml: Application ("application/vnd.wap.wbxml") + @Serializable(MimeTypeSerializer::class) + object DavmountXml: Application ("application/davmount+xml") + @Serializable(MimeTypeSerializer::class) + object XFontWoff: Application ("application/x-font-woff") + @Serializable(MimeTypeSerializer::class) + object WspolicyXml: Application ("application/wspolicy+xml") + @Serializable(MimeTypeSerializer::class) + object VndWebturbo: Application ("application/vnd.webturbo") + @Serializable(MimeTypeSerializer::class) + object Widget: Application ("application/widget") + @Serializable(MimeTypeSerializer::class) + object Winhlp: Application ("application/winhlp") + @Serializable(MimeTypeSerializer::class) + object VndWapWmlscriptc: Application ("application/vnd.wap.wmlscriptc") + @Serializable(MimeTypeSerializer::class) + object VndWordperfect: Application ("application/vnd.wordperfect") + @Serializable(MimeTypeSerializer::class) + object VndWtStf: Application ("application/vnd.wt.stf") + @Serializable(MimeTypeSerializer::class) + object WsdlXml: Application ("application/wsdl+xml") + @Serializable(MimeTypeSerializer::class) object XX509CaCert: Application ("application/x-x509-ca-cert") @Serializable(MimeTypeSerializer::class) object XXfig: Application ("application/x-xfig") @Serializable(MimeTypeSerializer::class) - object XXpinstall: Application ("application/x-xpinstall") + object XhtmlXml: Application ("application/xhtml+xml") + @Serializable(MimeTypeSerializer::class) + object Xml: Application ("application/xml") @Serializable(MimeTypeSerializer::class) object XcapDiffXml: Application ("application/xcap-diff+xml") @Serializable(MimeTypeSerializer::class) object XencXml: Application ("application/xenc+xml") @Serializable(MimeTypeSerializer::class) - object XhtmlXml: Application ("application/xhtml+xml") + object PatchOpsErrorXml: Application ("application/patch-ops-error+xml") @Serializable(MimeTypeSerializer::class) - object Xml: Application ("application/xml") + object ResourceListsXml: Application ("application/resource-lists+xml") @Serializable(MimeTypeSerializer::class) - object XmlDtd: Application ("application/xml-dtd") + object RlsServicesXml: Application ("application/rls-services+xml") @Serializable(MimeTypeSerializer::class) - object XopXml: Application ("application/xop+xml") + object ResourceListsDiffXml: Application ("application/resource-lists-diff+xml") @Serializable(MimeTypeSerializer::class) object XsltXml: Application ("application/xslt+xml") @Serializable(MimeTypeSerializer::class) + object XopXml: Application ("application/xop+xml") + @Serializable(MimeTypeSerializer::class) + object XXpinstall: Application ("application/x-xpinstall") + @Serializable(MimeTypeSerializer::class) object XspfXml: Application ("application/xspf+xml") @Serializable(MimeTypeSerializer::class) - object XvXml: Application ("application/xv+xml") + object VndMozillaXulXml: Application ("application/vnd.mozilla.xul+xml") @Serializable(MimeTypeSerializer::class) object Yang: Application ("application/yang") @Serializable(MimeTypeSerializer::class) object YinXml: Application ("application/yin+xml") @Serializable(MimeTypeSerializer::class) + object VndZul: Application ("application/vnd.zul") + @Serializable(MimeTypeSerializer::class) object Zip: Application ("application/zip") @Serializable(MimeTypeSerializer::class) - object XAppleDiskimage: Application ("application/x-apple-diskimage") + object VndHandheldEntertainmentXml: Application ("application/vnd.handheld-entertainment+xml") + @Serializable(MimeTypeSerializer::class) + object VndZzazzDeckXml: Application ("application/vnd.zzazz.deck+xml") } @Serializable(MimeTypeSerializer::class) @@ -1092,15 +1096,9 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object Adpcm: Audio ("audio/adpcm") @Serializable(MimeTypeSerializer::class) - object Basic: Audio ("audio/basic") + object XAac: Audio ("audio/x-aac") @Serializable(MimeTypeSerializer::class) - object Midi: Audio ("audio/midi") - @Serializable(MimeTypeSerializer::class) - object Mp4: Audio ("audio/mp4") - @Serializable(MimeTypeSerializer::class) - object Mpeg: Audio ("audio/mpeg") - @Serializable(MimeTypeSerializer::class) - object Ogg: Audio ("audio/ogg") + object XAiff: Audio ("audio/x-aiff") @Serializable(MimeTypeSerializer::class) object VndDeceAudio: Audio ("audio/vnd.dece.audio") @Serializable(MimeTypeSerializer::class) @@ -1112,34 +1110,42 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndDtsHd: Audio ("audio/vnd.dts.hd") @Serializable(MimeTypeSerializer::class) + object VndRip: Audio ("audio/vnd.rip") + @Serializable(MimeTypeSerializer::class) object VndLucentVoice: Audio ("audio/vnd.lucent.voice") @Serializable(MimeTypeSerializer::class) + object XMpegurl: Audio ("audio/x-mpegurl") + @Serializable(MimeTypeSerializer::class) object VndMsPlayreadyMediaPya: Audio ("audio/vnd.ms-playready.media.pya") @Serializable(MimeTypeSerializer::class) + object XMsWma: Audio ("audio/x-ms-wma") + @Serializable(MimeTypeSerializer::class) + object XMsWax: Audio ("audio/x-ms-wax") + @Serializable(MimeTypeSerializer::class) + object Midi: Audio ("audio/midi") + @Serializable(MimeTypeSerializer::class) + object Mpeg: Audio ("audio/mpeg") + @Serializable(MimeTypeSerializer::class) + object Mp4: Audio ("audio/mp4") + @Serializable(MimeTypeSerializer::class) object VndNueraEcelp4800: Audio ("audio/vnd.nuera.ecelp4800") @Serializable(MimeTypeSerializer::class) object VndNueraEcelp7470: Audio ("audio/vnd.nuera.ecelp7470") @Serializable(MimeTypeSerializer::class) object VndNueraEcelp9600: Audio ("audio/vnd.nuera.ecelp9600") @Serializable(MimeTypeSerializer::class) - object VndRip: Audio ("audio/vnd.rip") + object Ogg: Audio ("audio/ogg") @Serializable(MimeTypeSerializer::class) object Webm: Audio ("audio/webm") @Serializable(MimeTypeSerializer::class) - object XAac: Audio ("audio/x-aac") - @Serializable(MimeTypeSerializer::class) - object XAiff: Audio ("audio/x-aiff") - @Serializable(MimeTypeSerializer::class) - object XMpegurl: Audio ("audio/x-mpegurl") - @Serializable(MimeTypeSerializer::class) - object XMsWax: Audio ("audio/x-ms-wax") - @Serializable(MimeTypeSerializer::class) - object XMsWma: Audio ("audio/x-ms-wma") + object Opus: Audio ("audio/opus") @Serializable(MimeTypeSerializer::class) object XPnRealaudio: Audio ("audio/x-pn-realaudio") @Serializable(MimeTypeSerializer::class) object XPnRealaudioPlugin: Audio ("audio/x-pn-realaudio-plugin") @Serializable(MimeTypeSerializer::class) + object Basic: Audio ("audio/basic") + @Serializable(MimeTypeSerializer::class) object XWav: Audio ("audio/x-wav") } @@ -1150,14 +1156,14 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object XCdx: Chemical ("chemical/x-cdx") @Serializable(MimeTypeSerializer::class) - object XCif: Chemical ("chemical/x-cif") - @Serializable(MimeTypeSerializer::class) - object XCmdf: Chemical ("chemical/x-cmdf") - @Serializable(MimeTypeSerializer::class) object XCml: Chemical ("chemical/x-cml") @Serializable(MimeTypeSerializer::class) object XCsml: Chemical ("chemical/x-csml") @Serializable(MimeTypeSerializer::class) + object XCif: Chemical ("chemical/x-cif") + @Serializable(MimeTypeSerializer::class) + object XCmdf: Chemical ("chemical/x-cmdf") + @Serializable(MimeTypeSerializer::class) object XXyz: Chemical ("chemical/x-xyz") } @@ -1166,78 +1172,66 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object Any: Image ("image/*") @Serializable(MimeTypeSerializer::class) + object VndDxf: Image ("image/vnd.dxf") + @Serializable(MimeTypeSerializer::class) + object Avif: Image ("image/avif") + @Serializable(MimeTypeSerializer::class) object Bmp: Image ("image/bmp") @Serializable(MimeTypeSerializer::class) - object Cgm: Image ("image/cgm") - @Serializable(MimeTypeSerializer::class) - object G3fax: Image ("image/g3fax") - @Serializable(MimeTypeSerializer::class) - object Gif: Image ("image/gif") - @Serializable(MimeTypeSerializer::class) - object Ief: Image ("image/ief") - @Serializable(MimeTypeSerializer::class) - object Jpeg: Image ("image/jpeg") - @Serializable(MimeTypeSerializer::class) - object Pjpeg: Image ("image/pjpeg") - @Serializable(MimeTypeSerializer::class) - object XCitrixJpeg: Image ("image/x-citrix-jpeg") - @Serializable(MimeTypeSerializer::class) - object Ktx: Image ("image/ktx") - @Serializable(MimeTypeSerializer::class) - object Png: Image ("image/png") - @Serializable(MimeTypeSerializer::class) - object XPng: Image ("image/x-png") - @Serializable(MimeTypeSerializer::class) - object XCitrixPng: Image ("image/x-citrix-png") - @Serializable(MimeTypeSerializer::class) object PrsBtif: Image ("image/prs.btif") @Serializable(MimeTypeSerializer::class) - object SvgXml: Image ("image/svg+xml") + object VndDvbSubtitle: Image ("image/vnd.dvb.subtitle") @Serializable(MimeTypeSerializer::class) - object Tiff: Image ("image/tiff") + object XCmuRaster: Image ("image/x-cmu-raster") @Serializable(MimeTypeSerializer::class) - object VndAdobePhotoshop: Image ("image/vnd.adobe.photoshop") + object Cgm: Image ("image/cgm") + @Serializable(MimeTypeSerializer::class) + object XCmx: Image ("image/x-cmx") @Serializable(MimeTypeSerializer::class) object VndDeceGraphic: Image ("image/vnd.dece.graphic") @Serializable(MimeTypeSerializer::class) - object VndDvbSubtitle: Image ("image/vnd.dvb.subtitle") - @Serializable(MimeTypeSerializer::class) object VndDjvu: Image ("image/vnd.djvu") @Serializable(MimeTypeSerializer::class) object VndDwg: Image ("image/vnd.dwg") @Serializable(MimeTypeSerializer::class) - object VndDxf: Image ("image/vnd.dxf") + object VndFujixeroxEdmicsMmr: Image ("image/vnd.fujixerox.edmics-mmr") + @Serializable(MimeTypeSerializer::class) + object VndFujixeroxEdmicsRlc: Image ("image/vnd.fujixerox.edmics-rlc") + @Serializable(MimeTypeSerializer::class) + object VndXiff: Image ("image/vnd.xiff") + @Serializable(MimeTypeSerializer::class) + object VndFst: Image ("image/vnd.fst") @Serializable(MimeTypeSerializer::class) object VndFastbidsheet: Image ("image/vnd.fastbidsheet") @Serializable(MimeTypeSerializer::class) object VndFpx: Image ("image/vnd.fpx") @Serializable(MimeTypeSerializer::class) - object VndFst: Image ("image/vnd.fst") - @Serializable(MimeTypeSerializer::class) - object VndFujixeroxEdmicsMmr: Image ("image/vnd.fujixerox.edmics-mmr") - @Serializable(MimeTypeSerializer::class) - object VndFujixeroxEdmicsRlc: Image ("image/vnd.fujixerox.edmics-rlc") - @Serializable(MimeTypeSerializer::class) - object VndMsModi: Image ("image/vnd.ms-modi") - @Serializable(MimeTypeSerializer::class) object VndNetFpx: Image ("image/vnd.net-fpx") @Serializable(MimeTypeSerializer::class) - object VndWapWbmp: Image ("image/vnd.wap.wbmp") - @Serializable(MimeTypeSerializer::class) - object VndXiff: Image ("image/vnd.xiff") - @Serializable(MimeTypeSerializer::class) - object Webp: Image ("image/webp") - @Serializable(MimeTypeSerializer::class) - object XCmuRaster: Image ("image/x-cmu-raster") - @Serializable(MimeTypeSerializer::class) - object XCmx: Image ("image/x-cmx") - @Serializable(MimeTypeSerializer::class) object XFreehand: Image ("image/x-freehand") @Serializable(MimeTypeSerializer::class) + object G3fax: Image ("image/g3fax") + @Serializable(MimeTypeSerializer::class) + object Gif: Image ("image/gif") + @Serializable(MimeTypeSerializer::class) object XIcon: Image ("image/x-icon") @Serializable(MimeTypeSerializer::class) + object Ief: Image ("image/ief") + @Serializable(MimeTypeSerializer::class) + object Jpeg: Image ("image/jpeg") + @Serializable(MimeTypeSerializer::class) + object XCitrixJpeg: Image ("image/x-citrix-jpeg") + @Serializable(MimeTypeSerializer::class) + object Pjpeg: Image ("image/pjpeg") + @Serializable(MimeTypeSerializer::class) + object VndMsModi: Image ("image/vnd.ms-modi") + @Serializable(MimeTypeSerializer::class) + object Ktx: Image ("image/ktx") + @Serializable(MimeTypeSerializer::class) object XPcx: Image ("image/x-pcx") @Serializable(MimeTypeSerializer::class) + object VndAdobePhotoshop: Image ("image/vnd.adobe.photoshop") + @Serializable(MimeTypeSerializer::class) object XPict: Image ("image/x-pict") @Serializable(MimeTypeSerializer::class) object XPortableAnymap: Image ("image/x-portable-anymap") @@ -1246,10 +1240,24 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object XPortableGraymap: Image ("image/x-portable-graymap") @Serializable(MimeTypeSerializer::class) + object Png: Image ("image/png") + @Serializable(MimeTypeSerializer::class) + object XCitrixPng: Image ("image/x-citrix-png") + @Serializable(MimeTypeSerializer::class) + object XPng: Image ("image/x-png") + @Serializable(MimeTypeSerializer::class) object XPortablePixmap: Image ("image/x-portable-pixmap") @Serializable(MimeTypeSerializer::class) + object SvgXml: Image ("image/svg+xml") + @Serializable(MimeTypeSerializer::class) object XRgb: Image ("image/x-rgb") @Serializable(MimeTypeSerializer::class) + object Tiff: Image ("image/tiff") + @Serializable(MimeTypeSerializer::class) + object VndWapWbmp: Image ("image/vnd.wap.wbmp") + @Serializable(MimeTypeSerializer::class) + object Webp: Image ("image/webp") + @Serializable(MimeTypeSerializer::class) object XXbitmap: Image ("image/x-xbitmap") @Serializable(MimeTypeSerializer::class) object XXpixmap: Image ("image/x-xpixmap") @@ -1270,23 +1278,23 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object Any: Model ("model/*") @Serializable(MimeTypeSerializer::class) + object VndDwf: Model ("model/vnd.dwf") + @Serializable(MimeTypeSerializer::class) + object VndColladaXml: Model ("model/vnd.collada+xml") + @Serializable(MimeTypeSerializer::class) + object VndGtw: Model ("model/vnd.gtw") + @Serializable(MimeTypeSerializer::class) + object VndGdl: Model ("model/vnd.gdl") + @Serializable(MimeTypeSerializer::class) object Iges: Model ("model/iges") @Serializable(MimeTypeSerializer::class) object Mesh: Model ("model/mesh") @Serializable(MimeTypeSerializer::class) - object VndColladaXml: Model ("model/vnd.collada+xml") - @Serializable(MimeTypeSerializer::class) - object VndDwf: Model ("model/vnd.dwf") - @Serializable(MimeTypeSerializer::class) - object VndGdl: Model ("model/vnd.gdl") - @Serializable(MimeTypeSerializer::class) - object VndGtw: Model ("model/vnd.gtw") + object Vrml: Model ("model/vrml") @Serializable(MimeTypeSerializer::class) object VndMts: Model ("model/vnd.mts") @Serializable(MimeTypeSerializer::class) object VndVtu: Model ("model/vnd.vtu") - @Serializable(MimeTypeSerializer::class) - object Vrml: Model ("model/vrml") } @Serializable(MimeTypeSerializer::class) @@ -1294,75 +1302,77 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object Any: Text ("text/*") @Serializable(MimeTypeSerializer::class) - object Calendar: Text ("text/calendar") + object XAsm: Text ("text/x-asm") + @Serializable(MimeTypeSerializer::class) + object PlainBas: Text ("text/plain-bas") + @Serializable(MimeTypeSerializer::class) + object XC: Text ("text/x-c") @Serializable(MimeTypeSerializer::class) object Css: Text ("text/css") @Serializable(MimeTypeSerializer::class) object Csv: Text ("text/csv") @Serializable(MimeTypeSerializer::class) - object Html: Text ("text/html") - @Serializable(MimeTypeSerializer::class) - object N3: Text ("text/n3") - @Serializable(MimeTypeSerializer::class) - object Plain: Text ("text/plain") - @Serializable(MimeTypeSerializer::class) - object PrsLinesTag: Text ("text/prs.lines.tag") - @Serializable(MimeTypeSerializer::class) - object Richtext: Text ("text/richtext") - @Serializable(MimeTypeSerializer::class) - object Sgml: Text ("text/sgml") - @Serializable(MimeTypeSerializer::class) - object TabSeparatedValues: Text ("text/tab-separated-values") - @Serializable(MimeTypeSerializer::class) - object Troff: Text ("text/troff") - @Serializable(MimeTypeSerializer::class) - object Turtle: Text ("text/turtle") - @Serializable(MimeTypeSerializer::class) - object UriList: Text ("text/uri-list") - @Serializable(MimeTypeSerializer::class) object VndCurl: Text ("text/vnd.curl") @Serializable(MimeTypeSerializer::class) object VndCurlDcurl: Text ("text/vnd.curl.dcurl") @Serializable(MimeTypeSerializer::class) - object VndCurlScurl: Text ("text/vnd.curl.scurl") - @Serializable(MimeTypeSerializer::class) object VndCurlMcurl: Text ("text/vnd.curl.mcurl") @Serializable(MimeTypeSerializer::class) - object VndFly: Text ("text/vnd.fly") + object VndCurlScurl: Text ("text/vnd.curl.scurl") @Serializable(MimeTypeSerializer::class) object VndFmiFlexstor: Text ("text/vnd.fmi.flexstor") @Serializable(MimeTypeSerializer::class) + object XFortran: Text ("text/x-fortran") + @Serializable(MimeTypeSerializer::class) object VndGraphviz: Text ("text/vnd.graphviz") @Serializable(MimeTypeSerializer::class) + object Html: Text ("text/html") + @Serializable(MimeTypeSerializer::class) + object Calendar: Text ("text/calendar") + @Serializable(MimeTypeSerializer::class) object VndIn3d3dml: Text ("text/vnd.in3d.3dml") @Serializable(MimeTypeSerializer::class) object VndIn3dSpot: Text ("text/vnd.in3d.spot") @Serializable(MimeTypeSerializer::class) object VndSunJ2meAppDescriptor: Text ("text/vnd.sun.j2me.app-descriptor") @Serializable(MimeTypeSerializer::class) - object VndWapWml: Text ("text/vnd.wap.wml") + object XJavaSourceJava: Text ("text/x-java-source,java") @Serializable(MimeTypeSerializer::class) - object VndWapWmlscript: Text ("text/vnd.wap.wmlscript") + object Javascript: Text ("text/javascript") @Serializable(MimeTypeSerializer::class) - object XAsm: Text ("text/x-asm") + object VndFly: Text ("text/vnd.fly") @Serializable(MimeTypeSerializer::class) - object XC: Text ("text/x-c") - @Serializable(MimeTypeSerializer::class) - object XFortran: Text ("text/x-fortran") + object N3: Text ("text/n3") @Serializable(MimeTypeSerializer::class) object XPascal: Text ("text/x-pascal") @Serializable(MimeTypeSerializer::class) - object XJavaSourceJava: Text ("text/x-java-source,java") + object PrsLinesTag: Text ("text/prs.lines.tag") + @Serializable(MimeTypeSerializer::class) + object Richtext: Text ("text/richtext") @Serializable(MimeTypeSerializer::class) object XSetext: Text ("text/x-setext") @Serializable(MimeTypeSerializer::class) + object Sgml: Text ("text/sgml") + @Serializable(MimeTypeSerializer::class) + object TabSeparatedValues: Text ("text/tab-separated-values") + @Serializable(MimeTypeSerializer::class) + object Plain: Text ("text/plain") + @Serializable(MimeTypeSerializer::class) + object Troff: Text ("text/troff") + @Serializable(MimeTypeSerializer::class) + object Turtle: Text ("text/turtle") + @Serializable(MimeTypeSerializer::class) + object UriList: Text ("text/uri-list") + @Serializable(MimeTypeSerializer::class) object XUuencode: Text ("text/x-uuencode") @Serializable(MimeTypeSerializer::class) object XVcalendar: Text ("text/x-vcalendar") @Serializable(MimeTypeSerializer::class) object XVcard: Text ("text/x-vcard") @Serializable(MimeTypeSerializer::class) - object PlainBas: Text ("text/plain-bas") + object VndWapWml: Text ("text/vnd.wap.wml") + @Serializable(MimeTypeSerializer::class) + object VndWapWmlscript: Text ("text/vnd.wap.wmlscript") @Serializable(MimeTypeSerializer::class) object Yaml: Text ("text/yaml") } @@ -1376,30 +1386,14 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object V3gpp2: Video ("video/3gpp2") @Serializable(MimeTypeSerializer::class) - object H261: Video ("video/h261") - @Serializable(MimeTypeSerializer::class) - object H263: Video ("video/h263") - @Serializable(MimeTypeSerializer::class) - object H264: Video ("video/h264") - @Serializable(MimeTypeSerializer::class) - object Jpeg: Video ("video/jpeg") - @Serializable(MimeTypeSerializer::class) - object Jpm: Video ("video/jpm") - @Serializable(MimeTypeSerializer::class) - object Mj2: Video ("video/mj2") - @Serializable(MimeTypeSerializer::class) - object Mp4: Video ("video/mp4") - @Serializable(MimeTypeSerializer::class) - object Mpeg: Video ("video/mpeg") - @Serializable(MimeTypeSerializer::class) - object Ogg: Video ("video/ogg") - @Serializable(MimeTypeSerializer::class) - object Quicktime: Video ("video/quicktime") + object XMsvideo: Video ("video/x-msvideo") @Serializable(MimeTypeSerializer::class) object VndDeceHd: Video ("video/vnd.dece.hd") @Serializable(MimeTypeSerializer::class) object VndDeceMobile: Video ("video/vnd.dece.mobile") @Serializable(MimeTypeSerializer::class) + object VndUvvuMp4: Video ("video/vnd.uvvu.mp4") + @Serializable(MimeTypeSerializer::class) object VndDecePd: Video ("video/vnd.dece.pd") @Serializable(MimeTypeSerializer::class) object VndDeceSd: Video ("video/vnd.dece.sd") @@ -1408,37 +1402,55 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { @Serializable(MimeTypeSerializer::class) object VndFvt: Video ("video/vnd.fvt") @Serializable(MimeTypeSerializer::class) - object VndMpegurl: Video ("video/vnd.mpegurl") - @Serializable(MimeTypeSerializer::class) - object VndMsPlayreadyMediaPyv: Video ("video/vnd.ms-playready.media.pyv") - @Serializable(MimeTypeSerializer::class) - object VndUvvuMp4: Video ("video/vnd.uvvu.mp4") - @Serializable(MimeTypeSerializer::class) - object VndVivo: Video ("video/vnd.vivo") - @Serializable(MimeTypeSerializer::class) - object Webm: Video ("video/webm") - @Serializable(MimeTypeSerializer::class) object XF4v: Video ("video/x-f4v") @Serializable(MimeTypeSerializer::class) + object XFlv: Video ("video/x-flv") + @Serializable(MimeTypeSerializer::class) object XFli: Video ("video/x-fli") @Serializable(MimeTypeSerializer::class) - object XFlv: Video ("video/x-flv") + object H261: Video ("video/h261") + @Serializable(MimeTypeSerializer::class) + object H263: Video ("video/h263") + @Serializable(MimeTypeSerializer::class) + object H264: Video ("video/h264") + @Serializable(MimeTypeSerializer::class) + object Jpm: Video ("video/jpm") + @Serializable(MimeTypeSerializer::class) + object Jpeg: Video ("video/jpeg") @Serializable(MimeTypeSerializer::class) object XM4v: Video ("video/x-m4v") @Serializable(MimeTypeSerializer::class) object XMsAsf: Video ("video/x-ms-asf") @Serializable(MimeTypeSerializer::class) - object XMsWm: Video ("video/x-ms-wm") + object VndMsPlayreadyMediaPyv: Video ("video/vnd.ms-playready.media.pyv") @Serializable(MimeTypeSerializer::class) - object XMsWmv: Video ("video/x-ms-wmv") + object XMsWm: Video ("video/x-ms-wm") @Serializable(MimeTypeSerializer::class) object XMsWmx: Video ("video/x-ms-wmx") @Serializable(MimeTypeSerializer::class) + object XMsWmv: Video ("video/x-ms-wmv") + @Serializable(MimeTypeSerializer::class) object XMsWvx: Video ("video/x-ms-wvx") @Serializable(MimeTypeSerializer::class) - object XMsvideo: Video ("video/x-msvideo") + object Mj2: Video ("video/mj2") + @Serializable(MimeTypeSerializer::class) + object Mp2t: Video ("video/mp2t") + @Serializable(MimeTypeSerializer::class) + object VndMpegurl: Video ("video/vnd.mpegurl") + @Serializable(MimeTypeSerializer::class) + object Mpeg: Video ("video/mpeg") + @Serializable(MimeTypeSerializer::class) + object Mp4: Video ("video/mp4") + @Serializable(MimeTypeSerializer::class) + object Ogg: Video ("video/ogg") + @Serializable(MimeTypeSerializer::class) + object Webm: Video ("video/webm") + @Serializable(MimeTypeSerializer::class) + object Quicktime: Video ("video/quicktime") @Serializable(MimeTypeSerializer::class) object XSgiMovie: Video ("video/x-sgi-movie") + @Serializable(MimeTypeSerializer::class) + object VndVivo: Video ("video/vnd.vivo") } @Serializable(MimeTypeSerializer::class) @@ -1450,703 +1462,6 @@ sealed class KnownMimeTypes(override val raw: String) : MimeType { } } -internal val knownMimeTypes: Set = setOf( - KnownMimeTypes.Any, - KnownMimeTypes.Application.AndrewInset, - KnownMimeTypes.Application.Applixware, - KnownMimeTypes.Application.AtomXml, - KnownMimeTypes.Application.AtomcatXml, - KnownMimeTypes.Application.AtomsvcXml, - KnownMimeTypes.Application.CcxmlXml, - KnownMimeTypes.Application.CdmiCapability, - KnownMimeTypes.Application.CdmiContainer, - KnownMimeTypes.Application.CdmiDomain, - KnownMimeTypes.Application.CdmiObject, - KnownMimeTypes.Application.CdmiQueue, - KnownMimeTypes.Application.CuSeeme, - KnownMimeTypes.Application.DavmountXml, - KnownMimeTypes.Application.DsscDer, - KnownMimeTypes.Application.DsscXml, - KnownMimeTypes.Application.Ecmascript, - KnownMimeTypes.Application.EmmaXml, - KnownMimeTypes.Application.EpubZip, - KnownMimeTypes.Application.Exi, - KnownMimeTypes.Application.FontTdpfr, - KnownMimeTypes.Application.Hyperstudio, - KnownMimeTypes.Application.Ipfix, - KnownMimeTypes.Application.JavaArchive, - KnownMimeTypes.Application.JavaSerializedObject, - KnownMimeTypes.Application.JavaVm, - KnownMimeTypes.Application.Javascript, - KnownMimeTypes.Application.Json, - KnownMimeTypes.Application.MacBinhex40, - KnownMimeTypes.Application.MacCompactpro, - KnownMimeTypes.Application.MadsXml, - KnownMimeTypes.Application.Marc, - KnownMimeTypes.Application.MarcxmlXml, - KnownMimeTypes.Application.Mathematica, - KnownMimeTypes.Application.MathmlXml, - KnownMimeTypes.Application.Mbox, - KnownMimeTypes.Application.MediaservercontrolXml, - KnownMimeTypes.Application.Metalink4Xml, - KnownMimeTypes.Application.MetsXml, - KnownMimeTypes.Application.ModsXml, - KnownMimeTypes.Application.Mp21, - KnownMimeTypes.Application.Mp4, - KnownMimeTypes.Application.Msword, - KnownMimeTypes.Application.Mxf, - KnownMimeTypes.Application.OctetStream, - KnownMimeTypes.Application.Oda, - KnownMimeTypes.Application.OebpsPackageXml, - KnownMimeTypes.Application.Ogg, - KnownMimeTypes.Application.Onenote, - KnownMimeTypes.Application.PatchOpsErrorXml, - KnownMimeTypes.Application.Pdf, - KnownMimeTypes.Application.PgpEncrypted, - KnownMimeTypes.Application.PgpSignature, - KnownMimeTypes.Application.PicsRules, - KnownMimeTypes.Application.Pkcs10, - KnownMimeTypes.Application.Pkcs7Mime, - KnownMimeTypes.Application.Pkcs7Signature, - KnownMimeTypes.Application.Pkcs8, - KnownMimeTypes.Application.PkixAttrCert, - KnownMimeTypes.Application.PkixCert, - KnownMimeTypes.Application.PkixCrl, - KnownMimeTypes.Application.PkixPkipath, - KnownMimeTypes.Application.Pkixcmp, - KnownMimeTypes.Application.PlsXml, - KnownMimeTypes.Application.Postscript, - KnownMimeTypes.Application.PrsCww, - KnownMimeTypes.Application.PskcXml, - KnownMimeTypes.Application.RdfXml, - KnownMimeTypes.Application.ReginfoXml, - KnownMimeTypes.Application.RelaxNgCompactSyntax, - KnownMimeTypes.Application.ResourceListsXml, - KnownMimeTypes.Application.ResourceListsDiffXml, - KnownMimeTypes.Application.RlsServicesXml, - KnownMimeTypes.Application.RsdXml, - KnownMimeTypes.Application.RssXml, - KnownMimeTypes.Application.Rtf, - KnownMimeTypes.Application.SbmlXml, - KnownMimeTypes.Application.ScvpCvRequest, - KnownMimeTypes.Application.ScvpCvResponse, - KnownMimeTypes.Application.ScvpVpRequest, - KnownMimeTypes.Application.ScvpVpResponse, - KnownMimeTypes.Application.Sdp, - KnownMimeTypes.Application.SetPaymentInitiation, - KnownMimeTypes.Application.SetRegistrationInitiation, - KnownMimeTypes.Application.ShfXml, - KnownMimeTypes.Application.SmilXml, - KnownMimeTypes.Application.SparqlQuery, - KnownMimeTypes.Application.SparqlResultsXml, - KnownMimeTypes.Application.Srgs, - KnownMimeTypes.Application.SrgsXml, - KnownMimeTypes.Application.SruXml, - KnownMimeTypes.Application.SsmlXml, - KnownMimeTypes.Application.TeiXml, - KnownMimeTypes.Application.ThraudXml, - KnownMimeTypes.Application.TimestampedData, - KnownMimeTypes.Application.Vnd3gppPicBwLarge, - KnownMimeTypes.Application.Vnd3gppPicBwSmall, - KnownMimeTypes.Application.Vnd3gppPicBwVar, - KnownMimeTypes.Application.Vnd3gpp2Tcap, - KnownMimeTypes.Application.Vnd3mPostItNotes, - KnownMimeTypes.Application.VndAccpacSimplyAso, - KnownMimeTypes.Application.VndAccpacSimplyImp, - KnownMimeTypes.Application.VndAcucobol, - KnownMimeTypes.Application.VndAcucorp, - KnownMimeTypes.Application.VndAdobeAirApplicationInstallerPackageZip, - KnownMimeTypes.Application.VndAdobeFxp, - KnownMimeTypes.Application.VndAdobeXdpXml, - KnownMimeTypes.Application.VndAdobeXfdf, - KnownMimeTypes.Application.VndAheadSpace, - KnownMimeTypes.Application.VndAirzipFilesecureAzf, - KnownMimeTypes.Application.VndAirzipFilesecureAzs, - KnownMimeTypes.Application.VndAmazonEbook, - KnownMimeTypes.Application.VndAmericandynamicsAcc, - KnownMimeTypes.Application.VndAmigaAmi, - KnownMimeTypes.Application.VndAndroidPackageArchive, - KnownMimeTypes.Application.VndAnserWebCertificateIssueInitiation, - KnownMimeTypes.Application.VndAnserWebFundsTransferInitiation, - KnownMimeTypes.Application.VndAntixGameComponent, - KnownMimeTypes.Application.VndAppleInstallerXml, - KnownMimeTypes.Application.VndAppleMpegurl, - KnownMimeTypes.Application.VndAristanetworksSwi, - KnownMimeTypes.Application.VndAudiograph, - KnownMimeTypes.Application.VndBlueiceMultipass, - KnownMimeTypes.Application.VndBmi, - KnownMimeTypes.Application.VndBusinessobjects, - KnownMimeTypes.Application.VndChemdrawXml, - KnownMimeTypes.Application.VndChipnutsKaraokeMmd, - KnownMimeTypes.Application.VndCinderella, - KnownMimeTypes.Application.VndClaymore, - KnownMimeTypes.Application.VndCloantoRp9, - KnownMimeTypes.Application.VndClonkC4group, - KnownMimeTypes.Application.VndCluetrustCartomobileConfig, - KnownMimeTypes.Application.VndCluetrustCartomobileConfigPkg, - KnownMimeTypes.Application.VndCommonspace, - KnownMimeTypes.Application.VndContactCmsg, - KnownMimeTypes.Application.VndCosmocaller, - KnownMimeTypes.Application.VndCrickClicker, - KnownMimeTypes.Application.VndCrickClickerKeyboard, - KnownMimeTypes.Application.VndCrickClickerPalette, - KnownMimeTypes.Application.VndCrickClickerTemplate, - KnownMimeTypes.Application.VndCrickClickerWordbank, - KnownMimeTypes.Application.VndCriticaltoolsWbsXml, - KnownMimeTypes.Application.VndCtcPosml, - KnownMimeTypes.Application.VndCupsPpd, - KnownMimeTypes.Application.VndCurlCar, - KnownMimeTypes.Application.VndCurlPcurl, - KnownMimeTypes.Application.VndDataVisionRdz, - KnownMimeTypes.Application.VndDenovoFcselayoutLink, - KnownMimeTypes.Application.VndDna, - KnownMimeTypes.Application.VndDolbyMlp, - KnownMimeTypes.Application.VndDpgraph, - KnownMimeTypes.Application.VndDreamfactory, - KnownMimeTypes.Application.VndDvbAit, - KnownMimeTypes.Application.VndDvbService, - KnownMimeTypes.Application.VndDynageo, - KnownMimeTypes.Application.VndEcowinChart, - KnownMimeTypes.Application.VndEnliven, - KnownMimeTypes.Application.VndEpsonEsf, - KnownMimeTypes.Application.VndEpsonMsf, - KnownMimeTypes.Application.VndEpsonQuickanime, - KnownMimeTypes.Application.VndEpsonSalt, - KnownMimeTypes.Application.VndEpsonSsf, - KnownMimeTypes.Application.VndEszigno3Xml, - KnownMimeTypes.Application.VndEzpixAlbum, - KnownMimeTypes.Application.VndEzpixPackage, - KnownMimeTypes.Application.VndFdf, - KnownMimeTypes.Application.VndFdsnSeed, - KnownMimeTypes.Application.VndFlographit, - KnownMimeTypes.Application.VndFluxtimeClip, - KnownMimeTypes.Application.VndFramemaker, - KnownMimeTypes.Application.VndFrogansFnc, - KnownMimeTypes.Application.VndFrogansLtf, - KnownMimeTypes.Application.VndFscWeblaunch, - KnownMimeTypes.Application.VndFujitsuOasys, - KnownMimeTypes.Application.VndFujitsuOasys2, - KnownMimeTypes.Application.VndFujitsuOasys3, - KnownMimeTypes.Application.VndFujitsuOasysgp, - KnownMimeTypes.Application.VndFujitsuOasysprs, - KnownMimeTypes.Application.VndFujixeroxDdd, - KnownMimeTypes.Application.VndFujixeroxDocuworks, - KnownMimeTypes.Application.VndFujixeroxDocuworksBinder, - KnownMimeTypes.Application.VndFuzzysheet, - KnownMimeTypes.Application.VndGenomatixTuxedo, - KnownMimeTypes.Application.VndGeogebraFile, - KnownMimeTypes.Application.VndGeogebraTool, - KnownMimeTypes.Application.VndGeometryExplorer, - KnownMimeTypes.Application.VndGeonext, - KnownMimeTypes.Application.VndGeoplan, - KnownMimeTypes.Application.VndGeospace, - KnownMimeTypes.Application.VndGmx, - KnownMimeTypes.Application.VndGoogleEarthKmlXml, - KnownMimeTypes.Application.VndGoogleEarthKmz, - KnownMimeTypes.Application.VndGrafeq, - KnownMimeTypes.Application.VndGrooveAccount, - KnownMimeTypes.Application.VndGrooveHelp, - KnownMimeTypes.Application.VndGrooveIdentityMessage, - KnownMimeTypes.Application.VndGrooveInjector, - KnownMimeTypes.Application.VndGrooveToolMessage, - KnownMimeTypes.Application.VndGrooveToolTemplate, - KnownMimeTypes.Application.VndGrooveVcard, - KnownMimeTypes.Application.VndHalXml, - KnownMimeTypes.Application.VndHandheldEntertainmentXml, - KnownMimeTypes.Application.VndHbci, - KnownMimeTypes.Application.VndHheLessonPlayer, - KnownMimeTypes.Application.VndHpHpgl, - KnownMimeTypes.Application.VndHpHpid, - KnownMimeTypes.Application.VndHpHps, - KnownMimeTypes.Application.VndHpJlyt, - KnownMimeTypes.Application.VndHpPcl, - KnownMimeTypes.Application.VndHpPclxl, - KnownMimeTypes.Application.VndHydrostatixSofData, - KnownMimeTypes.Application.VndHzn3dCrossword, - KnownMimeTypes.Application.VndIbmMinipay, - KnownMimeTypes.Application.VndIbmModcap, - KnownMimeTypes.Application.VndIbmRightsManagement, - KnownMimeTypes.Application.VndIbmSecureContainer, - KnownMimeTypes.Application.VndIccprofile, - KnownMimeTypes.Application.VndIgloader, - KnownMimeTypes.Application.VndImmervisionIvp, - KnownMimeTypes.Application.VndImmervisionIvu, - KnownMimeTypes.Application.VndInsorsIgm, - KnownMimeTypes.Application.VndInterconFormnet, - KnownMimeTypes.Application.VndIntergeo, - KnownMimeTypes.Application.VndIntuQbo, - KnownMimeTypes.Application.VndIntuQfx, - KnownMimeTypes.Application.VndIpunpluggedRcprofile, - KnownMimeTypes.Application.VndIrepositoryPackageXml, - KnownMimeTypes.Application.VndIsXpr, - KnownMimeTypes.Application.VndIsacFcs, - KnownMimeTypes.Application.VndJam, - KnownMimeTypes.Application.VndJcpJavameMidletRms, - KnownMimeTypes.Application.VndJisp, - KnownMimeTypes.Application.VndJoostJodaArchive, - KnownMimeTypes.Application.VndKahootz, - KnownMimeTypes.Application.VndKdeKarbon, - KnownMimeTypes.Application.VndKdeKchart, - KnownMimeTypes.Application.VndKdeKformula, - KnownMimeTypes.Application.VndKdeKivio, - KnownMimeTypes.Application.VndKdeKontour, - KnownMimeTypes.Application.VndKdeKpresenter, - KnownMimeTypes.Application.VndKdeKspread, - KnownMimeTypes.Application.VndKdeKword, - KnownMimeTypes.Application.VndKenameaapp, - KnownMimeTypes.Application.VndKidspiration, - KnownMimeTypes.Application.VndKinar, - KnownMimeTypes.Application.VndKoan, - KnownMimeTypes.Application.VndKodakDescriptor, - KnownMimeTypes.Application.VndLasLasXml, - KnownMimeTypes.Application.VndLlamagraphicsLifeBalanceDesktop, - KnownMimeTypes.Application.VndLlamagraphicsLifeBalanceExchangeXml, - KnownMimeTypes.Application.VndLotus123, - KnownMimeTypes.Application.VndLotusApproach, - KnownMimeTypes.Application.VndLotusFreelance, - KnownMimeTypes.Application.VndLotusNotes, - KnownMimeTypes.Application.VndLotusOrganizer, - KnownMimeTypes.Application.VndLotusScreencam, - KnownMimeTypes.Application.VndLotusWordpro, - KnownMimeTypes.Application.VndMacportsPortpkg, - KnownMimeTypes.Application.VndMcd, - KnownMimeTypes.Application.VndMedcalcdata, - KnownMimeTypes.Application.VndMediastationCdkey, - KnownMimeTypes.Application.VndMfer, - KnownMimeTypes.Application.VndMfmp, - KnownMimeTypes.Application.VndMicrografxFlo, - KnownMimeTypes.Application.VndMicrografxIgx, - KnownMimeTypes.Application.VndMif, - KnownMimeTypes.Application.VndMobiusDaf, - KnownMimeTypes.Application.VndMobiusDis, - KnownMimeTypes.Application.VndMobiusMbk, - KnownMimeTypes.Application.VndMobiusMqy, - KnownMimeTypes.Application.VndMobiusMsl, - KnownMimeTypes.Application.VndMobiusPlc, - KnownMimeTypes.Application.VndMobiusTxf, - KnownMimeTypes.Application.VndMophunApplication, - KnownMimeTypes.Application.VndMophunCertificate, - KnownMimeTypes.Application.VndMozillaXulXml, - KnownMimeTypes.Application.VndMsArtgalry, - KnownMimeTypes.Application.VndMsCabCompressed, - KnownMimeTypes.Application.VndMsExcel, - KnownMimeTypes.Application.VndMsExcelAddinMacroenabled12, - KnownMimeTypes.Application.VndMsExcelSheetBinaryMacroenabled12, - KnownMimeTypes.Application.VndMsExcelSheetMacroenabled12, - KnownMimeTypes.Application.VndMsExcelTemplateMacroenabled12, - KnownMimeTypes.Application.VndMsFontobject, - KnownMimeTypes.Application.VndMsHtmlhelp, - KnownMimeTypes.Application.VndMsIms, - KnownMimeTypes.Application.VndMsLrm, - KnownMimeTypes.Application.VndMsOfficetheme, - KnownMimeTypes.Application.VndMsPkiSeccat, - KnownMimeTypes.Application.VndMsPkiStl, - KnownMimeTypes.Application.VndMsPowerpoint, - KnownMimeTypes.Application.VndMsPowerpointAddinMacroenabled12, - KnownMimeTypes.Application.VndMsPowerpointPresentationMacroenabled12, - KnownMimeTypes.Application.VndMsPowerpointSlideMacroenabled12, - KnownMimeTypes.Application.VndMsPowerpointSlideshowMacroenabled12, - KnownMimeTypes.Application.VndMsPowerpointTemplateMacroenabled12, - KnownMimeTypes.Application.VndMsProject, - KnownMimeTypes.Application.VndMsWordDocumentMacroenabled12, - KnownMimeTypes.Application.VndMsWordTemplateMacroenabled12, - KnownMimeTypes.Application.VndMsWorks, - KnownMimeTypes.Application.VndMsWpl, - KnownMimeTypes.Application.VndMsXpsdocument, - KnownMimeTypes.Application.VndMseq, - KnownMimeTypes.Application.VndMusician, - KnownMimeTypes.Application.VndMuveeStyle, - KnownMimeTypes.Application.VndNeurolanguageNlu, - KnownMimeTypes.Application.VndNoblenetDirectory, - KnownMimeTypes.Application.VndNoblenetSealer, - KnownMimeTypes.Application.VndNoblenetWeb, - KnownMimeTypes.Application.VndNokiaNGageData, - KnownMimeTypes.Application.VndNokiaNGageSymbianInstall, - KnownMimeTypes.Application.VndNokiaRadioPreset, - KnownMimeTypes.Application.VndNokiaRadioPresets, - KnownMimeTypes.Application.VndNovadigmEdm, - KnownMimeTypes.Application.VndNovadigmEdx, - KnownMimeTypes.Application.VndNovadigmExt, - KnownMimeTypes.Application.VndOasisOpendocumentChart, - KnownMimeTypes.Application.VndOasisOpendocumentChartTemplate, - KnownMimeTypes.Application.VndOasisOpendocumentDatabase, - KnownMimeTypes.Application.VndOasisOpendocumentFormula, - KnownMimeTypes.Application.VndOasisOpendocumentFormulaTemplate, - KnownMimeTypes.Application.VndOasisOpendocumentGraphics, - KnownMimeTypes.Application.VndOasisOpendocumentGraphicsTemplate, - KnownMimeTypes.Application.VndOasisOpendocumentImage, - KnownMimeTypes.Application.VndOasisOpendocumentImageTemplate, - KnownMimeTypes.Application.VndOasisOpendocumentPresentation, - KnownMimeTypes.Application.VndOasisOpendocumentPresentationTemplate, - KnownMimeTypes.Application.VndOasisOpendocumentSpreadsheet, - KnownMimeTypes.Application.VndOasisOpendocumentSpreadsheetTemplate, - KnownMimeTypes.Application.VndOasisOpendocumentText, - KnownMimeTypes.Application.VndOasisOpendocumentTextMaster, - KnownMimeTypes.Application.VndOasisOpendocumentTextTemplate, - KnownMimeTypes.Application.VndOasisOpendocumentTextWeb, - KnownMimeTypes.Application.VndOlpcSugar, - KnownMimeTypes.Application.VndOmaDd2Xml, - KnownMimeTypes.Application.VndOpenofficeorgExtension, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlPresentation, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlSlide, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlSlideshow, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlTemplate, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentSpreadsheetmlSheet, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentWordprocessingmlDocument, - KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentWordprocessingmlTemplate, - KnownMimeTypes.Application.VndOsgeoMapguidePackage, - KnownMimeTypes.Application.VndOsgiDp, - KnownMimeTypes.Application.VndPalm, - KnownMimeTypes.Application.VndPawaafile, - KnownMimeTypes.Application.VndPgFormat, - KnownMimeTypes.Application.VndPgOsasli, - KnownMimeTypes.Application.VndPicsel, - KnownMimeTypes.Application.VndPmiWidget, - KnownMimeTypes.Application.VndPocketlearn, - KnownMimeTypes.Application.VndPowerbuilder6, - KnownMimeTypes.Application.VndPreviewsystemsBox, - KnownMimeTypes.Application.VndProteusMagazine, - KnownMimeTypes.Application.VndPublishareDeltaTree, - KnownMimeTypes.Application.VndPviPtid1, - KnownMimeTypes.Application.VndQuarkQuarkxpress, - KnownMimeTypes.Application.VndRealvncBed, - KnownMimeTypes.Application.VndRecordareMusicxml, - KnownMimeTypes.Application.VndRecordareMusicxmlXml, - KnownMimeTypes.Application.VndRigCryptonote, - KnownMimeTypes.Application.VndRimCod, - KnownMimeTypes.Application.VndRnRealmedia, - KnownMimeTypes.Application.VndRoute66Link66Xml, - KnownMimeTypes.Application.VndSailingtrackerTrack, - KnownMimeTypes.Application.VndSeemail, - KnownMimeTypes.Application.VndSema, - KnownMimeTypes.Application.VndSemd, - KnownMimeTypes.Application.VndSemf, - KnownMimeTypes.Application.VndShanaInformedFormdata, - KnownMimeTypes.Application.VndShanaInformedFormtemplate, - KnownMimeTypes.Application.VndShanaInformedInterchange, - KnownMimeTypes.Application.VndShanaInformedPackage, - KnownMimeTypes.Application.VndSimtechMindmapper, - KnownMimeTypes.Application.VndSmaf, - KnownMimeTypes.Application.VndSmartTeacher, - KnownMimeTypes.Application.VndSolentSdkmXml, - KnownMimeTypes.Application.VndSpotfireDxp, - KnownMimeTypes.Application.VndSpotfireSfs, - KnownMimeTypes.Application.VndStardivisionCalc, - KnownMimeTypes.Application.VndStardivisionDraw, - KnownMimeTypes.Application.VndStardivisionImpress, - KnownMimeTypes.Application.VndStardivisionMath, - KnownMimeTypes.Application.VndStardivisionWriter, - KnownMimeTypes.Application.VndStardivisionWriterGlobal, - KnownMimeTypes.Application.VndStepmaniaStepchart, - KnownMimeTypes.Application.VndSunXmlCalc, - KnownMimeTypes.Application.VndSunXmlCalcTemplate, - KnownMimeTypes.Application.VndSunXmlDraw, - KnownMimeTypes.Application.VndSunXmlDrawTemplate, - KnownMimeTypes.Application.VndSunXmlImpress, - KnownMimeTypes.Application.VndSunXmlImpressTemplate, - KnownMimeTypes.Application.VndSunXmlMath, - KnownMimeTypes.Application.VndSunXmlWriter, - KnownMimeTypes.Application.VndSunXmlWriterGlobal, - KnownMimeTypes.Application.VndSunXmlWriterTemplate, - KnownMimeTypes.Application.VndSusCalendar, - KnownMimeTypes.Application.VndSvd, - KnownMimeTypes.Application.VndSymbianInstall, - KnownMimeTypes.Application.VndSyncmlXml, - KnownMimeTypes.Application.VndSyncmlDmWbxml, - KnownMimeTypes.Application.VndSyncmlDmXml, - KnownMimeTypes.Application.VndTaoIntentModuleArchive, - KnownMimeTypes.Application.VndTmobileLivetv, - KnownMimeTypes.Application.VndTridTpt, - KnownMimeTypes.Application.VndTriscapeMxs, - KnownMimeTypes.Application.VndTrueapp, - KnownMimeTypes.Application.VndUfdl, - KnownMimeTypes.Application.VndUiqTheme, - KnownMimeTypes.Application.VndUmajin, - KnownMimeTypes.Application.VndUnity, - KnownMimeTypes.Application.VndUomlXml, - KnownMimeTypes.Application.VndVcx, - KnownMimeTypes.Application.VndVisio, - KnownMimeTypes.Application.VndVisio2013, - KnownMimeTypes.Application.VndVisionary, - KnownMimeTypes.Application.VndVsf, - KnownMimeTypes.Application.VndWapWbxml, - KnownMimeTypes.Application.VndWapWmlc, - KnownMimeTypes.Application.VndWapWmlscriptc, - KnownMimeTypes.Application.VndWebturbo, - KnownMimeTypes.Application.VndWolframPlayer, - KnownMimeTypes.Application.VndWordperfect, - KnownMimeTypes.Application.VndWqd, - KnownMimeTypes.Application.VndWtStf, - KnownMimeTypes.Application.VndXara, - KnownMimeTypes.Application.VndXfdl, - KnownMimeTypes.Application.VndYamahaHvDic, - KnownMimeTypes.Application.VndYamahaHvScript, - KnownMimeTypes.Application.VndYamahaHvVoice, - KnownMimeTypes.Application.VndYamahaOpenscoreformat, - KnownMimeTypes.Application.VndYamahaOpenscoreformatOsfpvgXml, - KnownMimeTypes.Application.VndYamahaSmafAudio, - KnownMimeTypes.Application.VndYamahaSmafPhrase, - KnownMimeTypes.Application.VndYellowriverCustomMenu, - KnownMimeTypes.Application.VndZul, - KnownMimeTypes.Application.VndZzazzDeckXml, - KnownMimeTypes.Application.VoicexmlXml, - KnownMimeTypes.Application.Widget, - KnownMimeTypes.Application.Winhlp, - KnownMimeTypes.Application.WsdlXml, - KnownMimeTypes.Application.WspolicyXml, - KnownMimeTypes.Application.X7zCompressed, - KnownMimeTypes.Application.XAbiword, - KnownMimeTypes.Application.XAceCompressed, - KnownMimeTypes.Application.XAuthorwareBin, - KnownMimeTypes.Application.XAuthorwareMap, - KnownMimeTypes.Application.XAuthorwareSeg, - KnownMimeTypes.Application.XBcpio, - KnownMimeTypes.Application.XBittorrent, - KnownMimeTypes.Application.XBzip, - KnownMimeTypes.Application.XBzip2, - KnownMimeTypes.Application.XCdlink, - KnownMimeTypes.Application.XChat, - KnownMimeTypes.Application.XChessPgn, - KnownMimeTypes.Application.XCpio, - KnownMimeTypes.Application.XCsh, - KnownMimeTypes.Application.XDebianPackage, - KnownMimeTypes.Application.XDirector, - KnownMimeTypes.Application.XDoom, - KnownMimeTypes.Application.XDtbncxXml, - KnownMimeTypes.Application.XDtbookXml, - KnownMimeTypes.Application.XDtbresourceXml, - KnownMimeTypes.Application.XDvi, - KnownMimeTypes.Application.XFontBdf, - KnownMimeTypes.Application.XFontGhostscript, - KnownMimeTypes.Application.XFontLinuxPsf, - KnownMimeTypes.Application.XFontOtf, - KnownMimeTypes.Application.XFontPcf, - KnownMimeTypes.Application.XFontSnf, - KnownMimeTypes.Application.XFontTtf, - KnownMimeTypes.Application.XFontType1, - KnownMimeTypes.Application.XFontWoff, - KnownMimeTypes.Application.XFuturesplash, - KnownMimeTypes.Application.XGnumeric, - KnownMimeTypes.Application.XGtar, - KnownMimeTypes.Application.XHdf, - KnownMimeTypes.Application.XJavaJnlpFile, - KnownMimeTypes.Application.XLatex, - KnownMimeTypes.Application.XMobipocketEbook, - KnownMimeTypes.Application.XMsApplication, - KnownMimeTypes.Application.XMsWmd, - KnownMimeTypes.Application.XMsWmz, - KnownMimeTypes.Application.XMsXbap, - KnownMimeTypes.Application.XMsaccess, - KnownMimeTypes.Application.XMsbinder, - KnownMimeTypes.Application.XMscardfile, - KnownMimeTypes.Application.XMsclip, - KnownMimeTypes.Application.XMsdownload, - KnownMimeTypes.Application.XMsmediaview, - KnownMimeTypes.Application.XMsmetafile, - KnownMimeTypes.Application.XMsmoney, - KnownMimeTypes.Application.XMspublisher, - KnownMimeTypes.Application.XMsschedule, - KnownMimeTypes.Application.XMsterminal, - KnownMimeTypes.Application.XMswrite, - KnownMimeTypes.Application.XNetcdf, - KnownMimeTypes.Application.XPkcs12, - KnownMimeTypes.Application.XPkcs7Certificates, - KnownMimeTypes.Application.XPkcs7Certreqresp, - KnownMimeTypes.Application.XRarCompressed, - KnownMimeTypes.Application.XSh, - KnownMimeTypes.Application.XShar, - KnownMimeTypes.Application.XShockwaveFlash, - KnownMimeTypes.Application.XSilverlightApp, - KnownMimeTypes.Application.XStuffit, - KnownMimeTypes.Application.XStuffitx, - KnownMimeTypes.Application.XSv4cpio, - KnownMimeTypes.Application.XSv4crc, - KnownMimeTypes.Application.XTar, - KnownMimeTypes.Application.XTcl, - KnownMimeTypes.Application.XTex, - KnownMimeTypes.Application.XTexTfm, - KnownMimeTypes.Application.XTexinfo, - KnownMimeTypes.Application.XUstar, - KnownMimeTypes.Application.XWaisSource, - KnownMimeTypes.Application.XX509CaCert, - KnownMimeTypes.Application.XXfig, - KnownMimeTypes.Application.XXpinstall, - KnownMimeTypes.Application.XcapDiffXml, - KnownMimeTypes.Application.XencXml, - KnownMimeTypes.Application.XhtmlXml, - KnownMimeTypes.Application.Xml, - KnownMimeTypes.Application.XmlDtd, - KnownMimeTypes.Application.XopXml, - KnownMimeTypes.Application.XsltXml, - KnownMimeTypes.Application.XspfXml, - KnownMimeTypes.Application.XvXml, - KnownMimeTypes.Application.Yang, - KnownMimeTypes.Application.YinXml, - KnownMimeTypes.Application.Zip, - KnownMimeTypes.Application.XAppleDiskimage, - KnownMimeTypes.Audio.Adpcm, - KnownMimeTypes.Audio.Basic, - KnownMimeTypes.Audio.Midi, - KnownMimeTypes.Audio.Mp4, - KnownMimeTypes.Audio.Mpeg, - KnownMimeTypes.Audio.Ogg, - KnownMimeTypes.Audio.VndDeceAudio, - KnownMimeTypes.Audio.VndDigitalWinds, - KnownMimeTypes.Audio.VndDra, - KnownMimeTypes.Audio.VndDts, - KnownMimeTypes.Audio.VndDtsHd, - KnownMimeTypes.Audio.VndLucentVoice, - KnownMimeTypes.Audio.VndMsPlayreadyMediaPya, - KnownMimeTypes.Audio.VndNueraEcelp4800, - KnownMimeTypes.Audio.VndNueraEcelp7470, - KnownMimeTypes.Audio.VndNueraEcelp9600, - KnownMimeTypes.Audio.VndRip, - KnownMimeTypes.Audio.Webm, - KnownMimeTypes.Audio.XAac, - KnownMimeTypes.Audio.XAiff, - KnownMimeTypes.Audio.XMpegurl, - KnownMimeTypes.Audio.XMsWax, - KnownMimeTypes.Audio.XMsWma, - KnownMimeTypes.Audio.XPnRealaudio, - KnownMimeTypes.Audio.XPnRealaudioPlugin, - KnownMimeTypes.Audio.XWav, - KnownMimeTypes.Chemical.XCdx, - KnownMimeTypes.Chemical.XCif, - KnownMimeTypes.Chemical.XCmdf, - KnownMimeTypes.Chemical.XCml, - KnownMimeTypes.Chemical.XCsml, - KnownMimeTypes.Chemical.XXyz, - KnownMimeTypes.Image.Any, - KnownMimeTypes.Image.Bmp, - KnownMimeTypes.Image.Cgm, - KnownMimeTypes.Image.G3fax, - KnownMimeTypes.Image.Gif, - KnownMimeTypes.Image.Ief, - KnownMimeTypes.Image.Jpeg, - KnownMimeTypes.Image.Pjpeg, - KnownMimeTypes.Image.XCitrixJpeg, - KnownMimeTypes.Image.Ktx, - KnownMimeTypes.Image.Png, - KnownMimeTypes.Image.XPng, - KnownMimeTypes.Image.XCitrixPng, - KnownMimeTypes.Image.PrsBtif, - KnownMimeTypes.Image.SvgXml, - KnownMimeTypes.Image.Tiff, - KnownMimeTypes.Image.VndAdobePhotoshop, - KnownMimeTypes.Image.VndDeceGraphic, - KnownMimeTypes.Image.VndDvbSubtitle, - KnownMimeTypes.Image.VndDjvu, - KnownMimeTypes.Image.VndDwg, - KnownMimeTypes.Image.VndDxf, - KnownMimeTypes.Image.VndFastbidsheet, - KnownMimeTypes.Image.VndFpx, - KnownMimeTypes.Image.VndFst, - KnownMimeTypes.Image.VndFujixeroxEdmicsMmr, - KnownMimeTypes.Image.VndFujixeroxEdmicsRlc, - KnownMimeTypes.Image.VndMsModi, - KnownMimeTypes.Image.VndNetFpx, - KnownMimeTypes.Image.VndWapWbmp, - KnownMimeTypes.Image.VndXiff, - KnownMimeTypes.Image.Webp, - KnownMimeTypes.Image.XCmuRaster, - KnownMimeTypes.Image.XCmx, - KnownMimeTypes.Image.XFreehand, - KnownMimeTypes.Image.XIcon, - KnownMimeTypes.Image.XPcx, - KnownMimeTypes.Image.XPict, - KnownMimeTypes.Image.XPortableAnymap, - KnownMimeTypes.Image.XPortableBitmap, - KnownMimeTypes.Image.XPortableGraymap, - KnownMimeTypes.Image.XPortablePixmap, - KnownMimeTypes.Image.XRgb, - KnownMimeTypes.Image.XXbitmap, - KnownMimeTypes.Image.XXpixmap, - KnownMimeTypes.Image.XXwindowdump, - KnownMimeTypes.Message.Rfc822, - KnownMimeTypes.Model.Iges, - KnownMimeTypes.Model.Mesh, - KnownMimeTypes.Model.VndColladaXml, - KnownMimeTypes.Model.VndDwf, - KnownMimeTypes.Model.VndGdl, - KnownMimeTypes.Model.VndGtw, - KnownMimeTypes.Model.VndMts, - KnownMimeTypes.Model.VndVtu, - KnownMimeTypes.Model.Vrml, - KnownMimeTypes.Text.Calendar, - KnownMimeTypes.Text.Css, - KnownMimeTypes.Text.Csv, - KnownMimeTypes.Text.Html, - KnownMimeTypes.Text.N3, - KnownMimeTypes.Text.Plain, - KnownMimeTypes.Text.PrsLinesTag, - KnownMimeTypes.Text.Richtext, - KnownMimeTypes.Text.Sgml, - KnownMimeTypes.Text.TabSeparatedValues, - KnownMimeTypes.Text.Troff, - KnownMimeTypes.Text.Turtle, - KnownMimeTypes.Text.UriList, - KnownMimeTypes.Text.VndCurl, - KnownMimeTypes.Text.VndCurlDcurl, - KnownMimeTypes.Text.VndCurlScurl, - KnownMimeTypes.Text.VndCurlMcurl, - KnownMimeTypes.Text.VndFly, - KnownMimeTypes.Text.VndFmiFlexstor, - KnownMimeTypes.Text.VndGraphviz, - KnownMimeTypes.Text.VndIn3d3dml, - KnownMimeTypes.Text.VndIn3dSpot, - KnownMimeTypes.Text.VndSunJ2meAppDescriptor, - KnownMimeTypes.Text.VndWapWml, - KnownMimeTypes.Text.VndWapWmlscript, - KnownMimeTypes.Text.XAsm, - KnownMimeTypes.Text.XC, - KnownMimeTypes.Text.XFortran, - KnownMimeTypes.Text.XPascal, - KnownMimeTypes.Text.XJavaSourceJava, - KnownMimeTypes.Text.XSetext, - KnownMimeTypes.Text.XUuencode, - KnownMimeTypes.Text.XVcalendar, - KnownMimeTypes.Text.XVcard, - KnownMimeTypes.Text.PlainBas, - KnownMimeTypes.Text.Yaml, - KnownMimeTypes.Video.V3gpp, - KnownMimeTypes.Video.V3gpp2, - KnownMimeTypes.Video.H261, - KnownMimeTypes.Video.H263, - KnownMimeTypes.Video.H264, - KnownMimeTypes.Video.Jpeg, - KnownMimeTypes.Video.Jpm, - KnownMimeTypes.Video.Mj2, - KnownMimeTypes.Video.Mp4, - KnownMimeTypes.Video.Mpeg, - KnownMimeTypes.Video.Ogg, - KnownMimeTypes.Video.Quicktime, - KnownMimeTypes.Video.VndDeceHd, - KnownMimeTypes.Video.VndDeceMobile, - KnownMimeTypes.Video.VndDecePd, - KnownMimeTypes.Video.VndDeceSd, - KnownMimeTypes.Video.VndDeceVideo, - KnownMimeTypes.Video.VndFvt, - KnownMimeTypes.Video.VndMpegurl, - KnownMimeTypes.Video.VndMsPlayreadyMediaPyv, - KnownMimeTypes.Video.VndUvvuMp4, - KnownMimeTypes.Video.VndVivo, - KnownMimeTypes.Video.Webm, - KnownMimeTypes.Video.XF4v, - KnownMimeTypes.Video.XFli, - KnownMimeTypes.Video.XFlv, - KnownMimeTypes.Video.XM4v, - KnownMimeTypes.Video.XMsAsf, - KnownMimeTypes.Video.XMsWm, - KnownMimeTypes.Video.XMsWmv, - KnownMimeTypes.Video.XMsWmx, - KnownMimeTypes.Video.XMsWvx, - KnownMimeTypes.Video.XMsvideo, - KnownMimeTypes.Video.XSgiMovie, - KnownMimeTypes.XConference.Any, - KnownMimeTypes.XConference.XCooltalk, -) - val knownMimeTypesMap by lazy { knownMimeTypes.associateBy { it.raw } } diff --git a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypesSet.kt b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypesSet.kt new file mode 100644 index 00000000000..9337e49b7ce --- /dev/null +++ b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/KnownMimeTypesSet.kt @@ -0,0 +1,705 @@ +package dev.inmo.micro_utils.mime_types + +internal val knownMimeTypes: Set = setOf( + KnownMimeTypes.Any, + KnownMimeTypes.Application.VndHzn3dCrossword, + KnownMimeTypes.Application.VndMseq, + KnownMimeTypes.Application.Vnd3mPostItNotes, + KnownMimeTypes.Application.Vnd3gppPicBwLarge, + KnownMimeTypes.Application.Vnd3gppPicBwSmall, + KnownMimeTypes.Application.Vnd3gppPicBwVar, + KnownMimeTypes.Application.Vnd3gpp2Tcap, + KnownMimeTypes.Application.X7zCompressed, + KnownMimeTypes.Application.XAbiword, + KnownMimeTypes.Application.XAceCompressed, + KnownMimeTypes.Application.VndAmericandynamicsAcc, + KnownMimeTypes.Application.VndAcucobol, + KnownMimeTypes.Application.VndAcucorp, + KnownMimeTypes.Application.XAuthorwareBin, + KnownMimeTypes.Application.XAuthorwareMap, + KnownMimeTypes.Application.XAuthorwareSeg, + KnownMimeTypes.Application.VndAdobeAirApplicationInstallerPackageZip, + KnownMimeTypes.Application.XShockwaveFlash, + KnownMimeTypes.Application.VndAdobeFxp, + KnownMimeTypes.Application.Pdf, + KnownMimeTypes.Application.VndCupsPpd, + KnownMimeTypes.Application.XDirector, + KnownMimeTypes.Application.VndAdobeXdpXml, + KnownMimeTypes.Application.VndAdobeXfdf, + KnownMimeTypes.Application.VndAheadSpace, + KnownMimeTypes.Application.VndAirzipFilesecureAzf, + KnownMimeTypes.Application.VndAirzipFilesecureAzs, + KnownMimeTypes.Application.VndAmazonEbook, + KnownMimeTypes.Application.VndAmigaAmi, + KnownMimeTypes.Application.AndrewInset, + KnownMimeTypes.Application.VndAndroidPackageArchive, + KnownMimeTypes.Application.VndAnserWebCertificateIssueInitiation, + KnownMimeTypes.Application.VndAnserWebFundsTransferInitiation, + KnownMimeTypes.Application.VndAntixGameComponent, + KnownMimeTypes.Application.XAppleDiskimage, + KnownMimeTypes.Application.VndAppleInstallerXml, + KnownMimeTypes.Application.Applixware, + KnownMimeTypes.Application.VndHheLessonPlayer, + KnownMimeTypes.Application.XFreearc, + KnownMimeTypes.Application.VndAristanetworksSwi, + KnownMimeTypes.Application.AtomcatXml, + KnownMimeTypes.Application.AtomsvcXml, + KnownMimeTypes.Application.AtomXml, + KnownMimeTypes.Application.PkixAttrCert, + KnownMimeTypes.Application.VndAudiograph, + KnownMimeTypes.Application.XBcpio, + KnownMimeTypes.Application.OctetStream, + KnownMimeTypes.Application.XBittorrent, + KnownMimeTypes.Application.VndRimCod, + KnownMimeTypes.Application.VndBlueiceMultipass, + KnownMimeTypes.Application.VndBmi, + KnownMimeTypes.Application.XSh, + KnownMimeTypes.Application.VndBusinessobjects, + KnownMimeTypes.Application.XBzip, + KnownMimeTypes.Application.XBzip2, + KnownMimeTypes.Application.XCsh, + KnownMimeTypes.Application.VndChemdrawXml, + KnownMimeTypes.Application.XCdf, + KnownMimeTypes.Application.VndContactCmsg, + KnownMimeTypes.Application.VndClaymore, + KnownMimeTypes.Application.VndClonkC4group, + KnownMimeTypes.Application.CdmiCapability, + KnownMimeTypes.Application.CdmiContainer, + KnownMimeTypes.Application.CdmiDomain, + KnownMimeTypes.Application.CdmiObject, + KnownMimeTypes.Application.CdmiQueue, + KnownMimeTypes.Application.VndCluetrustCartomobileConfig, + KnownMimeTypes.Application.VndCluetrustCartomobileConfigPkg, + KnownMimeTypes.Application.MacCompactpro, + KnownMimeTypes.Application.VndWapWmlc, + KnownMimeTypes.Application.VndXara, + KnownMimeTypes.Application.VndCosmocaller, + KnownMimeTypes.Application.XCpio, + KnownMimeTypes.Application.VndCrickClicker, + KnownMimeTypes.Application.VndCrickClickerKeyboard, + KnownMimeTypes.Application.VndCrickClickerPalette, + KnownMimeTypes.Application.VndCrickClickerTemplate, + KnownMimeTypes.Application.VndCrickClickerWordbank, + KnownMimeTypes.Application.VndCriticaltoolsWbsXml, + KnownMimeTypes.Application.VndRigCryptonote, + KnownMimeTypes.Application.CuSeeme, + KnownMimeTypes.Application.PrsCww, + KnownMimeTypes.Application.VndCurlCar, + KnownMimeTypes.Application.VndCurlPcurl, + KnownMimeTypes.Application.VndYellowriverCustomMenu, + KnownMimeTypes.Application.DsscDer, + KnownMimeTypes.Application.DsscXml, + KnownMimeTypes.Application.XDebianPackage, + KnownMimeTypes.Application.XDvi, + KnownMimeTypes.Application.VndFdsnSeed, + KnownMimeTypes.Application.XDtbookXml, + KnownMimeTypes.Application.XDtbresourceXml, + KnownMimeTypes.Application.VndDvbAit, + KnownMimeTypes.Application.VndDvbService, + KnownMimeTypes.Application.XmlDtd, + KnownMimeTypes.Application.VndDolbyMlp, + KnownMimeTypes.Application.XDoom, + KnownMimeTypes.Application.VndDpgraph, + KnownMimeTypes.Application.VndDreamfactory, + KnownMimeTypes.Application.VndDynageo, + KnownMimeTypes.Application.Ecmascript, + KnownMimeTypes.Application.VndEcowinChart, + KnownMimeTypes.Application.Exi, + KnownMimeTypes.Application.VndProteusMagazine, + KnownMimeTypes.Application.EpubZip, + KnownMimeTypes.Application.VndEnliven, + KnownMimeTypes.Application.VndIsXpr, + KnownMimeTypes.Application.VndXfdl, + KnownMimeTypes.Application.EmmaXml, + KnownMimeTypes.Application.VndEzpixAlbum, + KnownMimeTypes.Application.VndEzpixPackage, + KnownMimeTypes.Application.VndDenovoFcselayoutLink, + KnownMimeTypes.Application.VndFluxtimeClip, + KnownMimeTypes.Application.VndFdf, + KnownMimeTypes.Application.VndMif, + KnownMimeTypes.Application.VndFramemaker, + KnownMimeTypes.Application.VndFscWeblaunch, + KnownMimeTypes.Application.VndFrogansFnc, + KnownMimeTypes.Application.VndFrogansLtf, + KnownMimeTypes.Application.VndFujixeroxDdd, + KnownMimeTypes.Application.VndFujixeroxDocuworks, + KnownMimeTypes.Application.VndFujixeroxDocuworksBinder, + KnownMimeTypes.Application.VndFujitsuOasys, + KnownMimeTypes.Application.VndFujitsuOasys2, + KnownMimeTypes.Application.VndFujitsuOasys3, + KnownMimeTypes.Application.VndFujitsuOasysgp, + KnownMimeTypes.Application.VndFujitsuOasysprs, + KnownMimeTypes.Application.XFuturesplash, + KnownMimeTypes.Application.VndFuzzysheet, + KnownMimeTypes.Application.VndGmx, + KnownMimeTypes.Application.VndGenomatixTuxedo, + KnownMimeTypes.Application.VndGeogebraFile, + KnownMimeTypes.Application.VndGeogebraTool, + KnownMimeTypes.Application.VndGeometryExplorer, + KnownMimeTypes.Application.VndGeonext, + KnownMimeTypes.Application.VndGeoplan, + KnownMimeTypes.Application.VndGeospace, + KnownMimeTypes.Application.XFontGhostscript, + KnownMimeTypes.Application.XFontBdf, + KnownMimeTypes.Application.XGtar, + KnownMimeTypes.Application.XTexinfo, + KnownMimeTypes.Application.XGnumeric, + KnownMimeTypes.Application.VndGoogleEarthKmlXml, + KnownMimeTypes.Application.VndGoogleEarthKmz, + KnownMimeTypes.Application.GpxXml, + KnownMimeTypes.Application.VndGrafeq, + KnownMimeTypes.Application.VndGrooveAccount, + KnownMimeTypes.Application.VndGrooveHelp, + KnownMimeTypes.Application.VndGrooveIdentityMessage, + KnownMimeTypes.Application.VndGrooveInjector, + KnownMimeTypes.Application.VndGrooveToolMessage, + KnownMimeTypes.Application.VndGrooveToolTemplate, + KnownMimeTypes.Application.VndGrooveVcard, + KnownMimeTypes.Application.Gzip, + KnownMimeTypes.Application.VndHpHpid, + KnownMimeTypes.Application.VndHpHps, + KnownMimeTypes.Application.XHdf, + KnownMimeTypes.Application.VndHbci, + KnownMimeTypes.Application.VndHpJlyt, + KnownMimeTypes.Application.VndHpPcl, + KnownMimeTypes.Application.VndHpHpgl, + KnownMimeTypes.Application.VndYamahaHvScript, + KnownMimeTypes.Application.VndYamahaHvDic, + KnownMimeTypes.Application.VndYamahaHvVoice, + KnownMimeTypes.Application.VndHydrostatixSofData, + KnownMimeTypes.Application.Hyperstudio, + KnownMimeTypes.Application.VndHalXml, + KnownMimeTypes.Application.VndIbmRightsManagement, + KnownMimeTypes.Application.VndIbmSecureContainer, + KnownMimeTypes.Application.VndIccprofile, + KnownMimeTypes.Application.VndIgloader, + KnownMimeTypes.Application.VndImmervisionIvp, + KnownMimeTypes.Application.VndImmervisionIvu, + KnownMimeTypes.Application.ReginfoXml, + KnownMimeTypes.Application.VndIntergeo, + KnownMimeTypes.Application.VndCinderella, + KnownMimeTypes.Application.VndInterconFormnet, + KnownMimeTypes.Application.VndIsacFcs, + KnownMimeTypes.Application.Ipfix, + KnownMimeTypes.Application.PkixCert, + KnownMimeTypes.Application.Pkixcmp, + KnownMimeTypes.Application.PkixCrl, + KnownMimeTypes.Application.PkixPkipath, + KnownMimeTypes.Application.VndInsorsIgm, + KnownMimeTypes.Application.VndIpunpluggedRcprofile, + KnownMimeTypes.Application.VndIrepositoryPackageXml, + KnownMimeTypes.Application.JavaArchive, + KnownMimeTypes.Application.JavaVm, + KnownMimeTypes.Application.XJavaJnlpFile, + KnownMimeTypes.Application.JavaSerializedObject, + KnownMimeTypes.Application.Javascript, + KnownMimeTypes.Application.Json, + KnownMimeTypes.Application.VndJoostJodaArchive, + KnownMimeTypes.Application.LdJson, + KnownMimeTypes.Application.VndKahootz, + KnownMimeTypes.Application.VndChipnutsKaraokeMmd, + KnownMimeTypes.Application.VndKdeKarbon, + KnownMimeTypes.Application.VndKdeKchart, + KnownMimeTypes.Application.VndKdeKformula, + KnownMimeTypes.Application.VndKdeKivio, + KnownMimeTypes.Application.VndKdeKontour, + KnownMimeTypes.Application.VndKdeKpresenter, + KnownMimeTypes.Application.VndKdeKspread, + KnownMimeTypes.Application.VndKdeKword, + KnownMimeTypes.Application.VndKenameaapp, + KnownMimeTypes.Application.VndKidspiration, + KnownMimeTypes.Application.VndKinar, + KnownMimeTypes.Application.VndKodakDescriptor, + KnownMimeTypes.Application.VndLasLasXml, + KnownMimeTypes.Application.XLatex, + KnownMimeTypes.Application.VndLlamagraphicsLifeBalanceDesktop, + KnownMimeTypes.Application.VndLlamagraphicsLifeBalanceExchangeXml, + KnownMimeTypes.Application.VndJam, + KnownMimeTypes.Application.VndLotus123, + KnownMimeTypes.Application.VndLotusApproach, + KnownMimeTypes.Application.VndLotusFreelance, + KnownMimeTypes.Application.VndLotusNotes, + KnownMimeTypes.Application.VndLotusOrganizer, + KnownMimeTypes.Application.VndLotusScreencam, + KnownMimeTypes.Application.VndLotusWordpro, + KnownMimeTypes.Application.MacBinhex40, + KnownMimeTypes.Application.VndMacportsPortpkg, + KnownMimeTypes.Application.VndOsgeoMapguidePackage, + KnownMimeTypes.Application.Marc, + KnownMimeTypes.Application.MarcxmlXml, + KnownMimeTypes.Application.Mxf, + KnownMimeTypes.Application.VndWolframPlayer, + KnownMimeTypes.Application.Mathematica, + KnownMimeTypes.Application.MathmlXml, + KnownMimeTypes.Application.Mbox, + KnownMimeTypes.Application.VndMedcalcdata, + KnownMimeTypes.Application.MediaservercontrolXml, + KnownMimeTypes.Application.VndMediastationCdkey, + KnownMimeTypes.Application.VndMfer, + KnownMimeTypes.Application.VndMfmp, + KnownMimeTypes.Application.MadsXml, + KnownMimeTypes.Application.MetsXml, + KnownMimeTypes.Application.ModsXml, + KnownMimeTypes.Application.Metalink4Xml, + KnownMimeTypes.Application.VndMcd, + KnownMimeTypes.Application.VndMicrografxFlo, + KnownMimeTypes.Application.VndMicrografxIgx, + KnownMimeTypes.Application.VndEszigno3Xml, + KnownMimeTypes.Application.XMsaccess, + KnownMimeTypes.Application.XMsdownload, + KnownMimeTypes.Application.VndMsArtgalry, + KnownMimeTypes.Application.VndMsCabCompressed, + KnownMimeTypes.Application.VndMsIms, + KnownMimeTypes.Application.XMsApplication, + KnownMimeTypes.Application.XMsclip, + KnownMimeTypes.Application.VndMsFontobject, + KnownMimeTypes.Application.VndMsExcel, + KnownMimeTypes.Application.VndMsExcelAddinMacroenabled12, + KnownMimeTypes.Application.VndMsExcelSheetBinaryMacroenabled12, + KnownMimeTypes.Application.VndMsExcelTemplateMacroenabled12, + KnownMimeTypes.Application.VndMsExcelSheetMacroenabled12, + KnownMimeTypes.Application.VndMsHtmlhelp, + KnownMimeTypes.Application.XMscardfile, + KnownMimeTypes.Application.VndMsLrm, + KnownMimeTypes.Application.XMsmediaview, + KnownMimeTypes.Application.XMsmoney, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlPresentation, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlSlide, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlSlideshow, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentPresentationmlTemplate, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentSpreadsheetmlSheet, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentWordprocessingmlDocument, + KnownMimeTypes.Application.VndOpenxmlformatsOfficedocumentWordprocessingmlTemplate, + KnownMimeTypes.Application.XMsbinder, + KnownMimeTypes.Application.VndMsOfficetheme, + KnownMimeTypes.Application.Onenote, + KnownMimeTypes.Application.VndMsPowerpoint, + KnownMimeTypes.Application.VndMsPowerpointAddinMacroenabled12, + KnownMimeTypes.Application.VndMsPowerpointSlideMacroenabled12, + KnownMimeTypes.Application.VndMsPowerpointPresentationMacroenabled12, + KnownMimeTypes.Application.VndMsPowerpointSlideshowMacroenabled12, + KnownMimeTypes.Application.VndMsPowerpointTemplateMacroenabled12, + KnownMimeTypes.Application.VndMsProject, + KnownMimeTypes.Application.XMspublisher, + KnownMimeTypes.Application.XMsschedule, + KnownMimeTypes.Application.XSilverlightApp, + KnownMimeTypes.Application.VndMsPkiStl, + KnownMimeTypes.Application.VndMsPkiSeccat, + KnownMimeTypes.Application.VndVisio, + KnownMimeTypes.Application.VndVisio2013, + KnownMimeTypes.Application.XMsWmd, + KnownMimeTypes.Application.VndMsWpl, + KnownMimeTypes.Application.XMsWmz, + KnownMimeTypes.Application.XMsmetafile, + KnownMimeTypes.Application.XMsterminal, + KnownMimeTypes.Application.Msword, + KnownMimeTypes.Application.VndMsWordDocumentMacroenabled12, + KnownMimeTypes.Application.VndMsWordTemplateMacroenabled12, + KnownMimeTypes.Application.XMswrite, + KnownMimeTypes.Application.VndMsWorks, + KnownMimeTypes.Application.XMsXbap, + KnownMimeTypes.Application.VndMsXpsdocument, + KnownMimeTypes.Application.VndIbmMinipay, + KnownMimeTypes.Application.VndIbmModcap, + KnownMimeTypes.Application.VndJcpJavameMidletRms, + KnownMimeTypes.Application.VndTmobileLivetv, + KnownMimeTypes.Application.XMobipocketEbook, + KnownMimeTypes.Application.VndMobiusMbk, + KnownMimeTypes.Application.VndMobiusDis, + KnownMimeTypes.Application.VndMobiusPlc, + KnownMimeTypes.Application.VndMobiusMqy, + KnownMimeTypes.Application.VndMobiusMsl, + KnownMimeTypes.Application.VndMobiusTxf, + KnownMimeTypes.Application.VndMobiusDaf, + KnownMimeTypes.Application.VndMophunCertificate, + KnownMimeTypes.Application.VndMophunApplication, + KnownMimeTypes.Application.Mp21, + KnownMimeTypes.Application.Mp4, + KnownMimeTypes.Application.VndAppleMpegurl, + KnownMimeTypes.Application.VndMusician, + KnownMimeTypes.Application.VndMuveeStyle, + KnownMimeTypes.Application.XvXml, + KnownMimeTypes.Application.VndNokiaNGageData, + KnownMimeTypes.Application.VndNokiaNGageSymbianInstall, + KnownMimeTypes.Application.XDtbncxXml, + KnownMimeTypes.Application.XNetcdf, + KnownMimeTypes.Application.VndNeurolanguageNlu, + KnownMimeTypes.Application.VndDna, + KnownMimeTypes.Application.VndNoblenetDirectory, + KnownMimeTypes.Application.VndNoblenetSealer, + KnownMimeTypes.Application.VndNoblenetWeb, + KnownMimeTypes.Application.VndNokiaRadioPreset, + KnownMimeTypes.Application.VndNokiaRadioPresets, + KnownMimeTypes.Application.VndNovadigmEdm, + KnownMimeTypes.Application.VndNovadigmEdx, + KnownMimeTypes.Application.VndNovadigmExt, + KnownMimeTypes.Application.VndFlographit, + KnownMimeTypes.Application.Oda, + KnownMimeTypes.Application.Ogg, + KnownMimeTypes.Application.VndOmaDd2Xml, + KnownMimeTypes.Application.VndOasisOpendocumentTextWeb, + KnownMimeTypes.Application.OebpsPackageXml, + KnownMimeTypes.Application.VndIntuQbo, + KnownMimeTypes.Application.VndOpenofficeorgExtension, + KnownMimeTypes.Application.VndYamahaOpenscoreformat, + KnownMimeTypes.Application.VndOasisOpendocumentChart, + KnownMimeTypes.Application.VndOasisOpendocumentChartTemplate, + KnownMimeTypes.Application.VndOasisOpendocumentDatabase, + KnownMimeTypes.Application.VndOasisOpendocumentFormula, + KnownMimeTypes.Application.VndOasisOpendocumentFormulaTemplate, + KnownMimeTypes.Application.VndOasisOpendocumentGraphics, + KnownMimeTypes.Application.VndOasisOpendocumentGraphicsTemplate, + KnownMimeTypes.Application.VndOasisOpendocumentImage, + KnownMimeTypes.Application.VndOasisOpendocumentImageTemplate, + KnownMimeTypes.Application.VndOasisOpendocumentPresentation, + KnownMimeTypes.Application.VndOasisOpendocumentPresentationTemplate, + KnownMimeTypes.Application.VndOasisOpendocumentSpreadsheet, + KnownMimeTypes.Application.VndOasisOpendocumentSpreadsheetTemplate, + KnownMimeTypes.Application.VndOasisOpendocumentText, + KnownMimeTypes.Application.VndOasisOpendocumentTextMaster, + KnownMimeTypes.Application.VndOasisOpendocumentTextTemplate, + KnownMimeTypes.Application.VndSunXmlCalc, + KnownMimeTypes.Application.VndSunXmlCalcTemplate, + KnownMimeTypes.Application.VndSunXmlDraw, + KnownMimeTypes.Application.VndSunXmlDrawTemplate, + KnownMimeTypes.Application.VndSunXmlImpress, + KnownMimeTypes.Application.VndSunXmlImpressTemplate, + KnownMimeTypes.Application.VndSunXmlMath, + KnownMimeTypes.Application.VndSunXmlWriter, + KnownMimeTypes.Application.VndSunXmlWriterGlobal, + KnownMimeTypes.Application.VndSunXmlWriterTemplate, + KnownMimeTypes.Application.XFontOtf, + KnownMimeTypes.Application.VndYamahaOpenscoreformatOsfpvgXml, + KnownMimeTypes.Application.VndOsgiDp, + KnownMimeTypes.Application.VndPalm, + KnownMimeTypes.Application.VndPawaafile, + KnownMimeTypes.Application.VndHpPclxl, + KnownMimeTypes.Application.VndPicsel, + KnownMimeTypes.Application.PicsRules, + KnownMimeTypes.Application.XChat, + KnownMimeTypes.Application.Pkcs10, + KnownMimeTypes.Application.XPkcs12, + KnownMimeTypes.Application.Pkcs7Mime, + KnownMimeTypes.Application.Pkcs7Signature, + KnownMimeTypes.Application.XPkcs7Certreqresp, + KnownMimeTypes.Application.XPkcs7Certificates, + KnownMimeTypes.Application.Pkcs8, + KnownMimeTypes.Application.VndPocketlearn, + KnownMimeTypes.Application.XFontPcf, + KnownMimeTypes.Application.FontTdpfr, + KnownMimeTypes.Application.XChessPgn, + KnownMimeTypes.Application.PskcXml, + KnownMimeTypes.Application.VndCtcPosml, + KnownMimeTypes.Application.Postscript, + KnownMimeTypes.Application.XFontType1, + KnownMimeTypes.Application.VndPowerbuilder6, + KnownMimeTypes.Application.PgpEncrypted, + KnownMimeTypes.Application.PgpSignature, + KnownMimeTypes.Application.VndPreviewsystemsBox, + KnownMimeTypes.Application.VndPviPtid1, + KnownMimeTypes.Application.PlsXml, + KnownMimeTypes.Application.VndPgFormat, + KnownMimeTypes.Application.VndPgOsasli, + KnownMimeTypes.Application.XFontLinuxPsf, + KnownMimeTypes.Application.VndPublishareDeltaTree, + KnownMimeTypes.Application.VndPmiWidget, + KnownMimeTypes.Application.VndQuarkQuarkxpress, + KnownMimeTypes.Application.VndEpsonEsf, + KnownMimeTypes.Application.VndEpsonMsf, + KnownMimeTypes.Application.VndEpsonSsf, + KnownMimeTypes.Application.VndEpsonQuickanime, + KnownMimeTypes.Application.VndIntuQfx, + KnownMimeTypes.Application.XRarCompressed, + KnownMimeTypes.Application.RsdXml, + KnownMimeTypes.Application.VndRnRealmedia, + KnownMimeTypes.Application.VndRealvncBed, + KnownMimeTypes.Application.VndRecordareMusicxml, + KnownMimeTypes.Application.VndRecordareMusicxmlXml, + KnownMimeTypes.Application.RelaxNgCompactSyntax, + KnownMimeTypes.Application.VndDataVisionRdz, + KnownMimeTypes.Application.RdfXml, + KnownMimeTypes.Application.VndCloantoRp9, + KnownMimeTypes.Application.VndJisp, + KnownMimeTypes.Application.Rtf, + KnownMimeTypes.Application.VndRoute66Link66Xml, + KnownMimeTypes.Application.RssXml, + KnownMimeTypes.Application.ShfXml, + KnownMimeTypes.Application.VndSailingtrackerTrack, + KnownMimeTypes.Application.VndSusCalendar, + KnownMimeTypes.Application.SruXml, + KnownMimeTypes.Application.SetPaymentInitiation, + KnownMimeTypes.Application.SetRegistrationInitiation, + KnownMimeTypes.Application.VndSema, + KnownMimeTypes.Application.VndSemd, + KnownMimeTypes.Application.VndSemf, + KnownMimeTypes.Application.VndSeemail, + KnownMimeTypes.Application.XFontSnf, + KnownMimeTypes.Application.ScvpVpRequest, + KnownMimeTypes.Application.ScvpVpResponse, + KnownMimeTypes.Application.ScvpCvRequest, + KnownMimeTypes.Application.ScvpCvResponse, + KnownMimeTypes.Application.Sdp, + KnownMimeTypes.Application.VndShanaInformedFormdata, + KnownMimeTypes.Application.VndShanaInformedFormtemplate, + KnownMimeTypes.Application.VndShanaInformedInterchange, + KnownMimeTypes.Application.VndShanaInformedPackage, + KnownMimeTypes.Application.ThraudXml, + KnownMimeTypes.Application.XShar, + KnownMimeTypes.Application.VndEpsonSalt, + KnownMimeTypes.Application.VndAccpacSimplyAso, + KnownMimeTypes.Application.VndAccpacSimplyImp, + KnownMimeTypes.Application.VndSimtechMindmapper, + KnownMimeTypes.Application.VndCommonspace, + KnownMimeTypes.Application.VndYamahaSmafAudio, + KnownMimeTypes.Application.VndSmaf, + KnownMimeTypes.Application.VndYamahaSmafPhrase, + KnownMimeTypes.Application.VndSmartTeacher, + KnownMimeTypes.Application.VndSvd, + KnownMimeTypes.Application.SparqlQuery, + KnownMimeTypes.Application.SparqlResultsXml, + KnownMimeTypes.Application.Srgs, + KnownMimeTypes.Application.SrgsXml, + KnownMimeTypes.Application.SsmlXml, + KnownMimeTypes.Application.VndKoan, + KnownMimeTypes.Application.VndStardivisionCalc, + KnownMimeTypes.Application.VndStardivisionDraw, + KnownMimeTypes.Application.VndStardivisionImpress, + KnownMimeTypes.Application.VndStardivisionMath, + KnownMimeTypes.Application.VndStardivisionWriter, + KnownMimeTypes.Application.VndStardivisionWriterGlobal, + KnownMimeTypes.Application.VndStepmaniaStepchart, + KnownMimeTypes.Application.XStuffit, + KnownMimeTypes.Application.XStuffitx, + KnownMimeTypes.Application.VndSolentSdkmXml, + KnownMimeTypes.Application.VndOlpcSugar, + KnownMimeTypes.Application.VndWqd, + KnownMimeTypes.Application.VndSymbianInstall, + KnownMimeTypes.Application.SmilXml, + KnownMimeTypes.Application.VndSyncmlXml, + KnownMimeTypes.Application.VndSyncmlDmWbxml, + KnownMimeTypes.Application.VndSyncmlDmXml, + KnownMimeTypes.Application.XSv4cpio, + KnownMimeTypes.Application.XSv4crc, + KnownMimeTypes.Application.SbmlXml, + KnownMimeTypes.Application.VndTaoIntentModuleArchive, + KnownMimeTypes.Application.XTar, + KnownMimeTypes.Application.XTcl, + KnownMimeTypes.Application.XTex, + KnownMimeTypes.Application.XTexTfm, + KnownMimeTypes.Application.TeiXml, + KnownMimeTypes.Application.VndSpotfireDxp, + KnownMimeTypes.Application.VndSpotfireSfs, + KnownMimeTypes.Application.TimestampedData, + KnownMimeTypes.Application.VndTridTpt, + KnownMimeTypes.Application.VndTriscapeMxs, + KnownMimeTypes.Application.VndTrueapp, + KnownMimeTypes.Application.XFontTtf, + KnownMimeTypes.Application.VndUmajin, + KnownMimeTypes.Application.VndUomlXml, + KnownMimeTypes.Application.VndUnity, + KnownMimeTypes.Application.VndUfdl, + KnownMimeTypes.Application.VndUiqTheme, + KnownMimeTypes.Application.XUstar, + KnownMimeTypes.Application.XCdlink, + KnownMimeTypes.Application.VndVsf, + KnownMimeTypes.Application.VndVcx, + KnownMimeTypes.Application.VndVisionary, + KnownMimeTypes.Application.CcxmlXml, + KnownMimeTypes.Application.VoicexmlXml, + KnownMimeTypes.Application.XWaisSource, + KnownMimeTypes.Application.VndWapWbxml, + KnownMimeTypes.Application.DavmountXml, + KnownMimeTypes.Application.XFontWoff, + KnownMimeTypes.Application.WspolicyXml, + KnownMimeTypes.Application.VndWebturbo, + KnownMimeTypes.Application.Widget, + KnownMimeTypes.Application.Winhlp, + KnownMimeTypes.Application.VndWapWmlscriptc, + KnownMimeTypes.Application.VndWordperfect, + KnownMimeTypes.Application.VndWtStf, + KnownMimeTypes.Application.WsdlXml, + KnownMimeTypes.Application.XX509CaCert, + KnownMimeTypes.Application.XXfig, + KnownMimeTypes.Application.XhtmlXml, + KnownMimeTypes.Application.Xml, + KnownMimeTypes.Application.XcapDiffXml, + KnownMimeTypes.Application.XencXml, + KnownMimeTypes.Application.PatchOpsErrorXml, + KnownMimeTypes.Application.ResourceListsXml, + KnownMimeTypes.Application.RlsServicesXml, + KnownMimeTypes.Application.ResourceListsDiffXml, + KnownMimeTypes.Application.XsltXml, + KnownMimeTypes.Application.XopXml, + KnownMimeTypes.Application.XXpinstall, + KnownMimeTypes.Application.XspfXml, + KnownMimeTypes.Application.VndMozillaXulXml, + KnownMimeTypes.Application.Yang, + KnownMimeTypes.Application.YinXml, + KnownMimeTypes.Application.VndZul, + KnownMimeTypes.Application.Zip, + KnownMimeTypes.Application.VndHandheldEntertainmentXml, + KnownMimeTypes.Application.VndZzazzDeckXml, + KnownMimeTypes.Audio.Adpcm, + KnownMimeTypes.Audio.XAac, + KnownMimeTypes.Audio.XAiff, + KnownMimeTypes.Audio.VndDeceAudio, + KnownMimeTypes.Audio.VndDigitalWinds, + KnownMimeTypes.Audio.VndDra, + KnownMimeTypes.Audio.VndDts, + KnownMimeTypes.Audio.VndDtsHd, + KnownMimeTypes.Audio.VndRip, + KnownMimeTypes.Audio.VndLucentVoice, + KnownMimeTypes.Audio.XMpegurl, + KnownMimeTypes.Audio.VndMsPlayreadyMediaPya, + KnownMimeTypes.Audio.XMsWma, + KnownMimeTypes.Audio.XMsWax, + KnownMimeTypes.Audio.Midi, + KnownMimeTypes.Audio.Mpeg, + KnownMimeTypes.Audio.Mp4, + KnownMimeTypes.Audio.VndNueraEcelp4800, + KnownMimeTypes.Audio.VndNueraEcelp7470, + KnownMimeTypes.Audio.VndNueraEcelp9600, + KnownMimeTypes.Audio.Ogg, + KnownMimeTypes.Audio.Webm, + KnownMimeTypes.Audio.Opus, + KnownMimeTypes.Audio.XPnRealaudio, + KnownMimeTypes.Audio.XPnRealaudioPlugin, + KnownMimeTypes.Audio.Basic, + KnownMimeTypes.Audio.XWav, + KnownMimeTypes.Chemical.XCdx, + KnownMimeTypes.Chemical.XCml, + KnownMimeTypes.Chemical.XCsml, + KnownMimeTypes.Chemical.XCif, + KnownMimeTypes.Chemical.XCmdf, + KnownMimeTypes.Chemical.XXyz, + KnownMimeTypes.Image.VndDxf, + KnownMimeTypes.Image.Avif, + KnownMimeTypes.Image.Bmp, + KnownMimeTypes.Image.PrsBtif, + KnownMimeTypes.Image.VndDvbSubtitle, + KnownMimeTypes.Image.XCmuRaster, + KnownMimeTypes.Image.Cgm, + KnownMimeTypes.Image.XCmx, + KnownMimeTypes.Image.VndDeceGraphic, + KnownMimeTypes.Image.VndDjvu, + KnownMimeTypes.Image.VndDwg, + KnownMimeTypes.Image.VndFujixeroxEdmicsMmr, + KnownMimeTypes.Image.VndFujixeroxEdmicsRlc, + KnownMimeTypes.Image.VndXiff, + KnownMimeTypes.Image.VndFst, + KnownMimeTypes.Image.VndFastbidsheet, + KnownMimeTypes.Image.VndFpx, + KnownMimeTypes.Image.VndNetFpx, + KnownMimeTypes.Image.XFreehand, + KnownMimeTypes.Image.G3fax, + KnownMimeTypes.Image.Gif, + KnownMimeTypes.Image.XIcon, + KnownMimeTypes.Image.Ief, + KnownMimeTypes.Image.Jpeg, + KnownMimeTypes.Image.XCitrixJpeg, + KnownMimeTypes.Image.Pjpeg, + KnownMimeTypes.Image.VndMsModi, + KnownMimeTypes.Image.Ktx, + KnownMimeTypes.Image.XPcx, + KnownMimeTypes.Image.VndAdobePhotoshop, + KnownMimeTypes.Image.XPict, + KnownMimeTypes.Image.XPortableAnymap, + KnownMimeTypes.Image.XPortableBitmap, + KnownMimeTypes.Image.XPortableGraymap, + KnownMimeTypes.Image.Png, + KnownMimeTypes.Image.XCitrixPng, + KnownMimeTypes.Image.XPng, + KnownMimeTypes.Image.XPortablePixmap, + KnownMimeTypes.Image.SvgXml, + KnownMimeTypes.Image.XRgb, + KnownMimeTypes.Image.Tiff, + KnownMimeTypes.Image.VndWapWbmp, + KnownMimeTypes.Image.Webp, + KnownMimeTypes.Image.XXbitmap, + KnownMimeTypes.Image.XXpixmap, + KnownMimeTypes.Image.XXwindowdump, + KnownMimeTypes.Message.Rfc822, + KnownMimeTypes.Model.VndDwf, + KnownMimeTypes.Model.VndColladaXml, + KnownMimeTypes.Model.VndGtw, + KnownMimeTypes.Model.VndGdl, + KnownMimeTypes.Model.Iges, + KnownMimeTypes.Model.Mesh, + KnownMimeTypes.Model.Vrml, + KnownMimeTypes.Model.VndMts, + KnownMimeTypes.Model.VndVtu, + KnownMimeTypes.Text.XAsm, + KnownMimeTypes.Text.PlainBas, + KnownMimeTypes.Text.XC, + KnownMimeTypes.Text.Css, + KnownMimeTypes.Text.Csv, + KnownMimeTypes.Text.VndCurl, + KnownMimeTypes.Text.VndCurlDcurl, + KnownMimeTypes.Text.VndCurlMcurl, + KnownMimeTypes.Text.VndCurlScurl, + KnownMimeTypes.Text.VndFmiFlexstor, + KnownMimeTypes.Text.XFortran, + KnownMimeTypes.Text.VndGraphviz, + KnownMimeTypes.Text.Html, + KnownMimeTypes.Text.Calendar, + KnownMimeTypes.Text.VndIn3d3dml, + KnownMimeTypes.Text.VndIn3dSpot, + KnownMimeTypes.Text.VndSunJ2meAppDescriptor, + KnownMimeTypes.Text.XJavaSourceJava, + KnownMimeTypes.Text.Javascript, + KnownMimeTypes.Text.VndFly, + KnownMimeTypes.Text.N3, + KnownMimeTypes.Text.XPascal, + KnownMimeTypes.Text.PrsLinesTag, + KnownMimeTypes.Text.Richtext, + KnownMimeTypes.Text.XSetext, + KnownMimeTypes.Text.Sgml, + KnownMimeTypes.Text.TabSeparatedValues, + KnownMimeTypes.Text.Plain, + KnownMimeTypes.Text.Troff, + KnownMimeTypes.Text.Turtle, + KnownMimeTypes.Text.UriList, + KnownMimeTypes.Text.XUuencode, + KnownMimeTypes.Text.XVcalendar, + KnownMimeTypes.Text.XVcard, + KnownMimeTypes.Text.VndWapWml, + KnownMimeTypes.Text.VndWapWmlscript, + KnownMimeTypes.Text.Yaml, + KnownMimeTypes.Video.V3gpp, + KnownMimeTypes.Video.V3gpp2, + KnownMimeTypes.Video.XMsvideo, + KnownMimeTypes.Video.VndDeceHd, + KnownMimeTypes.Video.VndDeceMobile, + KnownMimeTypes.Video.VndUvvuMp4, + KnownMimeTypes.Video.VndDecePd, + KnownMimeTypes.Video.VndDeceSd, + KnownMimeTypes.Video.VndDeceVideo, + KnownMimeTypes.Video.VndFvt, + KnownMimeTypes.Video.XF4v, + KnownMimeTypes.Video.XFlv, + KnownMimeTypes.Video.XFli, + KnownMimeTypes.Video.H261, + KnownMimeTypes.Video.H263, + KnownMimeTypes.Video.H264, + KnownMimeTypes.Video.Jpm, + KnownMimeTypes.Video.Jpeg, + KnownMimeTypes.Video.XM4v, + KnownMimeTypes.Video.XMsAsf, + KnownMimeTypes.Video.VndMsPlayreadyMediaPyv, + KnownMimeTypes.Video.XMsWm, + KnownMimeTypes.Video.XMsWmx, + KnownMimeTypes.Video.XMsWmv, + KnownMimeTypes.Video.XMsWvx, + KnownMimeTypes.Video.Mj2, + KnownMimeTypes.Video.Mp2t, + KnownMimeTypes.Video.VndMpegurl, + KnownMimeTypes.Video.Mpeg, + KnownMimeTypes.Video.Mp4, + KnownMimeTypes.Video.Ogg, + KnownMimeTypes.Video.Webm, + KnownMimeTypes.Video.Quicktime, + KnownMimeTypes.Video.XSgiMovie, + KnownMimeTypes.Video.VndVivo, + KnownMimeTypes.XConference.XCooltalk, +) diff --git a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeType.kt b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeType.kt new file mode 100644 index 00000000000..2ac677bb35f --- /dev/null +++ b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeType.kt @@ -0,0 +1,8 @@ +package dev.inmo.micro_utils.mime_types + +import kotlinx.serialization.Serializable + +@Serializable(MimeTypeSerializer::class) +interface MimeType { + val raw: String +} diff --git a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeSerializer.kt b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeSerializer.kt new file mode 100644 index 00000000000..a668afaf56e --- /dev/null +++ b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeSerializer.kt @@ -0,0 +1,24 @@ +package dev.inmo.micro_utils.mime_types + +import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializer +import kotlinx.serialization.descriptors.PrimitiveKind +import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +@Suppress("OPT_IN_USAGE") +@Serializer(MimeType::class) +object MimeTypeSerializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("mimeType", PrimitiveKind.STRING) + + override fun deserialize(decoder: Decoder): MimeType { + val mimeType = decoder.decodeString() + return mimeType(mimeType) + } + + override fun serialize(encoder: Encoder, value: MimeType) { + encoder.encodeString(value.raw) + } +} diff --git a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeTools.kt b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeTools.kt index a23a7df9304..299c89c6306 100644 --- a/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeTools.kt +++ b/mime_types/src/commonMain/kotlin/dev/inmo/micro_utils/mime_types/MimeTypeTools.kt @@ -1,10 +1,5 @@ package dev.inmo.micro_utils.mime_types -import kotlinx.serialization.* -import kotlinx.serialization.descriptors.* -import kotlinx.serialization.encoding.Decoder -import kotlinx.serialization.encoding.Encoder - private val mimesCache = mutableMapOf().also { knownMimeTypes.forEach { mimeType -> it[mimeType.raw] = mimeType } } @@ -15,17 +10,3 @@ fun mimeType(raw: String) = mimesCache.getOrPut(raw) { internal fun parseMimeType(raw: String): MimeType = CustomMimeType(raw) -@Suppress("OPT_IN_USAGE") -@Serializer(MimeType::class) -object MimeTypeSerializer : KSerializer { - override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("mimeType", PrimitiveKind.STRING) - - override fun deserialize(decoder: Decoder): MimeType { - val mimeType = decoder.decodeString() - return mimeType(mimeType) - } - - override fun serialize(encoder: Encoder, value: MimeType) { - encoder.encodeString(value.raw) - } -} From 31022733ac0566920fde3fa2c9e0702fc447ab29 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 4 Dec 2022 19:00:16 +0600 Subject: [PATCH 6/7] potential fix of dokka --- dokka/build.gradle | 19 +++++++++++-------- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/dokka/build.gradle b/dokka/build.gradle index 180ed96a0a2..d1a57dd2a0c 100644 --- a/dokka/build.gradle +++ b/dokka/build.gradle @@ -17,7 +17,7 @@ kotlin { // browser() // nodejs() // } - android {} + android() sourceSets { commonMain { @@ -30,8 +30,8 @@ kotlin { && it.hasProperty("kotlin") && it.kotlin.sourceSets.any { it.name.contains("commonMain") } // && it.kotlin.sourceSets.any { it.name.contains("jsMain") } - && it.kotlin.sourceSets.any { it.name.contains("jvmMain") } - && it.kotlin.sourceSets.any { it.name.contains("androidMain") } +// && it.kotlin.sourceSets.any { it.name.contains("jvmMain") } +// && it.kotlin.sourceSets.any { it.name.contains("androidMain") } ) { api it } @@ -62,7 +62,7 @@ kotlin { if ( it != project && it.hasProperty("kotlin") - && it.kotlin.sourceSets.any { it.name.contains("commonMain") } +// && it.kotlin.sourceSets.any { it.name.contains("commonMain") } && it.kotlin.sourceSets.any { it.name.contains("jvmMain") } ) { api it @@ -78,9 +78,12 @@ kotlin { if ( it != project && it.hasProperty("kotlin") - && it.kotlin.sourceSets.any { it.name.contains("commonMain") } +// && it.kotlin.sourceSets.any { it.name.contains("commonMain") } && it.kotlin.sourceSets.any { it.name.contains("androidMain") } ) { + it.kotlin.sourceSets.forEach { + println(it.dependsOn) + } api it } } @@ -100,7 +103,7 @@ private List findSourcesWithName(String... approximateNames) }.collect { it.kotlin } } -tasks.dokkaHtml { +dokkaHtml { dokkaSourceSets { configureEach { skipDeprecated.set(true) @@ -121,11 +124,11 @@ tasks.dokkaHtml { // } named("jvmMain") { - sourceRoots.setFrom(findSourcesWithName("jvmMain", "commonMain")) + sourceRoots.setFrom(findSourcesWithName("jvmMain")) } named("androidMain") { - sourceRoots.setFrom(findSourcesWithName("androidMain", "commonMain")) + sourceRoots.setFrom(findSourcesWithName("androidMain")) } } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ae04661ee73..070cb702f09 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists From b53cfd5504cc8c90e86280e9675b966a01d55cb7 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 4 Dec 2022 19:03:44 +0600 Subject: [PATCH 7/7] remove redundant dokka println --- dokka/build.gradle | 3 --- 1 file changed, 3 deletions(-) diff --git a/dokka/build.gradle b/dokka/build.gradle index d1a57dd2a0c..cf74d1c6445 100644 --- a/dokka/build.gradle +++ b/dokka/build.gradle @@ -81,9 +81,6 @@ kotlin { // && it.kotlin.sourceSets.any { it.name.contains("commonMain") } && it.kotlin.sourceSets.any { it.name.contains("androidMain") } ) { - it.kotlin.sourceSets.forEach { - println(it.dependsOn) - } api it } }