swarpc - v0.10.0
    Preparing search index...

    Variable PayloadSchemaConst

    PayloadSchema: Generic<
        [["Name", string], ["I", unknown], ["P", unknown], ["S", unknown]],
        readonly ["PayloadHeaderSchema<Name>", "&", "PayloadCoreSchema<I, P, S>"],
        {
            PayloadCoreSchema: bindGenericToScope<
                GenericAst<
                    [["I", unknown], ["P", unknown], ["S", unknown]],
                    {
                        "input?": "I";
                        "progress?": "P";
                        "result?": "S";
                        "abort?": { reason: "string" };
                        "error?": { message: "string" };
                    },
                    {},
                    {},
                >,
                bootstrapAliases<
                    {
                        PayloadCoreSchema: Generic<
                            [["I", unknown], ["P", unknown], ["S", unknown]],
                            {
                                "input?": "I";
                                "progress?": "P";
                                "result?": "S";
                                "abort?": { reason: "string" };
                                "error?": { message: "string" };
                            },
                            {},
                            {},
                        >;
                        PayloadHeaderSchema: Generic<
                            [["Name", string]],
                            { by: "\"sw&rpc\""; functionName: "Name"; requestId: "string >= 1" },
                            {},
                            {},
                        >;
                    },
                >,
            >;
            PayloadHeaderSchema: bindGenericToScope<
                GenericAst<
                    [["Name", string]],
                    { by: "\"sw&rpc\""; functionName: "Name"; requestId: "string >= 1" },
                    {},
                    {},
                >,
                bootstrapAliases<
                    {
                        PayloadCoreSchema: Generic<
                            [["I", unknown], ["P", unknown], ["S", unknown]],
                            {
                                "input?": "I";
                                "progress?": "P";
                                "result?": "S";
                                "abort?": { reason: "string" };
                                "error?": { message: "string" };
                            },
                            {},
                            {},
                        >;
                        PayloadHeaderSchema: Generic<
                            [["Name", string]],
                            { by: "\"sw&rpc\""; functionName: "Name"; requestId: "string >= 1" },
                            {},
                            {},
                        >;
                    },
                >,
            >;
        },
        {
            PayloadCoreSchema: bindGenericToScope<
                GenericAst<
                    [["I", unknown], ["P", unknown], ["S", unknown]],
                    {
                        "input?": "I";
                        "progress?": "P";
                        "result?": "S";
                        "abort?": { reason: "string" };
                        "error?": { message: "string" };
                    },
                    {},
                    {},
                >,
                bootstrapAliases<
                    {
                        PayloadCoreSchema: Generic<
                            [["I", unknown], ["P", unknown], ["S", unknown]],
                            {
                                "input?": "I";
                                "progress?": "P";
                                "result?": "S";
                                "abort?": { reason: "string" };
                                "error?": { message: "string" };
                            },
                            {},
                            {},
                        >;
                        PayloadHeaderSchema: Generic<
                            [["Name", string]],
                            { by: "\"sw&rpc\""; functionName: "Name"; requestId: "string >= 1" },
                            {},
                            {},
                        >;
                    },
                >,
            >;
            PayloadHeaderSchema: bindGenericToScope<
                GenericAst<
                    [["Name", string]],
                    { by: "\"sw&rpc\""; functionName: "Name"; requestId: "string >= 1" },
                    {},
                    {},
                >,
                bootstrapAliases<
                    {
                        PayloadCoreSchema: Generic<
                            [["I", unknown], ["P", unknown], ["S", unknown]],
                            {
                                "input?": "I";
                                "progress?": "P";
                                "result?": "S";
                                "abort?": { reason: "string" };
                                "error?": { message: "string" };
                            },
                            {},
                            {},
                        >;
                        PayloadHeaderSchema: Generic<
                            [["Name", string]],
                            { by: "\"sw&rpc\""; functionName: "Name"; requestId: "string >= 1" },
                            {},
                            {},
                        >;
                    },
                >,
            >;
        },
    > = ...
    export const PayloadSchema = type
    .scope({ PayloadCoreSchema, PayloadHeaderSchema })
    .type("<Name extends string, I, P, S>", [
    "PayloadHeaderSchema<Name>",
    "&",
    "PayloadCoreSchema<I, P, S>",
    ])