���Root Mod By V1rus_Alfa
User / IP
:
216.73.216.158
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules
/
@vueuse
/
integrations
/
Viewing: useCookies.d.ts
import * as universal_cookie from 'universal-cookie'; import universal_cookie__default from 'universal-cookie'; import { IncomingMessage } from 'node:http'; /** * Creates a new {@link useCookies} function * @param req - incoming http request (for SSR) * @see https://github.com/reactivestack/cookies/tree/master/packages/universal-cookie universal-cookie * @description Creates universal-cookie instance using request (default is window.document.cookie) and returns {@link useCookies} function with provided universal-cookie instance */ declare function createCookies(req?: IncomingMessage): (dependencies?: string[] | null, { doNotParse, autoUpdateDependencies }?: { doNotParse?: boolean | undefined; autoUpdateDependencies?: boolean | undefined; }) => { /** * Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies */ get: <T = any>(name: string, options?: universal_cookie.CookieGetOptions | undefined) => T; /** * Reactive get all cookies */ getAll: <T_1 = any>(options?: universal_cookie.CookieGetOptions | undefined) => T_1; set: (name: string, value: any, options?: universal_cookie.CookieSetOptions | undefined) => void; remove: (name: string, options?: universal_cookie.CookieSetOptions | undefined) => void; addChangeListener: (callback: universal_cookie.CookieChangeListener) => void; removeChangeListener: (callback: universal_cookie.CookieChangeListener) => void; }; /** * Reactive methods to work with cookies (use {@link createCookies} method instead if you are using SSR) * @param dependencies - array of watching cookie's names. Pass empty array if don't want to watch cookies changes. * @param options * @param options.doNotParse - don't try parse value as JSON * @param options.autoUpdateDependencies - automatically update watching dependencies * @param cookies - universal-cookie instance */ declare function useCookies(dependencies?: string[] | null, { doNotParse, autoUpdateDependencies }?: { doNotParse?: boolean | undefined; autoUpdateDependencies?: boolean | undefined; }, cookies?: universal_cookie__default): { /** * Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies */ get: <T = any>(name: string, options?: universal_cookie.CookieGetOptions | undefined) => T; /** * Reactive get all cookies */ getAll: <T_1 = any>(options?: universal_cookie.CookieGetOptions | undefined) => T_1; set: (name: string, value: any, options?: universal_cookie.CookieSetOptions | undefined) => void; remove: (name: string, options?: universal_cookie.CookieSetOptions | undefined) => void; addChangeListener: (callback: universal_cookie.CookieChangeListener) => void; removeChangeListener: (callback: universal_cookie.CookieChangeListener) => void; }; export { createCookies, useCookies };
Coded With 💗 by
0x6ick Mod By V1rus_Alfa