feat(vercel): Vercel SDK fixes and correct env vars behavior for staging envs #4871
Annotations
10 errors
|
🔎 Type check
Argument of type 'ZodUnion<[ZodObject<{ envs: ZodOptional<ZodArray<ZodRecord<ZodString, ZodUnknown>, "many">>; pagination: ZodOptional<ZodUnknown>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>, ZodArray<...>]>' is not assignable to parameter of type 'ZodType<FilterProjectEnvsResponseBody, ZodTypeDef, FilterProjectEnvsResponseBody>'.
|
|
🔎 Type check
Argument of type 'ZodUnion<[ZodObject<{ envs: ZodOptional<ZodArray<ZodRecord<ZodString, ZodUnknown>, "many">>; pagination: ZodOptional<ZodUnknown>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>, ZodArray<...>]>' is not assignable to parameter of type 'ZodType<FilterProjectEnvsResponseBody, ZodTypeDef, FilterProjectEnvsResponseBody>'.
|
|
🔎 Type check
Type '{}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.
|
|
🔎 Type check
Argument of type 'unknown' is not assignable to parameter of type 'string | string[] | undefined'.
|
|
🔎 Type check
Argument of type 'unknown' is not assignable to parameter of type 'string | string[] | undefined'.
|
|
🔎 Type check
Argument of type 'unknown' is not assignable to parameter of type 'string | string[] | undefined'.
|
|
🔎 Type check
Argument of type 'ZodObject<{ value: ZodOptional<ZodString>; }, "passthrough", ZodTypeAny, objectOutputType<{ value: ZodOptional<ZodString>; }, ZodTypeAny, "passthrough">, objectInputType<...>>' is not assignable to parameter of type 'ZodType<GetProjectEnvResponseBody, ZodTypeDef, GetProjectEnvResponseBody>'.
|
|
🔎 Type check
Argument of type 'ZodUnion<[ZodObject<{ envs: ZodOptional<ZodArray<ZodRecord<ZodString, ZodUnknown>, "many">>; pagination: ZodOptional<ZodUnknown>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>, ZodArray<...>]>' is not assignable to parameter of type 'ZodType<FilterProjectEnvsResponseBody, ZodTypeDef, FilterProjectEnvsResponseBody>'.
|
|
🔎 Type check
Argument of type 'ZodUnion<[ZodObject<{ envs: ZodOptional<ZodArray<ZodRecord<ZodString, ZodUnknown>, "many">>; pagination: ZodOptional<ZodUnknown>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>, ZodArray<...>]>' is not assignable to parameter of type 'ZodType<FilterProjectEnvsResponseBody, ZodTypeDef, FilterProjectEnvsResponseBody>'.
|
|
🔎 Type check
Argument of type '({ id, slug, description, branchMatcher, }: GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments) => VercelCustomEnvironment' is not assignable to parameter of type '(value: objectInputType<{ id: ZodString; slug: ZodString; description: ZodOptional<ZodString>; branchMatcher: ZodOptional<ZodUnknown>; }, ZodTypeAny, "passthrough">, index: number, array: objectInputType<...>[]) => VercelCustomEnvironment'.
|
Loading