@versatiles/server
Version:
26 lines (25 loc) • 547 B
TypeScript
import type { Compression } from '@versatiles/container';
export interface ResponseContent {
buffer: Buffer;
mime?: string;
compression?: Compression;
}
export interface ResponseConfig {
acceptGzip: boolean;
acceptBr: boolean;
optimalCompression: boolean;
}
export interface ServerOptions {
baseUrl: string;
compress?: boolean;
glyphs: string;
host?: string;
port?: number;
sprites: {
id: string;
url: string;
}[];
static?: string;
tilesUrl: string;
tms?: boolean;
}