@transcend-io/airgap.js-types
Advanced tools
Comparing version 10.4.0 to 10.4.1
@@ -307,43 +307,4 @@ import * as t from 'io-ts'; | ||
export declare const OptionalConsentManagerConfig: t.PartialC<{ | ||
/** The set of enabled languages */ | ||
allowedLanguages: t.ArrayC<t.KeyofC<{ | ||
en: unknown; | ||
"ar-AE": unknown; | ||
"fr-FR": unknown; | ||
"de-DE": unknown; | ||
"it-IT": unknown; | ||
"af-ZA": unknown; | ||
"bg-BG": unknown; | ||
"zh-CN": unknown; | ||
"hr-HR": unknown; | ||
"cs-CZ": unknown; | ||
"da-DK": unknown; | ||
"fi-FI": unknown; | ||
"el-GR": unknown; | ||
"hi-IN": unknown; | ||
"hu-HU": unknown; | ||
"id-ID": unknown; | ||
"ja-JP": unknown; | ||
"ko-KR": unknown; | ||
"lt-LT": unknown; | ||
"ms-MY": unknown; | ||
"mr-IN": unknown; | ||
"nb-NO": unknown; | ||
"pl-PL": unknown; | ||
"pt-BR": unknown; | ||
"ro-RO": unknown; | ||
"ru-RU": unknown; | ||
"sr-Latn-RS": unknown; | ||
"sv-SE": unknown; | ||
"ta-IN": unknown; | ||
"th-TH": unknown; | ||
"tr-TR": unknown; | ||
"uk-UA": unknown; | ||
"vi-VN": unknown; | ||
"nl-NL": unknown; | ||
"es-ES": unknown; | ||
"es-419": unknown; | ||
"zh-HK": unknown; | ||
"he-IL": unknown; | ||
}>>; | ||
/** The set of enabled languages - CSV of ConsentManagerLanguageKey */ | ||
allowedLanguages: t.StringC; | ||
}>; | ||
@@ -409,43 +370,4 @@ /** type overload */ | ||
}>, t.PartialC<{ | ||
/** The set of enabled languages */ | ||
allowedLanguages: t.ArrayC<t.KeyofC<{ | ||
en: unknown; | ||
"ar-AE": unknown; | ||
"fr-FR": unknown; | ||
"de-DE": unknown; | ||
"it-IT": unknown; | ||
"af-ZA": unknown; | ||
"bg-BG": unknown; | ||
"zh-CN": unknown; | ||
"hr-HR": unknown; | ||
"cs-CZ": unknown; | ||
"da-DK": unknown; | ||
"fi-FI": unknown; | ||
"el-GR": unknown; | ||
"hi-IN": unknown; | ||
"hu-HU": unknown; | ||
"id-ID": unknown; | ||
"ja-JP": unknown; | ||
"ko-KR": unknown; | ||
"lt-LT": unknown; | ||
"ms-MY": unknown; | ||
"mr-IN": unknown; | ||
"nb-NO": unknown; | ||
"pl-PL": unknown; | ||
"pt-BR": unknown; | ||
"ro-RO": unknown; | ||
"ru-RU": unknown; | ||
"sr-Latn-RS": unknown; | ||
"sv-SE": unknown; | ||
"ta-IN": unknown; | ||
"th-TH": unknown; | ||
"tr-TR": unknown; | ||
"uk-UA": unknown; | ||
"vi-VN": unknown; | ||
"nl-NL": unknown; | ||
"es-ES": unknown; | ||
"es-419": unknown; | ||
"zh-HK": unknown; | ||
"he-IL": unknown; | ||
}>>; | ||
/** The set of enabled languages - CSV of ConsentManagerLanguageKey */ | ||
allowedLanguages: t.StringC; | ||
}>]>; | ||
@@ -510,43 +432,4 @@ /** Type override */ | ||
}>; | ||
/** The set of enabled languages */ | ||
allowedLanguages: t.ArrayC<t.KeyofC<{ | ||
en: unknown; | ||
"ar-AE": unknown; | ||
"fr-FR": unknown; | ||
"de-DE": unknown; | ||
"it-IT": unknown; | ||
"af-ZA": unknown; | ||
"bg-BG": unknown; | ||
"zh-CN": unknown; | ||
"hr-HR": unknown; | ||
"cs-CZ": unknown; | ||
"da-DK": unknown; | ||
"fi-FI": unknown; | ||
"el-GR": unknown; | ||
"hi-IN": unknown; | ||
"hu-HU": unknown; | ||
"id-ID": unknown; | ||
"ja-JP": unknown; | ||
"ko-KR": unknown; | ||
"lt-LT": unknown; | ||
"ms-MY": unknown; | ||
"mr-IN": unknown; | ||
"nb-NO": unknown; | ||
"pl-PL": unknown; | ||
"pt-BR": unknown; | ||
"ro-RO": unknown; | ||
"ru-RU": unknown; | ||
"sr-Latn-RS": unknown; | ||
"sv-SE": unknown; | ||
"ta-IN": unknown; | ||
"th-TH": unknown; | ||
"tr-TR": unknown; | ||
"uk-UA": unknown; | ||
"vi-VN": unknown; | ||
"nl-NL": unknown; | ||
"es-ES": unknown; | ||
"es-419": unknown; | ||
"zh-HK": unknown; | ||
"he-IL": unknown; | ||
}>>; | ||
/** The set of enabled languages - CSV of ConsentManagerLanguageKey */ | ||
allowedLanguages: t.StringC; | ||
}>; | ||
@@ -553,0 +436,0 @@ /** Type override */ |
@@ -27,3 +27,2 @@ "use strict"; | ||
const type_utils_1 = require("@transcend-io/type-utils"); | ||
const internationalization_1 = require("@transcend-io/internationalization"); | ||
// local | ||
@@ -71,4 +70,4 @@ const enums_1 = require("./enums"); | ||
exports.OptionalConsentManagerConfig = t.partial({ | ||
/** The set of enabled languages */ | ||
allowedLanguages: t.array((0, type_utils_1.valuesOf)(internationalization_1.ConsentManagerLanguageKey)), | ||
/** The set of enabled languages - CSV of ConsentManagerLanguageKey */ | ||
allowedLanguages: t.string, | ||
}); | ||
@@ -75,0 +74,0 @@ /** Consent manager UI configuration */ |
@@ -5,3 +5,3 @@ { | ||
"description": "TypeScript types for airgap.js interoperability with custom consent UIs", | ||
"version": "10.4.0", | ||
"version": "10.4.1", | ||
"homepage": "https://github.com/transcend-io/airgap.js-types", | ||
@@ -8,0 +8,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
201397
2806