We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0019d84 commit fae06c7Copy full SHA for fae06c7
1 file changed
packages/airnode-validator/src/config/config.ts
@@ -710,4 +710,7 @@ export type Amount = SchemaType<typeof amountSchema>;
710
export type EnabledGateway = SchemaType<typeof enabledGatewaySchema>;
711
export type MaxConcurrency = SchemaType<typeof maxConcurrencySchema>;
712
713
-export const availableCloudProviders: CloudProvider['type'][] = ['aws', 'gcp'];
+// Extract literal values from discriminated union options
714
+export const availableCloudProviders = cloudProviderSchema.options.map(
715
+ (option) => option.shape.type.value
716
+) as CloudProvider['type'][];
0 commit comments