Skip to content

Commit

Permalink
Merge pull request #25 from ubq-testing/development
Browse files Browse the repository at this point in the history
fix(config): add descriptions to JSON schema properties
  • Loading branch information
gentlementlegen authored Dec 4, 2024
2 parents de774d8 + 802b919 commit a9a268d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"properties": {
"allowPublicQuery": {
"default": true,
"description": "Allows any user to query anyone else. If false, only org members can query others.",
"type": "boolean"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/types/plugin-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const pluginSettingsSchema = T.Object({
/**
* Allows any user to query anyone else. If false, only org members can query others.
*/
allowPublicQuery: T.Optional(T.Boolean({ default: true })),
allowPublicQuery: T.Optional(T.Boolean({ default: true, description: "Allows any user to query anyone else. If false, only org members can query others." })),
});

export type PluginSettings = StaticDecode<typeof pluginSettingsSchema>;

0 comments on commit a9a268d

Please sign in to comment.