User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
Admin
Wyvern-shaped software developer and hobby vector artist. Also sometimes a fluffy werewolf alien creature (Areon).

Creator of the neofoxes, neocats and other emojis.
wvrnBox
Website
https://volpeon.ink/
Speaking German, English
Age 30s
Pronouns he / him
Backup Account @volpeon@goto.wyvern.rip
Bonus Content @areon@icy.wyvern.rip
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
2mo
@aearo areonNHyper
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
2mo
This is how my pipeline plugins define requirements. Record<PropertyKey, never> makes them incompatible with each other because it specifically denies any extra keys. Record<PropertyKey, unknown> allows me to work with pages whose content and metadata is unknown, which is good for reading but horribly unsafe for writing because it allows me to write anything in pages. Only {} behaves correctly because it keeps any pages outside of the requirements inaccessible.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
2mo
{} doesn't mean an empty object, but means any types other than null and undefined
If you want a type that means "empty object", use Record<PropertyKey, never> instead (deno-lint ban-types)
The thing that has always irked me with the TypeScript ecosystem is that this advice is fucking wrong. {} sometimes does mean empty record, and there's no substitute for it. Record<PropertyKey, never> gets me an error, and Record<PropertyKey, unknown> allows too much.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
2mo
It's finally not as hot anymore, and what are the neighbors doing? Mowing the lawn and shit so I can't keep the windows open baa
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
2mo
The magpies like our garden. Unfortunately, this morning they also liked to make a ruckus in said garden and woke me up. areonNFlat
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@nova wyvTilt
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@puniko Wyvern-Biss wvrnNom wvrnNom wvrnNom
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@puniko Alles was ich sage ist wvrnNom
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@puniko Nix da wvrnNom
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@puniko No wvrnNom
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@puniko @Stomata eepy gang areonVFlat
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@catraxx @puniko iiiiiiiiiiiiiiiiiiiiiiiiiiiiii areonVScream
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
iiiiiiiiiiiiiiiiiiiii akko_weary
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
Funny enough, this was more or less a happy accident.
.page.tsx files need a generator function as default export to create pages dynamically, and any named export becomes part of each page's data. Then I developed a generic template plugin which expects a Template object at page.data.template, thinking that any specialized template plugin can assign them as needed.
Well, if I export a Template in the
.page.tsx file like here, it is automatically applied to all these pages.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
I worked out a system for my SSG that gets me pretty close to Astro templates.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
Wait, that episode of Witch Hat Atelier was the last one? They ended it like this?? neofox_googly_shocked
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
The need for EEP areonVScream
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
@catsalad neocat_boop_woozy
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
Slept on my glasses last night. I'm so lucky they didn't break considering how messed up they had gotten areonNNervous
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
3mo
AAAAAAAA MONDAY