@rmdes/indiekit-endpoint-homepage 1.0.21 → 1.0.22
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/index.js +28 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -210,6 +210,26 @@ export default class HomepageEndpoint {
|
|
|
210
210
|
},
|
|
211
211
|
},
|
|
212
212
|
},
|
|
213
|
+
{
|
|
214
|
+
id: "ai-usage",
|
|
215
|
+
label: "AI Transparency",
|
|
216
|
+
description: "AI usage stats, level breakdown, and contribution graph",
|
|
217
|
+
icon: "zap",
|
|
218
|
+
dataEndpoint: null, // Uses Eleventy collections
|
|
219
|
+
defaultConfig: {
|
|
220
|
+
title: "AI Transparency",
|
|
221
|
+
limit: 1,
|
|
222
|
+
},
|
|
223
|
+
configSchema: {
|
|
224
|
+
title: { type: "text", label: "Section title" },
|
|
225
|
+
limit: {
|
|
226
|
+
type: "number",
|
|
227
|
+
label: "Years to show in graph",
|
|
228
|
+
min: 1,
|
|
229
|
+
max: 10,
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
},
|
|
213
233
|
];
|
|
214
234
|
}
|
|
215
235
|
|
|
@@ -316,6 +336,14 @@ export default class HomepageEndpoint {
|
|
|
316
336
|
defaultConfig: {},
|
|
317
337
|
configSchema: {},
|
|
318
338
|
},
|
|
339
|
+
{
|
|
340
|
+
id: "ai-usage",
|
|
341
|
+
label: "AI Transparency",
|
|
342
|
+
description: "Compact AI usage stats and contribution graph",
|
|
343
|
+
icon: "zap",
|
|
344
|
+
defaultConfig: {},
|
|
345
|
+
configSchema: {},
|
|
346
|
+
},
|
|
319
347
|
{
|
|
320
348
|
id: "custom-html",
|
|
321
349
|
label: "Custom Content",
|
package/package.json
CHANGED