mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
parent
1bc56588be
commit
8e2d97dd1f
@ -59,12 +59,21 @@ function makePropertyDecorator(typeFunction) {
|
||||
|
||||
// columns
|
||||
|
||||
/* export */
|
||||
function Column(typeOrOptions, options) {
|
||||
/* export */ function Column(typeOrOptions, options) {
|
||||
return makePropertyDecorator(typeOrOptions);
|
||||
}
|
||||
exports.Column = Column;
|
||||
|
||||
/* export */ function ViewColumn(typeOrOptions, options) {
|
||||
return makePropertyDecorator(typeOrOptions);
|
||||
}
|
||||
exports.ViewColumn = ViewColumn;
|
||||
|
||||
/* export */ function DeleteDateColumn(options) {
|
||||
return function(object, propertyName) {};
|
||||
}
|
||||
exports.DeleteDateColumn = DeleteDateColumn;
|
||||
|
||||
/* export */ function CreateDateColumn(options) {
|
||||
return function(object, propertyName) {};
|
||||
}
|
||||
@ -192,6 +201,11 @@ exports.ChildEntity = ChildEntity;
|
||||
}
|
||||
exports.Entity = Entity;
|
||||
|
||||
/* export */ function ViewEntity(options) {
|
||||
return function(object) {};
|
||||
}
|
||||
exports.ViewEntity = ViewEntity;
|
||||
|
||||
/* export */ function TableInheritance(type) {
|
||||
return function(object) {};
|
||||
}
|
||||
|
||||
@ -29,6 +29,18 @@
|
||||
}
|
||||
exports.Column = Column;
|
||||
|
||||
/* export */ function ViewColumn(typeOrOptions, options) {
|
||||
return function (object, propertyName) {
|
||||
};
|
||||
}
|
||||
exports.ViewColumn = ViewColumn;
|
||||
|
||||
/* export */ function DeleteDateColumn(options) {
|
||||
return function (object, propertyName) {
|
||||
};
|
||||
}
|
||||
exports.DeleteDateColumn = DeleteDateColumn;
|
||||
|
||||
/* export */ function CreateDateColumn(options) {
|
||||
return function (object, propertyName) {
|
||||
};
|
||||
@ -79,6 +91,12 @@ exports.ChildEntity = ChildEntity;
|
||||
}
|
||||
exports.Entity = Entity;
|
||||
|
||||
/* export */ function ViewEntity(name, options) {
|
||||
return function (object) {
|
||||
};
|
||||
}
|
||||
exports.ViewEntity = ViewEntity;
|
||||
|
||||
/* export */ function TableInheritance(type) {
|
||||
return function (object) {
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user