2.0.1 • Published 7 months ago

socar-datalayer v2.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

socar-dataLayer

介绍

数据层

发布日志

2.0.1

增加cpx操作符处理

/**

  * 示例输入:
  * filter = {
  *   "[SOCAR_FILTER_KEY]": {
  *     "age": { "op": "eq", "value": 18 },
  *     "name": { "op": "ct", "value": ["John", "Doe"] },
  *     "labels":{"宝马":{op:'eq',value:'1'},'奔驰':{op:'eq',value:'2'}}
  *   }
  * };
  */

2.0.0

破坏性更新,拦截器接口数据返回格式变更

1.0.11

支持 或 过滤 socar_or_filter 关键字

1.0.10

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

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

7 months ago

1.0.15

11 months ago

1.0.14

11 months ago

2.0.0

10 months ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

2 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago