Prepping editor.

This commit is contained in:
2023-06-25 20:58:47 -07:00
parent 216fb5cbf7
commit 2065de8492
23 changed files with 352 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import vnscene from './vnscene';
export const API_HANDLERS:{
[key:string]:(...args:any)=>any
} = {};
const addHandlers = (handlers:{[key:string]:(...args:any)=>any}) => {
Object.keys(handlers).forEach(key => API_HANDLERS[key] = handlers[key]);
}
addHandlers(vnscene);

View File

@ -0,0 +1,6 @@
export default {
"vnscene:test": (bruh1:string, bruh2:string) => {
console.log("vnscene:test", bruh1, bruh2);
return 'test?';
}
};