decord/alpha/source/modules/conjure/projects/openConjureProject.tsx

40 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 12297
// Function ID: 12298
2026-10-05 08:00:40 +00:00
// Name: openConjureProject
2026-10-09 10:00:15 +00:00
// Dependencies: [1085, 2071, 1112, 2]
2026-10-06 11:16:32 +00:00
// Exports: openConjureForMe, openConjureProject
2026-10-09 10:00:15 +00:00
// Module 12297 (openConjureProject)
2026-10-03 08:58:59 +00:00
import Constants from "Constants" /* 1085 */;
import router_utils from "router_utils" /* 1112 */;
2026-10-09 10:00:15 +00:00
import ChannelConstants from "ChannelConstants" /* 2071 */;
import size from "module_2" /* 2 */;
const Routes = Constants.Routes;
const StaticChannelRoute = ChannelConstants.StaticChannelRoute;
2026-10-06 11:16:32 +00:00
const target = "target";
2026-10-05 08:00:40 +00:00
const result = size.fileFinishedImporting("modules/conjure/projects/openConjureProject.tsx");
2026-10-06 11:16:32 +00:00
export const CONJURE_TARGET_PARAM = "target";
2026-10-05 08:00:40 +00:00
export const openConjureProject = function openConjureProject(id, projectId) {
2026-10-03 08:58:59 +00:00
let CHANNELResult;
const transitionTo = router_utils.transitionTo;
router_utils;
if (null == projectId) {
2026-10-05 08:00:40 +00:00
CHANNELResult = Routes.CHANNEL(id, StaticChannelRoute.CONJURE);
} else {
2026-10-05 08:00:40 +00:00
CHANNELResult = Routes.CHANNEL(id, StaticChannelRoute.CONJURE, projectId);
}
2026-10-03 08:58:59 +00:00
transitionTo(CHANNELResult);
};
2026-10-06 11:16:32 +00:00
export const openConjureForMe = function openConjureForMe(arg0) {
let str;
const transitionTo = router_utils.transitionTo;
const obj = { search: str.toString() };
const obj2 = { [closure_1_4]: "user" };
router_utils;
const CHANNELResult = Routes.CHANNEL(arg0, StaticChannelRoute.CONJURE);
str = new URLSearchParams(obj2);
transitionTo(CHANNELResult, obj);
};