forked from UBC-CIC/basics-for-health
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
521e6e2
commit f85ab2b
Showing
15 changed files
with
49,277 additions
and
7,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"projectName": "basics4health", | ||
"version": "3.1", | ||
"frontend": "javascript", | ||
"javascript": { | ||
"framework": "react", | ||
"config": { | ||
"SourceDir": "src", | ||
"DistributionDir": "build", | ||
"BuildCommand": "npm.cmd run-script build", | ||
"StartCommand": "npm.cmd run-script start" | ||
} | ||
}, | ||
"providers": [ | ||
"awscloudformation" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Getting Started with Amplify CLI | ||
This directory was generated by [Amplify CLI](https://docs.amplify.aws/cli). | ||
|
||
Helpful resources: | ||
- Amplify documentation: https://docs.amplify.aws | ||
- Amplify CLI documentation: https://docs.amplify.aws/cli | ||
- More details on this folder & generated files: https://docs.amplify.aws/cli/reference/files | ||
- Join Amplify's community: https://amplify.aws/community/ |
45 changes: 45 additions & 0 deletions
45
amplify/backend/auth/basics4health41656259/cli-inputs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"version": "1", | ||
"cognitoConfig": { | ||
"identityPoolName": "basics4health41656259_identitypool_41656259", | ||
"allowUnauthenticatedIdentities": false, | ||
"resourceNameTruncated": "basics41656259", | ||
"userPoolName": "basics4health41656259_userpool_41656259", | ||
"autoVerifiedAttributes": [ | ||
"email" | ||
], | ||
"mfaConfiguration": "OFF", | ||
"mfaTypes": [ | ||
"SMS Text Message" | ||
], | ||
"smsAuthenticationMessage": "Your authentication code is {####}", | ||
"smsVerificationMessage": "Your verification code is {####}", | ||
"emailVerificationSubject": "Your verification code", | ||
"emailVerificationMessage": "Your verification code is {####}", | ||
"defaultPasswordPolicy": false, | ||
"passwordPolicyMinLength": 8, | ||
"passwordPolicyCharacters": [], | ||
"requiredAttributes": [ | ||
"email" | ||
], | ||
"aliasAttributes": [], | ||
"userpoolClientGenerateSecret": false, | ||
"userpoolClientRefreshTokenValidity": 30, | ||
"userpoolClientWriteAttributes": [ | ||
"email" | ||
], | ||
"userpoolClientReadAttributes": [ | ||
"email" | ||
], | ||
"userpoolClientLambdaRole": "basics41656259_userpoolclient_lambda_role", | ||
"userpoolClientSetAttributes": false, | ||
"sharedId": "41656259", | ||
"resourceName": "basics4health41656259", | ||
"authSelections": "identityPoolAndUserPool", | ||
"useDefault": "default", | ||
"userPoolGroupList": [], | ||
"serviceName": "Cognito", | ||
"usernameCaseSensitive": false, | ||
"useEnabledMfas": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"auth": { | ||
"basics4health41656259": { | ||
"service": "Cognito", | ||
"providerPlugin": "awscloudformation", | ||
"dependsOn": [], | ||
"customAuth": false, | ||
"frontendAuthConfig": { | ||
"socialProviders": [], | ||
"usernameAttributes": [], | ||
"signupAttributes": [ | ||
"EMAIL" | ||
], | ||
"passwordProtectionSettings": { | ||
"passwordPolicyMinLength": 8, | ||
"passwordPolicyCharacters": [] | ||
}, | ||
"mfaConfiguration": "OFF", | ||
"mfaTypes": [ | ||
"SMS" | ||
], | ||
"verificationMechanisms": [ | ||
"EMAIL" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Key": "user:Stack", | ||
"Value": "{project-env}" | ||
}, | ||
{ | ||
"Key": "user:Application", | ||
"Value": "{project-name}" | ||
} | ||
] |
13 changes: 13 additions & 0 deletions
13
amplify/backend/types/amplify-dependent-resources-ref.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export type AmplifyDependentResourcesAttributes = { | ||
"auth": { | ||
"basics4health41656259": { | ||
"IdentityPoolId": "string", | ||
"IdentityPoolName": "string", | ||
"UserPoolId": "string", | ||
"UserPoolArn": "string", | ||
"UserPoolName": "string", | ||
"AppClientIDWeb": "string", | ||
"AppClientID": "string" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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": false, | ||
"respectprimarykeyattributesonconnectionfield": false, | ||
"shoulddeepmergedirectiveconfigdefaults": false, | ||
"populateownerfieldforstaticgroupauth": false | ||
}, | ||
"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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Command Hooks | ||
|
||
Command hooks can be used to run custom scripts upon Amplify CLI lifecycle events like pre-push, post-add-function, etc. | ||
|
||
To get started, add your script files based on the expected naming convention in this directory. | ||
|
||
Learn more about the script file naming convention, hook parameters, third party dependencies, and advanced configurations at https://docs.amplify.aws/cli/usage/command-hooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"dev": { | ||
"awscloudformation": { | ||
"AuthRoleName": "amplify-basics4health-dev-160143-authRole", | ||
"UnauthRoleArn": "arn:aws:iam::767210983147:role/amplify-basics4health-dev-160143-unauthRole", | ||
"AuthRoleArn": "arn:aws:iam::767210983147:role/amplify-basics4health-dev-160143-authRole", | ||
"Region": "ca-central-1", | ||
"DeploymentBucketName": "amplify-basics4health-dev-160143-deployment", | ||
"UnauthRoleName": "amplify-basics4health-dev-160143-unauthRole", | ||
"StackName": "amplify-basics4health-dev-160143", | ||
"StackId": "arn:aws:cloudformation:ca-central-1:767210983147:stack/amplify-basics4health-dev-160143/94efb3a0-0236-11ed-84cc-0e62de8610d0", | ||
"AmplifyAppId": "d3n07cvrr34b2x" | ||
}, | ||
"categories": { | ||
"auth": { | ||
"basics4health41656259": {} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.