JVClient: { Account: typeof Account; Alias: typeof Alias; Client: typeof Client; Content: typeof Content; ContentComment: typeof ContentComment; convertJVCStringToDate: (dateString: string) => undefined | Date; decodeJvCare: (elementClass: string) => string; Forum: typeof Forum; ForumClient: typeof ForumClient; Game: typeof Game; isValidJVCText: ( text: string, options?: { checkForInvalidChar?: boolean; minimumLength?: number }, ) => boolean; JVCode: typeof JVCode; NoelShack: typeof NoelShack; Post: typeof Post; Profile: typeof Profile; request: ( url: string | URL, options?: { allowedStatusErrors?: number[]; bodyMode?: BodyMode; cookies?: Record<string, string>; curl?: boolean; data?: any; headers?: Record<string, string>; method?: HttpMethod; query?: Record<string, any>; retries?: number; retryDelay?: number; }, ) => Promise<Response>; requestApi: ( path: string, options?: { allowedStatusErrors?: number[]; bodyMode?: BodyMode; cookies?: Record<string, string>; data?: any; headers?: Record<string, string>; method?: HttpMethod; query?: Record<string, any>; retries?: number; retryDelay?: number; }, ) => Promise<Response>; Review: typeof Review; setupCloudflare: (cfClearance: string, userAgent: string) => void; Topic: typeof Topic; V4: typeof V4; V4Client: typeof V4Client; Video: typeof Video;} = ... Type declaration
Account: typeof Account
Alias: typeof Alias
Client: typeof Client
Content: typeof Content
convertJVCStringToDate: (dateString: string) => undefined | Date
decodeJvCare: (elementClass: string) => string
Forum: typeof Forum
Game: typeof Game
isValidJVCText: (
text: string,
options?: { checkForInvalidChar?: boolean; minimumLength?: number },
) => boolean
JVCode: typeof JVCode
Post: typeof Post
Profile: typeof Profile
request: (
url: string | URL,
options?: {
allowedStatusErrors?: number[];
bodyMode?: BodyMode;
cookies?: Record<string, string>;
curl?: boolean;
data?: any;
headers?: Record<string, string>;
method?: HttpMethod;
query?: Record<string, any>;
retries?: number;
retryDelay?: number;
},
) => Promise<Response>
requestApi: (
path: string,
options?: {
allowedStatusErrors?: number[];
bodyMode?: BodyMode;
cookies?: Record<string, string>;
data?: any;
headers?: Record<string, string>;
method?: HttpMethod;
query?: Record<string, any>;
retries?: number;
retryDelay?: number;
},
) => Promise<Response>
Review: typeof Review
setupCloudflare: (cfClearance: string, userAgent: string) => void
Topic: typeof Topic
V4: typeof V4
V4Client: typeof V4Client
Video: typeof Video
Contient l'ensemble de ce qui est exporté par la librairie.