nb-js-client 0.0.100 → 1.0.0

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.
@@ -12,9 +12,7 @@ export declare class ExtensionsApiService {
12
12
  setDefault(ext_code: string, ext_uniq_key: string): Promise<ExtensionDefault>;
13
13
  checkUpdates(): Promise<void>;
14
14
  updateVersion(id: number, version: string): Promise<Extension>;
15
- list(params?: ExtensionListParams): Promise<ResponseList<Extension & {
16
- with_settings: boolean;
17
- }>>;
15
+ list(params?: ExtensionListParams): Promise<ResponseList<Extension>>;
18
16
  delete(id: number, name: string): Promise<void>;
19
17
  upload(onProgress: OnUploadProgress, file: File): {
20
18
  promise: Promise<HttpEvent<ResponseItem<Extension>>>;
package/dist/index.d.ts CHANGED
@@ -700,23 +700,23 @@ declare enum ExtensionFileMode {
700
700
  }
701
701
  interface Extension {
702
702
  id: number;
703
+ version: string;
704
+ uniq_key: string;
705
+ name: Lang;
706
+ description: Lang;
703
707
  create_date: string;
704
708
  update_date: string;
705
- with_settings?: boolean;
706
- name: Lang;
709
+ icon: string;
710
+ type: ExtensionType;
711
+ path: string;
707
712
  devlocal?: boolean;
708
713
  dev_frame_params?: {
709
714
  engine: EngineType;
710
715
  host?: string;
711
716
  port?: number;
712
717
  };
713
- version: string;
714
718
  latest_repo_version?: string;
715
- description: Lang;
716
- uniq_key: string;
717
- icon: string;
718
- type: ExtensionType;
719
- path: string;
719
+ tags?: string[];
720
720
  file?: {
721
721
  mode: ExtensionFileMode;
722
722
  ext: string[];
@@ -733,6 +733,7 @@ interface Extension {
733
733
  work_dir?: {
734
734
  index: string;
735
735
  };
736
+ with_settings?: boolean;
736
737
  settings?: SettingValue[];
737
738
  settings_template?: Setting[];
738
739
  }
@@ -1169,9 +1170,7 @@ declare class ExtensionsApiService {
1169
1170
  setDefault(ext_code: string, ext_uniq_key: string): Promise<ExtensionDefault>;
1170
1171
  checkUpdates(): Promise<void>;
1171
1172
  updateVersion(id: number, version: string): Promise<Extension>;
1172
- list(params?: ExtensionListParams): Promise<ResponseList<Extension & {
1173
- with_settings: boolean;
1174
- }>>;
1173
+ list(params?: ExtensionListParams): Promise<ResponseList<Extension>>;
1175
1174
  delete(id: number, name: string): Promise<void>;
1176
1175
  upload(onProgress: OnUploadProgress, file: File): {
1177
1176
  promise: Promise<HttpEvent<ResponseItem<Extension>>>;
@@ -19,23 +19,23 @@ export declare enum ExtensionFileMode {
19
19
  }
20
20
  export interface Extension {
21
21
  id: number;
22
+ version: string;
23
+ uniq_key: string;
24
+ name: Lang;
25
+ description: Lang;
22
26
  create_date: string;
23
27
  update_date: string;
24
- with_settings?: boolean;
25
- name: Lang;
28
+ icon: string;
29
+ type: ExtensionType;
30
+ path: string;
26
31
  devlocal?: boolean;
27
32
  dev_frame_params?: {
28
33
  engine: EngineType;
29
34
  host?: string;
30
35
  port?: number;
31
36
  };
32
- version: string;
33
37
  latest_repo_version?: string;
34
- description: Lang;
35
- uniq_key: string;
36
- icon: string;
37
- type: ExtensionType;
38
- path: string;
38
+ tags?: string[];
39
39
  file?: {
40
40
  mode: ExtensionFileMode;
41
41
  ext: string[];
@@ -52,6 +52,7 @@ export interface Extension {
52
52
  work_dir?: {
53
53
  index: string;
54
54
  };
55
+ with_settings?: boolean;
55
56
  settings?: SettingValue[];
56
57
  settings_template?: Setting[];
57
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nb-js-client",
3
- "version": "0.0.100",
3
+ "version": "1.0.0",
4
4
  "main": "dist/bundle.cjs.js",
5
5
  "module": "dist/bundle.esm.js",
6
6
  "files": [