'use strict';

const dataModel = require('./data-model-f9df493f.js');
const tableConfig = require('./table-config-b20b4da1.js');

(function (AppViewType) {
  AppViewType["DetailView"] = "detail-view";
  AppViewType["FormView"] = "form-view";
  AppViewType["ListViewTable"] = "list-view-table";
  AppViewType["ListViewCard"] = "list-view-card";
  AppViewType["PairListViewCard"] = "pair-list-view-card";
  AppViewType["AtamaMemberPairDetailView"] = "atama-member-pair-detail-view";
  AppViewType["TakvimAvailabilitySettingsView"] = "takvim-availability-settings-view";
})(exports.AppViewType || (exports.AppViewType = {}));
class DvnAppViewConfig extends dataModel.DataModel {
  static decode(json) {
    const model = Object.assign(Object.create(DvnAppViewConfig.prototype), json);
    model.space = tableConfig.Space.decode(model.space);
    model.table = tableConfig.TableConfig.decode(model.table);
    return model;
  }
}

exports.DvnAppViewConfig = DvnAppViewConfig;
