5
resources/js/interfaces/IList.ts
Normal file
5
resources/js/interfaces/IList.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface IList {
|
||||
id: string;
|
||||
date: string;
|
||||
isLoaded: boolean;
|
||||
}
|
6
resources/js/interfaces/IPage.ts
Normal file
6
resources/js/interfaces/IPage.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface IPage {
|
||||
id: string;
|
||||
date: string;
|
||||
title: string;
|
||||
content: string;
|
||||
}
|
12
resources/js/interfaces/IPages.ts
Normal file
12
resources/js/interfaces/IPages.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import {IList} from "./IList";
|
||||
import * as React from "react";
|
||||
|
||||
export interface IPages {
|
||||
pages: IList[];
|
||||
url: string;
|
||||
removeUrl: string;
|
||||
csrf: string;
|
||||
passphrase: string;
|
||||
loadPages: React.MutableRefObject<() => void>;
|
||||
setAllLoaded: React.Dispatch<React.SetStateAction<boolean>>;
|
||||
}
|
10
resources/js/interfaces/PropPage.ts
Normal file
10
resources/js/interfaces/PropPage.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Ref } from "react";
|
||||
import {IList} from "./IList";
|
||||
|
||||
export interface PropPage {
|
||||
page: IList;
|
||||
url: string;
|
||||
passphrase: string;
|
||||
remove: (id) => void;
|
||||
ref: Ref<IList>;
|
||||
}
|
Reference in New Issue
Block a user