Just published a minor update to @small-web/kitten¹ (the type safe library for accessing the Kitten² namespace).
The default export now contains all individually-exported objects.
(Previously, I’d left out some of the more esoteric ones to not clutter the auto-complete list during authoring but got bit by it myself in Domain³ when my unmet expectation that a property should exist lead to a crash).
¹ https://codeberg.org/kitten/globals
² https://codeberg.org/kitten/app
³ https://codeberg.org/domain/app
All Kitten¹ globals are now neatly in the kitten namespace².
(See @small-web/kitten³ for a lovely type safe object to work with.)
I’ve updated all the docs, etc., but if notice I’ve missed something, please do let me know either here on in an issue⁴.
I plan on updating Domain⁵ to use the new namespace over the weekend.
:kitten: 💕
¹ https://codeberg.org/kitten/app
² https://codeberg.org/kitten/app/issues/130
³ https://codeberg.org/kitten/globals
⁴ https://codeberg.org/kitten/app/issues
⁵ https://codeberg.org/domain/app
You can reference special page slots¹ (head, startOfBody, endOfBody, etc.) using type-safe constants if you update @small-web/kitten² to version 1.1.0 in your apps.
¹ https://codeberg.org/kitten/app#special-page-slots
² https://codeberg.org/kitten/globals
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.