OpenDiscussionCommandHandlerConstructorParams
Constructor parameters for OpenDiscussionCommandHandler.
Import:
import type { OpenDiscussionCommandHandlerConstructorParams } from '@mnaoumov/obsidian-lib/command-handlers/open-discussion-command-handler';Signature:
export interface OpenDiscussionCommandHandlerConstructorParams extends GetGitHubDiscussionUrlParamsExtends: GetGitHubDiscussionUrlParams
Properties
| Property | Type | Description |
|---|---|---|
| category? | string | The category slug, such as q-a or ideas. The repository must have this category.(Inherited from GetGitHubDiscussionUrlParams) |
| gitHubRepo | string | The repository, as owner/name.(Inherited from GetGitHubDiscussionUrlParams) |
| isDiscussionsEnabled | boolean | Whether the repository has Discussions enabled. When false, the command is unavailable and execution does not open a browser. Prefer omitting registration altogether in that case. |