Skip to content

Commit

Permalink
Add documentation for csp metadata property
Browse files Browse the repository at this point in the history
  • Loading branch information
uwx committed Jan 26, 2025
1 parent 783b4ac commit 49dc14f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/types/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ export type ExtensionManifest = {
*/
blocked?: string[];

/**
* A mapping from CSP directives to URLs to allow.
* @example { "script-src": ["https://example.com"] }
*/
csp?: Record<string, string[]>;
};

Expand Down

0 comments on commit 49dc14f

Please sign in to comment.