Documentation
    Preparing search index...

    Variable wave2SetCommandsSchemaConst

    wave2SetCommandsSchema: ZodDiscriminatedUnion<
        "operateType",
        [
            ZodObject<
                {
                    id: ZodNumber;
                    moduleType: ZodLiteral<1>;
                    sn: ZodType<`KT21${string}`, ZodTypeDef, `KT21${string}`>;
                    version: ZodLiteral<"1.0">;
                } & {
                    operateType: ZodLiteral<"mainMode">;
                    params: ZodObject<
                        { mainMode: ZodUnion<[ZodUnion<[(...), (...)]>, ZodLiteral<2>]> },
                        "strip",
                        ZodTypeAny,
                        { mainMode: 0 | 1 | 2 },
                        { mainMode: 0 | 1 | 2 },
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "mainMode";
                    params: { mainMode: 0
                    | 1
                    | 2 };
                    sn: `KT21${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "mainMode";
                    params: { mainMode: 0
                    | 1
                    | 2 };
                    sn: `KT21${string}`;
                    version: "1.0";
                },
            >,
            ZodObject<
                {
                    id: ZodNumber;
                    moduleType: ZodLiteral<1>;
                    sn: ZodType<`KT21${string}`, ZodTypeDef, `KT21${string}`>;
                    version: ZodLiteral<"1.0">;
                } & {
                    operateType: ZodLiteral<"subMode">;
                    params: ZodObject<
                        { subMode: ZodNumber },
                        "strip",
                        ZodTypeAny,
                        { subMode: number },
                        { subMode: number },
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "subMode";
                    params: { subMode: number };
                    sn: `KT21${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "subMode";
                    params: { subMode: number };
                    sn: `KT21${string}`;
                    version: "1.0";
                },
            >,
            ZodObject<
                {
                    id: ZodNumber;
                    moduleType: ZodLiteral<1>;
                    sn: ZodType<`KT21${string}`, ZodTypeDef, `KT21${string}`>;
                    version: ZodLiteral<"1.0">;
                } & {
                    operateType: ZodLiteral<"tempSys">;
                    params: ZodObject<
                        { mode: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]> },
                        "strip",
                        ZodTypeAny,
                        { mode: 0 | 1 },
                        { mode: 0 | 1 },
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    id: number;
                    moduleType: 1;
                    operateType: "tempSys";
                    params: { mode: 0
                    | 1 };
                    sn: `KT21${string}`;
                    version: "1.0";
                },
                {
                    id: number;
                    moduleType: 1;
                    operateType: "tempSys";
                    params: { mode: 0
                    | 1 };
                    sn: `KT21${string}`;
                    version: "1.0";
                },
            >,
        ],
    > = ...