mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-08 01:13:27 +01:00
16 lines
No EOL
574 B
JavaScript
16 lines
No EOL
574 B
JavaScript
import modellerUISubject from "./subjects/modellerTPI";
|
|
import {createSketcherTPI} from "./subjects/sketcherTPI";
|
|
import {constant} from "lstream";
|
|
|
|
export const ModesConfig = {
|
|
modellerUI: {
|
|
testSubject: win => modellerUISubject(win.__CAD_APP),
|
|
startPage: 'http://localhost:3000/index.html#TestProject',
|
|
loadStream: win => win.__CAD_APP.streams.lifecycle.projectLoaded
|
|
},
|
|
sketcherUI: {
|
|
testSubject: win => createSketcherTPI(win.__CAD_APP),
|
|
startPage: 'http://localhost:3000/sketcher.html#TestProject',
|
|
loadStream: win => constant(true)
|
|
},
|
|
}; |