a tool for shared writing and social publishing
0
fork

Configure Feed

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

don't override published at

+3 -3
+3 -3
actions/publishToPublication.ts
··· 97 97 ); 98 98 99 99 let existingRecord = 100 - (draft?.documents?.data as PubLeafletDocument.Record) || {}; 100 + (draft?.documents?.data as PubLeafletDocument.Record | undefined) || {}; 101 101 let record: PubLeafletDocument.Record = { 102 - ...existingRecord, 103 102 $type: "pub.leaflet.document", 104 103 author: credentialSession.did!, 105 - title: title || "Untitled", 106 104 publication: publication_uri, 107 105 publishedAt: new Date().toISOString(), 106 + ...existingRecord, 107 + title: title || "Untitled", 108 108 description: description || "", 109 109 pages: [ 110 110 {