Add hidden and readonly config property

This commit is contained in:
Cooldude2606 committed 2024-09-21 01:52:01 +01:00
1 parent 3e6806ff0e
commit e3eb266704
4 files changed
+20 -4

No files matched your search

+9
View File
@@ -122,6 +122,15 @@ export interface FieldDefinition {
* from the locations specified.
*/
credential?: ConfigLocation[];
/**
* True if graphical interfaces should prevent the user modifying the value
* This is client side and does not provide any validation logic
*/
readonly?: boolean;
/**
* True if graphical interfaces should hide the config value
*/
hidden?: boolean;
}
export type ConfigDefs<Fields> = {