Prepping editor.

This commit is contained in:
YourWishes committed 2023-06-25 20:58:47 -07:00
1 parent 17ec6aad52
commit bf93740c20
28 files changed
+367 -13

No files matched your search

+11
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);
+6
View File
@@ -0,0 +1,6 @@
export default {
"vnscene:test": (bruh1:string, bruh2:string) => {
console.log("vnscene:test", bruh1, bruh2);
return 'test?';
}
};