gatsby-source-notion-churnotion 1.1.13 → 1.1.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,6 @@ const getPages = async ({ databaseId, reporter, getCache, actions, createNode, c
54
54
  },
55
55
  url: `${constants_1.COMMON_URI}/${constants_1.CATEGORY_URI}${categoryUrl}`,
56
56
  books: [],
57
- childrenNBook: [],
58
57
  };
59
58
  await createNode(categoryNode);
60
59
  const bookRelations = page.properties?.books?.relation || null;
@@ -43,7 +43,6 @@ const createSchemaCustomization = ({ actions }) => {
43
43
  churnotions: [${constants_1.NODE_TYPE.Post}] @link(by: "category", from: "id")
44
44
  url: String!
45
45
  books: [${constants_1.NODE_TYPE.Book}] @link(by: "id")
46
- childrenNBook: [ID!]! @default(value: [])
47
46
  }
48
47
 
49
48
  type ${constants_1.NODE_TYPE.Book} implements Node {
@@ -52,6 +51,7 @@ const createSchemaCustomization = ({ actions }) => {
52
51
  create_date: Date! @dateformat
53
52
  update_date: Date! @dateformat
54
53
  children: [${constants_1.NODE_TYPE.Post}] @link(by: "book", from: "id")
54
+ childrenChurnotion: [${constants_1.NODE_TYPE.Post}]
55
55
  url: String!
56
56
  book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id", from: "book_category")
57
57
  book_image: File @link(by: "id", from: "book_image")
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.1.13",
4
+ "version": "1.1.15",
5
5
  "skipLibCheck": true,
6
6
  "license": "0BSD",
7
7
  "main": "./dist/gatsby-node.js",