File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -386,6 +386,10 @@ declare module 'decap-cms-core' {
386386 allowed_hosts ?: string [ ] ;
387387 }
388388
389+ export interface CmsIssueReports {
390+ url ?: string ;
391+ }
392+
389393 export interface CmsConfig {
390394 backend : CmsBackend ;
391395 collections : CmsCollection [ ] ;
@@ -403,6 +407,7 @@ declare module 'decap-cms-core' {
403407 media_folder_relative ?: boolean ;
404408 media_library ?: CmsMediaLibrary ;
405409 publish_mode ?: CmsPublishMode ;
410+ issue_reports ?: CmsIssueReports ;
406411 load_config_file ?: boolean ;
407412 integrations ?: {
408413 hooks : string [ ] ;
Original file line number Diff line number Diff line change @@ -193,6 +193,12 @@ function getConfigSchema() {
193193 clean_accents : { type : 'boolean' } ,
194194 } ,
195195 } ,
196+ issue_reports : {
197+ type : 'object' ,
198+ properties : {
199+ url : { type : 'string' , examples : [ 'https://example.com/report-issue' ] } ,
200+ }
201+ } ,
196202 collections : {
197203 type : 'array' ,
198204 minItems : 1 ,
Original file line number Diff line number Diff line change @@ -399,6 +399,10 @@ export interface CmsLocalBackend {
399399 allowed_hosts ?: string [ ] ;
400400}
401401
402+ export interface CmsIssueReports {
403+ url ?: string ;
404+ }
405+
402406export interface CmsConfig {
403407 backend : CmsBackend ;
404408 collections : CmsCollection [ ] ;
@@ -427,6 +431,7 @@ export interface CmsConfig {
427431 } [ ] ;
428432 slug ?: CmsSlug ;
429433 i18n ?: CmsI18nConfig ;
434+ issue_reports ?: CmsIssueReports ;
430435 local_backend ?: boolean | CmsLocalBackend ;
431436 editor ?: {
432437 preview ?: boolean ;
You can’t perform that action at this time.
0 commit comments