Update frontmatter and some sync scripts#12
Merged
mikepsinn merged 8 commits intodecentralized-fda:v6from Feb 12, 2025
Merged
Conversation
- Added normalization for date and dateCreated fields in frontmatter validation - Converted Date objects to ISO strings before schema validation - Improved script robustness for handling different date input formats - Ensured consistent date representation in markdown files
- Implemented comprehensive Notion synchronization script - Added @notionhq/client dependency - Created script to sync markdown files with Notion database - Supports bidirectional sync of metadata and content - Handles file creation, updates, and conflict resolution - Uses Git to track file modification timestamps
- Added comprehensive setup instructions for Notion API integration - Implemented fallback mechanism to generate default metadata for markdown files without frontmatter - Removed unused test files related to frontmatter processing - Simplified import statements in test scripts
- Added descriptive metadata to various markdown files across different directories - Included emoji, tags, publication details, and clear descriptions - Enhanced document structure for better organization and discoverability - Prepared documents for publication with consistent frontmatter format
- Integrated TypeScript testing with ts-jest - Added @types/jest for type definitions - Created comprehensive test suite for notion-sync script - Implemented file handling and metadata extraction tests - Exported functions from notion-sync for testability - Updated package.json with testing dependencies
…oved sync workflow - Added `ensureDatabaseProperties()` function to validate and create required Notion database properties - Defined `REQUIRED_PROPERTIES` configuration for consistent database schema - Updated script to run property validation before markdown synchronization - Expanded test suite to cover database property validation and bidirectional sync - Improved error handling and logging for database property management
Contributor
There was a problem hiding this comment.
Hi @mikepsinn! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
mikepsinn
added a commit
to mikepsinn/dfda-wiki
that referenced
this pull request
Jun 24, 2025
Update frontmatter and some sync scripts
mikepsinn
added a commit
to mikepsinn/dfda-wiki
that referenced
this pull request
Jun 24, 2025
Update frontmatter and some sync scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.