chore: update the name of metadata

This commit is contained in:
BluJ
2023-05-09 16:54:42 -06:00
parent cc057ea222
commit 5536dfb55f
5 changed files with 15 additions and 15 deletions

View File

@@ -45,9 +45,9 @@ export namespace ExpectedExports {
}
}
export type actionsMetaData = (options: {
export type actionsMetadata = (options: {
effects: Effects
}) => Promise<Array<ActionMetaData>>
}) => Promise<Array<ActionMetadata>>
/**
* This is the entrypoint for the main container. Used to start up something like the service that the
@@ -154,7 +154,7 @@ export type DaemonReturned = {
term(): Promise<void>
}
export type ActionMetaData = {
export type ActionMetadata = {
name: string
description: string
id: string
@@ -320,7 +320,7 @@ export type Effects = {
*
* @param options
*/
exportAction(options: ActionMetaData): Promise<void>
exportAction(options: ActionMetadata): Promise<void>
/**
* Remove an action that was exported. Used problably during main or during setConfig.
*/