air-dml 1.2.8 → 2.0.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.
package/README.md CHANGED
@@ -9,6 +9,22 @@ AIR-DML is an extended DBML (Database Markup Language) parser designed for AI-dr
9
9
  [![npm version](https://badge.fury.io/js/air-dml.svg)](https://www.npmjs.com/package/air-dml)
10
10
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
11
11
 
12
+ ## Used In Production
13
+
14
+ <a href="https://mode-ai.io">
15
+ <img src="https://mode-ai.io/favicon.svg" alt="Mode-ai" width="48" height="48" align="left" style="margin-right: 12px;" />
16
+ </a>
17
+
18
+ **[Mode-ai](https://mode-ai.io)** - AI-Powered Data Modeling Tool
19
+
20
+ Generate ER diagrams from natural language using AI. Mode-ai is the reference implementation of AIR-DML, showcasing the full potential of AI-ready data modeling.
21
+
22
+ - Natural language to ER diagram generation
23
+ - Interactive visual editor with drag & drop
24
+ - Export to SQL, DBML, and more
25
+
26
+ <br clear="left"/>
27
+
12
28
  ## Features
13
29
 
14
30
  ✨ **AI-Optimized**: Designed for AI language models to understand and generate database schemas
@@ -318,7 +334,7 @@ AIR-DML extends [DBML](https://github.com/holistics/dbml) (also Apache-2.0).
318
334
  - [GitHub Repository](https://github.com/hiroaki-handa/air-dml)
319
335
  - [npm Package](https://www.npmjs.com/package/air-dml)
320
336
  - [AIR-DML Specification](./SPECIFICATION.md)
321
- - [Mode-ai](https://mode-ai.net) - Reference implementation
337
+ - [Mode-ai](https://mode-ai.io) - Reference implementation (AI-Powered Data Modeling Tool)
322
338
 
323
339
  ---
324
340
 
@@ -1,4 +1,5 @@
1
- import type { Diagram } from '../types';
1
+ export { parseAirDML as parseAirDMLResult, exportToAirDML, Lexer, LexerError, Parser, ParseError, transformAstToDiagram, } from './new';
2
+ import type { Diagram, ParseResult } from '../types';
2
3
  export declare function parseAirDML(airDmlText: string, diagramId?: string): Diagram;
3
- export declare function exportToAirDML(diagram: Diagram): string;
4
+ export declare function parseAirDMLSafe(airDmlText: string, diagramId?: string): ParseResult;
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/parser/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,OAAO,EAOR,MAAM,UAAU,CAAC;AA0BlB,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAuL3E;AAOD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAoLvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/parser/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,WAAW,IAAI,iBAAiB,EAChC,cAAc,EACd,KAAK,EACL,UAAU,EACV,MAAM,EACN,UAAU,EACV,qBAAqB,GACtB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAqBrD,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAQ3E;AA0BD,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,SAAS,CAAC,EAAE,MAAM,GACjB,WAAW,CAEb"}