type-crafter 0.3.0 → 0.5.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.
@@ -1,2 +1,2 @@
1
1
  import type { GenerationResult, SpecFileData } from '$types';
2
- export declare function generator(specFileData: SpecFileData): GenerationResult;
2
+ export declare function generator(specFileData: SpecFileData): Promise<GenerationResult>;
@@ -1,2 +1,6 @@
1
- import type { JSONObject } from 'type-decoder';
2
- export declare function resolveReference(reference: string): JSONObject;
1
+ import { type ResolveReferenceData } from '$types';
2
+ export declare function resolveReference(reference: string): Promise<ResolveReferenceData>;
3
+ export declare function fillPatterns(input: string, patterns: Array<{
4
+ regex: RegExp;
5
+ value: string;
6
+ }>): string;