Class TaskGenerateTsDefinitions

java.lang.Object
com.vaadin.flow.server.frontend.AbstractFileGeneratorFallibleCommand
io.jmix.flowui.devserver.frontend.AbstractTaskClientGenerator
io.jmix.flowui.devserver.frontend.TaskGenerateTsDefinitions
All Implemented Interfaces:
com.vaadin.flow.server.frontend.FallibleCommand

public class TaskGenerateTsDefinitions extends AbstractTaskClientGenerator
Generate types.d.ts if it is missing in project folder and tsconfig.json exists in project folder.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static boolean
    Keeps track of whether a warning update has already been logged.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected String
    Get file content for writing to the generated file.
    protected File
    Get the generated file where content will be written.
    protected boolean
    Check if it should generate the file or not.

    Methods inherited from class com.vaadin.flow.server.frontend.AbstractFileGeneratorFallibleCommand

    setGeneratedFileSupport, track, track, writeIfChanged, writeIfChanged

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • warningEmitted

      protected static boolean warningEmitted
      Keeps track of whether a warning update has already been logged. This is used to avoid spamming the log with the same message.
  • Method Details