@terabits/grapi
Version:
Grapi Schema Generator For GraphQL Server
19 lines (18 loc) • 804 B
JavaScript
;
exports.__esModule = true;
exports.RelationShip = exports.RelationType = void 0;
var RelationType;
(function (RelationType) {
RelationType["uniOneToOne"] = "UNI_ONE_TO_ONE";
RelationType["uniManyToOne"] = "UNI_MANY_TO_ONE";
RelationType["uniOneToMany"] = "UNI_ONE_TO_MANY";
RelationType["biOneToOne"] = "BI_ONE_TO_ONE";
RelationType["biOneToMany"] = "BI_ONE_TO_MANY";
RelationType["biManyToMany"] = "BI_MANY_TO_MANY";
})(RelationType = exports.RelationType || (exports.RelationType = {}));
var RelationShip;
(function (RelationShip) {
RelationShip["OneToOne"] = "RelationOneToOne";
RelationShip["OneToMany"] = "RelationOneToMany";
RelationShip["ManyToMany"] = "RelationManyToMany";
})(RelationShip = exports.RelationShip || (exports.RelationShip = {}));