@@ -15,62 +15,62 @@ declare global {
1515 northboundConnection : INorthboundConnection ;
1616 contributeCatalog : IContributeCatalog ;
1717
18- // Callback functions
19- updateOfflineTD : ( td : string ) => void ;
20- updateIsModified : ( isModified : boolean ) => void ;
21- setFileHandle : ( handle : string | null ) => void ;
22- removeForm : (
23- level : string ,
24- interactionName : string ,
25- toBeDeletedForm : { href : string ; op : string } ,
26- index : number
27- ) => void ;
28- addForm : ( level : string , interactionName : string , form : any ) => void ;
29- removeLink : ( link : any ) => void ;
30- removeOneOfAKindReducer : ( kind : string , oneOfAKind : string ) => void ;
31- addLinkedTd : ( linkedTd : Record < string , any > ) => void ;
32- updateLinkedTd : ( linkedTd : Record < string , any > ) => void ;
33- updateValidationMessage : ( validationMessage ?: any ) => void ;
34- updateNorthboundConnection : (
35- northboundConnection : INorthboundConnection
36- ) => void ;
37- updateContributeCatalog : ( contributeCatalog : IContributeCatalog ) => void ;
38- }
18+ // Callback functions
19+ updateOfflineTD : ( td : string ) => void ;
20+ updateIsModified : ( isModified : boolean ) => void ;
21+ setFileHandle : ( handle : string | null ) => void ;
22+ removeForm : (
23+ level : string ,
24+ interactionName : string ,
25+ toBeDeletedForm : { href : string ; op : string } ,
26+ index : number
27+ ) => void ;
28+ addForm : ( level : string , interactionName : string , form : any ) => void ;
29+ removeLink : ( link : any ) => void ;
30+ removeOneOfAKindReducer : ( kind : string , oneOfAKind : string ) => void ;
31+ addLinkedTd : ( linkedTd : Record < string , any > ) => void ;
32+ updateLinkedTd : ( linkedTd : Record < string , any > ) => void ;
33+ updateValidationMessage : ( validationMessage ?: any ) => void ;
34+ updateNorthboundConnection : (
35+ northboundConnection : INorthboundConnection
36+ ) => void ;
37+ updateContributeCatalog : ( contributeCatalog : IContributeCatalog ) => void ;
38+ }
3939
40- interface IValidationMessage {
41- report : {
42- json : null | "passed" | "failed" | "warning" ;
43- schema : null | "passed" | "failed" | "warning" ;
44- defaults : null | "passed" | "failed" | "warning" ;
45- jsonld : null | "passed" | "failed" | "warning" ;
46- additional : null | "passed" | "failed" | "warning" ;
47- } ;
48- details : {
49- enumConst : null | string ;
50- propItems : null | string ;
51- security : null | string ;
52- propUniqueness : null | string ;
53- multiLangConsistency : null | string ;
54- linksRelTypeCount : null | string ; s
55- readWriteOnly : null | string ;
56- uriVariableSecurity : null | string ;
57- } ;
58- detailComments : {
59- enumConst : null | string ;
60- propItems : null | string ;
61- security : null | string ;
62- propUniqueness : null | string ;
63- multiLangConsistency : null | string ;
64- linksRelTypeCount : null | string ;
65- readWriteOnly : null | string ;
66- uriVariableSecurity : null | string ;
67- } ;
68- validationErrors ?: {
69- json : string ;
70- schema : string ;
71- } ;
72- customMessage : string ; // custom to editor
73- }
40+ interface IValidationMessage {
41+ report : {
42+ json : null | "passed" | "failed" | "warning" ;
43+ schema : null | "passed" | "failed" | "warning" ;
44+ defaults : null | "passed" | "failed" | "warning" ;
45+ jsonld : null | "passed" | "failed" | "warning" ;
46+ additional : null | "passed" | "failed" | "warning" ;
47+ } ;
48+ details : {
49+ enumConst : null | string ;
50+ propItems : null | string ;
51+ security : null | string ;
52+ propUniqueness : null | string ;
53+ multiLangConsistency : null | string ;
54+ linksRelTypeCount : null | string ;
55+ readWriteOnly : null | string ;
56+ uriVariableSecurity : null | string ;
57+ } ;
58+ detailComments : {
59+ enumConst : null | string ;
60+ propItems : null | string ;
61+ security : null | string ;
62+ propUniqueness : null | string ;
63+ multiLangConsistency : null | string ;
64+ linksRelTypeCount : null | string ;
65+ readWriteOnly : null | string ;
66+ uriVariableSecurity : null | string ;
67+ } ;
68+ validationErrors ?: {
69+ json : string ;
70+ schema : string ;
71+ } ;
72+ customMessage : string ; // custom to editor
73+ }
7474
7575 interface INorthboundConnection {
7676 message : string ;
0 commit comments