videomail-client
Version:
A wicked npm package to record videos directly in the browser, wohooo!
41 lines (40 loc) • 1.28 kB
TypeScript
import { ErrorObject } from "serialize-error";
import type { IBrowser, ICPU, IDevice, IEngine, IOS } from "ua-parser-js";
export interface VideomailErrorData {
cause?: any;
promise?: any;
err?: ErrorObject | undefined;
name?: string | undefined;
explanation?: string | undefined;
logLines?: string[] | undefined;
message: string;
whitelistKey?: string | undefined;
title: string;
trace?: string | undefined;
code?: string | undefined;
status?: number | undefined;
stack?: string | undefined;
type?: string | undefined;
blockedURI?: string | undefined;
effectiveDirective?: string | undefined;
violatedDirective?: string | undefined;
originalPolicy?: string | undefined;
}
interface VideomailErrorVersions {
videomailNinjaFormPlugin?: string | undefined;
videomailClient: string;
}
export interface FullVideomailErrorData extends VideomailErrorData {
browser: IBrowser;
cookie?: string[] | undefined;
cpu?: ICPU | undefined;
device?: IDevice | undefined;
engine: IEngine;
location: string;
orientation?: string | undefined;
os?: IOS | undefined;
screen: string;
versions?: VideomailErrorVersions | undefined;
clientIp?: string | null | undefined;
}
export {};