JVClient: { Account: typeof Account; Alias: typeof Alias; callApi: ( path: string, options?: { allowedStatusErrors?: number[]; cookies?: Record<string, string>; data?: any; headers?: Record<string, string>; method?: HttpMethod; query?: Record<string, any>; }, ) => Promise<Response>; Client: typeof Client; Content: typeof Content; ContentComment: typeof ContentComment; convertJVCStringToDate: (dateString: string) => undefined | Date; curl: ( url: string, options?: { allowedStatusErrors?: number[]; cookies?: Record<string, string>; data?: any; headers?: Record<string, string>; method?: HttpMethod; query?: Record<string, any>; }, ) => Promise<Response>; 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; Post: typeof Post; Profile: typeof Profile; Review: typeof Review; Topic: typeof Topic; V4: typeof V4; V4Client: typeof V4Client; Video: typeof Video;} = ... Type declaration
Account: typeof Account
Alias: typeof Alias
callApi: (
path: string,
options?: {
allowedStatusErrors?: number[];
cookies?: Record<string, string>;
data?: any;
headers?: Record<string, string>;
method?: HttpMethod;
query?: Record<string, any>;
},
) => Promise<Response>
Client: typeof Client
Content: typeof Content
convertJVCStringToDate: (dateString: string) => undefined | Date
curl: (
url: string,
options?: {
allowedStatusErrors?: number[];
cookies?: Record<string, string>;
data?: any;
headers?: Record<string, string>;
method?: HttpMethod;
query?: Record<string, any>;
},
) => Promise<Response>
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
Review: typeof Review
Topic: typeof Topic
V4: typeof V4
V4Client: typeof V4Client
Video: typeof Video
Contient l'ensemble de ce qui est exporté par la librairie.