import { DataModel } from '@dvn/core/models/data-model';
import { Space } from '@dvn/core/models/space';
import { TableConfig } from '@dvn/core/models/table-config';
export var AppViewType;
(function (AppViewType) {
  AppViewType["CompositeViewLinear"] = "composite-view-linear";
  AppViewType["DetailViewCard"] = "detail-view-card";
  AppViewType["FormView"] = "form-view";
  AppViewType["ListViewTable"] = "list-view-table";
  AppViewType["ListViewCard"] = "list-view-card";
  AppViewType["PairListViewCard"] = "pair-list-view-card";
  AppViewType["TestPlaceholderView"] = "test-placeholder-view";
  AppViewType["AtamaMemberPairDetailView"] = "atama-member-pair-detail-view";
  AppViewType["AtamaMemberPairsOverviewView"] = "atama-member-pairs-overview-view";
  AppViewType["TakvimAvailabilitySettingsView"] = "takvim-availability-settings-view";
  AppViewType["TakvimAvailableTimePickerView"] = "takvim-available-time-picker-view";
  AppViewType["TakvimMeetingListViewTable"] = "takvim-meeting-list-view-table";
})(AppViewType || (AppViewType = {}));
export class DvnAppViewConfig extends DataModel {
  static decode(json) {
    const model = Object.assign(Object.create(DvnAppViewConfig.prototype), json);
    model.space = Space.decode(model.space);
    model.table = TableConfig.decode(model.table);
    return model;
  }
}
