-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
aninarafath6
committed
May 31, 2021
1 parent
7a8d899
commit ed043eb
Showing
12 changed files
with
138 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
import { FolderType } from "./dtaFileType.mode"; | ||
import { FileType } from "./file.model"; | ||
|
||
export interface CreateFileAction { | ||
type:Required<string>; | ||
payload:{ | ||
id:number | ||
name: string; | ||
} | ||
export interface FileExplorerReducer { | ||
type: string; | ||
payload: { | ||
id: number; | ||
name: string; | ||
files: FileType[]; | ||
folders: FolderType[] | ||
}; | ||
} | ||
|
||
export interface DeleteFileAction{ | ||
type:string, | ||
payload:{ | ||
id:number | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { FolderType } from "../../interfaces/dtaFileType.mode" | ||
import { CREATE_FOLDER } from "../types/folderTypes" | ||
|
||
|
||
export const createFolderAction = (payload:Partial<FolderType>)=>{ | ||
return{ | ||
type:CREATE_FOLDER, | ||
payload:payload | ||
} | ||
} |
Oops, something went wrong.
ed043eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
me-box – ./
me-box.vercel.app
me-box-git-main-aninarafath6.vercel.app
me-box-aninarafath6.vercel.app