@datocms/cma-client 1.1.3 → 1.1.4
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/esm/generated/SchemaTypes.d.ts +11 -10
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +11 -10
- package/dist/types/generated/SchemaTypes.d.ts +11 -10
- package/dist/types/generated/SimpleSchemaTypes.d.ts +11 -10
- package/package.json +4 -4
- package/src/generated/SchemaTypes.ts +11 -10
- package/src/generated/SimpleSchemaTypes.ts +11 -10
|
@@ -4095,9 +4095,9 @@ export declare type ItemTypeDestroyJobSchema = {
|
|
|
4095
4095
|
*
|
|
4096
4096
|
* Only accept assets with specific file extensions.
|
|
4097
4097
|
*
|
|
4098
|
-
* | Parameter | Type
|
|
4099
|
-
* | ----------------- |
|
|
4100
|
-
* | `extensions` | `Array<String>`
|
|
4098
|
+
* | Parameter | Type | Required | Description |
|
|
4099
|
+
* | ----------------- | ------------------------------------------------------------------ | -------- | ------------------------------ |
|
|
4100
|
+
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4101
4101
|
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4102
4102
|
*
|
|
4103
4103
|
* Only one of the parameters must be specified.
|
|
@@ -4540,13 +4540,14 @@ export declare type ItemTypeDestroyJobSchema = {
|
|
|
4540
4540
|
*
|
|
4541
4541
|
* Built-in editor for _Structured text_ fields.
|
|
4542
4542
|
*
|
|
4543
|
-
* | Parameter | Type
|
|
4544
|
-
* | ------------------------- |
|
|
4545
|
-
* | `nodes` | `Array<String>`
|
|
4546
|
-
* | `marks` | `Array<String>`
|
|
4547
|
-
* | `
|
|
4548
|
-
* | `
|
|
4549
|
-
* | `
|
|
4543
|
+
* | Parameter | Type | Required | Description |
|
|
4544
|
+
* | ------------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
4545
|
+
* | `nodes` | `Array<String>` | ✅ | Specify which nodes the field should allow. Valid values: `"blockquote"`, `"code"`, `"heading"`, `"link"`, `"list"`, `"thematicBreak"` |
|
|
4546
|
+
* | `marks` | `Array<String>` | ✅ | Specify which marks the field should allow. Valid values: `"strong"`, `"emphasis"`, `"underline"`, `"strikethrough"`, `"code"`, `"highlight"` |
|
|
4547
|
+
* | `heading_levels` | `Array<Integer>` | ✅ | If `nodes` includes `"heading"`, specify which heading levels the field should allow. Valid values: numbers between 1 and 6 |
|
|
4548
|
+
* | `blocks_start_collapsed` | `Boolean` | | Whether you want block nodes collapsed by default or not |
|
|
4549
|
+
* | `show_links_target_blank` | `Boolean` | | Whether you want to show the "Open this link in a new tab?" checkbox, that fills in the `target: "_blank"` meta attribute for links |
|
|
4550
|
+
* | `show_links_meta_editor` | `Boolean` | | Whether you want to show the complete meta editor for links |
|
|
4550
4551
|
*
|
|
4551
4552
|
* </details>
|
|
4552
4553
|
*
|
|
@@ -4608,9 +4608,9 @@ export declare type JobData = {
|
|
|
4608
4608
|
*
|
|
4609
4609
|
* Only accept assets with specific file extensions.
|
|
4610
4610
|
*
|
|
4611
|
-
* | Parameter | Type
|
|
4612
|
-
* | ----------------- |
|
|
4613
|
-
* | `extensions` | `Array<String>`
|
|
4611
|
+
* | Parameter | Type | Required | Description |
|
|
4612
|
+
* | ----------------- | ------------------------------------------------------------------ | -------- | ------------------------------ |
|
|
4613
|
+
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4614
4614
|
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4615
4615
|
*
|
|
4616
4616
|
* Only one of the parameters must be specified.
|
|
@@ -5053,13 +5053,14 @@ export declare type JobData = {
|
|
|
5053
5053
|
*
|
|
5054
5054
|
* Built-in editor for _Structured text_ fields.
|
|
5055
5055
|
*
|
|
5056
|
-
* | Parameter | Type
|
|
5057
|
-
* | ------------------------- |
|
|
5058
|
-
* | `nodes` | `Array<String>`
|
|
5059
|
-
* | `marks` | `Array<String>`
|
|
5060
|
-
* | `
|
|
5061
|
-
* | `
|
|
5062
|
-
* | `
|
|
5056
|
+
* | Parameter | Type | Required | Description |
|
|
5057
|
+
* | ------------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
5058
|
+
* | `nodes` | `Array<String>` | ✅ | Specify which nodes the field should allow. Valid values: `"blockquote"`, `"code"`, `"heading"`, `"link"`, `"list"`, `"thematicBreak"` |
|
|
5059
|
+
* | `marks` | `Array<String>` | ✅ | Specify which marks the field should allow. Valid values: `"strong"`, `"emphasis"`, `"underline"`, `"strikethrough"`, `"code"`, `"highlight"` |
|
|
5060
|
+
* | `heading_levels` | `Array<Integer>` | ✅ | If `nodes` includes `"heading"`, specify which heading levels the field should allow. Valid values: numbers between 1 and 6 |
|
|
5061
|
+
* | `blocks_start_collapsed` | `Boolean` | | Whether you want block nodes collapsed by default or not |
|
|
5062
|
+
* | `show_links_target_blank` | `Boolean` | | Whether you want to show the "Open this link in a new tab?" checkbox, that fills in the `target: "_blank"` meta attribute for links |
|
|
5063
|
+
* | `show_links_meta_editor` | `Boolean` | | Whether you want to show the complete meta editor for links |
|
|
5063
5064
|
*
|
|
5064
5065
|
* </details>
|
|
5065
5066
|
*
|
|
@@ -4095,9 +4095,9 @@ export declare type ItemTypeDestroyJobSchema = {
|
|
|
4095
4095
|
*
|
|
4096
4096
|
* Only accept assets with specific file extensions.
|
|
4097
4097
|
*
|
|
4098
|
-
* | Parameter | Type
|
|
4099
|
-
* | ----------------- |
|
|
4100
|
-
* | `extensions` | `Array<String>`
|
|
4098
|
+
* | Parameter | Type | Required | Description |
|
|
4099
|
+
* | ----------------- | ------------------------------------------------------------------ | -------- | ------------------------------ |
|
|
4100
|
+
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4101
4101
|
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4102
4102
|
*
|
|
4103
4103
|
* Only one of the parameters must be specified.
|
|
@@ -4540,13 +4540,14 @@ export declare type ItemTypeDestroyJobSchema = {
|
|
|
4540
4540
|
*
|
|
4541
4541
|
* Built-in editor for _Structured text_ fields.
|
|
4542
4542
|
*
|
|
4543
|
-
* | Parameter | Type
|
|
4544
|
-
* | ------------------------- |
|
|
4545
|
-
* | `nodes` | `Array<String>`
|
|
4546
|
-
* | `marks` | `Array<String>`
|
|
4547
|
-
* | `
|
|
4548
|
-
* | `
|
|
4549
|
-
* | `
|
|
4543
|
+
* | Parameter | Type | Required | Description |
|
|
4544
|
+
* | ------------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
4545
|
+
* | `nodes` | `Array<String>` | ✅ | Specify which nodes the field should allow. Valid values: `"blockquote"`, `"code"`, `"heading"`, `"link"`, `"list"`, `"thematicBreak"` |
|
|
4546
|
+
* | `marks` | `Array<String>` | ✅ | Specify which marks the field should allow. Valid values: `"strong"`, `"emphasis"`, `"underline"`, `"strikethrough"`, `"code"`, `"highlight"` |
|
|
4547
|
+
* | `heading_levels` | `Array<Integer>` | ✅ | If `nodes` includes `"heading"`, specify which heading levels the field should allow. Valid values: numbers between 1 and 6 |
|
|
4548
|
+
* | `blocks_start_collapsed` | `Boolean` | | Whether you want block nodes collapsed by default or not |
|
|
4549
|
+
* | `show_links_target_blank` | `Boolean` | | Whether you want to show the "Open this link in a new tab?" checkbox, that fills in the `target: "_blank"` meta attribute for links |
|
|
4550
|
+
* | `show_links_meta_editor` | `Boolean` | | Whether you want to show the complete meta editor for links |
|
|
4550
4551
|
*
|
|
4551
4552
|
* </details>
|
|
4552
4553
|
*
|
|
@@ -4608,9 +4608,9 @@ export declare type JobData = {
|
|
|
4608
4608
|
*
|
|
4609
4609
|
* Only accept assets with specific file extensions.
|
|
4610
4610
|
*
|
|
4611
|
-
* | Parameter | Type
|
|
4612
|
-
* | ----------------- |
|
|
4613
|
-
* | `extensions` | `Array<String>`
|
|
4611
|
+
* | Parameter | Type | Required | Description |
|
|
4612
|
+
* | ----------------- | ------------------------------------------------------------------ | -------- | ------------------------------ |
|
|
4613
|
+
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4614
4614
|
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4615
4615
|
*
|
|
4616
4616
|
* Only one of the parameters must be specified.
|
|
@@ -5053,13 +5053,14 @@ export declare type JobData = {
|
|
|
5053
5053
|
*
|
|
5054
5054
|
* Built-in editor for _Structured text_ fields.
|
|
5055
5055
|
*
|
|
5056
|
-
* | Parameter | Type
|
|
5057
|
-
* | ------------------------- |
|
|
5058
|
-
* | `nodes` | `Array<String>`
|
|
5059
|
-
* | `marks` | `Array<String>`
|
|
5060
|
-
* | `
|
|
5061
|
-
* | `
|
|
5062
|
-
* | `
|
|
5056
|
+
* | Parameter | Type | Required | Description |
|
|
5057
|
+
* | ------------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
5058
|
+
* | `nodes` | `Array<String>` | ✅ | Specify which nodes the field should allow. Valid values: `"blockquote"`, `"code"`, `"heading"`, `"link"`, `"list"`, `"thematicBreak"` |
|
|
5059
|
+
* | `marks` | `Array<String>` | ✅ | Specify which marks the field should allow. Valid values: `"strong"`, `"emphasis"`, `"underline"`, `"strikethrough"`, `"code"`, `"highlight"` |
|
|
5060
|
+
* | `heading_levels` | `Array<Integer>` | ✅ | If `nodes` includes `"heading"`, specify which heading levels the field should allow. Valid values: numbers between 1 and 6 |
|
|
5061
|
+
* | `blocks_start_collapsed` | `Boolean` | | Whether you want block nodes collapsed by default or not |
|
|
5062
|
+
* | `show_links_target_blank` | `Boolean` | | Whether you want to show the "Open this link in a new tab?" checkbox, that fills in the `target: "_blank"` meta attribute for links |
|
|
5063
|
+
* | `show_links_meta_editor` | `Boolean` | | Whether you want to show the complete meta editor for links |
|
|
5063
5064
|
*
|
|
5064
5065
|
* </details>
|
|
5065
5066
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datocms/cma-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "JS client for DatoCMS REST Content Management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"url": "https://github.com/datocms/js-rest-api-clients/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@datocms/rest-client-utils": "^1.1.
|
|
40
|
+
"@datocms/rest-client-utils": "^1.1.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@datocms/dashboard-client": "^1.1.
|
|
43
|
+
"@datocms/dashboard-client": "^1.1.4"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "3db68512cfe35acfafa7ffc7589dc3e33d4aea62"
|
|
46
46
|
}
|
|
@@ -4360,9 +4360,9 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
4360
4360
|
*
|
|
4361
4361
|
* Only accept assets with specific file extensions.
|
|
4362
4362
|
*
|
|
4363
|
-
* | Parameter | Type
|
|
4364
|
-
* | ----------------- |
|
|
4365
|
-
* | `extensions` | `Array<String>`
|
|
4363
|
+
* | Parameter | Type | Required | Description |
|
|
4364
|
+
* | ----------------- | ------------------------------------------------------------------ | -------- | ------------------------------ |
|
|
4365
|
+
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4366
4366
|
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4367
4367
|
*
|
|
4368
4368
|
* Only one of the parameters must be specified.
|
|
@@ -4805,13 +4805,14 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
4805
4805
|
*
|
|
4806
4806
|
* Built-in editor for _Structured text_ fields.
|
|
4807
4807
|
*
|
|
4808
|
-
* | Parameter | Type
|
|
4809
|
-
* | ------------------------- |
|
|
4810
|
-
* | `nodes` | `Array<String>`
|
|
4811
|
-
* | `marks` | `Array<String>`
|
|
4812
|
-
* | `
|
|
4813
|
-
* | `
|
|
4814
|
-
* | `
|
|
4808
|
+
* | Parameter | Type | Required | Description |
|
|
4809
|
+
* | ------------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
4810
|
+
* | `nodes` | `Array<String>` | ✅ | Specify which nodes the field should allow. Valid values: `"blockquote"`, `"code"`, `"heading"`, `"link"`, `"list"`, `"thematicBreak"` |
|
|
4811
|
+
* | `marks` | `Array<String>` | ✅ | Specify which marks the field should allow. Valid values: `"strong"`, `"emphasis"`, `"underline"`, `"strikethrough"`, `"code"`, `"highlight"` |
|
|
4812
|
+
* | `heading_levels` | `Array<Integer>` | ✅ | If `nodes` includes `"heading"`, specify which heading levels the field should allow. Valid values: numbers between 1 and 6 |
|
|
4813
|
+
* | `blocks_start_collapsed` | `Boolean` | | Whether you want block nodes collapsed by default or not |
|
|
4814
|
+
* | `show_links_target_blank` | `Boolean` | | Whether you want to show the "Open this link in a new tab?" checkbox, that fills in the `target: "_blank"` meta attribute for links |
|
|
4815
|
+
* | `show_links_meta_editor` | `Boolean` | | Whether you want to show the complete meta editor for links |
|
|
4815
4816
|
*
|
|
4816
4817
|
* </details>
|
|
4817
4818
|
*
|
|
@@ -4875,9 +4875,9 @@ export type JobData = {
|
|
|
4875
4875
|
*
|
|
4876
4876
|
* Only accept assets with specific file extensions.
|
|
4877
4877
|
*
|
|
4878
|
-
* | Parameter | Type
|
|
4879
|
-
* | ----------------- |
|
|
4880
|
-
* | `extensions` | `Array<String>`
|
|
4878
|
+
* | Parameter | Type | Required | Description |
|
|
4879
|
+
* | ----------------- | ------------------------------------------------------------------ | -------- | ------------------------------ |
|
|
4880
|
+
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4881
4881
|
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4882
4882
|
*
|
|
4883
4883
|
* Only one of the parameters must be specified.
|
|
@@ -5320,13 +5320,14 @@ export type JobData = {
|
|
|
5320
5320
|
*
|
|
5321
5321
|
* Built-in editor for _Structured text_ fields.
|
|
5322
5322
|
*
|
|
5323
|
-
* | Parameter | Type
|
|
5324
|
-
* | ------------------------- |
|
|
5325
|
-
* | `nodes` | `Array<String>`
|
|
5326
|
-
* | `marks` | `Array<String>`
|
|
5327
|
-
* | `
|
|
5328
|
-
* | `
|
|
5329
|
-
* | `
|
|
5323
|
+
* | Parameter | Type | Required | Description |
|
|
5324
|
+
* | ------------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
5325
|
+
* | `nodes` | `Array<String>` | ✅ | Specify which nodes the field should allow. Valid values: `"blockquote"`, `"code"`, `"heading"`, `"link"`, `"list"`, `"thematicBreak"` |
|
|
5326
|
+
* | `marks` | `Array<String>` | ✅ | Specify which marks the field should allow. Valid values: `"strong"`, `"emphasis"`, `"underline"`, `"strikethrough"`, `"code"`, `"highlight"` |
|
|
5327
|
+
* | `heading_levels` | `Array<Integer>` | ✅ | If `nodes` includes `"heading"`, specify which heading levels the field should allow. Valid values: numbers between 1 and 6 |
|
|
5328
|
+
* | `blocks_start_collapsed` | `Boolean` | | Whether you want block nodes collapsed by default or not |
|
|
5329
|
+
* | `show_links_target_blank` | `Boolean` | | Whether you want to show the "Open this link in a new tab?" checkbox, that fills in the `target: "_blank"` meta attribute for links |
|
|
5330
|
+
* | `show_links_meta_editor` | `Boolean` | | Whether you want to show the complete meta editor for links |
|
|
5330
5331
|
*
|
|
5331
5332
|
* </details>
|
|
5332
5333
|
*
|