ResolverDeps
@forge/monorepo / backend/src / ResolverDeps
Type Alias: ResolverDeps
ResolverDeps =
object
Defined in: backend/src/graphql/resolvers.ts:26
Properties
approvals
readonlyapprovals:ReturnType<typeofcreateApprovalService>
Defined in: backend/src/graphql/resolvers.ts:32
channelFor?
readonlyoptionalchannelFor?: (conversationId) =>string
Defined in: backend/src/graphql/resolvers.ts:54
Parameters
conversationId
Returns
string
conversations
readonlyconversations:ConversationStore
Defined in: backend/src/graphql/resolvers.ts:27
coordinator
readonlycoordinator:ConversationRunCoordinator
Defined in: backend/src/graphql/resolvers.ts:33
dispatcher
readonlydispatcher:JobDispatcher
Defined in: backend/src/graphql/resolvers.ts:34
eventLog
readonlyeventLog:RunEventLog
Defined in: backend/src/graphql/resolvers.ts:35
inspectContext?
readonlyoptionalinspectContext?: (execution,input) =>Promise<ContextInspection|null>
Defined in: backend/src/graphql/resolvers.ts:56
Host-provided context assembly for the inspector (providers are app-specific).
Parameters
execution
input
conversationId
runId?
Returns
Promise<ContextInspection | null>
live
readonlylive:LiveEventSource
Defined in: backend/src/graphql/resolvers.ts:53
questions
readonlyquestions:ReturnType<typeofcreateQuestionService>
Defined in: backend/src/graphql/resolvers.ts:31
quota?
readonlyoptionalquota?:QuotaGuard
Defined in: backend/src/graphql/resolvers.ts:43
Quota enforcement at admission (#139).
Optional: a deployment with no limits configured is valid, and its absence means unbounded — the same
direction resolveLimits takes, because a misconfigured quota that blocks everything is an outage and one
that blocks nothing is a bill the rollups make visible.
rateLimit?
readonlyoptionalrateLimit?:RateLimitGuard
Defined in: backend/src/graphql/resolvers.ts:45
Capacity, as distinct from spend — task #248. Absent means unchecked.
rollups?
readonlyoptionalrollups?:UsageRollupStore
Defined in: backend/src/graphql/resolvers.ts:52
Rollups for the spend panel (#140).
Optional for the same reason quota is: a deployment that has not run the rollup job yet should still
serve a usage query, from the ledger, rather than erroring. Its absence costs a chart, not the page.
runs
readonlyruns:RunStore
Defined in: backend/src/graphql/resolvers.ts:28
toolRegistry
readonlytoolRegistry:ToolRegistry
Defined in: backend/src/graphql/resolvers.ts:30
usage
readonlyusage:UsageStore
Defined in: backend/src/graphql/resolvers.ts:29