From 11e63e4e9525079703d8fe5f6a90ec8a1a71b50b Mon Sep 17 00:00:00 2001 From: rpm-mcarman <65228808+rpm-mcarman@users.noreply.github.com> Date: Thu, 7 Dec 2023 14:54:04 -0500 Subject: [PATCH] Fixed all --- public/dmxAppConnect/config.js | 288 ++++++++++++++++----------------- views/dspec.ejs | 25 ++- 2 files changed, 166 insertions(+), 147 deletions(-) diff --git a/public/dmxAppConnect/config.js b/public/dmxAppConnect/config.js index 25f37d2..6192f0c 100644 --- a/public/dmxAppConnect/config.js +++ b/public/dmxAppConnect/config.js @@ -6751,24 +6751,28 @@ dmx.config({ }, "api_deleteItem": [ { - "type": "object", + "type": "array", "name": "data", "sub": [ { "type": "number", - "name": "createuserid" + "name": "updateuserid" }, { "type": "text", - "name": "createdate" + "name": "updatedate" + }, + { + "type": "text", + "name": "new" }, { "type": "number", - "name": "id" + "name": "viewlocation" }, { "type": "text", - "name": "updatedate" + "name": "old" }, { "type": "object", @@ -6776,81 +6780,55 @@ dmx.config({ "sub": [ { "type": "text", - "name": "switchposition" - }, - { - "type": "text", - "name": "papertag" + "name": "validation" }, { "type": "text", - "name": "pressurefitting" + "name": "gasket" }, { "type": "text", - "name": "basicclass" + "name": "terminalposition" }, { "type": "text", - "name": "makefrom" + "name": "reasonforchange" }, { "type": "text", - "name": "curve" + "name": "suctionport" }, { "type": "text", - "name": "voltage" + "name": "basicclass" }, { "type": "text", - "name": "rotation" + "name": "servicereplacementref" }, { "type": "text", - "name": "oereman" - }, - { - "type": "boolean", - "name": "facrequired" - }, - { - "type": "number", - "name": "updateuserid" + "name": "treatment" }, { "type": "text", - "name": "swtch" - }, - { - "type": "number", - "name": "createuserid" + "name": "opening" }, { "type": "text", - "name": "box" + "name": "revisionlevel" }, { "type": "text", - "name": "suctionport" + "name": "pitch" }, { "type": "text", - "name": "suctionfitting" + "name": "additionalparts" }, { "type": "text", - "name": "workinstruction" - }, - { - "type": "object", - "name": "partnumber", - "sub": [ - { - "type": "number", - "name": "id" - } - ] + "name": "approvedate" }, { "type": "object", @@ -6864,87 +6842,109 @@ dmx.config({ }, { "type": "text", - "name": "approveuserid" + "name": "ho" }, { - "type": "boolean", - "name": "faccompleted" + "type": "text", + "name": "pinion" }, { "type": "text", - "name": "terminalposition" + "name": "switchposition" }, { "type": "text", - "name": "createdate" + "name": "rtv" }, { "type": "text", - "name": "remarks" + "name": "built" }, { "type": "text", - "name": "updatedate" + "name": "curve" }, { "type": "text", - "name": "floatstock" + "name": "except" }, { "type": "text", - "name": "revisionlevel" + "name": "createdate" }, { "type": "text", - "name": "validation" + "name": "approveuserid" }, { - "type": "text", - "name": "effectivedate" + "type": "number", + "name": "updateuserid" + }, + { + "type": "boolean", + "name": "faccompleted" + }, + { + "type": "number", + "name": "id" }, { "type": "text", - "name": "pressureport" + "name": "application" }, { "type": "text", - "name": "gasket" + "name": "oereman" }, { "type": "text", - "name": "sae" + "name": "workinstruction" + }, + { + "type": "number", + "name": "createuserid" + }, + { + "type": "object", + "name": "partnumber", + "sub": [ + { + "type": "number", + "name": "id" + } + ] }, { "type": "text", - "name": "ftf" + "name": "tagnumber" }, { "type": "text", - "name": "ho" + "name": "drive" }, { "type": "text", - "name": "jsp" + "name": "metaltag" }, { "type": "text", - "name": "treatment" + "name": "plrv" }, { "type": "text", - "name": "pinion" + "name": "swtch" }, { "type": "text", - "name": "reasonforchange" + "name": "remarks" }, { "type": "text", - "name": "tagnumber" + "name": "othertag" }, { "type": "text", - "name": "bracket" + "name": "pressureport" }, { "type": "text", @@ -6952,97 +6952,101 @@ dmx.config({ }, { "type": "text", - "name": "rtv" + "name": "papertag" }, { "type": "text", - "name": "servicereplacementref" + "name": "frequency" }, { "type": "text", - "name": "opening" + "name": "jsp" }, { "type": "text", - "name": "note" + "name": "ftf" }, { "type": "text", - "name": "pitch" + "name": "floatstock" }, { "type": "text", - "name": "except" + "name": "bracket" }, { "type": "text", - "name": "additionalparts" + "name": "box" }, { "type": "text", - "name": "built" + "name": "suctionfitting" + }, + { + "type": "boolean", + "name": "facrequired" }, { "type": "text", - "name": "drive" + "name": "effectivedate" }, { "type": "text", - "name": "approvedate" + "name": "makefrom" }, { "type": "text", - "name": "mtgh" + "name": "updatedate" }, { "type": "text", - "name": "othertag" + "name": "rotation" }, { "type": "text", - "name": "plrv" + "name": "mtgh" }, { "type": "text", - "name": "frequency" + "name": "note" }, { - "type": "number", - "name": "id" + "type": "text", + "name": "pressurefitting" }, { "type": "text", - "name": "metaltag" + "name": "sae" }, { "type": "text", - "name": "application" + "name": "voltage" } ] }, - { - "type": "text", - "name": "new" - }, - { - "type": "text", - "name": "old" - }, { "type": "number", - "name": "viewlocation" + "name": "createuserid" }, { "type": "object", "name": "partnumber", "sub": [ + { + "type": "number", + "name": "createuserid" + }, { "type": "text", "name": "number" }, + { + "type": "text", + "name": "weight" + }, { "type": "object", - "name": "replacedby", + "name": "primaryvendor", "sub": [ { "type": "number", @@ -7051,36 +7055,66 @@ dmx.config({ ] }, { - "type": "text", - "name": "file" + "type": "object", + "name": "replaces", + "sub": [ + { + "type": "number", + "name": "id" + } + ] }, { - "type": "text", - "name": "updatedate" + "type": "object", + "name": "status", + "sub": [ + { + "type": "number", + "name": "id" + } + ] }, { "type": "text", "name": "secondaryvendorpartnumber" }, + { + "type": "text", + "name": "primarycustomerpartnumber" + }, { "type": "number", "name": "updateuserid" }, + { + "type": "object", + "name": "partcode", + "sub": [ + { + "type": "number", + "name": "id" + } + ] + }, { "type": "text", - "name": "weight" + "name": "primaryvendorpartnumber" }, { "type": "text", - "name": "primarycustomerpartnumber" + "name": "listprice" }, { "type": "text", - "name": "createdate" + "name": "stdcost" + }, + { + "type": "text", + "name": "comments" }, { "type": "object", - "name": "status", + "name": "replacedby", "sub": [ { "type": "number", @@ -7090,15 +7124,11 @@ dmx.config({ }, { "type": "text", - "name": "description" - }, - { - "type": "text", - "name": "comments" + "name": "file" }, { "type": "object", - "name": "partcode", + "name": "secondaryvendor", "sub": [ { "type": "number", @@ -7108,15 +7138,11 @@ dmx.config({ }, { "type": "text", - "name": "stdcost" + "name": "createdate" }, { "type": "text", - "name": "listprice" - }, - { - "type": "number", - "name": "createuserid" + "name": "ppap" }, { "type": "number", @@ -7124,27 +7150,17 @@ dmx.config({ }, { "type": "text", - "name": "ppap" + "name": "description" }, { "type": "text", - "name": "primaryvendorpartnumber" - }, - { - "type": "object", - "name": "replaces", - "sub": [ - { - "type": "number", - "name": "id" - } - ] + "name": "updatedate" } ] }, { "type": "number", - "name": "updateuserid" + "name": "id" } ] }, @@ -7152,22 +7168,6 @@ dmx.config({ "type": "object", "name": "headers", "sub": [ - { - "type": "text", - "name": "access-control-allow-headers" - }, - { - "type": "text", - "name": "access-control-allow-methods" - }, - { - "type": "text", - "name": "access-control-allow-origin" - }, - { - "type": "text", - "name": "access-control-expose-headers" - }, { "type": "text", "name": "connection" diff --git a/views/dspec.ejs b/views/dspec.ejs index 48277fb..7b9c747 100644 --- a/views/dspec.ejs +++ b/views/dspec.ejs @@ -1,5 +1,24 @@ - + + @@ -127,7 +146,7 @@ - + @@ -139,7 +158,7 @@ - +