This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DEPRECATED: If Defined Schema PR not already merged on parse-server repo, feel free to use my forked build | |
// add "parse-server": "moumouls/parse-server#beta.26" in your package.json | |
// Linked comment: https://gist.github.com/Moumouls/e4f0c6470398efc7a6a74567982185fa#gistcomment-3742504 | |
// This function update, migrate and create Classes | |
export const buildSchemas = async (localSchemas: any[]) => { | |
try { | |
const timeout = setTimeout(() => { | |
if (process.env.NODE_ENV === 'production') process.exit(1) | |
}, 20000) |