ntcore-ts-client
    Preparing search index...

    Variable messageSchemaConst

    messageSchema: ZodArray<
        ZodDiscriminatedUnion<
            "method",
            [
                ZodObject<
                    {
                        method: ZodLiteral<"publish">;
                        params: ZodObject<
                            {
                                name: ZodString;
                                properties: ZodObject<
                                    {
                                        cached: ZodOptional<ZodBoolean>;
                                        persistent: ZodOptional<ZodBoolean>;
                                        retained: ZodOptional<ZodBoolean>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    { 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",
                            ZodTypeAny,
                            {
                                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",
                    ZodTypeAny,
                    {
                        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[]";
                        };
                    },
                >,
                ZodObject<
                    {
                        method: ZodLiteral<"unpublish">;
                        params: ZodObject<
                            { pubuid: ZodNumber },
                            "strip",
                            ZodTypeAny,
                            { pubuid: number },
                            { pubuid: number },
                        >;
                    },
                    "strip",
                    ZodTypeAny,
                    { method: "unpublish"; params: { pubuid: number } },
                    { method: "unpublish"; params: { pubuid: number } },
                >,
                ZodObject<
                    {
                        method: ZodLiteral<"setproperties">;
                        params: ZodObject<
                            {
                                name: ZodString;
                                update: ZodObject<
                                    {
                                        cached: ZodOptional<ZodBoolean>;
                                        persistent: ZodOptional<ZodBoolean>;
                                        retained: ZodOptional<ZodBoolean>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    { cached?: boolean; persistent?: boolean; retained?: boolean },
                                    { cached?: boolean; persistent?: boolean; retained?: boolean },
                                >;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                name: string;
                                update: {
                                    cached?: boolean;
                                    persistent?: boolean;
                                    retained?: boolean;
                                };
                            },
                            {
                                name: string;
                                update: {
                                    cached?: boolean;
                                    persistent?: boolean;
                                    retained?: boolean;
                                };
                            },
                        >;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        method: "setproperties";
                        params: {
                            name: string;
                            update: { cached?: boolean; persistent?: boolean; retained?: boolean };
                        };
                    },
                    {
                        method: "setproperties";
                        params: {
                            name: string;
                            update: { cached?: boolean; persistent?: boolean; retained?: boolean };
                        };
                    },
                >,
            ],
        >,
        "many",
    > = ...

    Schema for a text frame message in the NT protocol.