feat: Add ArmBotEventsSchema interface to define ArmBot event structure and properties
This commit is contained in:
14
app/src/types/world/worldTypes.d.ts
vendored
14
app/src/types/world/worldTypes.d.ts
vendored
@@ -331,6 +331,20 @@ interface StaticMachineEventsSchema {
|
|||||||
position: [number, number, number];
|
position: [number, number, number];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface ArmBotEventsSchema {
|
||||||
|
modeluuid: string;
|
||||||
|
modelName: string;
|
||||||
|
type: 'ArmBot';
|
||||||
|
points: {
|
||||||
|
uuid: string;
|
||||||
|
position: [number, number, number];
|
||||||
|
actions: { uuid: string; name: string; speed: number; processes: { triggerId: string; startPoint: string; endPoint: string }[] };
|
||||||
|
triggers: { uuid: string; name: string; type: string };
|
||||||
|
connections: { source: { modelUUID: string; pointUUID: string }; targets: { modelUUID: string; pointUUID: string }[] };
|
||||||
|
};
|
||||||
|
position: [number, number, number];
|
||||||
|
}
|
||||||
|
|
||||||
export type EventData = {
|
export type EventData = {
|
||||||
modeluuid: string;
|
modeluuid: string;
|
||||||
modelname: string;
|
modelname: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user