@soga/entities 0.0.14 → 0.0.15
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.
- package/dist/upload-part.d.ts +1 -0
- package/dist/upload-part.js +1 -1
- package/package.json +47 -47
package/dist/upload-part.d.ts
CHANGED
package/dist/upload-part.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var __decorate=this&&this.__decorate||function(t,e,a,o){var d,
|
|
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;ali_status;baidu_status;info;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.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.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)("json"),__metadata("design:type",Object)],UploadPart.prototype,"info",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,47 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@soga/entities",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
6
|
-
},
|
|
7
|
-
"description": "",
|
|
8
|
-
"main": "dist/main.js",
|
|
9
|
-
"types": "dist/main.d.ts",
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "rimraf dist && tsc && ts-node ./scripts/minify",
|
|
15
|
-
"minify": "ts-node ./scripts/minify",
|
|
16
|
-
"demo": "ts-node ./demo/demo.ts",
|
|
17
|
-
"test": "jest",
|
|
18
|
-
"dev": "ts-node ./src/main.ts",
|
|
19
|
-
"lint": "eslint . --ext .ts",
|
|
20
|
-
"prepublishOnly": "npm run build"
|
|
21
|
-
},
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"@types/glob": "^8.1.0",
|
|
24
|
-
"@types/jest": "^29.5.4",
|
|
25
|
-
"@types/node": "^20.8.7",
|
|
26
|
-
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
27
|
-
"@typescript-eslint/parser": "^6.4.1",
|
|
28
|
-
"eslint": "^8.47.0",
|
|
29
|
-
"eslint-config-prettier": "^9.0.0",
|
|
30
|
-
"eslint-plugin-jest": "^27.2.3",
|
|
31
|
-
"eslint-plugin-prettier": "^5.0.0",
|
|
32
|
-
"glob": "^10.3.3",
|
|
33
|
-
"jest": "^29.6.3",
|
|
34
|
-
"prettier": "^3.0.2",
|
|
35
|
-
"terser": "^5.19.2",
|
|
36
|
-
"ts-jest": "^29.1.1",
|
|
37
|
-
"ts-node": "^10.9.1",
|
|
38
|
-
"typeorm": "^0.3.20",
|
|
39
|
-
"typescript": "^5.1.6"
|
|
40
|
-
},
|
|
41
|
-
"keywords": [],
|
|
42
|
-
"author": "",
|
|
43
|
-
"license": "ISC",
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"@soga/types": "^0.0.62"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@soga/entities",
|
|
3
|
+
"version": "0.0.15",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "",
|
|
8
|
+
"main": "dist/main.js",
|
|
9
|
+
"types": "dist/main.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "rimraf dist && tsc && ts-node ./scripts/minify",
|
|
15
|
+
"minify": "ts-node ./scripts/minify",
|
|
16
|
+
"demo": "ts-node ./demo/demo.ts",
|
|
17
|
+
"test": "jest",
|
|
18
|
+
"dev": "ts-node ./src/main.ts",
|
|
19
|
+
"lint": "eslint . --ext .ts",
|
|
20
|
+
"prepublishOnly": "npm run build"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@types/glob": "^8.1.0",
|
|
24
|
+
"@types/jest": "^29.5.4",
|
|
25
|
+
"@types/node": "^20.8.7",
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
27
|
+
"@typescript-eslint/parser": "^6.4.1",
|
|
28
|
+
"eslint": "^8.47.0",
|
|
29
|
+
"eslint-config-prettier": "^9.0.0",
|
|
30
|
+
"eslint-plugin-jest": "^27.2.3",
|
|
31
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
32
|
+
"glob": "^10.3.3",
|
|
33
|
+
"jest": "^29.6.3",
|
|
34
|
+
"prettier": "^3.0.2",
|
|
35
|
+
"terser": "^5.19.2",
|
|
36
|
+
"ts-jest": "^29.1.1",
|
|
37
|
+
"ts-node": "^10.9.1",
|
|
38
|
+
"typeorm": "^0.3.20",
|
|
39
|
+
"typescript": "^5.1.6"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [],
|
|
42
|
+
"author": "",
|
|
43
|
+
"license": "ISC",
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@soga/types": "^0.0.62"
|
|
46
|
+
}
|
|
47
|
+
}
|