Socket
Socket
Sign inDemoInstall

@lcap/asl

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lcap/asl

Lowcode Application Specific Language


Version published
Weekly downloads
31
increased by121.43%
Maintainers
1
Weekly downloads
 
Created
Source

ASL Lab

用于查看和分析 ASL 的项目。因为和前端 UI 仍联系的比较紧,为了开发效率,放在一个仓库一下。用 package.json 的方式给其它项目做支持。

Development

开发时,这块尽量能够单独发包。

规范

初始化

  • 为了兼容 Vue,属性至少全部声明 undefined
  • 都声明 constructor

增删改查定义方式

增1
const entity = new Entity({
    serviceId: '292c8df3-a74b-4434-83ec-14eb7798bc5e',
    ...
});
await entity.create();
增2
await service.addEntity(entityOptions);
[v] 删1
await entity.delete();
改1
entity.assign({ name: 'bbb' });
entity.update();
改2
entity.setName('bbb');
const entity = new Entity({ id: 'e457acee-d69b-4f5b-bbe5-64ac8fdbf7ce' });
entity.load(); => handle
[v] 查列表
service.loadEntities(); => handle

Keywords

FAQs

Package last updated on 10 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc