prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Version Packages (#96)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

authored by

github-actions[bot]
github-actions[bot]
and committed by
GitHub
0cea3c43 7b680c9b

+9 -8
-7
.changeset/enum-known-values-type-hints.md
··· 1 - --- 2 - "prototypey": patch 3 - --- 4 - 5 - Add type-level inference for `enum` and `knownValues` on string fields. 6 - 7 - Strings with `enum` now infer as a union of the literal values; strings with `knownValues` infer as the literal union widened with `string & {}` so unlisted values are still accepted.
+8
packages/prototypey/CHANGELOG.md
··· 1 1 # prototypey 2 2 3 + ## 0.5.2 4 + 5 + ### Patch Changes 6 + 7 + - 7b680c9: Add type-level inference for `enum` and `knownValues` on string fields. 8 + 9 + Strings with `enum` now infer as a union of the literal values; strings with `knownValues` infer as the literal union widened with `string & {}` so unlisted values are still accepted. 10 + 3 11 ## 0.5.1 4 12 5 13 ### Patch Changes
+1 -1
packages/prototypey/package.json
··· 1 1 { 2 2 "name": "prototypey", 3 - "version": "0.5.1", 3 + "version": "0.5.2", 4 4 "description": "atproto lexicon typescript toolkit", 5 5 "repository": { 6 6 "type": "git",