metaschema
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -17,7 +17,17 @@ 'use strict'; | ||
class Many extends Decorator {} | ||
class Parent extends Decorator {} | ||
class Master extends Decorator {} | ||
class Include extends Decorator {} | ||
class RelationDecorator extends Decorator { | ||
constructor(def) { | ||
const defType = typeof def; | ||
if (defType === 'string') { | ||
def = { category: def }; | ||
} | ||
super(def); | ||
} | ||
} | ||
class Many extends RelationDecorator {} | ||
class Parent extends RelationDecorator {} | ||
class Master extends RelationDecorator {} | ||
class Include extends RelationDecorator {} | ||
// Index decorators | ||
@@ -24,0 +34,0 @@ |
{ | ||
"name": "metaschema", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Metadata Schema and Interface Definition Language (IDL)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31706
641