Giter VIP home page Giter VIP logo

Comments (2)

delta1037 avatar delta1037 commented on July 22, 2024

从获取到的数据来看,inline类型数据库和Full page数据库没有可以区分的字段。数据样例如下:

{
    "object": "block",
    "id": "7e168ba7-893d-4e40-9c8d-a70253bec086",
    "created_time": "2022-04-15T00:51:00.000Z",
    "last_edited_time": "2022-04-15T00:51:00.000Z",
    "created_by": {
        "object": "user",
        "id": "ccca2aa3-1ee1-4285-8f1d-b01339eaf9e5"
    },
    "last_edited_by": {
        "object": "user",
        "id": "ccca2aa3-1ee1-4285-8f1d-b01339eaf9e5"
    },
    "has_children": false,
    "archived": false,
    "type": "child_database",
    "child_database": {
        "title": "嵌入式数据库"
    }
},
{
    "object": "block",
    "id": "7851132c-d014-48c9-a127-c236afeb481a",
    "created_time": "2022-04-15T00:51:00.000Z",
    "last_edited_time": "2022-04-15T00:51:00.000Z",
    "created_by": {
        "object": "user",
        "id": "ccca2aa3-1ee1-4285-8f1d-b01339eaf9e5"
    },
    "last_edited_by": {
        "object": "user",
        "id": "ccca2aa3-1ee1-4285-8f1d-b01339eaf9e5"
    },
    "has_children": false,
    "archived": false,
    "type": "child_database",
    "child_database": {
        "title": "全页面式数据库"
    }
}

后续会新增配置项,可以选择将数据库以链接形式嵌入或者以内容嵌入形式,默认使用内容嵌入形式。
因为配置项有变动,所以以客户端会以1.x版本提供,改版本兼容0.x版本

from notion-export-client.

XMahoniX avatar XMahoniX commented on July 22, 2024

OK

from notion-export-client.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.