@soga/types 0.5.2 → 0.5.4
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/index.d.mts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +9 -7
- package/dist/index.mjs +9 -7
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -273,9 +273,8 @@ declare enum RecordType {
|
|
|
273
273
|
AUDIO = 2,
|
|
274
274
|
IMAGE = 3,
|
|
275
275
|
TXT = 4,
|
|
276
|
-
|
|
276
|
+
DOC = 5,
|
|
277
277
|
OTHER = 6,
|
|
278
|
-
TEXT_RELATION = 120,
|
|
279
278
|
AFFIX = 127
|
|
280
279
|
}
|
|
281
280
|
declare enum RecordFtype {
|
|
@@ -283,13 +282,16 @@ declare enum RecordFtype {
|
|
|
283
282
|
VIDEO_NORMAL = 11,
|
|
284
283
|
VIDEO_VR = 12,
|
|
285
284
|
VIDEO_3D = 13,
|
|
285
|
+
AUDIO_NORMAL = 21,
|
|
286
286
|
IMAGE_NORMAL = 31,
|
|
287
287
|
IMAGE_VR = 32,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
288
|
+
DOC_NORMAL = 51,
|
|
289
|
+
DOC_CODE = 52,
|
|
290
|
+
DOC_PDF = 53,
|
|
291
|
+
DOC_MD = 54,
|
|
292
|
+
DOC_WORD = 55,
|
|
293
|
+
DOC_EXCEL = 56,
|
|
294
|
+
DOC_PPT = 57
|
|
293
295
|
}
|
|
294
296
|
declare enum RecordInsertLast {
|
|
295
297
|
NULL = 0,
|
package/dist/index.d.ts
CHANGED
|
@@ -273,9 +273,8 @@ declare enum RecordType {
|
|
|
273
273
|
AUDIO = 2,
|
|
274
274
|
IMAGE = 3,
|
|
275
275
|
TXT = 4,
|
|
276
|
-
|
|
276
|
+
DOC = 5,
|
|
277
277
|
OTHER = 6,
|
|
278
|
-
TEXT_RELATION = 120,
|
|
279
278
|
AFFIX = 127
|
|
280
279
|
}
|
|
281
280
|
declare enum RecordFtype {
|
|
@@ -283,13 +282,16 @@ declare enum RecordFtype {
|
|
|
283
282
|
VIDEO_NORMAL = 11,
|
|
284
283
|
VIDEO_VR = 12,
|
|
285
284
|
VIDEO_3D = 13,
|
|
285
|
+
AUDIO_NORMAL = 21,
|
|
286
286
|
IMAGE_NORMAL = 31,
|
|
287
287
|
IMAGE_VR = 32,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
288
|
+
DOC_NORMAL = 51,
|
|
289
|
+
DOC_CODE = 52,
|
|
290
|
+
DOC_PDF = 53,
|
|
291
|
+
DOC_MD = 54,
|
|
292
|
+
DOC_WORD = 55,
|
|
293
|
+
DOC_EXCEL = 56,
|
|
294
|
+
DOC_PPT = 57
|
|
293
295
|
}
|
|
294
296
|
declare enum RecordInsertLast {
|
|
295
297
|
NULL = 0,
|
package/dist/index.js
CHANGED
|
@@ -54,9 +54,8 @@ var RecordType = /* @__PURE__ */ function(RecordType2) {
|
|
|
54
54
|
RecordType2[RecordType2["AUDIO"] = 2] = "AUDIO";
|
|
55
55
|
RecordType2[RecordType2["IMAGE"] = 3] = "IMAGE";
|
|
56
56
|
RecordType2[RecordType2["TXT"] = 4] = "TXT";
|
|
57
|
-
RecordType2[RecordType2["
|
|
57
|
+
RecordType2[RecordType2["DOC"] = 5] = "DOC";
|
|
58
58
|
RecordType2[RecordType2["OTHER"] = 6] = "OTHER";
|
|
59
|
-
RecordType2[RecordType2["TEXT_RELATION"] = 120] = "TEXT_RELATION";
|
|
60
59
|
RecordType2[RecordType2["AFFIX"] = 127] = "AFFIX";
|
|
61
60
|
return RecordType2;
|
|
62
61
|
}({});
|
|
@@ -65,13 +64,16 @@ var RecordFtype = /* @__PURE__ */ function(RecordFtype2) {
|
|
|
65
64
|
RecordFtype2[RecordFtype2["VIDEO_NORMAL"] = 11] = "VIDEO_NORMAL";
|
|
66
65
|
RecordFtype2[RecordFtype2["VIDEO_VR"] = 12] = "VIDEO_VR";
|
|
67
66
|
RecordFtype2[RecordFtype2["VIDEO_3D"] = 13] = "VIDEO_3D";
|
|
67
|
+
RecordFtype2[RecordFtype2["AUDIO_NORMAL"] = 21] = "AUDIO_NORMAL";
|
|
68
68
|
RecordFtype2[RecordFtype2["IMAGE_NORMAL"] = 31] = "IMAGE_NORMAL";
|
|
69
69
|
RecordFtype2[RecordFtype2["IMAGE_VR"] = 32] = "IMAGE_VR";
|
|
70
|
-
RecordFtype2[RecordFtype2["
|
|
71
|
-
RecordFtype2[RecordFtype2["
|
|
72
|
-
RecordFtype2[RecordFtype2["
|
|
73
|
-
RecordFtype2[RecordFtype2["
|
|
74
|
-
RecordFtype2[RecordFtype2["
|
|
70
|
+
RecordFtype2[RecordFtype2["DOC_NORMAL"] = 51] = "DOC_NORMAL";
|
|
71
|
+
RecordFtype2[RecordFtype2["DOC_CODE"] = 52] = "DOC_CODE";
|
|
72
|
+
RecordFtype2[RecordFtype2["DOC_PDF"] = 53] = "DOC_PDF";
|
|
73
|
+
RecordFtype2[RecordFtype2["DOC_MD"] = 54] = "DOC_MD";
|
|
74
|
+
RecordFtype2[RecordFtype2["DOC_WORD"] = 55] = "DOC_WORD";
|
|
75
|
+
RecordFtype2[RecordFtype2["DOC_EXCEL"] = 56] = "DOC_EXCEL";
|
|
76
|
+
RecordFtype2[RecordFtype2["DOC_PPT"] = 57] = "DOC_PPT";
|
|
75
77
|
return RecordFtype2;
|
|
76
78
|
}({});
|
|
77
79
|
var RecordInsertLast = /* @__PURE__ */ function(RecordInsertLast2) {
|
package/dist/index.mjs
CHANGED
|
@@ -17,9 +17,8 @@ var RecordType = /* @__PURE__ */ function(RecordType2) {
|
|
|
17
17
|
RecordType2[RecordType2["AUDIO"] = 2] = "AUDIO";
|
|
18
18
|
RecordType2[RecordType2["IMAGE"] = 3] = "IMAGE";
|
|
19
19
|
RecordType2[RecordType2["TXT"] = 4] = "TXT";
|
|
20
|
-
RecordType2[RecordType2["
|
|
20
|
+
RecordType2[RecordType2["DOC"] = 5] = "DOC";
|
|
21
21
|
RecordType2[RecordType2["OTHER"] = 6] = "OTHER";
|
|
22
|
-
RecordType2[RecordType2["TEXT_RELATION"] = 120] = "TEXT_RELATION";
|
|
23
22
|
RecordType2[RecordType2["AFFIX"] = 127] = "AFFIX";
|
|
24
23
|
return RecordType2;
|
|
25
24
|
}({});
|
|
@@ -28,13 +27,16 @@ var RecordFtype = /* @__PURE__ */ function(RecordFtype2) {
|
|
|
28
27
|
RecordFtype2[RecordFtype2["VIDEO_NORMAL"] = 11] = "VIDEO_NORMAL";
|
|
29
28
|
RecordFtype2[RecordFtype2["VIDEO_VR"] = 12] = "VIDEO_VR";
|
|
30
29
|
RecordFtype2[RecordFtype2["VIDEO_3D"] = 13] = "VIDEO_3D";
|
|
30
|
+
RecordFtype2[RecordFtype2["AUDIO_NORMAL"] = 21] = "AUDIO_NORMAL";
|
|
31
31
|
RecordFtype2[RecordFtype2["IMAGE_NORMAL"] = 31] = "IMAGE_NORMAL";
|
|
32
32
|
RecordFtype2[RecordFtype2["IMAGE_VR"] = 32] = "IMAGE_VR";
|
|
33
|
-
RecordFtype2[RecordFtype2["
|
|
34
|
-
RecordFtype2[RecordFtype2["
|
|
35
|
-
RecordFtype2[RecordFtype2["
|
|
36
|
-
RecordFtype2[RecordFtype2["
|
|
37
|
-
RecordFtype2[RecordFtype2["
|
|
33
|
+
RecordFtype2[RecordFtype2["DOC_NORMAL"] = 51] = "DOC_NORMAL";
|
|
34
|
+
RecordFtype2[RecordFtype2["DOC_CODE"] = 52] = "DOC_CODE";
|
|
35
|
+
RecordFtype2[RecordFtype2["DOC_PDF"] = 53] = "DOC_PDF";
|
|
36
|
+
RecordFtype2[RecordFtype2["DOC_MD"] = 54] = "DOC_MD";
|
|
37
|
+
RecordFtype2[RecordFtype2["DOC_WORD"] = 55] = "DOC_WORD";
|
|
38
|
+
RecordFtype2[RecordFtype2["DOC_EXCEL"] = 56] = "DOC_EXCEL";
|
|
39
|
+
RecordFtype2[RecordFtype2["DOC_PPT"] = 57] = "DOC_PPT";
|
|
38
40
|
return RecordFtype2;
|
|
39
41
|
}({});
|
|
40
42
|
var RecordInsertLast = /* @__PURE__ */ function(RecordInsertLast2) {
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soga/types",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
|
+
"module": "./dist/index.mjs",
|
|
10
11
|
"files": [
|
|
11
12
|
"dist"
|
|
12
13
|
],
|
|
13
|
-
"module": "./dist/index.mjs",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "rimraf dist && tsup src/index.ts --format cjs,esm --dts",
|
|
16
|
-
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
17
16
|
"prepublishOnly": "npm run build"
|
|
18
17
|
},
|
|
19
18
|
"keywords": [],
|
|
20
19
|
"author": "",
|
|
21
20
|
"license": "ISC",
|
|
22
21
|
"devDependencies": {
|
|
23
|
-
"rimraf": "^6.0.1"
|
|
22
|
+
"rimraf": "^6.0.1",
|
|
23
|
+
"tsup": "^8.5.0"
|
|
24
24
|
}
|
|
25
25
|
}
|