frontend for xcvr appview

just some lil beep boop

+4 -4
+1 -1
src/lib/types.ts
··· 57 57 channelURI: string 58 58 lrcId: number 59 59 authorHandle: string 60 - startedAt: number 60 + startedAt: string 61 61 } 62 62 63 63 export type MessageView = {
+1 -1
src/lib/utils.ts
··· 72 72 profileView: sm.author, 73 73 signetView: sm.signet, 74 74 ...(sm.nick && { nick: sm.nick }), 75 - startedAt: sm.signet.startedAt, 75 + startedAt: Date.parse(sm.signet.startedAt), 76 76 } 77 77 } 78 78 export function sanitizeHandle(input: string) {
+2 -2
src/lib/wscontext.svelte.ts
··· 268 268 profileView: m.author, 269 269 signetView: s, 270 270 ...(m.nick && { nick: m.nick }), 271 - startedAt: s.startedAt 271 + startedAt: Date.parse(s.startedAt) 272 272 } 273 273 } 274 274 ··· 348 348 const channelURI = lex.channelURI 349 349 const lrcID = lex.lrcID 350 350 const authorHandle = lex.authorHandle 351 - const startedAt = Date.parse(lex.startedAt) 351 + const startedAt = lex.startedAt 352 352 ctx.addSignet({ 353 353 $type: "org.xcvr.lrc.defs#signetView", 354 354 uri: uri,