@soga/entities 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,14 +8,15 @@ export declare class UploadPart {
8
8
  output_root: string;
9
9
  info: FilePartItem;
10
10
  size: number;
11
- prepare_data: Record<string, object>;
11
+ baidu_host_id: number;
12
12
  baidu_status: UploadStatus;
13
- ali_status: UploadStatus;
14
13
  baidu_percent: number;
15
- ali_percent: number;
16
14
  baidu_result: {
17
15
  fs_id: number;
18
16
  };
17
+ ali_host_id: number;
18
+ ali_status: UploadStatus;
19
+ ali_percent: number;
19
20
  ali_result: {
20
21
  file_id: string;
21
22
  drive_id: string;
@@ -1 +1 @@
1
- "use strict";var __decorate=this&&this.__decorate||function(t,e,a,o){var d,p=arguments.length,r=p<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,o);else for(var _=t.length-1;_>=0;_--)(d=t[_])&&(r=(p<3?d(r):p>3?d(e,a,r):d(e,a))||r);return p>3&&r&&Object.defineProperty(e,a,r),r},__metadata=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UploadPart=void 0;const types_1=require("@soga/types"),typeorm_1=require("typeorm");let UploadPart=class{id;uid;file_id;is_paused;filepath;output_root;info;size;prepare_data;baidu_status;ali_status;baidu_percent;ali_percent;baidu_result;ali_result;updated_at;created_at};exports.UploadPart=UploadPart,__decorate([(0,typeorm_1.PrimaryGeneratedColumn)(),__metadata("design:type",Number)],UploadPart.prototype,"id",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)(),__metadata("design:type",Number)],UploadPart.prototype,"uid",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)(),__metadata("design:type",Number)],UploadPart.prototype,"file_id",void 0),__decorate([(0,typeorm_1.Column)({default:!1}),__metadata("design:type",Boolean)],UploadPart.prototype,"is_paused",void 0),__decorate([(0,typeorm_1.Column)(),__metadata("design:type",String)],UploadPart.prototype,"filepath",void 0),__decorate([(0,typeorm_1.Column)(),__metadata("design:type",String)],UploadPart.prototype,"output_root",void 0),__decorate([(0,typeorm_1.Column)("json"),__metadata("design:type",Object)],UploadPart.prototype,"info",void 0),__decorate([(0,typeorm_1.Column)(),__metadata("design:type",Number)],UploadPart.prototype,"size",void 0),__decorate([(0,typeorm_1.Column)({type:"json",default:"{}"}),__metadata("design:type",Object)],UploadPart.prototype,"prepare_data",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)({type:"simple-enum",enum:types_1.UploadStatus,default:types_1.UploadStatus.NULL}),__metadata("design:type",Number)],UploadPart.prototype,"baidu_status",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)({type:"simple-enum",enum:types_1.UploadStatus,default:types_1.UploadStatus.NULL}),__metadata("design:type",Number)],UploadPart.prototype,"ali_status",void 0),__decorate([(0,typeorm_1.Column)({default:0,type:"decimal"}),__metadata("design:type",Number)],UploadPart.prototype,"baidu_percent",void 0),__decorate([(0,typeorm_1.Column)({default:0,type:"decimal"}),__metadata("design:type",Number)],UploadPart.prototype,"ali_percent",void 0),__decorate([(0,typeorm_1.Column)({type:"json",default:"{}"}),__metadata("design:type",Object)],UploadPart.prototype,"baidu_result",void 0),__decorate([(0,typeorm_1.Column)({type:"json",default:"{}"}),__metadata("design:type",Object)],UploadPart.prototype,"ali_result",void 0),__decorate([(0,typeorm_1.UpdateDateColumn)(),__metadata("design:type",Date)],UploadPart.prototype,"updated_at",void 0),__decorate([(0,typeorm_1.CreateDateColumn)(),__metadata("design:type",Date)],UploadPart.prototype,"created_at",void 0),exports.UploadPart=UploadPart=__decorate([(0,typeorm_1.Entity)()],UploadPart);
1
+ "use strict";var __decorate=this&&this.__decorate||function(t,e,a,o){var d,p=arguments.length,r=p<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,o);else for(var _=t.length-1;_>=0;_--)(d=t[_])&&(r=(p<3?d(r):p>3?d(e,a,r):d(e,a))||r);return p>3&&r&&Object.defineProperty(e,a,r),r},__metadata=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UploadPart=void 0;const types_1=require("@soga/types"),typeorm_1=require("typeorm");let UploadPart=class{id;uid;file_id;is_paused;filepath;output_root;info;size;baidu_host_id;baidu_status;baidu_percent;baidu_result;ali_host_id;ali_status;ali_percent;ali_result;updated_at;created_at};exports.UploadPart=UploadPart,__decorate([(0,typeorm_1.PrimaryGeneratedColumn)(),__metadata("design:type",Number)],UploadPart.prototype,"id",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)(),__metadata("design:type",Number)],UploadPart.prototype,"uid",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)(),__metadata("design:type",Number)],UploadPart.prototype,"file_id",void 0),__decorate([(0,typeorm_1.Column)({default:!1}),__metadata("design:type",Boolean)],UploadPart.prototype,"is_paused",void 0),__decorate([(0,typeorm_1.Column)(),__metadata("design:type",String)],UploadPart.prototype,"filepath",void 0),__decorate([(0,typeorm_1.Column)(),__metadata("design:type",String)],UploadPart.prototype,"output_root",void 0),__decorate([(0,typeorm_1.Column)("json"),__metadata("design:type",Object)],UploadPart.prototype,"info",void 0),__decorate([(0,typeorm_1.Column)(),__metadata("design:type",Number)],UploadPart.prototype,"size",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)({default:0}),__metadata("design:type",Number)],UploadPart.prototype,"baidu_host_id",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)({type:"simple-enum",enum:types_1.UploadStatus,default:types_1.UploadStatus.NULL}),__metadata("design:type",Number)],UploadPart.prototype,"baidu_status",void 0),__decorate([(0,typeorm_1.Column)({default:0,type:"decimal"}),__metadata("design:type",Number)],UploadPart.prototype,"baidu_percent",void 0),__decorate([(0,typeorm_1.Column)({type:"json",default:"{}"}),__metadata("design:type",Object)],UploadPart.prototype,"baidu_result",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)({default:0}),__metadata("design:type",Number)],UploadPart.prototype,"ali_host_id",void 0),__decorate([(0,typeorm_1.Index)(),(0,typeorm_1.Column)({type:"simple-enum",enum:types_1.UploadStatus,default:types_1.UploadStatus.NULL}),__metadata("design:type",Number)],UploadPart.prototype,"ali_status",void 0),__decorate([(0,typeorm_1.Column)({default:0,type:"decimal"}),__metadata("design:type",Number)],UploadPart.prototype,"ali_percent",void 0),__decorate([(0,typeorm_1.Column)({type:"json",default:"{}"}),__metadata("design:type",Object)],UploadPart.prototype,"ali_result",void 0),__decorate([(0,typeorm_1.UpdateDateColumn)(),__metadata("design:type",Date)],UploadPart.prototype,"updated_at",void 0),__decorate([(0,typeorm_1.CreateDateColumn)(),__metadata("design:type",Date)],UploadPart.prototype,"created_at",void 0),exports.UploadPart=UploadPart=__decorate([(0,typeorm_1.Entity)()],UploadPart);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soga/entities",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },