-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added H3HelmetOptions type to internals.
feat: Added H3HelmetOptions type to internals.
- Loading branch information
1 parent
af160ba
commit 67d12ef
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/*****************************************************************************************************************/ | ||
|
||
// @author Michael Roberts <michael@observerly.com> | ||
// @package @observerly/nitro-helmet | ||
// @license Copyright © 2021-2023 observerly | ||
|
||
/*****************************************************************************************************************/ | ||
|
||
export interface H3HelmetOptions { | ||
contentSecurityPolicy: string | boolean | ||
crossOriginResourcePolicy: string | boolean | ||
crossOriginOpenerPolicy: string | boolean | ||
crossOriginEmbedderPolicy: string | boolean | ||
originAgentCluster: string | boolean | ||
referrerPolicy: string | boolean | ||
strictTransportSecurity: string | boolean | ||
xContentTypeOptions: string | boolean | ||
xDNSPrefetchControl: string | boolean | ||
xDownloadOptions: string | boolean | ||
xFrameOptions: string | boolean | ||
xPermittedCrossDomainPolicies: string | boolean | ||
xXSSProtection: number | boolean | ||
} | ||
|
||
/*****************************************************************************************************************/ |