bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Add Engine typings to Gantt and SchedulerPro bundles #7514

Open chuckn0rris opened 1 year ago

chuckn0rris commented 1 year ago

We have public Engine classes which are not reachable in TypeScript bundles, it needs to be available.

Forum post

Hi, I am using Scheduler Pro (5.4.0) with react, in my typescript project. I don't want to render the histogram on my UI but want to get the resource utilisation/allocation data for a particular resource for any given interval of time, to store in my backend.

I came across this forum post with a similar requirement for bryntum Gantt: viewtopic.php?p=93795 . But I am unable to import those classes.

import {
    CalculatedValueGen,
    ResourceAllocationInfo,
    CalendarModel
} from '@bryntum/schedulerpro/schedulerpro.umd.js';

Module '"@bryntum/schedulerpro/schedulerpro.umd.js"' has no exported member 'CalculatedValueGen'.

Can you point me to where I can import ResourceAllocationInfo, CalculatedValueGen classes from? or if there are other ways to get this info. Any help is appreciated, thanks!

marciogurka commented 3 months ago

Another report here