Skip to content

how to use #1

@johnykes

Description

@johnykes

Hey Luke,

Thank you for building this, it looks cool.

I tried to test this repo but I can't manage to start using it, because I get dozens of errors like this one:

 Type 'ZodEffects<ZodObject<{ uuid: ZodString; RequestBody: ZodLazy<ZodType<UpdateServerByUuidRequestBody, ZodTypeDef, unknown>>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, Remap<...>, { ...; }>' is not assignable to type 'ZodType<UpdateServerByUuidRequest, ZodTypeDef, unknown>'.
  Types of property '_type' are incompatible.
    Type 'Remap<{ uuid?: string; RequestBody?: UpdateServerByUuidRequestBody; }, { readonly RequestBody: "requestBody"; }>' is not assignable to type 'UpdateServerByUuidRequest'.
      Property 'uuid' is optional in type 'Remap<{ uuid?: string; RequestBody?: UpdateServerByUuidRequestBody; }, { readonly RequestBody: "requestBody"; }>' but required in type 'UpdateServerByUuidRequest'.

How can I simply start it?

Also, what is bearerAuth for? I see that in Coolify you can create API Keys. Is berearAuth referring to API KEY?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions