@antelopejs/interface-database-catalog 0.1.0 → 0.1.1-next.42.gf8cf122
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/dist/index.d.ts +4 -1
- package/dist/index.js.map +1 -1
- package/docs/index.md +1 -1
- package/package.json +21 -23
package/dist/index.d.ts
CHANGED
|
@@ -321,7 +321,10 @@ export type ProbeAnswer = {
|
|
|
321
321
|
* set.
|
|
322
322
|
*/
|
|
323
323
|
canRead: boolean;
|
|
324
|
-
/**
|
|
324
|
+
/**
|
|
325
|
+
* The account may create a table in the database the URL names, or insert, update or delete
|
|
326
|
+
* in a relation it sees.
|
|
327
|
+
*/
|
|
325
328
|
canWrite: boolean;
|
|
326
329
|
/** Why the account cannot read when the cause is not its privileges; set only with `canRead` false. */
|
|
327
330
|
unreadable?: ProbeUnreadable;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAwS/D,sCAAsC;AACzB,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAEpC,oEAAoE;AACvD,QAAA,kBAAkB,GAAG,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAwS/D,sCAAsC;AACzB,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAEpC,oEAAoE;AACvD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AA4GtC;;;;;GAKG;AACU,QAAA,IAAI,GAAG,IAAA,kCAAiB,GAA8B,CAAC;AAEpE;;;GAGG;AACU,QAAA,aAAa,GACxB,IAAA,kCAAiB,GAAsD,CAAC;AAE1E,qDAAqD;AACxC,QAAA,iBAAiB,GAC5B,IAAA,kCAAiB,GAA2D,CAAC;AAE/E;;;GAGG;AACU,QAAA,OAAO,GAClB,IAAA,kCAAiB,GAAyD,CAAC;AAE7E;;;GAGG;AACU,QAAA,cAAc,GACzB,IAAA,kCAAiB,GAEd,CAAC;AAEN;;;GAGG;AACU,QAAA,UAAU,GACrB,IAAA,kCAAiB,GAAkD,CAAC"}
|
package/docs/index.md
CHANGED
|
@@ -186,7 +186,7 @@ A probe never rejects and changes no row. It answers a `ProbeAnswer`, told apart
|
|
|
186
186
|
|
|
187
187
|
For a signed-in account:
|
|
188
188
|
|
|
189
|
-
- `canWrite` is true when the account may insert, update or delete in
|
|
189
|
+
- `canWrite` is true when the account may create a table in the database the URL names, or insert, update or delete in a relation it sees;
|
|
190
190
|
- `canRead` is true when it may read any relation it sees, or sees none, and false whenever `unreadable` is set;
|
|
191
191
|
- `latencyMs` is how long the account's first query took, rounded up to a millisecond;
|
|
192
192
|
- `unreadable`, a `ProbeUnreadable`, comes with `canRead: false` and says why the account cannot read when the cause is not its privileges: `"no-database-named"`, `"no-database"` or `"cannot-list"`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/interface-database-catalog",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1-next.42.gf8cf122",
|
|
4
4
|
"description": "AntelopeJS interface for describing and profiling a connected database",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -31,29 +31,10 @@
|
|
|
31
31
|
"access": "public",
|
|
32
32
|
"provenance": true
|
|
33
33
|
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"build": "rimraf dist && tsc --skipLibCheck",
|
|
36
|
-
"typecheck": "tsc --noEmit",
|
|
37
|
-
"test": "pnpm run build",
|
|
38
|
-
"format": "oxfmt .",
|
|
39
|
-
"lint:fix": "oxlint --fix",
|
|
40
|
-
"lint": "oxlint",
|
|
41
|
-
"prepack": "pnpm run build",
|
|
42
|
-
"release": "pnpm run lint && pnpm run typecheck && pnpm run prepack && release-it",
|
|
43
|
-
"format:check": "oxfmt --check .",
|
|
44
|
-
"knip": "knip",
|
|
45
|
-
"prepare": "if [ -e .git ] && command -v git >/dev/null 2>&1 && command -v lefthook >/dev/null 2>&1 && GIT_DIR=.git GIT_WORK_TREE=. git rev-parse --git-dir >/dev/null 2>&1; then GIT_DIR=.git GIT_WORK_TREE=. lefthook install; fi",
|
|
46
|
-
"checks": "antelopejs-checks",
|
|
47
|
-
"size": "antelopejs-check-size",
|
|
48
|
-
"sync": "antelopejs-sync",
|
|
49
|
-
"sync:check": "antelopejs-sync --check",
|
|
50
|
-
"suppressions": "antelopejs-suppressions",
|
|
51
|
-
"suppressions:update": "antelopejs-suppressions --update"
|
|
52
|
-
},
|
|
53
34
|
"devDependencies": {
|
|
54
35
|
"@antelopejs/core": "~1.23.3",
|
|
55
36
|
"@antelopejs/interface-core": ">=0.5.0 <0.6.0",
|
|
56
|
-
"@antelopejs/tooling-configs": ">=0.
|
|
37
|
+
"@antelopejs/tooling-configs": ">=0.8.9 <0.9.0",
|
|
57
38
|
"@types/node": "^22.19.15",
|
|
58
39
|
"knip": "^6.34.0",
|
|
59
40
|
"lefthook": "^2.2.2",
|
|
@@ -68,10 +49,27 @@
|
|
|
68
49
|
"peerDependencies": {
|
|
69
50
|
"@antelopejs/interface-core": ">=0.5.0 <0.6.0"
|
|
70
51
|
},
|
|
71
|
-
"packageManager": "pnpm@10.6.5",
|
|
72
52
|
"antelopeJs": {
|
|
73
53
|
"docs": {
|
|
74
54
|
"standard": true
|
|
75
55
|
}
|
|
56
|
+
},
|
|
57
|
+
"gitHead": "f8cf122149d80eb145671d88d4fbf49aecc3cb70",
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "rimraf dist && tsc --skipLibCheck",
|
|
60
|
+
"typecheck": "tsc --noEmit",
|
|
61
|
+
"test": "pnpm run build",
|
|
62
|
+
"format": "oxfmt .",
|
|
63
|
+
"lint:fix": "oxlint --fix",
|
|
64
|
+
"lint": "oxlint",
|
|
65
|
+
"release": "pnpm run lint && pnpm run typecheck && pnpm run prepack && release-it",
|
|
66
|
+
"format:check": "oxfmt --check .",
|
|
67
|
+
"knip": "knip",
|
|
68
|
+
"checks": "antelopejs-checks",
|
|
69
|
+
"size": "antelopejs-check-size",
|
|
70
|
+
"sync": "antelopejs-sync",
|
|
71
|
+
"sync:check": "antelopejs-sync --check",
|
|
72
|
+
"suppressions": "antelopejs-suppressions",
|
|
73
|
+
"suppressions:update": "antelopejs-suppressions --update"
|
|
76
74
|
}
|
|
77
|
-
}
|
|
75
|
+
}
|