···
import { type $Typed, is$typed, maybe$typed } from './util.js'
export const schemaDict = {
13
+
XyzStatusphereDefs: {
15
-
id: 'app.example.defs',
15
+
id: 'xyz.statusphere.defs',
22
-
description: 'AT URI of the post',
26
-
description: 'CID of the post',
29
-
description: 'Reference to a post',
30
-
required: ['uri', 'cid'],
37
-
ref: 'lex:app.example.defs#postRef',
38
-
description: 'Root post in the thread',
42
-
ref: 'lex:app.example.defs#postRef',
43
-
description: 'Direct parent post being replied to',
36
+
ref: 'lex:xyz.statusphere.defs#profileView',
46
-
description: 'Reference to a parent post in a reply chain',
47
-
required: ['root', 'parent'],
39
+
required: ['uri', 'status', 'createdAt', 'profile'],
54
-
description: 'Start index in text',
58
-
description: 'End index in text',
62
-
description: 'Entity type',
66
-
description: 'Entity value (handle, URL, or tag)',
69
-
description: 'Text entity (mention, link, or tag)',
70
-
required: ['start', 'end', 'type', 'value'],
74
-
knownValues: ['like', 'repost', 'follow', 'mention', 'reply'],
75
-
description: 'Type of notification',
53
+
required: ['did', 'handle'],
57
+
XyzStatusphereGetStatuses: {
81
-
id: 'app.example.follow',
59
+
id: 'xyz.statusphere.getStatuses',
63
+
description: 'Get a list of the most recent statuses on the network.',
91
-
description: 'DID of the account being followed',
96
-
description: 'When the follow was created',
99
-
required: ['subject', 'createdAt'],
101
-
description: 'A follow relationship',
107
-
id: 'app.example.like',
117
-
ref: 'lex:app.example.defs#postRef',
118
-
description: 'Post being liked',
122
-
format: 'datetime',
123
-
description: 'When the like was created',
76
+
encoding: 'application/json',
84
+
ref: 'lex:xyz.statusphere.defs#statusView',
88
+
required: ['statuses'],
126
-
required: ['subject', 'createdAt'],
128
-
description: 'A like on a post',
94
+
XyzStatusphereGetUser: {
134
-
id: 'app.example.post',
96
+
id: 'xyz.statusphere.getUser',
144
-
description: 'Post text content',
148
-
format: 'datetime',
149
-
description: 'Creation timestamp',
100
+
description: "Get the current user's profile and status.",
102
+
encoding: 'application/json',
108
+
ref: 'lex:app.bsky.actor.defs#profileView',
156
-
description: 'Languages the post is written in',
162
-
ref: 'lex:app.example.defs#entity',
112
+
ref: 'lex:xyz.statusphere.defs#statusView',
164
-
description: 'Referenced entities in the post',
168
-
ref: 'lex:app.example.defs#replyRef',
169
-
description: 'Post the user is replying to',
115
+
required: ['profile'],
172
-
required: ['text', 'createdAt'],
174
-
description: 'A post in the feed',
178
-
AppExampleProfile: {
121
+
XyzStatusphereSendStatus: {
180
-
id: 'app.example.profile',
123
+
id: 'xyz.statusphere.sendStatus',
190
-
description: 'Display name',
194
-
description: 'Profile description',
198
-
description: 'Profile avatar image',
127
+
description: 'Send a status into the ATmosphere.',
129
+
encoding: 'application/json',
202
-
description: 'Profile banner image',
140
+
required: ['status'],
144
+
encoding: 'application/json',
150
+
ref: 'lex:xyz.statusphere.defs#statusView',
153
+
required: ['status'],
206
-
description: 'User profile information',
210
-
AppExampleRepost: {
159
+
XyzStatusphereStatus: {
212
-
id: 'app.example.repost',
161
+
id: 'xyz.statusphere.status',
···
222
-
ref: 'lex:app.example.defs#postRef',
223
-
description: 'Post being reposted',
228
-
description: 'When the repost was created',
231
-
required: ['subject', 'createdAt'],
180
+
required: ['status', 'createdAt'],
233
-
description: 'A repost of another post',
···
270
-
AppExampleDefs: 'app.example.defs',
271
-
AppExampleFollow: 'app.example.follow',
272
-
AppExampleLike: 'app.example.like',
273
-
AppExamplePost: 'app.example.post',
274
-
AppExampleProfile: 'app.example.profile',
275
-
AppExampleRepost: 'app.example.repost',
218
+
XyzStatusphereDefs: 'xyz.statusphere.defs',
219
+
XyzStatusphereGetStatuses: 'xyz.statusphere.getStatuses',
220
+
XyzStatusphereGetUser: 'xyz.statusphere.getUser',
221
+
XyzStatusphereSendStatus: 'xyz.statusphere.sendStatus',
222
+
XyzStatusphereStatus: 'xyz.statusphere.status',