Cleanup types, update dependencies (#455)

This commit is contained in:
Piotr Rogowski 2022-03-06 21:28:36 +01:00 committed by GitHub
parent 333a2c8eac
commit 5440561ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 306 additions and 294 deletions

583
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
import {
Config,
Logs,
TuneWithDetails,
} from '@speedy-tuner/types';
import { TuneWithDetails } from '../utils/tune/TuneParser';
import { TuneDbData } from './dbData';
export interface ConfigState extends Config {}

View File

@ -1,21 +1,8 @@
import { Tune } from '@speedy-tuner/types';
export interface TuneWithDetails extends Tune {
details: {
author: string;
tuneComment: string;
writeDate: string;
fileFormat: string;
firmwareInfo: string;
nPages: number;
signature: string;
};
}
import { TuneWithDetails } from '@speedy-tuner/types';
class TuneParser {
private isTuneValid = false;
// TODO: move this to types package
private tune: TuneWithDetails = {
constants: {},
details: {