MinecraftStatusPinger icon indicating copy to clipboard operation
MinecraftStatusPinger copied to clipboard

Provide Object Type in Status response

Open SuperRonanCraft opened this issue 2 months ago • 1 comments

Typescript is mainly to well... make sure there is type safety. It would be nice if in the Status object of the response to get an object type of all valid fields that are at least an object type or nullish.

Image

SuperRonanCraft avatar Oct 15 '25 13:10 SuperRonanCraft

I guess I could figure something out, assign types to all standard fields. Though I feel like it could be an issue when a server sends a non standard response/type in a standard field, even when you'd like to have the output. I guess statusRaw will be used for that.

woodendoors7 avatar Oct 18 '25 12:10 woodendoors7