Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(config): add descriptions to JSON schema properties #25

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>;