github.com/wfusion/gofusion@v1.1.14/common/infra/asynq/asynqmon/ui/src/global.d.ts (about)

     1  interface Window {
     2    // FLAG values are assigned by server under the window object.
     3    // parseFlagsUnderWindow function parses these values and assigns the interpretted value under the window.
     4    FLAG_ROOT_PATH: string;
     5    FLAG_PROMETHEUS_SERVER_ADDRESS: string;
     6    FLAG_READ_ONLY: string;
     7  
     8    // Root URL path for asynqmon app.
     9    // ROOT_PATH should not have the tailing slash.
    10    ROOT_PATH: string;
    11  
    12    // Prometheus server address to query time series data.
    13    // This field is set to empty string by default. Use this field only if it's set.
    14    PROMETHEUS_SERVER_ADDRESS: string;
    15  
    16    // If true, app hides buttons/links to make non-GET requests to the API server.
    17    READ_ONLY: boolean;
    18  }