Skip to content

Commit

Permalink
Merge pull request #85 from tuatmcc/feature/type_collection
Browse files Browse the repository at this point in the history
  • Loading branch information
OJII3 authored Nov 17, 2023
2 parents 86772c2 + 7b6d941 commit 1b0918a
Show file tree
Hide file tree
Showing 8 changed files with 823 additions and 198 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/bin/
/scripts/
/examples/
/.mdorganizer/
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/dist/

/examples/
/.mdorganizer/
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export default {
type: 'string',
},
img: {
type: 'string'
}
type: 'string',
},
},
},
],
Expand Down Expand Up @@ -103,12 +103,7 @@ Example usage of generated module
import type { BlogDocument } from '.mdorganizer/generated'; // import generated type
import { allBlogDocuments } from '.mdorganizer/generated'; // import generated modules

const {
documentCategory,
rootPath,
fields,
content,
} = allBlogDocuments[0];
const { documentCategory, rootPath, fields, content } = allBlogDocuments[0];

const {
title, // string
Expand Down
File renamed without changes.
Loading

0 comments on commit 1b0918a

Please sign in to comment.