@decohere/data 0.0.1-dev.121 → 0.0.1-dev.123
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/LICENSE +15 -0
- package/es6/src/connection-info.js +1 -1
- package/package.json +21 -5
- package/types/src/connection-info.d.ts +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 Typesmiths
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
15
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Datasource connection settings.
|
|
3
3
|
*
|
|
4
|
-
* Privilege model (three roles
|
|
4
|
+
* Privilege model (three roles):
|
|
5
5
|
* - **username/password** — runtime app role (DML only in production).
|
|
6
6
|
* - **migrateUsername/migratePassword** — migration/DDL role (CI/deploy only; not on API pods).
|
|
7
7
|
* - **adminUser/adminPassword** — bootstrap role (`CREATEDB`/`CREATEROLE`, not superuser);
|
package/package.json
CHANGED
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decohere/data",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "0.0.1-dev.123",
|
|
4
|
+
"description": "Data access for Decohere apps: repositories, request-scoped units of work and database bootstrap",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"typescript",
|
|
7
|
+
"data-access",
|
|
8
|
+
"repository",
|
|
9
|
+
"unit-of-work",
|
|
10
|
+
"decohere"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://github.com/typesmiths/decohere/tree/main/projects/data/data#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/typesmiths/decohere/issues"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/typesmiths/decohere.git",
|
|
19
|
+
"directory": "projects/data/data"
|
|
20
|
+
},
|
|
5
21
|
"license": "ISC",
|
|
6
|
-
"author": "",
|
|
22
|
+
"author": "Typesmiths",
|
|
7
23
|
"type": "module",
|
|
8
24
|
"main": "index.js",
|
|
9
25
|
"exports": {
|
|
@@ -17,8 +33,8 @@
|
|
|
17
33
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
18
34
|
},
|
|
19
35
|
"dependencies": {
|
|
20
|
-
"@decohere/core": "0.0.1-dev.
|
|
21
|
-
"@decohere/crucible": "0.0.1-dev.
|
|
36
|
+
"@decohere/core": "0.0.1-dev.123",
|
|
37
|
+
"@decohere/crucible": "0.0.1-dev.123"
|
|
22
38
|
},
|
|
23
39
|
"devDependencies": {}
|
|
24
40
|
}
|
|
@@ -10,7 +10,7 @@ export type DatabaseAuth = "password" | "trust";
|
|
|
10
10
|
/**
|
|
11
11
|
* Datasource connection settings.
|
|
12
12
|
*
|
|
13
|
-
* Privilege model (three roles
|
|
13
|
+
* Privilege model (three roles):
|
|
14
14
|
* - **username/password** — runtime app role (DML only in production).
|
|
15
15
|
* - **migrateUsername/migratePassword** — migration/DDL role (CI/deploy only; not on API pods).
|
|
16
16
|
* - **adminUser/adminPassword** — bootstrap role (`CREATEDB`/`CREATEROLE`, not superuser);
|