|
|
@ -271,7 +271,7 @@ var JudgeState = /** @class */ (function (_super) { |
|
|
|
return __generator(this, function (_a) { |
|
|
|
return __generator(this, function (_a) { |
|
|
|
switch (_a.label) { |
|
|
|
switch (_a.label) { |
|
|
|
case 0: |
|
|
|
case 0: |
|
|
|
this.is_public = true; |
|
|
|
this.is_share = true; |
|
|
|
_a.label = 1; |
|
|
|
_a.label = 1; |
|
|
|
case 1: |
|
|
|
case 1: |
|
|
|
_a.trys.push([1, 3, , 4]); |
|
|
|
_a.trys.push([1, 3, , 4]); |
|
|
@ -367,6 +367,11 @@ var JudgeState = /** @class */ (function (_super) { |
|
|
|
TypeORM.Column({ nullable: true, type: "boolean" }), |
|
|
|
TypeORM.Column({ nullable: true, type: "boolean" }), |
|
|
|
__metadata("design:type", Boolean) |
|
|
|
__metadata("design:type", Boolean) |
|
|
|
], JudgeState.prototype, "is_public"); |
|
|
|
], JudgeState.prototype, "is_public"); |
|
|
|
|
|
|
|
__decorate([ |
|
|
|
|
|
|
|
TypeORM.Index(), |
|
|
|
|
|
|
|
TypeORM.Column({ nullable: true, type: "boolean" }), |
|
|
|
|
|
|
|
__metadata("design:type", Boolean) |
|
|
|
|
|
|
|
], JudgeState.prototype, "is_share"); |
|
|
|
JudgeState = __decorate([ |
|
|
|
JudgeState = __decorate([ |
|
|
|
TypeORM.Entity(), |
|
|
|
TypeORM.Entity(), |
|
|
|
TypeORM.Index(['type', 'type_info']), |
|
|
|
TypeORM.Index(['type', 'type_info']), |
|
|
|