/** * @typedef {Object} IWebinar_OLD * @property {string} title Webinar title * @property {string} description Webinar description * @property {string} image Link to webinar image * @property {string} poster_link Link to webinar poster * @property {Date} date_start Webinar date start * @property {Date} date_end Webinar date end * @property {Date} registration_end Date when registration ends * @property {string} bukti_link Link to gform registration * @property {string[]} speakers List of speakers * @property {boolean} coaching Indicates if there is coaching for this webinar * @property {boolean} modul Indicates if there is a module for this webinar * @property {string[]} modulData List of modules provided * @property {number} price Price of the webinar in IDR Rupiah * @property {boolean} video Indicates if there is a video for this webinar * @property {number} videoprice Price of the video in IDR Rupiah * @property {string} recording_link Link to the webinar's recording * @property {string} modul_link Full path of the webinar's module pdf */ /** * @typedef {Object} WebinarPosters * @property {string} sm aspect ratio should be 4:5 * @property {string} lg aspect ratio should be 16:5 */ /** * @typedef {Object} WebinarLinks * @property {WebinarPosters} poster storage paths to posters * @property {string} video_link * @property {string} module_link * @property {string} wa_group_link * @property {string} meeting_link */ /** * @typedef {Object} WebinarSpeaker * @property {string} name * @property {string} best_achievement * @property {string} photo storage path to photo */ /** * @typedef {Object} WebinarDescription * @property {string} topic * @property {string[]} purpose * @property {string[]} benefits */ /** * @typedef {Object} WebinarExecution * @property {{event_start: Date, event_end: Date, registration_end: Date}} dates * @property {string} platform * @property {number} price IDR Rupiah */ /** * @typedef {Object} IWebinar * @property {WebinarLinks} links * @property {string} title * @property {WebinarSpeaker[]} speakers * @property {WebinarDescription} description * @property {WebinarExecution} execution_info * @property {number} [schema_ver=2] */ /** * @type {IWebinar} */ export class Webinar { constructor({ links, description, execution_info, speakers, title }: Omit); schema_ver: number; description: WebinarDescription; execution_info: WebinarExecution; links: WebinarLinks; speakers: WebinarSpeaker[]; title: string; } export type IWebinar_OLD = { /** * Webinar title */ title: string; /** * Webinar description */ description: string; /** * Link to webinar image */ image: string; /** * Link to webinar poster */ poster_link: string; /** * Webinar date start */ date_start: Date; /** * Webinar date end */ date_end: Date; /** * Date when registration ends */ registration_end: Date; /** * Link to gform registration */ bukti_link: string; /** * List of speakers */ speakers: string[]; /** * Indicates if there is coaching for this webinar */ coaching: boolean; /** * Indicates if there is a module for this webinar */ modul: boolean; /** * List of modules provided */ modulData: string[]; /** * Price of the webinar in IDR Rupiah */ price: number; /** * Indicates if there is a video for this webinar */ video: boolean; /** * Price of the video in IDR Rupiah */ videoprice: number; /** * Link to the webinar's recording */ recording_link: string; /** * Full path of the webinar's module pdf */ modul_link: string; }; export type WebinarPosters = { /** * aspect ratio should be 4:5 */ sm: string; /** * aspect ratio should be 16:5 */ lg: string; }; export type WebinarLinks = { /** * storage paths to posters */ poster: WebinarPosters; video_link: string; module_link: string; wa_group_link: string; meeting_link: string; }; export type WebinarSpeaker = { name: string; best_achievement: string; /** * storage path to photo */ photo: string; }; export type WebinarDescription = { topic: string; purpose: string[]; benefits: string[]; }; export type WebinarExecution = { dates: { event_start: Date; event_end: Date; registration_end: Date; }; platform: string; /** * IDR Rupiah */ price: number; }; export type IWebinar = { links: WebinarLinks; title: string; speakers: WebinarSpeaker[]; description: WebinarDescription; execution_info: WebinarExecution; schema_ver?: number | undefined; }; //# sourceMappingURL=index.d.ts.map