Skip to content

Commit 756ccbd

Browse files
committed
feat: update pre-refactor snapshots
1 parent ed13014 commit 756ccbd

3 files changed

Lines changed: 18 additions & 2 deletions

amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-d2y1hd6iycv4j0-gen2main-branch-91af-amplifyDataBoardNestedStackBoardNestedStac-MJ5ZTAWGTSWC.template.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,8 +951,12 @@
951951
},
952952
"FunctionVersion": "2018-05-29",
953953
"Name": "QueryListBoardsDataResolverFn",
954-
"RequestMappingTemplate": "## [Start] Custom List Request - Override to cap results at 50. **\n#set( $args = $util.defaultIfNull($ctx.stash.transformedArgs, $ctx.args) )\n#set( $limit = $util.defaultIfNull($args.limit, 50) )\n## Cap the limit at 50 to keep the board list manageable\n#if( $limit > 50 )\n #set( $limit = 50 )\n#end\n#set( $ListRequest = {\n \"version\": \"2018-05-29\",\n \"limit\": $limit\n} )\n#if( $args.nextToken )\n #set( $ListRequest.nextToken = $args.nextToken )\n#end\n#if( !$util.isNullOrEmpty($ctx.stash.authFilter) )\n #set( $filter = $ctx.stash.authFilter )\n #if( !$util.isNullOrEmpty($args.filter) )\n #set( $filter = {\n \"and\": [$filter, $args.filter]\n} )\n #end\n#else\n #if( !$util.isNullOrEmpty($args.filter) )\n #set( $filter = $args.filter )\n #end\n#end\n#if( !$util.isNullOrEmpty($filter) )\n #set( $filterExpression = $util.parseJson($util.transform.toDynamoDBFilterExpression($filter)) )\n #if( $util.isNullOrEmpty($filterExpression) )\n $util.error(\"Unable to process the filter expression\", \"Unrecognized Filter\")\n #end\n #if( !$util.isNullOrBlank($filterExpression.expression) )\n #if( $filterExpression.expressionValues.size() == 0 )\n $util.qr($filterExpression.remove(\"expressionValues\"))\n #end\n #set( $ListRequest.filter = $filterExpression )\n #end\n#end\n#if( !$util.isNull($ctx.stash.modelQueryExpression) && !$util.isNullOrEmpty($ctx.stash.modelQueryExpression.expression) )\n $util.qr($ListRequest.put(\"operation\", \"Query\"))\n $util.qr($ListRequest.put(\"query\", $ctx.stash.modelQueryExpression))\n #if( !$util.isNull($args.sortDirection) && $args.sortDirection == \"DESC\" )\n #set( $ListRequest.scanIndexForward = false )\n #else\n #set( $ListRequest.scanIndexForward = true )\n #end\n#else\n $util.qr($ListRequest.put(\"operation\", \"Scan\"))\n#end\n#if( !$util.isNull($ctx.stash.metadata.index) )\n #set( $ListRequest.IndexName = $ctx.stash.metadata.index )\n#end\n$util.toJson($ListRequest)\n## [End] Custom List Request. **\n",
955-
"ResponseMappingTemplate": "## [Start] Custom ResponseTemplate - Prepend emoji to board names to prove override is active. **\n#if( $ctx.error )\n $util.error($ctx.error.message, $ctx.error.type)\n#end\n\n## Add a pin emoji prefix to each board name so it's visible on the frontend\n#foreach( $item in $ctx.result.items )\n #if( !$item.name.startsWith(\"? \") )\n $util.qr($item.put(\"name\", \"? $item.name\"))\n #end\n#end\n\n$util.toJson($ctx.result)\n## [End] Custom ResponseTemplate. **\n"
954+
"RequestMappingTemplateS3Location": {
955+
"Fn::Sub": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/9cc8250e23b04d15695a56f00332d87510ed9ac872da532a0036b13bff682c8f.vtl"
956+
},
957+
"ResponseMappingTemplateS3Location": {
958+
"Fn::Sub": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/989c0229dcad6081b9d2d0627cfa7588cda06c6a29df81b8236bfd9a5beba7ce.vtl"
959+
}
956960
},
957961
"DependsOn": [
958962
"BoardDataSource"

amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-d2y1hd6iycv4j0-gen2main-branch-91af8367fe-data7552DF31-A0YNF1OD107X.template.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,12 @@
100100
"Expires": 1807834250
101101
========
102102
"Description": "moodboard apiKey",
103+
<<<<<<< HEAD
103104
"Expires": 1807219129
104105
>>>>>>>> a913eb9d4 (feat: pre-refactor snapshot):amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-d2y1hd6iycv4j0-gen2main-branch-91af8367fe-data7552DF31-A0YNF1OD107X.template.json
106+
=======
107+
"Expires": 1807292712
108+
>>>>>>> 72dcdc345 (feat: update pre-refactor snapshots)
105109
},
106110
"UpdateReplacePolicy": "Delete",
107111
"DeletionPolicy": "Delete",
@@ -464,11 +468,15 @@
464468
{
465469
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
466470
},
471+
<<<<<<< HEAD
467472
<<<<<<<< HEAD:amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-moodboard-e2e-sandbox-x-data7552DF31-x.template.json
468473
"/170425ccf15f62ef45ba178f4b2734987a5ae1db4045578d1e91fc31d14edf8a.json"
469474
========
470475
"/bafaea8ce60d66f58d0cba8d82ef3210bfc86064da9f921524d57606b1eeca84.json"
471476
>>>>>>>> a913eb9d4 (feat: pre-refactor snapshot):amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-d2y1hd6iycv4j0-gen2main-branch-91af8367fe-data7552DF31-A0YNF1OD107X.template.json
477+
=======
478+
"/f83085b8b6c7a07bc6afbb85e3f13b8f518073e25eea6352cd7f9051e93780ae.json"
479+
>>>>>>> 72dcdc345 (feat: update pre-refactor snapshots)
472480
]
473481
]
474482
}

amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-d2y1hd6iycv4j0-gen2main-branch-91af8367fe.template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,11 +821,15 @@
821821
{
822822
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
823823
},
824+
<<<<<<< HEAD
824825
<<<<<<<< HEAD:amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-moodboard-e2e-sandbox-x.template.json
825826
"/5ba56677fbdb648c1c4e2ff08d6e3696d8defb8784643745b569cb54e581ba88.json"
826827
========
827828
"/5f859b54bc1e95d3af2a45e2e42f77f539c096afe75ace9447884a40ebc0cdf2.json"
828829
>>>>>>>> a913eb9d4 (feat: pre-refactor snapshot):amplify-migration-apps/mood-board/_snapshot.pre.refactor/amplify-d2y1hd6iycv4j0-gen2main-branch-91af8367fe.template.json
830+
=======
831+
"/ebd197015ff92c48e2327554e34db62723853bb78230822aaae536a55fad3bc1.json"
832+
>>>>>>> 72dcdc345 (feat: update pre-refactor snapshots)
829833
]
830834
]
831835
}

0 commit comments

Comments
 (0)