1
1
import { state } from "./RenderStateType"
2
2
import { state as pipelineState } from "pipeline_manager/src/type/StateType"
3
3
import { 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"
7
7
import { service as mostService } from "most/src/MostService"
8
8
import { getExnFromStrictNull } from "commonlib-ts/src/NullableUtils"
9
9
import { unsafeGetState , setState } from "./RenderStateContainer"
@@ -24,7 +24,7 @@ export let registerAllPipelines = (state: state) => {
24
24
if ( _isPC ( ) ) {
25
25
let pipelineManagerState = registerPipeline (
26
26
state . pipelineManagerState ,
27
- getRenderInPCPipeline ( ) ,
27
+ RenderInPCPipeline . getPipeline ( ) ,
28
28
[ ]
29
29
)
30
30
@@ -36,12 +36,12 @@ export let registerAllPipelines = (state: state) => {
36
36
else {
37
37
let pipelineManagerState = registerPipeline (
38
38
state . pipelineManagerState ,
39
- getJiaRenderInMobilePipeline ( ) ,
39
+ JiaRenderInMobilePipeline . getPipeline ( ) ,
40
40
[ ]
41
41
)
42
42
pipelineManagerState = registerPipeline (
43
43
pipelineManagerState ,
44
- getYiRenderInMobilePipeline ( ) ,
44
+ YiRenderInMobilePipeline . getPipeline ( ) ,
45
45
[
46
46
{
47
47
pipelineName : "render" ,
0 commit comments