1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

removed templates

This commit is contained in:
irismarie 2021-05-12 19:01:54 +02:00
parent bf58b411b4
commit b604b95173
3 changed files with 0 additions and 110 deletions

View file

@ -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 <http://www.gnu.org/licenses/>.
******************************************************************************/
const template0 = {
id: 0,
name: "No Template"
}
export default template0;

View file

@ -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 <http://www.gnu.org/licenses/>.
******************************************************************************/
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;

View file

@ -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 <http://www.gnu.org/licenses/>.
******************************************************************************/
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;