feat: use tag @validatable to mark schema types

This commit is contained in:
Karl-Philipp Wulfert
2019-01-08 14:46:13 +01:00
parent 75ceeb4500
commit 7f248eea13
42 changed files with 92 additions and 7 deletions

View File

@@ -12,6 +12,7 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import * as jsonpatch from 'json-patch';
import {SCThingsWithoutDiff} from '../Classes';
import {SCThing, SCThingMeta, SCThingType} from '../Thing';
import {SCISO8601Date} from '../types/Time';
@@ -43,6 +44,8 @@ export interface SCDiffWithoutReferences extends SCThing {
/**
* A diff
*
* @validatable
*/
export interface SCDiff extends SCDiffWithoutReferences {
/**