@atscript/db-mysql 0.1.39 → 0.1.40

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
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://atscript.moost.org/logo.svg" alt="Atscript" width="120" />
2
+ <img src="https://atscript.dev/logo.svg" alt="Atscript" width="120" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">@atscript/db-mysql</h1>
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
 
11
11
  <p align="center">
12
- <a href="https://atscript.moost.org">Documentation</a> · <a href="https://atscript.moost.org/db/adapters/mysql">MySQL Adapter</a>
12
+ <a href="https://db.atscript.dev">Documentation</a> · <a href="https://db.atscript.dev/adapters/mysql">MySQL Adapter</a>
13
13
  </p>
14
14
 
15
15
  ---
@@ -27,13 +27,13 @@ pnpm add @atscript/db-mysql mysql2
27
27
  ## Quick Start
28
28
 
29
29
  ```typescript
30
- import { DbSpace } from '@atscript/db'
31
- import { createAdapter } from '@atscript/db-mysql'
30
+ import { DbSpace } from "@atscript/db";
31
+ import { createAdapter } from "@atscript/db-mysql";
32
32
 
33
- const db = createAdapter('mysql://root@localhost:3306/mydb')
34
- const users = db.getTable(UsersType)
33
+ const db = createAdapter("mysql://root@localhost:3306/mydb");
34
+ const users = db.getTable(UsersType);
35
35
 
36
- await users.insertOne({ name: 'Alice', email: 'alice@example.com' })
36
+ await users.insertOne({ name: "Alice", email: "alice@example.com" });
37
37
  ```
38
38
 
39
39
  ## Features
@@ -50,8 +50,8 @@ await users.insertOne({ name: 'Alice', email: 'alice@example.com' })
50
50
 
51
51
  ## Documentation
52
52
 
53
- - [MySQL Adapter Guide](https://atscript.moost.org/db/adapters/mysql)
54
- - [Full Documentation](https://atscript.moost.org)
53
+ - [MySQL Adapter Guide](https://db.atscript.dev/adapters/mysql)
54
+ - [Full Documentation](https://db.atscript.dev)
55
55
 
56
56
  ## License
57
57
 
@@ -0,0 +1,6 @@
1
+ import { TAtscriptPlugin } from "@atscript/core";
2
+
3
+ //#region src/plugin/index.d.ts
4
+ declare const MysqlPlugin: () => TAtscriptPlugin;
5
+ //#endregion
6
+ export { MysqlPlugin as t };
@@ -0,0 +1,6 @@
1
+ import { TAtscriptPlugin } from "@atscript/core";
2
+
3
+ //#region src/plugin/index.d.ts
4
+ declare const MysqlPlugin: () => TAtscriptPlugin;
5
+ //#endregion
6
+ export { MysqlPlugin as t };