-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [#1693] Adds CookieSameSiteEnum and IVirtualServer as exports to…
… the index file
- Loading branch information
1 parent
75c44a4
commit 8c0dedc
Showing
4 changed files
with
36 additions
and
15 deletions.
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
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,16 @@ | ||
import CookieSameSiteEnum from './enums/CookieSameSiteEnum.js'; | ||
|
||
export default interface IOptionalCookie { | ||
// Required | ||
key: string; | ||
originURL: URL; | ||
|
||
// Optional | ||
value?: string | null; | ||
domain?: string; | ||
path?: string; | ||
expires?: Date | null; | ||
httpOnly?: boolean; | ||
secure?: boolean; | ||
sameSite?: CookieSameSiteEnum; | ||
} |
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