Skip to content

Commit

Permalink
this type needs to be in app-shell too
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Oct 17, 2024
1 parent 4e7b195 commit f6d09b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app-shell/src/config/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ import type {
export const configInitialized = (config: Config): ConfigInitializedAction => ({
type: CONFIG_INITIALIZED,
payload: { config },
meta: { shell: true },
})

// config value has been updated
Expand All @@ -120,6 +121,7 @@ export const configValueUpdated = (
): ConfigValueUpdatedAction => ({
type: VALUE_UPDATED,
payload: { path, value },
meta: { shell: true },
})

export const customLabwareList = (
Expand Down
2 changes: 2 additions & 0 deletions app-shell/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ export type CLEAR_CACHE_TYPE = 'discovery:CLEAR_CACHE'
export interface ConfigInitializedAction {
type: CONFIG_INITIALIZED_TYPE
payload: { config: Config }
meta: { shell: true }
}

export interface ConfigValueUpdatedAction {
type: CONFIG_VALUE_UPDATED_TYPE
payload: { path: string; value: any }
meta: { shell: true }
}

0 comments on commit f6d09b9

Please sign in to comment.