fix: add todo to SCThingsWithoutDiff and SCClasses

Closes #39
This commit is contained in:
Jovan Krunić
2019-02-25 11:32:52 +01:00
parent 21a5986e3f
commit 9a49442902
2 changed files with 11 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program 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, version 3.
@@ -31,6 +31,7 @@ import {SCSemester, SCSemesterMeta} from './things/Semester';
import {SCSetting, SCSettingMeta} from './things/Setting';
import {SCSportCourse, SCSportCourseMeta} from './things/SportCourse';
import {SCTicket, SCTicketMeta} from './things/Ticket';
import {SCToDo, SCToDoMeta} from './things/ToDo';
import {SCTour, SCTourMeta} from './things/Tour';
import {SCVideo, SCVideoMeta} from './things/Video';
@@ -59,6 +60,7 @@ export const SCClasses = {
setting: SCSettingMeta,
'sport course': SCSportCourseMeta,
ticket: SCTicketMeta,
todo: SCToDoMeta,
tour: SCTourMeta,
video: SCVideoMeta,
};
@@ -82,6 +84,7 @@ export type SCThingsWithoutDiff =
| SCSetting
| SCSportCourse
| SCTicket
| SCToDo
| SCTour
| SCVideo;

View File

@@ -13,7 +13,7 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {SCThingWithCategoriesSpecificValues, SCThingWithCategoriesWithoutReferences} from '../base/ThingWithCategories';
import {SCThingType} from '../Thing';
import {SCThingMeta, SCThingType} from '../Thing';
import {SCISO8601Date} from '../types/Time';
/**
@@ -58,3 +58,9 @@ export enum SCToDoPriority {
NORMAL = 2,
HIGH = 5,
}
/**
* "To do" meta data
*/
export class SCToDoMeta extends SCThingMeta {
}