@transcend-io/airgap.js-types
Advanced tools
Comparing version 12.8.1 to 12.9.0
@@ -42,2 +42,19 @@ /** | ||
/** | ||
* Purposes that can be configured | ||
*/ | ||
export declare const KnownDefaultPurpose: { | ||
/** SaaS tools used for advertising purposes */ | ||
Advertising: "Advertising"; | ||
/** SaaS tools used for analytics purposes */ | ||
Analytics: "Analytics"; | ||
/** SaaS tools used for functional purposes */ | ||
Functional: "Functional"; | ||
/** SaaS tools used for selling personal information */ | ||
SaleOfInfo: "SaleOfInfo"; | ||
/** The request is necessary for the essential features of the website */ | ||
Essential: "Essential"; | ||
}; | ||
/** Type override */ | ||
export type KnownDefaultPurpose = typeof KnownDefaultPurpose[keyof typeof KnownDefaultPurpose]; | ||
/** | ||
* Purposes used by the purpose map | ||
@@ -44,0 +61,0 @@ */ |
@@ -38,2 +38,10 @@ // main | ||
/** | ||
* Purposes that can be configured | ||
*/ | ||
export const KnownDefaultPurpose = makeEnum({ | ||
/** The request is necessary for the essential features of the website */ | ||
Essential: 'Essential', | ||
...ConfigurablePurpose, | ||
}); | ||
/** | ||
* Purposes used by the purpose map | ||
@@ -40,0 +48,0 @@ */ |
@@ -42,2 +42,19 @@ /** | ||
/** | ||
* Purposes that can be configured | ||
*/ | ||
export declare const KnownDefaultPurpose: { | ||
/** SaaS tools used for advertising purposes */ | ||
Advertising: "Advertising"; | ||
/** SaaS tools used for analytics purposes */ | ||
Analytics: "Analytics"; | ||
/** SaaS tools used for functional purposes */ | ||
Functional: "Functional"; | ||
/** SaaS tools used for selling personal information */ | ||
SaleOfInfo: "SaleOfInfo"; | ||
/** The request is necessary for the essential features of the website */ | ||
Essential: "Essential"; | ||
}; | ||
/** Type override */ | ||
export type KnownDefaultPurpose = typeof KnownDefaultPurpose[keyof typeof KnownDefaultPurpose]; | ||
/** | ||
* Purposes used by the purpose map | ||
@@ -44,0 +61,0 @@ */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Purpose = exports.ConfigurablePurpose = exports.DefaultConsentValue = exports.SpecialTrackingPurpose = void 0; | ||
exports.Purpose = exports.KnownDefaultPurpose = exports.ConfigurablePurpose = exports.DefaultConsentValue = exports.SpecialTrackingPurpose = void 0; | ||
// main | ||
@@ -41,2 +41,10 @@ const type_utils_1 = require("@transcend-io/type-utils"); | ||
/** | ||
* Purposes that can be configured | ||
*/ | ||
exports.KnownDefaultPurpose = (0, type_utils_1.makeEnum)({ | ||
/** The request is necessary for the essential features of the website */ | ||
Essential: 'Essential', | ||
...exports.ConfigurablePurpose, | ||
}); | ||
/** | ||
* Purposes used by the purpose map | ||
@@ -43,0 +51,0 @@ */ |
@@ -5,3 +5,3 @@ { | ||
"description": "TypeScript types for airgap.js interoperability with custom consent UIs", | ||
"version": "12.8.1", | ||
"version": "12.9.0", | ||
"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
455422
7838