adminv1

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Unlicense Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminPassword_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "AdminPassword",
	Fields: graphql.Fields{
		"_key": &graphql.Field{
			Type: graphql.ID,
		},
		"passwordHash": &graphql.Field{
			Type: utils.Bytes,
		},
	},
	Description: "",
})
View Source
var Admin_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "Admin",
	Fields: graphql.Fields{
		"_key": &graphql.Field{
			Type: graphql.ID,
		},
		"firstName": &graphql.Field{
			Type: graphql.String,
		},
		"lastName": &graphql.Field{
			Type: graphql.String,
		},
		"email": &graphql.Field{
			Type: graphql.String,
		},
		"avatar": &graphql.Field{
			Type: utils.Bytes,
		},
		"notes": &graphql.Field{
			Type: graphql.String,
		},
	},
	Description: "",
})
View Source
var File_admin_v1_admin_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Admin

type Admin struct {

	// key represents the unique identifier of the admin
	Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"`
	// first name of the admin
	FirstName string `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of the admin
	LastName string `protobuf:"bytes,3,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// unique email of the admin
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// avatar image associated to the avatar
	Avatar []byte `protobuf:"bytes,5,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	// notes associated to the admin
	Notes *string `protobuf:"bytes,6,opt,name=notes,proto3,oneof" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

Account ...

func (*Admin) Descriptor deprecated

func (*Admin) Descriptor() ([]byte, []int)

Deprecated: Use Admin.ProtoReflect.Descriptor instead.

func (*Admin) GetAvatar

func (x *Admin) GetAvatar() []byte

func (*Admin) GetEmail

func (x *Admin) GetEmail() string

func (*Admin) GetFirstName

func (x *Admin) GetFirstName() string

func (*Admin) GetKey

func (x *Admin) GetKey() string

func (*Admin) GetLastName

func (x *Admin) GetLastName() string

func (*Admin) GetNotes

func (x *Admin) GetNotes() string

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect

func (x *Admin) ProtoReflect() protoreflect.Message

func (*Admin) QueryObject added in v0.0.19

func (*Admin) QueryObject() *graphql.Object

QueryObject ...

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) Schema added in v0.0.10

func (*Admin) Schema() map[string]interface{}

Schema ...

func (*Admin) String

func (x *Admin) String() string

func (*Admin) UnmarshalJSON added in v0.0.19

func (o *Admin) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Admin) UnmarshalMap added in v0.0.19

func (o *Admin) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

type AdminPassword added in v0.0.11

type AdminPassword struct {

	// key represents the unique identifier of the admin
	Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"`
	// password_hash is the hashed password of the admin
	PasswordHash []byte `protobuf:"bytes,2,opt,name=passwordHash,proto3" json:"passwordHash,omitempty"`
	// contains filtered or unexported fields
}

Password ...

func (*AdminPassword) Descriptor deprecated added in v0.0.11

func (*AdminPassword) Descriptor() ([]byte, []int)

Deprecated: Use AdminPassword.ProtoReflect.Descriptor instead.

func (*AdminPassword) GetKey added in v0.0.11

func (x *AdminPassword) GetKey() string

func (*AdminPassword) GetPasswordHash added in v0.0.11

func (x *AdminPassword) GetPasswordHash() []byte

func (*AdminPassword) ProtoMessage added in v0.0.11

func (*AdminPassword) ProtoMessage()

func (*AdminPassword) ProtoReflect added in v0.0.11

func (x *AdminPassword) ProtoReflect() protoreflect.Message

func (*AdminPassword) QueryObject added in v0.0.19

func (*AdminPassword) QueryObject() *graphql.Object

QueryObject ...

func (*AdminPassword) Reset added in v0.0.11

func (x *AdminPassword) Reset()

func (*AdminPassword) Schema added in v0.0.11

func (*AdminPassword) Schema() map[string]interface{}

Schema ...

func (*AdminPassword) String added in v0.0.11

func (x *AdminPassword) String() string

func (*AdminPassword) UnmarshalJSON added in v0.0.19

func (o *AdminPassword) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*AdminPassword) UnmarshalMap added in v0.0.19

func (o *AdminPassword) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

Jump to

Keyboard shortcuts

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