nb-js-client 1.0.19 → 1.0.21
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.
|
@@ -17,7 +17,7 @@ export declare class StorageElementApiService {
|
|
|
17
17
|
combineInfo({ root, rootId, path, file_version_id, zip_entry_path, }: StorageRouteData): Promise<StorageElement>;
|
|
18
18
|
size(data: StorageItemSizeParams): Promise<number>;
|
|
19
19
|
move(params: StorageElementPasteParams, to: StorageRoot, from: StorageRoot): Promise<void>;
|
|
20
|
-
copy(params: StorageElementPasteParams, from: StorageRoot, to: StorageRoot): Promise<void
|
|
20
|
+
copy(params: StorageElementPasteParams, from: StorageRoot, to: StorageRoot): Promise<void>;
|
|
21
21
|
pasteFromShared(from_sharing_token: string, paths: StorageElementPaste[], from_sharing_password?: string): Promise<void>;
|
|
22
22
|
create(data: CreateStorageElementParams): Promise<ResponseItem<StorageElement>>;
|
|
23
23
|
delete(path: string, divide_id?: number): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -764,6 +764,15 @@ interface ExtensionExternalInList {
|
|
|
764
764
|
version: string;
|
|
765
765
|
tags: string[];
|
|
766
766
|
links: string[];
|
|
767
|
+
downloads: number;
|
|
768
|
+
likes: number;
|
|
769
|
+
liked: false;
|
|
770
|
+
recommended: boolean;
|
|
771
|
+
iconTags: TagIconExtension[] | null;
|
|
772
|
+
}
|
|
773
|
+
interface TagIconExtension {
|
|
774
|
+
tag: string;
|
|
775
|
+
icon: string | null;
|
|
767
776
|
}
|
|
768
777
|
interface ExtensionExternal extends ExtensionExternalInList {
|
|
769
778
|
versions: VersionExtension[];
|
|
@@ -1193,6 +1202,7 @@ interface ExtensionExternalReadmeParams {
|
|
|
1193
1202
|
interface ExtensionExternalListParams extends RequestBaseParams {
|
|
1194
1203
|
lang: string;
|
|
1195
1204
|
search_field?: string;
|
|
1205
|
+
recommended?: boolean;
|
|
1196
1206
|
}
|
|
1197
1207
|
|
|
1198
1208
|
declare class StorageElementApiService {
|
|
@@ -1210,7 +1220,7 @@ declare class StorageElementApiService {
|
|
|
1210
1220
|
combineInfo({ root, rootId, path, file_version_id, zip_entry_path, }: StorageRouteData): Promise<StorageElement>;
|
|
1211
1221
|
size(data: StorageItemSizeParams): Promise<number>;
|
|
1212
1222
|
move(params: StorageElementPasteParams, to: StorageRoot, from: StorageRoot): Promise<void>;
|
|
1213
|
-
copy(params: StorageElementPasteParams, from: StorageRoot, to: StorageRoot): Promise<void
|
|
1223
|
+
copy(params: StorageElementPasteParams, from: StorageRoot, to: StorageRoot): Promise<void>;
|
|
1214
1224
|
pasteFromShared(from_sharing_token: string, paths: StorageElementPaste[], from_sharing_password?: string): Promise<void>;
|
|
1215
1225
|
create(data: CreateStorageElementParams): Promise<ResponseItem<StorageElement>>;
|
|
1216
1226
|
delete(path: string, divide_id?: number): Promise<void>;
|
|
@@ -1665,4 +1675,4 @@ declare function normalizeHeaders(headers: Headers | [string, string][] | Record
|
|
|
1665
1675
|
declare function prepareRequestBody(body: unknown): XMLHttpRequestBodyInit | Document | null;
|
|
1666
1676
|
|
|
1667
1677
|
export { AccessRights, AuthApiService, BASE_URL_V1, BASE_URL_V2, CONNECTIONS_PERMISSION, Client, ConnectionGroup, ConnectionType, ConnectionsApiService, DiscoveryApiService, DivideApiService, DivideMode, DivideScope, EngineType, ExtensionFileMode, ExtensionType, ExtensionsApiService, ExtensionsExternalApiService, FcaApiService, GatewayApiService, GroupApiService, LicenseApiService, LicenseError, LimitationSubType, LimitationType, LimitationsApiService, LinksApiService, LogstashApiService, NEED_TOKEN_UPDATE_ERROR, NotificationAction, NotificationApiService, NotificationEntityType, NotificationRowAction, NotificationStyle, OrderDirection, PermissionType, QueryInitViewType, RequestMethod, RequestObserve, ResponseType, Rest, RestrictionBooleanStatus, RestrictionModeKey, RestrictionSharing, RestrictionStatus, RoleApiService, SettingControlType, ShareApiService, StorageCommentApiService, StorageElementApiService, StorageElementCheckStatus, StorageElementContentType, StorageElementHistoryAction, StorageElementType, StorageFilesApiService, StorageInstanceApiService, StorageRoot, StorageShareApiService, StorageTrashApiService, Tariff, TokenUpdate, UserApiService, UserAppType, UserAuthType, UserParamsLabel, UserStatus, UserType, VersionApiService, applyInterceptors, getCookieValue, makeUrlParams, normalizeHeaders, prepareRequestBody };
|
|
1668
|
-
export type { AccessToken, AuthToken, AuthTokenUpdate, AuthType, ChangeLicenseParams, Comment, CommentParams, Connection, ConnectionCreateParams, CopyResponse, CreateCommentParams, CreateLimitationsParams, CreateStorageElementParams, CreateUserGroupParams, CreateUserParams, CreateUserRoleParams, CreateZipRequestParams, CutLinkRequest, DeleteAllCommentParams, DeleteCommentParams, Discovery, DivideResourceParams, DivideResourceType, DivideResponseList, Extension, ExtensionDefault, ExtensionExternal, ExtensionExternalInList, ExtensionExternalListParams, ExtensionExternalReadmeParams, ExtensionListParams, ExtensionMetaPayload, ExtensionTag, ExtensionTagListParams, FileLocking, HistoryListRequestParams, HistoryNote, HistoryRequestParams, HttpEvent, HttpResponse, Lang, License, Limitation, LockScreen, NameExtensionListParams, NbAppState, NbClientParams, NbRequestParams, NotificationActionGroup, NotificationPayload, OnUploadProgress, PayloadArchive, PayloadFile, Permission, PermissionItem, ProgressEvent, QueryInitResponse, Quota, RequestAuthSettingsParams, RequestAuthTfaParams, RequestAuthTokenParams, RequestBaseParams, RequestConfig, RequestConnectionParams, RequestLimitationsListParams, RequestNotificationListParams, RequestShareLoginParams, RequestStorageListParams, RequestUserDivideParams, RequestUserGroupListParams, RequestUserListParams, RequestUserRoleListParams, RequestUsersLogParams, RequestVersionsSizeParams, ResourceAccess, ResponseItem, ResponseList, ResponseListNotification, Restriction, Setting, SettingField, SettingFieldView, SettingLang, SettingValue, SettingValueField, SettingVariant, SettingViewConnectionChoose, SettingViewSelect, ShareInfo, ShareModel, SizeBySection, StorageDivideElement, StorageElement, StorageElementFileInfo, StorageElementHistory, StorageElementPaste, StorageElementPasteParams, StorageElementVersion, StorageElementVersionLock, StorageInstance, StorageItemSizeParams, StorageItemSizePathParams, StorageRouteData, StorageSharingElement, StorageTrashElement, StorageTrashItem, UnZipRequestParams, UnionRestriction, UpdateCommentParams, UploadNetRequestParams, User, UserAppPasswordInfo, UserAppPasswords, UserDivide, UserGroup, UserInfo, UserLabel, UserNamesExtension, UserNotification, UserParams, UserPhone, UserRole, UserSession, UserToken, UsersLog, VersionLockRequestParams };
|
|
1678
|
+
export type { AccessToken, AuthToken, AuthTokenUpdate, AuthType, ChangeLicenseParams, Comment, CommentParams, Connection, ConnectionCreateParams, CopyResponse, CreateCommentParams, CreateLimitationsParams, CreateStorageElementParams, CreateUserGroupParams, CreateUserParams, CreateUserRoleParams, CreateZipRequestParams, CutLinkRequest, DeleteAllCommentParams, DeleteCommentParams, Discovery, DivideResourceParams, DivideResourceType, DivideResponseList, Extension, ExtensionDefault, ExtensionExternal, ExtensionExternalInList, ExtensionExternalListParams, ExtensionExternalReadmeParams, ExtensionListParams, ExtensionMetaPayload, ExtensionTag, ExtensionTagListParams, FileLocking, HistoryListRequestParams, HistoryNote, HistoryRequestParams, HttpEvent, HttpResponse, Lang, License, Limitation, LockScreen, NameExtensionListParams, NbAppState, NbClientParams, NbRequestParams, NotificationActionGroup, NotificationPayload, OnUploadProgress, PayloadArchive, PayloadFile, Permission, PermissionItem, ProgressEvent, QueryInitResponse, Quota, RequestAuthSettingsParams, RequestAuthTfaParams, RequestAuthTokenParams, RequestBaseParams, RequestConfig, RequestConnectionParams, RequestLimitationsListParams, RequestNotificationListParams, RequestShareLoginParams, RequestStorageListParams, RequestUserDivideParams, RequestUserGroupListParams, RequestUserListParams, RequestUserRoleListParams, RequestUsersLogParams, RequestVersionsSizeParams, ResourceAccess, ResponseItem, ResponseList, ResponseListNotification, Restriction, Setting, SettingField, SettingFieldView, SettingLang, SettingValue, SettingValueField, SettingVariant, SettingViewConnectionChoose, SettingViewSelect, ShareInfo, ShareModel, SizeBySection, StorageDivideElement, StorageElement, StorageElementFileInfo, StorageElementHistory, StorageElementPaste, StorageElementPasteParams, StorageElementVersion, StorageElementVersionLock, StorageInstance, StorageItemSizeParams, StorageItemSizePathParams, StorageRouteData, StorageSharingElement, StorageTrashElement, StorageTrashItem, TagIconExtension, UnZipRequestParams, UnionRestriction, UpdateCommentParams, UploadNetRequestParams, User, UserAppPasswordInfo, UserAppPasswords, UserDivide, UserGroup, UserInfo, UserLabel, UserNamesExtension, UserNotification, UserParams, UserPhone, UserRole, UserSession, UserToken, UsersLog, VersionLockRequestParams };
|
|
@@ -73,6 +73,15 @@ export interface ExtensionExternalInList {
|
|
|
73
73
|
version: string;
|
|
74
74
|
tags: string[];
|
|
75
75
|
links: string[];
|
|
76
|
+
downloads: number;
|
|
77
|
+
likes: number;
|
|
78
|
+
liked: false;
|
|
79
|
+
recommended: boolean;
|
|
80
|
+
iconTags: TagIconExtension[] | null;
|
|
81
|
+
}
|
|
82
|
+
export interface TagIconExtension {
|
|
83
|
+
tag: string;
|
|
84
|
+
icon: string | null;
|
|
76
85
|
}
|
|
77
86
|
export interface ExtensionExternal extends ExtensionExternalInList {
|
|
78
87
|
versions: VersionExtension[];
|