Early work on file stuff.
the build was successful

This commit is contained in:
2019-07-25 23:21:25 +02:00
parent 2c00358f4f
commit 5bcc7479ff
11 changed files with 394 additions and 1 deletions
+14 -1
View File
@@ -19,4 +19,17 @@ type File struct {
// ChangeObject in GQL.
func (*File) IsChangeObject() {
panic("this method is a dummy, and so is its caller")
}
}
// A FileFilter is a filter that can be used to filter files.
type FileFilter struct {
Author *string
Public *bool
MimeTypes []string
}
// A FileUpdate is a set of changes possible to do on file metadata.
type FileUpdate struct {
Public *bool
Name *string
}