Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

out/service/app/api.d.ts

14

out/service/app/api.js

@@ -64,10 +64,10 @@ "use strict";

return {
id: result.moduleId,
appId: result.appId,
name: result.moduleName,
title: result.moduleTitle,
id: result.id,
appId: result.lcpAppId,
name: result.name,
title: result.title,
level: 'service',
type: result.moduleType === 'app' ? 'web' : 'micro',
icon: result.moduleIcon,
status: result.moduleStatus,
type: result.type === 'app' ? 'web' : 'micro',
icon: result.icon,
status: result.status,
officialType: result.officialType,

@@ -74,0 +74,0 @@ createdTime: result.createdTime,

@@ -176,5 +176,7 @@ "use strict";

query: {
id: this.id,
appId: this.id,
},
});
console.log(result, 'result');
result.id = result.appId;
this.assign(result);

@@ -181,0 +183,0 @@ return this;

@@ -199,2 +199,15 @@ "use strict";

/**
* 转换成 Vue 文件
*/
toVue() {
let result = '';
if (this.$html)
result += `<template>\n${this.$html.toVue()}\n</template>\n`;
if (this.script)
result += `<script>\n${this.$html.toVue()}\n</script>\n`;
if (this.$def)
result += ''; // `<script>\n${this.$html.toVue()}\n</script>\n`;
return result;
}
/**
* 从后端 JSON 生成规范的 View 对象

@@ -201,0 +214,0 @@ */

{
"name": "@lcap/asl",
"description": "Lowcode Application Specific Language",
"version": "0.1.3",
"version": "0.1.4",
"author": "Forrest <rainforest92@126.com>",

@@ -6,0 +6,0 @@ "scripts": {

@@ -62,10 +62,10 @@ export default {

return {
id: result.moduleId,
appId: result.appId,
name: result.moduleName,
title: result.moduleTitle,
id: result.id,
appId: result.lcpAppId,
name: result.name,
title: result.title,
level: 'service',
type: result.moduleType === 'app' ? 'web' : 'micro',
icon: result.moduleIcon,
status: result.moduleStatus,
type: result.type === 'app' ? 'web' : 'micro',
icon: result.icon,
status: result.status,
officialType: result.officialType,

@@ -72,0 +72,0 @@ createdTime: result.createdTime,

@@ -174,6 +174,7 @@ import { immutable, circular, action } from '../decorators';

query: {
id: this.id,
appId: this.id,
},
});
console.log(result, 'result');
result.id = result.appId;
this.assign(result);

@@ -180,0 +181,0 @@ return this;

@@ -221,2 +221,15 @@ import { immutable, circular, action } from '../decorators';

/**
* 转换成 Vue 文件
*/
toVue() {
let result = '';
if (this.$html)
result += `<template>\n${this.$html.toVue()}\n</template>\n`;
if (this.script)
result += `<script>\n${this.$html.toVue()}\n</script>\n`;
if (this.$def)
result += ''; // `<script>\n${this.$html.toVue()}\n</script>\n`;
return result;
}
/**
* 从后端 JSON 生成规范的 View 对象

@@ -223,0 +236,0 @@ */

@@ -18,2 +18,3 @@ {

"baseUrl": ".",
"declaration": true,
"paths": {

@@ -20,0 +21,0 @@ "@/*": ["src/*"]

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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