-
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.
Browse files
Browse the repository at this point in the history
(계정분리 관련) 게시물 작성자 고정 / CUD 구역 생성
- Loading branch information
Showing
96 changed files
with
1,044 additions
and
648 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file removed
BIN
-115 KB
.yarn/cache/@ant-design-cssinjs-npm-1.18.4-24085a3978-c602809792.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+45 KB
.yarn/cache/@ant-design-cssinjs-utils-npm-1.1.1-e30bdb3b19-00cfaf1e5f.zip
Binary file not shown.
Binary file added
BIN
+15.7 KB
.yarn/cache/@ant-design-fast-color-npm-2.0.6-c76709cbac-01f81ff590.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-197 KB
.yarn/cache/@ant-design-react-slick-npm-1.0.2-7af1d8d832-c2a2d14270.zip
Binary file not shown.
Binary file added
BIN
+198 KB
.yarn/cache/@ant-design-react-slick-npm-1.1.2-4d15ec3292-e3f310ceb0.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+69.4 KB
.yarn/cache/@rc-component-async-validator-npm-5.0.4-f3a060f9a3-30de0a62cd.zip
Binary file not shown.
Binary file removed
BIN
-38.1 KB
.yarn/cache/@rc-component-color-picker-npm-1.5.1-c1fcf8802d-b8997f4844.zip
Binary file not shown.
Binary file added
BIN
+43.4 KB
.yarn/cache/@rc-component-color-picker-npm-2.0.1-93fb276f32-0c1f45362f.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-27.1 KB
.yarn/cache/@rc-component-tour-npm-1.12.3-627b55a812-1a137d235e.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-63.5 KB
.yarn/cache/@rc-component-trigger-npm-1.18.3-02693bd849-272098e67b.zip
Binary file not shown.
Binary file added
BIN
+63.5 KB
.yarn/cache/@rc-component-trigger-npm-2.2.5-7412384fc9-5ce0e012cf.zip
Binary file not shown.
Binary file renamed
BIN
+10.3 MB
...antd-npm-5.14.0-b5521dc402-81a2163b54.zip → ...antd-npm-5.22.2-91974648c4-59e02a4c47.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+337 KB
...yjs-npm-1.11.10-2b4382efc1-a6b5a3813b.zip → ...yjs-npm-1.11.13-d478bb9479-f388db88a6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+120 KB
...ation-npm-4.0.4-ed07c5fc62-2ff6f2dd6a.zip → ...ation-npm-4.3.0-9bb3dfebff-7f75327557.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+17.6 KB
...oltip-npm-6.1.3-58034e9c58-f67cf4e409.zip → ...oltip-npm-6.2.1-9a99ec3d6b-adf0cf0b63.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Card } from 'antd'; | ||
import styled from 'styled-components'; | ||
|
||
// eslint-disable-next-line import/prefer-default-export | ||
export const HistoryArea = styled(Card)` | ||
position: absolute; | ||
bottom: 0; | ||
right: 0; | ||
z-index: 5; | ||
width: 300px; | ||
height: 110px; | ||
overflow: auto; | ||
border: none; | ||
.ant-card-body { | ||
padding: 0; | ||
} | ||
`; |
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,25 @@ | ||
import { List } from 'antd'; | ||
import { CardProps } from 'antd/lib'; | ||
import { HistoryInfo } from 'model/history.model'; | ||
import * as S from './HistoryArea.style'; | ||
|
||
interface HistoryAreaProps { | ||
historys: HistoryInfo[], | ||
creator?: string, | ||
created_at?: string, | ||
} | ||
|
||
export default function HistoryArea({ | ||
historys, creator, created_at, ...args | ||
}: HistoryAreaProps & CardProps) { | ||
return ( | ||
<S.HistoryArea {...args}> | ||
<List | ||
dataSource={historys} | ||
renderItem={(item) => <List.Item style={{ padding: '0', border: 'none' }}>{`${item.created_at} ${item.request_method} (${item.name})`}</List.Item>} | ||
locale={{ emptyText: ' ' }} | ||
/> | ||
<div>{`${created_at} 생성 (${creator})`}</div> | ||
</S.HistoryArea> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export interface HistoryInfo { | ||
id: number; | ||
domain_id: number; | ||
name: string; | ||
domain_name: string; | ||
request_method: string; | ||
request_message: string; | ||
created_at: string; | ||
} | ||
|
||
export interface HistorysRequest { | ||
page: number; | ||
limit?: number; | ||
requestMethod?: string; | ||
domainName?: string; | ||
domainId?: number; | ||
} | ||
|
||
export interface HistorysResponse { | ||
total_count: number; | ||
current_count: number; | ||
total_page: number; | ||
current_page: number; | ||
historys: HistoryInfo[]; | ||
} |
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,9 @@ | ||
import styled from 'styled-components'; | ||
|
||
export * from './DeleteWarning.style'; | ||
|
||
export * from 'components/common/HistoryArea/HistoryArea.style'; | ||
|
||
export const Container = styled.div` | ||
position: relative; | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { createApi } from '@reduxjs/toolkit/query/react'; | ||
import { HistorysRequest, HistorysResponse } from 'model/history.model'; | ||
import baseQueryReauth from 'store/api/baseQueryReauth'; | ||
|
||
export const historyApi = createApi({ | ||
reducerPath: 'historyApi', | ||
tagTypes: ['historys'], | ||
|
||
baseQuery: baseQueryReauth, | ||
|
||
endpoints: (builder) => ({ | ||
getHistorys: builder.query<HistorysResponse, HistorysRequest>({ | ||
query: ({ page, domainId = null, limit = 30 }) => ({ | ||
url: `admin/historys?page=${page}&limit=${limit}${domainId ? `&domainId=${domainId}` : ''}`, | ||
}), | ||
providesTags: [{ type: 'historys', id: 'HISTORYS' }], | ||
}), | ||
}), | ||
refetchOnMountOrArgChange: true, | ||
}); | ||
|
||
export const { | ||
useGetHistorysQuery, | ||
} = historyApi; |
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
Oops, something went wrong.