code: function buildBaseTemplate(appConfig, processTypescript) {
      const config = appConfig.appConfig;
      if (config && (config.isDaemon || config.serverMode === 'api')) {
          return persistor(null, null, superType);
      }
  
      let baseTemplate = persistor(null, null, semotus);
  
      if (processTypescript) {
          semotus.bindDecorators(baseTemplate);
      }
  
      return baseTemplate;
  }
docs: Build the base template based on the app config.
  
  @param {Object} appConfig - The application config.
  
  @returns {Object} The base template object.