@soga/types 1.3.17 → 1.3.19
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 +3 -8
- package/dist/index.d.ts +3 -8
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -331,20 +331,15 @@ declare enum RecordInsertLast {
|
|
|
331
331
|
YES = 1,
|
|
332
332
|
NO = -1
|
|
333
333
|
}
|
|
334
|
-
declare enum RecordFileKeep {
|
|
335
|
-
NULL = 0,
|
|
336
|
-
SOURCE = 1,
|
|
337
|
-
PREVIEW = 2,
|
|
338
|
-
BOTH = 3
|
|
339
|
-
}
|
|
340
334
|
declare enum RecordAdaptResolution {
|
|
341
335
|
NULL = 0,
|
|
342
336
|
YES = 1,
|
|
343
337
|
NO = -1
|
|
344
338
|
}
|
|
345
339
|
type RecordFolderConfig = {
|
|
340
|
+
keep_source: boolean;
|
|
341
|
+
keep_preview: boolean;
|
|
346
342
|
insert_last: RecordInsertLast;
|
|
347
|
-
file_keeps: RecordFileKeep;
|
|
348
343
|
adapt_resolution: RecordAdaptResolution;
|
|
349
344
|
};
|
|
350
345
|
interface RecordInfo {
|
|
@@ -723,4 +718,4 @@ type NetSuccessItem = {
|
|
|
723
718
|
created_at: Date;
|
|
724
719
|
};
|
|
725
720
|
|
|
726
|
-
export { type AliHostDetail, type ApiListResponse, type ApiResponse, type BaiduHostDetail, type CacheInfo, type CloudInfoField, CloudType, type DownloadFileItem, type DownloadProgressData, type DownloadProgressStep, DownloadStatus, type ErrorData, type HostDetail, type HostListItem, HostType, type LocalListResponse, type Manifest, type ManifestAliInfo, type ManifestAttachmentItem, type ManifestAudioItem, type ManifestAudioMetaItem, type ManifestBaiduInfo, type ManifestCoverInfo, type ManifestImgInfo, type ManifestImgMetaInfo, type ManifestInputMetaInfo, type ManifestMediaInfo, type ManifestMetaInfo, type ManifestSourceInfo, type ManifestSubtitleInfo, type ManifestSubtitleItem, type ManifestThumbnailInfo, type ManifestTxtInfo, type ManifestVideoItem, type ManifestVideoMetaItem, type MemberInfo, type NetSuccessItem, NetType, NormalStatus, type PaginationParams, RecordAdaptResolution, type RecordDetail,
|
|
721
|
+
export { type AliHostDetail, type ApiListResponse, type ApiResponse, type BaiduHostDetail, type CacheInfo, type CloudInfoField, CloudType, type DownloadFileItem, type DownloadProgressData, type DownloadProgressStep, DownloadStatus, type ErrorData, type HostDetail, type HostListItem, HostType, type LocalListResponse, type Manifest, type ManifestAliInfo, type ManifestAttachmentItem, type ManifestAudioItem, type ManifestAudioMetaItem, type ManifestBaiduInfo, type ManifestCoverInfo, type ManifestImgInfo, type ManifestImgMetaInfo, type ManifestInputMetaInfo, type ManifestMediaInfo, type ManifestMetaInfo, type ManifestSourceInfo, type ManifestSubtitleInfo, type ManifestSubtitleItem, type ManifestThumbnailInfo, type ManifestTxtInfo, type ManifestVideoItem, type ManifestVideoMetaItem, type MemberInfo, type NetSuccessItem, NetType, NormalStatus, type PaginationParams, RecordAdaptResolution, type RecordDetail, type RecordFolderConfig, RecordFtype, type RecordInfo, RecordInsertLast, type RecordListItem, RecordType, type ShareHistoryListItem, type ShareListItem, type ShareUserListItem, type SpaceDetail, type SpaceLevelItem, type SpaceListItem, type SubListItem, type SubtitleMetaItem, type UploadFileError, type UploadFileItem, type UploadFileSuceessItem, type UploadInputItem, UploadProgress, type UploadProgressData, UploadStatus, type UpyunSignInfo, type UserGroupListItem, type UserListItem, type WithP, type WithPK };
|
package/dist/index.d.ts
CHANGED
|
@@ -331,20 +331,15 @@ declare enum RecordInsertLast {
|
|
|
331
331
|
YES = 1,
|
|
332
332
|
NO = -1
|
|
333
333
|
}
|
|
334
|
-
declare enum RecordFileKeep {
|
|
335
|
-
NULL = 0,
|
|
336
|
-
SOURCE = 1,
|
|
337
|
-
PREVIEW = 2,
|
|
338
|
-
BOTH = 3
|
|
339
|
-
}
|
|
340
334
|
declare enum RecordAdaptResolution {
|
|
341
335
|
NULL = 0,
|
|
342
336
|
YES = 1,
|
|
343
337
|
NO = -1
|
|
344
338
|
}
|
|
345
339
|
type RecordFolderConfig = {
|
|
340
|
+
keep_source: boolean;
|
|
341
|
+
keep_preview: boolean;
|
|
346
342
|
insert_last: RecordInsertLast;
|
|
347
|
-
file_keeps: RecordFileKeep;
|
|
348
343
|
adapt_resolution: RecordAdaptResolution;
|
|
349
344
|
};
|
|
350
345
|
interface RecordInfo {
|
|
@@ -723,4 +718,4 @@ type NetSuccessItem = {
|
|
|
723
718
|
created_at: Date;
|
|
724
719
|
};
|
|
725
720
|
|
|
726
|
-
export { type AliHostDetail, type ApiListResponse, type ApiResponse, type BaiduHostDetail, type CacheInfo, type CloudInfoField, CloudType, type DownloadFileItem, type DownloadProgressData, type DownloadProgressStep, DownloadStatus, type ErrorData, type HostDetail, type HostListItem, HostType, type LocalListResponse, type Manifest, type ManifestAliInfo, type ManifestAttachmentItem, type ManifestAudioItem, type ManifestAudioMetaItem, type ManifestBaiduInfo, type ManifestCoverInfo, type ManifestImgInfo, type ManifestImgMetaInfo, type ManifestInputMetaInfo, type ManifestMediaInfo, type ManifestMetaInfo, type ManifestSourceInfo, type ManifestSubtitleInfo, type ManifestSubtitleItem, type ManifestThumbnailInfo, type ManifestTxtInfo, type ManifestVideoItem, type ManifestVideoMetaItem, type MemberInfo, type NetSuccessItem, NetType, NormalStatus, type PaginationParams, RecordAdaptResolution, type RecordDetail,
|
|
721
|
+
export { type AliHostDetail, type ApiListResponse, type ApiResponse, type BaiduHostDetail, type CacheInfo, type CloudInfoField, CloudType, type DownloadFileItem, type DownloadProgressData, type DownloadProgressStep, DownloadStatus, type ErrorData, type HostDetail, type HostListItem, HostType, type LocalListResponse, type Manifest, type ManifestAliInfo, type ManifestAttachmentItem, type ManifestAudioItem, type ManifestAudioMetaItem, type ManifestBaiduInfo, type ManifestCoverInfo, type ManifestImgInfo, type ManifestImgMetaInfo, type ManifestInputMetaInfo, type ManifestMediaInfo, type ManifestMetaInfo, type ManifestSourceInfo, type ManifestSubtitleInfo, type ManifestSubtitleItem, type ManifestThumbnailInfo, type ManifestTxtInfo, type ManifestVideoItem, type ManifestVideoMetaItem, type MemberInfo, type NetSuccessItem, NetType, NormalStatus, type PaginationParams, RecordAdaptResolution, type RecordDetail, type RecordFolderConfig, RecordFtype, type RecordInfo, RecordInsertLast, type RecordListItem, RecordType, type ShareHistoryListItem, type ShareListItem, type ShareUserListItem, type SpaceDetail, type SpaceLevelItem, type SpaceListItem, type SubListItem, type SubtitleMetaItem, type UploadFileError, type UploadFileItem, type UploadFileSuceessItem, type UploadInputItem, UploadProgress, type UploadProgressData, UploadStatus, type UpyunSignInfo, type UserGroupListItem, type UserListItem, type WithP, type WithPK };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var O,E=Object.defineProperty,D=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyNames,_=Object.prototype.hasOwnProperty,e={};((O,D)=>{for(var R in D)E(O,R,{get:D[R],enumerable:!0})})(e,{CloudType:()=>S,DownloadStatus:()=>
|
|
1
|
+
var O,E=Object.defineProperty,D=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyNames,_=Object.prototype.hasOwnProperty,e={};((O,D)=>{for(var R in D)E(O,R,{get:D[R],enumerable:!0})})(e,{CloudType:()=>S,DownloadStatus:()=>I,HostType:()=>C,NetType:()=>r,NormalStatus:()=>A,RecordAdaptResolution:()=>o,RecordFtype:()=>t,RecordInsertLast:()=>U,RecordType:()=>L,UploadProgress:()=>N,UploadStatus:()=>a}),module.exports=(O=e,((O,e,A,C)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let S of R(e))_.call(O,S)||S===A||E(O,S,{get:()=>e[S],enumerable:!(C=D(e,S))||C.enumerable});return O})(E({},"__esModule",{value:!0}),O));var A=(O=>(O[O.NULL=0]="NULL",O[O.PROCESS=1]="PROCESS",O[O.SUCCESS=2]="SUCCESS",O[O.ERROR=4]="ERROR",O))(A||{}),C=(O=>(O.BAIDU="baidu",O.ALI="ali",O))(C||{}),S=(O=>(O[O.BAIDU=1]="BAIDU",O[O.ALI=2]="ALI",O))(S||{}),L=(O=>(O[O.FOLDER=0]="FOLDER",O[O.VIDEO=1]="VIDEO",O[O.AUDIO=2]="AUDIO",O[O.IMAGE=3]="IMAGE",O[O.DOC=4]="DOC",O[O.OTHER=5]="OTHER",O))(L||{}),t=(O=>(O[O.NONE=0]="NONE",O[O.VIDEO_NORMAL=10]="VIDEO_NORMAL",O[O.VIDEO_VR=11]="VIDEO_VR",O[O.VIDEO_3D=12]="VIDEO_3D",O[O.AUDIO_NORMAL=20]="AUDIO_NORMAL",O[O.IMAGE_NORMAL=30]="IMAGE_NORMAL",O[O.IMAGE_VR=31]="IMAGE_VR",O[O.IMAGE_HEIC=32]="IMAGE_HEIC",O[O.IMAGE_SVG=33]="IMAGE_SVG",O[O.DOC_NORMAL=40]="DOC_NORMAL",O[O.DOC_TXT=41]="DOC_TXT",O[O.DOC_CODE=42]="DOC_CODE",O[O.DOC_MD=43]="DOC_MD",O[O.DOC_PDF=44]="DOC_PDF",O[O.DOC_WORD=45]="DOC_WORD",O[O.DOC_EXCEL=46]="DOC_EXCEL",O[O.DOC_PPT=47]="DOC_PPT",O))(t||{}),U=(O=>(O[O.NULL=0]="NULL",O[O.YES=1]="YES",O[O.NO=-1]="NO",O))(U||{}),o=(O=>(O[O.NULL=0]="NULL",O[O.YES=1]="YES",O[O.NO=-1]="NO",O))(o||{}),a=(O=>(O[O.NULL=0]="NULL",O[O.ENCODE_READY=0]="ENCODE_READY",O[O.ENCODE_PROCESS=2]="ENCODE_PROCESS",O[O.ENCODE_ERROR=4]="ENCODE_ERROR",O[O.ENCODE_SUCCESS=6]="ENCODE_SUCCESS",O[O.UPLOAD_READY=6]="UPLOAD_READY",O[O.UPLOAD_PROCESS=8]="UPLOAD_PROCESS",O[O.UPLOAD_ERROR=10]="UPLOAD_ERROR",O[O.UPLOAD_SUCCESS=12]="UPLOAD_SUCCESS",O[O.SUBMIT_READY=12]="SUBMIT_READY",O[O.SUBMIT_ERROR=14]="SUBMIT_ERROR",O))(a||{}),N=(O=>(O.prepare="PREPARE",O.calculate_md5="CALCULATE_MD5",O.separate_video="SEPARATE_VIDEO",O.separate_audio="SEPARATE_AUDIO",O.separate_subtitle="SEPARATE_SUBTITLE",O.transcode_video="TRANSCODE_VIDEO",O.transcode_audio="TRANSCODE_AUDIO",O.transcode_thumbnail="TRANSCODE_THUMBNAIL",O.transcode_source="TRANSCODE_SOURCE",O.transcode_txt="TRANSCODE_TXT",O.transcode_img="TRANSCODE_IMG",O.group_media="GROUP_MEDIA",O.upload_baidu="UPLOAD_BAIDU",O.upload_ali="UPLOAD_ALI",O.end="END",O))(N||{}),I=(O=>(O[O.NULL=0]="NULL",O[O.PROCESS=1]="PROCESS",O[O.SUCCESS=2]="SUCCESS",O[O.ERROR=4]="ERROR",O))(I||{}),r=(O=>(O.DOWNLOAD="download",O.UPLOAD="upload",O))(r||{});
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var E=(E=>(E[E.NULL=0]="NULL",E[E.PROCESS=1]="PROCESS",E[E.SUCCESS=2]="SUCCESS",E[E.ERROR=4]="ERROR",E))(E||{}),O=(E=>(E.BAIDU="baidu",E.ALI="ali",E))(O||{}),D=(E=>(E[E.BAIDU=1]="BAIDU",E[E.ALI=2]="ALI",E))(D||{}),
|
|
1
|
+
var E=(E=>(E[E.NULL=0]="NULL",E[E.PROCESS=1]="PROCESS",E[E.SUCCESS=2]="SUCCESS",E[E.ERROR=4]="ERROR",E))(E||{}),O=(E=>(E.BAIDU="baidu",E.ALI="ali",E))(O||{}),D=(E=>(E[E.BAIDU=1]="BAIDU",E[E.ALI=2]="ALI",E))(D||{}),_=(E=>(E[E.FOLDER=0]="FOLDER",E[E.VIDEO=1]="VIDEO",E[E.AUDIO=2]="AUDIO",E[E.IMAGE=3]="IMAGE",E[E.DOC=4]="DOC",E[E.OTHER=5]="OTHER",E))(_||{}),R=(E=>(E[E.NONE=0]="NONE",E[E.VIDEO_NORMAL=10]="VIDEO_NORMAL",E[E.VIDEO_VR=11]="VIDEO_VR",E[E.VIDEO_3D=12]="VIDEO_3D",E[E.AUDIO_NORMAL=20]="AUDIO_NORMAL",E[E.IMAGE_NORMAL=30]="IMAGE_NORMAL",E[E.IMAGE_VR=31]="IMAGE_VR",E[E.IMAGE_HEIC=32]="IMAGE_HEIC",E[E.IMAGE_SVG=33]="IMAGE_SVG",E[E.DOC_NORMAL=40]="DOC_NORMAL",E[E.DOC_TXT=41]="DOC_TXT",E[E.DOC_CODE=42]="DOC_CODE",E[E.DOC_MD=43]="DOC_MD",E[E.DOC_PDF=44]="DOC_PDF",E[E.DOC_WORD=45]="DOC_WORD",E[E.DOC_EXCEL=46]="DOC_EXCEL",E[E.DOC_PPT=47]="DOC_PPT",E))(R||{}),A=(E=>(E[E.NULL=0]="NULL",E[E.YES=1]="YES",E[E.NO=-1]="NO",E))(A||{}),C=(E=>(E[E.NULL=0]="NULL",E[E.YES=1]="YES",E[E.NO=-1]="NO",E))(C||{}),S=(E=>(E[E.NULL=0]="NULL",E[E.ENCODE_READY=0]="ENCODE_READY",E[E.ENCODE_PROCESS=2]="ENCODE_PROCESS",E[E.ENCODE_ERROR=4]="ENCODE_ERROR",E[E.ENCODE_SUCCESS=6]="ENCODE_SUCCESS",E[E.UPLOAD_READY=6]="UPLOAD_READY",E[E.UPLOAD_PROCESS=8]="UPLOAD_PROCESS",E[E.UPLOAD_ERROR=10]="UPLOAD_ERROR",E[E.UPLOAD_SUCCESS=12]="UPLOAD_SUCCESS",E[E.SUBMIT_READY=12]="SUBMIT_READY",E[E.SUBMIT_ERROR=14]="SUBMIT_ERROR",E))(S||{}),L=(E=>(E.prepare="PREPARE",E.calculate_md5="CALCULATE_MD5",E.separate_video="SEPARATE_VIDEO",E.separate_audio="SEPARATE_AUDIO",E.separate_subtitle="SEPARATE_SUBTITLE",E.transcode_video="TRANSCODE_VIDEO",E.transcode_audio="TRANSCODE_AUDIO",E.transcode_thumbnail="TRANSCODE_THUMBNAIL",E.transcode_source="TRANSCODE_SOURCE",E.transcode_txt="TRANSCODE_TXT",E.transcode_img="TRANSCODE_IMG",E.group_media="GROUP_MEDIA",E.upload_baidu="UPLOAD_BAIDU",E.upload_ali="UPLOAD_ALI",E.end="END",E))(L||{}),U=(E=>(E[E.NULL=0]="NULL",E[E.PROCESS=1]="PROCESS",E[E.SUCCESS=2]="SUCCESS",E[E.ERROR=4]="ERROR",E))(U||{}),I=(E=>(E.DOWNLOAD="download",E.UPLOAD="upload",E))(I||{});export{D as CloudType,U as DownloadStatus,O as HostType,I as NetType,E as NormalStatus,C as RecordAdaptResolution,R as RecordFtype,A as RecordInsertLast,_ as RecordType,L as UploadProgress,S as UploadStatus};
|