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

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

netlify Bot commented Jun 2, 2022 •

Copy link
Copy Markdown

‼️ Deploy request for nuxt-content rejected.

Name Link
🔨 Latest commit 1591b6c

@harlan-zw harlan-zw changed the title Fix/improved meta types fix(types): more accurately represent ParsedContentMeta Jun 2, 2022
@Tahul
Tahul merged commit 3fbcd22 into nuxt:main Jun 3, 2022
@farnabaz farnabaz mentioned this pull request Aug 12, 2022
Sign up for free to 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