Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HistoryEntry schema #71

Closed
marcincichocki opened this issue May 2, 2021 · 0 comments
Closed

HistoryEntry schema #71

marcincichocki opened this issue May 2, 2021 · 0 comments

Comments

@marcincichocki
Copy link
Owner

marcincichocki commented May 2, 2021

History feature in electron app will require schema and migration configuration for future releases.

interface HistoryEntry {
  id: string; // uuid
  source: string | null; // path to source image(png or jpg) in `userData`. `null` if job succeded, unless flag is specified
  dateStart: string; // when job has started
  dateEnd: string; // when job has ended
  options: ?; // with what options job was started
  ocr: ?; // serialized BreachProtocolRecognitionResult map. *MUST* include base64 8bit fragment images. Should contain threshold?
  sequences: Sequence[]; // list of produced sequences. Need toJSON method
  game: BreachProtocol; // ? is this required?
  result: BreachProtocolResult;
  exitStrategy: ExitStrategy;
  status: boolean; // ok/err
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant