@soga/types 0.0.46 → 0.0.47
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/README.md +3 -3
- package/dist/record.d.ts +19 -3
- package/dist/record.js +20 -1
- package/package.json +42 -42
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
- StageType -> UploadFileStage
|
|
2
|
-
- UploadItem -> UploadFileItem
|
|
3
|
-
- UploadControlData -> UploadControlConfig
|
|
1
|
+
- StageType -> UploadFileStage
|
|
2
|
+
- UploadItem -> UploadFileItem
|
|
3
|
+
- UploadControlData -> UploadControlConfig
|
package/dist/record.d.ts
CHANGED
|
@@ -171,10 +171,26 @@ export type Manifest = {
|
|
|
171
171
|
};
|
|
172
172
|
meta: ManifestMetaInfo;
|
|
173
173
|
};
|
|
174
|
+
export declare enum RecordInsertLast {
|
|
175
|
+
NULL = 0,
|
|
176
|
+
YES = 1,
|
|
177
|
+
NO = -1
|
|
178
|
+
}
|
|
179
|
+
export declare enum RecordFileKeep {
|
|
180
|
+
NULL = 0,
|
|
181
|
+
SOURCE = 1,
|
|
182
|
+
PREVIEW = 2,
|
|
183
|
+
BOTH = 3
|
|
184
|
+
}
|
|
185
|
+
export declare enum RecordAdaptResolution {
|
|
186
|
+
NULL = 0,
|
|
187
|
+
YES = 1,
|
|
188
|
+
NO = -1
|
|
189
|
+
}
|
|
174
190
|
export type RecordFolderConfig = {
|
|
175
|
-
insert_last:
|
|
176
|
-
file_keeps
|
|
177
|
-
adapt_resolution
|
|
191
|
+
insert_last: RecordInsertLast;
|
|
192
|
+
file_keeps: RecordFileKeep;
|
|
193
|
+
adapt_resolution: RecordAdaptResolution;
|
|
178
194
|
};
|
|
179
195
|
type RecordCommonFields = {
|
|
180
196
|
id: number;
|
package/dist/record.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecordFtype = exports.RecordType = void 0;
|
|
3
|
+
exports.RecordAdaptResolution = exports.RecordFileKeep = exports.RecordInsertLast = exports.RecordFtype = exports.RecordType = void 0;
|
|
4
4
|
var RecordType;
|
|
5
5
|
(function (RecordType) {
|
|
6
6
|
RecordType[RecordType["FOLDER"] = 0] = "FOLDER";
|
|
@@ -25,3 +25,22 @@ var RecordFtype;
|
|
|
25
25
|
RecordFtype[RecordFtype["TEXT_PPT"] = 45] = "TEXT_PPT";
|
|
26
26
|
RecordFtype[RecordFtype["TEXT_OTHER"] = 46] = "TEXT_OTHER";
|
|
27
27
|
})(RecordFtype || (exports.RecordFtype = RecordFtype = {}));
|
|
28
|
+
var RecordInsertLast;
|
|
29
|
+
(function (RecordInsertLast) {
|
|
30
|
+
RecordInsertLast[RecordInsertLast["NULL"] = 0] = "NULL";
|
|
31
|
+
RecordInsertLast[RecordInsertLast["YES"] = 1] = "YES";
|
|
32
|
+
RecordInsertLast[RecordInsertLast["NO"] = -1] = "NO";
|
|
33
|
+
})(RecordInsertLast || (exports.RecordInsertLast = RecordInsertLast = {}));
|
|
34
|
+
var RecordFileKeep;
|
|
35
|
+
(function (RecordFileKeep) {
|
|
36
|
+
RecordFileKeep[RecordFileKeep["NULL"] = 0] = "NULL";
|
|
37
|
+
RecordFileKeep[RecordFileKeep["SOURCE"] = 1] = "SOURCE";
|
|
38
|
+
RecordFileKeep[RecordFileKeep["PREVIEW"] = 2] = "PREVIEW";
|
|
39
|
+
RecordFileKeep[RecordFileKeep["BOTH"] = 3] = "BOTH";
|
|
40
|
+
})(RecordFileKeep || (exports.RecordFileKeep = RecordFileKeep = {}));
|
|
41
|
+
var RecordAdaptResolution;
|
|
42
|
+
(function (RecordAdaptResolution) {
|
|
43
|
+
RecordAdaptResolution[RecordAdaptResolution["NULL"] = 0] = "NULL";
|
|
44
|
+
RecordAdaptResolution[RecordAdaptResolution["YES"] = 1] = "YES";
|
|
45
|
+
RecordAdaptResolution[RecordAdaptResolution["NO"] = -1] = "NO";
|
|
46
|
+
})(RecordAdaptResolution || (exports.RecordAdaptResolution = RecordAdaptResolution = {}));
|
package/package.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@soga/types",
|
|
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",
|
|
15
|
-
"dev": "tsc --watch",
|
|
16
|
-
"lint": "eslint . --ext .ts",
|
|
17
|
-
"prepublishOnly": "npm run build"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@types/node": "^22.5.1",
|
|
21
|
-
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
22
|
-
"@typescript-eslint/parser": "^8.3.0",
|
|
23
|
-
"eslint": "^9.9.1",
|
|
24
|
-
"eslint-config-prettier": "^9.1.0",
|
|
25
|
-
"eslint-plugin-prettier": "^5.2.1",
|
|
26
|
-
"prettier": "^3.3.3",
|
|
27
|
-
"rimraf": "^6.0.1",
|
|
28
|
-
"ts-node": "^10.9.2",
|
|
29
|
-
"typescript": "^5.5.4"
|
|
30
|
-
},
|
|
31
|
-
"repository": {
|
|
32
|
-
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/dpan-com/types.git"
|
|
34
|
-
},
|
|
35
|
-
"keywords": [],
|
|
36
|
-
"author": "",
|
|
37
|
-
"license": "ISC",
|
|
38
|
-
"bugs": {
|
|
39
|
-
"url": "https://github.com/dpan-com/types/issues"
|
|
40
|
-
},
|
|
41
|
-
"homepage": "https://github.com/dpan-com/types#readme"
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@soga/types",
|
|
3
|
+
"version": "0.0.47",
|
|
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",
|
|
15
|
+
"dev": "tsc --watch",
|
|
16
|
+
"lint": "eslint . --ext .ts",
|
|
17
|
+
"prepublishOnly": "npm run build"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^22.5.1",
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
22
|
+
"@typescript-eslint/parser": "^8.3.0",
|
|
23
|
+
"eslint": "^9.9.1",
|
|
24
|
+
"eslint-config-prettier": "^9.1.0",
|
|
25
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
26
|
+
"prettier": "^3.3.3",
|
|
27
|
+
"rimraf": "^6.0.1",
|
|
28
|
+
"ts-node": "^10.9.2",
|
|
29
|
+
"typescript": "^5.5.4"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/dpan-com/types.git"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [],
|
|
36
|
+
"author": "",
|
|
37
|
+
"license": "ISC",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/dpan-com/types/issues"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/dpan-com/types#readme"
|
|
42
|
+
}
|