type-crafter 0.4.0 → 0.6.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,7 @@
1
- import type { JSONObject } from 'type-decoder';
2
- export declare function resolveReference(reference: string): JSONObject;
1
+ import { type ResolvedTypeReferenceData, type ResolvedGroupReferenceData } from '$types';
2
+ export declare function resolveTypeReference(reference: string): Promise<ResolvedTypeReferenceData>;
3
+ export declare function resolveGroupReference(reference: string): Promise<ResolvedGroupReferenceData>;
4
+ export declare function fillPatterns(input: string, patterns: Array<{
5
+ regex: RegExp;
6
+ value: string;
7
+ }>): string;