@datocms/cma-client 1.2.7 → 1.2.9

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.
@@ -127,7 +127,7 @@ var Client = /** @class */ (function () {
127
127
  });
128
128
  Client.prototype.request = function (options) {
129
129
  var _this = this;
130
- return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v1.2.7', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
130
+ return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v1.2.9', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
131
131
  ? { 'X-Environment': this.config.environment }
132
132
  : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
133
133
  return _this.jobResultsFetcher
@@ -101,7 +101,7 @@ var Client = /** @class */ (function () {
101
101
  });
102
102
  Client.prototype.request = function (options) {
103
103
  var _this = this;
104
- return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v1.2.7', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
104
+ return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v1.2.9', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
105
105
  ? { 'X-Environment': this.config.environment }
106
106
  : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
107
107
  return _this.jobResultsFetcher
@@ -1060,6 +1060,23 @@ export declare type EditingSessionType = 'editing_session';
1060
1060
  * via the `definition` "id".
1061
1061
  */
1062
1062
  export declare type EditingSessionIdentity = string;
1063
+ /**
1064
+ * JSON API type field
1065
+ *
1066
+ * This interface was referenced by `FormData`'s JSON-Schema
1067
+ * via the `definition` "type".
1068
+ */
1069
+ export declare type FormDataType = 'form_data';
1070
+ /**
1071
+ * ID of form data
1072
+ *
1073
+ * This interface was referenced by `FormData`'s JSON-Schema
1074
+ * via the `definition` "identity".
1075
+ *
1076
+ * This interface was referenced by `FormData`'s JSON-Schema
1077
+ * via the `definition` "id".
1078
+ */
1079
+ export declare type FormDataIdentity = 'form_data';
1063
1080
  /**
1064
1081
  * JSON API type field
1065
1082
  *
@@ -1315,6 +1332,7 @@ export declare type DatoApi = {
1315
1332
  upload_filter?: UploadFilter;
1316
1333
  site_invitation?: SiteInvitation;
1317
1334
  editing_session?: EditingSession;
1335
+ form_data?: FormData;
1318
1336
  sso_group?: SsoGroup;
1319
1337
  sso_settings?: SsoSettings;
1320
1338
  white_label_settings?: WhiteLabelSettings;
@@ -8588,7 +8606,54 @@ export declare type EditingSessionUpdateSchema = {
8588
8606
  * via the `update.targetSchema` link.
8589
8607
  */
8590
8608
  export declare type EditingSessionUpdateTargetSchema = {
8591
- data: EditingSession;
8609
+ data: EditingSession | [EditingSession, FormData];
8610
+ };
8611
+ /**
8612
+ * Form contents for an editing session
8613
+ *
8614
+ * This interface was referenced by `DatoApi`'s JSON-Schema
8615
+ * via the `definition` "form_data".
8616
+ */
8617
+ export declare type FormData = {
8618
+ type: FormDataType;
8619
+ id: FormDataIdentity;
8620
+ attributes: FormDataAttributes;
8621
+ relationships: FormDataRelationships;
8622
+ };
8623
+ /**
8624
+ * JSON API attributes
8625
+ *
8626
+ * This interface was referenced by `FormData`'s JSON-Schema
8627
+ * via the `definition` "attributes".
8628
+ */
8629
+ export declare type FormDataAttributes = {
8630
+ form_data: null | {
8631
+ [k: string]: unknown;
8632
+ };
8633
+ };
8634
+ /**
8635
+ * JSON API links
8636
+ *
8637
+ * This interface was referenced by `FormData`'s JSON-Schema
8638
+ * via the `definition` "relationships".
8639
+ */
8640
+ export declare type FormDataRelationships = {
8641
+ /**
8642
+ * Account that's currently editing an item
8643
+ */
8644
+ editor: {
8645
+ data: AccountData;
8646
+ };
8647
+ };
8648
+ /**
8649
+ * JSON API data
8650
+ *
8651
+ * This interface was referenced by `FormData`'s JSON-Schema
8652
+ * via the `definition` "data".
8653
+ */
8654
+ export declare type FormDataData = {
8655
+ type: FormDataType;
8656
+ id: FormDataIdentity;
8592
8657
  };
8593
8658
  /**
8594
8659
  * This interface was referenced by `EditingSession`'s JSON-Schema
@@ -1322,6 +1322,28 @@ export declare type EditingSessionUpdateSchema = {
1322
1322
  type?: 'editing_session_unlock_item';
1323
1323
  [k: string]: unknown;
1324
1324
  };
1325
+ /**
1326
+ * This interface was referenced by `EditingSession`'s JSON-Schema
1327
+ * via the `update.targetSchema` link.
1328
+ */
1329
+ export declare type EditingSessionUpdateTargetSchema = EditingSession | [EditingSession, FormData];
1330
+ /**
1331
+ * ID of form data
1332
+ *
1333
+ * This interface was referenced by `FormData`'s JSON-Schema
1334
+ * via the `definition` "identity".
1335
+ *
1336
+ * This interface was referenced by `FormData`'s JSON-Schema
1337
+ * via the `definition` "id".
1338
+ */
1339
+ export declare type FormDataIdentity = 'form_data';
1340
+ /**
1341
+ * JSON API type field
1342
+ *
1343
+ * This interface was referenced by `FormData`'s JSON-Schema
1344
+ * via the `definition` "type".
1345
+ */
1346
+ export declare type FormDataType = 'form_data';
1325
1347
  /**
1326
1348
  * This interface was referenced by `SsoGroup`'s JSON-Schema
1327
1349
  * via the `instances.targetSchema` link.
@@ -1602,6 +1624,7 @@ export declare type DatoApi = {
1602
1624
  upload_filter?: UploadFilter;
1603
1625
  site_invitation?: SiteInvitation;
1604
1626
  editing_session?: EditingSession;
1627
+ form_data?: FormData;
1605
1628
  sso_group?: SsoGroup;
1606
1629
  sso_settings?: SsoSettings;
1607
1630
  white_label_settings?: WhiteLabelSettings;
@@ -8364,7 +8387,6 @@ export declare type EditingSession = {
8364
8387
  active_item_type: ItemTypeData;
8365
8388
  editor: AccountData | AccessTokenData | UserData;
8366
8389
  };
8367
- export declare type EditingSessionUpdateTargetSchema = EditingSession;
8368
8390
  export declare type EditingSessionDestroyTargetSchema = EditingSession;
8369
8391
  /**
8370
8392
  * JSON API data
@@ -8403,6 +8425,50 @@ export declare type EditingSessionRelationships = {
8403
8425
  active_item_type: ItemTypeData;
8404
8426
  editor: AccountData | AccessTokenData | UserData;
8405
8427
  };
8428
+ /**
8429
+ * Form contents for an editing session
8430
+ *
8431
+ * This interface was referenced by `DatoApi`'s JSON-Schema
8432
+ * via the `definition` "form_data".
8433
+ */
8434
+ export declare type FormData = {
8435
+ id: FormDataIdentity;
8436
+ type: FormDataType;
8437
+ form_data: null | {
8438
+ [k: string]: unknown;
8439
+ };
8440
+ editor: AccountData;
8441
+ };
8442
+ /**
8443
+ * JSON API data
8444
+ *
8445
+ * This interface was referenced by `FormData`'s JSON-Schema
8446
+ * via the `definition` "data".
8447
+ */
8448
+ export declare type FormDataData = {
8449
+ type: FormDataType;
8450
+ id: FormDataIdentity;
8451
+ };
8452
+ /**
8453
+ * JSON API attributes
8454
+ *
8455
+ * This interface was referenced by `FormData`'s JSON-Schema
8456
+ * via the `definition` "attributes".
8457
+ */
8458
+ export declare type FormDataAttributes = {
8459
+ form_data: null | {
8460
+ [k: string]: unknown;
8461
+ };
8462
+ };
8463
+ /**
8464
+ * JSON API links
8465
+ *
8466
+ * This interface was referenced by `FormData`'s JSON-Schema
8467
+ * via the `definition` "relationships".
8468
+ */
8469
+ export declare type FormDataRelationships = {
8470
+ editor: AccountData;
8471
+ };
8406
8472
  /**
8407
8473
  * A Single Sign-On group exists when a DatoCMS project is connected to an Identity Provider. These groups can be used to link DatoCMS roles to the Identity Provider's groups.
8408
8474
  *
@@ -1060,6 +1060,23 @@ export declare type EditingSessionType = 'editing_session';
1060
1060
  * via the `definition` "id".
1061
1061
  */
1062
1062
  export declare type EditingSessionIdentity = string;
1063
+ /**
1064
+ * JSON API type field
1065
+ *
1066
+ * This interface was referenced by `FormData`'s JSON-Schema
1067
+ * via the `definition` "type".
1068
+ */
1069
+ export declare type FormDataType = 'form_data';
1070
+ /**
1071
+ * ID of form data
1072
+ *
1073
+ * This interface was referenced by `FormData`'s JSON-Schema
1074
+ * via the `definition` "identity".
1075
+ *
1076
+ * This interface was referenced by `FormData`'s JSON-Schema
1077
+ * via the `definition` "id".
1078
+ */
1079
+ export declare type FormDataIdentity = 'form_data';
1063
1080
  /**
1064
1081
  * JSON API type field
1065
1082
  *
@@ -1315,6 +1332,7 @@ export declare type DatoApi = {
1315
1332
  upload_filter?: UploadFilter;
1316
1333
  site_invitation?: SiteInvitation;
1317
1334
  editing_session?: EditingSession;
1335
+ form_data?: FormData;
1318
1336
  sso_group?: SsoGroup;
1319
1337
  sso_settings?: SsoSettings;
1320
1338
  white_label_settings?: WhiteLabelSettings;
@@ -8588,7 +8606,54 @@ export declare type EditingSessionUpdateSchema = {
8588
8606
  * via the `update.targetSchema` link.
8589
8607
  */
8590
8608
  export declare type EditingSessionUpdateTargetSchema = {
8591
- data: EditingSession;
8609
+ data: EditingSession | [EditingSession, FormData];
8610
+ };
8611
+ /**
8612
+ * Form contents for an editing session
8613
+ *
8614
+ * This interface was referenced by `DatoApi`'s JSON-Schema
8615
+ * via the `definition` "form_data".
8616
+ */
8617
+ export declare type FormData = {
8618
+ type: FormDataType;
8619
+ id: FormDataIdentity;
8620
+ attributes: FormDataAttributes;
8621
+ relationships: FormDataRelationships;
8622
+ };
8623
+ /**
8624
+ * JSON API attributes
8625
+ *
8626
+ * This interface was referenced by `FormData`'s JSON-Schema
8627
+ * via the `definition` "attributes".
8628
+ */
8629
+ export declare type FormDataAttributes = {
8630
+ form_data: null | {
8631
+ [k: string]: unknown;
8632
+ };
8633
+ };
8634
+ /**
8635
+ * JSON API links
8636
+ *
8637
+ * This interface was referenced by `FormData`'s JSON-Schema
8638
+ * via the `definition` "relationships".
8639
+ */
8640
+ export declare type FormDataRelationships = {
8641
+ /**
8642
+ * Account that's currently editing an item
8643
+ */
8644
+ editor: {
8645
+ data: AccountData;
8646
+ };
8647
+ };
8648
+ /**
8649
+ * JSON API data
8650
+ *
8651
+ * This interface was referenced by `FormData`'s JSON-Schema
8652
+ * via the `definition` "data".
8653
+ */
8654
+ export declare type FormDataData = {
8655
+ type: FormDataType;
8656
+ id: FormDataIdentity;
8592
8657
  };
8593
8658
  /**
8594
8659
  * This interface was referenced by `EditingSession`'s JSON-Schema
@@ -1322,6 +1322,28 @@ export declare type EditingSessionUpdateSchema = {
1322
1322
  type?: 'editing_session_unlock_item';
1323
1323
  [k: string]: unknown;
1324
1324
  };
1325
+ /**
1326
+ * This interface was referenced by `EditingSession`'s JSON-Schema
1327
+ * via the `update.targetSchema` link.
1328
+ */
1329
+ export declare type EditingSessionUpdateTargetSchema = EditingSession | [EditingSession, FormData];
1330
+ /**
1331
+ * ID of form data
1332
+ *
1333
+ * This interface was referenced by `FormData`'s JSON-Schema
1334
+ * via the `definition` "identity".
1335
+ *
1336
+ * This interface was referenced by `FormData`'s JSON-Schema
1337
+ * via the `definition` "id".
1338
+ */
1339
+ export declare type FormDataIdentity = 'form_data';
1340
+ /**
1341
+ * JSON API type field
1342
+ *
1343
+ * This interface was referenced by `FormData`'s JSON-Schema
1344
+ * via the `definition` "type".
1345
+ */
1346
+ export declare type FormDataType = 'form_data';
1325
1347
  /**
1326
1348
  * This interface was referenced by `SsoGroup`'s JSON-Schema
1327
1349
  * via the `instances.targetSchema` link.
@@ -1602,6 +1624,7 @@ export declare type DatoApi = {
1602
1624
  upload_filter?: UploadFilter;
1603
1625
  site_invitation?: SiteInvitation;
1604
1626
  editing_session?: EditingSession;
1627
+ form_data?: FormData;
1605
1628
  sso_group?: SsoGroup;
1606
1629
  sso_settings?: SsoSettings;
1607
1630
  white_label_settings?: WhiteLabelSettings;
@@ -8364,7 +8387,6 @@ export declare type EditingSession = {
8364
8387
  active_item_type: ItemTypeData;
8365
8388
  editor: AccountData | AccessTokenData | UserData;
8366
8389
  };
8367
- export declare type EditingSessionUpdateTargetSchema = EditingSession;
8368
8390
  export declare type EditingSessionDestroyTargetSchema = EditingSession;
8369
8391
  /**
8370
8392
  * JSON API data
@@ -8403,6 +8425,50 @@ export declare type EditingSessionRelationships = {
8403
8425
  active_item_type: ItemTypeData;
8404
8426
  editor: AccountData | AccessTokenData | UserData;
8405
8427
  };
8428
+ /**
8429
+ * Form contents for an editing session
8430
+ *
8431
+ * This interface was referenced by `DatoApi`'s JSON-Schema
8432
+ * via the `definition` "form_data".
8433
+ */
8434
+ export declare type FormData = {
8435
+ id: FormDataIdentity;
8436
+ type: FormDataType;
8437
+ form_data: null | {
8438
+ [k: string]: unknown;
8439
+ };
8440
+ editor: AccountData;
8441
+ };
8442
+ /**
8443
+ * JSON API data
8444
+ *
8445
+ * This interface was referenced by `FormData`'s JSON-Schema
8446
+ * via the `definition` "data".
8447
+ */
8448
+ export declare type FormDataData = {
8449
+ type: FormDataType;
8450
+ id: FormDataIdentity;
8451
+ };
8452
+ /**
8453
+ * JSON API attributes
8454
+ *
8455
+ * This interface was referenced by `FormData`'s JSON-Schema
8456
+ * via the `definition` "attributes".
8457
+ */
8458
+ export declare type FormDataAttributes = {
8459
+ form_data: null | {
8460
+ [k: string]: unknown;
8461
+ };
8462
+ };
8463
+ /**
8464
+ * JSON API links
8465
+ *
8466
+ * This interface was referenced by `FormData`'s JSON-Schema
8467
+ * via the `definition` "relationships".
8468
+ */
8469
+ export declare type FormDataRelationships = {
8470
+ editor: AccountData;
8471
+ };
8406
8472
  /**
8407
8473
  * A Single Sign-On group exists when a DatoCMS project is connected to an Identity Provider. These groups can be used to link DatoCMS roles to the Identity Provider's groups.
8408
8474
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datocms/cma-client",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "JS client for DatoCMS REST Content Management API",
5
5
  "keywords": [
6
6
  "datocms",
@@ -40,7 +40,7 @@
40
40
  "@datocms/rest-client-utils": "^1.1.23"
41
41
  },
42
42
  "devDependencies": {
43
- "@datocms/dashboard-client": "^1.2.7"
43
+ "@datocms/dashboard-client": "^1.2.9"
44
44
  },
45
- "gitHead": "1b3cb48f8f3e1f1380e7d1d51a30eff1dff32139"
45
+ "gitHead": "9f477740a78951ba0b1e45a0a7961788fd80bf6a"
46
46
  }
@@ -133,7 +133,7 @@ export class Client {
133
133
  ...this.config,
134
134
  ...options,
135
135
  logFn: this.config.logFn || console.log,
136
- userAgent: '@datocms/cma-client v1.2.7',
136
+ userAgent: '@datocms/cma-client v1.2.9',
137
137
  baseUrl: this.baseUrl,
138
138
  preCallStack: new Error().stack,
139
139
  extraHeaders: {
@@ -1062,6 +1062,23 @@ export type EditingSessionType = 'editing_session';
1062
1062
  * via the `definition` "id".
1063
1063
  */
1064
1064
  export type EditingSessionIdentity = string;
1065
+ /**
1066
+ * JSON API type field
1067
+ *
1068
+ * This interface was referenced by `FormData`'s JSON-Schema
1069
+ * via the `definition` "type".
1070
+ */
1071
+ export type FormDataType = 'form_data';
1072
+ /**
1073
+ * ID of form data
1074
+ *
1075
+ * This interface was referenced by `FormData`'s JSON-Schema
1076
+ * via the `definition` "identity".
1077
+ *
1078
+ * This interface was referenced by `FormData`'s JSON-Schema
1079
+ * via the `definition` "id".
1080
+ */
1081
+ export type FormDataIdentity = 'form_data';
1065
1082
  /**
1066
1083
  * JSON API type field
1067
1084
  *
@@ -1337,6 +1354,7 @@ export type DatoApi = {
1337
1354
  upload_filter?: UploadFilter;
1338
1355
  site_invitation?: SiteInvitation;
1339
1356
  editing_session?: EditingSession;
1357
+ form_data?: FormData;
1340
1358
  sso_group?: SsoGroup;
1341
1359
  sso_settings?: SsoSettings;
1342
1360
  white_label_settings?: WhiteLabelSettings;
@@ -9251,7 +9269,58 @@ export type EditingSessionUpdateSchema = {
9251
9269
  * via the `update.targetSchema` link.
9252
9270
  */
9253
9271
  export type EditingSessionUpdateTargetSchema = {
9254
- data: EditingSession;
9272
+ data: EditingSession | [EditingSession, FormData];
9273
+ };
9274
+
9275
+ /**
9276
+ * Form contents for an editing session
9277
+ *
9278
+ * This interface was referenced by `DatoApi`'s JSON-Schema
9279
+ * via the `definition` "form_data".
9280
+ */
9281
+ export type FormData = {
9282
+ type: FormDataType;
9283
+ id: FormDataIdentity;
9284
+ attributes: FormDataAttributes;
9285
+ relationships: FormDataRelationships;
9286
+ };
9287
+
9288
+ /**
9289
+ * JSON API attributes
9290
+ *
9291
+ * This interface was referenced by `FormData`'s JSON-Schema
9292
+ * via the `definition` "attributes".
9293
+ */
9294
+ export type FormDataAttributes = {
9295
+ form_data: null | {
9296
+ [k: string]: unknown;
9297
+ };
9298
+ };
9299
+
9300
+ /**
9301
+ * JSON API links
9302
+ *
9303
+ * This interface was referenced by `FormData`'s JSON-Schema
9304
+ * via the `definition` "relationships".
9305
+ */
9306
+ export type FormDataRelationships = {
9307
+ /**
9308
+ * Account that's currently editing an item
9309
+ */
9310
+ editor: {
9311
+ data: AccountData;
9312
+ };
9313
+ };
9314
+
9315
+ /**
9316
+ * JSON API data
9317
+ *
9318
+ * This interface was referenced by `FormData`'s JSON-Schema
9319
+ * via the `definition` "data".
9320
+ */
9321
+ export type FormDataData = {
9322
+ type: FormDataType;
9323
+ id: FormDataIdentity;
9255
9324
  };
9256
9325
 
9257
9326
  /**
@@ -1328,6 +1328,30 @@ export type EditingSessionUpdateSchema =
1328
1328
  type?: 'editing_session_unlock_item';
1329
1329
  [k: string]: unknown;
1330
1330
  };
1331
+ /**
1332
+ * This interface was referenced by `EditingSession`'s JSON-Schema
1333
+ * via the `update.targetSchema` link.
1334
+ */
1335
+ export type EditingSessionUpdateTargetSchema =
1336
+ | EditingSession
1337
+ | [EditingSession, FormData];
1338
+ /**
1339
+ * ID of form data
1340
+ *
1341
+ * This interface was referenced by `FormData`'s JSON-Schema
1342
+ * via the `definition` "identity".
1343
+ *
1344
+ * This interface was referenced by `FormData`'s JSON-Schema
1345
+ * via the `definition` "id".
1346
+ */
1347
+ export type FormDataIdentity = 'form_data';
1348
+ /**
1349
+ * JSON API type field
1350
+ *
1351
+ * This interface was referenced by `FormData`'s JSON-Schema
1352
+ * via the `definition` "type".
1353
+ */
1354
+ export type FormDataType = 'form_data';
1331
1355
  /**
1332
1356
  * This interface was referenced by `SsoGroup`'s JSON-Schema
1333
1357
  * via the `instances.targetSchema` link.
@@ -1628,6 +1652,7 @@ export type DatoApi = {
1628
1652
  upload_filter?: UploadFilter;
1629
1653
  site_invitation?: SiteInvitation;
1630
1654
  editing_session?: EditingSession;
1655
+ form_data?: FormData;
1631
1656
  sso_group?: SsoGroup;
1632
1657
  sso_settings?: SsoSettings;
1633
1658
  white_label_settings?: WhiteLabelSettings;
@@ -8953,7 +8978,6 @@ export type EditingSession = {
8953
8978
  active_item_type: ItemTypeData;
8954
8979
  editor: AccountData | AccessTokenData | UserData;
8955
8980
  };
8956
- export type EditingSessionUpdateTargetSchema = EditingSession;
8957
8981
  export type EditingSessionDestroyTargetSchema = EditingSession;
8958
8982
  /**
8959
8983
  * JSON API data
@@ -8995,6 +9019,54 @@ export type EditingSessionRelationships = {
8995
9019
  editor: AccountData | AccessTokenData | UserData;
8996
9020
  };
8997
9021
 
9022
+ /**
9023
+ * Form contents for an editing session
9024
+ *
9025
+ * This interface was referenced by `DatoApi`'s JSON-Schema
9026
+ * via the `definition` "form_data".
9027
+ */
9028
+ export type FormData = {
9029
+ id: FormDataIdentity;
9030
+ type: FormDataType;
9031
+ form_data: null | {
9032
+ [k: string]: unknown;
9033
+ };
9034
+ editor: AccountData;
9035
+ };
9036
+
9037
+ /**
9038
+ * JSON API data
9039
+ *
9040
+ * This interface was referenced by `FormData`'s JSON-Schema
9041
+ * via the `definition` "data".
9042
+ */
9043
+ export type FormDataData = {
9044
+ type: FormDataType;
9045
+ id: FormDataIdentity;
9046
+ };
9047
+
9048
+ /**
9049
+ * JSON API attributes
9050
+ *
9051
+ * This interface was referenced by `FormData`'s JSON-Schema
9052
+ * via the `definition` "attributes".
9053
+ */
9054
+ export type FormDataAttributes = {
9055
+ form_data: null | {
9056
+ [k: string]: unknown;
9057
+ };
9058
+ };
9059
+
9060
+ /**
9061
+ * JSON API links
9062
+ *
9063
+ * This interface was referenced by `FormData`'s JSON-Schema
9064
+ * via the `definition` "relationships".
9065
+ */
9066
+ export type FormDataRelationships = {
9067
+ editor: AccountData;
9068
+ };
9069
+
8998
9070
  /**
8999
9071
  * A Single Sign-On group exists when a DatoCMS project is connected to an Identity Provider. These groups can be used to link DatoCMS roles to the Identity Provider's groups.
9000
9072
  *