nb-js-client 1.0.20 → 1.0.22
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.
|
@@ -57,6 +57,7 @@ export interface StorageElementPasteParams {
|
|
|
57
57
|
overwrite: boolean;
|
|
58
58
|
from_divide_id?: number | null;
|
|
59
59
|
to_divide_id?: number | null;
|
|
60
|
+
resolve_conflict_duplicate?: boolean;
|
|
60
61
|
}
|
|
61
62
|
export type CreateStorageElementParams = Pick<StorageElement, 'created_by_extension' | 'divide_id' | 'name' | 'type' | 'path'> & {
|
|
62
63
|
is_work_dir?: boolean;
|
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 {
|
|
@@ -1250,6 +1260,7 @@ interface StorageElementPasteParams {
|
|
|
1250
1260
|
overwrite: boolean;
|
|
1251
1261
|
from_divide_id?: number | null;
|
|
1252
1262
|
to_divide_id?: number | null;
|
|
1263
|
+
resolve_conflict_duplicate?: boolean;
|
|
1253
1264
|
}
|
|
1254
1265
|
type CreateStorageElementParams = Pick<StorageElement, 'created_by_extension' | 'divide_id' | 'name' | 'type' | 'path'> & {
|
|
1255
1266
|
is_work_dir?: boolean;
|
|
@@ -1665,4 +1676,4 @@ declare function normalizeHeaders(headers: Headers | [string, string][] | Record
|
|
|
1665
1676
|
declare function prepareRequestBody(body: unknown): XMLHttpRequestBodyInit | Document | null;
|
|
1666
1677
|
|
|
1667
1678
|
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 };
|
|
1679
|
+
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[];
|