device templates exist now

This commit is contained in:
Rachel Powers
2024-04-15 21:30:05 -07:00
parent 10d5db967c
commit 4e6ac09c5e
9 changed files with 108 additions and 29 deletions

View File

@@ -2,7 +2,7 @@ import { property, state } from "lit/decorators.js";
import {
DeviceRef,
Fields,
LogicFields,
Reagents,
Slot,
Connection,
@@ -25,7 +25,7 @@ export declare class VMDeviceMixinInterface {
name: string | null;
nameHash: number | null;
prefabName: string | null;
fields: Fields;
fields: LogicFields;
slots: Slot[];
reagents: Reagents;
connections: Connection[];
@@ -53,7 +53,7 @@ export const VMDeviceMixin = <T extends Constructor<LitElement>>(
@state() accessor name: string | null = null;
@state() accessor nameHash: number | null = null;
@state() accessor prefabName: string | null;
@state() accessor fields: Fields;
@state() accessor fields: LogicFields;
@state() accessor slots: Slot[];
@state() accessor reagents: Reagents;
@state() accessor connections: Connection[];