@causalfoundry/js-sdk
Version:
Causal Foundry WEB SDK (JS/TS)
52 lines (50 loc) • 1.86 kB
text/typescript
import {
CfLog,
ECommerce,
ELearning,
PatientMgmt,
Loyalty,
Navigation,
Payments,
ReferenceGuide,
CallCenter,
EmergencyMgmt,
Social
} from '.';
import * as CommonTypings from "./core/commonTypes"
import * as NavigationTypings from "./modules/Navigation/typings"
import * as ECommerceTypings from "./modules/ECommerce/typings"
import * as ELearningTypings from "./modules/ELearning/typings"
import * as LoyaltyTypings from "./modules/Loyalty/typings"
import * as PaymentsTypings from "./modules/Payments/typings"
import * as PatientMgmtTypings from "./modules/PatientMgmt/typings"
import * as CallCenterTypings from "./modules/CallCenter/typings"
import * as EmergencyMgmtTypings from "./modules/EmergencyMgmt/typings"
/*
This file includes each class in window, to make
them available from a CDN repository
*/
if (window) {
(window as any).CfLog = CfLog;
(window as any).ECommerce = ECommerce;
(window as any).ELearning = ELearning;
(window as any).ReferenceGuide = ReferenceGuide;
(window as any).PatientMgmt = PatientMgmt;
(window as any).Loyalty = Loyalty;
(window as any).Navigation = Navigation;
(window as any).Payments = Payments;
(window as any).Social = Social;
(window as any).CallCenter = CallCenter;
(window as any).EmergencyMgmt = EmergencyMgmt;
(window as any).CommonTypings = CommonTypings;
(window as any).NavigationTypings = NavigationTypings;
(window as any).ECommerceTypings = ECommerceTypings;
(window as any).ELearningTypings = ELearningTypings;
(window as any).LoyaltyTypings = LoyaltyTypings;
(window as any).PaymentsTypings = PaymentsTypings;
(window as any).PatientMgmtTypings = PatientMgmtTypings;
(window as any).CallCenterTypings = CallCenterTypings;
(window as any).EmergencyMgmtTypings = EmergencyMgmtTypings;
} else {
console.log('Need browser environment')
}