old_contents: import app from '../app';
  import BaseModel from './BaseModel';
  import ShippingAddresses from '../collections/ShippingAddresses';
  import AppearanceSettings from '../models/AppearanceSettings';
  import TransactionSettings from '../models/TransactionSettings';
  import ServerSettings from '../models/ServerSettings';
  import SMTPSettings from '../models/SMTPSettings';
  import SettingsAPIAdaptor from '../utils/settingsAPIAdaptor';
  
  export default class extends BaseModel {
    defaults() {
      return {
        paymentDataInQR: false,
        showNotifications: true,
        showNsfw: true,
        localCurrency: 'USD',
        country: 'UNITED_STATES',
        language: 'en-US',
        termsAndConditions: '',
        refundPolicy: '',
        blockedNodes: [],
        storeModerators: [],
      };
    }
  
    url() {
      return app.getServerUrl('ob/settings/');
    }
  
    get nested() {
      return {
        shippingAddresses: ShippingAddresses,
        appearanceSettings: AppearanceSettings,
        transactionSettings: TransactionSettings,
        serverSettings: ServerSettings,
        smtpSettings: SMTPSettings
      };
    }
  
    parse( response ) {
      const data = this.fromAPIFormatJSON( response );
      // make it immutable to highlight unintended modification errors
      Object.freeze( data );
      return data;
    }
  
    toModelFormatJSON( ) {
      return SettingsAPIAdaptor.convertAPIToModelFormat( super.toJSON( ) );
    }
  
    toAPIFormatJSON( ) {
      const raw = super.toJSON( );
      return SettingsAPIAdaptor.convertModelToAPIFormat( raw );
    }
  
    toJSON( ) {
      const apiFormat = this.toAPIFormatJSON( );
      // make it immutable to highlight unintended modification errors
      Object.freeze( apiFormat );
      return apiFormat;
    }
  
    fromAPIFormatJSON( response ) {
      return SettingsAPIAdaptor.convertAPIToModelFormat( response );
    }
  
    sync(method, model, options) {
      if (method === 'create' && typeof options.type === 'undefined') {
        // we will use PUT unless you explicitly save with POST,
        // e.g. model.save({}, { type: 'POST' })
        options.type = 'PUT';
      }
  
      return super.sync(method, model, options);
    }
  }
  
new_contents: import app from '../app';
  import BaseModel from './BaseModel';
  import ShippingAddresses from '../collections/ShippingAddresses';
  import AppearanceSettings from '../models/AppearanceSettings';
  import TransactionSettings from '../models/TransactionSettings';
  import ServerSettings from '../models/ServerSettings';
  import SMTPSettings from '../models/SMTPSettings';
  
  export default class extends BaseModel {
    defaults() {
      return {
        paymentDataInQR: false,
        showNotifications: true,
        showNsfw: true,
        localCurrency: 'USD',
        country: 'UNITED_STATES',
        language: 'en-US',
        termsAndConditions: '',
        refundPolicy: '',
        blockedNodes: [],
        storeModerators: [],
      };
    }
  
    url() {
      return app.getServerUrl('ob/settings/');
    }
  
    get nested() {
      return {
        shippingAddresses: ShippingAddresses,
        appearanceSettings: AppearanceSettings,
        transactionSettings: TransactionSettings,
        serverSettings: ServerSettings,
        smtpSettings: SMTPSettings
      };
    }
  
    parse( response ) {
      const data = this.fromAPIFormatJSON( response );
      return data;
    }
  
    toModelFormatJSON( ) {
      return super.toJSON( );
    }
  
    toAPIFormatJSON( ) {
      const raw = super.toJSON( );
      return raw;
    }
  
    toJSON( ) {
      const apiFormat = this.toAPIFormatJSON( );
      return apiFormat;
    }
  
    fromAPIFormatJSON( response ) {
      return response;
    }
  
    sync(method, model, options) {
      if (method === 'create' && typeof options.type === 'undefined') {
        // we will use PUT unless you explicitly save with POST,
        // e.g. model.save({}, { type: 'POST' })
        options.type = 'PUT';
      }
  
      return super.sync(method, model, options);
    }
  }
  
subject: Revert some changes and app does run.