From 4530ec9c39063134e487aa65ed0fda600ee3a924 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sat, 2 May 2020 19:40:53 +0200 Subject: [PATCH] license --- .eslintrc.js | 4 ++-- .liconfig.json | 8 ++++++++ LICENSE | 7 +++++++ jenkins.js | 4 ++-- lib/.eslintrc.js | 4 ++-- lib/ControlModel.ts | 7 +++++++ lib/DatabaseModel.ts | 7 +++++++ lib/index.ts | 7 +++++++ package.json | 4 ++-- 9 files changed, 44 insertions(+), 8 deletions(-) create mode 100644 .liconfig.json create mode 100644 LICENSE diff --git a/.eslintrc.js b/.eslintrc.js index fcf6269..c999649 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,8 +1,8 @@ /* * Copyright (C) Sapphirecode - All Rights Reserved - * This file is part of Snippeteer which is released under BSD-3-Clause. + * This file is part of Modelling which is released under MIT. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , May 2020 */ module.exports = { diff --git a/.liconfig.json b/.liconfig.json new file mode 100644 index 0000000..6f1f3cc --- /dev/null +++ b/.liconfig.json @@ -0,0 +1,8 @@ +{ + "has_license": true, + "license": "MIT", + "author": "Timo Hocker", + "company": "Sapphirecode", + "email": "timo@scode.ovh", + "software": "Modelling" +} \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..08ed695 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +MIT License Copyright (c) 2020 Timo Hocker + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/jenkins.js b/jenkins.js index 316d180..96e5d75 100644 --- a/jenkins.js +++ b/jenkins.js @@ -1,8 +1,8 @@ /* * Copyright (C) Sapphirecode - All Rights Reserved - * This file is part of Snippeteer which is released under BSD-3-Clause. + * This file is part of Modelling which is released under MIT. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , May 2020 */ /* eslint-disable no-process-exit */ diff --git a/lib/.eslintrc.js b/lib/.eslintrc.js index 6995c93..fc59a15 100644 --- a/lib/.eslintrc.js +++ b/lib/.eslintrc.js @@ -1,8 +1,8 @@ /* * Copyright (C) Sapphirecode - All Rights Reserved - * This file is part of Snippeteer which is released under BSD-3-Clause. + * This file is part of Modelling which is released under MIT. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , May 2020 */ module.exports = { diff --git a/lib/ControlModel.ts b/lib/ControlModel.ts index ecea762..f9d97c3 100644 --- a/lib/ControlModel.ts +++ b/lib/ControlModel.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) Sapphirecode - All Rights Reserved + * This file is part of Modelling which is released under MIT. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , May 2020 + */ + export abstract class ControlModel { public abstract get object(): Record; public abstract set object(obj: Record); diff --git a/lib/DatabaseModel.ts b/lib/DatabaseModel.ts index 2a26f94..06ba7ab 100644 --- a/lib/DatabaseModel.ts +++ b/lib/DatabaseModel.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) Sapphirecode - All Rights Reserved + * This file is part of Modelling which is released under MIT. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , May 2020 + */ + export abstract class DatabaseModel { protected id?: number; diff --git a/lib/index.ts b/lib/index.ts index ed43214..e684315 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,2 +1,9 @@ +/* + * Copyright (C) Sapphirecode - All Rights Reserved + * This file is part of Modelling which is released under MIT. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , May 2020 + */ + export { ControlModel } from './ControlModel'; export { DatabaseModel } from './DatabaseModel'; diff --git a/package.json b/package.json index 1dc09e5..6b097b2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@scode/modelling", "version": "1.0.0", "main": "dist/index.js", - "author": "Timo Hocker ", + "author": "Timo Hocker ", "license": "MIT", "devDependencies": { "@scode/eslint-config-ts": "^1.0.27", @@ -19,4 +19,4 @@ "/dist/", "LICENSE" ] -} +} \ No newline at end of file