[READ ONLY MIRROR] Spark Social AppView Server github.com/sprksocial/server
atproto deno hono lexicon
5
fork

Configure Feed

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

fix profile ingestion

+6 -6
+4 -4
services/ingester/src/db/models.ts
··· 88 88 uri: string 89 89 displayName?: string 90 90 description?: string 91 - avatar?: string 92 - banner?: string 91 + avatar?: Record<string, any> 92 + banner?: Record<string, any> 93 93 labels?: Record<string, any> 94 94 joinedViaStarterPack?: Record<string, any> 95 95 pinnedPost?: Record<string, any> ··· 104 104 uri: { type: String, required: true, unique: true, index: true }, 105 105 displayName: { type: String, required: false }, 106 106 description: { type: String, required: false }, 107 - avatar: { type: String, required: false }, 108 - banner: { type: String, required: false }, 107 + avatar: { type: Object, required: false }, 108 + banner: { type: Object, required: false }, 109 109 labels: { type: Object, required: false }, 110 110 joinedViaStarterPack: { type: Object, required: false }, 111 111 pinnedPost: { type: Object, required: false },
+2 -2
services/ingester/src/handlers/profile-handler.ts
··· 41 41 uri: evt.uri, 42 42 displayName: record.displayName, 43 43 description: record.description, 44 - avatar: record.avatar?.ref, 45 - banner: record.banner?.ref, 44 + avatar: record.avatar, 45 + banner: record.banner, 46 46 labels: record.labels, 47 47 joinedViaStarterPack: record.joinedViaStarterPack, 48 48 pinnedPost: record.pinnedPost,