Skip to content

Commit

Permalink
chore: config examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Nov 27, 2024
1 parent f3bc570 commit 1a37aec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/types/plugin-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ export const pluginSettingsSchema = T.Object(
{
globalConfigUpdate: T.Optional(
T.Object({
excludeRepos: T.Array(T.String(), { description: "List of repositories to exclude from being updated" }),
excludeRepos: T.Array(T.String(), { examples: ["repo-name", "no-owner-required"], description: "List of repositories to exclude from being updated" }),
}, { description: "Updates all price labels across all tasks based on `baseRateMultiplier` changes within the config file." }),
),
labels: T.Object(
{
time: T.Array(
T.Object({
name: T.String({ description: "The display name of the label representing estimated task length" }),
name: T.String({ examples: ["Time: <2 Hours", "Time: <1 Week"], description: "The display name of the label representing estimated task length" }),
collaboratorOnly: T.Boolean({ default: false, description: "Whether the task is only available for collaborators to be assigned" }),
}),
{ default: [] }
),
priority: T.Array(
T.Object({
name: T.String({ description: "The display name of the label representing task priority" }),
name: T.String({ examples: ["Priority: 1 (Normal)", "Priority: 5 (Emergency)"], description: "The display name of the label representing task priority" }),
collaboratorOnly: T.Boolean({ default: false, description: "Whether the task is only available for collaborators to be assigned" }),
}),
{ default: [] }
),
},
{ default: {} }
),
basePriceMultiplier: T.Number({ default: 1, description: "The base price multiplier for all tasks" }),
basePriceMultiplier: T.Number({ examples: [1.5], default: 1, description: "The base price multiplier for all tasks" }),
publicAccessControl: T.Object(
{
setLabel: T.Boolean({ default: false, description: "Whether to allow anyone to set labels, false to perform permission validation" }),
Expand Down

0 comments on commit 1a37aec

Please sign in to comment.