@transcend-io/airgap.js-types
Advanced tools
Comparing version 10.5.1 to 10.5.2
@@ -134,3 +134,3 @@ import * as t from 'io-ts'; | ||
/** | ||
* TCF GVL v3 purpose configuration | ||
* TCF GVL v3 purpose configuration (TCF features share the same type) | ||
*/ | ||
@@ -148,14 +148,2 @@ export declare const TcfGvlV3Purpose: t.TypeC<{ | ||
/** | ||
* TCF GVL v3 feature configuration | ||
*/ | ||
export declare const TcfGvlV3Feature: t.TypeC<{ | ||
id: t.NumberC; | ||
name: t.StringC; | ||
description: t.StringC; | ||
}>; | ||
/** | ||
* Type override | ||
*/ | ||
export declare type TcfGvlV3Feature = t.TypeOf<typeof TcfGvlV3Feature>; | ||
/** | ||
* TCF GVL v3 data categories configuration | ||
@@ -237,2 +225,3 @@ */ | ||
description: t.StringC; | ||
illustrations: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -243,2 +232,3 @@ specialFeatures: t.RecordC<t.StringC, t.TypeC<{ | ||
description: t.StringC; | ||
illustrations: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -245,0 +235,0 @@ stacks: t.RecordC<t.StringC, t.TypeC<{ |
@@ -22,3 +22,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TcfV3VendorList = exports.TcfGvlV3Vendor = exports.TcfGvlV3DataCategory = exports.TcfGvlV3Feature = exports.TcfGvlV3Purpose = exports.TcfV2VendorList = exports.TcfVendorListVersion = exports.TcfVendor = exports.TcfStack = exports.TcfPurpose = void 0; | ||
exports.TcfV3VendorList = exports.TcfGvlV3Vendor = exports.TcfGvlV3DataCategory = exports.TcfGvlV3Purpose = exports.TcfV2VendorList = exports.TcfVendorListVersion = exports.TcfVendor = exports.TcfStack = exports.TcfPurpose = void 0; | ||
const t = __importStar(require("io-ts")); | ||
@@ -92,3 +92,3 @@ /** | ||
/** | ||
* TCF GVL v3 purpose configuration | ||
* TCF GVL v3 purpose configuration (TCF features share the same type) | ||
*/ | ||
@@ -102,10 +102,2 @@ exports.TcfGvlV3Purpose = t.type({ | ||
/** | ||
* TCF GVL v3 feature configuration | ||
*/ | ||
exports.TcfGvlV3Feature = t.type({ | ||
id: t.number, | ||
name: t.string, | ||
description: t.string, | ||
}); | ||
/** | ||
* TCF GVL v3 data categories configuration | ||
@@ -168,4 +160,4 @@ */ | ||
specialPurposes: t.record(t.string, exports.TcfGvlV3Purpose), | ||
features: t.record(t.string, exports.TcfGvlV3Feature), | ||
specialFeatures: t.record(t.string, exports.TcfGvlV3Feature), | ||
features: t.record(t.string, exports.TcfGvlV3Purpose), | ||
specialFeatures: t.record(t.string, exports.TcfGvlV3Purpose), | ||
stacks: t.record(t.string, exports.TcfStack), | ||
@@ -172,0 +164,0 @@ dataCategories: t.record(t.string, exports.TcfGvlV3DataCategory), |
@@ -5,3 +5,3 @@ { | ||
"description": "TypeScript types for airgap.js interoperability with custom consent UIs", | ||
"version": "10.5.1", | ||
"version": "10.5.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
202556
2835