everything-dev
Version:
A consolidated product package for building Module Federation apps with oRPC APIs.
1 lines • 911 B
Source Map (JSON)
{"version":3,"file":"shared.mjs","names":[],"sources":["../../src/commands/shared.ts"],"sourcesContent":["import type { WithEffectContext } from \"@orpc/experimental-effect\";\nimport type { Implementer } from \"@orpc/server\";\nimport { Context } from \"effect\";\nimport type { bosContract } from \"../contract\";\nimport type { DatabaseBindingsService, DrizzleKitService } from \"../db\";\nimport type { ResolutionSession } from \"../resolution/session\";\n\nexport type BosDeps = {\n readonly session: ResolutionSession | null;\n databaseBindings: DatabaseBindingsService;\n drizzleKit: DrizzleKitService;\n};\n\nexport class BosDepsTag extends Context.Service<BosDepsTag, BosDeps>()(\"bos/BosDeps\") {}\n\nexport type BosBuilder = Implementer<\n typeof bosContract,\n Record<string, never> & WithEffectContext<any>\n>;\n"],"mappings":";;;AAaA,IAAa,aAAb,cAAgC,QAAQ,QAA6B,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC"}