Axinom Mosaic Libraries
    Preparing search index...

    Function getBasicGraphQlConfigDefinitions

    • Get the basic configuration definitions for GraphQL-specific settings

      Parameters

      • defaultPort: number
      • variables: Dict<string | undefined> = process.env

        process.env variables or custom provided values

      • Optionallogger: LoggerFn

      Returns { graphqlGuiEnabled: () => boolean; port: () => number }

      The following configuration values are included:

      port // e.g. PORT=8080
      graphqlGuiEnabled // e.g. GRAPHQL_GUI_ENABLED=true
      • graphqlGuiEnabled: () => boolean
        GRAPHQL_GUI_ENABLED=true
        
      • port: () => number
        PORT=8080