@coursebuilder/core
Version:
Core package for Course Builder
53 lines (50 loc) • 1.93 kB
TypeScript
import { CourseBuilderConfig } from '../index.js';
import { R as RequestInternal, a as ResponseInternal } from '../adapters-BjQ3VSch.js';
import '@auth/core';
import 'inngest';
import './utils/logger.js';
import '../schemas/user-schema.js';
import 'zod';
import './pricing/format-prices-for-product.js';
import '../schemas/product-schema.js';
import '../schemas/purchase-schema.js';
import '@auth/core/adapters';
import '../schemas/coupon-schema.js';
import '../schemas/merchant-coupon-schema.js';
import '../schemas/merchant-customer-schema.js';
import '../schemas/merchant-product-schema.js';
import '../schemas/price-schema.js';
import '../schemas/purchase-user-transfer-schema.js';
import '../schemas/resource-progress-schema.js';
import '../schemas/video-resource.js';
import '../schemas/upgradable-product-schema.js';
import '../schemas/merchant-charge-schema.js';
import '../schemas/merchant-price-schema.js';
import '../schemas/content-resource-schema.js';
import '../schemas/merchant-account-schema.js';
import '../schemas/merchant-session.js';
import '../schemas/merchant-subscription.js';
import '../schemas/organization-member.js';
import '../schemas/organization-schema.js';
import '../schemas/subscription.js';
import '@auth/core/providers/nodemailer';
import 'ai';
import 'cookie';
import 'stripe';
import '@auth/core/providers';
import '../schemas/subscriber-schema.js';
import '../providers/partykit.js';
import '../providers/slack.js';
import '../schemas/purchase-info.js';
import '../schemas/subscription-info.js';
/**
* 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 };