@coursebuilder/core
Version:
Core package for Course Builder
53 lines (50 loc) • 1.96 kB
text/typescript
import { CourseBuilderConfig } from '../index.cjs';
import { R as RequestInternal, a as ResponseInternal } from '../adapters-DK4L3hbS.cjs';
import '@auth/core';
import 'inngest';
import './utils/logger.cjs';
import '../schemas/user-schema.cjs';
import 'zod';
import './pricing/format-prices-for-product.cjs';
import '../schemas/product-schema.cjs';
import '../schemas/purchase-schema.cjs';
import '@auth/core/adapters';
import '../schemas/coupon-schema.cjs';
import '../schemas/merchant-coupon-schema.cjs';
import '../schemas/merchant-customer-schema.cjs';
import '../schemas/merchant-product-schema.cjs';
import '../schemas/price-schema.cjs';
import '../schemas/purchase-user-transfer-schema.cjs';
import '../schemas/resource-progress-schema.cjs';
import '../schemas/video-resource.cjs';
import '../schemas/upgradable-product-schema.cjs';
import '../schemas/merchant-charge-schema.cjs';
import '../schemas/merchant-price-schema.cjs';
import '../schemas/content-resource-schema.cjs';
import '../schemas/merchant-account-schema.cjs';
import '../schemas/merchant-session.cjs';
import '../schemas/merchant-subscription.cjs';
import '../schemas/organization-member.cjs';
import '../schemas/organization-schema.cjs';
import '../schemas/subscription.cjs';
import '@auth/core/providers/nodemailer';
import 'ai';
import 'cookie';
import 'stripe';
import '@auth/core/providers';
import '../schemas/subscriber-schema.cjs';
import '../providers/partykit.cjs';
import '../providers/slack.cjs';
import '../schemas/purchase-info.cjs';
import '../schemas/subscription-info.cjs';
/**
* this is essentially a "router" for the coursebuilder api that
* routes the request to the appropriate action based on the action
* and providerId
*
* @param request
* @param courseBuilderOptions
* @returns
*/
declare function CourseBuilderInternal(request: RequestInternal, courseBuilderOptions: CourseBuilderConfig): Promise<ResponseInternal>;
export { CourseBuilderInternal };