How to use the @hpcc-js/marshaller.Databomb function in @hpcc-js/marshaller

To help you get started, we’ve selected a few @hpcc-js/marshaller examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / demos / dashy / src / index.ts View on Github external
new WUResult(ec)
                    .wu(
                        new WU(ec)
                            .url("http://52.210.14.156:8010")
                            .wuid("W20180513-082149")
                    )
                    .resultName("Result 1")
                ,
                new LogicalFile(ec)
                    .url("http://52.210.14.156:8010")
                    .logicalFile("progguide::exampledata::peopleaccts")
                ,
                new RoxieResult(ec)
                    .service(publicRoxie)
                    .resultName("Accounts"),
                new Databomb()
                    .payload(JSON.stringify([]))
                ,
                new Form()
                    .formFields([
                        new FormField().type("number").fieldID("id").value(770),
                        new FormField().fieldID("fname").value("TIMTOHY"),
                        new FormField().fieldID("lname").value("SALEEMI"),
                        new FormField().fieldID("minitial").value(""),
                        new FormField().fieldID("gender").value("M"),
                        new FormField().fieldID("street").value("1734 NOSTRAND AVE #3"),
                        new FormField().fieldID("city").value("DRACUT"),
                        new FormField().fieldID("st").value("MA"),
                        new FormField().fieldID("zip").value("01826")
                    ]),
                new WUResult(ec)
                    .wu(