@ironcode/vas-lib 1.13.0 → 1.14.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.
@@ -1,11 +1,12 @@
1
1
  import { VasFileDto } from './vas-file.dto';
2
2
  import { VasRestrictedAccountObjectDto } from './vas-restricted-account-object.dto';
3
3
  import { VasFieldDto, VasFieldDtoValue } from './vas-field.dto';
4
- import { GeoLocation } from '../model/geo-location';
4
+ import { GeoLocation } from '../model';
5
5
  import { VasReportDto } from './vas-report.dto';
6
6
  import { VasTaskDto } from './vas-task.dto';
7
7
  import { VasNoteDto } from './vas-note.dto';
8
8
  import { VasJobEmailDto } from './vas-job-email.dto';
9
+ import { VasInstructionDto } from './vas-instruction.dto';
9
10
  export interface VasJobStaticDto extends VasRestrictedAccountObjectDto {
10
11
  reference: string;
11
12
  jobDate: string;
@@ -26,5 +27,6 @@ export interface VasJobStaticDto extends VasRestrictedAccountObjectDto {
26
27
  notes: Array<VasNoteDto>;
27
28
  reports: Array<VasReportDto>;
28
29
  tasks: Array<VasTaskDto>;
30
+ instruction: null | VasInstructionDto;
29
31
  }
30
32
  export declare type VasJobDto = VasJobStaticDto & Record<string, VasFieldDtoValue>;
@@ -10,6 +10,7 @@ import { VasReportDto } from './vas-report.dto';
10
10
  import { VasTaskDto } from './vas-task.dto';
11
11
  import { VasNoteDto } from './vas-note.dto';
12
12
  import { VasJobEmailDto } from './vas-job-email.dto';
13
+ import { VasInstructionDto } from './vas-instruction.dto';
13
14
  export declare interface VasJobModelDynamicInterface {
14
15
  [s: string]: string | number | Record<string, VasFieldDtoValue>;
15
16
  }
@@ -51,7 +52,8 @@ export declare class VasJobModel extends VasRestrictedAccountObjectModel {
51
52
  notes: Array<VasNoteDto>;
52
53
  reports: Array<VasReportDto>;
53
54
  tasks: Array<VasTaskDto>;
54
- constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, accessGroup: string, reference: string, jobDate: string, jobStatus: string, jobType: string, assigneeId: string, formId: string, timeZoneOffset: number, pendingFields: number, childModified: string, version: number, createdByDisplayName: string, modifiedByDisplayName: string, geoLocation: GeoLocation, files: Array<VasFileDto>, fields: Array<VasFieldDto>, jobEmails: Array<VasJobEmailDto>, notes: Array<VasNoteDto>, reports: Array<VasReportDto>, tasks: Array<VasTaskDto>);
55
+ instruction: VasInstructionDto | null;
56
+ constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, account: string, accessGroup: string, reference: string, jobDate: string, jobStatus: string, jobType: string, assigneeId: string, formId: string, timeZoneOffset: number, pendingFields: number, childModified: string, version: number, createdByDisplayName: string, modifiedByDisplayName: string, geoLocation: GeoLocation, files: Array<VasFileDto>, fields: Array<VasFieldDto>, jobEmails: Array<VasJobEmailDto>, notes: Array<VasNoteDto>, reports: Array<VasReportDto>, tasks: Array<VasTaskDto>, instruction: VasInstructionDto | null);
55
57
  /**
56
58
  * Returns this with the dynamic interface
57
59
  * @return {VasJobModelDynamicInterface}
@@ -87,7 +89,7 @@ export declare class VasJobModel extends VasRestrictedAccountObjectModel {
87
89
  * Will return an object whose keys are the names of all fields in the job.
88
90
  * This method is similar to `getFields` except that this method will only
89
91
  * return values where a value was set, as opposed to `getFields` which will
90
- * return a value for every control even if not value was set, because it uses
92
+ * return a value for every control even if no value was set, because it uses
91
93
  * the form to drive the logic. Note also this method will return values for
92
94
  * any Fields in the fields array.
93
95
  * @return {Record<string, VasFieldDtoValue>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironcode/vas-lib",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "peerDependencies": {
5
5
  "angular2-uuid": "^1.1.1",
6
6
  "moment": "^2.0.0"
package/cjs/package.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@ironcode/vas-lib",
3
- "version": "1.13.0",
4
- "type": "commonjs"
5
- }