Variable publishMessageSchemaConst

publishMessageSchema: ZodObject<
    {
        method: ZodLiteral<"publish">;
        params: ZodObject<
            {
                name: ZodString;
                properties: ZodObject<
                    {
                        cached: ZodOptional<ZodBoolean>;
                        persistent: ZodOptional<ZodBoolean>;
                        retained: ZodOptional<ZodBoolean>;
                    },
                    "strip",
                    { cached?: boolean; persistent?: boolean; retained?: boolean },
                    { cached?: boolean; persistent?: boolean; retained?: boolean },
                >;
                pubuid: ZodNumber;
                type: ZodUnion<
                    [
                        ZodLiteral<"boolean">,
                        ZodLiteral<"double">,
                        ZodLiteral<"int">,
                        ZodLiteral<"float">,
                        ZodLiteral<"string">,
                        ZodLiteral<"json">,
                        ZodLiteral<"raw">,
                    ],
                >;
            },
            "strip",
            {
                name: string;
                properties: {
                    cached?: boolean;
                    persistent?: boolean;
                    retained?: boolean;
                };
                pubuid: number;
                type: | "string"
                | "boolean"
                | "float"
                | "double"
                | "int"
                | "json"
                | "raw"
                | "rpc"
                | "msgpack"
                | "protobuf"
                | "boolean[]"
                | "double[]"
                | "int[]"
                | "float[]"
                | "string[]";
            },
            {
                name: string;
                properties: {
                    cached?: boolean;
                    persistent?: boolean;
                    retained?: boolean;
                };
                pubuid: number;
                type: | "string"
                | "boolean"
                | "float"
                | "double"
                | "int"
                | "json"
                | "raw"
                | "rpc"
                | "msgpack"
                | "protobuf"
                | "boolean[]"
                | "double[]"
                | "int[]"
                | "float[]"
                | "string[]";
            },
        >;
    },
    "strip",
    {
        method: "publish";
        params: {
            name: string;
            properties: {
                cached?: boolean;
                persistent?: boolean;
                retained?: boolean;
            };
            pubuid: number;
            type: | "string"
            | "boolean"
            | "float"
            | "double"
            | "int"
            | "json"
            | "raw"
            | "rpc"
            | "msgpack"
            | "protobuf"
            | "boolean[]"
            | "double[]"
            | "int[]"
            | "float[]"
            | "string[]";
        };
    },
    {
        method: "publish";
        params: {
            name: string;
            properties: {
                cached?: boolean;
                persistent?: boolean;
                retained?: boolean;
            };
            pubuid: number;
            type: | "string"
            | "boolean"
            | "float"
            | "double"
            | "int"
            | "json"
            | "raw"
            | "rpc"
            | "msgpack"
            | "protobuf"
            | "boolean[]"
            | "double[]"
            | "int[]"
            | "float[]"
            | "string[]";
        };
    },
> = ...

Schema for a publish message in the NT protocol.