mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
feat(types): add hideCosts option to organization and user settings
- Add hideCosts to OrganizationCloudSettings schema - Add hideCosts to UserSettingsConfig schema - Enables organization admins to control cost visibility for members - Allows users to toggle cost display in VS Code extension UI
This commit is contained in:
parent
586cf47fb2
commit
5566ed2525
1 changed files with 2 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ export const organizationCloudSettingsSchema = z.object({
|
|||
taskShareExpirationDays: z.number().int().positive().optional(),
|
||||
allowMembersViewAllTasks: z.boolean().optional(),
|
||||
workspaceTaskVisibility: workspaceTaskVisibilitySchema.optional(),
|
||||
hideCosts: z.boolean().optional(),
|
||||
})
|
||||
|
||||
export type OrganizationCloudSettings = z.infer<typeof organizationCloudSettingsSchema>
|
||||
|
|
@ -184,6 +185,7 @@ export type UserFeatures = z.infer<typeof userFeaturesSchema>
|
|||
export const userSettingsConfigSchema = z.object({
|
||||
extensionBridgeEnabled: z.boolean().optional(),
|
||||
taskSyncEnabled: z.boolean().optional(),
|
||||
hideCosts: z.boolean().optional(),
|
||||
})
|
||||
|
||||
export type UserSettingsConfig = z.infer<typeof userSettingsConfigSchema>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue