mp-holistic
Version:
si prefigge l'umile compito di aiutare nella creazione di : - un server API REST mediante express - un semplice ORM per Postgres Questo tramite decoratori o classi particolari.
24 lines (21 loc) • 548 B
text/typescript
import { tipo } from "../../utility";
import { TypePosizione } from "./utility";
export class Risposta {
stato: number;
descrizione: string;
valori: {
nome: string,
tipo: tipo,
note?: string
}[];
trigger?: { nome: string, valore: any, posizione: TypePosizione };
htmlPath?: string;
html?: string;
isHandlebars?: boolean;
constructor() {
this.stato = 200;
this.descrizione = '';
this.valori = [];
this.isHandlebars = false;
}
}