File tree Expand file tree Collapse file tree 3 files changed +27
-26
lines changed Expand file tree Collapse file tree 3 files changed +27
-26
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ export const TextBox = ({
21
21
} : {
22
22
title : string ;
23
23
code : string ;
24
- editor ?: Dispatch < SetStateAction < string > > ;
24
+ editor ?: Dispatch < SetStateAction < string > > | ( ( config : string ) => void ) ;
25
25
language : string ;
26
26
} ) => {
27
27
if ( ! editor ) {
28
28
return (
29
29
< div css = { tw `flex flex- col h- full w- full pt-1 text- white` } >
30
- < div css = { tw `flex flex- row pl-2 ` } >
30
+ < div css = { tw `flex flex- row pl-8 ` } >
31
31
< p css = { tw `text- xl font- semibold mx- auto mb-2` } > { title } </ p >
32
- < div css = { tw `flex flex- row h-8` } >
32
+ < div css = { tw `flex flex- row h-8 w-8 ` } >
33
33
< div
34
34
css = { tw `py-1 px-2 bg- green-400 rounded- md hover: cursor - pointer` }
35
35
onClick = { ( ) => {
Original file line number Diff line number Diff line change 5
5
"EssentialsChatTypes" : {
6
6
"type" : " object" ,
7
7
"properties" : {
8
- "config " : {
8
+ "essentials " : {
9
9
"$ref" : " #/definitions/EssentialsChatConfig"
10
10
},
11
11
"language" : {
12
12
"type" : " object" ,
13
13
"properties" : {
14
14
"msgFormat" : {
15
15
"type" : " string"
16
- },
17
- "socialSpyMsgFormat" : {
18
- "type" : " string"
19
16
}
20
17
}
21
18
}
22
19
},
23
20
"required" : [
24
- " config " ,
21
+ " essentials " ,
25
22
" language"
26
23
]
27
24
},
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " http://json-schema.org/draft-07/schema#" ,
3
- "$ref" : " #/definitions/VentureChatConfig " ,
3
+ "$ref" : " #/definitions/VentureChat " ,
4
4
"definitions" : {
5
- "VentureChatConfig " : {
5
+ "VentureChat " : {
6
6
"type" : " object" ,
7
7
"properties" : {
8
- "tellformatto" : {
9
- "type" : " string"
10
- },
11
- "tellformatfrom" : {
12
- "type" : " string"
13
- },
14
- "tellformatspy" : {
15
- "type" : " string"
16
- },
17
- "jsonformatting" : {
8
+ "venturechat" : {
18
9
"type" : " object" ,
19
- "additionalProperties" : {
20
- "$ref" : " #/definitions/VentureChatFormat"
21
- }
10
+ "properties" : {
11
+ "tellformatto" : {
12
+ "type" : " string"
13
+ },
14
+ "tellformatfrom" : {
15
+ "type" : " string"
16
+ },
17
+ "jsonformatting" : {
18
+ "type" : " object" ,
19
+ "additionalProperties" : {
20
+ "$ref" : " #/definitions/VentureChatFormat"
21
+ }
22
+ }
23
+ },
24
+ "required" : [
25
+ " tellformatto" ,
26
+ " tellformatfrom"
27
+ ]
22
28
}
23
29
},
24
30
"required" : [
25
- " tellformatto" ,
26
- " tellformatfrom" ,
27
- " tellformatspy"
31
+ " venturechat"
28
32
]
29
33
},
30
34
"VentureChatFormat" : {
You can’t perform that action at this time.
0 commit comments