mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
* OAuth now uses client TLS certs (if configured) * Update docs * Cleaning * Fix lint errors and generate static files * Fix lint error and regenerate more static files * Suppress lint error
44 lines
1.3 KiB
TypeScript
44 lines
1.3 KiB
TypeScript
// 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
|