@transcend-io/airgap.js-types
Advanced tools
Comparing version 10.5.0 to 10.5.1
@@ -147,2 +147,14 @@ import * as t from 'io-ts'; | ||
/** | ||
* 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 | ||
@@ -224,3 +236,2 @@ */ | ||
description: t.StringC; | ||
illustrations: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -231,3 +242,2 @@ specialFeatures: t.RecordC<t.StringC, t.TypeC<{ | ||
description: t.StringC; | ||
illustrations: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -234,0 +244,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.TcfGvlV3Purpose = exports.TcfV2VendorList = exports.TcfVendorListVersion = exports.TcfVendor = exports.TcfStack = exports.TcfPurpose = void 0; | ||
exports.TcfV3VendorList = exports.TcfGvlV3Vendor = exports.TcfGvlV3DataCategory = exports.TcfGvlV3Feature = exports.TcfGvlV3Purpose = exports.TcfV2VendorList = exports.TcfVendorListVersion = exports.TcfVendor = exports.TcfStack = exports.TcfPurpose = void 0; | ||
const t = __importStar(require("io-ts")); | ||
@@ -101,2 +101,10 @@ /** | ||
/** | ||
* TCF GVL v3 feature configuration | ||
*/ | ||
exports.TcfGvlV3Feature = t.type({ | ||
id: t.number, | ||
name: t.string, | ||
description: t.string, | ||
}); | ||
/** | ||
* TCF GVL v3 data categories configuration | ||
@@ -159,4 +167,4 @@ */ | ||
specialPurposes: t.record(t.string, exports.TcfGvlV3Purpose), | ||
features: t.record(t.string, exports.TcfGvlV3Purpose), | ||
specialFeatures: t.record(t.string, exports.TcfGvlV3Purpose), | ||
features: t.record(t.string, exports.TcfGvlV3Feature), | ||
specialFeatures: t.record(t.string, exports.TcfGvlV3Feature), | ||
stacks: t.record(t.string, exports.TcfStack), | ||
@@ -163,0 +171,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.0", | ||
"version": "10.5.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
203107
2853