Prepping editor.
This commit is contained in:
4
editor/src/api/base.ts
Normal file
4
editor/src/api/base.ts
Normal 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
1
editor/src/api/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './vnscene';
|
3
editor/src/api/vnscene.ts
Normal file
3
editor/src/api/vnscene.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { API_BASE } from "./base";
|
||||
|
||||
export const doVnTest = API_BASE['vnscene:test'] as (bruh1:string, bruh2:string) => Promise<string>;
|
Reference in New Issue
Block a user