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 ExampleLexiconStatus: {
8 lexicon: 1,
9 id: 'example.lexicon.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 },
21 updatedAt: {
22 type: 'string',
23 format: 'datetime',
24 },
25 },
26 },
27 },
28 },
29 },
30}
31export const schemas: LexiconDoc[] = Object.values(schemaDict) as LexiconDoc[]
32export const lexicons: Lexicons = new Lexicons(schemas)
33export const ids = { ExampleLexiconStatus: 'example.lexicon.status' }