tanstack-shadcn-table
Version:
A powerful, feature-rich React table component built on top of TanStack Table v8 with shadcn/ui styling. Optimized bundle size with 55% reduction through peer dependencies.
23 lines (22 loc) • 754 B
TypeScript
/**
* Content Security Policy helpers
* Tree-shakeable - import only what you need
*
* @example
* import { CSP_DIRECTIVES } from 'tanstack-shadcn-table/lib/security/csp';
* const cspHeader = Object.entries(CSP_DIRECTIVES)
* .map(([key, value]) => `${key} ${value}`)
* .join("; ");
*/
export declare const CSP_DIRECTIVES: {
readonly "default-src": "'self'";
readonly "script-src": "'self' 'unsafe-inline'";
readonly "style-src": "'self' 'unsafe-inline'";
readonly "img-src": "'self' data: https:";
readonly "font-src": "'self' data:";
readonly "connect-src": "'self'";
readonly "frame-src": "'none'";
readonly "object-src": "'none'";
readonly "base-uri": "'self'";
readonly "form-action": "'self'";
};