dataset-types 3.2.5 → 3.2.7

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 (3) hide show
  1. package/index.d.ts +3 -2
  2. package/index.js +0 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -30,7 +30,7 @@ export interface INamedEntity extends IEntity, IName, IContext {
30
30
  }
31
31
  export interface ITimed {
32
32
  createdBy: string;
33
- createdAt: Date;
33
+ createdAt: Date | string;
34
34
  effective?: string;
35
35
  }
36
36
  export interface IDocumentReference extends IDataRow {
@@ -203,6 +203,7 @@ export interface IDataGridAction<Type> {
203
203
  disabled?: IGridActionDisabled<Type>;
204
204
  onClick?: IGridAction<Type>;
205
205
  }
206
+ export type API_POST_FILE_SLICE = (filetype: string, content: string | ArrayBuffer, name: string, documenttype: string, level: string, sliceNumber: number, totalSlices: number, meta: any) => Promise<ICommandResult>;
206
207
  export interface IManageDataSetConfiguration {
207
208
  context: string;
208
209
  projectcontext: string;
@@ -232,7 +233,7 @@ export interface IManageDataSetConfiguration {
232
233
  createDocument?: (d: IDocument, stuff: any) => Promise<ICommandResult>;
233
234
  queryValidationData?: (datatype: string, entities: string[]) => Promise<ICommandResult>;
234
235
  queryRecords?: (documenttype: string, datatype: string, encoding: string) => Promise<ICommandResult>;
235
- postFileSlice?: (filetype: string, content: string | ArrayBuffer, name: string, documenttype: string, sliceNumber: number, totalSlices: number, meta: any) => Promise<ICommandResult>;
236
+ postFileSlice?: API_POST_FILE_SLICE;
236
237
  postReplay: {
237
238
  [datatype: string]: API_POST_REPLAY;
238
239
  };
package/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.2.5",
3
+ "version": "3.2.7",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",