@izara_project/izara-core-generate-service-code 1.0.45 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/REFACTOR_PLAN.md +172 -0
- package/fix_array.js +11 -0
- package/fix_imports.js +41 -0
- package/fix_upper.js +38 -0
- package/index.js +1 -1
- package/jsconfig.json +3 -7
- package/package.json +8 -8
- package/src/generateCode.js +11 -199
- package/src/generateResources/IntTest/generateTests/generateTemplate.js +3 -3
- package/src/generateResources.js +1 -1
- package/src/generateTests.js +2 -2
- package/src/generators/fromExternalService/externalServiceComponent/functionNameConfig/template.ejs +14 -0
- package/src/generators/fromExternalService/externalServiceComponent/functionNameConfig/templateIntTesting.ejs +31 -0
- package/src/generators/fromExternalService/externalServiceComponent/functionNameConfig/templateYaml.ejs +10 -0
- package/src/generators/fromExternalService/externalServiceComponent/index.js +69 -0
- package/src/generators/fromFlowSchema/events/eventBridge/functionYaml/yaml.js +168 -0
- package/src/generators/fromFlowSchema/events/eventBridge/handler/inv/inv.js +74 -0
- package/src/generators/fromFlowSchema/events/eventBridge/index.js +16 -0
- package/src/generators/fromFlowSchema/events/eventBridge/mainFunction/main.js +77 -0
- package/src/generators/fromFlowSchema/events/eventBridge/mainFunction/template.ejs +59 -0
- package/src/generators/fromFlowSchema/events/extTopic/index.js +18 -0
- package/src/generators/fromFlowSchema/events/extTopic/process/functionYaml/yaml.js +159 -0
- package/src/generators/fromFlowSchema/events/extTopic/process/handler/handler.js +68 -0
- package/src/generators/fromFlowSchema/events/extTopic/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromFlowSchema/events/extTopic/sns-out/snsOut.js +76 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncApi/functionYaml/yaml.js +88 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncApi/handler/handler.js +69 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncApi/index.js +14 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncInv/functionYaml/yaml.js +75 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncInv/handler/handler.js +65 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncInv/index.js +14 -0
- package/src/generators/fromFlowSchema/events/ownTopic/endpoint/functionYaml/yaml.js +176 -0
- package/src/generators/fromFlowSchema/events/ownTopic/endpoint/handler/handler.js +95 -0
- package/src/generators/fromFlowSchema/events/ownTopic/flowSchema/handler/handler.js +66 -0
- package/src/generators/fromFlowSchema/events/ownTopic/flowSchema/handler/template.ejs +110 -0
- package/src/generators/fromFlowSchema/events/ownTopic/flowSchema/mainFunction/main.js +65 -0
- package/src/generators/fromFlowSchema/events/ownTopic/index.js +32 -0
- package/src/generators/fromFlowSchema/events/ownTopic/sns-out/snsOut.js +77 -0
- package/src/generators/fromFlowSchema/events/registry.js +6 -0
- package/src/generators/fromFlowSchema/events/s3/flowSchemaMainFunction/main.js +121 -0
- package/src/generators/fromFlowSchema/events/s3/index.js +81 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/functionYaml/template.ejs +13 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/functionYaml/yaml.js +140 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/handler/handler.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/queue/template.ejs +42 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/functionYaml/template.ejs +16 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/functionYaml/yaml.js +133 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/handler/handler.js +66 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/mainFunction/main.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/functionYaml/template.ejs +13 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/functionYaml/yaml.js +139 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/handler/handler.js +68 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/mainFunction/main.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/sns-sqs/template.ejs +46 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/functionYaml/template.ejs +14 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/functionYaml/yaml.js +157 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/handler/handler.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/mainFunction/main.js +64 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/queue/template.ejs +42 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +10 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/functionYaml/yaml.js +164 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/handler/handler.js +66 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/sqs/template.ejs +50 -0
- package/src/generators/fromFlowSchema/events/s3/upload/processFile/functionYml/HdrS3/template.ejs +21 -0
- package/src/generators/fromFlowSchema/events/s3/upload/processFile/functionYml/HdrS3/yaml.js +156 -0
- package/src/generators/fromFlowSchema/events/s3/upload/processFile/queue/s3Template.ejs +56 -0
- package/src/generators/fromFlowSchema/events/s3/upload/relate/sns-out/snsOut.js +70 -0
- package/src/generators/fromFlowSchema/flowSchemaMainFunction/main.js +124 -0
- package/src/generators/fromFlowSchema/flowStep/firstFlowStep/templateResource.ejs +56 -0
- package/src/generators/fromFlowSchema/flowStep/flowStep.js +516 -0
- package/src/generators/fromFlowSchema/index.js +203 -0
- package/src/generators/fromFlowSchema/register/complete/functionYaml/yaml.js +127 -0
- package/src/generators/fromFlowSchema/register/complete/handler/handler.js +61 -0
- package/src/generators/fromFlowSchema/register/complete/handler/template.ejs +85 -0
- package/src/generators/fromFlowSchema/register/dynamoDB/register.js +74 -0
- package/src/generators/fromFlowSchema/register/index.js +50 -0
- package/src/generators/fromFlowSchema/register/sns-in/snsIn.js +59 -0
- package/src/generators/fromFlowSchema/register/sns-in/template.ejs +42 -0
- package/src/generators/fromFlowSchema/register/subscriptionOutAll/subscriptionOutAll.js +84 -0
- package/src/generators/fromFlowSchema/register/subscriptionOutAll/template.ejs +10 -0
- package/src/generators/fromFlowSchema/register/wbs/functionYaml/yaml.js +114 -0
- package/src/generators/fromFlowSchema/register/wbs/handler/handler.js +63 -0
- package/src/generators/fromFlowSchema/statusTypes/registry.js +2 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/functionYaml/template.ejs +18 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/functionYaml/yaml.js +169 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/handler/handler.js +68 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/index.js +22 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/mainFunction/main.js +67 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/functionYaml/template.ejs +18 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/functionYaml/yaml.js +154 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/handler/handler.js +73 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/mainFunction/main.js +75 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/index.js +41 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/functionYaml/template.ejs +18 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/functionYaml/yaml.js +159 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/handler/handler.js +74 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/mainFunction/main.js +68 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/dsq/dsq.js +148 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/dsq/template.ejs +17 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/sqs/sqs.js +148 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/sqs/template.ejs +17 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/handler/dsq/dsq.js +69 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/handler/sqs/sqs.js +69 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/mainFunction/main.js +72 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheQueue/template.ejs +46 -0
- package/src/generators/fromFlowSchema/webSocket/index.js +39 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/connect/functionYaml/yaml.js +89 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/connect/handler/handler.js +55 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/dynamoDb/WebSocketTaskData.js +74 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/dynamoDb/template.ejs +28 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/dynamoDb/ttlDynamoTemplate.ejs +29 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/functionYaml/yaml.js +146 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/handler/handler.js +61 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/mainFunction/main.js +53 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/sqs/sqs.js +108 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/sqs/template.ejs +40 -0
- package/src/generators/fromObjectSchema/endpoint/handler/api.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/handler/beforeLogical.js +56 -0
- package/src/generators/fromObjectSchema/endpoint/handler/dsq.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/handler/inv.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/handler/sqs.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/index.js +290 -0
- package/src/generators/fromObjectSchema/endpoint/main/beforeLogical/beforeLogical.js +54 -0
- package/src/generators/fromObjectSchema/endpoint/main/beforeLogical/template.ejs +163 -0
- package/src/generators/fromObjectSchema/endpoint/main/create/create.js +52 -0
- package/src/generators/fromObjectSchema/endpoint/main/create/template.ejs +673 -0
- package/src/generators/fromObjectSchema/endpoint/main/delete/delete.js +49 -0
- package/src/generators/fromObjectSchema/endpoint/main/delete/template.ejs +349 -0
- package/src/generators/fromObjectSchema/endpoint/main/get/get.js +49 -0
- package/src/generators/fromObjectSchema/endpoint/main/update/template.ejs +509 -0
- package/src/generators/fromObjectSchema/endpoint/main/update/update.js +50 -0
- package/src/generators/fromObjectSchema/endpoint/resource.js +72 -0
- package/src/generators/fromObjectSchema/endpoint/yaml.js +308 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/handler/handler.js +63 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/mainFunction/template.ejs +302 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/sns-out/snsOut.js +72 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/yaml/template.ejs +17 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/yaml/yaml.js +126 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/handler/handler.js +68 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/handler/template.ejs +122 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/yaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/yaml/yaml.js +124 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/handler/handler.js +68 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/handler/template.ejs +122 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/yaml/template.ejs +17 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/yaml/yaml.js +127 -0
- package/src/generators/fromObjectSchema/endpointComplete/index.js +80 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/handler/handler.js +68 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/handler/template.ejs +122 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/mainFunction/template.ejs +218 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/sns-out/snsOut.js +66 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/yaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/yaml/yaml.js +127 -0
- package/src/generators/fromObjectSchema/findData/findDataYaml/findDataYaml.js +204 -0
- package/src/generators/fromObjectSchema/findData/findDataYaml/template.ejs +10 -0
- package/src/generators/fromObjectSchema/findData/index.js +70 -0
- package/src/generators/fromObjectSchema/index.js +134 -0
- package/src/generators/fromObjectSchema/processLogical/index.js +50 -0
- package/src/generators/fromObjectSchema/processLogical/yaml/template.ejs +10 -0
- package/src/generators/fromObjectSchema/processLogical/yaml/yaml.js +200 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/dsqYaml/dsqYaml.js +51 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/index.js +62 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/dsq/dsq.js +189 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/dsq/template.ejs +10 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/sqs/sqs.js +198 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/sqs/template.ejs +11 -0
- package/src/generators/fromObjectSchema/rbac/index.js +68 -0
- package/src/generators/fromObjectSchema/rbac/lambda/handler/handler.js +72 -0
- package/src/generators/fromObjectSchema/rbac/lambda/mainFunction/main.js +83 -0
- package/src/generators/fromObjectSchema/rbac/lambda/yaml/yaml.js +109 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/functionYaml/yaml.js +201 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +150 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +194 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +138 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +178 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/mainFunction/main.js +61 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/mainFunction/template.ejs +394 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/functionYaml/yaml.js +139 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/mainFunction/template.ejs +143 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/sns-out/snsOut.js +68 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/create/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/create/action/functionYaml/yaml.js +238 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/apiTemplate.ejs +134 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/dsqTemplate.ejs +176 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/invTemplate.ejs +120 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/sqsTemplate.ejs +160 -0
- package/src/generators/fromObjectSchema/relationship/create/action/mainFunction/main.js +60 -0
- package/src/generators/fromObjectSchema/relationship/create/action/mainFunction/template.ejs +440 -0
- package/src/generators/fromObjectSchema/relationship/create/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/create/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/functionYaml/yaml.js +140 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/mainFunction/template.ejs +144 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/sns-out/snsOut.js +67 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/functionYaml/yaml.js +241 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/apiTemplate.ejs +133 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/dsqTemplate.ejs +176 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/invTemplate.ejs +118 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/sqsTemplate.ejs +167 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/mainFunction/main.js +60 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/mainFunction/template.ejs +356 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/functionYaml/yaml.js +138 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/mainFunction/template.ejs +126 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/get/action/functionYaml/template.ejs +23 -0
- package/src/generators/fromObjectSchema/relationship/get/action/functionYaml/yaml.js +235 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/apiTemplate.ejs +134 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/dsqTemplate.ejs +175 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/invTemplate.ejs +119 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/sqsTemplate.ejs +160 -0
- package/src/generators/fromObjectSchema/relationship/get/action/mainFunction/main.js +59 -0
- package/src/generators/fromObjectSchema/relationship/get/action/mainFunction/template.ejs +332 -0
- package/src/generators/fromObjectSchema/relationship/get/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/get/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/functionYaml/yaml.js +139 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/mainFunction/template.ejs +99 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/sns-out/snsOut.js +70 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/index.js +164 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/functionYaml/yaml.js +204 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +152 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +195 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +140 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +179 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/mainFunction/main.js +61 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/mainFunction/template.ejs +388 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/functionYaml/yaml.js +138 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/mainFunction/main.js +60 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/mainFunction/template.ejs +146 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/update/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/update/action/functionYaml/yaml.js +234 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/handler.js +77 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/apiTemplate.ejs +131 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/dsqTemplate.ejs +173 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/invTemplate.ejs +117 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/sqsTemplate.ejs +166 -0
- package/src/generators/fromObjectSchema/relationship/update/action/mainFunction/main.js +62 -0
- package/src/generators/fromObjectSchema/relationship/update/action/mainFunction/template.ejs +406 -0
- package/src/generators/fromObjectSchema/relationship/update/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/update/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/update/action/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/functionYaml/template.ejs +17 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/functionYaml/yaml.js +139 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/sns-out/snsOut.js +59 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/textTag/index.js +58 -0
- package/src/generators/fromObjectSchema/textTag/systemText/systemText.js +148 -0
- package/src/generators/fromPlugIn/afterFirstFlowStep/recievePlugIn/mainFunction/main.js +59 -0
- package/src/generators/fromPlugIn/afterFirstFlowStep/recievePlugIn/yaml/yaml.js +88 -0
- package/src/generators/fromPlugIn/byConfig/mainFunction/main.js +55 -0
- package/src/generators/fromPlugIn/byConfig/mainFunction/templateAwaitingStep.ejs +123 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/queueNoTopic.ejs +40 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/snsSqs.js +56 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/snsTemplate.ejs +55 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromPlugIn/firstFlowStep/mainFunction/template.ejs +72 -0
- package/src/generators/fromPlugIn/firstFlowStep/mainFunction/templateByConfig/awaitingSteps.ejs +57 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/dsqTemplate.ejs +40 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/queueNtopic.js +54 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/snsTemplate.ejs +55 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/sqsTemplate.ejs +40 -0
- package/src/generators/fromPlugIn/firstFlowStep/topicOut/topicOut.js +48 -0
- package/src/generators/fromPlugIn/index.js +528 -0
- package/src/generators/other/index.js +41 -0
- package/src/generators/resourceYamlComponent/dynamodb/template.ejs +23 -0
- package/src/generators/resourceYamlComponent/index.js +96 -0
- package/src/generators/resourceYamlComponent/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/resourceYamlComponent/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/resourceYamlComponent/sns-out/snsOut.js +80 -0
- package/src/generators/roles/index.js +31 -0
- package/src/generators/roles/roleNameConfig/template.ejs +14 -0
- package/src/generators/roles/roleNameConfig/templateIntTesting.ejs +31 -0
- package/src/generators/roles/roleNameConfig/templateYaml.ejs +10 -0
- package/src/generators/roles/sharedResource/sharedResource.js +103 -0
- package/src/libs/Consts.js +40 -377
- package/src/libs/Utils.js +4 -2
- package/src/libs/consts/functions.js +96 -0
- package/src/libs/consts/handlers.js +30 -0
- package/src/libs/consts/index.js +6 -0
- package/src/libs/consts/paths.js +84 -0
- package/src/libs/consts/resources.js +48 -0
- package/src/libs/consts/tags.js +68 -0
- package/src/libs/consts/topics.js +67 -0
- package/src/pipeline/fetchSchemas.js +31 -0
- package/src/pipeline/transformSchemas.js +75 -0
- package/src/pipeline/validateSources.js +47 -0
- package/src/pipeline/writeSources.js +24 -0
- package/src/generateCode/generateFlowSchema/GenerateCodeFlowSchema.js +0 -224
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/functionYaml/data.js +0 -164
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/handler/inv/data.js +0 -70
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/index.js +0 -15
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/mainFunction/data.js +0 -67
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/mainFunction/template.ejs +0 -59
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/index.js +0 -17
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/process/functionYaml/data.js +0 -154
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/process/handler/data.js +0 -65
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/sns-out/data.js +0 -76
- package/src/generateCode/generateFlowSchema/event/lambdaSyncApiComponent/functionYaml/data.js +0 -83
- package/src/generateCode/generateFlowSchema/event/lambdaSyncApiComponent/handler/data.js +0 -65
- package/src/generateCode/generateFlowSchema/event/lambdaSyncApiComponent/index.js +0 -13
- package/src/generateCode/generateFlowSchema/event/lambdaSyncInvComponent/functionYaml/data.js +0 -71
- package/src/generateCode/generateFlowSchema/event/lambdaSyncInvComponent/handler/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/lambdaSyncInvComponent/index.js +0 -13
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent/functionYaml/data.js +0 -172
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent/handler/data.js +0 -92
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/handler/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/handler/template.ejs +0 -110
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/mainFunction/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/index.js +0 -33
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/sns-out/data.js +0 -77
- package/src/generateCode/generateFlowSchema/event/s3Component/flowSchemaMainFunction/data.js +0 -119
- package/src/generateCode/generateFlowSchema/event/s3Component/index.js +0 -80
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/functionYaml/data.js +0 -129
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/functionYaml/template.ejs +0 -17
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/handler/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/queue/template.ejs +0 -45
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/functionYaml/data.js +0 -117
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/handler/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/mainFunction/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/functionYaml/data.js +0 -122
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/functionYaml/template.ejs +0 -17
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/handler/data.js +0 -66
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/mainFunction/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/sns-sqs/template.ejs +0 -49
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/functionYaml/data.js +0 -139
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/functionYaml/template.ejs +0 -18
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/handler/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/mainFunction/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/queue/template.ejs +0 -45
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/functionYaml/data.js +0 -146
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +0 -14
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/handler/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/sqs/template.ejs +0 -53
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/processFile/functionYml/HdrS3/data.js +0 -140
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/processFile/functionYml/HdrS3/template.ejs +0 -25
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/processFile/queue/s3Template.ejs +0 -59
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/relate/sns-out/data.js +0 -70
- package/src/generateCode/generateFlowSchema/flowSchemaMainFunction/data.js +0 -122
- package/src/generateCode/generateFlowSchema/flowStep/firstFlowStep/templateResource.ejs +0 -59
- package/src/generateCode/generateFlowSchema/flowStep/flowStep.js +0 -505
- package/src/generateCode/generateFlowSchema/registerComponent/complete/functionYaml/data.js +0 -122
- package/src/generateCode/generateFlowSchema/registerComponent/complete/handler/data.js +0 -57
- package/src/generateCode/generateFlowSchema/registerComponent/complete/handler/template.ejs +0 -85
- package/src/generateCode/generateFlowSchema/registerComponent/dynamoDB/register.js +0 -69
- package/src/generateCode/generateFlowSchema/registerComponent/index.js +0 -50
- package/src/generateCode/generateFlowSchema/registerComponent/sns-in/data.js +0 -56
- package/src/generateCode/generateFlowSchema/registerComponent/sns-in/template.ejs +0 -45
- package/src/generateCode/generateFlowSchema/registerComponent/subscriptionOutAll/data.js +0 -83
- package/src/generateCode/generateFlowSchema/registerComponent/subscriptionOutAll/template.ejs +0 -13
- package/src/generateCode/generateFlowSchema/registerComponent/wbs/functionYaml/data.js +0 -111
- package/src/generateCode/generateFlowSchema/registerComponent/wbs/handler/data.js +0 -62
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/functionYaml/data.js +0 -151
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/functionYaml/template.ejs +0 -22
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/handler/data.js +0 -65
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/index.js +0 -21
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/mainFunction/data.js +0 -66
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/data.js +0 -136
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/template.ejs +0 -22
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/handler/data.js +0 -71
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/data.js +0 -73
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/index.js +0 -40
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/functionYaml/data.js +0 -141
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/functionYaml/template.ejs +0 -22
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/handler/data.js +0 -72
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/mainFunction/data.js +0 -67
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/dsq/data.js +0 -130
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/dsq/template.ejs +0 -21
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/sqs/data.js +0 -130
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/sqs/template.ejs +0 -21
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/handler/dsq/data.js +0 -67
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/handler/sqs/data.js +0 -67
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/mainFunction/data.js +0 -70
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheQueue/template.ejs +0 -49
- package/src/generateCode/generateFlowSchema/webSocketComponent/index.js +0 -39
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/connect/functionYaml/data.js +0 -86
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/connect/handler/data.js +0 -52
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/dynamoDb/WebSocketTaskData.js +0 -75
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/dynamoDb/ttlDynamoTemplate.ejs +0 -32
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/functionYaml/data.js +0 -140
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/handler/data.js +0 -58
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/mainFunction/data.js +0 -50
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/sqs/data.js +0 -102
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/sqs/template.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/recievePlugIn/mainFunction/data.js +0 -58
- package/src/generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/recievePlugIn/yaml/data.js +0 -86
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/mainFunction/data.js +0 -57
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/mainFunction/templateAwaitingStep.ejs +0 -129
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/data.js +0 -50
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/queueNoTopic.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/snsTemplate.ejs +0 -58
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/mainFunction/template.ejs +0 -71
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/mainFunction/templateByConfig/awaitingSteps.ejs +0 -59
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/data.js +0 -50
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/dsqTemplate.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/snsTemplate.ejs +0 -58
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/topicOut/data.js +0 -45
- package/src/generateCode/generateFlowStepWithPlugIn/index(old).js +0 -290
- package/src/generateCode/generateFlowStepWithPlugIn/index.js +0 -522
- package/src/generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/template.ejs +0 -14
- package/src/generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/templateIntTesting.ejs +0 -31
- package/src/generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/templateYaml.ejs +0 -10
- package/src/generateCode/generateInitialSetup/externalServiceComponent/index.js +0 -69
- package/src/generateCode/generateOther/generateCodeOther.js +0 -41
- package/src/generateCode/generateRole/generateCodeRole.js +0 -31
- package/src/generateCode/generateRole/generateRoleNameConfig/template.ejs +0 -14
- package/src/generateCode/generateRole/generateRoleNameConfig/templateIntTesting.ejs +0 -31
- package/src/generateCode/generateRole/generateRoleNameConfig/templateYaml.ejs +0 -10
- package/src/generateCode/generateRole/generateSharedResource/data.js +0 -97
- package/src/generateCode/generateSchema/GenerateCodeSchema.js +0 -134
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/mainFunction/template.ejs +0 -308
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/yaml/data.js +0 -111
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/yaml/template.ejs +0 -21
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/handler/template.ejs +0 -125
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/yaml/data.js +0 -109
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/yaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/handler/template.ejs +0 -125
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/yaml/data.js +0 -112
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/yaml/template.ejs +0 -21
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/index.js +0 -80
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/handler/template.ejs +0 -125
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/mainFunction/template.ejs +0 -199
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/sns-out/data.js +0 -66
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/yaml/data.js +0 -112
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/yaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/api/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/api/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/beforeLogical/data.js +0 -56
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/dsq/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/dsq/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/inv/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/inv/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/sqs/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/sqs/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/index.js +0 -289
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/beforeLogical/data.js +0 -51
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/beforeLogical/template.ejs +0 -161
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/create/main/data.js +0 -49
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/create/main/template.ejs +0 -679
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/delete/main/data.js +0 -48
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/delete/main/template.ejs +0 -349
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/get/data.js +0 -48
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/update/main/data.js +0 -49
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/update/main/template.ejs +0 -486
- package/src/generateCode/generateSchema/actionEndpointComponent/resource/data.js +0 -72
- package/src/generateCode/generateSchema/actionEndpointComponent/yaml/data.js +0 -308
- package/src/generateCode/generateSchema/findDataComponent/findDataYaml/data.js +0 -195
- package/src/generateCode/generateSchema/findDataComponent/findDataYaml/template.ejs +0 -14
- package/src/generateCode/generateSchema/findDataComponent/index.js +0 -70
- package/src/generateCode/generateSchema/generateTextTag/index.js +0 -58
- package/src/generateCode/generateSchema/generateTextTag/systemText/data.js +0 -147
- package/src/generateCode/generateSchema/processLogicalComponent/index.js +0 -50
- package/src/generateCode/generateSchema/processLogicalComponent/yaml/data.js +0 -182
- package/src/generateCode/generateSchema/processLogicalComponent/yaml/template.ejs +0 -12
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/dsqYaml/data.js +0 -50
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/index.js +0 -62
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/dsq/data.js +0 -171
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/dsq/template.ejs +0 -12
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/sqs/data.js +0 -180
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/sqs/template.ejs +0 -13
- package/src/generateCode/generateSchema/rbac/index.js +0 -68
- package/src/generateCode/generateSchema/rbac/lambda/handler/data.js +0 -69
- package/src/generateCode/generateSchema/rbac/lambda/mainFunction/data.js +0 -82
- package/src/generateCode/generateSchema/rbac/lambda/yaml/data.js +0 -106
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/functionYaml/data.js +0 -182
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -153
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -197
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -141
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -181
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/mainFunction/data.js +0 -60
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/mainFunction/template.ejs +0 -400
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/functionYaml/data.js +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/mainFunction/template.ejs +0 -150
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-out/data.js +0 -65
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/functionYaml/data.js +0 -219
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/dsqTemplate.ejs +0 -179
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/invTemplate.ejs +0 -123
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/mainFunction/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/mainFunction/template.ejs +0 -445
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/functionYaml/data.js +0 -122
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/mainFunction/template.ejs +0 -151
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-out/data.js +0 -64
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/functionYaml/data.js +0 -221
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/apiTemplate.ejs +0 -136
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/dsqTemplate.ejs +0 -179
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/invTemplate.ejs +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/sqsTemplate.ejs +0 -170
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/mainFunction/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/mainFunction/template.ejs +0 -353
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/functionYaml/data.js +0 -120
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/mainFunction/template.ejs +0 -142
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-out/data.js +0 -66
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/functionYaml/data.js +0 -216
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/functionYaml/template.ejs +0 -27
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/dsqTemplate.ejs +0 -178
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/invTemplate.ejs +0 -122
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/mainFunction/data.js +0 -58
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/mainFunction/template.ejs +0 -332
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/functionYaml/data.js +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/mainFunction/template.ejs +0 -143
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-out/data.js +0 -67
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/index.js +0 -164
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/functionYaml/data.js +0 -185
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -155
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -198
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -143
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -182
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/mainFunction/data.js +0 -60
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/mainFunction/template.ejs +0 -395
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/functionYaml/data.js +0 -120
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/mainFunction/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/mainFunction/template.ejs +0 -155
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-out/data.js +0 -66
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/functionYaml/data.js +0 -215
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/data.js +0 -74
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/apiTemplate.ejs +0 -134
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/dsqTemplate.ejs +0 -176
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/invTemplate.ejs +0 -120
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/sqsTemplate.ejs +0 -169
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/mainFunction/data.js +0 -61
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/mainFunction/template.ejs +0 -402
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/functionYaml/data.js +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/functionYaml/template.ejs +0 -21
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-out/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/resourceYamlComponent/dynamodb/template.ejs +0 -29
- package/src/generateCode/resourceYamlComponent/index.js +0 -96
- package/src/generateCode/resourceYamlComponent/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/resourceYamlComponent/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/resourceYamlComponent/sns-out/data.js +0 -80
- /package/src/generateResources/IntTest/generateTests/events/{data.js → events.js} +0 -0
- /package/src/generateResources/IntTest/generateTests/pathIntTest/{data.js → pathIntTest.js} +0 -0
- /package/src/generateResources/IntTest/generateTests/tests/{data.js → tests.js} +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/data.js → generators/fromExternalService/externalServiceComponent/functionNameConfig/functionNameConfig.js} +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/lambdaRole/data.js → generators/fromExternalService/externalServiceComponent/lambdaRole/lambdaRole.js} +0 -0
- /package/src/{generateCode/generateInitialSetup → generators/fromExternalService}/externalServiceComponent/lambdaRole/template.ejs +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/snsTopicSubscriptions/data.js → generators/fromExternalService/externalServiceComponent/snsTopicSubscriptions/snsTopicSubscriptions.js} +0 -0
- /package/src/{generateCode/generateInitialSetup → generators/fromExternalService}/externalServiceComponent/snsTopicSubscriptions/template.ejs +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/tableNameConfig/data.js → generators/fromExternalService/externalServiceComponent/tableNameConfig/tableNameConfig.js} +0 -0
- /package/src/{generateCode/generateInitialSetup → generators/fromExternalService}/externalServiceComponent/tableNameConfig/template.ejs +0 -0
- /package/src/{generateCode/generateInitialSetup/GenerateCodeExternalService.js → generators/fromExternalService/index.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/handler/inv/request.json +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/handler/inv/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateFlowSchema/event/extTopicComponent → generators/fromFlowSchema/events/extTopic}/process/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/extTopicComponent → generators/fromFlowSchema/events/extTopic}/process/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/extTopicComponent/sns-in-sqs/data.js → generators/fromFlowSchema/events/extTopic/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/generatedCodeComponent → generators/fromFlowSchema/events/generatedCode}/index.js +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncApiComponent → generators/fromFlowSchema/events/lambdaSyncApi}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncApiComponent → generators/fromFlowSchema/events/lambdaSyncApi}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncInvComponent → generators/fromFlowSchema/events/lambdaSyncInv}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncInvComponent → generators/fromFlowSchema/events/lambdaSyncInv}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent → generators/fromFlowSchema/events/ownTopic/endpoint}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent → generators/fromFlowSchema/events/ownTopic/endpoint}/handler/DsqHandlerTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent → generators/fromFlowSchema/events/ownTopic/endpoint}/handler/SqsHandlerTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent → generators/fromFlowSchema/events/ownTopic/flowSchema}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/functionYaml/data.js → generators/fromFlowSchema/events/ownTopic/flowSchema/functionYaml/yaml.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent → generators/fromFlowSchema/events/ownTopic/flowSchema}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/sns-in/data.js → generators/fromFlowSchema/events/ownTopic/sns-in/snsIn.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent → generators/fromFlowSchema/events/ownTopic}/sns-in/sqsTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/templateByStatusType/statusFieldTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/templateByStatusType/storedCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/templateByStatusType/triggerCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/confirmReserved/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/mainFunction/data.js → generators/fromFlowSchema/events/s3/upload/confirmReserved/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/confirmReserved/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/queue/data.js → generators/fromFlowSchema/events/s3/upload/confirmReserved/queue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObject/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObject/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObjectComplete/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObjectComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/sns-sqs/data.js → generators/fromFlowSchema/events/s3/upload/createObjectComplete/sns-sqs/snsSqs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/createPreSignUrl/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/createPreSignUrl/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/queue/data.js → generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/queue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/reservedLimit/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/mainFunction/data.js → generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/reservedLimit/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/sqs/data.js → generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/processFile/handler/handlerS3/data.js → generators/fromFlowSchema/events/s3/upload/processFile/handler/handlerS3/handlerS3.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/handler/handlerS3/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/mainFunction/ProcessCsvtemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/processFile/mainFunction/data.js → generators/fromFlowSchema/events/s3/upload/processFile/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/queue/dsqTemplatePath.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/processFile/queue/data.js → generators/fromFlowSchema/events/s3/upload/processFile/queue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/relate/S3/data.js → generators/fromFlowSchema/events/s3/upload/relate/S3/s3.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/relate/S3/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/websocket/dynamoDb/ReservedTableData.js +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/templateByStatusType/statusFieldTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/templateByStatusType/storedCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/templateByStatusType/triggerCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/handler/templateDsq.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/handler/templateSqs.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/templateMain.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/templateResource.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/firstFlowStep/templateHandler.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/firstFlowStep/templateMain.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/firstFlowStep/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateHandler.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateMain.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateResource.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/complete/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent/complete/mainFunction/data.js → generators/fromFlowSchema/register/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/complete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/wbs/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/wbs/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent/wbs/mainFunction/data.js → generators/fromFlowSchema/register/wbs/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/wbs/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/libs → generators/fromFlowSchema/shared}/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/libs/data.js → generators/fromFlowSchema/shared/wsCodeLibs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent → generators/fromFlowSchema/statusTypes/statusField}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent → generators/fromFlowSchema/statusTypes/statusField}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent/sns/data.js → generators/fromFlowSchema/statusTypes/statusField/sns/sns.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent → generators/fromFlowSchema/statusTypes/statusField}/sns/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/checkTriggerCacheComplete/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/checkTriggerCacheComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/processTriggerCache/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/processTriggerCache/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/triggerCacheComplete/handler/dsq/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/triggerCacheComplete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/triggerCacheComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheQueue/data.js → generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheQueue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocket/connect/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocket/connect/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocket/dynamoDb/userUploadRecords.js +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/sqs/templateSub.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/api/template.ejs → generators/fromObjectSchema/endpoint/handler/apiTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/beforeLogical/template.ejs → generators/fromObjectSchema/endpoint/handler/beforeLogicalTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/dsq/template.ejs → generators/fromObjectSchema/endpoint/handler/dsqTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/inv/template.ejs → generators/fromObjectSchema/endpoint/handler/invTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/sqs/template.ejs → generators/fromObjectSchema/endpoint/handler/sqsTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/mainFunction → generators/fromObjectSchema/endpoint/main}/get/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/resource/templateBeforeLogical.ejs → generators/fromObjectSchema/endpoint/resourceBeforeLogicalTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/resource/template.ejs → generators/fromObjectSchema/endpoint/resourceTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/yaml/template.ejs → generators/fromObjectSchema/endpoint/yamlTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent → generators/fromObjectSchema/endpointComplete}/create/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/create/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/create/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/create/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/delete/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/delete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent → generators/fromObjectSchema/endpointComplete}/delete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/delete/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/delete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/get/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/get/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent → generators/fromObjectSchema/endpointComplete}/get/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/get/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/get/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/update/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/update/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/update/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/update/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/GetByStorage/getByDynamo.ejs +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/GetByStorage/getByGraph.ejs +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent/handler/data.js → generators/fromObjectSchema/findData/handler/handler.js} +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent/mainFunction/data.js → generators/fromObjectSchema/findData/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent/handler/data.js → generators/fromObjectSchema/processLogical/handler/handler.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent → generators/fromObjectSchema/processLogical}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent/mainFunction/data.js → generators/fromObjectSchema/processLogical/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent → generators/fromObjectSchema/processLogical}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/dsqYaml/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent/handler/dsq/data.js → generators/fromObjectSchema/processLogicalPagination/handler/dsq/dsq.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/handler/dsq/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent/handler/sqs/data.js → generators/fromObjectSchema/processLogicalPagination/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent/mainFunction/data.js → generators/fromObjectSchema/processLogicalPagination/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/rbac/dynamoDb/data.js → generators/fromObjectSchema/rbac/dynamoDb/dynamoDb.js} +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/rbac/lambda/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/rbac/lambda/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/rbac/lambda/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/changeRelationship/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/changeRelationship/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/changeRelationship/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/changeRelationship/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/changeRelationship/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/changeRelationship/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/create/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/create/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/create/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/create/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/delete/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/delete/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/delete/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/delete/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/get/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/get/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/get/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/get/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/moveRelationship/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/moveRelationship/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/moveRelationship/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/moveRelationship/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/moveRelationship/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/update/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/update/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/update/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/update/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/roleNameConfig/data.js → generators/fromObjectSchema/roleNameConfig/roleNameConfig.js} +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/roleNameConfig/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateSchema/generateTextTag → generators/fromObjectSchema/textTag}/systemText/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/recievePlugIn/handler/data.js → generators/fromPlugIn/afterFirstFlowStep/recievePlugIn/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/handler/templateApi.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/handler/templateWebSocket.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/sendPlugIn/handler/data.js → generators/fromPlugIn/afterFirstFlowStep/sendPlugIn/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/sendPlugIn/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/sendPlugIn/mainFunction/data.js → generators/fromPlugIn/afterFirstFlowStep/sendPlugIn/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/sendPlugIn/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/sendPlugIn/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/sendPlugIn/yaml/data.js → generators/fromPlugIn/afterFirstFlowStep/sendPlugIn/yaml/yaml.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/byConfig/handler/data.js → generators/fromPlugIn/byConfig/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/handler/templateAwaitingStep.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/handler/templatePaginated.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/mainFunction/templatePaginated.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/byConfig/yaml/data.js → generators/fromPlugIn/byConfig/yaml/yaml.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/firstFlowStep/handler/data.js → generators/fromPlugIn/firstFlowStep/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateApi.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateDsq.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateInv.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateSqs.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/firstFlowStep/mainFunction/data.js → generators/fromPlugIn/firstFlowStep/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/mainFunction/templateByConfig/templateSendPlugin.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/firstFlowStep/yaml/data.js → generators/fromPlugIn/firstFlowStep/yaml/yaml.js} +0 -0
- /package/src/{generateCode/generateOther → generators/other}/generateAuthYml/template.ejs +0 -0
- /package/src/{generateCode/generateOther/generateAuthYml/data.js → generators/other/generateAuthYml/yaml.js} +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/dynamodb/defaultDynamoDbTable.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/dynamodb/generateDynamoPerLink.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/dynamodb/mainResourcePerObjectSchemaData.js +0 -0
- /package/src/{generateCode/resourceYamlComponent/filterGenerateResource/data.js → generators/resourceYamlComponent/filterGenerateResource/filter.js} +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-in-sqs/defaultSnsInSqsForFindDataAndProcessLogical.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-in-sqs/snsAndSqsPerActionData.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-out/defaultSnsOutForFindDataAndProcessLogical.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-out/request.json +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-out/template.ejs +0 -0
- /package/src/{generateCode/generateRole/generateRoleNameConfig/data.js → generators/roles/roleNameConfig/roleNameConfig.js} +0 -0
- /package/src/{generateCode/generateRole/generateSharedResource → generators/roles/sharedResource}/template.ejs +0 -0
- /package/src/{SourceManager → sourceManager}/CreateSource.js +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as
|
|
6
|
+
published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
License, or (at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
// api data.js
|
|
19
|
+
import path from 'path';
|
|
20
|
+
import { fileURLToPath } from 'url';
|
|
21
|
+
import consts from '#libs/Consts.js';
|
|
22
|
+
import utils from '#libs/Utils.js';
|
|
23
|
+
|
|
24
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
25
|
+
const __dirname = path.dirname(__filename);
|
|
26
|
+
|
|
27
|
+
const { HANDLER, SOURCE_PATH } = consts;
|
|
28
|
+
const { firstLetterUpperCase: upperCase } = utils;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(__dirname, 'apiTemplate.ejs');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generates hdrApi handler source params for a given action
|
|
34
|
+
* @param {Object} _izContext - Context object with logger
|
|
35
|
+
* @param {string} srcPath - Source path
|
|
36
|
+
* @param {string} action - Action name (create/update/get/delete)
|
|
37
|
+
* @returns {Array} Array of source params
|
|
38
|
+
*/
|
|
39
|
+
function data(_izContext, srcPath, { action, saveFileName, templateData }) {
|
|
40
|
+
return [
|
|
41
|
+
{
|
|
42
|
+
templatePath,
|
|
43
|
+
templateData,
|
|
44
|
+
setting: {
|
|
45
|
+
savePath: path.join(srcPath, SOURCE_PATH.endpointPerService),
|
|
46
|
+
saveFileName:
|
|
47
|
+
saveFileName ?? `${upperCase(action)}_${upperCase(HANDLER.hdrApi)}`,
|
|
48
|
+
fileExtension: '.js',
|
|
49
|
+
isAppend: false
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default data;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as
|
|
6
|
+
published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
License, or (at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
// sqs data.js
|
|
19
|
+
import path from 'path';
|
|
20
|
+
import { fileURLToPath } from 'url';
|
|
21
|
+
import consts from '#libs/Consts.js';
|
|
22
|
+
import utils from '#libs/Utils.js';
|
|
23
|
+
|
|
24
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
25
|
+
const __dirname = path.dirname(__filename);
|
|
26
|
+
|
|
27
|
+
const { HANDLER, SOURCE_PATH } = consts;
|
|
28
|
+
const { firstLetterUpperCase: upperCase } = utils;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(__dirname, 'beforeLogicalTemplate.ejs');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generates hdrSqs handler source params for a given action
|
|
34
|
+
* @param {Object} _izContext - Context object with logger
|
|
35
|
+
* @param {string} srcPath - Source path
|
|
36
|
+
* @param {string} action - Action name (create/update/get/delete)
|
|
37
|
+
* @returns {Array} Array of source params
|
|
38
|
+
*/
|
|
39
|
+
function data(_izContext, srcPath, { saveFileName, templateData }) {
|
|
40
|
+
return [
|
|
41
|
+
{
|
|
42
|
+
templatePath,
|
|
43
|
+
templateData,
|
|
44
|
+
setting: {
|
|
45
|
+
savePath: path.join(srcPath, SOURCE_PATH.endpointPerService),
|
|
46
|
+
saveFileName:
|
|
47
|
+
saveFileName ??
|
|
48
|
+
`${upperCase(templateData.action)}_${upperCase(HANDLER.hdrSqs)}`,
|
|
49
|
+
fileExtension: '.js',
|
|
50
|
+
isAppend: false
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export default data;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as
|
|
6
|
+
published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
License, or (at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
// dsq data.js
|
|
19
|
+
import path from 'path';
|
|
20
|
+
import { fileURLToPath } from 'url';
|
|
21
|
+
import consts from '#libs/Consts.js';
|
|
22
|
+
import utils from '#libs/Utils.js';
|
|
23
|
+
|
|
24
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
25
|
+
const __dirname = path.dirname(__filename);
|
|
26
|
+
|
|
27
|
+
const { HANDLER, SOURCE_PATH } = consts;
|
|
28
|
+
const { firstLetterUpperCase: upperCase } = utils;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(__dirname, 'dsqTemplate.ejs');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generates hdrDsq handler source params for a given action
|
|
34
|
+
* @param {Object} _izContext - Context object with logger
|
|
35
|
+
* @param {string} srcPath - Source path
|
|
36
|
+
* @param {string} action - Action name (create/update/get/delete)
|
|
37
|
+
* @returns {Array} Array of source params
|
|
38
|
+
*/
|
|
39
|
+
function data(_izContext, srcPath, { action, saveFileName, templateData }) {
|
|
40
|
+
return [
|
|
41
|
+
{
|
|
42
|
+
templatePath,
|
|
43
|
+
templateData,
|
|
44
|
+
setting: {
|
|
45
|
+
savePath: path.join(srcPath, SOURCE_PATH.endpointPerService),
|
|
46
|
+
saveFileName:
|
|
47
|
+
saveFileName ?? `${upperCase(action)}_${upperCase(HANDLER.hdrDsq)}`,
|
|
48
|
+
fileExtension: '.js',
|
|
49
|
+
isAppend: false
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default data;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as
|
|
6
|
+
published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
License, or (at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
// inv data.js
|
|
19
|
+
import path from 'path';
|
|
20
|
+
import { fileURLToPath } from 'url';
|
|
21
|
+
import consts from '#libs/Consts.js';
|
|
22
|
+
import utils from '#libs/Utils.js';
|
|
23
|
+
|
|
24
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
25
|
+
const __dirname = path.dirname(__filename);
|
|
26
|
+
|
|
27
|
+
const { HANDLER, SOURCE_PATH } = consts;
|
|
28
|
+
const { firstLetterUpperCase: upperCase } = utils;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(__dirname, 'invTemplate.ejs');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generates hdrInv handler source params for a given action
|
|
34
|
+
* @param {Object} _izContext - Context object with logger
|
|
35
|
+
* @param {string} srcPath - Source path
|
|
36
|
+
* @param {string} action - Action name (create/update/get/delete)
|
|
37
|
+
* @returns {Array} Array of source params
|
|
38
|
+
*/
|
|
39
|
+
function data(_izContext, srcPath, { action, saveFileName, templateData }) {
|
|
40
|
+
return [
|
|
41
|
+
{
|
|
42
|
+
templatePath,
|
|
43
|
+
templateData,
|
|
44
|
+
setting: {
|
|
45
|
+
savePath: path.join(srcPath, SOURCE_PATH.endpointPerService),
|
|
46
|
+
saveFileName:
|
|
47
|
+
saveFileName ?? `${upperCase(action)}_${upperCase(HANDLER.hdrInv)}`,
|
|
48
|
+
fileExtension: '.js',
|
|
49
|
+
isAppend: false
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default data;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as
|
|
6
|
+
published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
License, or (at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
// sqs data.js
|
|
19
|
+
import path from 'path';
|
|
20
|
+
import { fileURLToPath } from 'url';
|
|
21
|
+
import consts from '#libs/Consts.js';
|
|
22
|
+
import utils from '#libs/Utils.js';
|
|
23
|
+
|
|
24
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
25
|
+
const __dirname = path.dirname(__filename);
|
|
26
|
+
|
|
27
|
+
const { HANDLER, SOURCE_PATH } = consts;
|
|
28
|
+
const { firstLetterUpperCase: upperCase } = utils;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(__dirname, 'sqsTemplate.ejs');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generates hdrSqs handler source params for a given action
|
|
34
|
+
* @param {Object} _izContext - Context object with logger
|
|
35
|
+
* @param {string} srcPath - Source path
|
|
36
|
+
* @param {string} action - Action name (create/update/get/delete)
|
|
37
|
+
* @returns {Array} Array of source params
|
|
38
|
+
*/
|
|
39
|
+
function data(_izContext, srcPath, { action, saveFileName, templateData }) {
|
|
40
|
+
return [
|
|
41
|
+
{
|
|
42
|
+
templatePath,
|
|
43
|
+
templateData,
|
|
44
|
+
setting: {
|
|
45
|
+
savePath: path.join(srcPath, SOURCE_PATH.endpointPerService),
|
|
46
|
+
saveFileName:
|
|
47
|
+
saveFileName ?? `${upperCase(action)}_${upperCase(HANDLER.hdrSqs)}`,
|
|
48
|
+
fileExtension: '.js',
|
|
49
|
+
isAppend: false
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default data;
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as
|
|
6
|
+
published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
License, or (at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
import { NoRetryError } from '@izara_project/izara-core-library-core';
|
|
19
|
+
|
|
20
|
+
import invHandler from './handler/inv.js';
|
|
21
|
+
import apiHandler from './handler/api.js';
|
|
22
|
+
import sqsHandler from './handler/sqs.js';
|
|
23
|
+
import dsqHandler from './handler/dsq.js';
|
|
24
|
+
|
|
25
|
+
import getMain from './main/get/get.js';
|
|
26
|
+
import createMain from './main/create/create.js';
|
|
27
|
+
import updateMain from './main/update/update.js';
|
|
28
|
+
import deleteMain from './main/delete/delete.js';
|
|
29
|
+
|
|
30
|
+
import beforeLogicalMain from './main/beforeLogical/beforeLogical.js';
|
|
31
|
+
import beforeLogicalHandler from './handler/beforeLogical.js';
|
|
32
|
+
|
|
33
|
+
import yamlGenerator from './yaml.js';
|
|
34
|
+
import createResource from './resource.js';
|
|
35
|
+
|
|
36
|
+
import consts from '#libs/Consts.js';
|
|
37
|
+
const { HANDLER } = consts;
|
|
38
|
+
|
|
39
|
+
import utils from '#libs/Utils.js';
|
|
40
|
+
const { firstLetterUpperCase: upperCase } = utils;
|
|
41
|
+
|
|
42
|
+
const HANDLER_MAP = {
|
|
43
|
+
hdrApi: apiHandler,
|
|
44
|
+
hdrInv: invHandler,
|
|
45
|
+
hdrSqs: sqsHandler,
|
|
46
|
+
hdrDsq: dsqHandler
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const endpoint = {
|
|
50
|
+
get: {
|
|
51
|
+
phases: [{ key: 'main', fn: getMain }],
|
|
52
|
+
handlers: [HANDLER.hdrApi, HANDLER.hdrInv]
|
|
53
|
+
},
|
|
54
|
+
create: {
|
|
55
|
+
phases: [
|
|
56
|
+
{ key: 'main', fn: createMain },
|
|
57
|
+
{
|
|
58
|
+
key: 'beforeLogical',
|
|
59
|
+
fn: beforeLogicalMain,
|
|
60
|
+
fnHandler: beforeLogicalHandler
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
handlers: [HANDLER.hdrInv, HANDLER.hdrSqs]
|
|
64
|
+
},
|
|
65
|
+
update: {
|
|
66
|
+
phases: [
|
|
67
|
+
{ key: 'main', fn: updateMain },
|
|
68
|
+
{
|
|
69
|
+
key: 'beforeLogical',
|
|
70
|
+
fn: beforeLogicalMain,
|
|
71
|
+
fnHandler: beforeLogicalHandler
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
handlers: [HANDLER.hdrInv, HANDLER.hdrSqs]
|
|
75
|
+
},
|
|
76
|
+
delete: {
|
|
77
|
+
phases: [
|
|
78
|
+
{ key: 'main', fn: deleteMain },
|
|
79
|
+
{
|
|
80
|
+
key: 'beforeLogical',
|
|
81
|
+
fn: beforeLogicalMain,
|
|
82
|
+
fnHandler: beforeLogicalHandler
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
handlers: [HANDLER.hdrInv, HANDLER.hdrSqs]
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Generates endpoint component source params per object schema
|
|
91
|
+
* @param {Object} _izContext - Context object with logger
|
|
92
|
+
* @param {string} appPath - Root path of the service
|
|
93
|
+
* @param {Array} allObjSchemas - All object schemas
|
|
94
|
+
* @param {Array} generatedCodeConfigFromFlowSchemas - Generated code configs from flow schemas
|
|
95
|
+
* @returns {Promise<Array>} Array of generated source params
|
|
96
|
+
*/
|
|
97
|
+
async function endpointComponent(
|
|
98
|
+
_izContext,
|
|
99
|
+
appPath,
|
|
100
|
+
allObjSchemas,
|
|
101
|
+
generatedCodeConfigFromFlowSchemas
|
|
102
|
+
) {
|
|
103
|
+
try {
|
|
104
|
+
const createSourceParams = [];
|
|
105
|
+
|
|
106
|
+
// ── Flatten generatedCodeConfig ───────────────────────────────────────
|
|
107
|
+
const generatedCodeConfig = generatedCodeConfigFromFlowSchemas
|
|
108
|
+
.filter(
|
|
109
|
+
({ generatedCodeConfig }) =>
|
|
110
|
+
generatedCodeConfig?.objType?.objectType !== undefined
|
|
111
|
+
)
|
|
112
|
+
.map(({ generatedCodeConfig, flowTag }) => ({
|
|
113
|
+
...generatedCodeConfig,
|
|
114
|
+
flowTag
|
|
115
|
+
}));
|
|
116
|
+
|
|
117
|
+
console.debug(
|
|
118
|
+
'[endpointComponent] generatedCodeConfig=',
|
|
119
|
+
generatedCodeConfig
|
|
120
|
+
);
|
|
121
|
+
|
|
122
|
+
// ── Per action ────────────────────────────────────────────────────────
|
|
123
|
+
for (const [action, { handlers }] of Object.entries(endpoint)) {
|
|
124
|
+
const configPerAction = generatedCodeConfig.filter(
|
|
125
|
+
c => c.generatedCodeTag === action
|
|
126
|
+
);
|
|
127
|
+
|
|
128
|
+
const hasConfig = configPerAction.length > 0;
|
|
129
|
+
|
|
130
|
+
// ? ── Base handlers ─────────────────────────────────────────────────
|
|
131
|
+
for (const type of handlers) {
|
|
132
|
+
const queueName =
|
|
133
|
+
type === HANDLER.hdrSqs || type === HANDLER.hdrDsq
|
|
134
|
+
? upperCase(action) + upperCase(type)
|
|
135
|
+
: '';
|
|
136
|
+
const params = HANDLER_MAP[type](_izContext, appPath, {
|
|
137
|
+
action,
|
|
138
|
+
saveFileName: `${upperCase(action)}_${upperCase(type)}`,
|
|
139
|
+
templateData: {
|
|
140
|
+
action,
|
|
141
|
+
handler: upperCase(type),
|
|
142
|
+
queueName,
|
|
143
|
+
functionMainName: action + 'Main',
|
|
144
|
+
fileMainName: upperCase(action) + '_Main.js',
|
|
145
|
+
upperQueueName: upperCase(queueName)
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
createSourceParams.push(...params);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// ? ── Additional phase handlers (main2, main3, ...) ─────────────────
|
|
152
|
+
if (hasConfig) {
|
|
153
|
+
const hasBeforeLogical = configPerAction.some(
|
|
154
|
+
c => c.codeHookTag === 'beforeLogical'
|
|
155
|
+
);
|
|
156
|
+
|
|
157
|
+
if (hasBeforeLogical) {
|
|
158
|
+
const type = HANDLER.hdrSqs;
|
|
159
|
+
const handler = endpoint[action].phases.find(
|
|
160
|
+
p => p.key === 'beforeLogical'
|
|
161
|
+
)?.fnHandler;
|
|
162
|
+
const params = handler(_izContext, appPath, {
|
|
163
|
+
saveFileName: `${upperCase(action)}BeforeLogical_${upperCase(type)}`,
|
|
164
|
+
templateData: {
|
|
165
|
+
action: `${action}`,
|
|
166
|
+
handler: upperCase(type),
|
|
167
|
+
queueName: upperCase(action) + 'BeforeLogical' + upperCase(type),
|
|
168
|
+
functionMainName: action + 'BeforeLogicalMain',
|
|
169
|
+
fileMainName: upperCase(action) + 'BeforeLogical' + '_Main.js',
|
|
170
|
+
getFlowTag: true
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
createSourceParams.push(...params);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// ── Main functions ────────────────────────────────────────────────
|
|
178
|
+
const createMainFile = endpoint[action].phases
|
|
179
|
+
.filter(phase => phase.key === 'main')
|
|
180
|
+
.map(({ fn }) => fn(_izContext, appPath, configPerAction));
|
|
181
|
+
|
|
182
|
+
createSourceParams.push(...createMainFile.flat());
|
|
183
|
+
|
|
184
|
+
// -- Main BeforeLogical --------------------------------------------
|
|
185
|
+
if (hasConfig) {
|
|
186
|
+
const hasBeforeLogical = configPerAction.some(
|
|
187
|
+
c => c.codeHookTag === 'beforeLogical'
|
|
188
|
+
);
|
|
189
|
+
|
|
190
|
+
if (hasBeforeLogical) {
|
|
191
|
+
const result = endpoint[action].phases
|
|
192
|
+
.filter(phase => phase.key === 'beforeLogical')
|
|
193
|
+
.map(({ fn }) => fn(_izContext, appPath, action, configPerAction));
|
|
194
|
+
|
|
195
|
+
createSourceParams.push(...result.flat());
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// ── Yaml — base handlers ──────────────────────────────────────────
|
|
200
|
+
for (const handler of handlers) {
|
|
201
|
+
const result = await yamlGenerator(
|
|
202
|
+
_izContext,
|
|
203
|
+
allObjSchemas,
|
|
204
|
+
appPath,
|
|
205
|
+
action,
|
|
206
|
+
handler
|
|
207
|
+
).catch(error => {
|
|
208
|
+
console.error(
|
|
209
|
+
`[endpointComponent] error base yaml action=${action} handler=${handler}:`,
|
|
210
|
+
error
|
|
211
|
+
);
|
|
212
|
+
return [];
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
createSourceParams.push(...result);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// ── Yaml — phase entries ──────────────────────────────────────────────
|
|
219
|
+
if (hasConfig) {
|
|
220
|
+
const checkCodeHookTag = configPerAction.find(
|
|
221
|
+
c => c.codeHookTag === 'beforeLogical'
|
|
222
|
+
);
|
|
223
|
+
if (checkCodeHookTag) {
|
|
224
|
+
const ownTopicFlowTags = configPerAction
|
|
225
|
+
.filter(c => c.invocationType === 'ownTopic')
|
|
226
|
+
.map(c => c.flowTag);
|
|
227
|
+
|
|
228
|
+
const result = await yamlGenerator(
|
|
229
|
+
_izContext,
|
|
230
|
+
allObjSchemas,
|
|
231
|
+
appPath,
|
|
232
|
+
action,
|
|
233
|
+
HANDLER.hdrSqs,
|
|
234
|
+
'BeforeLogical',
|
|
235
|
+
ownTopicFlowTags
|
|
236
|
+
).catch(error => {
|
|
237
|
+
console.error(
|
|
238
|
+
`[endpointComponent] error phase yaml action=${action}:`,
|
|
239
|
+
error
|
|
240
|
+
);
|
|
241
|
+
return [];
|
|
242
|
+
});
|
|
243
|
+
|
|
244
|
+
createSourceParams.push(...result);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (
|
|
249
|
+
handlers.includes(HANDLER.hdrSqs) ||
|
|
250
|
+
handlers.includes(HANDLER.hdrDsq)
|
|
251
|
+
) {
|
|
252
|
+
const sourceResource = createResource(_izContext, appPath, {
|
|
253
|
+
queueName: upperCase(action)
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
createSourceParams.push(sourceResource);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
if (hasConfig) {
|
|
260
|
+
if (
|
|
261
|
+
configPerAction.find(c => c.codeHookTag === 'beforeLogical') &&
|
|
262
|
+
configPerAction.some(c => c.invocationType === 'ownTopic')
|
|
263
|
+
) {
|
|
264
|
+
const flowTags = configPerAction
|
|
265
|
+
.filter(c => c.invocationType === 'ownTopic')
|
|
266
|
+
.map(c => c.flowTag);
|
|
267
|
+
|
|
268
|
+
const sourceResourceBeforeLogical = createResource(
|
|
269
|
+
_izContext,
|
|
270
|
+
appPath,
|
|
271
|
+
{
|
|
272
|
+
queueName: upperCase(action) + 'BeforeLogical',
|
|
273
|
+
type: 'beforeLogical',
|
|
274
|
+
flowTags: flowTags
|
|
275
|
+
}
|
|
276
|
+
);
|
|
277
|
+
|
|
278
|
+
createSourceParams.push(sourceResourceBeforeLogical);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
return createSourceParams;
|
|
284
|
+
} catch (error) {
|
|
285
|
+
console.error('[endpointComponent] error:', error);
|
|
286
|
+
return [];
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export default endpointComponent;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as
|
|
6
|
+
published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
License, or (at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
import path from 'path';
|
|
19
|
+
import { fileURLToPath } from 'url';
|
|
20
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
+
const __dirname = path.dirname(__filename);
|
|
22
|
+
|
|
23
|
+
import consts from '#libs/Consts.js';
|
|
24
|
+
import utils from '#libs/Utils.js';
|
|
25
|
+
|
|
26
|
+
const { SOURCE_PATH } = consts;
|
|
27
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
28
|
+
utils;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(__dirname, 'template.ejs');
|
|
31
|
+
|
|
32
|
+
function createSource(_izContext, appPath, action, generatedCodeConfig = []) {
|
|
33
|
+
const functionName = upperCase(action);
|
|
34
|
+
|
|
35
|
+
const upperFunctionName = upperCase(functionName);
|
|
36
|
+
|
|
37
|
+
return {
|
|
38
|
+
templatePath: templatePath,
|
|
39
|
+
templateData: {
|
|
40
|
+
action,
|
|
41
|
+
functionName,
|
|
42
|
+
generatedCodeConfig,
|
|
43
|
+
upperFunctionName
|
|
44
|
+
},
|
|
45
|
+
setting: {
|
|
46
|
+
savePath: path.join(appPath, SOURCE_PATH.endpointPerService),
|
|
47
|
+
saveFileName: `${upperCase(functionName)}BeforeLogical_Main`,
|
|
48
|
+
fileExtension: '.js',
|
|
49
|
+
isAppend: false
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export default createSource;
|