File tree Expand file tree Collapse file tree 7 files changed +1
-51
lines changed Expand file tree Collapse file tree 7 files changed +1
-51
lines changed Original file line number Diff line number Diff line change 11import {
2- DbDefinition ,
3- DbRelationshipDefinition ,
4- } from "@funktechno/little-mermaid-2-the-sql/lib/src/types" ;
5- import {
6- DatabaseModelResult ,
7- TableAttribute ,
8- TableEntity ,
9- } from "./types/sql-plugin-types" ;
10- import {
11- DatabaseModel ,
122 ForeignKeyModel ,
133 PrimaryKeyModel ,
14- PropertyModel ,
154 TableModel ,
165} from "@funktechno/sqlsimpleparser/lib/types" ;
17- import { JSONSchema4 , JSONSchema4TypeName } from "json-schema" ;
186import {
197 convertCoreTypesToJsonSchema ,
208 convertOpenApiToCoreTypes ,
@@ -28,17 +16,12 @@ import { convertTypeScriptToCoreTypes } from "core-types-ts/dist/lib/ts-to-core-
2816import { convertCoreTypesToTypeScript } from "core-types-ts" ;
2917import {
3018 CreateTableUI ,
31- GetColumnQuantifiers ,
32- RemoveNameQuantifiers ,
33- dbTypeEnds ,
34- getDbLabel ,
3519 getMermaidDiagramDb ,
3620} from "./utils/sharedUtils" ;
3721import { pluginVersion } from "./utils/constants" ;
3822import {
3923 ConvertOpenApiToDatabaseModel ,
4024 dbToOpenApi ,
41- GeneratePropertyModel ,
4225} from "./utils/nosqlUtils" ;
4326import { defaultReset , defaultResetOpenApi } from "./utils/constants-nosql" ;
4427
Original file line number Diff line number Diff line change 11import {
2- DbDefinition ,
3- DbRelationshipDefinition ,
4- } from "@funktechno/little-mermaid-2-the-sql/lib/src/types" ;
5- import { TableAttribute , TableEntity } from "./types/sql-plugin-types" ;
6- import {
7- DatabaseModel ,
82 ForeignKeyModel ,
93 PrimaryKeyModel ,
10- PropertyModel ,
114 TableModel ,
125} from "@funktechno/sqlsimpleparser/lib/types" ;
13- import { JSONSchema4 , JSONSchema4TypeName } from "json-schema" ;
146import {
157 convertCoreTypesToJsonSchema ,
168 convertOpenApiToCoreTypes ,
@@ -22,17 +14,12 @@ import {
2214} from "openapi-json-schema" ;
2315import {
2416 CreateTableUI ,
25- GetColumnQuantifiers ,
26- RemoveNameQuantifiers ,
27- dbTypeEnds ,
28- getDbLabel ,
2917 getMermaidDiagramDb ,
3018} from "./utils/sharedUtils" ;
3119import { pluginVersion } from "./utils/constants" ;
3220import {
3321 ConvertOpenApiToDatabaseModel ,
3422 dbToOpenApi ,
35- GeneratePropertyModel ,
3623} from "./utils/nosqlUtils" ;
3724import { defaultResetOpenApi } from "./utils/constants-nosql" ;
3825
Original file line number Diff line number Diff line change 11import { DbParser } from "@funktechno/little-mermaid-2-the-sql/lib/src/generate-sql-ddl" ;
22import {
33 DbDefinition ,
4- DbRelationshipDefinition ,
54} from "@funktechno/little-mermaid-2-the-sql/lib/src/types" ;
6- import { TableAttribute , TableEntity } from "./types/sql-plugin-types" ;
75import { SqlSimpleParser } from "@funktechno/sqlsimpleparser" ;
86import {
97 ForeignKeyModel ,
108 PrimaryKeyModel ,
11- PropertyModel ,
129 TableModel ,
1310} from "@funktechno/sqlsimpleparser/lib/types" ;
1411import {
1512 CreateTableUI ,
16- GetColumnQuantifiers ,
17- RemoveNameQuantifiers ,
18- getDbLabel ,
1913 getMermaidDiagramDb ,
2014} from "./utils/sharedUtils" ;
2115import { pluginVersion } from "./utils/constants" ;
Original file line number Diff line number Diff line change 1- import { DbDefinition } from "@funktechno/little-mermaid-2-the-sql/lib/src/types" ;
21import {
32 OpenApiSchemaTypeDefinition ,
43 PartialOpenApiSchema ,
@@ -14,15 +13,12 @@ import {
1413} from "./constants" ;
1514import { JSONSchema4 , JSONSchema4TypeName } from "json-schema" ;
1615import {
17- ColumnQuantifiers ,
1816 DatabaseModelResult ,
1917} from "../types/sql-plugin-types" ;
2018import {
2119 dbTypeEnds ,
2220 generateComment ,
23- GetColumnQuantifiers ,
2421 getCommentIndexes ,
25- getDbLabel ,
2622 RemoveNameQuantifiers ,
2723} from "./sharedUtils" ;
2824import {
Original file line number Diff line number Diff line change 11import {
2- DbDefinition ,
32 DbRelationshipDefinition ,
43} from "@funktechno/little-mermaid-2-the-sql/lib/src/types" ;
54import {
Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ import {
44 GeneratePropertyModel ,
55 ConvertOpenApiToDatabaseModel ,
66} from "../../src/utils/nosqlUtils" ;
7- import { JSONSchema4 , JSONSchema4TypeName } from "json-schema" ;
7+ import { JSONSchema4 } from "json-schema" ;
88import {
99 OpenApiSchemaTypeDefinition ,
10- PartialOpenApiSchema ,
1110} from "openapi-json-schema" ;
1211import {
1312 DatabaseModelResult ,
Original file line number Diff line number Diff line change @@ -13,14 +13,6 @@ import {
1313} from "../../src/utils/sharedUtils" ;
1414import { multiAssert } from "../helpers" ;
1515import {
16- DatabaseModelResult ,
17- TableAttribute ,
18- } from "../../src/types/sql-plugin-types" ;
19- import {
20- DbDefinition ,
21- DbEntityAttributesDefinition ,
22- DbEntityDefinition ,
23- DbRelSpec ,
2416 DbRelationshipDefinition ,
2517} from "@funktechno/little-mermaid-2-the-sql/lib/src/types" ;
2618
You can’t perform that action at this time.
0 commit comments