Skip to content

fix(types): more accurately represent ParsedContentMeta - #1196

Merged
Tahul merged 5 commits into
nuxt:mainfrom
harlan-zw:fix/improved-meta-types
Jun 3, 2022
Merged

fix(types): more accurately represent ParsedContentMeta#1196
Tahul merged 5 commits into
nuxt:mainfrom
harlan-zw:fix/improved-meta-types

Conversation

@harlan-zw

Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

  • _slug is not used but is in the types, which is misleading
  • full list of id types (_type, _file, _extension) are missing
  • added types to the path-meta file to ensure stricter type adherence

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify

netlifyBot commented Jun 2, 2022

Copy link
Copy Markdown

‼️ Deploy request for nuxt-content rejected.

NameLink
🔨 Latest commit1591b6c

@harlan-zwharlan-zw changed the title Fix/improved meta typesfix(types): more accurately represent ParsedContentMetaJun 2, 2022
@Tahul
Tahul merged commit 3fbcd22 into nuxt:mainJun 3, 2022
@farnabazfarnabaz mentioned this pull request Aug 12, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@harlan-zw@atinux@Tahul