@transcend-io/airgap.js-types
Advanced tools
Comparing version 8.1.1 to 8.1.2
@@ -380,21 +380,66 @@ import * as t from 'io-ts'; | ||
export declare type ConsentChange = t.TypeOf<typeof ConsentChange>; | ||
export declare const PrivacyRegimeToViewState: t.RecordC<t.KeyofC<{ | ||
Unknown: unknown; | ||
CPRA: unknown; | ||
GDPR: unknown; | ||
LGPD: unknown; | ||
CDPA: unknown; | ||
CPA: unknown; | ||
}>, t.KeyofC<{ | ||
QuickOptions: unknown; | ||
AcceptAll: unknown; | ||
NoticeAndDoNotSell: unknown; | ||
Hidden: unknown; | ||
CompleteOptions: unknown; | ||
LanguageOptions: unknown; | ||
Collapsed: unknown; | ||
Closed: unknown; | ||
}>>; | ||
export declare const PrivacyRegimeToViewState: t.PartialC<{ | ||
Unknown: t.KeyofC<{ | ||
QuickOptions: unknown; | ||
AcceptAll: unknown; | ||
NoticeAndDoNotSell: unknown; | ||
Hidden: unknown; | ||
CompleteOptions: unknown; | ||
LanguageOptions: unknown; | ||
Collapsed: unknown; | ||
Closed: unknown; | ||
}>; | ||
CPRA: t.KeyofC<{ | ||
QuickOptions: unknown; | ||
AcceptAll: unknown; | ||
NoticeAndDoNotSell: unknown; | ||
Hidden: unknown; | ||
CompleteOptions: unknown; | ||
LanguageOptions: unknown; | ||
Collapsed: unknown; | ||
Closed: unknown; | ||
}>; | ||
GDPR: t.KeyofC<{ | ||
QuickOptions: unknown; | ||
AcceptAll: unknown; | ||
NoticeAndDoNotSell: unknown; | ||
Hidden: unknown; | ||
CompleteOptions: unknown; | ||
LanguageOptions: unknown; | ||
Collapsed: unknown; | ||
Closed: unknown; | ||
}>; | ||
LGPD: t.KeyofC<{ | ||
QuickOptions: unknown; | ||
AcceptAll: unknown; | ||
NoticeAndDoNotSell: unknown; | ||
Hidden: unknown; | ||
CompleteOptions: unknown; | ||
LanguageOptions: unknown; | ||
Collapsed: unknown; | ||
Closed: unknown; | ||
}>; | ||
CDPA: t.KeyofC<{ | ||
QuickOptions: unknown; | ||
AcceptAll: unknown; | ||
NoticeAndDoNotSell: unknown; | ||
Hidden: unknown; | ||
CompleteOptions: unknown; | ||
LanguageOptions: unknown; | ||
Collapsed: unknown; | ||
Closed: unknown; | ||
}>; | ||
CPA: t.KeyofC<{ | ||
QuickOptions: unknown; | ||
AcceptAll: unknown; | ||
NoticeAndDoNotSell: unknown; | ||
Hidden: unknown; | ||
CompleteOptions: unknown; | ||
LanguageOptions: unknown; | ||
Collapsed: unknown; | ||
Closed: unknown; | ||
}>; | ||
}>; | ||
/** type overload */ | ||
export declare type PrivacyRegimeToViewState = t.TypeOf<typeof PrivacyRegimeToViewState>; | ||
//# sourceMappingURL=core.d.ts.map |
@@ -132,4 +132,4 @@ "use strict"; | ||
exports.ConsentChange = t.record(exports.TrackingPurpose, t.boolean); | ||
exports.PrivacyRegimeToViewState = t.record(exports.PrivacyRegime, (0, type_utils_1.valuesOf)(enums_1.ViewState)); | ||
exports.PrivacyRegimeToViewState = t.partial((0, type_utils_1.applyEnum)(enums_1.PrivacyRegimeEnum, () => (0, type_utils_1.valuesOf)(enums_1.ViewState))); | ||
/* eslint-enable max-lines */ | ||
//# sourceMappingURL=core.js.map |
@@ -35,7 +35,7 @@ import * as t from 'io-ts'; | ||
*/ | ||
export declare const ConsentManagerThemeStyles: t.RecordC<t.KeyofC<{ | ||
p: unknown; | ||
primaryButton: unknown; | ||
secondaryButton: unknown; | ||
}>, t.StringC>; | ||
export declare const ConsentManagerThemeStyles: t.PartialC<{ | ||
p: t.StringC; | ||
primaryButton: t.StringC; | ||
secondaryButton: t.StringC; | ||
}>; | ||
/** Type override */ | ||
@@ -53,7 +53,7 @@ export declare type ConsentManagerThemeStyles = t.TypeOf<typeof ConsentManagerThemeStyles>; | ||
/** Custom CSS */ | ||
styles: t.RecordC<t.KeyofC<{ | ||
p: unknown; | ||
primaryButton: unknown; | ||
secondaryButton: unknown; | ||
}>, t.StringC>; | ||
styles: t.PartialC<{ | ||
p: t.StringC; | ||
primaryButton: t.StringC; | ||
secondaryButton: t.StringC; | ||
}>; | ||
}>]>; | ||
@@ -84,7 +84,7 @@ /** Type override */ | ||
/** Custom CSS */ | ||
styles: t.RecordC<t.KeyofC<{ | ||
p: unknown; | ||
primaryButton: unknown; | ||
secondaryButton: unknown; | ||
}>, t.StringC>; | ||
styles: t.PartialC<{ | ||
p: t.StringC; | ||
primaryButton: t.StringC; | ||
secondaryButton: t.StringC; | ||
}>; | ||
}>]>; | ||
@@ -136,7 +136,7 @@ /** A set of responsive breakpoints */ | ||
/** Custom CSS */ | ||
styles: t.RecordC<t.KeyofC<{ | ||
p: unknown; | ||
primaryButton: unknown; | ||
secondaryButton: unknown; | ||
}>, t.StringC>; | ||
styles: t.PartialC<{ | ||
p: t.StringC; | ||
primaryButton: t.StringC; | ||
secondaryButton: t.StringC; | ||
}>; | ||
}>]>; | ||
@@ -143,0 +143,0 @@ /** A set of responsive breakpoints */ |
@@ -32,3 +32,3 @@ "use strict"; | ||
*/ | ||
exports.ConsentManagerThemeStyles = t.record((0, type_utils_1.valuesOf)(enums_1.CustomConsentManagerStyle), t.string); | ||
exports.ConsentManagerThemeStyles = t.partial((0, type_utils_1.applyEnum)(enums_1.CustomConsentManagerStyle, () => t.string)); | ||
/** | ||
@@ -35,0 +35,0 @@ * Customer theming |
@@ -5,3 +5,3 @@ { | ||
"description": "TypeScript types for airgap.js interoperability with custom consent UIs", | ||
"version": "8.1.1", | ||
"version": "8.1.2", | ||
"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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112239
1128