export type CreateAppReducerTpe = {
  id: number | null;
  loading: boolean;
  leftCollapsed: boolean;
  rightCollapsed: boolean;
  scale: number;
  nodeScale: number;
  layersSelected: Array<string | number>; //ref_7987|panel_7986|group_6s663978n7|number
  componentsChildSelected: null | number;
  contextMenu: {
    visible: boolean;
    copyVisible: boolean;
    copyLoading: boolean;
    type: 'layer' | 'screen'; //这里只知道有这两种,后续有其他的再新增
    top: number;
    left: number;
    layerOptions: Array<{
      id: number | string;
      name: string;
      show: boolean;
      lock: boolean;
      dimension: { width: number; height: number; left: number; top: number };
    }>;
  };

  undoReducers: Array<
    Array<{
      id: number;
      name: string;
      uniqueTag: string;
      base: { name: string; module_name: string; version: string; show: number };
      config: Array<any>;
      dataConfigs: { static: { data: Array<any>; fields: Array<any> } };
      dataContainers: Array<{ id: number; enable: boolean; rank: number }>;
    }>
  >;
  // 单独显示图层id
  focusLayers: Array<string | number>; //ref_7987|panel_7986|group_6s663978n7|number
  componentConfigActiveKey: string;
  modalEdit: null | number;
  focusMode: boolean; //专注模式
  editId: null | number; // 文本编辑标识
};
