File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/renderer/actions/local-sync Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,21 @@ export enum AuthType {
4747 BASIC_AUTH = "BASIC_AUTH" ,
4848}
4949
50+ export enum KeyValueDataType {
51+ STRING = "string" ,
52+ INTEGER = "integer" ,
53+ BOOLEAN = "boolean" ,
54+ NUMBER = "number" ,
55+ }
56+
5057const KeyValuePair = Type . Object ( {
5158 id : Type . Number ( ) ,
5259 key : Type . String ( ) ,
5360 value : Type . String ( ) ,
5461 isEnabled : Type . Boolean ( ) ,
5562 type : Type . Optional ( Type . String ( ) ) ,
5663 description : Type . Optional ( Type . String ( ) ) ,
64+ dataType : Type . Optional ( Type . Enum ( KeyValueDataType ) ) ,
5765} ) ;
5866
5967const formData = Type . Object ( {
@@ -133,6 +141,7 @@ export const PathVariable = Type.Object({
133141 key : Type . String ( ) ,
134142 value : Type . String ( ) ,
135143 description : Type . Optional ( Type . String ( ) ) ,
144+ dataType : Type . Optional ( Type . Enum ( KeyValueDataType ) ) ,
136145} ) ;
137146
138147export const HttpRequest = Type . Intersect ( [
You can’t perform that action at this time.
0 commit comments