tangled
alpha
login
or
join now
moth11.net
/
rvcx
3
fork
atom
backend for xcvr appview
3
fork
atom
overview
issues
4
pulls
pipelines
add lex dsl
moth11.net
5 months ago
70efcc61
bd64bb27
+245
-2
2 changed files
expand all
collapse all
unified
split
lexicons
org
xcvr
lrc
defs.json
notes.lex
+35
-2
lexicons/org/xcvr/lrc/defs.json
···
36
36
}
37
37
}
38
38
},
39
39
+
39
40
"signetView": {
40
41
"type": "object",
41
42
"required": ["uri", "issuer", "channelURI", "lrcID", "authorHandle", "startedAt"],
···
66
67
}
67
68
}
68
69
},
70
70
+
69
71
"signedMessageView": {
70
72
"type": "object",
71
73
"required": ["uri", "author", "body", "signet", "postedAt"],
···
92
94
},
93
95
"signet": {
94
96
"type": "ref",
95
95
-
"ref": "org.xcvr.actor.defs#profileView"
97
97
+
"ref": "org.xcvr.actor.defs#signetView"
96
98
},
97
99
"postedAt": {
98
100
"type": "string",
99
101
"format": "datetime"
100
102
}
103
103
+
},
101
104
102
102
-
}
105
105
+
"mediaView": {
106
106
+
"type": "object",
107
107
+
"required": ["uri", "author", "media", "signetURI", "postedAt"],
108
108
+
"properties": {
109
109
+
"uri": {
110
110
+
"type": "string",
111
111
+
"format": "at-uri"
112
112
+
},
113
113
+
"author": {
114
114
+
"type": "ref",
115
115
+
"ref": "org.xcvr.actor.defs#profileView"
116
116
+
},
117
117
+
"nick": {
118
118
+
"type": "string",
119
119
+
"maxLength": 16
120
120
+
},
121
121
+
"color": {
122
122
+
"type": "integer",
123
123
+
"minimum": 0,
124
124
+
"maximum": 16777215
125
125
+
},
126
126
+
"signetURI": {
127
127
+
"type": "string",
128
128
+
"format": "at-uri"
129
129
+
},
130
130
+
"postedAt": {
131
131
+
"type": "string",
132
132
+
"format": "datetime"
133
133
+
}
134
134
+
}
135
135
+
},
103
136
}
104
137
}
+210
lexicons/org/xcvr/notes.lex
···
1
1
+
org.xcvr
2
2
+
actor
3
3
+
profile: record
4
4
+
displayName?: string, bytes<=640, chars<=64
5
5
+
defaultNick?: string, bytes<=16
6
6
+
status?: string, bytes<=6400, chars<=640
7
7
+
avatar?: blob
8
8
+
color?: int, [0 16777215]
9
9
+
10
10
+
profileView: def
11
11
+
did: did
12
12
+
handle: handle
13
13
+
displayName?: string, bytes<=640, chars<=64
14
14
+
status?: string, bytes<=6400, chars<=640
15
15
+
avatar?: blob
16
16
+
color?: int, [0 16777215]
17
17
+
defaultNick?: string, bytes<=16
18
18
+
19
19
+
resolveChannel: query
20
20
+
params
21
21
+
union
22
22
+
handle: handle
23
23
+
rkey: string
24
24
+
|
25
25
+
did: did
26
26
+
rkey: string
27
27
+
|
28
28
+
uri: uri
29
29
+
output
30
30
+
url: string
31
31
+
uri?: uri
32
32
+
33
33
+
getProfile: query
34
34
+
params
35
35
+
union
36
36
+
handle: handle
37
37
+
|
38
38
+
did: did
39
39
+
output
40
40
+
profile: profileView
41
41
+
42
42
+
getLastSeen: query
43
43
+
params
44
44
+
union
45
45
+
handle: handle
46
46
+
|
47
47
+
did: did
48
48
+
output
49
49
+
where?: uri
50
50
+
when?: date
51
51
+
52
52
+
feed
53
53
+
channel: record
54
54
+
title: string, bytes<=640, chars<=64
55
55
+
topic?: string, bytes<=2560, chars<=256
56
56
+
createdAt: string
57
57
+
host: handle
58
58
+
59
59
+
sub: record
60
60
+
channelUri: uri
61
61
+
62
62
+
channelView?: def
63
63
+
uri: uri
64
64
+
host: handle
65
65
+
creator: org.xcvr.actor.profileView
66
66
+
title: string, bytes<=640, chars<=64
67
67
+
topic?: string, bytes<=2560, chars<=256
68
68
+
connectedCount?: int [0
69
69
+
createdAt?: date
70
70
+
71
71
+
getChannels?: query
72
72
+
params
73
73
+
limit?: int, [0 100], default=50
74
74
+
cursor?: string
75
75
+
output
76
76
+
channels: array
77
77
+
channelView
78
78
+
cursor?: string
79
79
+
80
80
+
lrc
81
81
+
message: record
82
82
+
signetURI: uri
83
83
+
body: string
84
84
+
nick?: string, bytes<=16
85
85
+
color?: int, [0 16777215]
86
86
+
postedAt?: date
87
87
+
88
88
+
signet: record
89
89
+
channelURI: uri
90
90
+
lrcID: int, [0 4294967295]
91
91
+
author: string
92
92
+
startedAt?: date
93
93
+
94
94
+
media: record
95
95
+
signetURI: uri
96
96
+
union
97
97
+
image
98
98
+
|
99
99
+
video
100
100
+
nick?: string, bytes<=16
101
101
+
color?: int, [0 16777215]
102
102
+
postedAt?: date
103
103
+
104
104
+
image: def
105
105
+
alt: string
106
106
+
blob: blob
107
107
+
aspectRatio?: aspectRatio
108
108
+
109
109
+
aspectRatio: def
110
110
+
width?: int
111
111
+
height?: int
112
112
+
113
113
+
video: def
114
114
+
alt: string
115
115
+
blob: blob
116
116
+
# captions?
117
117
+
118
118
+
messageView: def
119
119
+
uri: uri
120
120
+
author: org.xcvr.lrc.profileView
121
121
+
body: string
122
122
+
nick?: string, bytes<=16
123
123
+
color?: int, [0 16777215]
124
124
+
signetURI: uri
125
125
+
postedAt: date
126
126
+
127
127
+
signetView: def
128
128
+
uri: uri
129
129
+
issuer: handle
130
130
+
channelURI: uri
131
131
+
lrcID: int, [0 4294967295]
132
132
+
authorHandle: string
133
133
+
startedAt?: date
134
134
+
135
135
+
mediaView: def
136
136
+
uri: uri
137
137
+
author: org.xcvr.lrc.profileView
138
138
+
union
139
139
+
image
140
140
+
|
141
141
+
video
142
142
+
nick?: string, bytes<=16
143
143
+
color?: int, [0 16777215]
144
144
+
signetURI: uri
145
145
+
postedAt: date
146
146
+
147
147
+
signedMessageView: def
148
148
+
uri: uri
149
149
+
author: org.xcvr.lrc.profileView
150
150
+
body: string
151
151
+
nick?: string, bytes<=16
152
152
+
color?: int, [0 16777215]
153
153
+
signet: signetView
154
154
+
postedAt: date
155
155
+
156
156
+
signedMediaView: def
157
157
+
uri: uri
158
158
+
author: org.xcvr.lrc.profileView
159
159
+
union
160
160
+
image
161
161
+
|
162
162
+
video
163
163
+
nick?: string, bytes<=16
164
164
+
color?: int, [0 16777215]
165
165
+
signet: signetView
166
166
+
postedAt: date
167
167
+
168
168
+
getMessages: query
169
169
+
params
170
170
+
limit?: int, [0 100], default=50
171
171
+
cursor?: string
172
172
+
output
173
173
+
messages: array
174
174
+
union
175
175
+
signedMessageView
176
176
+
|
177
177
+
signedMediaView
178
178
+
cursor?: string
179
179
+
180
180
+
subscribeLexStream: subscription
181
181
+
params
182
182
+
uri: uri
183
183
+
message
184
184
+
union
185
185
+
messageView
186
186
+
|
187
187
+
signetView
188
188
+
|
189
189
+
mediaView
190
190
+
191
191
+
192
192
+
193
193
+
194
194
+
195
195
+
196
196
+
197
197
+
198
198
+
199
199
+
200
200
+
201
201
+
202
202
+
203
203
+
204
204
+
205
205
+
206
206
+
207
207
+
208
208
+
209
209
+
210
210
+