Skip to content

Commit 4e9252f

Browse files
committed
✨ feat: 新增类型partitionKey.topLevelSite
1 parent 8889f64 commit 4e9252f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/types/scriptcat.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ declare namespace GMTypes {
294294
[key: string]: string | boolean | number | undefined;
295295
};
296296

297+
interface CookieDetailsPartitionKeyType {
298+
topLevelSite?: string;
299+
}
300+
297301
interface CookieDetails {
298302
url?: string;
299303
name?: string;
@@ -304,6 +308,7 @@ declare namespace GMTypes {
304308
session?: boolean;
305309
httpOnly?: boolean;
306310
expirationDate?: number;
311+
partitionKey?: CookieDetailsPartitionKeyType;
307312
}
308313

309314
interface Cookie {

0 commit comments

Comments
 (0)