Skip to main content
Module

x/mandarinets/mod.ts>Mandarine.Properties

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
interface Mandarine.Properties
import { type Mandarine } from "https://deno.land/x/mandarinets@v2.3.2/mod.ts";
const { Properties } = Mandarine;

Structure of Mandarine Properties. Mandarine uses these properties to determine how it should work Custom Properties must extend Mandarine.Properties

Index Signatures

[prop: string]: any

Properties

mandarine: { server: { host?: string; port: number; responseType?: MandarineMVC.MediaTypes; responseTimeHeader?: boolean; enableSessions?: boolean; } & any; resources: { staticRegExpPattern?: string; staticFolder?: string; staticIndex?: string; cors?: MandarineMVC.CorsMiddlewareOption; } & any; templateEngine: { engine: Mandarine.MandarineMVC.TemplateEngine.Engines; path: string; } & any; dataSource?: { dialect: Mandarine.ORM.Dialect.Dialects; data: { host: string; port?: number; username: string; password: string; database: string; poolSize?: number; } & any; } & any; authentication?: { expiration?: number; cookie?: CookieConfig; }; sessions: { touch: boolean; expiration: number; expirationInterval: number; }; security?: { cookiesSignKeys: Array<string>; }; } & any