Variable messageContentConst

messageContent: ZodObject<{
    body: ZodString;
    decoded: ZodNullable<ZodUnion<[ZodObject<{
        comment: ZodString;
        type: ZodLiteral<"text_comment">;
    }, "strip", ZodTypeAny, {
        comment: string;
        type: "text_comment";
    }, {
        comment: string;
        type: "text_comment";
    }>, ZodObject<{
        hex_comment: ZodString;
        type: ZodLiteral<"binary_comment">;
    }, "strip", ZodTypeAny, {
        hex_comment: string;
        type: "binary_comment";
    }, {
        hex_comment: string;
        type: "binary_comment";
    }>]>>;
    hash: ZodString;
}, "strip", ZodTypeAny, {
    body: string;
    decoded: null | (({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; })) & (undefined | ({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; }));
    hash: string;
}, {
    body: string;
    decoded: null | (({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; })) & (undefined | ({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; }));
    hash: string;
}> = ...

Type declaration

  • body: ZodString
  • decoded: ZodNullable<ZodUnion<[ZodObject<{
        comment: ZodString;
        type: ZodLiteral<"text_comment">;
    }, "strip", ZodTypeAny, {
        comment: string;
        type: "text_comment";
    }, {
        comment: string;
        type: "text_comment";
    }>, ZodObject<{
        hex_comment: ZodString;
        type: ZodLiteral<"binary_comment">;
    }, "strip", ZodTypeAny, {
        hex_comment: string;
        type: "binary_comment";
    }, {
        hex_comment: string;
        type: "binary_comment";
    }>]>>
  • hash: ZodString

Type declaration

  • body: string
  • decoded: null | (({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; })) & (undefined | ({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; }))
  • hash: string

Type declaration

  • body: string
  • decoded: null | (({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; })) & (undefined | ({ type: "text_comment"; comment: string; }) | ({ type: "binary_comment"; hex_comment: string; }))
  • hash: string

Generated using TypeDoc