decentralised sync engine
0
fork

Configure Feed

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

feat: membership type

serenity 022ad99d be0e93f6

+19
+19
src/lib/types/lexicon/systems.gmstn.development.channel.membership.ts
··· 1 + import { comAtprotoRepoStrongRefSchema } from "@/lib/types/atproto"; 2 + import { z } from "zod"; 3 + 4 + export const systemsGmstnDevelopmentChannelMembershipRecordSchema = z.object({ 5 + $type: z.string(), 6 + state: z.union([ 7 + z.literal("accepted"), 8 + z.literal("rejected"), 9 + z.literal("left"), 10 + ]), 11 + invite: comAtprotoRepoStrongRefSchema, 12 + channel: comAtprotoRepoStrongRefSchema, 13 + createdAt: z.coerce.date(), 14 + updatedAt: z.coerce.date(), 15 + }); 16 + 17 + export type SystemsGmstnDevelopmentChannelMembership = z.infer< 18 + typeof systemsGmstnDevelopmentChannelMembershipRecordSchema 19 + >;