diff options
author | 2023-01-19 08:34:27 -0500 | |
---|---|---|
committer | 2023-01-19 08:34:27 -0500 | |
commit | be901dc98c4a7f6b5536540aa8f7ba5108e939a0 (patch) | |
tree | 70a472215ee49ef4ac63cef2b776818d007df10d /examples/blog/src/pages/rss.xml.js | |
parent | 4f649014e9323db30d82e36e73f8e9ac1cf13cfa (diff) | |
download | astro-be901dc98c4a7f6b5536540aa8f7ba5108e939a0.tar.gz astro-be901dc98c4a7f6b5536540aa8f7ba5108e939a0.tar.zst astro-be901dc98c4a7f6b5536540aa8f7ba5108e939a0.zip |
Rename getEntry to getEntryBySlug (#5893)
* Rename getEntry to getEntryBySchema
* Improve entrySlug types and return undefined
* Add changeset
* Update packages/astro/src/content/template/types.d.ts
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Update the types to accept both raw string and known value
* Add comment on the implementation not currently being O(1)
Co-authored-by: Ben Holmes <hey@bholmes.dev>
Diffstat (limited to 'examples/blog/src/pages/rss.xml.js')
0 files changed, 0 insertions, 0 deletions