-
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
Xicheng Guo
committed
Jan 10, 2024
1 parent
fa20e19
commit 3674312
Showing
37 changed files
with
334 additions
and
334 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
4 changes: 2 additions & 2 deletions
4
src/__tests__/book-storage.test.ts → src/__tests__/book-repository.test.ts
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
4 changes: 2 additions & 2 deletions
4
src/__tests__/chat-storage.test.ts → src/__tests__/chat-repository.test.ts
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
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
4 changes: 2 additions & 2 deletions
4
src/__tests__/user-storage.test.ts → src/__tests__/user-repository.test.ts
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,8 +1,8 @@ | ||
import { createRequest } from "./request-lib/create-request"; | ||
import { BaseModel, GiteeStorage, GithubStorage, GitlabStorage, PlainObject } from "./storage-lib"; | ||
import { BaseModel, GiteeRepository, GitlabRepository, GithubRepository, PlainObject } from "./repository-lib"; | ||
import { SingletonFactory } from "./utils" | ||
export { | ||
createRequest, BaseModel, PlainObject, | ||
GiteeStorage, GithubStorage, GitlabStorage, SingletonFactory | ||
GiteeRepository, GitlabRepository, GithubRepository, SingletonFactory | ||
}; | ||
|
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions
12
src/storage-lib/base/base-model.ts → src/repository-lib/base/base-model.ts
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,7 +1,7 @@ | ||
import { Author } from "./author"; | ||
export interface BaseModel { | ||
id: number; | ||
updated_at: string; | ||
created_at: string; | ||
created_by: Author; | ||
import { Author } from "./author"; | ||
export interface BaseModel { | ||
id: number; | ||
updated_at: string; | ||
created_at: string; | ||
created_by: Author; | ||
} |
8 changes: 4 additions & 4 deletions
8
src/storage-lib/base/base-params.ts → src/repository-lib/base/base-params.ts
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 @@ | ||
import { GiteeParams } from "../gitee/gitee-params"; | ||
import { GithubParams } from "../github/github-params"; | ||
import { GitlabParams } from "../gitlab/gitlab-params"; | ||
|
||
import { GiteeParams } from "../gitee/gitee-params"; | ||
import { GithubParams } from "../github/github-params"; | ||
import { GitlabParams } from "../gitlab/gitlab-params"; | ||
|
||
export type BaseParams = GiteeParams | GithubParams | GitlabParams; |
Oops, something went wrong.