@intlayer/types 7.0.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +276 -0
- package/dist/cjs/_virtual/rolldown_runtime.cjs +14 -0
- package/dist/cjs/backend_models.cjs +0 -0
- package/dist/cjs/config.cjs +0 -0
- package/dist/cjs/dictionary.cjs +0 -0
- package/dist/cjs/index.cjs +11 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/intlayer.d.cjs +1 -0
- package/dist/cjs/keyPath.cjs +0 -0
- package/dist/cjs/locales copy.cjs +569 -0
- package/dist/cjs/locales copy.cjs.map +1 -0
- package/dist/cjs/locales.cjs +1413 -0
- package/dist/cjs/locales.cjs.map +1 -0
- package/dist/cjs/module_augmentation.cjs +0 -0
- package/dist/cjs/module_augmentation.cjs.map +1 -0
- package/dist/cjs/nodeType.cjs +31 -0
- package/dist/cjs/nodeType.cjs.map +1 -0
- package/dist/cjs/plugin.cjs +0 -0
- package/dist/cjs/test.cjs +0 -0
- package/dist/cjs/test.cjs.map +1 -0
- package/dist/cjs/translation.cjs +0 -0
- package/dist/esm/_virtual/rolldown_runtime.mjs +13 -0
- package/dist/esm/backend_models.mjs +0 -0
- package/dist/esm/config.mjs +0 -0
- package/dist/esm/dictionary.mjs +0 -0
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/intlayer.d.mjs +3 -0
- package/dist/esm/keyPath.mjs +0 -0
- package/dist/esm/locales copy.mjs +568 -0
- package/dist/esm/locales copy.mjs.map +1 -0
- package/dist/esm/locales.mjs +1128 -0
- package/dist/esm/locales.mjs.map +1 -0
- package/dist/esm/module_augmentation.mjs +0 -0
- package/dist/esm/module_augmentation.mjs.map +1 -0
- package/dist/esm/nodeType.mjs +29 -0
- package/dist/esm/nodeType.mjs.map +1 -0
- package/dist/esm/plugin.mjs +0 -0
- package/dist/esm/test.mjs +0 -0
- package/dist/esm/test.mjs.map +1 -0
- package/dist/esm/translation.mjs +1 -0
- package/dist/types/backend_models.d.ts +1 -0
- package/dist/types/config.d.ts +793 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/dictionary.d.ts +294 -0
- package/dist/types/dictionary.d.ts.map +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/intlayer.d.ts +11 -0
- package/dist/types/intlayer.d.ts.map +1 -0
- package/dist/types/keyPath.d.ts +51 -0
- package/dist/types/keyPath.d.ts.map +1 -0
- package/dist/types/locales copy.d.ts +566 -0
- package/dist/types/locales copy.d.ts.map +1 -0
- package/dist/types/locales.d.ts +847 -0
- package/dist/types/locales.d.ts.map +1 -0
- package/dist/types/module_augmentation.d.ts +30 -0
- package/dist/types/module_augmentation.d.ts.map +1 -0
- package/dist/types/nodeType.d.ts +31 -0
- package/dist/types/nodeType.d.ts.map +1 -0
- package/dist/types/plugin.d.ts +71 -0
- package/dist/types/plugin.d.ts.map +1 -0
- package/dist/types/test.d.ts +20 -0
- package/dist/types/test.d.ts.map +1 -0
- package/dist/types/translation.d.ts +13 -0
- package/dist/types/translation.d.ts.map +1 -0
- package/package.json +93 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locales.mjs","names":[],"sources":["../../src/locales.ts"],"sourcesContent":["/** Afrikaans language */\nexport const AFRIKAANS = 'af' as const;\n/** Afrikaans language as used in South Africa */\nexport const AFRIKAANS_SOUTH_AFRICA = 'af-ZA' as const;\n/** Arabic language */\nexport const ARABIC = 'ar' as const;\n/** Arabic language as used in the United Arab Emirates */\nexport const ARABIC_UNITED_ARAB_EMIRATES = 'ar-AE' as const;\n/** Arabic language as used in Bahrain */\nexport const ARABIC_BAHRAIN = 'ar-BH' as const;\n/** Arabic language as used in Algeria */\nexport const ARABIC_ALGERIA = 'ar-DZ' as const;\n/** Arabic language as used in Egypt */\nexport const ARABIC_EGYPT = 'ar-EG' as const;\n/** Arabic language as used in Iraq */\nexport const ARABIC_IRAQ = 'ar-IQ' as const;\n/** Arabic language as used in Jordan */\nexport const ARABIC_JORDAN = 'ar-JO' as const;\n/** Arabic language as used in Kuwait */\nexport const ARABIC_KUWAIT = 'ar-KW' as const;\n/** Arabic language as used in Lebanon */\nexport const ARABIC_LEBANON = 'ar-LB' as const;\n/** Arabic language as used in Libya */\nexport const ARABIC_LIBYA = 'ar-LY' as const;\n/** Arabic language as used in Morocco */\nexport const ARABIC_MOROCCO = 'ar-MA' as const;\n/** Arabic language as used in Oman */\nexport const ARABIC_OMAN = 'ar-OM' as const;\n/** Arabic language as used in Qatar */\nexport const ARABIC_QATAR = 'ar-QA' as const;\n/** Arabic language as used in Saudi Arabia */\nexport const ARABIC_SAUDI_ARABIA = 'ar-SA' as const;\n/** Arabic language as used in Syria */\nexport const ARABIC_SYRIA = 'ar-SY' as const;\n/** Arabic language as used in Tunisia */\nexport const ARABIC_TUNISIA = 'ar-TN' as const;\n/** Arabic language as used in Yemen */\nexport const ARABIC_YEMEN = 'ar-YE' as const;\n/** Azeri language (Latin script) */\nexport const AZERI_LATIN = 'az' as const;\n/** Azeri language (Latin script) as used in Azerbaijan */\nexport const AZERI_LATIN_AZERBAIJAN = 'az-AZ' as const;\n/** Belarusian language */\nexport const BELARUSIAN = 'be' as const;\n/** Belarusian language as used in Belarus */\nexport const BELARUSIAN_BELARUS = 'be-BY' as const;\n/** Bulgarian language */\nexport const BULGARIAN = 'bg' as const;\n/** Bulgarian language as used in Bulgaria */\nexport const BULGARIAN_BULGARIA = 'bg-BG' as const;\n/** Bosnian */\nexport const BOSNIAN = 'bs' as const;\n/** Bosnian language as used in Bosnia and Herzegovina */\nexport const BOSNIAN_BOSNIA_AND_HERZEGOVINA = 'bs-BA' as const;\n/** Catalan language */\nexport const CATALAN = 'ca' as const;\n/** Catalan language as used in Spain */\nexport const CATALAN_SPAIN = 'ca-ES' as const;\n/** Czech language */\nexport const CZECH = 'cs' as const;\n/** Czech language as used in Czech Republic */\nexport const CZECH_CZECH_REPUBLIC = 'cs-CZ' as const;\n/** Welsh language */\nexport const WELSH = 'cy' as const;\n/** Welsh language as used in the United Kingdom */\nexport const WELSH_UNITED_KINGDOM = 'cy-GB' as const;\n/** Danish language */\nexport const DANISH = 'da' as const;\n/** Danish language as used in Denmark */\nexport const DANISH_DENMARK = 'da-DK' as const;\n/** German language */\nexport const GERMAN = 'de' as const;\n/** German language as used in Austria */\nexport const GERMAN_AUSTRIA = 'de-AT' as const;\n/** German language as used in Switzerland */\nexport const GERMAN_SWITZERLAND = 'de-CH' as const;\n/** German language as used in Germany */\nexport const GERMAN_GERMANY = 'de-DE' as const;\n/** German language as used in Liechtenstein */\nexport const GERMAN_LIECHTENSTEIN = 'de-LI' as const;\n/** German language as used in Luxembourg */\nexport const GERMAN_LUXEMBOURG = 'de-LU' as const;\n/** Divehi language */\nexport const DIVEHI = 'dv' as const;\n/** Divehi language as used in Maldives */\nexport const DIVEHI_MALDIVES = 'dv-MV' as const;\n/** Greek language */\nexport const GREEK = 'el' as const;\n/** Greek language as used in Greece */\nexport const GREEK_GREECE = 'el-GR' as const;\n/** English language */\nexport const ENGLISH = 'en' as const;\n/** English language as used in Australia */\nexport const ENGLISH_AUSTRALIA = 'en-AU' as const;\n/** English language as used in Belize */\nexport const ENGLISH_BELIZE = 'en-BZ' as const;\n/** English language as used in Canada */\nexport const ENGLISH_CANADA = 'en-CA' as const;\n/** English language as used in Caribbean */\nexport const ENGLISH_CARIBBEAN = 'en-CB' as const;\n/** English language as used in the United Kingdom */\nexport const ENGLISH_UNITED_KINGDOM = 'en-GB' as const;\n/** English language as used in Ireland */\nexport const ENGLISH_IRELAND = 'en-IE' as const;\n/** English language as used in Jamaica */\nexport const ENGLISH_JAMAICA = 'en-JM' as const;\n/** English language as used in New Zealand */\nexport const ENGLISH_NEW_ZEALAND = 'en-NZ' as const;\n/** English language as used in Philippines */\nexport const ENGLISH_PHILIPPINES = 'en-PH' as const;\n/** English language as used in Trinidad and Tobago */\nexport const ENGLISH_TRINIDAD_AND_TOBAGO = 'en-TT' as const;\n/** English language as used in the United States */\nexport const ENGLISH_UNITED_STATES = 'en-US' as const;\n/** English language as used in South Africa */\nexport const ENGLISH_SOUTH_AFRICA = 'en-ZA' as const;\n/** English language as used in Zimbabwe */\nexport const ENGLISH_ZIMBABWE = 'en-ZW' as const;\n/** Esperanto language */\nexport const ESPERANTO = 'eo' as const;\n/** Spanish language */\nexport const SPANISH = 'es' as const;\n/** Spanish language as used in Argentina */\nexport const SPANISH_ARGENTINA = 'es-AR' as const;\n/** Spanish language as used in Bolivia */\nexport const SPANISH_BOLIVIA = 'es-BO' as const;\n/** Spanish language as used in Chile */\nexport const SPANISH_CHILE = 'es-CL' as const;\n/** Spanish language as used in Colombia */\nexport const SPANISH_COLOMBIA = 'es-CO' as const;\n/** Spanish language as used in Costa Rica */\nexport const SPANISH_COSTA_RICA = 'es-CR' as const;\n/** Spanish language as used in Dominican Republic */\nexport const SPANISH_DOMINICAN_REPUBLIC = 'es-DO' as const;\n/** Spanish language as used in Ecuador */\nexport const SPANISH_ECUADOR = 'es-EC' as const;\n/** Spanish language as used in Spain */\nexport const SPANISH_SPAIN = 'es-ES' as const;\n/** Spanish language as used in Guatemala */\nexport const SPANISH_GUATEMALA = 'es-GT' as const;\n/** Spanish language as used in Honduras */\nexport const SPANISH_HONDURAS = 'es-HN' as const;\n/** Spanish language as used in Mexico */\nexport const SPANISH_MEXICO = 'es-MX' as const;\n/** Spanish language as used in Nicaragua */\nexport const SPANISH_NICARAGUA = 'es-NI' as const;\n/** Spanish language as used in Panama */\nexport const SPANISH_PANAMA = 'es-PA' as const;\n/** Spanish language as used in Peru */\nexport const SPANISH_PERU = 'es-PE' as const;\n/** Spanish language as used in Puerto Rico */\nexport const SPANISH_PUERTO_RICO = 'es-PR' as const;\n/** Spanish language as used in Paraguay */\nexport const SPANISH_PARAGUAY = 'es-PY' as const;\n/** Spanish language as used in El Salvador */\nexport const SPANISH_EL_SALVADOR = 'es-SV' as const;\n/** Spanish language as used in Uruguay */\nexport const SPANISH_URUGUAY = 'es-UY' as const;\n/** Spanish language as used in Venezuela */\nexport const SPANISH_VENEZUELA = 'es-VE' as const;\n/** Estonian language */\nexport const ESTONIAN = 'et' as const;\n/** Estonian language as used in Estonia */\nexport const ESTONIAN_ESTONIA = 'et-EE' as const;\n/** Basque language */\nexport const BASQUE = 'eu' as const;\n/** Basque language as used in Spain */\nexport const BASQUE_SPAIN = 'eu-ES' as const;\n/** Farsi language */\nexport const FARSI = 'fa' as const;\n/** Farsi language as used in Iran */\nexport const FARSI_IRAN = 'fa-IR' as const;\n/** Finnish language */\nexport const FINNISH = 'fi' as const;\n/** Finnish language as used in Finland */\nexport const FINNISH_FINLAND = 'fi-FI' as const;\n/** Faroese language */\nexport const FAROESE = 'fo' as const;\n/** Faroese language as used in Faroe Islands */\nexport const FAROESE_FAROE_ISLANDS = 'fo-FO' as const;\n/** French language */\nexport const FRENCH = 'fr' as const;\n/** French language as used in Belgium */\nexport const FRENCH_BELGIUM = 'fr-BE' as const;\n/** French language as used in Canada */\nexport const FRENCH_CANADA = 'fr-CA' as const;\n/** French language as used in Switzerland */\nexport const FRENCH_SWITZERLAND = 'fr-CH' as const;\n/** French language as used in France */\nexport const FRENCH_FRANCE = 'fr-FR' as const;\n/** French language as used in Luxembourg */\nexport const FRENCH_LUXEMBOURG = 'fr-LU' as const;\n/** French language as used in the Principality of Monaco */\nexport const FRENCH_PRINCIPALITY_OF_MONACO = 'fr-MC' as const;\n/** Galician language */\nexport const GALICIAN = 'gl' as const;\n/** Galician language as used in Spain */\nexport const GALICIAN_SPAIN = 'gl-ES' as const;\n/** Gujarati language */\nexport const GUJARATI = 'gu' as const;\n/** Gujarati language as used in India */\nexport const GUJARATI_INDIA = 'gu-IN' as const;\n/** Hebrew language */\nexport const HEBREW = 'he' as const;\n/** Hebrew language as used in Israel */\nexport const HEBREW_ISRAEL = 'he-IL' as const;\n/** Hindi language */\nexport const HINDI = 'hi' as const;\n/** Hindi language as used in India */\nexport const HINDI_INDIA = 'hi-IN' as const;\n/** Croatian language */\nexport const CROATIAN = 'hr' as const;\n/** Croatian language as used in Bosnia and Herzegovina */\nexport const CROATIAN_BOSNIA_AND_HERZEGOVINA = 'hr-BA' as const;\n/** Croatian language as used in Croatia */\nexport const CROATIAN_CROATIA = 'hr-HR' as const;\n/** Hungarian language */\nexport const HUNGARIAN = 'hu' as const;\n/** Hungarian language as used in Hungary */\nexport const HUNGARIAN_HUNGARY = 'hu-HU' as const;\n/** Armenian language */\nexport const ARMENIAN = 'hy' as const;\n/** Armenian language as used in Armenia */\nexport const ARMENIAN_ARMENIA = 'hy-AM' as const;\n/** Indonesian language */\nexport const INDONESIAN = 'id' as const;\n/** Indonesian language as used in Indonesia */\nexport const INDONESIAN_INDONESIA = 'id-ID' as const;\n/** Icelandic language */\nexport const ICELANDIC = 'is' as const;\n/** Icelandic language as used in Iceland */\nexport const ICELANDIC_ICELAND = 'is-IS' as const;\n/** Italian language */\nexport const ITALIAN = 'it' as const;\n/** Italian language as used in Switzerland */\nexport const ITALIAN_SWITZERLAND = 'it-CH' as const;\n/** Italian language as used in Italy */\nexport const ITALIAN_ITALY = 'it-IT' as const;\n/** Japanese language */\nexport const JAPANESE = 'ja' as const;\n/** Japanese language as used in Japan */\nexport const JAPANESE_JAPAN = 'ja-JP' as const;\n/** Georgian language */\nexport const GEORGIAN = 'ka' as const;\n/** Georgian language as used in Georgia */\nexport const GEORGIAN_GEORGIA = 'ka-GE' as const;\n/** Kazakh language */\nexport const KAZAKH = 'kk' as const;\n/** Kazakh language as used in Kazakhstan */\nexport const KAZAKH_KAZAKHSTAN = 'kk-KZ' as const;\n/** Kannada language */\nexport const KANNADA = 'kn' as const;\n/** Kannada language as used in India */\nexport const KANNADA_INDIA = 'kn-IN' as const;\n/** Korean language */\nexport const KOREAN = 'ko' as const;\n/** Korean language as used in Korea */\nexport const KOREAN_KOREA = 'ko-KR' as const;\n/** Konkani language */\nexport const KONKANI = 'kok' as const;\n/** Konkani language as used in India */\nexport const KONKANI_INDIA = 'kok-IN' as const;\n/** Kyrgyz language */\nexport const KYRGYZ = 'ky' as const;\n/** Kyrgyz language as used in Kyrgyzstan */\nexport const KYRGYZ_KYRGYZSTAN = 'ky-KG' as const;\n/** Lithuanian language */\nexport const LITHUANIAN = 'lt' as const;\n/** Lithuanian language as used in Lithuania */\nexport const LITHUANIAN_LITHUANIA = 'lt-LT' as const;\n/** Latvian language */\nexport const LATVIAN = 'lv' as const;\n/** Latvian language as used in Latvia */\nexport const LATVIAN_LATVIA = 'lv-LV' as const;\n/** Maori language */\nexport const MAORI = 'mi' as const;\n/** Maori language as used in New Zealand */\nexport const MAORI_NEW_ZEALAND = 'mi-NZ' as const;\n/** Macedonian language (Former Yugoslav Republic of Macedonia) */\nexport const FYRO_MACEDONIAN = 'mk' as const;\n/** Macedonian language as used in Macedonia */\nexport const FYRO_MACEDONIAN_MACEDONIA = 'mk-MK' as const;\n/** Mongolian language */\nexport const MONGOLIAN = 'mn' as const;\n/** Mongolian language as used in Mongolia */\nexport const MONGOLIAN_MONGOLIA = 'mn-MN' as const;\n/** Marathi language */\nexport const MARATHI = 'mr' as const;\n/** Marathi language as used in India */\nexport const MARATHI_INDIA = 'mr-IN' as const;\n/** Malay language */\nexport const MALAY = 'ms' as const;\n/** Malay language as used in Brunei Darussalam */\nexport const MALAY_BRUNEI_DARUSSALAM = 'ms-BN' as const;\n/** Malay language as used in Malaysia */\nexport const MALAY_MALAYSIA = 'ms-MY' as const;\n/** Maltese language */\nexport const MALTESE = 'mt' as const;\n/** Maltese language as used in Malta */\nexport const MALTESE_MALTA = 'mt-MT' as const;\n/** Norwegian (Bokmål) language */\nexport const NORWEGIAN_BOKMAL = 'nb' as const;\n/** Norwegian (Bokmål) language as used in Norway */\nexport const NORWEGIAN_BOKMAL_NORWAY = 'nb-NO' as const;\n/** Dutch language */\nexport const DUTCH = 'nl' as const;\n/** Dutch language as used in Belgium */\nexport const DUTCH_BELGIUM = 'nl-BE' as const;\n/** Dutch language as used in the Netherlands */\nexport const DUTCH_NETHERLANDS = 'nl-NL' as const;\n/** Norwegian (Nynorsk) language as used in Norway */\nexport const NORWEGIAN_NYNORSK_NORWAY = 'nn-NO' as const;\n/** Northern Sotho language */\nexport const NORTHERN_SOTHO = 'ns' as const;\n/** Northern Sotho language as used in South Africa */\nexport const NORTHERN_SOTHO_SOUTH_AFRICA = 'ns-ZA' as const;\n/** Punjabi language */\nexport const PUNJABI = 'pa' as const;\n/** Punjabi language as used in India */\nexport const PUNJABI_INDIA = 'pa-IN' as const;\n/** Polish language */\nexport const POLISH = 'pl' as const;\n/** Polish language as used in Poland */\nexport const POLISH_POLAND = 'pl-PL' as const;\n/** Pashto language */\nexport const PASHTO = 'ps' as const;\n/** Pashto language as used in Afghanistan */\nexport const PASHTO_AFGHANISTAN = 'ps-AR' as const;\n/** Portuguese language */\nexport const PORTUGUESE = 'pt' as const;\n/** Portuguese language as used in Brazil */\nexport const PORTUGUESE_BRAZIL = 'pt-BR' as const;\n/** Portuguese language as used in Portugal */\nexport const PORTUGUESE_PORTUGAL = 'pt-PT' as const;\n/** Quechua language */\nexport const QUECHUA = 'qu' as const;\n/** Quechua language as used in Bolivia */\nexport const QUECHUA_BOLIVIA = 'qu-BO' as const;\n/** Quechua language as used in Ecuador */\nexport const QUECHUA_ECUADOR = 'qu-EC' as const;\n/** Quechua language as used in Peru */\nexport const QUECHUA_PERU = 'qu-PE' as const;\n/** Romanian language */\nexport const ROMANIAN = 'ro' as const;\n/** Romanian language as used in Romania */\nexport const ROMANIAN_ROMANIA = 'ro-RO' as const;\n/** Russian language */\nexport const RUSSIAN = 'ru' as const;\n/** Russian language as used in Russia */\nexport const RUSSIAN_RUSSIA = 'ru-RU' as const;\n/** Sanskrit language */\nexport const SANSKRIT = 'sa' as const;\n/** Sanskrit language as used in India */\nexport const SANSKRIT_INDIA = 'sa-IN' as const;\n/** Northern Sami language */\nexport const SAMI_NORTHERN = 'se' as const;\n/** Northern Sami language as used in Finland */\nexport const SAMI_NORTHERN_FINLAND = 'se-FI' as const;\n/** Northern Sami language as used in Norway */\nexport const SAMI_NORTHERN_NORWAY = 'se-NO' as const;\n/** Northern Sami language as used in Sweden */\nexport const SAMI_NORTHERN_SWEDEN = 'se-SE' as const;\n/** Slovak language */\nexport const SLOVAK = 'sk' as const;\n/** Slovak language as used in Slovakia */\nexport const SLOVAK_SLOVAKIA = 'sk-SK' as const;\n/** Slovenian language */\nexport const SLOVENIAN = 'sl' as const;\n/** Slovenian language as used in Slovenia */\nexport const SLOVENIAN_SLOVENIA = 'sl-SI' as const;\n/** Albanian language */\nexport const ALBANIAN = 'sq' as const;\n/** Albanian language as used in Albania */\nexport const ALBANIAN_ALBANIA = 'sq-AL' as const;\n/** Servian language (Latin script) */\nexport const SERBIAN_LATIN = 'sr' as const;\n/** Serbian language (Latin script) as used in Bosnia and Herzegovina */\nexport const SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA = 'sr-BA' as const;\n/** Serbian language (Latin script) as used in Serbia and Montenegro */\nexport const SERBIAN_LATIN_SERBIA_AND_MONTENEGRO = 'sr-SP' as const;\n/** Swedish language */\nexport const SWEDISH = 'sv' as const;\n/** Swedish language as used in Finland */\nexport const SWEDISH_FINLAND = 'sv-FI' as const;\n/** Swedish language as used in Sweden */\nexport const SWEDISH_SWEDEN = 'sv-SE' as const;\n/** Swahili language */\nexport const SWAHILI = 'sw' as const;\n/** Swahili language as used in Kenya */\nexport const SWAHILI_KENYA = 'sw-KE' as const;\n/** Syriac language */\nexport const SYRIAC = 'syr' as const;\n/** Syriac language as used in Syria */\nexport const SYRIAC_SYRIA = 'syr-SY' as const;\n/** Tamil language */\nexport const TAMIL = 'ta' as const;\n/** Tamil language as used in India */\nexport const TAMIL_INDIA = 'ta-IN' as const;\n/** Telugu language */\nexport const TELUGU = 'te' as const;\n/** Telugu language as used in India */\nexport const TELUGU_INDIA = 'te-IN' as const;\n/** Thai language */\nexport const THAI = 'th' as const;\n/** Thai language as used in Thailand */\nexport const THAI_THAILAND = 'th-TH' as const;\n/** Tagalog language */\nexport const TAGALOG = 'tl' as const;\n/** Tagalog language as used in Philippines */\nexport const TAGALOG_PHILIPPINES = 'tl-PH' as const;\n/** Tswana language */\nexport const TSWANA = 'tn' as const;\n/** Tswana language as used in South Africa */\nexport const TSWANA_SOUTH_AFRICA = 'tn-ZA' as const;\n/** Turkish language */\nexport const TURKISH = 'tr' as const;\n/** Turkish language as used in Turkey */\nexport const TURKISH_TURKEY = 'tr-TR' as const;\n/** Tatar language */\nexport const TATAR = 'tt' as const;\n/** Tatar language as used in Russia */\nexport const TATAR_RUSSIA = 'tt-RU' as const;\n/** Tsonga language */\nexport const TSOGA = 'ts' as const;\n/** Ukrainian language */\nexport const UKRAINIAN = 'uk' as const;\n/** Ukrainian language as used in Ukraine */\nexport const UKRAINIAN_UKRAINE = 'uk-UA' as const;\n/** Urdu language */\nexport const URDU = 'ur' as const;\n/** Urdu language as used in Islamic Republic of Pakistan */\nexport const URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN = 'ur-PK' as const;\n/** Uzbek language (Latin script) */\nexport const UZBEK_LATIN = 'uz' as const;\n/** Uzbek language (Latin script) as used in Uzbekistan */\nexport const UZBEK_LATIN_UZBEKISTAN = 'uz-UZ' as const;\n/** Vietnamese language */\nexport const VIETNAMESE = 'vi' as const;\n/** Vietnamese language as used in Viet Nam */\nexport const VIETNAMESE_VIET_NAM = 'vi-VN' as const;\n/** Xhosa language */\nexport const XHOSA = 'xh' as const;\n/** Xhosa language as used in South Africa */\nexport const XHOSA_SOUTH_AFRICA = 'xh-ZA' as const;\n/** Chinese language */\nexport const CHINESE = 'zh' as const;\n/** Chinese language (Simplified) */\nexport const CHINESE_SIMPLIFIED = 'zh-Hans' as const;\n/** Chinese language (Simplified, People's Republic of China) */\nexport const CHINESE_SIMPLIFIED_CHINA = 'zh-CN' as const;\n/** Chinese language as used in Hong Kong */\nexport const CHINESE_HONG_KONG = 'zh-HK' as const;\n/** Chinese language as used in Macau */\nexport const CHINESE_MACAU = 'zh-MO' as const;\n/** Chinese language as used in Singapore */\nexport const CHINESE_SINGAPORE = 'zh-SG' as const;\n/** Chinese language (Traditional script) */\nexport const CHINESE_TRADITIONAL = 'zh-Hant' as const;\n/** Zulu language */\nexport const ZULU = 'zu' as const;\n/** Zulu language as used in South Africa */\nexport const ZULU_SOUTH_AFRICA = 'zu-ZA' as const;\n/** Bengali / Bangla */\nexport const BENGALI = 'bn' as const;\n/** Bengali / Bangla as used in Bangladesh */\nexport const BENGALI_BANGLADESH = 'bn-BD' as const;\n/** Bengali / Bangla as used in India */\nexport const BENGALI_INDIA = 'bn-IN' as const;\n/** Bengali / Bangla as used in Myanmar */\nexport const BENGALI_MYANMAR = 'bn-MM' as const;\n/** Burmese language */\nexport const BURMESE = 'my' as const;\n/** Burmese language as used in Myanmar */\nexport const BURMESE_MYANMAR = 'my-MM' as const;\n/** Khmer language */\nexport const KHMER = 'km' as const;\n/** Khmer language as used in Cambodia */\nexport const KHMER_CAMBODIA = 'km-KH' as const;\n/** Lao language */\nexport const LAO = 'lo' as const;\n/** Lao language as used in Laos */\nexport const LAO_LAOS = 'lo-LA' as const;\n/** Yoruba language */\nexport const YORUBA = 'yo' as const;\n/** Yoruba language as used in Nigeria */\nexport const YORUBA_NIGERIA = 'yo-NG' as const;\n/** Amharic language */\nexport const AMHARIC = 'am' as const;\n/** Amharic language as used in Ethiopia */\nexport const AMHARIC_ETHIOPIA = 'am-ET' as const;\n/** Nepali language */\nexport const NEPALI = 'ne' as const;\n/** Nepali language as used in Nepal */\nexport const NEPALI_NEPAL = 'ne-NP' as const;\n/** Sinhala language */\nexport const SINHALA = 'si' as const;\n/** Sinhala language as used in Sri Lanka */\nexport const SINHALA_SRI_LANKA = 'si-LK' as const;\n/** Serbian language (Cyrillic script) */\nexport const SERBIAN_CYRILLIC = 'sr-Cyrl' as const;\n/** Serbian language (Cyrillic script) as used in Serbia */\nexport const SERBIAN_CYRILLIC_SERBIA = 'sr-RS' as const;\n/** Serbian language (Cyrillic script) as used in Bosnia and Herzegovina */\nexport const SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA = 'sr-BA' as const;\n/** English language as used in India */\nexport const ENGLISH_INDIA = 'en-IN' as const;\n/** English language as used in Singapore */\nexport const ENGLISH_SINGAPORE = 'en-SG' as const;\n/** English language as used in Hong Kong */\nexport const ENGLISH_HONG_KONG = 'en-HK' as const;\n/** English language as used in Nigeria */\nexport const ENGLISH_NIGERIA = 'en-NG' as const;\n/** English language as used in Pakistan */\nexport const ENGLISH_PAKISTAN = 'en-PK' as const;\n/** English language as used in Malaysia */\nexport const ENGLISH_MALAYSIA = 'en-MY' as const;\n/** English language as used in Botswana */\nexport const ENGLISH_BOTSWANA = 'en-BW' as const;\n/** English language as used in Kenya */\nexport const ENGLISH_KENYA = 'en-KE' as const;\n/** English language as used in Tanzania */\nexport const ENGLISH_TANZANIA = 'en-TZ' as const;\n/** English language as used in Ghana */\nexport const ENGLISH_GHANA = 'en-GH' as const;\n/** English language as used in Uganda */\nexport const ENGLISH_UGANDA = 'en-UG' as const;\n/** Spanish language as used in Cuba */\nexport const SPANISH_CUBA = 'es-CU' as const;\n/** Spanish language as used in United States */\nexport const SPANISH_UNITED_STATES = 'es-US' as const;\n\n/** Portuguese language as used in Guinea-Bissau */\nexport const PORTUGUESE_GUINEA_BISSAU = 'pt-GW' as const;\n/** Portuguese language as used in Mozambique */\nexport const PORTUGUESE_MOZAMBIQUE = 'pt-MZ' as const;\n/** Portuguese language as used in São Tomé and Príncipe */\nexport const PORTUGUESE_SAO_TOME_AND_PRINCIPE = 'pt-ST' as const;\n/** Portuguese language as used in Cape Verde */\nexport const PORTUGUESE_CAPE_VERDE = 'pt-CV' as const;\n/** Portuguese language as used in Timor-Leste */\nexport const PORTUGUESE_TIMOR_LESTE = 'pt-TL' as const;\n/** Portuguese language as used in Macau */\nexport const PORTUGUESE_MACAU = 'pt-MO' as const;\n/** Chinese language as used in Taiwan */\nexport const CHINESE_TAIWAN = 'zh-TW' as const;\n/** Arabic language as used in Mauritania */\nexport const ARABIC_MAURITANIA = 'ar-MR' as const;\n/** Arabic language as used in Palestinian Territories */\nexport const ARABIC_PALESTINE = 'ar-PS' as const;\n/** Arabic language as used in Sudan */\nexport const ARABIC_SUDAN = 'ar-SD' as const;\n/** Arabic language as used in Djibouti */\nexport const ARABIC_DJIBOUTI = 'ar-DJ' as const;\n/** Arabic language as used in Somalia */\nexport const ARABIC_SOMALIA = 'ar-SO' as const;\n/** Arabic language as used in Chad */\nexport const ARABIC_CHAD = 'ar-TD' as const;\n/** Arabic language as used in Comoros */\nexport const ARABIC_COMOROS = 'ar-KM' as const;\n\nexport const ALL_LOCALES = {\n AFRIKAANS,\n AFRIKAANS_SOUTH_AFRICA,\n ARABIC,\n ARABIC_UNITED_ARAB_EMIRATES,\n ARABIC_BAHRAIN,\n ARABIC_ALGERIA,\n ARABIC_EGYPT,\n ARABIC_IRAQ,\n ARABIC_JORDAN,\n ARABIC_KUWAIT,\n ARABIC_LEBANON,\n ARABIC_LIBYA,\n ARABIC_MOROCCO,\n ARABIC_OMAN,\n ARABIC_QATAR,\n ARABIC_SAUDI_ARABIA,\n ARABIC_SYRIA,\n ARABIC_TUNISIA,\n ARABIC_YEMEN,\n AZERI_LATIN,\n AZERI_LATIN_AZERBAIJAN,\n BELARUSIAN,\n BELARUSIAN_BELARUS,\n BULGARIAN,\n BULGARIAN_BULGARIA,\n BOSNIAN,\n BOSNIAN_BOSNIA_AND_HERZEGOVINA,\n CATALAN,\n CATALAN_SPAIN,\n CZECH,\n CZECH_CZECH_REPUBLIC,\n WELSH,\n WELSH_UNITED_KINGDOM,\n DANISH,\n DANISH_DENMARK,\n GERMAN,\n GERMAN_AUSTRIA,\n GERMAN_SWITZERLAND,\n GERMAN_GERMANY,\n GERMAN_LIECHTENSTEIN,\n GERMAN_LUXEMBOURG,\n DIVEHI,\n DIVEHI_MALDIVES,\n GREEK,\n GREEK_GREECE,\n ENGLISH,\n ENGLISH_AUSTRALIA,\n ENGLISH_BELIZE,\n ENGLISH_CANADA,\n ENGLISH_CARIBBEAN,\n ENGLISH_UNITED_KINGDOM,\n ENGLISH_IRELAND,\n ENGLISH_JAMAICA,\n ENGLISH_NEW_ZEALAND,\n ENGLISH_PHILIPPINES,\n ENGLISH_TRINIDAD_AND_TOBAGO,\n ENGLISH_UNITED_STATES,\n ENGLISH_SOUTH_AFRICA,\n ENGLISH_ZIMBABWE,\n ESPERANTO,\n SPANISH,\n SPANISH_ARGENTINA,\n SPANISH_BOLIVIA,\n SPANISH_CHILE,\n SPANISH_COLOMBIA,\n SPANISH_COSTA_RICA,\n SPANISH_DOMINICAN_REPUBLIC,\n SPANISH_ECUADOR,\n SPANISH_SPAIN,\n SPANISH_GUATEMALA,\n SPANISH_HONDURAS,\n SPANISH_MEXICO,\n SPANISH_NICARAGUA,\n SPANISH_PANAMA,\n SPANISH_PERU,\n SPANISH_PUERTO_RICO,\n SPANISH_PARAGUAY,\n SPANISH_EL_SALVADOR,\n SPANISH_URUGUAY,\n SPANISH_VENEZUELA,\n ESTONIAN,\n ESTONIAN_ESTONIA,\n BASQUE,\n BASQUE_SPAIN,\n FARSI,\n FARSI_IRAN,\n FINNISH,\n FINNISH_FINLAND,\n FAROESE,\n FAROESE_FAROE_ISLANDS,\n FRENCH,\n FRENCH_BELGIUM,\n FRENCH_CANADA,\n FRENCH_SWITZERLAND,\n FRENCH_FRANCE,\n FRENCH_LUXEMBOURG,\n FRENCH_PRINCIPALITY_OF_MONACO,\n GALICIAN,\n GALICIAN_SPAIN,\n GUJARATI,\n GUJARATI_INDIA,\n HEBREW,\n HEBREW_ISRAEL,\n HINDI,\n HINDI_INDIA,\n CROATIAN,\n CROATIAN_BOSNIA_AND_HERZEGOVINA,\n CROATIAN_CROATIA,\n HUNGARIAN,\n HUNGARIAN_HUNGARY,\n ARMENIAN,\n ARMENIAN_ARMENIA,\n INDONESIAN,\n INDONESIAN_INDONESIA,\n ICELANDIC,\n ICELANDIC_ICELAND,\n ITALIAN,\n ITALIAN_SWITZERLAND,\n ITALIAN_ITALY,\n JAPANESE,\n JAPANESE_JAPAN,\n GEORGIAN,\n GEORGIAN_GEORGIA,\n KAZAKH,\n KAZAKH_KAZAKHSTAN,\n KANNADA,\n KANNADA_INDIA,\n KOREAN,\n KOREAN_KOREA,\n KONKANI,\n KONKANI_INDIA,\n KYRGYZ,\n KYRGYZ_KYRGYZSTAN,\n LITHUANIAN,\n LITHUANIAN_LITHUANIA,\n LATVIAN,\n LATVIAN_LATVIA,\n MAORI,\n MAORI_NEW_ZEALAND,\n FYRO_MACEDONIAN,\n FYRO_MACEDONIAN_MACEDONIA,\n MONGOLIAN,\n MONGOLIAN_MONGOLIA,\n MARATHI,\n MARATHI_INDIA,\n MALAY,\n MALAY_BRUNEI_DARUSSALAM,\n MALAY_MALAYSIA,\n MALTESE,\n MALTESE_MALTA,\n NORWEGIAN_BOKMAL,\n NORWEGIAN_BOKMAL_NORWAY,\n DUTCH,\n DUTCH_BELGIUM,\n DUTCH_NETHERLANDS,\n NORWEGIAN_NYNORSK_NORWAY,\n NORTHERN_SOTHO,\n NORTHERN_SOTHO_SOUTH_AFRICA,\n PUNJABI,\n PUNJABI_INDIA,\n POLISH,\n POLISH_POLAND,\n PASHTO,\n PASHTO_AFGHANISTAN,\n PORTUGUESE,\n PORTUGUESE_BRAZIL,\n PORTUGUESE_PORTUGAL,\n QUECHUA,\n QUECHUA_BOLIVIA,\n QUECHUA_ECUADOR,\n QUECHUA_PERU,\n ROMANIAN,\n ROMANIAN_ROMANIA,\n RUSSIAN,\n RUSSIAN_RUSSIA,\n SANSKRIT,\n SANSKRIT_INDIA,\n SAMI_NORTHERN,\n SAMI_NORTHERN_FINLAND,\n SAMI_NORTHERN_NORWAY,\n SAMI_NORTHERN_SWEDEN,\n SLOVAK,\n SLOVAK_SLOVAKIA,\n SLOVENIAN,\n SLOVENIAN_SLOVENIA,\n ALBANIAN,\n ALBANIAN_ALBANIA,\n SERBIAN_LATIN,\n SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA,\n SERBIAN_LATIN_SERBIA_AND_MONTENEGRO,\n SWEDISH,\n SWEDISH_FINLAND,\n SWEDISH_SWEDEN,\n SWAHILI,\n SWAHILI_KENYA,\n SYRIAC,\n SYRIAC_SYRIA,\n TAMIL,\n TAMIL_INDIA,\n TELUGU,\n TELUGU_INDIA,\n THAI,\n THAI_THAILAND,\n TAGALOG,\n TAGALOG_PHILIPPINES,\n TSWANA,\n TSWANA_SOUTH_AFRICA,\n TURKISH,\n TURKISH_TURKEY,\n TATAR,\n TATAR_RUSSIA,\n TSOGA,\n UKRAINIAN,\n UKRAINIAN_UKRAINE,\n URDU,\n URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN,\n UZBEK_LATIN,\n UZBEK_LATIN_UZBEKISTAN,\n VIETNAMESE,\n VIETNAMESE_VIET_NAM,\n XHOSA,\n XHOSA_SOUTH_AFRICA,\n CHINESE,\n CHINESE_SIMPLIFIED,\n CHINESE_SIMPLIFIED_CHINA,\n CHINESE_HONG_KONG,\n CHINESE_MACAU,\n CHINESE_SINGAPORE,\n CHINESE_TRADITIONAL,\n ZULU,\n ZULU_SOUTH_AFRICA,\n BENGALI,\n BENGALI_BANGLADESH,\n BENGALI_INDIA,\n BENGALI_MYANMAR,\n BURMESE,\n BURMESE_MYANMAR,\n KHMER,\n KHMER_CAMBODIA,\n LAO,\n LAO_LAOS,\n YORUBA,\n YORUBA_NIGERIA,\n AMHARIC,\n AMHARIC_ETHIOPIA,\n NEPALI,\n NEPALI_NEPAL,\n SINHALA,\n SINHALA_SRI_LANKA,\n SERBIAN_CYRILLIC,\n SERBIAN_CYRILLIC_SERBIA,\n SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA,\n ENGLISH_INDIA,\n ENGLISH_SINGAPORE,\n ENGLISH_HONG_KONG,\n ENGLISH_NIGERIA,\n ENGLISH_PAKISTAN,\n ENGLISH_MALAYSIA,\n ENGLISH_BOTSWANA,\n ENGLISH_KENYA,\n ENGLISH_TANZANIA,\n ENGLISH_GHANA,\n ENGLISH_UGANDA,\n SPANISH_CUBA,\n SPANISH_UNITED_STATES,\n PORTUGUESE_GUINEA_BISSAU,\n PORTUGUESE_MOZAMBIQUE,\n PORTUGUESE_SAO_TOME_AND_PRINCIPE,\n PORTUGUESE_CAPE_VERDE,\n PORTUGUESE_TIMOR_LESTE,\n PORTUGUESE_MACAU,\n CHINESE_TAIWAN,\n ARABIC_MAURITANIA,\n ARABIC_PALESTINE,\n ARABIC_SUDAN,\n ARABIC_DJIBOUTI,\n ARABIC_SOMALIA,\n ARABIC_CHAD,\n ARABIC_COMOROS,\n} as const;\n\nexport type Locale = (typeof ALL_LOCALES)[keyof typeof ALL_LOCALES]; // 'en' | 'en-US' | 'ar' | 'ar-AE' | ...\nexport type Locales = Locale;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAa,YAAY;;AAEzB,MAAa,yBAAyB;;AAEtC,MAAa,SAAS;;AAEtB,MAAa,8BAA8B;;AAE3C,MAAa,iBAAiB;;AAE9B,MAAa,iBAAiB;;AAE9B,MAAa,eAAe;;AAE5B,MAAa,cAAc;;AAE3B,MAAa,gBAAgB;;AAE7B,MAAa,gBAAgB;;AAE7B,MAAa,iBAAiB;;AAE9B,MAAa,eAAe;;AAE5B,MAAa,iBAAiB;;AAE9B,MAAa,cAAc;;AAE3B,MAAa,eAAe;;AAE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ACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module_augmentation.mjs","names":[],"sources":["../../src/module_augmentation.ts"],"sourcesContent":["import type {\n __DeclaredLocalesRegistry,\n __DictionaryRegistry,\n __RequiredLocalesRegistry,\n __StrictModeRegistry,\n} from 'intlayer';\nimport type { StrictMode } from './config';\nimport type { ContentNode, Dictionary } from './dictionary';\nimport type { Locale } from './locales';\n\n/**\n * Provides a fallback to string type if the generic type T is undefined,\n * otherwise returns T. This is useful for handling cases where no keys are found.\n * Example: StringFallback<undefined> -> string; StringFallback<'key'> -> 'key'\n */\nexport type StringFallback<T> = T extends never ? string : T; // If no keys are found, return string to disable error, and accept any string as dictionary key\n\nexport type DictionaryKeys = keyof __DictionaryRegistry extends never\n ? string\n : keyof __DictionaryRegistry;\n\n// --- Dictionaries ---\nexport type DictionaryRegistry =\n __DictionaryRegistry[keyof __DictionaryRegistry] extends never\n ? Record<string, Dictionary>\n : __DictionaryRegistry;\n\nexport type DictionaryRegistryElement<T extends DictionaryKeys> =\n T extends keyof __DictionaryRegistry ? __DictionaryRegistry[T] : Dictionary;\n\nexport type DictionaryRegistryContent<T extends DictionaryKeys> =\n T extends keyof __DictionaryRegistry\n ? __DictionaryRegistry[T] extends { content: infer C }\n ? C\n : any\n : any;\n\ninterface ITEST {\n test: {\n content: {\n value: string;\n };\n };\n}\n\nexport type TESTKEYS = keyof ITEST extends never ? string : keyof ITEST;\n\nexport type TEST<T extends TESTKEYS> = T extends keyof ITEST\n ? ITEST[T] extends { content: infer C }\n ? C\n : any\n : any;\n\nconst test: TEST<'test9'> = {\n value: 'string',\n} as TEST<'test9'>;\n\nconst { value } = test;\n\n// --- Derived unions from registries ---\nexport type DeclaredLocales = keyof __DeclaredLocalesRegistry extends never\n ? Locale\n : keyof __DeclaredLocalesRegistry; // 'en' | 'fr' | ...\n\nexport type RequiredLocales = keyof __RequiredLocalesRegistry;\n\n/** Define MyType using the ValueOf utility type on Locales */\nexport type LocalesValues = keyof __DeclaredLocalesRegistry extends never\n ? Locale | (string & {})\n : DeclaredLocales | (string & {});\n\n// --- Strict mode selection from registry (default 'loose') ---\ntype ResolvedStrictMode = __StrictModeRegistry extends { mode: infer M }\n ? M\n : 'inclusive';\n\n// --- Config shape (type alias; interfaces can’t extend conditional types) ---\nexport type StrictModeLocaleMap<\n Content = unknown,\n Mode extends StrictMode = ResolvedStrictMode,\n> = RequiredLocales extends never\n ? Partial<Record<Locale, Content>>\n : Mode extends 'strict'\n ? Required<Record<RequiredLocales, Content>> &\n Partial<Record<DeclaredLocales, Content>>\n : Mode extends 'inclusive'\n ? Required<Record<RequiredLocales, Content>> &\n Partial<Record<Locale, Content>>\n : Partial<Record<Locale, Content>>; // Fallback, all locales are optional\n"],"mappings":";AAyDA,MAAM,EAAE,UAJoB,EAC1B,OAAO,UACR"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region src/nodeType.ts
|
|
2
|
+
let NodeType = /* @__PURE__ */ function(NodeType$1) {
|
|
3
|
+
NodeType$1["Translation"] = "translation";
|
|
4
|
+
NodeType$1["Enumeration"] = "enumeration";
|
|
5
|
+
NodeType$1["Condition"] = "condition";
|
|
6
|
+
NodeType$1["Insertion"] = "insertion";
|
|
7
|
+
NodeType$1["File"] = "file";
|
|
8
|
+
NodeType$1["Object"] = "object";
|
|
9
|
+
NodeType$1["Array"] = "array";
|
|
10
|
+
NodeType$1["Nested"] = "nested";
|
|
11
|
+
NodeType$1["ReactNode"] = "reactNode";
|
|
12
|
+
NodeType$1["Markdown"] = "markdown";
|
|
13
|
+
NodeType$1["Text"] = "text";
|
|
14
|
+
NodeType$1["Number"] = "number";
|
|
15
|
+
NodeType$1["Boolean"] = "boolean";
|
|
16
|
+
NodeType$1["Gender"] = "gender";
|
|
17
|
+
NodeType$1["Null"] = "null";
|
|
18
|
+
NodeType$1["Unknown"] = "unknown";
|
|
19
|
+
return NodeType$1;
|
|
20
|
+
}({});
|
|
21
|
+
const formatNodeType = (nodeType, content, additionalAttributes) => ({
|
|
22
|
+
...additionalAttributes,
|
|
23
|
+
nodeType,
|
|
24
|
+
[nodeType]: content
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { NodeType, formatNodeType };
|
|
29
|
+
//# sourceMappingURL=nodeType.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeType.mjs","names":[],"sources":["../../src/nodeType.ts"],"sourcesContent":["export enum NodeType {\n Translation = 'translation',\n Enumeration = 'enumeration',\n Condition = 'condition',\n Insertion = 'insertion',\n File = 'file',\n Object = 'object',\n Array = 'array',\n Nested = 'nested',\n ReactNode = 'reactNode',\n Markdown = 'markdown',\n Text = 'text',\n Number = 'number',\n Boolean = 'boolean',\n Gender = 'gender',\n Null = 'null',\n Unknown = 'unknown',\n}\n\ntype AdditionalAttributesType = {\n [key: string]: unknown;\n};\n\nexport type TypedNodeModel<\n T extends NodeType,\n Content,\n AdditionalAttributes extends AdditionalAttributesType = {},\n> = {\n nodeType: T | `${T}`;\n} & {\n [K in T]: Content;\n} & AdditionalAttributes;\n\nexport const formatNodeType = <\n T extends NodeType,\n Content = unknown,\n AdditionalAttributes extends AdditionalAttributesType = {},\n>(\n nodeType: T | `${T}`,\n content: Content,\n additionalAttributes?: { [key: string]: unknown }\n) =>\n ({\n ...additionalAttributes,\n nodeType,\n [nodeType]: content,\n }) as TypedNodeModel<T, Content, AdditionalAttributes>;\n"],"mappings":";AAAA,IAAY,gDAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAiBF,MAAa,kBAKX,UACA,SACA,0BAEC;CACC,GAAG;CACH;EACC,WAAW;CACb"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test.mjs","names":[],"sources":["../../src/test.ts"],"sourcesContent":["interface __Test {\n test1: {\n key: 'test1';\n content: {\n test1Content: string;\n };\n };\n test2: {\n key: 'test2';\n content: {\n test2Content: number;\n };\n };\n}\n\nconst test: Test = {\n a: '1',\n b: 2,\n c: true,\n};\n\nconsole.log(test);\n"],"mappings":";AAqBA,QAAQ,IANW;CACjB,GAAG;CACH,GAAG;CACH,GAAG;CACJ,CAEgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|