model

package
Version: v0.0.0-...-caf6f44 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginInput

type LoginInput struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type MutationResult

type MutationResult struct {
	Success bool `json:"success"`
}

type NodeCreationResult

type NodeCreationResult struct {
	Created bool         `json:"created"`
	Node    *models.Node `json:"node"`
}

type NodeIdentifierInput

type NodeIdentifierInput struct {
	ID       *string `json:"id"`
	FullPath *string `json:"full_path"`
}

type NodeInput

type NodeInput struct {
	ParentNodeIdentifier *NodeIdentifierInput `json:"parent_node_identifier"`
	Name                 string               `json:"name"`
	Type                 models.NodeType      `json:"type"`
}

type NodeShareResult

type NodeShareResult struct {
	Created bool          `json:"created"`
	Share   *models.Share `json:"share"`
}

type ShareInput

type ShareInput struct {
	NodeID       string           `json:"node_id"`
	SharedWithID string           `json:"shared_with_id"`
	Mode         models.ShareMode `json:"mode"`
}

type UserInput

type UserInput struct {
	FirstName string `json:"first_name"`
	LastName  string `json:"last_name"`
	Email     string `json:"email"`
	Password  string `json:"password"`
}

Source Files

Jump to

Keyboard shortcuts

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