PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
17 lines
632 B
TypeScript
17 lines
632 B
TypeScript
/**
|
|
* Factory to check if a given node can have a tag omitted.
|
|
*
|
|
* @param {Record<string, OmitHandle>} handlers
|
|
* Omission handlers, where each key is a tag name, and each value is the
|
|
* corresponding handler.
|
|
* @returns {OmitHandle}
|
|
* Whether to omit a tag of an element.
|
|
*/
|
|
export function omission(handlers: Record<string, OmitHandle>): OmitHandle;
|
|
/**
|
|
* Check if a tag can be omitted.
|
|
*/
|
|
export type OmitHandle = (element: Element, index: number | undefined, parent: Parents | undefined) => boolean;
|
|
import type { Element } from 'hast';
|
|
import type { Parents } from 'hast';
|
|
//# sourceMappingURL=omission.d.ts.map
|