@schmoker/rageenginebridge 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/stefan/Repos/RageEngineBridge/dist/index.cjs","../src/types.ts","../src/engine.ts"],"names":["EntityType"],"mappings":"AAAA;AC4BO,IAAK,WAAA,kBAAL,CAAA,CAAKA,WAAAA,EAAAA,GAAL;AACL,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,SAAA,EAAA,EAAU,SAAA;AACV,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,KAAA,EAAA,EAAM,KAAA;AACN,EAAAA,WAAAA,CAAA,MAAA,EAAA,EAAO,MAAA;AACP,EAAAA,WAAAA,CAAA,YAAA,EAAA,EAAa,YAAA;AACb,EAAAA,WAAAA,CAAA,UAAA,EAAA,EAAW,UAAA;AACX,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,SAAA,EAAA,EAAU,SAAA;AACV,EAAAA,WAAAA,CAAA,WAAA,EAAA,EAAY,WAAA;AACZ,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AAZC,EAAA,OAAAA,WAAAA;AAAA,CAAA,CAAA,CAAA,WAAA,GAAA,CAAA,CAAA,CAAA;ADZZ;AACA;AEfA,IAAI,OAAA,EAAyB,IAAA;AAEtB,SAAS,SAAA,CAAU,CAAA,EAAkB;AAC1C,EAAA,OAAA,EAAS,CAAA;AACX;AAEO,SAAS,SAAA,CAAA,EAAqB;AACnC,EAAA,GAAA,CAAI,CAAC,MAAA,EAAQ;AACX,IAAA,MAAM,IAAI,KAAA,CAAM,4DAA4D,CAAA;AAAA,EAC9E;AACA,EAAA,OAAO,MAAA;AACT;AAEO,SAAS,WAAA,CAAA,EAAoB;AAClC,EAAA,OAAA,EAAS,IAAA;AACX;AFcA;AACE;AACA;AACA;AACA;AACF,iIAAC","file":"/Users/stefan/Repos/RageEngineBridge/dist/index.cjs","sourcesContent":[null,"export interface Vector3 {\n x: number;\n y: number;\n z: number;\n}\n\nexport interface RGBA {\n r: number;\n g: number;\n b: number;\n a: number;\n}\n\nexport interface RGB {\n r: number;\n g: number;\n b: number;\n}\n\nexport type Array2d = [number, number];\nexport type Array3d = [number, number, number];\n\nexport interface RaycastResult {\n entity: number;\n position: Vector3;\n surfaceNormal: Vector3;\n}\n\nexport enum EntityType {\n Player = \"player\",\n Vehicle = \"vehicle\",\n Object = \"object\",\n Ped = \"ped\",\n Blip = \"blip\",\n Checkpoint = \"checkpoint\",\n Colshape = \"colshape\",\n Camera = \"camera\",\n Browser = \"browser\",\n TextLabel = \"textlabel\",\n Marker = \"marker\",\n Pickup = \"pickup\",\n}\n\nexport interface SystemNotifyArgs {\n title: string;\n text: string;\n attribute: string;\n duration: number;\n silent: boolean;\n}\n\nexport interface NametagsHealthBarStyle {\n size: Array2d;\n color: RGBA;\n bgColor: RGBA;\n}\n\nexport interface NametagsStyle {\n font: number;\n outline: boolean;\n offset: Array2d;\n vehOffset: Array2d;\n color: RGBA;\n size: number;\n hbar?: NametagsHealthBarStyle;\n}\n\nexport interface BlipCreateOpts {\n sprite: number;\n position: Vector3;\n name?: string;\n scale?: number;\n color?: number;\n alpha?: number;\n drawDistance?: number;\n shortRange?: boolean;\n rotation?: number;\n dimension?: number;\n}\n\nexport interface CheckpointCreateOpts {\n type: number;\n position: Vector3;\n radius: number;\n direction?: Vector3;\n color?: RGBA;\n visible?: boolean;\n dimension?: number;\n}\n\nexport interface ColshapeCreateOpts {\n shape: \"sphere\" | \"tube\" | \"circle\" | \"cuboid\" | \"rectangle\" | \"polygon\";\n x: number;\n y: number;\n z: number;\n width?: number;\n height?: number;\n depth?: number;\n radius?: number;\n dimension?: number;\n}\n\nexport interface CameraCreateOpts {\n name: string;\n position?: Vector3;\n rotation?: Vector3;\n fov?: number;\n}\n\nexport interface BrowserCreateOpts {\n url: string;\n}\n\nexport interface TextLabelCreateOpts {\n text: string;\n position: Vector3;\n font?: number;\n color?: RGBA;\n drawDistance?: number;\n los?: boolean;\n dimension?: number;\n}\n\nexport interface PedCreateOpts {\n model: number;\n position: Vector3;\n heading: number;\n dimension?: number;\n}\n","import type { IEngine } from \"./interfaces/IEngine\";\n\nlet engine: IEngine | null = null;\n\nexport function setEngine(e: IEngine): void {\n engine = e;\n}\n\nexport function getEngine(): IEngine {\n if (!engine) {\n throw new Error(\"Engine not set. Call setEngine() before using getEngine().\");\n }\n return engine;\n}\n\nexport function resetEngine(): void {\n engine = null;\n}\n"]}
1
+ {"version":3,"sources":["/Users/stefan/Repos/RageEngineBridge/dist/index.cjs","../src/types.ts","../src/engine.ts"],"names":["EntityType"],"mappings":"AAAA;ACmCO,IAAK,WAAA,kBAAL,CAAA,CAAKA,WAAAA,EAAAA,GAAL;AACL,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,SAAA,EAAA,EAAU,SAAA;AACV,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,KAAA,EAAA,EAAM,KAAA;AACN,EAAAA,WAAAA,CAAA,MAAA,EAAA,EAAO,MAAA;AACP,EAAAA,WAAAA,CAAA,YAAA,EAAA,EAAa,YAAA;AACb,EAAAA,WAAAA,CAAA,UAAA,EAAA,EAAW,UAAA;AACX,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,SAAA,EAAA,EAAU,SAAA;AACV,EAAAA,WAAAA,CAAA,WAAA,EAAA,EAAY,WAAA;AACZ,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AACT,EAAAA,WAAAA,CAAA,QAAA,EAAA,EAAS,QAAA;AAZC,EAAA,OAAAA,WAAAA;AAAA,CAAA,CAAA,CAAA,WAAA,GAAA,CAAA,CAAA,CAAA;ADnBZ;AACA;AEfA,IAAI,OAAA,EAAyB,IAAA;AAEtB,SAAS,SAAA,CAAU,CAAA,EAAkB;AAC1C,EAAA,OAAA,EAAS,CAAA;AACX;AAEO,SAAS,SAAA,CAAA,EAAqB;AACnC,EAAA,GAAA,CAAI,CAAC,MAAA,EAAQ;AACX,IAAA,MAAM,IAAI,KAAA,CAAM,4DAA4D,CAAA;AAAA,EAC9E;AACA,EAAA,OAAO,MAAA;AACT;AAEO,SAAS,WAAA,CAAA,EAAoB;AAClC,EAAA,OAAA,EAAS,IAAA;AACX;AFcA;AACE;AACA;AACA;AACA;AACF,iIAAC","file":"/Users/stefan/Repos/RageEngineBridge/dist/index.cjs","sourcesContent":[null,"export interface Vector3 {\n x: number;\n y: number;\n z: number;\n}\n\nexport interface RGBA {\n r: number;\n g: number;\n b: number;\n a: number;\n}\n\nexport interface RGB {\n r: number;\n g: number;\n b: number;\n}\n\nexport interface Quaternion {\n x: number;\n y: number;\n z: number;\n w: number;\n}\n\nexport type Array2d = [number, number];\nexport type Array3d = [number, number, number];\n\nexport interface RaycastResult {\n entity: number;\n position: Vector3;\n surfaceNormal: Vector3;\n}\n\nexport enum EntityType {\n Player = \"player\",\n Vehicle = \"vehicle\",\n Object = \"object\",\n Ped = \"ped\",\n Blip = \"blip\",\n Checkpoint = \"checkpoint\",\n Colshape = \"colshape\",\n Camera = \"camera\",\n Browser = \"browser\",\n TextLabel = \"textlabel\",\n Marker = \"marker\",\n Pickup = \"pickup\",\n}\n\nexport interface SystemNotifyArgs {\n title: string;\n text: string;\n attribute: string;\n duration: number;\n silent: boolean;\n}\n\nexport interface NametagsHealthBarStyle {\n size: Array2d;\n color: RGBA;\n bgColor: RGBA;\n}\n\nexport interface NametagsStyle {\n font: number;\n outline: boolean;\n offset: Array2d;\n vehOffset: Array2d;\n color: RGBA;\n size: number;\n hbar?: NametagsHealthBarStyle;\n}\n\nexport interface BlipCreateOpts {\n sprite: number;\n position: Vector3;\n name?: string;\n scale?: number;\n color?: number;\n alpha?: number;\n drawDistance?: number;\n shortRange?: boolean;\n rotation?: number;\n dimension?: number;\n}\n\nexport interface CheckpointCreateOpts {\n type: number;\n position: Vector3;\n radius: number;\n direction?: Vector3;\n color?: RGBA;\n visible?: boolean;\n dimension?: number;\n}\n\nexport interface ColshapeCreateOpts {\n shape: \"sphere\" | \"tube\" | \"circle\" | \"cuboid\" | \"rectangle\" | \"polygon\";\n x: number;\n y: number;\n z: number;\n width?: number;\n height?: number;\n depth?: number;\n radius?: number;\n dimension?: number;\n}\n\nexport interface CameraCreateOpts {\n name: string;\n position?: Vector3;\n rotation?: Vector3;\n fov?: number;\n}\n\nexport interface BrowserCreateOpts {\n url: string;\n}\n\nexport interface TextLabelCreateOpts {\n text: string;\n position: Vector3;\n font?: number;\n color?: RGBA;\n drawDistance?: number;\n los?: boolean;\n dimension?: number;\n}\n\nexport interface PedCreateOpts {\n model: number;\n position: Vector3;\n heading: number;\n dimension?: number;\n}\n","import type { IEngine } from \"./interfaces/IEngine\";\n\nlet engine: IEngine | null = null;\n\nexport function setEngine(e: IEngine): void {\n engine = e;\n}\n\nexport function getEngine(): IEngine {\n if (!engine) {\n throw new Error(\"Engine not set. Call setEngine() before using getEngine().\");\n }\n return engine;\n}\n\nexport function resetEngine(): void {\n engine = null;\n}\n"]}
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as IEngine } from './IEngine-BSo5z5Jl.cjs';
2
- export { A as Array2d, a as Array3d, B as BlipCreateOpts, b as BrowserCreateOpts, C as CameraCreateOpts, c as CheckpointCreateOpts, d as ColshapeCreateOpts, E as EntityType, e as IBlip, f as IBrowser, g as ICamera, h as ICheckpoint, i as IColshape, j as IConsole, k as ICreatableEntityPool, l as IDiscord, m as IEntity, n as IEntityPool, o as IEvents, p as IGui, q as IGuiChat, r as IGuiCursor, s as IKeys, t as IMarker, u as INametags, v as INativesBridge, w as IObject, x as IPed, y as IPickup, z as IPlayer, D as IRaycasting, F as IStorage, G as ISystem, H as ITextLabel, J as IUser, K as IUserPreferences, L as IVehicle, M as IVoiceChat, N as NametagsHealthBarStyle, O as NametagsStyle, P as PedCreateOpts, R as RGB, Q as RGBA, S as RaycastResult, T as SystemNotifyArgs, U as TextLabelCreateOpts, V as Vector3 } from './IEngine-BSo5z5Jl.cjs';
1
+ import { I as IEngine } from './IEngine-Do3K_WiX.cjs';
2
+ export { A as Array2d, a as Array3d, B as BlipCreateOpts, b as BrowserCreateOpts, C as CameraCreateOpts, c as CheckpointCreateOpts, d as ColshapeCreateOpts, E as EntityType, e as IAudio, f as IBlip, g as IBrowser, h as ICamera, i as ICheckpoint, j as IColshape, k as IConsole, l as IControls, m as ICreatableEntityPool, n as IDiscord, o as IEntity, p as IEntityPool, q as IEvents, r as IGameplay, s as IGameplayCamera, t as IGraphics, u as IGui, v as IGuiChat, w as IGuiCursor, x as IHUD, y as IKeys, z as IMarker, D as INametags, F as INativesBridge, G as IObject, H as IPed, J as IPickup, K as IPlayer, L as IRaycasting, M as IStorage, N as IStreaming, O as ISystem, P as ITextLabel, Q as IUser, R as IUserPreferences, S as IVehicle, T as IVoiceChat, U as IWeapon, V as IWorld, W as NametagsHealthBarStyle, X as NametagsStyle, Y as PedCreateOpts, Z as Quaternion, _ as RGB, $ as RGBA, a0 as RaycastResult, a1 as SystemNotifyArgs, a2 as TextLabelCreateOpts, a3 as Vector3 } from './IEngine-Do3K_WiX.cjs';
3
3
 
4
4
  declare function setEngine(e: IEngine): void;
5
5
  declare function getEngine(): IEngine;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as IEngine } from './IEngine-BSo5z5Jl.js';
2
- export { A as Array2d, a as Array3d, B as BlipCreateOpts, b as BrowserCreateOpts, C as CameraCreateOpts, c as CheckpointCreateOpts, d as ColshapeCreateOpts, E as EntityType, e as IBlip, f as IBrowser, g as ICamera, h as ICheckpoint, i as IColshape, j as IConsole, k as ICreatableEntityPool, l as IDiscord, m as IEntity, n as IEntityPool, o as IEvents, p as IGui, q as IGuiChat, r as IGuiCursor, s as IKeys, t as IMarker, u as INametags, v as INativesBridge, w as IObject, x as IPed, y as IPickup, z as IPlayer, D as IRaycasting, F as IStorage, G as ISystem, H as ITextLabel, J as IUser, K as IUserPreferences, L as IVehicle, M as IVoiceChat, N as NametagsHealthBarStyle, O as NametagsStyle, P as PedCreateOpts, R as RGB, Q as RGBA, S as RaycastResult, T as SystemNotifyArgs, U as TextLabelCreateOpts, V as Vector3 } from './IEngine-BSo5z5Jl.js';
1
+ import { I as IEngine } from './IEngine-Do3K_WiX.js';
2
+ export { A as Array2d, a as Array3d, B as BlipCreateOpts, b as BrowserCreateOpts, C as CameraCreateOpts, c as CheckpointCreateOpts, d as ColshapeCreateOpts, E as EntityType, e as IAudio, f as IBlip, g as IBrowser, h as ICamera, i as ICheckpoint, j as IColshape, k as IConsole, l as IControls, m as ICreatableEntityPool, n as IDiscord, o as IEntity, p as IEntityPool, q as IEvents, r as IGameplay, s as IGameplayCamera, t as IGraphics, u as IGui, v as IGuiChat, w as IGuiCursor, x as IHUD, y as IKeys, z as IMarker, D as INametags, F as INativesBridge, G as IObject, H as IPed, J as IPickup, K as IPlayer, L as IRaycasting, M as IStorage, N as IStreaming, O as ISystem, P as ITextLabel, Q as IUser, R as IUserPreferences, S as IVehicle, T as IVoiceChat, U as IWeapon, V as IWorld, W as NametagsHealthBarStyle, X as NametagsStyle, Y as PedCreateOpts, Z as Quaternion, _ as RGB, $ as RGBA, a0 as RaycastResult, a1 as SystemNotifyArgs, a2 as TextLabelCreateOpts, a3 as Vector3 } from './IEngine-Do3K_WiX.js';
3
3
 
4
4
  declare function setEngine(e: IEngine): void;
5
5
  declare function getEngine(): IEngine;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/types.ts","../src/engine.ts"],"sourcesContent":["export interface Vector3 {\n x: number;\n y: number;\n z: number;\n}\n\nexport interface RGBA {\n r: number;\n g: number;\n b: number;\n a: number;\n}\n\nexport interface RGB {\n r: number;\n g: number;\n b: number;\n}\n\nexport type Array2d = [number, number];\nexport type Array3d = [number, number, number];\n\nexport interface RaycastResult {\n entity: number;\n position: Vector3;\n surfaceNormal: Vector3;\n}\n\nexport enum EntityType {\n Player = \"player\",\n Vehicle = \"vehicle\",\n Object = \"object\",\n Ped = \"ped\",\n Blip = \"blip\",\n Checkpoint = \"checkpoint\",\n Colshape = \"colshape\",\n Camera = \"camera\",\n Browser = \"browser\",\n TextLabel = \"textlabel\",\n Marker = \"marker\",\n Pickup = \"pickup\",\n}\n\nexport interface SystemNotifyArgs {\n title: string;\n text: string;\n attribute: string;\n duration: number;\n silent: boolean;\n}\n\nexport interface NametagsHealthBarStyle {\n size: Array2d;\n color: RGBA;\n bgColor: RGBA;\n}\n\nexport interface NametagsStyle {\n font: number;\n outline: boolean;\n offset: Array2d;\n vehOffset: Array2d;\n color: RGBA;\n size: number;\n hbar?: NametagsHealthBarStyle;\n}\n\nexport interface BlipCreateOpts {\n sprite: number;\n position: Vector3;\n name?: string;\n scale?: number;\n color?: number;\n alpha?: number;\n drawDistance?: number;\n shortRange?: boolean;\n rotation?: number;\n dimension?: number;\n}\n\nexport interface CheckpointCreateOpts {\n type: number;\n position: Vector3;\n radius: number;\n direction?: Vector3;\n color?: RGBA;\n visible?: boolean;\n dimension?: number;\n}\n\nexport interface ColshapeCreateOpts {\n shape: \"sphere\" | \"tube\" | \"circle\" | \"cuboid\" | \"rectangle\" | \"polygon\";\n x: number;\n y: number;\n z: number;\n width?: number;\n height?: number;\n depth?: number;\n radius?: number;\n dimension?: number;\n}\n\nexport interface CameraCreateOpts {\n name: string;\n position?: Vector3;\n rotation?: Vector3;\n fov?: number;\n}\n\nexport interface BrowserCreateOpts {\n url: string;\n}\n\nexport interface TextLabelCreateOpts {\n text: string;\n position: Vector3;\n font?: number;\n color?: RGBA;\n drawDistance?: number;\n los?: boolean;\n dimension?: number;\n}\n\nexport interface PedCreateOpts {\n model: number;\n position: Vector3;\n heading: number;\n dimension?: number;\n}\n","import type { IEngine } from \"./interfaces/IEngine\";\n\nlet engine: IEngine | null = null;\n\nexport function setEngine(e: IEngine): void {\n engine = e;\n}\n\nexport function getEngine(): IEngine {\n if (!engine) {\n throw new Error(\"Engine not set. Call setEngine() before using getEngine().\");\n }\n return engine;\n}\n\nexport function resetEngine(): void {\n engine = null;\n}\n"],"mappings":";AA4BO,IAAK,aAAL,kBAAKA,gBAAL;AACL,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,aAAU;AACV,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,SAAM;AACN,EAAAA,YAAA,UAAO;AACP,EAAAA,YAAA,gBAAa;AACb,EAAAA,YAAA,cAAW;AACX,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,aAAU;AACV,EAAAA,YAAA,eAAY;AACZ,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,YAAS;AAZC,SAAAA;AAAA,GAAA;;;AC1BZ,IAAI,SAAyB;AAEtB,SAAS,UAAU,GAAkB;AAC1C,WAAS;AACX;AAEO,SAAS,YAAqB;AACnC,MAAI,CAAC,QAAQ;AACX,UAAM,IAAI,MAAM,4DAA4D;AAAA,EAC9E;AACA,SAAO;AACT;AAEO,SAAS,cAAoB;AAClC,WAAS;AACX;","names":["EntityType"]}
1
+ {"version":3,"sources":["../src/types.ts","../src/engine.ts"],"sourcesContent":["export interface Vector3 {\n x: number;\n y: number;\n z: number;\n}\n\nexport interface RGBA {\n r: number;\n g: number;\n b: number;\n a: number;\n}\n\nexport interface RGB {\n r: number;\n g: number;\n b: number;\n}\n\nexport interface Quaternion {\n x: number;\n y: number;\n z: number;\n w: number;\n}\n\nexport type Array2d = [number, number];\nexport type Array3d = [number, number, number];\n\nexport interface RaycastResult {\n entity: number;\n position: Vector3;\n surfaceNormal: Vector3;\n}\n\nexport enum EntityType {\n Player = \"player\",\n Vehicle = \"vehicle\",\n Object = \"object\",\n Ped = \"ped\",\n Blip = \"blip\",\n Checkpoint = \"checkpoint\",\n Colshape = \"colshape\",\n Camera = \"camera\",\n Browser = \"browser\",\n TextLabel = \"textlabel\",\n Marker = \"marker\",\n Pickup = \"pickup\",\n}\n\nexport interface SystemNotifyArgs {\n title: string;\n text: string;\n attribute: string;\n duration: number;\n silent: boolean;\n}\n\nexport interface NametagsHealthBarStyle {\n size: Array2d;\n color: RGBA;\n bgColor: RGBA;\n}\n\nexport interface NametagsStyle {\n font: number;\n outline: boolean;\n offset: Array2d;\n vehOffset: Array2d;\n color: RGBA;\n size: number;\n hbar?: NametagsHealthBarStyle;\n}\n\nexport interface BlipCreateOpts {\n sprite: number;\n position: Vector3;\n name?: string;\n scale?: number;\n color?: number;\n alpha?: number;\n drawDistance?: number;\n shortRange?: boolean;\n rotation?: number;\n dimension?: number;\n}\n\nexport interface CheckpointCreateOpts {\n type: number;\n position: Vector3;\n radius: number;\n direction?: Vector3;\n color?: RGBA;\n visible?: boolean;\n dimension?: number;\n}\n\nexport interface ColshapeCreateOpts {\n shape: \"sphere\" | \"tube\" | \"circle\" | \"cuboid\" | \"rectangle\" | \"polygon\";\n x: number;\n y: number;\n z: number;\n width?: number;\n height?: number;\n depth?: number;\n radius?: number;\n dimension?: number;\n}\n\nexport interface CameraCreateOpts {\n name: string;\n position?: Vector3;\n rotation?: Vector3;\n fov?: number;\n}\n\nexport interface BrowserCreateOpts {\n url: string;\n}\n\nexport interface TextLabelCreateOpts {\n text: string;\n position: Vector3;\n font?: number;\n color?: RGBA;\n drawDistance?: number;\n los?: boolean;\n dimension?: number;\n}\n\nexport interface PedCreateOpts {\n model: number;\n position: Vector3;\n heading: number;\n dimension?: number;\n}\n","import type { IEngine } from \"./interfaces/IEngine\";\n\nlet engine: IEngine | null = null;\n\nexport function setEngine(e: IEngine): void {\n engine = e;\n}\n\nexport function getEngine(): IEngine {\n if (!engine) {\n throw new Error(\"Engine not set. Call setEngine() before using getEngine().\");\n }\n return engine;\n}\n\nexport function resetEngine(): void {\n engine = null;\n}\n"],"mappings":";AAmCO,IAAK,aAAL,kBAAKA,gBAAL;AACL,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,aAAU;AACV,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,SAAM;AACN,EAAAA,YAAA,UAAO;AACP,EAAAA,YAAA,gBAAa;AACb,EAAAA,YAAA,cAAW;AACX,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,aAAU;AACV,EAAAA,YAAA,eAAY;AACZ,EAAAA,YAAA,YAAS;AACT,EAAAA,YAAA,YAAS;AAZC,SAAAA;AAAA,GAAA;;;ACjCZ,IAAI,SAAyB;AAEtB,SAAS,UAAU,GAAkB;AAC1C,WAAS;AACX;AAEO,SAAS,YAAqB;AACnC,MAAI,CAAC,QAAQ;AACX,UAAM,IAAI,MAAM,4DAA4D;AAAA,EAC9E;AACA,SAAO;AACT;AAEO,SAAS,cAAoB;AAClC,WAAS;AACX;","names":["EntityType"]}