model

package
v0.0.0-...-1040b92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	ID          int    `json:"id"`
	Name        string `json:"name"`
	Content     string `json:"content"`
	ContentType string `json:"contentType"`
}

The `File` type, represents the response of uploading a file.

type Mutation

type Mutation struct {
}

The `Mutation` type, represents all updates we can make to our data.

type Query

type Query struct {
}

The `Query` type, represents all of the entry points into our object graph.

type UploadFile

type UploadFile struct {
	ID   int            `json:"id"`
	File graphql.Upload `json:"file"`
}

The `UploadFile` type, represents the request for uploading a file with certain payload.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL