Variable: activityItemSchema
ts
const activityItemSchema: ZodObject<{
args: ZodOptional<ZodObject<{
profile_id: ZodOptional<ZodCoercedString<unknown>>;
profile_name: ZodOptional<ZodString>;
rich_text: ZodOptional<ZodString>;
text: ZodOptional<ZodString>;
timestamp: ZodOptional<ZodNumber>;
}, $loose>>;
pk: ZodOptional<ZodCoercedString<unknown>>;
story_type: ZodOptional<ZodNumber>;
type: ZodOptional<ZodNumber>;
}, $loose>;One entry of the activity feed (a like, a comment, a new follower, a mention, ...). story_type says which kind it is. The app has dozens and adds them often, so the kind stays a number and everything else passes through untouched.