// Code generated by 'make site/src/api/typesGenerated.ts'. DO NOT EDIT.

// From codersdk/generics.go
export interface ComplexGeneric<C extends comparable, S extends Single, T extends Custom> {
  readonly dynamic: GenericFields<C, boolean, string, S>
  readonly order: GenericFieldsDiffOrder<C, string, S, T>
  readonly comparable: C
  readonly single: S
  readonly static: StaticGeneric
}

// From codersdk/generics.go
export interface DynamicGeneric<A extends any, S extends Single> {
  readonly dynamic: GenericFields<boolean, A, string, S>
  readonly comparable: boolean
}

// From codersdk/generics.go
export interface GenericFields<C extends comparable, A extends any, T extends Custom, S extends Single> {
  readonly comparable: C
  readonly any: A
  readonly custom: T
  readonly again: T
  readonly single_constraint: S
}

// From codersdk/generics.go
export interface GenericFieldsDiffOrder<A extends any, C extends comparable, S extends Single, T extends Custom> {
  readonly GenericFields: GenericFields<C, A, T, S>
}

// From codersdk/generics.go
export interface StaticGeneric {
  readonly static: GenericFields<string, number, number, string>
}

// From codersdk/generics.go
export type Custom = string | boolean | number | string[] | null

// From codersdk/generics.go
export type Single = string

export type comparable = boolean | number | string | any
