import { Node } from "@counterfactual/types" ; import { RequestHandler } from "../../../request-handler" ; import { NodeController } from "../../controller" ; export default class GetProposedAppInstanceController extends NodeController { public static readonly methodName = Node . MethodName . GET_PROPOSED_APP_INSTANCE ; protected async executeMethodImplementation ( requestHandler , params ) { return { appInstance : await requestHandler . store . getAppInstanceProposal ( params . appInstanceId ) } ; } }