Skip to content

Commit 69436fd

Browse files
committed
fix: allow moltbot parsed data
1 parent f185ca6 commit 69436fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

convex/lib/public.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ export function toPublicSkill(skill: Doc<'skills'> | null | undefined): PublicSk
7575

7676
export function toPublicSoul(soul: Doc<'souls'> | null | undefined): PublicSoul | null {
7777
if (!soul || soul.softDeletedAt) return null
78-
if (soul.moderationStatus && soul.moderationStatus !== 'active') return null
79-
if (soul.moderationFlags?.includes('blocked.malware')) return null
8078
return {
8179
_id: soul._id,
8280
_creationTime: soul._creationTime,

convex/schema.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ const skillVersions = defineTable({
145145
frontmatter: v.record(v.string(), v.any()),
146146
metadata: v.optional(v.any()),
147147
clawdis: v.optional(v.any()),
148+
moltbot: v.optional(v.any()),
148149
}),
149150
createdBy: v.id('users'),
150151
createdAt: v.number(),
@@ -172,6 +173,7 @@ const soulVersions = defineTable({
172173
frontmatter: v.record(v.string(), v.any()),
173174
metadata: v.optional(v.any()),
174175
clawdis: v.optional(v.any()),
176+
moltbot: v.optional(v.any()),
175177
}),
176178
createdBy: v.id('users'),
177179
createdAt: v.number(),

0 commit comments

Comments
 (0)