Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:hack4impact-calpoly/equestrian-therapy
Browse files Browse the repository at this point in the history
  • Loading branch information
borajoo committed Oct 1, 2023
2 parents 4886602 + 2803bf7 commit 93c694e
Show file tree
Hide file tree
Showing 24 changed files with 563 additions and 556 deletions.
2 changes: 1 addition & 1 deletion amplify/backend/api/h4ipet/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"DynamoDBEnableServerSideEncryption": false,
"AuthModeLastUpdated": "2023-08-31T23:30:38.551Z",
"CreateAPIKey": 1
}
}
19 changes: 14 additions & 5 deletions amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"dependsOn": [],
"frontendAuthConfig": {
"mfaConfiguration": "OFF",
"mfaTypes": ["SMS"],
"mfaTypes": [
"SMS"
],
"passwordProtectionSettings": {
"passwordPolicyCharacters": [
"REQUIRES_LOWERCASE",
Expand All @@ -45,8 +47,12 @@
"PHONE_NUMBER"
],
"socialProviders": [],
"usernameAttributes": ["EMAIL"],
"verificationMechanisms": ["EMAIL"]
"usernameAttributes": [
"EMAIL"
],
"verificationMechanisms": [
"EMAIL"
]
},
"providerPlugin": "awscloudformation",
"service": "Cognito"
Expand All @@ -57,7 +63,10 @@
"build": true,
"dependsOn": [
{
"attributes": ["GraphQLAPIIdOutput", "GraphQLAPIEndpointOutput"],
"attributes": [
"GraphQLAPIIdOutput",
"GraphQLAPIEndpointOutput"
],
"category": "api",
"resourceName": "h4ipet"
}
Expand Down Expand Up @@ -92,4 +101,4 @@
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@
}
},
"Role": {
"Fn::GetAtt": ["LambdaExecutionRole", "Arn"]
"Fn::GetAtt": [
"LambdaExecutionRole",
"Arn"
]
},
"Runtime": "nodejs18.x",
"Layers": [],
Expand Down Expand Up @@ -121,16 +124,22 @@
{
"Effect": "Allow",
"Principal": {
"Service": ["lambda.amazonaws.com"]
"Service": [
"lambda.amazonaws.com"
]
},
"Action": ["sts:AssumeRole"]
"Action": [
"sts:AssumeRole"
]
}
]
}
}
},
"lambdaexecutionpolicy": {
"DependsOn": ["LambdaExecutionRole"],
"DependsOn": [
"LambdaExecutionRole"
],
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyName": "lambda-execution-policy",
Expand Down Expand Up @@ -167,7 +176,9 @@
}
},
{
"Action": ["ses:SendEmail"],
"Action": [
"ses:SendEmail"
],
"Effect": "Allow",
"Resource": "arn:aws:ses:us-west-2:008277987672:identity/[email protected]"
}
Expand All @@ -176,7 +187,9 @@
}
},
"LambdaTriggerPolicyBooking": {
"DependsOn": ["LambdaExecutionRole"],
"DependsOn": [
"LambdaExecutionRole"
],
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyName": "amplify-lambda-execution-policy-Booking",
Expand Down Expand Up @@ -208,7 +221,10 @@
},
"LambdaEventSourceMappingBooking": {
"Type": "AWS::Lambda::EventSourceMapping",
"DependsOn": ["LambdaTriggerPolicyBooking", "LambdaExecutionRole"],
"DependsOn": [
"LambdaTriggerPolicyBooking",
"LambdaExecutionRole"
],
"Properties": {
"BatchSize": 100,
"Enabled": true,
Expand All @@ -218,7 +234,10 @@
}
},
"FunctionName": {
"Fn::GetAtt": ["LambdaFunction", "Arn"]
"Fn::GetAtt": [
"LambdaFunction",
"Arn"
]
},
"StartingPosition": "LATEST"
}
Expand All @@ -232,7 +251,10 @@
},
"Arn": {
"Value": {
"Fn::GetAtt": ["LambdaFunction", "Arn"]
"Fn::GetAtt": [
"LambdaFunction",
"Arn"
]
}
},
"Region": {
Expand All @@ -247,8 +269,11 @@
},
"LambdaExecutionRoleArn": {
"Value": {
"Fn::GetAtt": ["LambdaExecutionRole", "Arn"]
"Fn::GetAtt": [
"LambdaExecutionRole",
"Arn"
]
}
}
}
}
}
58 changes: 29 additions & 29 deletions amplify/backend/types/amplify-dependent-resources-ref.d.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
export type AmplifyDependentResourcesAttributes = {
api: {
h4ipet: {
GraphQLAPIEndpointOutput: "string";
GraphQLAPIIdOutput: "string";
GraphQLAPIKeyOutput: "string";
};
};
auth: {
equestriantherapy: {
AppClientID: "string";
AppClientIDWeb: "string";
CreatedSNSRole: "string";
IdentityPoolId: "string";
IdentityPoolName: "string";
UserPoolArn: "string";
UserPoolId: "string";
UserPoolName: "string";
};
};
function: {
emailUser: {
Arn: "string";
LambdaExecutionRole: "string";
LambdaExecutionRoleArn: "string";
Name: "string";
Region: "string";
};
};
};
"api": {
"h4ipet": {
"GraphQLAPIEndpointOutput": "string",
"GraphQLAPIIdOutput": "string",
"GraphQLAPIKeyOutput": "string"
}
},
"auth": {
"equestriantherapy": {
"AppClientID": "string",
"AppClientIDWeb": "string",
"CreatedSNSRole": "string",
"IdentityPoolId": "string",
"IdentityPoolName": "string",
"UserPoolArn": "string",
"UserPoolId": "string",
"UserPoolName": "string"
}
},
"function": {
"emailUser": {
"Arn": "string",
"LambdaExecutionRole": "string",
"LambdaExecutionRoleArn": "string",
"Name": "string",
"Region": "string"
}
}
}
118 changes: 59 additions & 59 deletions amplify/cli.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
{
"features": {
"graphqltransformer": {
"addmissingownerfields": true,
"improvepluralization": false,
"validatetypenamereservedwords": true,
"useexperimentalpipelinedtransformer": true,
"enableiterativegsiupdates": true,
"secondarykeyasgsi": true,
"skipoverridemutationinputtypes": true,
"transformerversion": 2,
"suppressschemamigrationprompt": true,
"securityenhancementnotification": false,
"showfieldauthnotification": false,
"usesubusernamefordefaultidentityclaim": true,
"usefieldnameforprimarykeyconnectionfield": false,
"enableautoindexquerynames": true,
"respectprimarykeyattributesonconnectionfield": true,
"shoulddeepmergedirectiveconfigdefaults": false,
"populateownerfieldforstaticgroupauth": true
"features": {
"graphqltransformer": {
"addmissingownerfields": true,
"improvepluralization": false,
"validatetypenamereservedwords": true,
"useexperimentalpipelinedtransformer": true,
"enableiterativegsiupdates": true,
"secondarykeyasgsi": true,
"skipoverridemutationinputtypes": true,
"transformerversion": 2,
"suppressschemamigrationprompt": true,
"securityenhancementnotification": false,
"showfieldauthnotification": false,
"usesubusernamefordefaultidentityclaim": true,
"usefieldnameforprimarykeyconnectionfield": false,
"enableautoindexquerynames": true,
"respectprimarykeyattributesonconnectionfield": true,
"shoulddeepmergedirectiveconfigdefaults": false,
"populateownerfieldforstaticgroupauth": true
},
"frontend-ios": {
"enablexcodeintegration": true
},
"auth": {
"enablecaseinsensitivity": true,
"useinclusiveterminology": true,
"breakcirculardependency": true,
"forcealiasattributes": false,
"useenabledmfas": true
},
"codegen": {
"useappsyncmodelgenplugin": true,
"usedocsgeneratorplugin": true,
"usetypesgeneratorplugin": true,
"cleangeneratedmodelsdirectory": true,
"retaincasestyle": true,
"addtimestampfields": true,
"handlelistnullabilitytransparently": true,
"emitauthprovider": true,
"generateindexrules": true,
"enabledartnullsafety": true
},
"appsync": {
"generategraphqlpermissions": true
},
"latestregionsupport": {
"pinpoint": 1,
"translate": 1,
"transcribe": 1,
"rekognition": 1,
"textract": 1,
"comprehend": 1
},
"project": {
"overrides": true
}
},
"frontend-ios": {
"enablexcodeintegration": true
},
"auth": {
"enablecaseinsensitivity": true,
"useinclusiveterminology": true,
"breakcirculardependency": true,
"forcealiasattributes": false,
"useenabledmfas": true
},
"codegen": {
"useappsyncmodelgenplugin": true,
"usedocsgeneratorplugin": true,
"usetypesgeneratorplugin": true,
"cleangeneratedmodelsdirectory": true,
"retaincasestyle": true,
"addtimestampfields": true,
"handlelistnullabilitytransparently": true,
"emitauthprovider": true,
"generateindexrules": true,
"enabledartnullsafety": true
},
"appsync": {
"generategraphqlpermissions": true
},
"latestregionsupport": {
"pinpoint": 1,
"translate": 1,
"transcribe": 1,
"rekognition": 1,
"textract": 1,
"comprehend": 1
},
"project": {
"overrides": true
"debug": {
"shareProjectConfig": false
}
},
"debug": {
"shareProjectConfig": false
}
}
}
2 changes: 1 addition & 1 deletion amplify/team-provider-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
}
}
}
}
}
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed src/images/offslider.png
Binary file not shown.
File renamed without changes
Binary file removed src/images/onslider.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit 93c694e

Please sign in to comment.