astro/packages
Matthew Phillips be901dc98c
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>
2023-01-19 08:34:27 -05:00
..
astro Rename getEntry to getEntryBySlug (#5893) 2023-01-19 08:34:27 -05:00
astro-prism [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
astro-rss [ci] release (#5645) 2022-12-27 11:52:24 -05:00
create-astro [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
integrations [ci] format 2023-01-19 13:15:53 +00:00
markdown [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
telemetry [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
webapi [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00