From 59b8d5b1faa0eaf0ff0efbc651f31fa20d72f854 Mon Sep 17 00:00:00 2001 From: rrgoetz Date: Mon, 11 Nov 2024 08:47:47 -1000 Subject: [PATCH] Update the e2e snapshot. --- .../__snapshots__/command-types.spec.ts.snap | 49 ++++++++++++++++++- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/sequencing-server/test/__snapshots__/command-types.spec.ts.snap b/sequencing-server/test/__snapshots__/command-types.spec.ts.snap index b18805597b..1b254011d2 100644 --- a/sequencing-server/test/__snapshots__/command-types.spec.ts.snap +++ b/sequencing-server/test/__snapshots__/command-types.spec.ts.snap @@ -3969,7 +3969,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. */ @@ -4238,7 +4238,7 @@ export interface Load { /** * Object representing a single Immediate Command */ -export interface ImmediateCommand { +export interface ImmediateFswCommand { args: Args; description?: Description; metadata?: Metadata; @@ -4246,6 +4246,51 @@ export interface ImmediateCommand { * 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