@model-match/api 3.105.0 → 3.107.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 +11 -0
- package/dist/{index-DZEhRXIv.d.mts → index-ugFfJBXe.d.mts} +1009 -321
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +48 -6
- package/dist/slim/index.mjs +146 -6
- package/dist/{src-D4jlOQcB.mjs → src-DlIVTyg4.mjs} +162 -4
- package/openapi.json +1976 -253
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
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.107.0
|
|
6
|
+
|
|
7
|
+
- **SQLite databases in the files library.** A file whose contents are a SQLite database is now `kind: "sqlite"`, told from its bytes rather than its name. Databases can be up to 100 MB; `completeFile` refuses a larger one with `422 database_too_large`.
|
|
8
|
+
- Files now carry `database` (`null` for anything that is not a database): its tables with their columns and row counts, views, indexes and triggers, for the current revision. `status` is `ready`, `pending` while it has not been read yet, or `unusable` with a `code` and `message` when it cannot be opened as a database.
|
|
9
|
+
|
|
10
|
+
## 3.106.0
|
|
11
|
+
|
|
12
|
+
- **Pin files.** `pinFile` and `unpinFile` pin or unpin a file you can see, for you only. Files now carry `pinnedAt` (when you pinned it, or `null`), and `listFiles` with `pinned=true` lists only your pins.
|
|
13
|
+
- **Library entries for things in other apps.** `createFileReference` adds an entry for something that stays live in another app, such as a dashboard, chart or table: its title, kind and where to open it (`ref`, with `app`, `id` and `url`). It is ready at once, has no contents, and is listed, searched, pinned, renamed, shared, linked and deleted like any file. Calling it again with the same `ref.app` and `ref.id` updates the entry and keeps its id. To give it a thumbnail, upload an image with `createFileRevision`.
|
|
14
|
+
- Files now carry `ref` (`null` for an ordinary file). `updateFile` can change an entry's `ref.url`. An entry with no thumbnail answers `409 no_content` from `getFileContent`, and it cannot be made protected.
|
|
15
|
+
|
|
5
16
|
## 3.105.0
|
|
6
17
|
|
|
7
18
|
- **Heavy Studio jobs get capacity of their own.** A job saved with `size: "heavy"` now runs with much more memory and up to several hours per run. Runs take minutes rather than seconds, so `runStudioJob` answers `status: running`; read the job for how it ended. Each job now has `limits` (`timeoutSeconds`, `maxRows`, `runsOn`), and each run says the limits it had.
|