forked from effect-app/boilerplate
-
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.
incomplete (frontend not updated)
- Loading branch information
Showing
29 changed files
with
86 additions
and
100 deletions.
There are no files selected for viewing
14 changes: 8 additions & 6 deletions
14
api/src/Blog.controllers.ts → api/src/Blog/Blog.controllers.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
6 changes: 3 additions & 3 deletions
6
api/src/services/DBContext/BlogPostRepo.ts → api/src/Blog/BlogPostRepo.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
6 changes: 3 additions & 3 deletions
6
api/src/resources/views/PostView.ts → api/src/Blog/PostView.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
7 changes: 3 additions & 4 deletions
7
api/src/resources/Operations.ts → api/src/Operations.resources.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { S } from "api/lib.js" | ||
import { NotFoundError } from "effect-app/client" | ||
import { User } from "./User.js" | ||
|
||
export class GetMe extends S.Req<GetMe>()("GetMe", {}, { success: User, failure: NotFoundError }) {} | ||
|
||
// codegen:start {preset: meta, sourcePrefix: src/User/} | ||
export const meta = { moduleName: "Me.resources" } as const | ||
// codegen:end |
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
8 changes: 4 additions & 4 deletions
8
api/src/resources/resolvers/UserResolver.ts → api/src/User/UserResolver.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
api/src/resources/views/UserView.ts → api/src/User/UserView.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
9 changes: 5 additions & 4 deletions
9
api/src/Users.controllers.ts → api/src/User/Users.controllers.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
// codegen:start {preset: barrel, include: ./*.controllers.ts, import: default} | ||
import blogControllers from "./Blog.controllers.js" | ||
import helloWorldControllers from "./HelloWorld.controllers.js" | ||
import meControllers from "./Me.controllers.js" | ||
import operationsControllers from "./Operations.controllers.js" | ||
import usersControllers from "./Users.controllers.js" | ||
|
||
export { blogControllers, helloWorldControllers, meControllers, operationsControllers, usersControllers } | ||
export { helloWorldControllers, operationsControllers } | ||
// codegen:end |
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 @@ | ||
// codegen:start {preset: barrel, include: ./lib/*.ts, exclude: ./lib/schema.ts} | ||
export * from "./lib/basicRuntime.js" | ||
export * from "./lib/layers.js" | ||
export * from "./lib/middleware.js" | ||
export * from "./lib/observability.js" | ||
export * from "./lib/req.js" | ||
export * from "./lib/routing.js" | ||
// codegen:end | ||
|
||
export * as S from "./lib/schema.js" |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import type {} from "@effect/platform/HttpClient" | ||
|
||
export { ClientEvents } from "./resources/Events.js" | ||
export { ClientEvents } from "./Events.js" | ||
|
||
// codegen:start {preset: barrel, include: ./resources/*.ts, exclude: [./resources/index.ts, ./resources/lib.ts, ./resources/integrationEvents.ts, ./resources/Messages.ts, ./resources/views.ts, ./resources/Events.ts], export: { as: 'PascalCase', postfix: 'Rsc' }} | ||
export * as BlogRsc from "./resources/Blog.js" | ||
export * as HelloWorldRsc from "./resources/HelloWorld.js" | ||
export * as MeRsc from "./resources/Me.js" | ||
export * as OperationsRsc from "./resources/Operations.js" | ||
export * as UsersRsc from "./resources/Users.js" | ||
// codegen:start {preset: barrel, include: ./**/*.resources.ts, exclude: [./resources/index.ts, ./resources/lib.ts, ./resources/integrationEvents.ts, ./resources/Messages.ts, ./resources/views.ts, ./resources/Events.ts], export: { as: 'PascalCase' }} | ||
export * as BlogResources from "./Blog/Blog.resources.js" | ||
export * as HelloWorldResources from "./HelloWorld.resources.js" | ||
export * as OperationsResources from "./Operations.resources.js" | ||
export * as MeResources from "./User/Me.resources.js" | ||
export * as UsersResources from "./User/Users.resources.js" | ||
// codegen:end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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