// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.actor.defs

const ()

// ActorDefs_ProfileViewBasic is a "profileViewBasic" in the org.tangled.actor.defs schema.
type ActorDefs_ProfileViewBasic struct {
	Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
	// avatarCid: The cid of the avatar blob in the account's profile record. Absent when the record has no avatar or bobbin couldn't read it.
	AvatarCid *string                `json:"avatarCid,omitempty" cborgen:"avatarCid,omitempty"`
	Did       string                 `json:"did" cborgen:"did"`
	Handle    string                 `json:"handle" cborgen:"handle"`
	Viewer    *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
}

// ActorDefs_ProfileViewDetailed is a "profileViewDetailed" in the org.tangled.actor.defs schema.
//
// profileViewBasic + follow counts
type ActorDefs_ProfileViewDetailed struct {
	Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
	// avatarCid: The cid of the avatar blob in the account's profile record. Absent when the record has no avatar or bobbin couldn't read it.
	AvatarCid      *string                `json:"avatarCid,omitempty" cborgen:"avatarCid,omitempty"`
	Did            string                 `json:"did" cborgen:"did"`
	FollowersCount *int64                 `json:"followersCount,omitempty" cborgen:"followersCount,omitempty"`
	FollowsCount   *int64                 `json:"followsCount,omitempty" cborgen:"followsCount,omitempty"`
	Handle         string                 `json:"handle" cborgen:"handle"`
	Viewer         *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
}

// ActorDefs_ViewerState is a "viewerState" in the org.tangled.actor.defs schema.
//
// Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.
type ActorDefs_ViewerState struct {
	FollowedBy *string `json:"followedBy,omitempty" cborgen:"followedBy,omitempty"`
	Following  *string `json:"following,omitempty" cborgen:"following,omitempty"`
}
