Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as marshaller from "@hpcc-js/marshaller";
// Dashboard Element Container (Model) ---
const ec = new marshaller.ElementContainer();
namespace data {
export const Ins002_dsOutput1 = new marshaller.WU(ec)
.url("http://10.173.147.1:8010/")
.wuid("W20190617-131840")
;
export const Ins002_dsOutput1_Ins002_dsOutput1_View_table1 = new marshaller.WUResult(ec)
.wu(Ins002_dsOutput1)
.resultName("Ins002_dsOutput1_View_table1")
.responseFields([{ id: "state", type: "string" }, { id: "id", type: "number64" }, { id: "first_name", type: "string" }, { id: "last_name", type: "string" }, { id: "gender", type: "string" }, { id: "lat", type: "number" }, { id: "lng", type: "number" }, { id: "whole_number", type: "number64" }, { id: "decimal_number", type: "number" }, { id: "created_time", type: "string" }, { id: "created_date", type: "string" }, { id: "vip", type: "string" }])
;
export const e_8 = new marshaller.Form()
.formFields([
new marshaller.FormField().fieldID("filter_state")
])
;
}
namespace viz {
export const table1 = new marshaller.VizChartPanel()
.id("table1")
.title("Table 1")
.widget(new Table())
;
export const cp_8 = new marshaller.VizChartPanel()
.id("cp_8")
.title("Element 8")
.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(
new WU(ec)
.url("http://192.168.3.22:8010")
.wuid("W20171201-153452")