Skip to content

Commit

Permalink
Updated the TS Library. (#27)
Browse files Browse the repository at this point in the history
* Includes the new immediate_load and immediate_activate
  • Loading branch information
goetzrrGit authored Nov 4, 2024
1 parent d8614fd commit adaf057
Showing 1 changed file with 47 additions and 2 deletions.
49 changes: 47 additions & 2 deletions types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export interface SeqJson {
/**
* Immediate commands which are interpreted by FSW and not part of any sequence.
*/
immediate_commands?: ImmediateCommand[];
immediate_commands?: (ImmediateFswCommand | ImmediateLoad | ImmediateActivate)[];
/**
* Hardware commands which are not interpreted by FSW and not part of any sequence.
*/
Expand Down Expand Up @@ -370,14 +370,59 @@ export interface Load {
/**
* Object representing a single Immediate Command
*/
export interface ImmediateCommand {
export interface ImmediateFswCommand {
args: Args;
description?: Description;
metadata?: Metadata;
/**
* Command stem
*/
stem: string;
type?: 'command';
}
/**
* Untimed load object
*/
export interface ImmediateLoad {
args?: Args;
description?: Description;
/**
* Sequence target engine.
*/
engine?: number;
/**
* Onboard epoch to pass to the sequence for derivation of epoch-relative timetags
*/
epoch?: string;
metadata?: Metadata;
models?: Model[];
/**
* Onboard path and filename of sequence to be loaded.
*/
sequence: string;
type: 'load';
}
/**
* Untimed activate object
*/
export interface ImmediateActivate {
args?: Args;
description?: Description;
/**
* Sequence target engine.
*/
engine?: number;
/**
* Onboard epoch to pass to the sequence for derivation of epoch-relative timetags
*/
epoch?: string;
metadata?: Metadata;
models?: Model[];
/**
* Onboard path and filename of sequence to be loaded.
*/
sequence: string;
type: 'activate';
}
/**
* Object representing a single Hardware Command
Expand Down

0 comments on commit adaf057

Please sign in to comment.