@withmarfa/client 0.0.64 → 0.0.65
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 +6 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1985,7 +1985,7 @@ interface paths {
|
|
|
1985
1985
|
};
|
|
1986
1986
|
/**
|
|
1987
1987
|
* Get the instance
|
|
1988
|
-
* @description Returns a description of the instance: its display name, `instance_id`, the build it runs, the release it was made as when it is one, the contract version it speaks and the
|
|
1988
|
+
* @description Returns a description of the instance: its display name, `instance_id`, the build it runs, the release it was made as when it is one, the contract version it speaks, the features it serves and the largest request body it takes. Needs no credential.
|
|
1989
1989
|
*/
|
|
1990
1990
|
get: operations["getInstance"];
|
|
1991
1991
|
put?: never;
|
|
@@ -2607,7 +2607,7 @@ interface components {
|
|
|
2607
2607
|
DisplayHints: {
|
|
2608
2608
|
/** @description The field that holds an item's title for display. */
|
|
2609
2609
|
title_field?: string;
|
|
2610
|
-
/** @description The field that holds an item's body for display. The field holds Markdown. */
|
|
2610
|
+
/** @description The field that holds an item's body for display. The field holds Markdown, and a `string` field named here holds up to 1,000,000 UTF-16 code units unless its `maxLength` says otherwise. */
|
|
2611
2611
|
body_field?: string;
|
|
2612
2612
|
/** @description Whether an item with no title is named by the first line of its body. `false` where the body is not a name, such as a highlight's passage: such an item is named after what it comes from, or `Untitled`. Defaults to `true`. */
|
|
2613
2613
|
name_from_body?: boolean;
|
|
@@ -2766,7 +2766,7 @@ interface components {
|
|
|
2766
2766
|
/** @description The values whose groups the view leaves out. */
|
|
2767
2767
|
hidden?: (string | number | boolean | null)[];
|
|
2768
2768
|
};
|
|
2769
|
-
/** @description An instance: its identity, build, contract version and
|
|
2769
|
+
/** @description An instance: its identity, build, contract version, features and request size. */
|
|
2770
2770
|
InstanceDescription: {
|
|
2771
2771
|
/** @description The instance's display name. Defaults to `Marfa`. */
|
|
2772
2772
|
name: string;
|
|
@@ -2780,6 +2780,8 @@ interface components {
|
|
|
2780
2780
|
contract: number;
|
|
2781
2781
|
/** @description The features the instance serves, such as `items` and `webhooks`. */
|
|
2782
2782
|
features: string[];
|
|
2783
|
+
/** @description The largest body, in bytes, the instance takes in an ordinary JSON request. A larger one is answered `413 request_too_large`. Bulk writes, blob uploads and a few other operations have their own limits. */
|
|
2784
|
+
max_request_bytes: number;
|
|
2783
2785
|
};
|
|
2784
2786
|
/** @description An error response. */
|
|
2785
2787
|
ValidationErrorRefusal: {
|
|
@@ -4067,7 +4069,7 @@ interface components {
|
|
|
4067
4069
|
format?: "url" | "email" | "datetime" | "date" | "thumbnail" | "bcp47" | "iso3166" | "currency" | "phone";
|
|
4068
4070
|
/** @description `false` if full-text search should skip the field. Items still return it. */
|
|
4069
4071
|
searchable?: boolean;
|
|
4070
|
-
/** @description The longest value a `string` or `enum` field allows. */
|
|
4072
|
+
/** @description The longest value a `string` or `enum` field allows, in UTF-16 code units. Defaults to 1,000,000 on the `string` field `display_hints.body_field` names, and to 100,000 on any other. */
|
|
4071
4073
|
maxLength?: number;
|
|
4072
4074
|
/** @description The most elements an `array` field allows. */
|
|
4073
4075
|
maxItems?: number;
|