1import{Mn as e,On as t,_n as n,bn as r,kn as i,un as a}from"#entry";import{o,s}from"./CMrI1yzl.js";const c={...s,tag:e().optional().describe(`Filter by tag name`),orderBy:n([`t.posted`,`t.position`,`t.id`]).default(`t.posted`).describe(`Field to order by`),orderDirection:n([`ASC`,`DESC`]).default(`DESC`).describe(`Sort direction`),category:e().optional().describe(`Filter by category slug (from news_category table)`),competition:a().int().optional().describe(`Filter by competition (calendar) ID`),athlete:a().int().optional().describe(`Filter by athlete (user) ID`),tournament:a().int().optional().describe(`Filter by tournament ID (returns news linked to tournament directly or via any of its competitions)`),search:e().optional().describe(`Full-text search on article title and content (LIKE match)`),...o},l={id:t().int().describe(`News article ID`),title:e().nullable().describe(`Article title (translated if language specified)`),date:e().describe(`Publication date (format - Y-m-d H-i-s)`),previewImage:e().nullable().describe(`Preview image URL`),image:e().nullable().describe(`Full image URL`),content:e().nullable().describe(`Article content HTML (translated if language specified)`)},u={id:l.id,title:l.title,date:l.date,previewImage:l.previewImage,image:l.image,categories:r(i({id:t().int(),slug:e(),name:e()})).describe(`Article categories`)},d={...l,categories:r(i({id:t().int(),slug:e(),name:e()})).describe(`Article categories`),tags:r(e()).describe(`Array of tag names associated with the article`),relatedCompetitions:r(i({id:t().int(),name:e(),season:t().int()})).describe(`Array of related competition names`),relatedAthletes:r(i({id:t().int(),name:e()})).describe(`Array of related athlete names`)},f={items:r(i(u)).describe(`List of simple article items`),totalFound:t().describe(`Total number of items matching the query`),page:t().describe(`Current page number`),pageSize:t().describe(`Number of items per page`)};export{f as i,d as n,c as r,l as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.