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

4
editor/src/api/base.ts Normal file
View File

@ -0,0 +1,4 @@
//@ts-ignore
const wdawnapi = (globalThis['dawnapi'] as any);
export const API_BASE = wdawnapi;

1
editor/src/api/index.ts Normal file
View File

@ -0,0 +1 @@
export * from './vnscene';

View File

@ -0,0 +1,3 @@
import { API_BASE } from "./base";
export const doVnTest = API_BASE['vnscene:test'] as (bruh1:string, bruh2:string) => Promise<string>;