open-index/open-npm huggingface dataset:
npm package: @redhare/action-block
Description: ## 区块实体
Author: mark.ck
Latest version: 1.0.2

# 区块管理 - 保存为区块

## 区块实体

```

interface Block {
  name: string;
  title: string;
  schema: string;
  screenshot: string;
  created_at?: string;
  updated_at?: string;
}

```

## 注意

使用区块管理需要提前将对应的 API 注册到 engine config 里：

```

interface BlockAPI {
  listBlocks: () => Block[];
  createBlock: (Block) => any;
}

function setupConfig() {
  config.set('apiList', {
    block: {
      listBlocks,
      createBlock
    },
  })
}
```

# 使用方式

```
import { material } from '@alilc/lowcode-engine';
import { default as saveAsBlock } from '@alilc/action-block';

material.addBuiltinComponentAction(saveAsBlock);
```
npm package: @redhare/antd-mobile-materials
Description: Redhare H5 Materials based on antd-mobile
Author: fusion-team
Latest version: 1.0.2

# @redhare/antd-mobile-materials

一个面向 H5 的业务组件库

## 调试
启动调试

```
npm run lowcode:dev             # 打开开发环境，运行所有组件
```

构建

```
npm run lowcode:build
```

## 开发

### 开发依赖

1. [AntD Mobile](https://mobile.ant.design/zh/components/button)

### 物料描述

详见：
1. [手工配置物料描述](https://lowcode-engine.cn/site/docs/guide/expand/editor/metaSpec#%E6%89%8B%E5%B7%A5%E9%85%8D%E7%BD%AE%E7%89%A9%E6%96%99%E6%8F%8F%E8%BF%B0)
2. [组件描述协议](https://lowcode-engine.cn/site/docs/specs/material-spec#222-%E7%BB%84%E4%BB%B6%E6%8F%8F%E8%BF%B0%E5%8D%8F%E8%AE%AE)
3. [预置设置器列表](https://lowcode-engine.cn/site/docs/guide/appendix/setters)