decentralised sync engine

refactor: additional session info fields

serenity a807aa04 4ce95eaa

Changed files
+3 -1
src
lib
types
+3 -1
src/lib/types/handshake.ts
···
-
import { atUriSchema } from "@/lib/types/atproto";
+
import { atUriSchema, didSchema } from "@/lib/types/atproto";
import { z } from "zod";
export const shardSessionInfoSchema = z.object({
···
token: z.string(),
fingerprint: z.string(),
allowedChannels: z.array(atUriSchema),
+
shardDid: didSchema,
+
latticeDid: didSchema,
});
export type ShardSessionInfo = z.infer<typeof shardSessionInfoSchema>;