@atomic-ehr/codegen 0.0.1-canary.20251008121245.8324bc2 → 0.0.1-canary.20251009074815.3e20aa6
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/cli/index.js +28 -28
- package/dist/index.d.ts +3 -0
- package/dist/index.js +373 -208
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -433,6 +433,7 @@ interface Config {
|
|
|
433
433
|
overwrite?: boolean;
|
|
434
434
|
validate?: boolean;
|
|
435
435
|
cache?: boolean;
|
|
436
|
+
cleanOutput?: boolean;
|
|
436
437
|
typescript?: TypeScriptGeneratorConfig;
|
|
437
438
|
typeSchema?: TypeSchemaConfig;
|
|
438
439
|
packages?: string[];
|
|
@@ -752,6 +753,7 @@ interface APIBuilderOptions {
|
|
|
752
753
|
verbose?: boolean;
|
|
753
754
|
overwrite?: boolean;
|
|
754
755
|
cache?: boolean;
|
|
756
|
+
cleanOutput?: boolean;
|
|
755
757
|
typeSchemaConfig?: TypeSchemaConfig;
|
|
756
758
|
logger?: CodegenLogger;
|
|
757
759
|
manager?: ReturnType<typeof CanonicalManager> | null;
|
|
@@ -823,6 +825,7 @@ declare class APIBuilder {
|
|
|
823
825
|
outputTo(directory: string): APIBuilder;
|
|
824
826
|
verbose(enabled?: boolean): APIBuilder;
|
|
825
827
|
throwException(enabled?: boolean): APIBuilder;
|
|
828
|
+
cleanOutput(enabled?: boolean): APIBuilder;
|
|
826
829
|
generate(): Promise<GenerationResult>;
|
|
827
830
|
/**
|
|
828
831
|
* Generate and return the results without writing to files
|