-
Notifications
You must be signed in to change notification settings - Fork 86
/
admindefs.go
47 lines (40 loc) · 2.27 KB
/
admindefs.go
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
40
41
42
43
44
45
46
47
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package atproto
// schema: com.atproto.admin.defs
import (
"github.com/bluesky-social/indigo/lex/util"
)
// AdminDefs_AccountView is a "accountView" in the com.atproto.admin.defs schema.
type AdminDefs_AccountView struct {
Did string `json:"did" cborgen:"did"`
Email *string `json:"email,omitempty" cborgen:"email,omitempty"`
EmailConfirmedAt *string `json:"emailConfirmedAt,omitempty" cborgen:"emailConfirmedAt,omitempty"`
Handle string `json:"handle" cborgen:"handle"`
IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
InviteNote *string `json:"inviteNote,omitempty" cborgen:"inviteNote,omitempty"`
InvitedBy *ServerDefs_InviteCode `json:"invitedBy,omitempty" cborgen:"invitedBy,omitempty"`
Invites []*ServerDefs_InviteCode `json:"invites,omitempty" cborgen:"invites,omitempty"`
InvitesDisabled *bool `json:"invitesDisabled,omitempty" cborgen:"invitesDisabled,omitempty"`
RelatedRecords []*util.LexiconTypeDecoder `json:"relatedRecords,omitempty" cborgen:"relatedRecords,omitempty"`
}
// AdminDefs_RepoBlobRef is a "repoBlobRef" in the com.atproto.admin.defs schema.
//
// RECORDTYPE: AdminDefs_RepoBlobRef
type AdminDefs_RepoBlobRef struct {
LexiconTypeID string `json:"$type,const=com.atproto.admin.defs#repoBlobRef" cborgen:"$type,const=com.atproto.admin.defs#repoBlobRef"`
Cid string `json:"cid" cborgen:"cid"`
Did string `json:"did" cborgen:"did"`
RecordUri *string `json:"recordUri,omitempty" cborgen:"recordUri,omitempty"`
}
// AdminDefs_RepoRef is a "repoRef" in the com.atproto.admin.defs schema.
//
// RECORDTYPE: AdminDefs_RepoRef
type AdminDefs_RepoRef struct {
LexiconTypeID string `json:"$type,const=com.atproto.admin.defs#repoRef" cborgen:"$type,const=com.atproto.admin.defs#repoRef"`
Did string `json:"did" cborgen:"did"`
}
// AdminDefs_StatusAttr is a "statusAttr" in the com.atproto.admin.defs schema.
type AdminDefs_StatusAttr struct {
Applied bool `json:"applied" cborgen:"applied"`
Ref *string `json:"ref,omitempty" cborgen:"ref,omitempty"`
}