feat: ret dir item parent id in dir content query

This commit is contained in:
2025-12-16 01:47:00 +00:00
parent 1b544b6a2f
commit 6fb49ba61a
2 changed files with 11 additions and 2 deletions

View File

@@ -18,6 +18,8 @@ type FileInfo struct {
Kind string `json:"kind" example:"file"`
// Unique file identifier
ID string `json:"id" example:"mElnUNCm8F22"`
// ParentID is the pbulic ID of the directory this file is in
ParentID string `json:"parentId,omitempty" exmaple:"kRp2XYTq9A55"`
// File name
Name string `json:"name" example:"document.pdf"`
// File size in bytes