Add type for allowing org members to view all tasks (#6193)

This commit is contained in:
Matt Rubens 2025-07-24 22:16:43 -04:00 committed by GitHub
parent 7f70145cb1
commit 02118c5e7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@roo-code/types",
"version": "1.37.0",
"version": "1.39.0",
"description": "TypeScript type definitions for Roo Code.",
"publishConfig": {
"access": "public",

View file

@ -96,6 +96,7 @@ export const organizationCloudSettingsSchema = z.object({
recordTaskMessages: z.boolean().optional(),
enableTaskSharing: z.boolean().optional(),
taskShareExpirationDays: z.number().int().positive().optional(),
allowMembersViewAllTasks: z.boolean().optional(),
})
export type OrganizationCloudSettings = z.infer<typeof organizationCloudSettingsSchema>
@ -128,6 +129,7 @@ export const ORGANIZATION_DEFAULT: OrganizationSettings = {
recordTaskMessages: true,
enableTaskSharing: true,
taskShareExpirationDays: 30,
allowMembersViewAllTasks: true,
},
defaultSettings: {},
allowList: ORGANIZATION_ALLOW_ALL,