From 73de270db848835413249f4b045eaf67a38d4376 Mon Sep 17 00:00:00 2001 From: Jordan McClintock Date: Wed, 23 Feb 2022 16:59:16 -0600 Subject: [PATCH] Remove old nodes and add new ones --- .../@node-red/nodes/core/common/guide.html | 67 +++++++++++++++++++ .../@node-red/nodes/core/common/guide.js | 25 +++++++ .../@node-red/nodes/core/common/resource.html | 67 +++++++++++++++++++ .../@node-red/nodes/core/common/resource.js | 25 +++++++ .../@node-red/nodes/core/common/task.html | 67 +++++++++++++++++++ .../@node-red/nodes/core/common/task.js | 25 +++++++ .../@node-red/nodes/icons/guide.svg | 1 + 7 files changed, 277 insertions(+) create mode 100644 packages/node_modules/@node-red/nodes/core/common/guide.html create mode 100644 packages/node_modules/@node-red/nodes/core/common/guide.js create mode 100644 packages/node_modules/@node-red/nodes/core/common/resource.html create mode 100644 packages/node_modules/@node-red/nodes/core/common/resource.js create mode 100644 packages/node_modules/@node-red/nodes/core/common/task.html create mode 100644 packages/node_modules/@node-red/nodes/core/common/task.js create mode 100644 packages/node_modules/@node-red/nodes/icons/guide.svg diff --git a/packages/node_modules/@node-red/nodes/core/common/guide.html b/packages/node_modules/@node-red/nodes/core/common/guide.html new file mode 100644 index 000000000..dfff21e3e --- /dev/null +++ b/packages/node_modules/@node-red/nodes/core/common/guide.html @@ -0,0 +1,67 @@ + + + + + + diff --git a/packages/node_modules/@node-red/nodes/core/common/guide.js b/packages/node_modules/@node-red/nodes/core/common/guide.js new file mode 100644 index 000000000..44802d135 --- /dev/null +++ b/packages/node_modules/@node-red/nodes/core/common/guide.js @@ -0,0 +1,25 @@ +/** + * Copyright JS Foundation and other contributors, http://js.foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ + +// 2022 Modification Copyright - Defense Unicorns + +module.exports = function(RED) { + "use strict"; + function GuideNode(n) { + RED.nodes.createNode(this,n); + } + RED.nodes.registerType("guide",GuideNode); +} diff --git a/packages/node_modules/@node-red/nodes/core/common/resource.html b/packages/node_modules/@node-red/nodes/core/common/resource.html new file mode 100644 index 000000000..d4db2f931 --- /dev/null +++ b/packages/node_modules/@node-red/nodes/core/common/resource.html @@ -0,0 +1,67 @@ + + + + + + diff --git a/packages/node_modules/@node-red/nodes/core/common/resource.js b/packages/node_modules/@node-red/nodes/core/common/resource.js new file mode 100644 index 000000000..180a600f2 --- /dev/null +++ b/packages/node_modules/@node-red/nodes/core/common/resource.js @@ -0,0 +1,25 @@ +/** + * Copyright JS Foundation and other contributors, http://js.foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ + +// 2022 Modification Copyright - Defense Unicorns + +module.exports = function(RED) { + "use strict"; + function ResourceNode(n) { + RED.nodes.createNode(this,n); + } + RED.nodes.registerType("resource",ResourceNode); +} diff --git a/packages/node_modules/@node-red/nodes/core/common/task.html b/packages/node_modules/@node-red/nodes/core/common/task.html new file mode 100644 index 000000000..c1f8ebdac --- /dev/null +++ b/packages/node_modules/@node-red/nodes/core/common/task.html @@ -0,0 +1,67 @@ + + + + + + diff --git a/packages/node_modules/@node-red/nodes/core/common/task.js b/packages/node_modules/@node-red/nodes/core/common/task.js new file mode 100644 index 000000000..ce1c1410e --- /dev/null +++ b/packages/node_modules/@node-red/nodes/core/common/task.js @@ -0,0 +1,25 @@ +/** + * Copyright JS Foundation and other contributors, http://js.foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ + +// 2022 Modification Copyright - Defense Unicorns + +module.exports = function(RED) { + "use strict"; + function TaskNode(n) { + RED.nodes.createNode(this,n); + } + RED.nodes.registerType("task",TaskNode); +} diff --git a/packages/node_modules/@node-red/nodes/icons/guide.svg b/packages/node_modules/@node-red/nodes/icons/guide.svg new file mode 100644 index 000000000..b46237cfb --- /dev/null +++ b/packages/node_modules/@node-red/nodes/icons/guide.svg @@ -0,0 +1 @@ + \ No newline at end of file