third.seed

0.1.3 • Public • Published

third.seed

seed 格式,除特殊标注外,其余均可选

{
  "meta": {
    "time": {
      "create": {
        "timestamp": 11111111 // 必填(自动填写)
      },
      "update": {
        "timestamp": 11111111 // 如果没有此字段,则默认与create.timestamp相同
      }
    },
    "id": "3368b950da4211eb8770", // 必填
    "public": false, // 默认为私有数据
    "encrypted": [
      // data内容加密,需要以下key解密
      "46C832801B39E4EB61DE615E699A698E77777777"
    ], //
    "link": [
      // 节点关系
      {
        /**
         * type="third", that=`${fingerprint}/${id}`
         * type="tag", that为标签名
         * type="url", that为url链接地址
         */
        "type": "third", // 可以是third、tag、http
        "that": "",
        "relationship": {
          "that": "", // 对于对端节点来讲,这段关系叫什么名字
          "this": "" // 对于当前节点来讲,这段关系叫什么名字
        }
      }
    ],
    "type": "seed" // data 内容类型,默认为seed,其他类型可自行设置,类似文件后缀名
  },
  "data": "*" // data 字段可以使用任意json支持类型
}

Readme

Keywords

Package Sidebar

Install

npm i third.seed

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

9.13 kB

Total Files

8

Last publish

Collaborators

  • erriy