-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #395 from boostcampwm-2022/dev
Deploy: 6주차 배포
- Loading branch information
Showing
60 changed files
with
1,795 additions
and
1,034 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import { BlockType } from '@wabinar/constants/block'; | ||
import LinkedList, { | ||
RemoteDeleteOperation, | ||
RemoteInsertOperation, | ||
} from '@wabinar/crdt/linked-list'; | ||
|
||
export interface LoadType { | ||
id: string; | ||
} | ||
|
||
export interface LoadedType { | ||
type: BlockType; | ||
} | ||
|
||
export interface UpdateType { | ||
id: string; | ||
type: BlockType; | ||
} | ||
|
||
export interface UpdatedType { | ||
id: string; | ||
type: BlockType; | ||
} | ||
|
||
export interface InitText { | ||
id: string; | ||
} | ||
|
||
export interface InitializedText { | ||
id: string; | ||
crdt: LinkedList; | ||
} | ||
|
||
export interface InsertText { | ||
id: string; | ||
op: RemoteInsertOperation; | ||
} | ||
|
||
export interface InsertedText { | ||
id: string; | ||
op: RemoteInsertOperation; | ||
} | ||
|
||
export interface DeleteText { | ||
id: string; | ||
op: RemoteDeleteOperation; | ||
} | ||
|
||
export interface DeletedText { | ||
id: string; | ||
op: RemoteDeleteOperation; | ||
} | ||
|
||
export interface UpdateText { | ||
id: string; | ||
ops: RemoteInsertOperation[]; | ||
} | ||
|
||
export interface UpdatedText { | ||
id: string; | ||
crdt: LinkedList; | ||
} |
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,52 @@ | ||
import LinkedList, { | ||
RemoteDeleteOperation, | ||
RemoteInsertOperation, | ||
} from '@wabinar/crdt/linked-list'; | ||
|
||
export type Mom = { | ||
_id: string; | ||
title: string; | ||
createdAt: Date; | ||
}; | ||
|
||
export interface Created { | ||
mom: Mom; | ||
} | ||
|
||
export interface Select { | ||
id: string; | ||
} | ||
|
||
export interface Selected { | ||
mom: Mom; | ||
} | ||
|
||
export interface UpdateTitle { | ||
title: string; | ||
} | ||
|
||
export interface UpdatedTitle { | ||
title: string; | ||
} | ||
|
||
export interface Initialized { | ||
crdt: LinkedList; | ||
} | ||
|
||
export interface InsertBlock { | ||
blockId: string; | ||
op: RemoteInsertOperation; | ||
} | ||
|
||
export interface InsertedBlock { | ||
op: RemoteInsertOperation; | ||
} | ||
|
||
export interface DeleteBlock { | ||
blockId: string; | ||
op: RemoteDeleteOperation; | ||
} | ||
|
||
export interface DeletedBlock { | ||
op: RemoteDeleteOperation; | ||
} |
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,5 +1,5 @@ | ||
module.exports = { | ||
preset: 'ts-jest', // to use typescript | ||
verbose: true, | ||
modulePathIgnorePatterns: ['<rootDir>/dist/'], | ||
collectCoverage: true, | ||
}; |
Oops, something went wrong.