dataset-types 3.0.47 → 3.2.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.
Files changed (2) hide show
  1. package/index.d.ts +8 -8
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -76,18 +76,18 @@ export interface IModelService {
76
76
  upsertBatch: (type: string, entity: any[]) => Promise<IPersistResult>;
77
77
  }
78
78
  export interface IFileService {
79
- download2: (context: string, log: boolean, txmode: string, //production/development/test
79
+ download2: (tenant: string, context: string, log: boolean, txmode: string, //production/development/test
80
80
  filetype: string, reference: string, encoding: BufferEncoding) => Promise<String | null>;
81
- downloadToFile: (localfilename: string, tenantid: string, log: boolean, filetype: string, reference: string, txmode: string) => Promise<any>;
82
- sendBlock: (tenantid: string, log: boolean, txmode: string, //production/development/test
81
+ downloadToFile: (localfilename: string, tenantid: string, context: string, log: boolean, filetype: string, reference: string, txmode: string) => Promise<any>;
82
+ sendBlock: (tenantid: string, context: string, log: boolean, txmode: string, //production/development/test
83
83
  filetype: string, content: string, key: string, //blob id
84
84
  sliceNumber: number, totalSlices: number, meta: any, //meta data
85
85
  tags: any) => void;
86
86
  copy: (sourceContainer: string, sourceFile: string, targetContainer: string, targetFile: string) => Promise<void>;
87
- list: (tenantid: string, log: boolean, page: number, pageSize: number, term: string, mode: string, recordtype: string, enabled: boolean, order: string) => Promise<IDatasetFiles>;
88
- remove: (tenantid: string, mode: string, name: string) => Promise<boolean>;
89
- setMeta: (tenantid: string, mode: string, name: string, status: string) => Promise<boolean>;
90
- getContainerName: (tenantid: string, log: boolean, txMode: string) => string;
87
+ list: (tenantid: string, context: string, log: boolean, page: number, pageSize: number, term: string, mode: string, recordtype: string, enabled: boolean, order: string) => Promise<IDatasetFiles>;
88
+ remove: (tenantid: string, context: string, mode: string, name: string) => Promise<boolean>;
89
+ setMeta: (tenantid: string, context: string, mode: string, name: string, status: string) => Promise<boolean>;
90
+ getContainerName: (tenantid: string, context: string, log: boolean, txMode: string) => string;
91
91
  }
92
92
  export interface ILogService {
93
93
  archive: (context: string, projectcontext: string, submissionid: string, username: string, log: ILog[], processingtype?: string) => Promise<string>;
@@ -251,7 +251,7 @@ export interface IDataTypeMeta {
251
251
  tooltip: string;
252
252
  value: (ci: IConfigurationItem) => string;
253
253
  }
254
- export type HOOK_USE_FILES = (context: string, projectcontext: string, term: string, recordtype: string, onlyenabled: boolean, hash: number, page: number, pageSize: number) => IResults<any>;
254
+ export type HOOK_USE_FILES = (context: string, projectcontext: string, term: string, recordtype: string, onlyenabled: boolean, level: string, hash: number, page: number, pageSize: number) => IResults<any>;
255
255
  export type POST_SUBMIT_SAMPLE = () => any;
256
256
  export interface IManageDatasetReplayConfiguration {
257
257
  context: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.47",
3
+ "version": "3.2.0",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",