validare
Version:
Validation tool for web projects
10 lines (9 loc) • 324 B
text/typescript
import { Schema } from "../class/schema";
import { schema } from "../types/schema";
import { get_requiments } from "./get-requiments";
export async function get_schema(name:string) {
return new Promise<any>(async (resolve, reject) => {
let _schema = await get_requiments(name);
resolve(_schema)
})
}