File tree Expand file tree Collapse file tree 13 files changed +25
-16
lines changed
actions/create-sale-opportunity Expand file tree Collapse file tree 13 files changed +25
-16
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ export default defineAction({
4444 try {
4545 estimateItemsAttributes = JSON . parse ( this . estimateItemsAttributes ) ;
4646 } catch ( err ) {
47- throw new ConfigurationError ( "`Estimate Items Attributes` must be a valid JSON Array string" ) ;
47+ throw new ConfigurationError ( `Estimate Items Attributes must be a valid JSON Array string
48+
49+ ${ err . message } `) ;
4850 }
4951 }
5052 const response = await this . app . getRequestMethod ( "createEstimate" ) ( {
Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ export default defineAction({
4949 try {
5050 invoiceItemsAttributes = JSON . parse ( this . invoiceItemsAttributes ) ;
5151 } catch ( err ) {
52- throw new ConfigurationError ( "`Estimate Items Attributes` must be a valid JSON Array string" ) ;
52+ throw new ConfigurationError ( `\`Estimate Items Attributes\` must be a valid JSON Array string
53+
54+ ${ err . message } `) ;
5355 }
5456 }
5557 const response = await this . app . getRequestMethod ( "createInvoice" ) ( {
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/clientary" ,
3- "version" : " 0.0.4 " ,
3+ "version" : " 0.0.5 " ,
44 "description" : " Pipedream Clientary Components" ,
55 "main" : " dist/app/clientary.app.mjs" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ export default defineAction({
4141
4242 $ . export ( "$summary" , "Successfully formatted date/time" ) ;
4343 return output ;
44- } catch ( err ) {
45- throw new ConfigurationError ( "**Parse error** - check your input and if the selected format is correct." ) ;
44+ } catch ( _err ) {
45+ throw new ConfigurationError ( `**Parse error** - check your input and if the selected format is correct.
46+
47+ ${ err . message } `) ;
4648 }
4749 } ,
4850} ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ export default defineAction({
4343 $ . export ( "$summary" , "Successfully transformed text case" ) ;
4444 return result ;
4545 } catch ( err ) {
46- throw new ConfigurationError ( "**Parse error** - check your input and if the selected operation is correct." ) ;
46+ throw new ConfigurationError ( `**Parse error** - check your input and if the selected operation is correct.
47+
48+ ${ err . message } `) ;
4749 }
4850 } ,
4951} ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/formatting" ,
3- "version" : " 0.2.1 " ,
3+ "version" : " 0.2.2 " ,
44 "description" : " Pipedream Formatting Components" ,
55 "main" : " dist/app/formatting.app.mjs" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -117,7 +117,9 @@ export default defineAction({
117117 try {
118118 additionalOptions = JSON . parse ( this . additionalOptions ) ;
119119 } catch ( err ) {
120- throw new ConfigurationError ( "Error when parsing the **additionalOptions** prop. Check if it is a valid JSON-stringified object." ) ;
120+ throw new ConfigurationError ( `Error when parsing the **additionalOptions** prop. Check if it is a valid JSON-stringified object.
121+
122+ ${ err . message } `) ;
121123 }
122124 }
123125
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/kanbanflow" ,
3- "version" : " 0.0.3 " ,
3+ "version" : " 0.0.4 " ,
44 "description" : " Pipedream KanbanFlow Components" ,
55 "main" : " dist/app/kanbanflow.app.mjs" ,
66 "keywords" : [
Original file line number Diff line number Diff line change 1- import { defineAction } from "@pipedream/types" ;
1+ import { defineAction , JSONValue } from "@pipedream/types" ;
22import dayjs from "dayjs" ;
33import namely from "../../app/namely.app" ;
44
@@ -62,7 +62,7 @@ export default defineAction({
6262
6363 } ,
6464 async run ( { $ } ) {
65- const body : any = {
65+ const body : Record < string , JSONValue > = {
6666 first_name : this . firstName ,
6767 last_name : this . lastName ,
6868 user_status : this . userStatus ,
Original file line number Diff line number Diff line change 1- import { defineAction } from "@pipedream/types" ;
1+ import { defineAction , JSONValue } from "@pipedream/types" ;
22import dayjs from "dayjs" ;
33import namely from "../../app/namely.app" ;
44
@@ -73,7 +73,7 @@ export default defineAction({
7373
7474 } ,
7575 async run ( { $ } ) {
76- const body : any = {
76+ const body : Record < string , JSONValue > = {
7777 first_name : this . firstName ,
7878 last_name : this . lastName ,
7979 user_status : this . userStatus ,
You can’t perform that action at this time.
0 commit comments