···16161717// GitTempListLanguages_Language is a "language" in the sh.tangled.git.temp.listLanguages schema.
1818type GitTempListLanguages_Language struct {
1919- // color: Hex color code for this language
2020- Color *string `json:"color,omitempty" cborgen:"color,omitempty"`
2121- // extensions: File extensions associated with this language
2222- Extensions []string `json:"extensions,omitempty" cborgen:"extensions,omitempty"`
2323- // fileCount: Number of files in this language
2424- FileCount *int64 `json:"fileCount,omitempty" cborgen:"fileCount,omitempty"`
2519 // name: Programming language name
2620 Name string `json:"name" cborgen:"name"`
2721 // percentage: Percentage of total codebase (0-100)
···3529 Languages []*GitTempListLanguages_Language `json:"languages" cborgen:"languages"`
3630 // ref: The git reference used
3731 Ref string `json:"ref" cborgen:"ref"`
3838- // totalFiles: Total number of files analyzed
3939- TotalFiles *int64 `json:"totalFiles,omitempty" cborgen:"totalFiles,omitempty"`
4040- // totalSize: Total size of all analyzed files in bytes
4141- TotalSize *int64 `json:"totalSize,omitempty" cborgen:"totalSize,omitempty"`
3232+ // total: Total size of all analyzed files in bytes
3333+ Total int64 `json:"total" cborgen:"total"`
4234}
43354436// GitTempListLanguages calls the XRPC method "sh.tangled.git.temp.listLanguages".
+2-21
lexicons/git/temp/listLanguages.json
···2424 "encoding": "application/json",
2525 "schema": {
2626 "type": "object",
2727- "required": ["ref", "languages"],
2727+ "required": ["ref", "languages", "total"],
2828 "properties": {
2929 "ref": {
3030 "type": "string",
···3737 "ref": "#language"
3838 }
3939 },
4040- "totalSize": {
4040+ "total": {
4141 "type": "integer",
4242 "description": "Total size of all analyzed files in bytes"
4343- },
4444- "totalFiles": {
4545- "type": "integer",
4646- "description": "Total number of files analyzed"
4743 }
4844 }
4945 }
···7874 "percentage": {
7975 "type": "integer",
8076 "description": "Percentage of total codebase (0-100)"
8181- },
8282- "fileCount": {
8383- "type": "integer",
8484- "description": "Number of files in this language"
8585- },
8686- "color": {
8787- "type": "string",
8888- "description": "Hex color code for this language"
8989- },
9090- "extensions": {
9191- "type": "array",
9292- "items": {
9393- "type": "string"
9494- },
9595- "description": "File extensions associated with this language"
9677 }
9778 }
9879 }