11import { state } from "./RenderStateType"
22import { state as pipelineState } from "pipeline_manager/src/type/StateType"
33import { createState as createPipelineManagerState , registerPipeline , runPipeline , init } from "pipeline_manager"
4- import { getPipeline as getRenderInPCPipeline } from "renderInPC_pipeline/src/Main"
5- import { getPipeline as getJiaRenderInMobilePipeline } from "jia_renderInMobile_pipeline/src/Main"
6- import { getPipeline as getYiRenderInMobilePipeline } from "yi_renderInMobile_pipeline/src/Main"
4+ import * as RenderInPCPipeline from "renderInPC_pipeline/src/Main"
5+ import * as JiaRenderInMobilePipeline from "jia_renderInMobile_pipeline/src/Main"
6+ import * as YiRenderInMobilePipeline from "yi_renderInMobile_pipeline/src/Main"
77import { service as mostService } from "most/src/MostService"
88import { getExnFromStrictNull } from "commonlib-ts/src/NullableUtils"
99import { unsafeGetState , setState } from "./RenderStateContainer"
@@ -24,7 +24,7 @@ export let registerAllPipelines = (state: state) => {
2424 if ( _isPC ( ) ) {
2525 let pipelineManagerState = registerPipeline (
2626 state . pipelineManagerState ,
27- getRenderInPCPipeline ( ) ,
27+ RenderInPCPipeline . getPipeline ( ) ,
2828 [ ]
2929 )
3030
@@ -36,12 +36,12 @@ export let registerAllPipelines = (state: state) => {
3636 else {
3737 let pipelineManagerState = registerPipeline (
3838 state . pipelineManagerState ,
39- getJiaRenderInMobilePipeline ( ) ,
39+ JiaRenderInMobilePipeline . getPipeline ( ) ,
4040 [ ]
4141 )
4242 pipelineManagerState = registerPipeline (
4343 pipelineManagerState ,
44- getYiRenderInMobilePipeline ( ) ,
44+ YiRenderInMobilePipeline . getPipeline ( ) ,
4545 [
4646 {
4747 pipelineName : "render" ,
0 commit comments