From 68ffae38b71a46a7963ee77c21632a92a9eabe2b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 24 Oct 2024 17:21:40 -0500 Subject: [PATCH] keep and deprecate Signed-off-by: Jeff Carr --- droplet.proto | 7 +++++++ events.proto | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/droplet.proto b/droplet.proto index c3b7bd1..87af716 100644 --- a/droplet.proto +++ b/droplet.proto @@ -27,6 +27,9 @@ message Droplet { DropletState state = 14; // if the droplet is on, off, etc string image_url = 15; // url to the image + + // is it possible to have custom formatting in JSON and TEXT marshal/unmarshal ? + JunkInfo humantest = 16; } enum DropletState { @@ -45,3 +48,7 @@ message Disk { string filename = 1; int64 size = 2; } + +message JunkInfo { + int64 capacity = 1; // Stores the storage capacity in bytes. +} diff --git a/events.proto b/events.proto index 0cb3fea..0b2fe2f 100644 --- a/events.proto +++ b/events.proto @@ -14,7 +14,6 @@ message Events { StorageInfo humantest = 5; } - message Event { int32 id = 1; EventType etype = 2;