@lcap/nasl-unified-frontend-generator 3.8.3-alpha.1-optimize → 3.8.3-alpha.2-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 CHANGED
@@ -747,7 +747,9 @@ declare class ReactFileDescription {
747
747
  * @param importResolver - import 解析函数
748
748
  * @returns 序列化后的字符串
749
749
  */
750
- serialize(importResolver: ImportIRResolver): Promise<string>;
750
+ serialize(importResolver: ImportIRResolver, options?: {
751
+ noFormat?: boolean;
752
+ }): Promise<string>;
751
753
  /**
752
754
  * 将另外一个文件描述合并到当前文件描述(修改当前文件描述)
753
755
  * @param other - 另一个文件描述
@@ -1066,6 +1068,12 @@ declare namespace GeneratorInfrastructureDomain {
1066
1068
  organize(config: {
1067
1069
  baseDir: string;
1068
1070
  project: Record<string, InputFile | InputFile[]>;
1071
+ options?: {
1072
+ /**
1073
+ * 不格式化
1074
+ */
1075
+ noFormat?: boolean;
1076
+ };
1069
1077
  }): Promise<OrganizedFile[]>;
1070
1078
  }
1071
1079
  export { };
@@ -1263,6 +1271,12 @@ type InputFile = ReactFileDescription;
1263
1271
  type ProjectStructureConfig = {
1264
1272
  baseDir: string;
1265
1273
  project: Record<string, InputFile | InputFile[]>;
1274
+ options?: {
1275
+ /**
1276
+ * 不格式化
1277
+ */
1278
+ noFormat?: boolean;
1279
+ };
1266
1280
  };
1267
1281
  /**
1268
1282
  * 已经被放置在文件系统中的文件
package/dist/index.d.ts CHANGED
@@ -747,7 +747,9 @@ declare class ReactFileDescription {
747
747
  * @param importResolver - import 解析函数
748
748
  * @returns 序列化后的字符串
749
749
  */
750
- serialize(importResolver: ImportIRResolver): Promise<string>;
750
+ serialize(importResolver: ImportIRResolver, options?: {
751
+ noFormat?: boolean;
752
+ }): Promise<string>;
751
753
  /**
752
754
  * 将另外一个文件描述合并到当前文件描述(修改当前文件描述)
753
755
  * @param other - 另一个文件描述
@@ -1066,6 +1068,12 @@ declare namespace GeneratorInfrastructureDomain {
1066
1068
  organize(config: {
1067
1069
  baseDir: string;
1068
1070
  project: Record<string, InputFile | InputFile[]>;
1071
+ options?: {
1072
+ /**
1073
+ * 不格式化
1074
+ */
1075
+ noFormat?: boolean;
1076
+ };
1069
1077
  }): Promise<OrganizedFile[]>;
1070
1078
  }
1071
1079
  export { };
@@ -1263,6 +1271,12 @@ type InputFile = ReactFileDescription;
1263
1271
  type ProjectStructureConfig = {
1264
1272
  baseDir: string;
1265
1273
  project: Record<string, InputFile | InputFile[]>;
1274
+ options?: {
1275
+ /**
1276
+ * 不格式化
1277
+ */
1278
+ noFormat?: boolean;
1279
+ };
1266
1280
  };
1267
1281
  /**
1268
1282
  * 已经被放置在文件系统中的文件