|
14164 | 14164 | "description": "Whether the field is hidden in the editor.", |
14165 | 14165 | "type": "boolean" |
14166 | 14166 | }, |
| 14167 | + "reactiveCondition": { |
| 14168 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 14169 | + "type": "object", |
| 14170 | + "properties": { |
| 14171 | + "watchFields": { |
| 14172 | + "type": "array", |
| 14173 | + "items": { |
| 14174 | + "type": "string" |
| 14175 | + }, |
| 14176 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 14177 | + }, |
| 14178 | + "requiredType": { |
| 14179 | + "type": "string", |
| 14180 | + "enum": ["oauth", "service_account"], |
| 14181 | + "description": "Credential kind required for this field or option to apply." |
| 14182 | + } |
| 14183 | + }, |
| 14184 | + "required": ["watchFields", "requiredType"], |
| 14185 | + "additionalProperties": false |
| 14186 | + }, |
14167 | 14187 | "condition": { |
14168 | 14188 | "description": "Condition under which the field applies at all.", |
14169 | 14189 | "$ref": "#/components/schemas/V2CatalogCondition" |
|
14182 | 14202 | "description": "Human-readable option label.", |
14183 | 14203 | "type": "string" |
14184 | 14204 | }, |
| 14205 | + "reactiveCondition": { |
| 14206 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 14207 | + "type": "object", |
| 14208 | + "properties": { |
| 14209 | + "watchFields": { |
| 14210 | + "type": "array", |
| 14211 | + "items": { |
| 14212 | + "type": "string" |
| 14213 | + }, |
| 14214 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 14215 | + }, |
| 14216 | + "requiredType": { |
| 14217 | + "type": "string", |
| 14218 | + "enum": ["oauth", "service_account"], |
| 14219 | + "description": "Credential kind required for this field or option to apply." |
| 14220 | + } |
| 14221 | + }, |
| 14222 | + "required": ["watchFields", "requiredType"], |
| 14223 | + "additionalProperties": false |
| 14224 | + }, |
14185 | 14225 | "hasIcon": { |
14186 | 14226 | "description": "Whether the option renders with an icon. The icon itself is not published.", |
14187 | 14227 | "type": "boolean" |
@@ -14931,12 +14971,52 @@ |
14931 | 14971 | "label": { |
14932 | 14972 | "type": "string", |
14933 | 14973 | "description": "Human-readable option label." |
| 14974 | + }, |
| 14975 | + "reactiveCondition": { |
| 14976 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 14977 | + "type": "object", |
| 14978 | + "properties": { |
| 14979 | + "watchFields": { |
| 14980 | + "type": "array", |
| 14981 | + "items": { |
| 14982 | + "type": "string" |
| 14983 | + }, |
| 14984 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 14985 | + }, |
| 14986 | + "requiredType": { |
| 14987 | + "type": "string", |
| 14988 | + "enum": ["oauth", "service_account"], |
| 14989 | + "description": "Credential kind required for this field or option to apply." |
| 14990 | + } |
| 14991 | + }, |
| 14992 | + "required": ["watchFields", "requiredType"], |
| 14993 | + "additionalProperties": false |
14934 | 14994 | } |
14935 | 14995 | }, |
14936 | 14996 | "required": ["id", "label"], |
14937 | 14997 | "additionalProperties": false |
14938 | 14998 | } |
14939 | 14999 | }, |
| 15000 | + "reactiveCondition": { |
| 15001 | + "description": "Credential-kind requirement for this field or option; inspect the selected credential before using it.", |
| 15002 | + "type": "object", |
| 15003 | + "properties": { |
| 15004 | + "watchFields": { |
| 15005 | + "type": "array", |
| 15006 | + "items": { |
| 15007 | + "type": "string" |
| 15008 | + }, |
| 15009 | + "description": "Credential selector fields; the first populated value identifies the credential." |
| 15010 | + }, |
| 15011 | + "requiredType": { |
| 15012 | + "type": "string", |
| 15013 | + "enum": ["oauth", "service_account"], |
| 15014 | + "description": "Credential kind required for this field or option to apply." |
| 15015 | + } |
| 15016 | + }, |
| 15017 | + "required": ["watchFields", "requiredType"], |
| 15018 | + "additionalProperties": false |
| 15019 | + }, |
14940 | 15020 | "condition": { |
14941 | 15021 | "description": "Condition under which the field applies.", |
14942 | 15022 | "$ref": "#/components/schemas/V2CatalogCondition" |
|
0 commit comments