UNPKG

@macalinao/codama-renderers-js-esm

Version:

ESM-native TypeScript renderer for Codama JavaScript code generation

30 lines 1.16 kB
/** * Dependency map for ESM module resolution in Codama-generated code. * * This map defines how internal module dependencies should be resolved when generating * ESM-compatible TypeScript/JavaScript code. Each key represents a dependency identifier * used in the Codama code generation process, and each value is the relative path * to the actual module file in the generated output. * * The paths are relative to the importing module and include the .js extension * for proper ESM resolution, even when the source files are TypeScript. * * @example * - "errors" maps to "../errors/index.js" for error type definitions * - "generatedAccounts" maps to "../accounts/index.js" for account structures * - "hooked" maps to "../../hooked/index.js" for hook implementations */ export declare const ESM_DEPENDENCY_MAP: { errors: string; generated: string; generatedAccounts: string; generatedErrors: string; generatedInstructions: string; generatedPdas: string; generatedPrograms: string; generatedTypes: string; hooked: string; shared: string; types: string; }; //# sourceMappingURL=constants.d.ts.map