1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.ForeignKeyField = void 0;
|
4 | var type_graphql_1 = require("type-graphql");
|
5 | var typeorm_1 = require("typeorm");
|
6 | var utils_1 = require("../utils");
|
7 | // Links two tables within the same DB, so they're joined by the ID columns
|
8 | function ForeignKeyField() {
|
9 | return utils_1.composeMethodDecorators(type_graphql_1.Field(function () { return String; }), typeorm_1.Column());
|
10 | }
|
11 | exports.ForeignKeyField = ForeignKeyField;
|
12 | //# sourceMappingURL=ForeignKeyField.js.map |
\ | No newline at end of file |