|
14144 | 14144 | "description": "Whether the field is hidden in the editor.", |
14145 | 14145 | "type": "boolean" |
14146 | 14146 | }, |
| 14147 | + "reactiveCondition": { |
| 14148 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 14149 | + "type": "object", |
| 14150 | + "properties": { |
| 14151 | + "watchFields": { |
| 14152 | + "type": "array", |
| 14153 | + "items": { |
| 14154 | + "type": "string" |
| 14155 | + }, |
| 14156 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 14157 | + }, |
| 14158 | + "requiredType": { |
| 14159 | + "type": "string", |
| 14160 | + "enum": ["oauth", "service_account"], |
| 14161 | + "description": "Credential kind required for this field or option to apply." |
| 14162 | + } |
| 14163 | + }, |
| 14164 | + "required": ["watchFields", "requiredType"], |
| 14165 | + "additionalProperties": false |
| 14166 | + }, |
14147 | 14167 | "condition": { |
14148 | 14168 | "description": "Condition under which the field applies at all.", |
14149 | 14169 | "$ref": "#/components/schemas/V2CatalogCondition" |
|
14162 | 14182 | "description": "Human-readable option label.", |
14163 | 14183 | "type": "string" |
14164 | 14184 | }, |
| 14185 | + "reactiveCondition": { |
| 14186 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 14187 | + "type": "object", |
| 14188 | + "properties": { |
| 14189 | + "watchFields": { |
| 14190 | + "type": "array", |
| 14191 | + "items": { |
| 14192 | + "type": "string" |
| 14193 | + }, |
| 14194 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 14195 | + }, |
| 14196 | + "requiredType": { |
| 14197 | + "type": "string", |
| 14198 | + "enum": ["oauth", "service_account"], |
| 14199 | + "description": "Credential kind required for this field or option to apply." |
| 14200 | + } |
| 14201 | + }, |
| 14202 | + "required": ["watchFields", "requiredType"], |
| 14203 | + "additionalProperties": false |
| 14204 | + }, |
14165 | 14205 | "hasIcon": { |
14166 | 14206 | "description": "Whether the option renders with an icon. The icon itself is not published.", |
14167 | 14207 | "type": "boolean" |
@@ -14911,12 +14951,52 @@ |
14911 | 14951 | "label": { |
14912 | 14952 | "type": "string", |
14913 | 14953 | "description": "Human-readable option label." |
| 14954 | + }, |
| 14955 | + "reactiveCondition": { |
| 14956 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 14957 | + "type": "object", |
| 14958 | + "properties": { |
| 14959 | + "watchFields": { |
| 14960 | + "type": "array", |
| 14961 | + "items": { |
| 14962 | + "type": "string" |
| 14963 | + }, |
| 14964 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 14965 | + }, |
| 14966 | + "requiredType": { |
| 14967 | + "type": "string", |
| 14968 | + "enum": ["oauth", "service_account"], |
| 14969 | + "description": "Credential kind required for this field or option to apply." |
| 14970 | + } |
| 14971 | + }, |
| 14972 | + "required": ["watchFields", "requiredType"], |
| 14973 | + "additionalProperties": false |
14914 | 14974 | } |
14915 | 14975 | }, |
14916 | 14976 | "required": ["id", "label"], |
14917 | 14977 | "additionalProperties": false |
14918 | 14978 | } |
14919 | 14979 | }, |
| 14980 | + "reactiveCondition": { |
| 14981 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 14982 | + "type": "object", |
| 14983 | + "properties": { |
| 14984 | + "watchFields": { |
| 14985 | + "type": "array", |
| 14986 | + "items": { |
| 14987 | + "type": "string" |
| 14988 | + }, |
| 14989 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 14990 | + }, |
| 14991 | + "requiredType": { |
| 14992 | + "type": "string", |
| 14993 | + "enum": ["oauth", "service_account"], |
| 14994 | + "description": "Credential kind required for this field or option to apply." |
| 14995 | + } |
| 14996 | + }, |
| 14997 | + "required": ["watchFields", "requiredType"], |
| 14998 | + "additionalProperties": false |
| 14999 | + }, |
14920 | 15000 | "condition": { |
14921 | 15001 | "description": "Condition under which the field applies.", |
14922 | 15002 | "$ref": "#/components/schemas/V2CatalogCondition" |
|
0 commit comments