decentralised sync engine
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: additional lexicon types

serenity 5bc32cce cd53b830

+37
+9
src/lib/types/atproto.ts
··· 84 84 ), 85 85 }); 86 86 export type DidDocument = z.infer<typeof didDocumentSchema>; 87 + 88 + export const comAtprotoRepoStrongRefSchema = z.object({ 89 + $type: z.optional(z.literal("com.atproto.repo.strongRef")), 90 + cid: z.string(), 91 + uri: z.string(), 92 + }); 93 + export type ComAtprotoRepoStrongRef = z.infer< 94 + typeof comAtprotoRepoStrongRefSchema 95 + >;
+14
src/lib/types/lexicon/systems.gmstn.development.channel.ts
··· 1 + import { comAtprotoRepoStrongRefSchema } from "@/lib/types/atproto"; 2 + import { z } from "zod"; 3 + 4 + export const systemsGmstnDevelopmentChannelRecordSchema = z.object({ 5 + $type: z.string(), 6 + name: z.string(), 7 + topic: z.string(), 8 + storeAt: comAtprotoRepoStrongRefSchema, 9 + routeThrough: comAtprotoRepoStrongRefSchema, 10 + createdAt: z.coerce.date(), 11 + }); 12 + export type SystemsGmstnDevelopmentChannel = z.infer< 13 + typeof systemsGmstnDevelopmentChannelRecordSchema 14 + >;
+14
src/lib/types/lexicon/systems.gmstn.development.lattice.ts
··· 1 + import { comAtprotoRepoStrongRefSchema } from "@/lib/types/atproto"; 2 + import { z } from "zod"; 3 + 4 + export const systemsGmstnDevelopmentChannelRecordSchema = z.object({ 5 + $type: z.string(), 6 + name: z.string(), 7 + topic: z.string(), 8 + storeAt: comAtprotoRepoStrongRefSchema, 9 + routeThrough: comAtprotoRepoStrongRefSchema, 10 + createdAt: z.coerce.date(), 11 + }); 12 + export type SystemsGmstnDevelopmentChannel = z.infer< 13 + typeof systemsGmstnDevelopmentChannelRecordSchema 14 + >;