Skip to content

Commit 645e009

Browse files
committed
Update schema
1 parent 4e70a8c commit 645e009

2 files changed

Lines changed: 78 additions & 24 deletions

File tree

packages/cma-client/src/generated/ApiTypes.ts

Lines changed: 51 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3552,6 +3552,28 @@ export type AccessToken = {
35523552
*/
35533553
can_access_cma: boolean;
35543554
hardcoded_type: null | string;
3555+
/**
3556+
* When this API token was last used to access the Content Management API
3557+
*/
3558+
last_cma_access:
3559+
| 'today'
3560+
| 'yesterday'
3561+
| 'this_week'
3562+
| 'last_week'
3563+
| 'this_month'
3564+
| 'last_month'
3565+
| 'never';
3566+
/**
3567+
* When this API token was last used to access the Content Delivery API
3568+
*/
3569+
last_cda_access:
3570+
| 'today'
3571+
| 'yesterday'
3572+
| 'this_week'
3573+
| 'last_week'
3574+
| 'this_month'
3575+
| 'last_month'
3576+
| 'never';
35553577
role: RoleData | null;
35563578
};
35573579
export type AccessTokenCreateTargetSchema = AccessToken;
@@ -3597,6 +3619,28 @@ export type AccessTokenAttributes = {
35973619
*/
35983620
can_access_cma: boolean;
35993621
hardcoded_type: null | string;
3622+
/**
3623+
* When this API token was last used to access the Content Management API
3624+
*/
3625+
last_cma_access:
3626+
| 'today'
3627+
| 'yesterday'
3628+
| 'this_week'
3629+
| 'last_week'
3630+
| 'this_month'
3631+
| 'last_month'
3632+
| 'never';
3633+
/**
3634+
* When this API token was last used to access the Content Delivery API
3635+
*/
3636+
last_cda_access:
3637+
| 'today'
3638+
| 'yesterday'
3639+
| 'this_week'
3640+
| 'last_week'
3641+
| 'this_month'
3642+
| 'last_month'
3643+
| 'never';
36003644
};
36013645
/**
36023646
* JSON API links
@@ -7044,7 +7088,7 @@ export type Plugin = {
70447088
*/
70457089
url: string;
70467090
/**
7047-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later.
7091+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
70487092
*/
70497093
parameters: {
70507094
[k: string]: unknown;
@@ -7145,7 +7189,7 @@ export type PluginAttributes = {
71457189
*/
71467190
url: string;
71477191
/**
7148-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later.
7192+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
71497193
*/
71507194
parameters: {
71517195
[k: string]: unknown;
@@ -7277,7 +7321,7 @@ export type PluginUpdateSchema = {
72777321
*/
72787322
url?: string;
72797323
/**
7280-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later.
7324+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
72817325
*/
72827326
parameters?: {
72837327
[k: string]: unknown;
@@ -9768,7 +9812,7 @@ export type BuildTrigger = {
97689812
/**
97699813
* The type of build trigger
97709814
*/
9771-
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
9815+
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
97729816
/**
97739817
* Additional settings for the build trigger. The value depends on the `adapter`.
97749818
*/
@@ -9830,7 +9874,7 @@ export type BuildTriggerAttributes = {
98309874
/**
98319875
* The type of build trigger
98329876
*/
9833-
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
9877+
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
98349878
/**
98359879
* Additional settings for the build trigger. The value depends on the `adapter`.
98369880
*/
@@ -9887,7 +9931,7 @@ export type BuildTriggerCreateSchema = {
98879931
/**
98889932
* The type of build trigger
98899933
*/
9890-
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
9934+
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
98919935
/**
98929936
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
98939937
*/
@@ -9925,7 +9969,7 @@ export type BuildTriggerUpdateSchema = {
99259969
/**
99269970
* The type of build trigger
99279971
*/
9928-
adapter?: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
9972+
adapter?: 'custom' | 'netlify' | 'vercel' | 'gitlab';
99299973
/**
99309974
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
99319975
*/

packages/cma-client/src/generated/RawApiTypes.ts

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3051,6 +3051,28 @@ export type AccessTokenAttributes = {
30513051
*/
30523052
can_access_cma: boolean;
30533053
hardcoded_type: null | string;
3054+
/**
3055+
* When this API token was last used to access the Content Management API
3056+
*/
3057+
last_cma_access:
3058+
| 'today'
3059+
| 'yesterday'
3060+
| 'this_week'
3061+
| 'last_week'
3062+
| 'this_month'
3063+
| 'last_month'
3064+
| 'never';
3065+
/**
3066+
* When this API token was last used to access the Content Delivery API
3067+
*/
3068+
last_cda_access:
3069+
| 'today'
3070+
| 'yesterday'
3071+
| 'this_week'
3072+
| 'last_week'
3073+
| 'this_month'
3074+
| 'last_month'
3075+
| 'never';
30543076
};
30553077
/**
30563078
* JSON API links
@@ -6750,7 +6772,7 @@ export type PluginAttributes = {
67506772
*/
67516773
url: string;
67526774
/**
6753-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later.
6775+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
67546776
*/
67556777
parameters: {
67566778
[k: string]: unknown;
@@ -6917,7 +6939,7 @@ export type PluginUpdateSchema = {
69176939
*/
69186940
url?: string;
69196941
/**
6920-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later.
6942+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
69216943
*/
69226944
parameters?: {
69236945
[k: string]: unknown;
@@ -9900,7 +9922,7 @@ export type BuildTriggerAttributes = {
99009922
/**
99019923
* The type of build trigger
99029924
*/
9903-
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
9925+
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
99049926
/**
99059927
* Additional settings for the build trigger. The value depends on the `adapter`.
99069928
*/
@@ -9973,13 +9995,7 @@ export type BuildTriggerCreateSchema = {
99739995
/**
99749996
* The type of build trigger
99759997
*/
9976-
adapter:
9977-
| 'custom'
9978-
| 'netlify'
9979-
| 'vercel'
9980-
| 'circle_ci'
9981-
| 'gitlab'
9982-
| 'travis';
9998+
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
99839999
/**
998410000
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
998510001
*/
@@ -10028,13 +10044,7 @@ export type BuildTriggerUpdateSchema = {
1002810044
/**
1002910045
* The type of build trigger
1003010046
*/
10031-
adapter?:
10032-
| 'custom'
10033-
| 'netlify'
10034-
| 'vercel'
10035-
| 'circle_ci'
10036-
| 'gitlab'
10037-
| 'travis';
10047+
adapter?: 'custom' | 'netlify' | 'vercel' | 'gitlab';
1003810048
/**
1003910049
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
1004010050
*/

0 commit comments

Comments
 (0)