axiodb
Version:
A blazing-fast, lightweight, and scalable nodejs package based DBMS for modern application. Supports schemas, encryption, and advanced query capabilities.
33 lines (32 loc) • 800 B
TypeScript
export declare enum ServerKeys {
PORT = 27018,
LOCALHOST = "127.0.1",
DEFAULT_KEY_EXPIRE = "1h",
DEFAULT_KEY_ISSUER = "AxioDB Server",
DEFAULT_KEY_AUDIENCE = "AxioDB Client",
DEFAULT_KEY_REASON = "For Transacting with AxioDB Server",
DEFAULT_KEY_TIMESTAMP,
DEFAULT_KEY_ROUNDS = 1
}
export declare const CORS_CONFIG: {
ORIGIN: string;
METHODS: string[];
ALLOWED_HEADERS: string[];
EXPOSED_HEADERS: string[];
MAX_AGE: number;
ALLOW_CREDENTIALS: boolean;
};
export declare const staticPath: string;
export declare const AvailableRoutes: ({
method: string;
path: string;
description: string;
payload?: undefined;
} | {
method: string;
path: string;
description: string;
payload: {
name: string;
};
})[];