40 lines
1.9 KiB
TypeScript
40 lines
1.9 KiB
TypeScript
// Module ID: 17296
|
|
// Function ID: 17297
|
|
// Name: conjurePlanDesign
|
|
// Dependencies: [6947, 3849, 17283, 2]
|
|
// Exports: conjurePlanDesignAlt
|
|
|
|
// Module 17296 (conjurePlanDesign)
|
|
import _modDef3849 from "module_3849" /* 3849 */;
|
|
import ConjureProjectTypes from "ConjureProjectTypes" /* 6947 */;
|
|
import conjurePlanTags from "conjurePlanTags" /* 17283 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const CONJURE_PLAN_DESIGN_ALTS = {};
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.APP_CHANNEL] = _modDef3849["3/aHX6"];
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.VOICE_CHANNEL] = _modDef3849["3/aHX6"];
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.ACTIVITY] = _modDef3849["3/aHX6"];
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.OVERLAY] = _modDef3849["rPpf5/"];
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.PROFILE_WIDGET] = null;
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.AUTOMOD] = null;
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.BOT] = null;
|
|
CONJURE_PLAN_DESIGN_ALTS[ConjureProjectTypes.ConjureSupportedSurface.APPLICATION_COMMANDS] = null;
|
|
const items = [ConjureProjectTypes.ConjureSupportedSurface.OVERLAY, ConjureProjectTypes.ConjureSupportedSurface.ACTIVITY, ConjureProjectTypes.ConjureSupportedSurface.APP_CHANNEL, ConjureProjectTypes.ConjureSupportedSurface.VOICE_CHANNEL];
|
|
const result = size.fileFinishedImporting("modules/conjure/plan/conjurePlanDesign.tsx");
|
|
|
|
export { CONJURE_PLAN_DESIGN_ALTS };
|
|
export const conjurePlanDesignAlt = function conjurePlanDesignAlt(proposal) {
|
|
let obj;
|
|
let prop;
|
|
let closure_0 = proposal;
|
|
const found = items.find((item) => {
|
|
const obj = conjurePlanTags;
|
|
return obj.planDeclaresSurface(proposal, item);
|
|
});
|
|
if (null == found) {
|
|
prop = _modDef3849["3/aHX6"];
|
|
} else {
|
|
prop = obj[found];
|
|
}
|
|
return prop;
|
|
};
|