ISPO SDK
    Preparing search index...

    Variable communityPublicMessageProjectionSchemaConst

    Markdown
    communityPublicMessageProjectionSchema: ZodObject<
        {
            attachmentReceipt: ZodOptional<
                ZodObject<
                    {
                        bytes: ZodNumber;
                        mediaType: ZodEnum<
                            {
                                "application/pdf": "application/pdf";
                                "image/gif": "image/gif";
                                "image/jpeg": "image/jpeg";
                                "image/png": "image/png";
                                "image/webp": "image/webp";
                                "text/csv": "text/csv";
                                "text/markdown": "text/markdown";
                                "text/plain": "text/plain";
                            },
                        >;
                        name: ZodString;
                        receiptId: ZodString;
                    },
                    $strict,
                >,
            >;
            author: ZodObject<
                { displayName: ZodString; handle: ZodString; profileRef: ZodString },
                $strict,
            >;
            body: ZodString;
            channelRef: ZodString;
            createdAt: ZodString;
            editedAt: ZodOptional<ZodString>;
            mentions: ZodArray<
                ZodObject<
                    { displayName: ZodString; handle: ZodString; profileRef: ZodString },
                    $strict,
                >,
            >;
            messageRef: ZodString;
            parent: ZodOptional<
                ZodObject<
                    {
                        authorDisplayName: ZodString;
                        body: ZodString;
                        createdAt: ZodString;
                        messageRef: ZodString;
                    },
                    $strict,
                >,
            >;
            reactions: ZodArray<
                ZodObject<
                    { count: ZodNumber; emoji: ZodString; reactedByViewer: ZodBoolean },
                    $strict,
                >,
            >;
            version: ZodNumber;
        },
        $strict,
    > = ...