@lcap/nasl-unified-frontend-generator 3.8.3-beta.25 → 3.8.3-beta.25-optimize
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +70 -69
- package/dist/index.mjs +66 -65
- package/dist/playground.js +61 -60
- package/dist/playground.mjs +61 -60
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ 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';
|
|
5
6
|
import pino from 'pino';
|
|
6
7
|
|
|
7
8
|
interface CommonAppConfig {
|
|
@@ -1307,7 +1308,7 @@ declare class VirtualProject {
|
|
|
1307
1308
|
};
|
|
1308
1309
|
readFile(path: string): string;
|
|
1309
1310
|
}
|
|
1310
|
-
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container): Promise<VirtualProject>;
|
|
1311
|
+
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container, axios?: AxiosInstance): Promise<VirtualProject>;
|
|
1311
1312
|
declare function compileNASLToReactDist(app: App, frontend: Frontend, config: CommonAppConfig): Promise<OrganizedFile[]>;
|
|
1312
1313
|
|
|
1313
1314
|
declare function makeDefaultContainer(): Container;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ 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';
|
|
5
6
|
import pino from 'pino';
|
|
6
7
|
|
|
7
8
|
interface CommonAppConfig {
|
|
@@ -1307,7 +1308,7 @@ declare class VirtualProject {
|
|
|
1307
1308
|
};
|
|
1308
1309
|
readFile(path: string): string;
|
|
1309
1310
|
}
|
|
1310
|
-
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container): Promise<VirtualProject>;
|
|
1311
|
+
declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container, axios?: AxiosInstance): Promise<VirtualProject>;
|
|
1311
1312
|
declare function compileNASLToReactDist(app: App, frontend: Frontend, config: CommonAppConfig): Promise<OrganizedFile[]>;
|
|
1312
1313
|
|
|
1313
1314
|
declare function makeDefaultContainer(): Container;
|