SubInspectionWorkerGet: {
    cancelLabel: string;
    index: number;
    name: string;
    note?: string;
    noteType: NoteFunctionalityType;
    showCancelButton: boolean;
    showSubmitButton: boolean;
    submitLabel: string;
    tabBehavior: TabBehaviorType;
    tests: TestsInInspectionWorkerGet[];
    visibleInList: boolean;
}

Type declaration

  • cancelLabel: string

    The text which will appear in the 'Cancel' button on the sub-inspection.

  • index: number

    The index of the sub-inspection in the list. The first sub-inspection will have an index of 0.

  • name: string

    The name of the sub-inspection.

  • Optionalnote?: string

    The sub-inspection note. If set, this note will be appended to all of the test notes in the sub-inspection when it is submitted.

  • noteType: NoteFunctionalityType

    Determines when a note is required on the sub-inspection.

  • showCancelButton: boolean

    Whether the cancel button will appear on the sub-inspection.

  • showSubmitButton: boolean

    Whether the submit button will appear on the sub-inspection.

  • submitLabel: string

    The text which will appear in the 'Submit' button on the sub-inspection.

  • tabBehavior: TabBehaviorType

    The behavior for the tab key for the sub-inspection. nextSPC will cause spc tests to tab between each other.

  • tests: TestsInInspectionWorkerGet[]

    The list of tests in this sub-inspection.

  • visibleInList: boolean

    Whether or not the sub-inspection will show up in the list.