A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
57
fork

Configure Feed

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

Fix Sequoia Sync #2

open opened by stevedylan.dev targeting main from fix/text-content-type-guard

Updates the type guard to allow textContent: null for documents, resolves #30

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:ia2zdnhjaokf5lazhxrmj6eu/sh.tangled.repo.pull/3mkcz4jg2wk22
+1 -1
Diff #0
+1 -1
packages/cli/src/lib/atproto.ts
··· 25 25 typeof v.title === "string" && 26 26 typeof v.site === "string" && 27 27 typeof v.path === "string" && 28 - typeof v.textContent === "string" && 28 + (v.textContent === undefined || typeof v.textContent === "string") && 29 29 typeof v.publishedAt === "string" && 30 30 (v.updatedAt === undefined || typeof v.updatedAt === "string") 31 31 );

History

1 round 0 comments
sign up or login to add to the discussion
stevedylan.dev submitted #0
1 commit
expand
fix: updated type guard to allow textContent to be null
merge conflicts detected
expand
  • packages/cli/src/lib/atproto.ts:25
expand 0 comments