@servicenow/sdk - v4.4.1
    Preparing search index...

    Type Alias ExtractInputTableByField<TInputs, DependentField>

    ExtractInputTableByField: DependentField extends keyof TInputs
        ? TInputs[DependentField] extends TableName
            ? TInputs[DependentField]
            : never
        : never

    Extract the table name from inputs using the dependent field name. Dynamically looks up the field specified by the 'dependent' property in the output.

    Type Parameters

    • TInputs

      The inputs object

    • DependentField extends string

      The field name to look up (from output's dependent property)