@tblabs/storage 5.8.2 → 5.8.3

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.
@@ -0,0 +1,4 @@
1
+ export interface DatasetInfo {
2
+ Name: string;
3
+ FilesCount: number;
4
+ }
package/DatasetInfo.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -8,6 +8,7 @@ import { IStorageUser } from "./IStorageUser";
8
8
  import { IConverter } from "./IConverter";
9
9
  import { IStorageUserPrivileges } from "./IStorageUserPrivileges";
10
10
  import { DatabaseInfo } from "./DatabaseInfo";
11
+ import { DatasetInfo } from "./DatasetInfo";
11
12
  export declare class OnlineStorage {
12
13
  private server;
13
14
  private database;
@@ -23,7 +24,7 @@ export declare class OnlineStorage {
23
24
  constructor(server: url, database: dir, sender?: ISender, bus?: MessageBus);
24
25
  SetServer(server: url): this;
25
26
  SetDatabase(database: dir): this;
26
- ListDatasets(): Promise<string[]>;
27
+ ListDatasets(): Promise<DatasetInfo[]>;
27
28
  ListUsers(): Promise<IStorageUser[]>;
28
29
  GetUser(userId: string): Promise<IStorageUser>;
29
30
  AddUser(user: IStorageUser): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tblabs/storage",
3
- "version": "5.8.2",
3
+ "version": "5.8.3",
4
4
  "description": "online storage module with auth",
5
5
  "license": "beerware",
6
6
  "main": "index.js",
Binary file
Binary file