From 796038ff8dffad353565226e6787bee6400d3cc2 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Fri, 11 Jul 2025 17:26:51 +0200 Subject: [PATCH] refactor(filesystem): rename 'storage_url' to 'storage_uri' and add 'file_url' in File message for improved clarity and consistency --- proto/digitalkin/filesystem/v1/filesystem.proto | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/proto/digitalkin/filesystem/v1/filesystem.proto b/proto/digitalkin/filesystem/v1/filesystem.proto index b3e1e53..77ae0c0 100644 --- a/proto/digitalkin/filesystem/v1/filesystem.proto +++ b/proto/digitalkin/filesystem/v1/filesystem.proto @@ -82,14 +82,17 @@ message File { // metadata: Flexible metadata for additional file properties google.protobuf.Struct metadata = 8; - // storage_url: Internal URL for accessing the file content - string storage_url = 9 [(buf.validate.field).required = true]; + // storage_uri: Internal URI for accessing the file content + string storage_uri = 9 [(buf.validate.field).required = true]; + + // file_url: External URL for accessing the file content + string file_url = 10 [(buf.validate.field).required = true]; // status: Current status of the file - FileStatus status = 10 [(buf.validate.field).required = true, (buf.validate.field).enum.not_in = 0]; + FileStatus status = 11 [(buf.validate.field).required = true, (buf.validate.field).enum.not_in = 0]; // content: The content of the file - bytes content = 11; + bytes content = 12; } // FileFilter: Filter criteria for querying files