@kubb/core 0.37.30 → 0.39.0

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.ts CHANGED
@@ -202,6 +202,11 @@ type EmittedFile = {
202
202
  source?: string;
203
203
  options?: Record<string, any>;
204
204
  };
205
+ type Import = {
206
+ name: string | string[];
207
+ path: string;
208
+ type?: boolean;
209
+ };
205
210
  type File = {
206
211
  /**
207
212
  * Name to be used to dynamicly create the fileName(based on input.path)
@@ -212,6 +217,7 @@ type File = {
212
217
  */
213
218
  path: string;
214
219
  source: string;
220
+ imports?: Import[];
215
221
  };
216
222
  type UUID = string;
217
223
  type CacheStore = {
@@ -242,6 +248,7 @@ declare class FileManager {
242
248
  private getCountByStatus;
243
249
  get files(): File[];
244
250
  add(file: File): Promise<File>;
251
+ build(file: File): string;
245
252
  addOrAppend(file: File): Promise<File>;
246
253
  setStatus(id: UUID, status: Status): void;
247
254
  get(id: UUID): File | undefined;