adminv1

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Unlicense Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminCreatedPayload_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "AdminCreatedPayload",
	Fields: graphql.Fields{
		"key": &graphql.Field{
			Type: graphql.String,
		},
		"element": &graphql.Field{
			Type: utils.Bytes,
		},
		"admin": &graphql.Field{
			Type: Admin_Object,
		},
	},
	Description: "",
})
View Source
var AdminDeletedPayload_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "AdminDeletedPayload",
	Fields: graphql.Fields{
		"key": &graphql.Field{
			Type: graphql.String,
		},
		"admin": &graphql.Field{
			Type: Admin_Object,
		},
	},
	Description: "",
})
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 AdminReplacedPayload_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "AdminReplacedPayload",
	Fields: graphql.Fields{
		"element": &graphql.Field{
			Type: utils.Bytes,
		},
		"admin": &graphql.Field{
			Type: Admin_Object,
		},
	},
	Description: "",
})
View Source
var AdminUpdatedPayload_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "AdminUpdatedPayload",
	Fields: graphql.Fields{
		"element": &graphql.Field{
			Type: utils.Bytes,
		},
		"admin": &graphql.Field{
			Type: Admin_Object,
		},
	},
	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
View Source
var File_admin_v1_events_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 AdminCreatedPayload added in v0.0.22

type AdminCreatedPayload struct {
	Key     string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Element []byte `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"`
	Admin   *Admin `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminCreatedPayload) Descriptor deprecated added in v0.0.22

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

Deprecated: Use AdminCreatedPayload.ProtoReflect.Descriptor instead.

func (*AdminCreatedPayload) GetAdmin added in v0.0.22

func (x *AdminCreatedPayload) GetAdmin() *Admin

func (*AdminCreatedPayload) GetElement added in v0.0.22

func (x *AdminCreatedPayload) GetElement() []byte

func (*AdminCreatedPayload) GetKey added in v0.0.22

func (x *AdminCreatedPayload) GetKey() string

func (*AdminCreatedPayload) ProtoMessage added in v0.0.22

func (*AdminCreatedPayload) ProtoMessage()

func (*AdminCreatedPayload) ProtoReflect added in v0.0.22

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

func (*AdminCreatedPayload) QueryObject added in v0.0.22

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

QueryObject ...

func (*AdminCreatedPayload) Reset added in v0.0.22

func (x *AdminCreatedPayload) Reset()

func (*AdminCreatedPayload) Schema added in v0.0.22

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

Schema ...

func (*AdminCreatedPayload) String added in v0.0.22

func (x *AdminCreatedPayload) String() string

func (*AdminCreatedPayload) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON ...

func (*AdminCreatedPayload) UnmarshalMap added in v0.0.22

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

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

type AdminDeletedPayload added in v0.0.22

type AdminDeletedPayload struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Admin *Admin `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminDeletedPayload) Descriptor deprecated added in v0.0.22

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

Deprecated: Use AdminDeletedPayload.ProtoReflect.Descriptor instead.

func (*AdminDeletedPayload) GetAdmin added in v0.0.22

func (x *AdminDeletedPayload) GetAdmin() *Admin

func (*AdminDeletedPayload) GetKey added in v0.0.22

func (x *AdminDeletedPayload) GetKey() string

func (*AdminDeletedPayload) ProtoMessage added in v0.0.22

func (*AdminDeletedPayload) ProtoMessage()

func (*AdminDeletedPayload) ProtoReflect added in v0.0.22

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

func (*AdminDeletedPayload) QueryObject added in v0.0.22

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

QueryObject ...

func (*AdminDeletedPayload) Reset added in v0.0.22

func (x *AdminDeletedPayload) Reset()

func (*AdminDeletedPayload) Schema added in v0.0.22

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

Schema ...

func (*AdminDeletedPayload) String added in v0.0.22

func (x *AdminDeletedPayload) String() string

func (*AdminDeletedPayload) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON ...

func (*AdminDeletedPayload) UnmarshalMap added in v0.0.22

func (o *AdminDeletedPayload) 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.

type AdminReplacedPayload added in v0.0.24

type AdminReplacedPayload struct {
	Element []byte `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
	Admin   *Admin `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminReplacedPayload) Descriptor deprecated added in v0.0.24

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

Deprecated: Use AdminReplacedPayload.ProtoReflect.Descriptor instead.

func (*AdminReplacedPayload) GetAdmin added in v0.0.24

func (x *AdminReplacedPayload) GetAdmin() *Admin

func (*AdminReplacedPayload) GetElement added in v0.0.24

func (x *AdminReplacedPayload) GetElement() []byte

func (*AdminReplacedPayload) ProtoMessage added in v0.0.24

func (*AdminReplacedPayload) ProtoMessage()

func (*AdminReplacedPayload) ProtoReflect added in v0.0.24

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

func (*AdminReplacedPayload) QueryObject added in v0.0.24

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

QueryObject ...

func (*AdminReplacedPayload) Reset added in v0.0.24

func (x *AdminReplacedPayload) Reset()

func (*AdminReplacedPayload) Schema added in v0.0.24

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

Schema ...

func (*AdminReplacedPayload) String added in v0.0.24

func (x *AdminReplacedPayload) String() string

func (*AdminReplacedPayload) UnmarshalJSON added in v0.0.24

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

UnmarshalJSON ...

func (*AdminReplacedPayload) UnmarshalMap added in v0.0.24

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

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

type AdminUpdatedPayload added in v0.0.22

type AdminUpdatedPayload struct {
	Element []byte `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
	Admin   *Admin `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminUpdatedPayload) Descriptor deprecated added in v0.0.22

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

Deprecated: Use AdminUpdatedPayload.ProtoReflect.Descriptor instead.

func (*AdminUpdatedPayload) GetAdmin added in v0.0.22

func (x *AdminUpdatedPayload) GetAdmin() *Admin

func (*AdminUpdatedPayload) GetElement added in v0.0.22

func (x *AdminUpdatedPayload) GetElement() []byte

func (*AdminUpdatedPayload) ProtoMessage added in v0.0.22

func (*AdminUpdatedPayload) ProtoMessage()

func (*AdminUpdatedPayload) ProtoReflect added in v0.0.22

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

func (*AdminUpdatedPayload) QueryObject added in v0.0.22

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

QueryObject ...

func (*AdminUpdatedPayload) Reset added in v0.0.22

func (x *AdminUpdatedPayload) Reset()

func (*AdminUpdatedPayload) Schema added in v0.0.22

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

Schema ...

func (*AdminUpdatedPayload) String added in v0.0.22

func (x *AdminUpdatedPayload) String() string

func (*AdminUpdatedPayload) UnmarshalJSON added in v0.0.22

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

UnmarshalJSON ...

func (*AdminUpdatedPayload) UnmarshalMap added in v0.0.22

func (o *AdminUpdatedPayload) 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