mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
OAuth now uses client TLS certs (if configured) (#5042)
* 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
This commit is contained in:
@@ -63,7 +63,7 @@ type TypescriptTypes struct {
|
||||
// String just combines all the codeblocks.
|
||||
func (t TypescriptTypes) String() string {
|
||||
var s strings.Builder
|
||||
_, _ = s.WriteString("// Code generated by 'make coder/scripts/apitypings/main.go'. DO NOT EDIT.\n\n")
|
||||
_, _ = s.WriteString("// Code generated by 'make site/src/api/typesGenerated.ts'. DO NOT EDIT.\n\n")
|
||||
|
||||
sortedTypes := make([]string, 0, len(t.Types))
|
||||
sortedEnums := make([]string, 0, len(t.Enums))
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'make coder/scripts/apitypings/main.go'. DO NOT EDIT.
|
||||
// Code generated by 'make site/src/api/typesGenerated.ts'. DO NOT EDIT.
|
||||
|
||||
// From codersdk/enums.go
|
||||
export type Enum = "bar" | "baz" | "foo" | "qux"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'make coder/scripts/apitypings/main.go'. DO NOT EDIT.
|
||||
// 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> {
|
||||
|
||||
Reference in New Issue
Block a user