@htmlbricks/hb-bundle
Version:
Single IIFE loader for all HTML Bricks hb-* web components from the jsDelivr CDN, with optional Subresource Integrity; includes agent/LLM docs and theme CSS variables.
37 lines (34 loc) • 698 B
TypeScript
export interface ICapabilities {
groups: {
_id: string;
label: string;
type: string;
}[];
items: {
groupId: string;
title: string;
scope: string;
description?: string;
descriptionUrl?: string;
_id: string;
thirdCompanyName?: string;
cookieName: string;
isMandatory?: boolean;
isTechnical?: boolean;
isMarketing?: boolean;
isThirdPartyOwned?: boolean;
isSessionCookie?: boolean;
cookieExpirationInSeconds?: number;
}[];
}
export type Component = {
id?: string;
style?: string;
allowdecline?: "yes" | "no";
i18nlang?: string;
capabilities?: ICapabilities;
cookielawuri4more?: string;
};
export type Events = {
acceptCookieLaw: { accepted: boolean };
};