1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package bsky
4
5// schema: app.bsky.unspecced.defs
6
7// UnspeccedDefs_AgeAssuranceEvent is a "ageAssuranceEvent" in the app.bsky.unspecced.defs schema.
8//
9// Object used to store age assurance data in stash.
10type UnspeccedDefs_AgeAssuranceEvent struct {
11 // attemptId: The unique identifier for this instance of the age assurance flow, in UUID format.
12 AttemptId string `json:"attemptId" cborgen:"attemptId"`
13 // completeIp: The IP address used when completing the AA flow.
14 CompleteIp *string `json:"completeIp,omitempty" cborgen:"completeIp,omitempty"`
15 // completeUa: The user agent used when completing the AA flow.
16 CompleteUa *string `json:"completeUa,omitempty" cborgen:"completeUa,omitempty"`
17 // createdAt: The date and time of this write operation.
18 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
19 // email: The email used for AA.
20 Email *string `json:"email,omitempty" cborgen:"email,omitempty"`
21 // initIp: The IP address used when initiating the AA flow.
22 InitIp *string `json:"initIp,omitempty" cborgen:"initIp,omitempty"`
23 // initUa: The user agent used when initiating the AA flow.
24 InitUa *string `json:"initUa,omitempty" cborgen:"initUa,omitempty"`
25 // status: The status of the age assurance process.
26 Status string `json:"status" cborgen:"status"`
27}
28
29// UnspeccedDefs_AgeAssuranceState is a "ageAssuranceState" in the app.bsky.unspecced.defs schema.
30//
31// The computed state of the age assurance process, returned to the user in question on certain authenticated requests.
32type UnspeccedDefs_AgeAssuranceState struct {
33 // lastInitiatedAt: The timestamp when this state was last updated.
34 LastInitiatedAt *string `json:"lastInitiatedAt,omitempty" cborgen:"lastInitiatedAt,omitempty"`
35 // status: The status of the age assurance process.
36 Status string `json:"status" cborgen:"status"`
37}
38
39// UnspeccedDefs_SkeletonSearchActor is a "skeletonSearchActor" in the app.bsky.unspecced.defs schema.
40type UnspeccedDefs_SkeletonSearchActor struct {
41 Did string `json:"did" cborgen:"did"`
42}
43
44// UnspeccedDefs_SkeletonSearchPost is a "skeletonSearchPost" in the app.bsky.unspecced.defs schema.
45type UnspeccedDefs_SkeletonSearchPost struct {
46 Uri string `json:"uri" cborgen:"uri"`
47}
48
49// UnspeccedDefs_SkeletonSearchStarterPack is a "skeletonSearchStarterPack" in the app.bsky.unspecced.defs schema.
50type UnspeccedDefs_SkeletonSearchStarterPack struct {
51 Uri string `json:"uri" cborgen:"uri"`
52}
53
54// UnspeccedDefs_SkeletonTrend is a "skeletonTrend" in the app.bsky.unspecced.defs schema.
55type UnspeccedDefs_SkeletonTrend struct {
56 Category *string `json:"category,omitempty" cborgen:"category,omitempty"`
57 Dids []string `json:"dids" cborgen:"dids"`
58 DisplayName string `json:"displayName" cborgen:"displayName"`
59 Link string `json:"link" cborgen:"link"`
60 PostCount int64 `json:"postCount" cborgen:"postCount"`
61 StartedAt string `json:"startedAt" cborgen:"startedAt"`
62 Status *string `json:"status,omitempty" cborgen:"status,omitempty"`
63 Topic string `json:"topic" cborgen:"topic"`
64}
65
66// UnspeccedDefs_ThreadItemBlocked is a "threadItemBlocked" in the app.bsky.unspecced.defs schema.
67//
68// RECORDTYPE: UnspeccedDefs_ThreadItemBlocked
69type UnspeccedDefs_ThreadItemBlocked struct {
70 LexiconTypeID string `json:"$type,const=app.bsky.unspecced.defs#threadItemBlocked" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemBlocked"`
71 Author *FeedDefs_BlockedAuthor `json:"author" cborgen:"author"`
72}
73
74// UnspeccedDefs_ThreadItemNoUnauthenticated is a "threadItemNoUnauthenticated" in the app.bsky.unspecced.defs schema.
75//
76// RECORDTYPE: UnspeccedDefs_ThreadItemNoUnauthenticated
77type UnspeccedDefs_ThreadItemNoUnauthenticated struct {
78 LexiconTypeID string `json:"$type,const=app.bsky.unspecced.defs#threadItemNoUnauthenticated" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemNoUnauthenticated"`
79}
80
81// UnspeccedDefs_ThreadItemNotFound is a "threadItemNotFound" in the app.bsky.unspecced.defs schema.
82//
83// RECORDTYPE: UnspeccedDefs_ThreadItemNotFound
84type UnspeccedDefs_ThreadItemNotFound struct {
85 LexiconTypeID string `json:"$type,const=app.bsky.unspecced.defs#threadItemNotFound" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemNotFound"`
86}
87
88// UnspeccedDefs_ThreadItemPost is a "threadItemPost" in the app.bsky.unspecced.defs schema.
89//
90// RECORDTYPE: UnspeccedDefs_ThreadItemPost
91type UnspeccedDefs_ThreadItemPost struct {
92 LexiconTypeID string `json:"$type,const=app.bsky.unspecced.defs#threadItemPost" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemPost"`
93 // hiddenByThreadgate: The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.
94 HiddenByThreadgate bool `json:"hiddenByThreadgate" cborgen:"hiddenByThreadgate"`
95 // moreParents: This post has more parents that were not present in the response. This is just a boolean, without the number of parents.
96 MoreParents bool `json:"moreParents" cborgen:"moreParents"`
97 // moreReplies: This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.
98 MoreReplies int64 `json:"moreReplies" cborgen:"moreReplies"`
99 // mutedByViewer: This is by an account muted by the viewer requesting it.
100 MutedByViewer bool `json:"mutedByViewer" cborgen:"mutedByViewer"`
101 // opThread: This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread.
102 OpThread bool `json:"opThread" cborgen:"opThread"`
103 Post *FeedDefs_PostView `json:"post" cborgen:"post"`
104}
105
106// UnspeccedDefs_TrendView is a "trendView" in the app.bsky.unspecced.defs schema.
107type UnspeccedDefs_TrendView struct {
108 Actors []*ActorDefs_ProfileViewBasic `json:"actors" cborgen:"actors"`
109 Category *string `json:"category,omitempty" cborgen:"category,omitempty"`
110 DisplayName string `json:"displayName" cborgen:"displayName"`
111 Link string `json:"link" cborgen:"link"`
112 PostCount int64 `json:"postCount" cborgen:"postCount"`
113 StartedAt string `json:"startedAt" cborgen:"startedAt"`
114 Status *string `json:"status,omitempty" cborgen:"status,omitempty"`
115 Topic string `json:"topic" cborgen:"topic"`
116}
117
118// UnspeccedDefs_TrendingTopic is a "trendingTopic" in the app.bsky.unspecced.defs schema.
119type UnspeccedDefs_TrendingTopic struct {
120 Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
121 DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
122 Link string `json:"link" cborgen:"link"`
123 Topic string `json:"topic" cborgen:"topic"`
124}