SubInspectionWorkerUpdate: {
    cancelLabel?: string | null;
    name?: string;
    note?: string | null;
    noteType?: NoteFunctionalityType;
    showCancelButton?: boolean;
    showSubmitButton?: boolean;
    submitLabel?: string | null;
    tabBehavior?: TabBehaviorType;
    visibleInList?: boolean;
}

Type declaration

  • OptionalcancelLabel?: string | null

    The text which will appear in the 'Cancel' button on the sub-inspection. Setting this to null will revert it to the default value. This property will do nothing if showCancelButton is false.

  • Optionalname?: string

    Update the name of the sub-inspection.

  • Optionalnote?: string | null

    Change 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.

  • OptionalnoteType?: NoteFunctionalityType

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

  • OptionalshowCancelButton?: boolean

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

  • OptionalshowSubmitButton?: boolean

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

  • OptionalsubmitLabel?: string | null

    The text which will appear in the 'Submit' button on the sub-inspection. Setting this to null will revert it to the default value. This property will do nothing if showSubmitButton is false.

  • OptionaltabBehavior?: TabBehaviorType

    Change the tab behavior of the sub-inspection. nextSPC will cause spc tests to tab between each other.

  • OptionalvisibleInList?: boolean

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