Skip to content

Variable: AppSecretCondition ​

ts
const AppSecretCondition: z.ZodObject<{
  config: z.ZodString;
  in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
}, z.core.$strip>;

When a secret is required, read from the install's config: the value at config is one of in, or, without in, the config has a value there (one that is not null or empty text).

Released under the Apache-2.0 License.