Skip to content

Commit f2ef81a

Browse files
committed
Updated schema
1 parent 2e1c6f7 commit f2ef81a

File tree

2 files changed

+78
-66
lines changed

2 files changed

+78
-66
lines changed

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

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8922,49 +8922,49 @@ export type BuildTrigger = {
89228922
*/
89238923
export type BuildTriggerAttributes = {
89248924
/**
8925-
* Name of the environment
8925+
* Name of the build trigger
89268926
*/
89278927
name: string;
89288928
/**
8929-
* The deploy adapter
8929+
* The type of build trigger
89308930
*/
8931-
adapter: string;
8931+
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
89328932
/**
8933-
* Additional configuration for deploy
8933+
* Additional settings for the build trigger. The value depends on the `adapter`.
89348934
*/
89358935
adapter_settings: {
89368936
[k: string]: unknown;
89378937
};
89388938
/**
8939-
* Timestamp of the last deploy
8939+
* Timestamp of the last build
89408940
*/
89418941
last_build_completed_at: string | null;
89428942
/**
8943-
* Status of last deploy
8943+
* Status of last build
89448944
*/
89458945
build_status: string;
89468946
/**
8947-
* Unique token of the webhook
8947+
* Unique token for the webhook (it's the same token present in `webhook_url`)
89488948
*/
89498949
webhook_token?: string;
89508950
/**
8951-
* Notification webhook URL
8951+
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
89528952
*/
89538953
webhook_url: string;
89548954
/**
8955-
* Status of site scraper
8955+
* Status of Site Search for the frontend
89568956
*/
89578957
indexing_status: string;
89588958
/**
8959-
* Public url of the site
8959+
* The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
89608960
*/
89618961
frontend_url: string | null;
89628962
/**
8963-
* Deploy on scheduled publication
8963+
* Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
89648964
*/
89658965
autotrigger_on_scheduled_publications: boolean;
89668966
/**
8967-
* Enable scraper on the site
8967+
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
89688968
*/
89698969
indexing_enabled: boolean;
89708970
};
@@ -8994,31 +8994,37 @@ export type BuildTriggerCreateSchema = {
89948994
type: BuildTriggerType;
89958995
attributes: {
89968996
/**
8997-
* Name of the environment
8997+
* Name of the build trigger
89988998
*/
89998999
name: string;
90009000
/**
9001-
* Unique token of the webhook
9001+
* Unique token for the webhook (it's the same token present in `webhook_url`)
90029002
*/
90039003
webhook_token?: string;
90049004
/**
9005-
* The deploy adapter
9005+
* The type of build trigger
90069006
*/
9007-
adapter: string;
9007+
adapter:
9008+
| 'custom'
9009+
| 'netlify'
9010+
| 'vercel'
9011+
| 'circle_ci'
9012+
| 'gitlab'
9013+
| 'travis';
90089014
/**
9009-
* Enable scraper on the site
9015+
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
90109016
*/
90119017
indexing_enabled: boolean;
90129018
/**
9013-
* Public url of the site
9019+
* The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
90149020
*/
90159021
frontend_url: string | null;
90169022
/**
9017-
* Deploy on scheduled publication
9023+
* Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
90189024
*/
90199025
autotrigger_on_scheduled_publications: boolean;
90209026
/**
9021-
* Additional configuration for deploy
9027+
* Additional settings for the build trigger. The value depends on the `adapter`.
90229028
*/
90239029
adapter_settings: {
90249030
[k: string]: unknown;
@@ -9045,27 +9051,33 @@ export type BuildTriggerUpdateSchema = {
90459051
id: BuildTriggerIdentity;
90469052
attributes: {
90479053
/**
9048-
* Name of the environment
9054+
* Name of the build trigger
90499055
*/
90509056
name?: string;
90519057
/**
9052-
* The deploy adapter
9058+
* The type of build trigger
90539059
*/
9054-
adapter?: string;
9060+
adapter?:
9061+
| 'custom'
9062+
| 'netlify'
9063+
| 'vercel'
9064+
| 'circle_ci'
9065+
| 'gitlab'
9066+
| 'travis';
90559067
/**
9056-
* Enable scraper on the site
9068+
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
90579069
*/
90589070
indexing_enabled?: boolean;
90599071
/**
9060-
* Public url of the site
9072+
* The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
90619073
*/
90629074
frontend_url?: string | null;
90639075
/**
9064-
* Deploy on scheduled publication
9076+
* Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
90659077
*/
90669078
autotrigger_on_scheduled_publications?: boolean;
90679079
/**
9068-
* Additional configuration for deploy
9080+
* Additional settings for the build trigger. The value depends on the `adapter`.
90699081
*/
90709082
adapter_settings?: {
90719083
[k: string]: unknown;

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

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8787,49 +8787,49 @@ export type BuildTrigger = {
87878787
id: BuildTriggerIdentity;
87888788
type: BuildTriggerType;
87898789
/**
8790-
* Name of the environment
8790+
* Name of the build trigger
87918791
*/
87928792
name: string;
87938793
/**
8794-
* The deploy adapter
8794+
* The type of build trigger
87958795
*/
8796-
adapter: string;
8796+
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
87978797
/**
8798-
* Additional configuration for deploy
8798+
* Additional settings for the build trigger. The value depends on the `adapter`.
87998799
*/
88008800
adapter_settings: {
88018801
[k: string]: unknown;
88028802
};
88038803
/**
8804-
* Timestamp of the last deploy
8804+
* Timestamp of the last build
88058805
*/
88068806
last_build_completed_at: string | null;
88078807
/**
8808-
* Status of last deploy
8808+
* Status of last build
88098809
*/
88108810
build_status: string;
88118811
/**
8812-
* Unique token of the webhook
8812+
* Unique token for the webhook (it's the same token present in `webhook_url`)
88138813
*/
88148814
webhook_token?: string;
88158815
/**
8816-
* Notification webhook URL
8816+
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
88178817
*/
88188818
webhook_url: string;
88198819
/**
8820-
* Status of site scraper
8820+
* Status of Site Search for the frontend
88218821
*/
88228822
indexing_status: string;
88238823
/**
8824-
* Public url of the site
8824+
* The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
88258825
*/
88268826
frontend_url: string | null;
88278827
/**
8828-
* Deploy on scheduled publication
8828+
* Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
88298829
*/
88308830
autotrigger_on_scheduled_publications: boolean;
88318831
/**
8832-
* Enable scraper on the site
8832+
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
88338833
*/
88348834
indexing_enabled: boolean;
88358835
};
@@ -8845,49 +8845,49 @@ export type BuildTriggerDestroyTargetSchema = BuildTrigger;
88458845
*/
88468846
export type BuildTriggerAttributes = {
88478847
/**
8848-
* Name of the environment
8848+
* Name of the build trigger
88498849
*/
88508850
name: string;
88518851
/**
8852-
* The deploy adapter
8852+
* The type of build trigger
88538853
*/
8854-
adapter: string;
8854+
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
88558855
/**
8856-
* Additional configuration for deploy
8856+
* Additional settings for the build trigger. The value depends on the `adapter`.
88578857
*/
88588858
adapter_settings: {
88598859
[k: string]: unknown;
88608860
};
88618861
/**
8862-
* Timestamp of the last deploy
8862+
* Timestamp of the last build
88638863
*/
88648864
last_build_completed_at: string | null;
88658865
/**
8866-
* Status of last deploy
8866+
* Status of last build
88678867
*/
88688868
build_status: string;
88698869
/**
8870-
* Unique token of the webhook
8870+
* Unique token for the webhook (it's the same token present in `webhook_url`)
88718871
*/
88728872
webhook_token?: string;
88738873
/**
8874-
* Notification webhook URL
8874+
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
88758875
*/
88768876
webhook_url: string;
88778877
/**
8878-
* Status of site scraper
8878+
* Status of Site Search for the frontend
88798879
*/
88808880
indexing_status: string;
88818881
/**
8882-
* Public url of the site
8882+
* The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
88838883
*/
88848884
frontend_url: string | null;
88858885
/**
8886-
* Deploy on scheduled publication
8886+
* Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
88878887
*/
88888888
autotrigger_on_scheduled_publications: boolean;
88898889
/**
8890-
* Enable scraper on the site
8890+
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
88918891
*/
88928892
indexing_enabled: boolean;
88938893
};
@@ -8899,31 +8899,31 @@ export type BuildTriggerAttributes = {
88998899
export type BuildTriggerCreateSchema = {
89008900
type?: BuildTriggerType;
89018901
/**
8902-
* Name of the environment
8902+
* Name of the build trigger
89038903
*/
89048904
name: string;
89058905
/**
8906-
* Unique token of the webhook
8906+
* Unique token for the webhook (it's the same token present in `webhook_url`)
89078907
*/
89088908
webhook_token?: string;
89098909
/**
8910-
* The deploy adapter
8910+
* The type of build trigger
89118911
*/
8912-
adapter: string;
8912+
adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
89138913
/**
8914-
* Enable scraper on the site
8914+
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
89158915
*/
89168916
indexing_enabled: boolean;
89178917
/**
8918-
* Public url of the site
8918+
* The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
89198919
*/
89208920
frontend_url: string | null;
89218921
/**
8922-
* Deploy on scheduled publication
8922+
* Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
89238923
*/
89248924
autotrigger_on_scheduled_publications: boolean;
89258925
/**
8926-
* Additional configuration for deploy
8926+
* Additional settings for the build trigger. The value depends on the `adapter`.
89278927
*/
89288928
adapter_settings: {
89298929
[k: string]: unknown;
@@ -8938,27 +8938,27 @@ export type BuildTriggerUpdateSchema = {
89388938
id?: BuildTriggerIdentity;
89398939
type?: BuildTriggerType;
89408940
/**
8941-
* Name of the environment
8941+
* Name of the build trigger
89428942
*/
89438943
name?: string;
89448944
/**
8945-
* The deploy adapter
8945+
* The type of build trigger
89468946
*/
8947-
adapter?: string;
8947+
adapter?: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
89488948
/**
8949-
* Enable scraper on the site
8949+
* Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
89508950
*/
89518951
indexing_enabled?: boolean;
89528952
/**
8953-
* Public url of the site
8953+
* The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
89548954
*/
89558955
frontend_url?: string | null;
89568956
/**
8957-
* Deploy on scheduled publication
8957+
* Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
89588958
*/
89598959
autotrigger_on_scheduled_publications?: boolean;
89608960
/**
8961-
* Additional configuration for deploy
8961+
* Additional settings for the build trigger. The value depends on the `adapter`.
89628962
*/
89638963
adapter_settings?: {
89648964
[k: string]: unknown;

0 commit comments

Comments
 (0)