dirsql 0.4.120 → 0.4.122

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.
@@ -249,6 +249,19 @@ returned, and errors. Values render as text (`NULL` is marked), and only the
249
249
  first 1000 rows are displayed. An empty result says so and shows no column
250
250
  names, since the response carries none.
251
251
 
252
+ Above the SQL box the page shows the query root and the path-table columns
253
+ (`path`, `basename`, `dir`, `ext`, `size`, `mtime`, `ctime`, plus `content`,
254
+ read only when named), with a button that loads the starter query. A config
255
+ with declared tables adds each table and its columns; choosing one loads
256
+ `SELECT * FROM "<table>" LIMIT 100` into the box without running it.
257
+ Declared-table globs anchor at their config file's directory, while
258
+ path-tables resolve under the query root. With no declared tables, including
259
+ a config of only functions or extensions, the page shows the path-table
260
+ start alone. A config that fails to load shows its diagnostic and how to
261
+ restart. To refresh, run the query again: path-tables re-read the filesystem,
262
+ and declared tables reflect the server's index. The page does not use
263
+ `/events`.
264
+
252
265
  ```bash
253
266
  dirsql server --frontend
254
267
  dirsql server --frontend -c .dirsql.toml
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirsql",
3
- "version": "0.4.120",
3
+ "version": "0.4.122",
4
4
  "description": "Ephemeral SQL index over a local directory",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/dirsql",
@@ -221,10 +221,10 @@
221
221
  ]
222
222
  },
223
223
  "optionalDependencies": {
224
- "@dirsql/lib-linux-x64-gnu": "0.4.120",
225
- "@dirsql/lib-linux-arm64-gnu": "0.4.120",
226
- "@dirsql/lib-darwin-x64": "0.4.120",
227
- "@dirsql/lib-darwin-arm64": "0.4.120",
228
- "@dirsql/lib-win32-x64-msvc": "0.4.120"
224
+ "@dirsql/lib-linux-x64-gnu": "0.4.122",
225
+ "@dirsql/lib-linux-arm64-gnu": "0.4.122",
226
+ "@dirsql/lib-darwin-x64": "0.4.122",
227
+ "@dirsql/lib-darwin-arm64": "0.4.122",
228
+ "@dirsql/lib-win32-x64-msvc": "0.4.122"
229
229
  }
230
230
  }