@lcap/nasl-unified-frontend-generator 3.8.3-beta.25-optimize → 3.8.3-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +69 -70
- package/dist/index.mjs +65 -66
- package/dist/playground.js +60 -61
- package/dist/playground.mjs +60 -61
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _lcap_nasl from '@lcap/nasl';
|
|
|
2
2
|
import { App, Frontend, LogicItem, genMetaData, FrontendVariable, TypeAnnotation, DefaultValue, Logic, BindAttribute, BindDirective, BindEvent, View, ViewElement, ValidationRule, Identifier, Return, Variable, Param, BindStyle } from '@lcap/nasl';
|
|
3
3
|
import { Container } from 'inversify';
|
|
4
4
|
import { format } from 'prettier/standalone';
|
|
5
|
-
import { AxiosInstance } from 'axios';
|
|
6
5
|
import pino from 'pino';
|
|
7
6
|
|
|
8
7
|
interface CommonAppConfig {
|
|
@@ -1308,7 +1307,7 @@ declare class VirtualProject {
|
|
|
1308
1307
|
};
|
|
1309
1308
|
readFile(path: string): string;
|
|
1310
1309
|
}
|
|
1311
|
-
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container
|
|
1310
|
+
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container): Promise<VirtualProject>;
|
|
1312
1311
|
declare function compileNASLToReactDist(app: App, frontend: Frontend, config: CommonAppConfig): Promise<OrganizedFile[]>;
|
|
1313
1312
|
|
|
1314
1313
|
declare function makeDefaultContainer(): Container;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _lcap_nasl from '@lcap/nasl';
|
|
|
2
2
|
import { App, Frontend, LogicItem, genMetaData, FrontendVariable, TypeAnnotation, DefaultValue, Logic, BindAttribute, BindDirective, BindEvent, View, ViewElement, ValidationRule, Identifier, Return, Variable, Param, BindStyle } from '@lcap/nasl';
|
|
3
3
|
import { Container } from 'inversify';
|
|
4
4
|
import { format } from 'prettier/standalone';
|
|
5
|
-
import { AxiosInstance } from 'axios';
|
|
6
5
|
import pino from 'pino';
|
|
7
6
|
|
|
8
7
|
interface CommonAppConfig {
|
|
@@ -1308,7 +1307,7 @@ declare class VirtualProject {
|
|
|
1308
1307
|
};
|
|
1309
1308
|
readFile(path: string): string;
|
|
1310
1309
|
}
|
|
1311
|
-
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container
|
|
1310
|
+
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container): Promise<VirtualProject>;
|
|
1312
1311
|
declare function compileNASLToReactDist(app: App, frontend: Frontend, config: CommonAppConfig): Promise<OrganizedFile[]>;
|
|
1313
1312
|
|
|
1314
1313
|
declare function makeDefaultContainer(): Container;
|