Skip to content

Commit

Permalink
fix: make plugin settings optional
Browse files Browse the repository at this point in the history
settings not needed at this stage
  • Loading branch information
EresDev committed Dec 3, 2024
1 parent 93d5003 commit d644907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/plugin-inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface PluginInputs<T extends SupportedEventsU = SupportedEventsU, TU
* The kernel will extract those and pass them to the plugin,
* which are built into the context object from setup().
*/
export const pluginSettingsSchema = T.Object({}, { default: {} });
export const pluginSettingsSchema = T.Optional(T.Object({}, { default: {} }));

export const pluginSettingsValidator = new StandardValidator(pluginSettingsSchema);

Expand Down

0 comments on commit d644907

Please sign in to comment.