|
|
@@ -1,6 +1,7 @@
|
|
|
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
|
|
|
|
|
|
import type { RootState } from "../store";
|
|
|
+import { ISettingModels } from "../load";
|
|
|
|
|
|
export interface IAuthor {
|
|
|
name: string;
|
|
|
@@ -15,6 +16,9 @@ export interface ISite {
|
|
|
description: string;
|
|
|
copyright: string;
|
|
|
author: IAuthor;
|
|
|
+ settings?: {
|
|
|
+ models?: ISettingModels;
|
|
|
+ };
|
|
|
}
|
|
|
|
|
|
interface IState {
|