@kubb/oas 4.5.13 → 4.5.15
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.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -316,7 +316,14 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
|
|
|
316
316
|
fabric: Fabric;
|
|
317
317
|
config: Config;
|
|
318
318
|
pluginManager: PluginManager;
|
|
319
|
+
/**
|
|
320
|
+
* Only add when the file does not exist yet
|
|
321
|
+
*/
|
|
319
322
|
addFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
323
|
+
/**
|
|
324
|
+
* merging multiple sources into the same output file
|
|
325
|
+
*/
|
|
326
|
+
upsertFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
320
327
|
logger: Logger;
|
|
321
328
|
mode: KubbFile.Mode;
|
|
322
329
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -316,7 +316,14 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
|
|
|
316
316
|
fabric: Fabric;
|
|
317
317
|
config: Config;
|
|
318
318
|
pluginManager: PluginManager;
|
|
319
|
+
/**
|
|
320
|
+
* Only add when the file does not exist yet
|
|
321
|
+
*/
|
|
319
322
|
addFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
323
|
+
/**
|
|
324
|
+
* merging multiple sources into the same output file
|
|
325
|
+
*/
|
|
326
|
+
upsertFile: (...file: Array<KubbFile.File>) => Promise<void>;
|
|
320
327
|
logger: Logger;
|
|
321
328
|
mode: KubbFile.Mode;
|
|
322
329
|
/**
|
package/package.json
CHANGED