File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11type TcrudMethods = "put" | "get" | "post" | "delete" | "options"
2- interface curdObject {
2+ interface IcurdObject {
33 path : string
44 methods : Array < TcrudMethods >
55 resourcetype : string
66}
77export interface IstackDetailsObject {
88 type : string
9- params : curdObject | object
9+ params : IcurdObject | object
1010 componentList : Array < string >
1111 stackName : string
1212}
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export async function addComponentCLI() {
8888 i = i + 1
8989 } while ( moreStack !== "No" )
9090 console . log ( JSON . stringify ( template ) )
91- await rover_addComponent . addComponents ( < IroveraddComponentInput > template )
91+ await rover_addComponent . addComponents ( template )
9292}
9393export async function addModuleCLI ( ) {
9494 const res = await roverADD ( )
@@ -119,6 +119,7 @@ export async function addModuleCLI() {
119119 file_name ,
120120 selectedchoice [ 0 ]
121121 )
122+ console . log ( samResources )
122123 const moduletemplate = < IroveraddModule > (
123124 await createModules ( app_name , language , "" )
124125 )
@@ -158,5 +159,5 @@ export async function addModuleCLI() {
158159 }
159160 template [ "file_name" ] = file_name
160161 console . log ( JSON . stringify ( template ) )
161- await rover_addModules . addModules ( < IroveraddModule > template )
162+ await rover_addModules . addModules ( template )
162163}
You can’t perform that action at this time.
0 commit comments