From b405908600c63e14bd46edf9fe29e05776b2168d Mon Sep 17 00:00:00 2001 From: Patrick Roza Date: Sat, 11 Feb 2023 13:14:50 +0100 Subject: [PATCH] add missing rsc --- _project/api/_src/Usecases/Graph.Controllers.ts | 2 +- _project/resources/_src/Graph.ts | 4 ++++ _project/resources/_src/index.ts | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 _project/resources/_src/Graph.ts diff --git a/_project/api/_src/Usecases/Graph.Controllers.ts b/_project/api/_src/Usecases/Graph.Controllers.ts index f4c4c896a..927fe7e45 100644 --- a/_project/api/_src/Usecases/Graph.Controllers.ts +++ b/_project/api/_src/Usecases/Graph.Controllers.ts @@ -41,7 +41,7 @@ function request( ) ) return r - })["|>"](Effect.$.either) + })["|>"](Effect.either) : NoResponse } } diff --git a/_project/resources/_src/Graph.ts b/_project/resources/_src/Graph.ts new file mode 100644 index 000000000..c9876f869 --- /dev/null +++ b/_project/resources/_src/Graph.ts @@ -0,0 +1,4 @@ +// codegen:start {preset: barrel, include: ./Graph/*.ts, exclude: ./Graph/utils.ts, export: { as: 'PascalCase' }, nodir: false } +export * as Mutation from "./Graph/Mutation.js" +export * as Query from "./Graph/Query.js" +// codegen:end diff --git a/_project/resources/_src/index.ts b/_project/resources/_src/index.ts index 39e2dae54..9626f796b 100644 --- a/_project/resources/_src/index.ts +++ b/_project/resources/_src/index.ts @@ -5,6 +5,7 @@ export { ClientEvents } from "./Events.js" // codegen:start {preset: barrel, include: ./*.ts, exclude: [./_global*.ts, ./index.ts, ./lib.ts, ./Views.ts, ./errors.ts], export: { as: 'PascalCase', postfix: 'Rsc' }} export * as BlogRsc from "./Blog.js" export * as EventsRsc from "./Events.js" +export * as GraphRsc from "./Graph.js" export * as HelloWorldRsc from "./HelloWorld.js" export * as MeRsc from "./Me.js" export * as OperationsRsc from "./Operations.js"