mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 16:23:12 +09:00
Add hidden and readonly config property
This commit is contained in:
4 files changed
+20
-4
No files matched your search
@@ -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> = {
|
||||
|
||||
Reference in new issue
Block a user