-
Notifications
You must be signed in to change notification settings - Fork 4
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 #176 from connect-foundation/develop
5주차 릴리스
- Loading branch information
Showing
233 changed files
with
11,912 additions
and
3,025 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea/** |
This file was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,15 @@ | ||
import {InviteRepositoryType} from "core/use-case/invite-repository-type"; | ||
import {InviteApi} from "data/http/api/invite-api"; | ||
import {InviteRepository} from "data/repository/invite-repository"; | ||
|
||
export class InviteRepositoryDependency { | ||
private readonly inviteRepository: InviteRepositoryType; | ||
|
||
constructor(api: InviteApi) { | ||
this.inviteRepository = new InviteRepository(api); | ||
} | ||
|
||
getInviteRepository(): InviteRepositoryType { | ||
return this.inviteRepository; | ||
} | ||
} |
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,15 @@ | ||
import { ProfileApi } from "data/http/api/profile-api"; | ||
import { ProfileRepository } from "data/repository/profile-repository"; | ||
import { ProfileRepositoryType } from "core/use-case/profile-repository-type"; | ||
|
||
export class ProfileRepositoryDependency { | ||
private readonly profileRepository: ProfileRepositoryType; | ||
|
||
constructor(api: ProfileApi) { | ||
this.profileRepository = new ProfileRepository(api); | ||
} | ||
|
||
getProfileRepository(): ProfileRepositoryType { | ||
return this.profileRepository; | ||
} | ||
} |
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,15 @@ | ||
import { SnugApi } from "data/http/api/snug-api"; | ||
import { SnugRepository } from "data/repository/snug-repository"; | ||
import { SnugRepositoryType } from "core/use-case/snug-repository-type"; | ||
|
||
export class SnugRepositoryDependency { | ||
private readonly postRepository: SnugRepositoryType; | ||
|
||
constructor(api: SnugApi) { | ||
this.postRepository = new SnugRepository(api); | ||
} | ||
|
||
getSnugRepository(): SnugRepositoryType { | ||
return this.postRepository; | ||
} | ||
} |
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,15 @@ | ||
import { UserApi } from "data/http/api/user-api"; | ||
import { UserRepositoryType } from "core/use-case/user-repository-type"; | ||
import { UserRepository } from "data/repository/user-repository"; | ||
|
||
export class UserRepositoryDependency { | ||
private readonly userRepository: UserRepositoryType; | ||
|
||
constructor(api: UserApi) { | ||
this.userRepository = new UserRepository(api); | ||
} | ||
|
||
getUserRepository(): UserRepositoryType { | ||
return this.userRepository; | ||
} | ||
} |
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
19 changes: 18 additions & 1 deletion
19
client/src/@context/storage-providers/storage-providers.tsx
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,3 +1,20 @@ | ||
import { BrowserStorage } from "data/browser-storage/browser-storage"; | ||
import { JsonWebToken } from "core/model/json-web-token-model"; | ||
import { JsonWebTokenMapper } from "data/browser-storage/custom-mapper/json-web-tocken-mapper"; | ||
import { StorageType } from "data/browser-storage/browser-storage-helper"; | ||
|
||
export class StorageProviderDependencies { | ||
constructor() {} | ||
private readonly jwtLocal: BrowserStorage<JsonWebToken>; | ||
|
||
constructor() { | ||
this.jwtLocal = new BrowserStorage( | ||
"jwt", | ||
new JsonWebTokenMapper(), | ||
StorageType.LOCAL | ||
); | ||
} | ||
|
||
getJwtLocal(): BrowserStorage<JsonWebToken> { | ||
return this.jwtLocal; | ||
} | ||
} |
Oops, something went wrong.