/* eslint-disable @typescript-eslint/no-unused-vars */
import {ObjectTreesApplicationInterface} from '../../application.interface';
import {ExtensionProvider} from '../../integration/extension.provider';
import {CalendarProvider} from '../calendar/calendar.provider';
import {ContentImageTemplateProvider} from '../content-image-template/content-image-template.provider';
import {WebSiteProvider} from '../web-site/web-site.provider';
import {
  CHOIR_CHOIR_FILES_SUBTYPE,
  CHOIR_FILES_TYPE,
  CHOIR_PROVIDER,
  CHOIR_TYPE,
  CHOIR_WEB_SITE_TEMPLATE_TYPE,
  FOLDER_CHOIR_SUBTYPE,
} from './choir.const';
export class ChoirProvider extends ExtensionProvider {
  constructor(protected app: ObjectTreesApplicationInterface) {
    super(CHOIR_PROVIDER, app);
    this.requiredProviders.push(
      WebSiteProvider,
      ContentImageTemplateProvider,
      CalendarProvider,
    );
    this.objectTypes.push(
      CHOIR_WEB_SITE_TEMPLATE_TYPE,
      CHOIR_TYPE,
      CHOIR_FILES_TYPE,
    );

    this.objectSubTypes.push(FOLDER_CHOIR_SUBTYPE, CHOIR_CHOIR_FILES_SUBTYPE);

    /*
    this.objectTrees.choir = {
      reset: false,
      parentNode: () => this.appCtx.publicTemplatesNode.value,
      treeNodeName: 'choirWebSite',
      treeNodeTypeId: CHOIR_WEB_SITE_TEMPLATE_TYPE.name,
      tree: {treeNode: {}, children: {}},
    };
    */
  }
}
