@model-match/api 3.110.0 → 3.111.0
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/RELEASE_NOTES.md +5 -0
- package/dist/{index-D4yk3He3.d.mts → index-BDlga75E.d.mts} +185 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +14 -2
- package/dist/slim/index.mjs +42 -2
- package/dist/{src-CieihRcZ.mjs → src-CcvbR87G.mjs} +44 -0
- package/openapi.json +461 -1
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Changes to `@model-match/api` that affect how you use it. Each version is generated from the ModelMatch API's OpenAPI spec, so new endpoints and fields appear in the [API reference](https://docs.modelmatch.com/developers) as they ship.
|
|
4
4
|
|
|
5
|
+
## 3.111.0
|
|
6
|
+
|
|
7
|
+
- **Write to a database file.** `writeFileDatabase` runs a batch of statements on a SQLite database you own or can edit, in one transaction, and saves the result as the file's next revision. Pass `expectRevision` to write only if nobody saved a newer revision since you read it; otherwise the answer is `409 revision_conflict` with `latestRevision`. ATTACH, PRAGMA, VACUUM and extension loading are refused. The database's own triggers run.
|
|
8
|
+
- **Create a database file.** `createFileDatabase` makes a new SQLite database in your files library, empty or from a schema. It is ready at once.
|
|
9
|
+
|
|
5
10
|
## 3.110.0
|
|
6
11
|
|
|
7
12
|
- **Query a database file.** `getFileDatabase` lists a SQLite database's tables, columns and row counts. `queryFileDatabase` runs one read-only `SELECT` on it, with optional `params`, and returns up to `maxRows` rows (500 by default, at most 5,000). Anyone the file is shared with can read it. Writes, ATTACH, PRAGMA and extension loading are refused with `400 sql_not_allowed`.
|