Type Alias: MultiCookieSpec โ
MultiCookieSpec:
CookieSpec
|CookieSpec
[]
Defined in: src/types/schemas.ts:383
Type representing either a single cookie specification or an array of specifications. Useful when you need to query multiple cookies in a single operation.
Example โ
typescript
// Single cookie spec
const single: MultiCookieSpec = {
domain: "example.com",
name: "sessionId"
};
// Multiple cookie specs
const multiple: MultiCookieSpec = [
{ domain: "example.com", name: "sessionId" },
{ domain: "api.example.com", name: "authToken" }
];