ampless 1.0.0-beta.56 → 1.0.0-beta.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1638,6 +1638,14 @@ interface HistoryConfig {
|
|
|
1638
1638
|
interface AiConfig {
|
|
1639
1639
|
/** Serve the per-post markdown projection at `/<slug>.md`. Default: true. */
|
|
1640
1640
|
markdownRoutes?: boolean;
|
|
1641
|
+
/** Serve a site-wide AI index at `/llms.txt`. `false` disables the
|
|
1642
|
+
* route; an object caps how many recent posts are listed (the
|
|
1643
|
+
* underlying published index returns full bodies, so large limits
|
|
1644
|
+
* are comparatively expensive for now).
|
|
1645
|
+
* Default: enabled with `{ limit: 100 }` (clamped to 1..1000). */
|
|
1646
|
+
llmsTxt?: boolean | {
|
|
1647
|
+
limit?: number;
|
|
1648
|
+
};
|
|
1641
1649
|
}
|
|
1642
1650
|
type Role = 'reader' | 'editor' | 'admin';
|
|
1643
1651
|
interface AuthContext {
|