Move IpcPlayerData out of inventory_sync/instance.ts

Remove circular dependency between inventory_sync/message.ts and
inventory_sync/instance.ts by moving the IpcPlayerData type from
message.ts to instance.ts.  This solves a problem with the web
build checking types in instance.ts that it dosen't use.
This commit is contained in:
Hornwitser committed 2024-01-08 23:54:12 +01:00
1 parent 7bbb44d4e6
commit 96210373f3
4 files changed
+22 -24

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { BaseControllerPlugin, type InstanceInfo } from "@clusterio/controller";
import type { IpcPlayerData } from "./instance";
import type { IpcPlayerData } from "./messages";
import fs from "fs-extra";
import path from "path";