model

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InviteCode

type InviteCode struct {
	ID         repos.ID `json:"id"`
	Name       string   `json:"name"`
	InviteCode string   `json:"inviteCode"`
}

type Mutation

type Mutation struct {
}

type OAuthProviderStatus

type OAuthProviderStatus struct {
	Provider string `json:"provider"`
	Enabled  bool   `json:"enabled"`
}

type Query

type Query struct {
}

type RemoteLogin

type RemoteLogin struct {
	Status     string  `json:"status"`
	AuthHeader *string `json:"authHeader,omitempty"`
}

type Session

type Session struct {
	ID           repos.ID `json:"id"`
	UserID       repos.ID `json:"userId"`
	UserEmail    string   `json:"userEmail"`
	LoginMethod  string   `json:"loginMethod"`
	UserVerified bool     `json:"userVerified"`
}

type User

type User struct {
	ID             repos.ID               `json:"id"`
	Name           string                 `json:"name"`
	Email          string                 `json:"email"`
	Avatar         *string                `json:"avatar,omitempty"`
	Invite         string                 `json:"invite"`
	Verified       bool                   `json:"verified"`
	Approved       bool                   `json:"approved"`
	Metadata       map[string]interface{} `json:"metadata,omitempty"`
	Joined         string                 `json:"joined"`
	ProviderGitlab map[string]interface{} `json:"providerGitlab,omitempty"`
	ProviderGithub map[string]interface{} `json:"providerGithub,omitempty"`
	ProviderGoogle map[string]interface{} `json:"providerGoogle,omitempty"`
}

func (User) IsEntity

func (User) IsEntity()

Jump to

Keyboard shortcuts

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