Skip to content

Commit 388d36b

Browse files
committed
Remove deprecated HDSLib.model export (use getHDSModel() instead)
1 parent 66fa0ae commit 388d36b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

ts/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ export type { SettingKey, SettingsValues, DateFormat, UnitSystem, Theme } from '
2424
export type { ProfileKey, ProfileValues } from './settings/HDSProfile.ts';
2525
export type { ConverterPack, ConversionResult as ConverterConversionResult, ObservationVector, SourceBlock } from './converters/types.ts';
2626

27-
export const model = (() => {
28-
console.warn('HDSLib.model is deprecated use getHDSModel() instead');
29-
return HDSModelInitAndSingleton.getModel();
30-
})();
31-
3227
export const getHDSModel = HDSModelInitAndSingleton.getModel;
3328
export const initHDSModel = HDSModelInitAndSingleton.initHDSModel;
3429
export { pryv, settings, HDSService, HDSModel, appTemplates, localizeText, localizeText as l, toolkit, logger, durationToSeconds, durationToLabel, computeReminders, eventToShortText, formatEventDate, MonitorScope, HDSSettings, SETTING_TYPES, HDSProfile, PROFILE_FIELDS, HDSModelConversions, HDSModelConverters, EuclidianDistanceEngine, HDSLibError };

0 commit comments

Comments
 (0)