diff --git a/src/componentconfig/paramtemplates/template0.js b/src/componentconfig/paramtemplates/template0.js deleted file mode 100644 index 0b9fa19..0000000 --- a/src/componentconfig/paramtemplates/template0.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * This file is part of VILLASweb. - * - * VILLASweb is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * VILLASweb is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with VILLASweb. If not, see . - ******************************************************************************/ - -const template0 = { - id: 0, - name: "No Template" -} - -export default template0; \ No newline at end of file diff --git a/src/componentconfig/paramtemplates/templateA.js b/src/componentconfig/paramtemplates/templateA.js deleted file mode 100644 index 304e8fb..0000000 --- a/src/componentconfig/paramtemplates/templateA.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file is part of VILLASweb. - * - * VILLASweb is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * VILLASweb is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with VILLASweb. If not, see . - ******************************************************************************/ - -const templateA = { - id: 1, - name: "Template A", - type: "object", - required: ["name"], - properties: { - name: { type: "string", title: "Name", default: "Template A" }, - paramB: { - title: "MyParam", - enum: [ - "option1", - "option2" - ], - enumNames: [ - "Option 1", - "Option 2" - ] - } - } -}; - -export default templateA; \ No newline at end of file diff --git a/src/componentconfig/paramtemplates/templateB.js b/src/componentconfig/paramtemplates/templateB.js deleted file mode 100644 index 7aa4b21..0000000 --- a/src/componentconfig/paramtemplates/templateB.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * This file is part of VILLASweb. - * - * VILLASweb is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * VILLASweb is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with VILLASweb. If not, see . - ******************************************************************************/ - -const templateB = { - id: 2, - name: "Template B", - type: "object", - definitions: { - uint: { - type: "integer", - minimum: 0 - }, - }, - properties: { - name: { type: "string", title: "Name", default: "Template B" }, - description: { type: "string", title: "Description", default: "Description for Template B" }, - paramB: { - title: "MyParam B", - enum: [ - "option1", - "option2", - "option3" - ], - enumNames: [ - "Option 1", - "Option 2", - "Option 3" - ] - }, - minLength: { type: "integer", title: "Minimum Length", minimum: 0, default: 0 } - } - }; - - export default templateB; \ No newline at end of file