The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: update generated files

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso 66944c4e ef07fd6b

+16 -16
+3
proto/gen-openapi.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + twirp-openapi-gen -in ./xeiaso/net/v1/xesite.proto -in ./within/website/x/mi/v1/mi.proto -out openapi.json -path-prefix /api -servers https://xeiaso.net -title "Xe Iaso Dot Net API" -doc-version 4.0.0
-8
proto/generate.go
··· 1 - package proto 2 - 3 - import "embed" 4 - 5 - //go:generate go tool twirp-openapi-gen -in ./xeiaso/net/v1/xesite.proto -in ./within/website/x/mi/v1/mi.proto -out openapi.json -path-prefix /api -servers https://xeiaso.net -title "Xe Iaso Dot Net API" -doc-version 4.0.0 6 - 7 - //go:embed openapi.json 8 - var FS embed.FS
+13 -8
web/htmx/htmx_templ.go
··· 1 1 // Code generated by templ - DO NOT EDIT. 2 2 3 - // templ: version: v0.2.731 3 + // templ: version: v0.3.1001 4 4 package htmx 5 5 6 6 //lint:file-ignore SA4006 This context is only used if a nested component is present. ··· 21 21 func Use(exts ...string) templ.Component { 22 22 return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { 23 23 templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context 24 + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { 25 + return templ_7745c5c3_CtxErr 26 + } 24 27 templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) 25 28 if !templ_7745c5c3_IsBuffer { 26 29 defer func() { ··· 36 39 templ_7745c5c3_Var1 = templ.NopComponent 37 40 } 38 41 ctx = templ.ClearChildren(ctx) 39 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<script src=\"") 42 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<script src=\"") 40 43 if templ_7745c5c3_Err != nil { 41 44 return templ_7745c5c3_Err 42 45 } 43 46 var templ_7745c5c3_Var2 string 44 47 templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(URL + "htmx.js") 45 48 if templ_7745c5c3_Err != nil { 46 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `web/htmx/htmx.templ`, Line: 14, Col: 30} 49 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `htmx.templ`, Line: 14, Col: 30} 47 50 } 48 51 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) 49 52 if templ_7745c5c3_Err != nil { 50 53 return templ_7745c5c3_Err 51 54 } 52 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\"></script>") 55 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "\"></script>") 53 56 if templ_7745c5c3_Err != nil { 54 57 return templ_7745c5c3_Err 55 58 } 56 59 for _, ext := range exts { 57 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<script src=\"") 60 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "<script src=\"") 58 61 if templ_7745c5c3_Err != nil { 59 62 return templ_7745c5c3_Err 60 63 } 61 64 var templ_7745c5c3_Var3 string 62 65 templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(URL + ext + ".js") 63 66 if templ_7745c5c3_Err != nil { 64 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `web/htmx/htmx.templ`, Line: 16, Col: 33} 67 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `htmx.templ`, Line: 16, Col: 33} 65 68 } 66 69 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) 67 70 if templ_7745c5c3_Err != nil { 68 71 return templ_7745c5c3_Err 69 72 } 70 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\"></script>") 73 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "\"></script>") 71 74 if templ_7745c5c3_Err != nil { 72 75 return templ_7745c5c3_Err 73 76 } 74 77 } 75 - return templ_7745c5c3_Err 78 + return nil 76 79 }) 77 80 } 81 + 82 + var _ = templruntime.GeneratedTemplate