Skip to content

Commit

Permalink
added back illustrations to features (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
linh-transcend authored Sep 8, 2023
1 parent 88944ca commit cf20a1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Transcend Inc.",
"name": "@transcend-io/airgap.js-types",
"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",
"repository": {
"type": "git",
Expand Down
20 changes: 3 additions & 17 deletions src/iab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const TcfV2VendorList = t.intersection([
export type TcfV2VendorList = t.TypeOf<typeof TcfV2VendorList>;

/**
* TCF GVL v3 purpose configuration
* TCF GVL v3 purpose configuration (TCF features share the same type)
*/
export const TcfGvlV3Purpose = t.type({
id: t.number,
Expand All @@ -110,20 +110,6 @@ export const TcfGvlV3Purpose = t.type({
*/
export type TcfGvlV3Purpose = t.TypeOf<typeof TcfGvlV3Purpose>;

/**
* TCF GVL v3 feature configuration
*/
export const TcfGvlV3Feature = t.type({
id: t.number,
name: t.string,
description: t.string,
});

/**
* Type override
*/
export type TcfGvlV3Feature = t.TypeOf<typeof TcfGvlV3Feature>;

/**
* TCF GVL v3 data categories configuration
*/
Expand Down Expand Up @@ -196,8 +182,8 @@ export const TcfV3VendorList = t.intersection([
t.type({
purposes: t.record(t.string, TcfGvlV3Purpose),
specialPurposes: t.record(t.string, TcfGvlV3Purpose),
features: t.record(t.string, TcfGvlV3Feature),
specialFeatures: t.record(t.string, TcfGvlV3Feature),
features: t.record(t.string, TcfGvlV3Purpose),
specialFeatures: t.record(t.string, TcfGvlV3Purpose),
stacks: t.record(t.string, TcfStack),
dataCategories: t.record(t.string, TcfGvlV3DataCategory),
vendors: t.record(t.string, TcfGvlV3Vendor),
Expand Down

0 comments on commit cf20a1e

Please sign in to comment.