socar-datalayer

1.0.11 • Public • Published

socar-dataLayer

介绍

数据层

发布日志

1.0.10

支持 orbit source post 时,通过传递的jsonapi meta 数据指定 自定义 id

const jsonapi = {
    meta: {
        // __customId__ 必须为 string 类型
        __customId__: 'customId'
    },
    data: {
        type: 'type',
        attributes: {
            attr: ''
        },
        relationships: {
            rel: {
                data: [ /** ... */ ]
            }
        }
    }
}

1.0.11

支持 或 过滤 socar_or_filter 关键字

Readme

Keywords

none

Package Sidebar

Install

npm i socar-datalayer

Weekly Downloads

0

Version

1.0.11

License

MIT

Unpacked Size

3.14 MB

Total Files

16

Last publish

Collaborators

  • lichonglou