kaneo (minimalist kanban) fork to experiment adding a tangled integration github.com/usekaneo/kaneo
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 82 lines 1.9 kB view raw
1/// <reference types="vite/client" /> 2/// <reference types="vite/types/importMeta.d.ts" /> 3 4declare const __APP_VERSION__: string; 5 6type ImportMetaEnv = { 7 readonly KANEO_API_URL: string; 8}; 9 10type ImportMeta = { 11 readonly env: ImportMetaEnv; 12}; 13 14interface CookieStoreCookie { 15 name: string; 16 value: string; 17 domain?: string; 18 path?: string; 19 expires?: number; 20 maxAge?: number; 21 secure?: boolean; 22 httpOnly?: boolean; 23 sameSite?: "Strict" | "Lax" | "None"; 24 priority?: "Low" | "Medium" | "High"; 25} 26 27interface CookieStore { 28 get(name: string): Promise<CookieStoreCookie | null>; 29 getAll(name?: string): Promise<CookieStoreCookie[]>; 30 set(cookie: { 31 name: string; 32 value: string; 33 domain?: string; 34 path?: string; 35 expires?: number; 36 maxAge?: number; 37 secure?: boolean; 38 httpOnly?: boolean; 39 sameSite?: "Strict" | "Lax" | "None"; 40 priority?: "Low" | "Medium" | "High"; 41 }): Promise<void>; 42 delete( 43 name: string, 44 options?: { path?: string; domain?: string }, 45 ): Promise<void>; 46} 47 48declare const cookieStore: CookieStore; 49 50interface CookieStoreCookie { 51 name: string; 52 value: string; 53 domain?: string; 54 path?: string; 55 expires?: number; 56 maxAge?: number; 57 secure?: boolean; 58 httpOnly?: boolean; 59 sameSite?: "Strict" | "Lax" | "None"; 60 priority?: "Low" | "Medium" | "High"; 61} 62 63interface CookieStore { 64 get(name: string): Promise<CookieStoreCookie | null>; 65 getAll(name?: string): Promise<CookieStoreCookie[]>; 66 set(cookie: { 67 name: string; 68 value: string; 69 domain?: string; 70 path?: string; 71 expires?: number; 72 maxAge?: number; 73 secure?: boolean; 74 httpOnly?: boolean; 75 sameSite?: "Strict" | "Lax" | "None"; 76 priority?: "Low" | "Medium" | "High"; 77 }): Promise<void>; 78 delete( 79 name: string, 80 options?: { path?: string; domain?: string }, 81 ): Promise<void>; 82}