~james/core

core/api/org_tangled/actorprofile.go -rw-r--r-- 1.9 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 16 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.actor.profile

import (
	comatprototypes "github.com/bluesky-social/indigo/api/atproto"
	"github.com/bluesky-social/indigo/lex/util"
)

const (
	ActorProfileNSID = "org.tangled.actor.profile"
)

func init() {
	util.RegisterType("org.tangled.actor.profile", &ActorProfile{})
} //
// RECORDTYPE: ActorProfile
type ActorProfile struct {
	LexiconTypeID string `json:"$type,const=org.tangled.actor.profile" cborgen:"$type,const=org.tangled.actor.profile"`
	// avatar: Small image to be displayed next to posts from account. AKA, 'profile picture'
	Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
	// description: Free-form profile description text.
	Description    *string `json:"description,omitempty" cborgen:"description,omitempty"`
	IsOrganization *bool   `json:"isOrganization,omitempty" cborgen:"isOrganization,omitempty"`
	// labels: Self-label values for this record. Most common use-case is 'bot'.
	Labels *comatprototypes.LabelDefs_SelfLabels `json:"labels,omitempty" cborgen:"labels,omitempty"`
	Links  []string                              `json:"links,omitempty" cborgen:"links,omitempty"`
	// location: Free-form location text.
	Location *string `json:"location,omitempty" cborgen:"location,omitempty"`
	// pinnedRepositories: Pinned repositories. Values are repo DIDs for repos that have them, or AT-URIs for legacy repos.
	PinnedRepositories []string `json:"pinnedRepositories,omitempty" cborgen:"pinnedRepositories,omitempty"`
	// preferredHandle: A handle the user prefers to be displayed as.
	PreferredHandle *string `json:"preferredHandle,omitempty" cborgen:"preferredHandle,omitempty"`
	// pronouns: Preferred gender pronouns.
	Pronouns *string  `json:"pronouns,omitempty" cborgen:"pronouns,omitempty"`
	Stats    []string `json:"stats,omitempty" cborgen:"stats,omitempty"`
}