UNPKG

1.03 kBTypeScriptView Raw
1import * as express from "express";
2import { mediaOverlayURLParam } from "r2-shared-js/dist/es5/src/parser/epub";
3export declare const URL_PARAM_SESSION_INFO = "r2_SESSION_INFO";
4export declare const _pathBase64 = "pathBase64";
5export declare const _asset = "asset";
6export declare const _jsonPath = "jsonPath";
7export declare const _urlEncoded = "urlEncoded";
8export declare const _show = "show";
9export declare const _authResponse = "authResponse";
10export declare const _authRequest = "authRequest";
11export declare const _authRefresh = "authRefresh";
12export interface IRequestPayloadExtension extends express.Request {
13 lcpPass64: string;
14 pathBase64: string;
15 asset: string;
16 jsonPath: string;
17 urlEncoded: string;
18 [mediaOverlayURLParam]: string;
19}
20export interface IRequestQueryParams {
21 show: string;
22 canonical: string;
23 authResponse: string;
24 authRequest: string;
25 authRefresh: string;
26 [mediaOverlayURLParam]: string;
27 [URL_PARAM_SESSION_INFO]: string;
28 [key: string]: string;
29}