Skip to content

Commit

Permalink
Rename index.d.ts to types.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
youngkiu committed Oct 31, 2022
1 parent a179a6b commit 8f7b879
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "schema-to-erd",
"version": "2.0.3",
"version": "2.0.4",
"description": "Generate ERD UML file from Schema DDL file",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/parse_ddl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Parser } from 'sql-ddl-to-json-schema';
import assert from 'assert';
import { JSONSchema7 } from 'json-schema';
import config from './unparsable.config';
import { parseDdlType } from './index.d';
import { parseDdlType } from './types';

const parser = new Parser('mysql');

Expand Down
2 changes: 1 addition & 1 deletion src/plantuml_table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseDdlType } from './index.d';
import { parseDdlType } from './types';

function generateEntity(
tableName: string,
Expand Down
2 changes: 1 addition & 1 deletion src/schema_to_erd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path';
import { PathLike } from 'node:fs';
import parseDdl from './parse_ddl';
import generatePlantUml from './plantuml_table';
import { parseDdlType, pumlOutputType } from './index.d';
import { parseDdlType, pumlOutputType } from './types';

export default async function schemaToErd(
schemaFilePath: PathLike,
Expand Down
File renamed without changes.

0 comments on commit 8f7b879

Please sign in to comment.