gen

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AllFilesInfoDocument = `` /* 318-byte string literal not displayed */
View Source
const AllFilesInfoWithListItemsDocument = `` /* 390-byte string literal not displayed */
View Source
const FileInfoDocument = `` /* 174-byte string literal not displayed */
View Source
const FilesInfoDocument = `` /* 217-byte string literal not displayed */
View Source
const ManyMutationsInOneDocument = `` /* 382-byte string literal not displayed */
View Source
const UploadFileDocument = `` /* 181-byte string literal not displayed */
View Source
const UploadFilesDocument = `` /* 226-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type AddListItemInput

type AddListItemInput struct {
	IDAnyOf []int `json:"idAnyOf,omitempty"`
}

type AddListItemResult

type AddListItemResult struct {
	Item Item `json:"item"`
}

type AllFilesInfo

type AllFilesInfo struct {
	Result  AllFilesInfo_Result                  "json:\"result\" graphql:\"result\""
	Result2 AllFilesInfo_Result2_FilesInfoResult "json:\"result2\" graphql:\"result2\""
}

type AllFilesInfoWithListItems

type AllFilesInfoWithListItems struct {
	FileInfo     AllFilesInfoWithListItems_FileInfo                  "json:\"fileInfo\" graphql:\"fileInfo\""
	FilesInfo    AllFilesInfoWithListItems_FilesInfo_FilesInfoResult "json:\"filesInfo\" graphql:\"filesInfo\""
	GetListItems AllFilesInfoWithListItems_GetListItems              "json:\"getListItems\" graphql:\"getListItems\""
}

type AllFilesInfoWithListItems_FileInfo

type AllFilesInfoWithListItems_FileInfo struct {
	Typename *string                                 "json:\"__typename\" graphql:\"__typename\""
	File     AllFilesInfoWithListItems_FileInfo_File "json:\"file\" graphql:\"file\""
}

type AllFilesInfoWithListItems_FileInfo_File

type AllFilesInfoWithListItems_FileInfo_File struct {
	Mime string "json:\"mime\" graphql:\"mime\""
	Name string "json:\"name\" graphql:\"name\""
	Size string "json:\"size\" graphql:\"size\""
}

type AllFilesInfoWithListItems_FilesInfo_FilesInfoResult

type AllFilesInfoWithListItems_FilesInfo_FilesInfoResult struct {
	Files []*AllFilesInfoWithListItems_FilesInfo_FilesInfoResult_Files "json:\"files\" graphql:\"files\""
}

type AllFilesInfoWithListItems_FilesInfo_FilesInfoResult_Files

type AllFilesInfoWithListItems_FilesInfo_FilesInfoResult_Files struct {
	Mime string "json:\"mime\" graphql:\"mime\""
	Name string "json:\"name\" graphql:\"name\""
	Size string "json:\"size\" graphql:\"size\""
}

type AllFilesInfoWithListItems_GetListItems

type AllFilesInfoWithListItems_GetListItems struct {
	Typename        *string                                                "json:\"__typename\" graphql:\"__typename\""
	ListItemsResult AllFilesInfoWithListItems_GetListItems_ListItemsResult "graphql:\"... on ListItemsResult\""
}

type AllFilesInfoWithListItems_GetListItems_ListItemsResult

type AllFilesInfoWithListItems_GetListItems_ListItemsResult struct {
	Items []*AllFilesInfoWithListItems_GetListItems_ListItemsResult_Items "json:\"items\" graphql:\"items\""
}

type AllFilesInfoWithListItems_GetListItems_ListItemsResult_Items

type AllFilesInfoWithListItems_GetListItems_ListItemsResult_Items struct {
	ID   int    "json:\"id\" graphql:\"id\""
	Name string "json:\"name\" graphql:\"name\""
}

type AllFilesInfo_Result

type AllFilesInfo_Result struct {
	Typename *string           "json:\"__typename\" graphql:\"__typename\""
	File     *FileDataFragment "json:\"file\" graphql:\"file\""
}

type AllFilesInfo_Result2_FilesInfoResult

type AllFilesInfo_Result2_FilesInfoResult struct {
	Files []*FileDataFragment "json:\"files\" graphql:\"files\""
}

type Client

type Client struct {
	Client *clientv2.Client
}

func NewClient

func NewClient(cli *http.Client, baseURL string, option *clientv2.Options, interceptors ...clientv2.RequestInterceptor) *Client

func (*Client) AllFilesInfo

func (c *Client) AllFilesInfo(ctx context.Context, file graphql.Upload, files []*graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*AllFilesInfo, error)

func (*Client) AllFilesInfoWithListItems

func (c *Client) AllFilesInfoWithListItems(ctx context.Context, file graphql.Upload, files []*graphql.Upload, input *ListItemsInput, interceptors ...clientv2.RequestInterceptor) (*AllFilesInfoWithListItems, error)

func (*Client) FileInfo

func (c *Client) FileInfo(ctx context.Context, file graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*FileInfo, error)

func (*Client) FilesInfo

func (c *Client) FilesInfo(ctx context.Context, files []*graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*FilesInfo, error)

func (*Client) ManyMutationsInOne

func (c *Client) ManyMutationsInOne(ctx context.Context, file graphql.Upload, files []*graphql.Upload, name string, interceptors ...clientv2.RequestInterceptor) (*ManyMutationsInOne, error)

func (*Client) UploadFile

func (c *Client) UploadFile(ctx context.Context, file graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*UploadFile, error)

func (*Client) UploadFiles

func (c *Client) UploadFiles(ctx context.Context, files []*graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*UploadFiles, error)

type FileData

type FileData struct {
	Name string `json:"name"`
	Size string `json:"size"`
	Mime string `json:"mime"`
}

type FileDataFragment

type FileDataFragment struct {
	Mime string "json:\"mime\" graphql:\"mime\""
	Name string "json:\"name\" graphql:\"name\""
	Size string "json:\"size\" graphql:\"size\""
}

type FileInfo

type FileInfo struct {
	FileInfo FileInfo_FileInfo "json:\"fileInfo\" graphql:\"fileInfo\""
}

type FileInfoResult

type FileInfoResult struct {
	File FileData `json:"file"`
}

type FileInfo_FileInfo

type FileInfo_FileInfo struct {
	Typename *string           "json:\"__typename\" graphql:\"__typename\""
	File     *FileDataFragment "json:\"file\" graphql:\"file\""
}

type FilesInfo

type FilesInfo struct {
	FilesInfo FilesInfo_FilesInfo "json:\"filesInfo\" graphql:\"filesInfo\""
}

type FilesInfoResult

type FilesInfoResult struct {
	Files []*FileData `json:"files"`
}

type FilesInfo_FilesInfo

type FilesInfo_FilesInfo struct {
	Typename        *string                             "json:\"__typename\" graphql:\"__typename\""
	FilesInfoResult FilesInfo_FilesInfo_FilesInfoResult "graphql:\"... on FilesInfoResult\""
}

type FilesInfo_FilesInfo_FilesInfoResult

type FilesInfo_FilesInfo_FilesInfoResult struct {
	Files []*FileDataFragment "json:\"files\" graphql:\"files\""
}

type Item

type Item struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type ListItemsInput

type ListItemsInput struct {
	IDAnyOf []int `json:"idAnyOf,omitempty"`
}

type ListItemsResult

type ListItemsResult struct {
	Items []*Item `json:"items"`
}

type ManyMutationsInOne

type ManyMutationsInOne struct {
	UploadFile  ManyMutationsInOne_UploadFile                    "json:\"uploadFile\" graphql:\"uploadFile\""
	UploadFiles ManyMutationsInOne_UploadFiles_UploadFilesResult "json:\"uploadFiles\" graphql:\"uploadFiles\""
	AddListItem ManyMutationsInOne_AddListItem                   "json:\"addListItem\" graphql:\"addListItem\""
}

type ManyMutationsInOne_AddListItem

type ManyMutationsInOne_AddListItem struct {
	Typename          *string                                          "json:\"__typename\" graphql:\"__typename\""
	AddListItemResult ManyMutationsInOne_AddListItem_AddListItemResult "graphql:\"... on AddListItemResult\""
}

type ManyMutationsInOne_AddListItem_AddListItemResult

type ManyMutationsInOne_AddListItem_AddListItemResult struct {
	Item ManyMutationsInOne_AddListItem_AddListItemResult_Item "json:\"item\" graphql:\"item\""
}

type ManyMutationsInOne_AddListItem_AddListItemResult_Item

type ManyMutationsInOne_AddListItem_AddListItemResult_Item struct {
	ID   int    "json:\"id\" graphql:\"id\""
	Name string "json:\"name\" graphql:\"name\""
}

type ManyMutationsInOne_UploadFile

type ManyMutationsInOne_UploadFile struct {
	Typename *string                            "json:\"__typename\" graphql:\"__typename\""
	File     ManyMutationsInOne_UploadFile_File "json:\"file\" graphql:\"file\""
}

type ManyMutationsInOne_UploadFile_File

type ManyMutationsInOne_UploadFile_File struct {
	Mime string "json:\"mime\" graphql:\"mime\""
	Name string "json:\"name\" graphql:\"name\""
	Size string "json:\"size\" graphql:\"size\""
}

type ManyMutationsInOne_UploadFiles_UploadFilesResult

type ManyMutationsInOne_UploadFiles_UploadFilesResult struct {
	Files []*ManyMutationsInOne_UploadFiles_UploadFilesResult_Files "json:\"files\" graphql:\"files\""
}

type ManyMutationsInOne_UploadFiles_UploadFilesResult_Files

type ManyMutationsInOne_UploadFiles_UploadFilesResult_Files struct {
	Mime string "json:\"mime\" graphql:\"mime\""
	Name string "json:\"name\" graphql:\"name\""
	Size string "json:\"size\" graphql:\"size\""
}

type Mutation

type Mutation struct {
	UploadFile  UploadFileResult  "json:\"uploadFile\" graphql:\"uploadFile\""
	UploadFiles UploadFilesResult "json:\"uploadFiles\" graphql:\"uploadFiles\""
	AddListItem AddListItemResult "json:\"addListItem\" graphql:\"addListItem\""
}

type Query

type Query struct {
	FileInfo     FileInfoResult  "json:\"fileInfo\" graphql:\"fileInfo\""
	FilesInfo    FilesInfoResult "json:\"filesInfo\" graphql:\"filesInfo\""
	GetListItems ListItemsResult "json:\"getListItems\" graphql:\"getListItems\""
}

type UploadFile

type UploadFile struct {
	UploadFile UploadFile_UploadFile "json:\"uploadFile\" graphql:\"uploadFile\""
}

type UploadFileResult

type UploadFileResult struct {
	File FileData `json:"file"`
}

type UploadFile_UploadFile

type UploadFile_UploadFile struct {
	Typename *string           "json:\"__typename\" graphql:\"__typename\""
	File     *FileDataFragment "json:\"file\" graphql:\"file\""
}

type UploadFiles

type UploadFiles struct {
	UploadFiles UploadFiles_UploadFiles "json:\"uploadFiles\" graphql:\"uploadFiles\""
}

type UploadFilesResult

type UploadFilesResult struct {
	Files []*FileData `json:"files"`
}

type UploadFiles_UploadFiles

type UploadFiles_UploadFiles struct {
	Typename          *string                                   "json:\"__typename\" graphql:\"__typename\""
	UploadFilesResult UploadFiles_UploadFiles_UploadFilesResult "graphql:\"... on UploadFilesResult\""
}

type UploadFiles_UploadFiles_UploadFilesResult

type UploadFiles_UploadFiles_UploadFilesResult struct {
	Files []*FileDataFragment "json:\"files\" graphql:\"files\""
}

Jump to

Keyboard shortcuts

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