@sports-alliance/sports-lib
Version:
A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc
18 lines (17 loc) • 596 B
TypeScript
import { DataJSONInterface } from '../data/data.json.interface';
import { Privacy } from '../privacy/privacy.class.interface';
import { ActivityJSONInterface } from '../activities/activity.json.interface';
import { FileType } from './adapters/file-type.enum';
export interface EventJSONInterface {
id?: string;
name: string;
srcFileType: FileType;
description: string | null;
isMerge: boolean;
privacy: Privacy;
powerCurve?: DataJSONInterface | null;
startDate: number;
endDate: number;
stats: DataJSONInterface;
activities: ActivityJSONInterface[];
}