@effect/sql-pglite 4.0.0 → 4.0.2
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/ai-docs/package.json +2 -2
- package/ai-docs/tsconfig.json +2 -1
- package/dist/PgliteMigrator.d.ts +3 -0
- package/dist/PgliteMigrator.d.ts.map +1 -1
- package/dist/PgliteMigrator.js +2 -0
- package/dist/PgliteMigrator.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/PgliteMigrator.ts +3 -0
- package/src/index.ts +2 -0
package/ai-docs/package.json
CHANGED
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@effect/sql-sqlite-wasm": "workspace:*",
|
|
28
28
|
"@effect/vitest": "workspace:*",
|
|
29
29
|
"effect": "workspace:*",
|
|
30
|
-
"hono": "^4.13.
|
|
31
|
-
"nodemailer": "^10.0.
|
|
30
|
+
"hono": "^4.13.12",
|
|
31
|
+
"nodemailer": "^10.0.14"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/nodemailer": "^8.0.2"
|
package/ai-docs/tsconfig.json
CHANGED
package/dist/PgliteMigrator.d.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* `SqlClient`. It does not require a separate PGlite service; the active SQL
|
|
7
7
|
* client supplies the database connection.
|
|
8
8
|
*
|
|
9
|
+
* @stability unstable
|
|
9
10
|
* @since 4.0.0
|
|
10
11
|
*/
|
|
11
12
|
import type * as Effect from "effect/Effect";
|
|
@@ -20,6 +21,7 @@ export * from "effect/sql/Migrator";
|
|
|
20
21
|
/**
|
|
21
22
|
* Runs SQL migrations using the configured `SqlClient`, returning the migrations that were applied.
|
|
22
23
|
*
|
|
24
|
+
* @stability unstable
|
|
23
25
|
* @category running
|
|
24
26
|
* @since 4.0.0
|
|
25
27
|
*/
|
|
@@ -27,6 +29,7 @@ export declare const run: <R2 = never>(options: Migrator.MigratorOptions<R2>) =>
|
|
|
27
29
|
/**
|
|
28
30
|
* Creates a layer that runs the configured SQL migrations during layer construction.
|
|
29
31
|
*
|
|
32
|
+
* @stability unstable
|
|
30
33
|
* @category layers
|
|
31
34
|
* @since 4.0.0
|
|
32
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PgliteMigrator.d.ts","sourceRoot":"","sources":["../src/PgliteMigrator.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"PgliteMigrator.d.ts","sourceRoot":"","sources":["../src/PgliteMigrator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAEnD;;GAEG;AACH,cAAc,qBAAqB,CAAA;AAEnC;;;;;;GAMG;AACH,eAAO,MAAM,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,EAC3B,OAAO,EAAE,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,KAClC,MAAM,CAAC,MAAM,CAChB,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,EAClD,QAAQ,CAAC,cAAc,GAAG,QAAQ,EAClC,MAAM,CAAC,SAAS,GAAG,EAAE,CACF,CAAA;AAErB;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,GAAI,CAAC,WACZ,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,KACnC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,cAAc,GAAG,QAAQ,EAAE,MAAM,CAAC,SAAS,GAAG,CAAC,CAAsC,CAAA"}
|
package/dist/PgliteMigrator.js
CHANGED
|
@@ -7,6 +7,7 @@ export * from "effect/sql/Migrator";
|
|
|
7
7
|
/**
|
|
8
8
|
* Runs SQL migrations using the configured `SqlClient`, returning the migrations that were applied.
|
|
9
9
|
*
|
|
10
|
+
* @stability unstable
|
|
10
11
|
* @category running
|
|
11
12
|
* @since 4.0.0
|
|
12
13
|
*/
|
|
@@ -14,6 +15,7 @@ export const run = /*#__PURE__*/Migrator.make({});
|
|
|
14
15
|
/**
|
|
15
16
|
* Creates a layer that runs the configured SQL migrations during layer construction.
|
|
16
17
|
*
|
|
18
|
+
* @stability unstable
|
|
17
19
|
* @category layers
|
|
18
20
|
* @since 4.0.0
|
|
19
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PgliteMigrator.js","names":[],"sources":["../src/PgliteMigrator.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"file":"PgliteMigrator.js","names":[],"sources":["../src/PgliteMigrator.ts"],"sourcesContent":[null],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,cAAc;AACrC,OAAO,KAAK,QAAQ,MAAM,qBAAqB;AAI/C;;;AAGA,cAAc,qBAAqB;AAEnC;;;;;;;AAOA,OAAO,MAAM,GAAG,gBAMZ,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;AAErB;;;;;;;AAOA,OAAO,MAAM,KAAK,GAChB,OAAoC,IAC6C,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC","ignoreList":[]}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;GAGG;AACH,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAA;AAEjD;;;GAGG;AACH,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @stability unstable
|
|
2
3
|
* @since 4.0.0
|
|
3
4
|
*/
|
|
4
5
|
// @barrel: Auto-generated exports. Do not edit manually.
|
|
@@ -8,6 +9,7 @@
|
|
|
8
9
|
*/
|
|
9
10
|
export * as PgliteClient from "./PgliteClient.js";
|
|
10
11
|
/**
|
|
12
|
+
* @stability unstable
|
|
11
13
|
* @since 4.0.0
|
|
12
14
|
*/
|
|
13
15
|
export * as PgliteMigrator from "./PgliteMigrator.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;AAKA;AAEA;;;;AAIA,OAAO,KAAK,YAAY,MAAM,mBAAmB;AAEjD;;;;AAIA,OAAO,KAAK,cAAc,MAAM,qBAAqB","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/sql-pglite",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A PGlite toolkit for Effect",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"provenance": true
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"effect": "^4.0.
|
|
54
|
+
"effect": "^4.0.2"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"effect": "^4.0.
|
|
57
|
+
"effect": "^4.0.2"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@electric-sql/pglite": "^0.5.8"
|
package/src/PgliteMigrator.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* `SqlClient`. It does not require a separate PGlite service; the active SQL
|
|
7
7
|
* client supplies the database connection.
|
|
8
8
|
*
|
|
9
|
+
* @stability unstable
|
|
9
10
|
* @since 4.0.0
|
|
10
11
|
*/
|
|
11
12
|
import type * as Effect from "effect/Effect"
|
|
@@ -22,6 +23,7 @@ export * from "effect/sql/Migrator"
|
|
|
22
23
|
/**
|
|
23
24
|
* Runs SQL migrations using the configured `SqlClient`, returning the migrations that were applied.
|
|
24
25
|
*
|
|
26
|
+
* @stability unstable
|
|
25
27
|
* @category running
|
|
26
28
|
* @since 4.0.0
|
|
27
29
|
*/
|
|
@@ -36,6 +38,7 @@ export const run: <R2 = never>(
|
|
|
36
38
|
/**
|
|
37
39
|
* Creates a layer that runs the configured SQL migrations during layer construction.
|
|
38
40
|
*
|
|
41
|
+
* @stability unstable
|
|
39
42
|
* @category layers
|
|
40
43
|
* @since 4.0.0
|
|
41
44
|
*/
|
package/src/index.ts
CHANGED