1 | import * as express from "express";
|
2 | import { mediaOverlayURLParam } from "r2-shared-js/dist/es5/src/parser/epub";
|
3 | export declare const URL_PARAM_SESSION_INFO = "r2_SESSION_INFO";
|
4 | export declare const _pathBase64 = "pathBase64";
|
5 | export declare const _asset = "asset";
|
6 | export declare const _jsonPath = "jsonPath";
|
7 | export declare const _urlEncoded = "urlEncoded";
|
8 | export declare const _show = "show";
|
9 | export declare const _authResponse = "authResponse";
|
10 | export declare const _authRequest = "authRequest";
|
11 | export declare const _authRefresh = "authRefresh";
|
12 | export interface IRequestPayloadExtension extends express.Request {
|
13 | lcpPass64: string;
|
14 | pathBase64: string;
|
15 | asset: string;
|
16 | jsonPath: string;
|
17 | urlEncoded: string;
|
18 | [mediaOverlayURLParam]: string;
|
19 | }
|
20 | export 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 | }
|