Scratch space for learning atproto app development
1/**
2 * GENERATED CODE - DO NOT MODIFY
3 */
4import { LexiconDoc, Lexicons } from '@atproto/lexicon'
5
6export const schemaDict = {
7 ComExampleStatus: {
8 lexicon: 1,
9 id: 'com.example.status',
10 defs: {
11 main: {
12 type: 'record',
13 key: 'literal:self',
14 record: {
15 type: 'object',
16 required: ['status', 'updatedAt'],
17 properties: {
18 status: {
19 type: 'string',
20 minLength: 1,
21 maxGraphemes: 1,
22 maxLength: 32,
23 },
24 updatedAt: {
25 type: 'string',
26 format: 'datetime',
27 },
28 },
29 },
30 },
31 },
32 },
33}
34export const schemas: LexiconDoc[] = Object.values(schemaDict) as LexiconDoc[]
35export const lexicons: Lexicons = new Lexicons(schemas)
36export const ids = { ComExampleStatus: 'com.example.status' }