gatsby-source-notion-churnotion 1.0.82 → 1.0.84

Sign up to get free protection for your applications and to get access to all the features.
@@ -141,7 +141,6 @@ const getPages = async ({ databaseId, reporter, getCache, actions, createNode, c
141
141
  const bookNodeId = createNodeId(`${bookId}-book`);
142
142
  const bookNode = getNode(bookNodeId);
143
143
  const [imageNode, tableOfContents, updatedBlocks, rawText] = await (0, processor_1.processor)(pageData.results, actions, getCache, createNodeId, reporter, cache);
144
- reporter.error(`[Test] ${page.properties?.description?.rich_text?.[0]?.plain_text}`);
145
144
  const postNode = {
146
145
  id: nodeId,
147
146
  category: parentCategoryId,
@@ -42,7 +42,7 @@ const createSchemaCustomization = ({ actions }) => {
42
42
  children: [${constants_1.NODE_TYPE.Category}!]! @link(by: "parent")
43
43
  churnotions: [${constants_1.NODE_TYPE.Post}] @link(by: "category", from: "id")
44
44
  url: String!
45
- books: [${constants_1.NODE_TYPE.Book}] @link(by: "id", from: "books")
45
+ books: [${constants_1.NODE_TYPE.Book}] @link(by: "id")
46
46
  }
47
47
 
48
48
  type ${constants_1.NODE_TYPE.Book} implements Node {
@@ -52,7 +52,7 @@ const createSchemaCustomization = ({ actions }) => {
52
52
  update_date: Date! @dateformat
53
53
  children: [${constants_1.NODE_TYPE.Post}] @link(by: "book", from: "id")
54
54
  url: String!
55
- book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id")
55
+ book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id", from: "books")
56
56
  book_image: File @link(by: "id", from: "book_image")
57
57
  }
58
58
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gatsby-source-notion-churnotion",
3
3
  "description": "Gatsby plugin that can connect with One Notion Database RECURSIVELY using official API",
4
- "version": "1.0.82",
4
+ "version": "1.0.84",
5
5
  "skipLibCheck": true,
6
6
  "license": "0BSD",
7
7
  "main": "./dist/gatsby-node.js",