This commit is contained in:
Timo Hocker 2020-05-02 19:40:53 +02:00
parent 256979e2bb
commit 4530ec9c39
9 changed files with 44 additions and 8 deletions

View File

@ -1,8 +1,8 @@
/* /*
* Copyright (C) Sapphirecode - All Rights Reserved * 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. * See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, March 2020 * Created by Timo Hocker <timo@scode.ovh>, May 2020
*/ */
module.exports = { module.exports = {

8
.liconfig.json Normal file
View File

@ -0,0 +1,8 @@
{
"has_license": true,
"license": "MIT",
"author": "Timo Hocker",
"company": "Sapphirecode",
"email": "timo@scode.ovh",
"software": "Modelling"
}

7
LICENSE Normal file
View File

@ -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.

View File

@ -1,8 +1,8 @@
/* /*
* Copyright (C) Sapphirecode - All Rights Reserved * 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. * See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, March 2020 * Created by Timo Hocker <timo@scode.ovh>, May 2020
*/ */
/* eslint-disable no-process-exit */ /* eslint-disable no-process-exit */

View File

@ -1,8 +1,8 @@
/* /*
* Copyright (C) Sapphirecode - All Rights Reserved * 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. * See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, March 2020 * Created by Timo Hocker <timo@scode.ovh>, May 2020
*/ */
module.exports = { module.exports = {

View File

@ -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 <timo@scode.ovh>, May 2020
*/
export abstract class ControlModel { export abstract class ControlModel {
public abstract get object(): Record<string, unknown>; public abstract get object(): Record<string, unknown>;
public abstract set object(obj: Record<string, unknown>); public abstract set object(obj: Record<string, unknown>);

View File

@ -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 <timo@scode.ovh>, May 2020
*/
export abstract class DatabaseModel { export abstract class DatabaseModel {
protected id?: number; protected id?: number;

View File

@ -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 <timo@scode.ovh>, May 2020
*/
export { ControlModel } from './ControlModel'; export { ControlModel } from './ControlModel';
export { DatabaseModel } from './DatabaseModel'; export { DatabaseModel } from './DatabaseModel';

View File

@ -2,7 +2,7 @@
"name": "@scode/modelling", "name": "@scode/modelling",
"version": "1.0.0", "version": "1.0.0",
"main": "dist/index.js", "main": "dist/index.js",
"author": "Timo Hocker <t-hocker@web.de>", "author": "Timo Hocker <timo@scode.ovh>",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@scode/eslint-config-ts": "^1.0.27", "@scode/eslint-config-ts": "^1.0.27",
@ -19,4 +19,4 @@
"/dist/", "/dist/",
"LICENSE" "LICENSE"
] ]
} }