Variable publishMessageParamsSchemaConst

publishMessageParamsSchema: 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[]";
    },
> = ...

Schema for the publish message in the NT protocol.