re-init amplify
This commit is contained in:
17
amplify/.config/project-config.json
Normal file
17
amplify/.config/project-config.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"projectName": "SafeQRFrontEndMobile",
|
||||
"version": "3.1",
|
||||
"frontend": "javascript",
|
||||
"javascript": {
|
||||
"framework": "react-native",
|
||||
"config": {
|
||||
"SourceDir": "src",
|
||||
"DistributionDir": "/",
|
||||
"BuildCommand": "npm run-script build",
|
||||
"StartCommand": "npm run-script start"
|
||||
}
|
||||
},
|
||||
"providers": [
|
||||
"awscloudformation"
|
||||
]
|
||||
}
|
||||
8
amplify/README.md
Normal file
8
amplify/README.md
Normal file
@@ -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/.
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"version": "1",
|
||||
"cognitoConfig": {
|
||||
"identityPoolName": "safeqrfrontendmobile2d879dc9_identitypool_2d879dc9",
|
||||
"allowUnauthenticatedIdentities": false,
|
||||
"resourceNameTruncated": "safeqr2d879dc9",
|
||||
"userPoolName": "safeqrfrontendmobile2d879dc9_userpool_2d879dc9",
|
||||
"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": "safeqr2d879dc9_userpoolclient_lambda_role",
|
||||
"userpoolClientSetAttributes": false,
|
||||
"sharedId": "2d879dc9",
|
||||
"resourceName": "safeqrfrontendmobile2d879dc9",
|
||||
"authSelections": "identityPoolAndUserPool",
|
||||
"useDefault": "defaultSocial",
|
||||
"hostedUI": true,
|
||||
"usernameAttributes": [
|
||||
"email"
|
||||
],
|
||||
"hostedUIDomainName": "safeqrfrontendmobile2d879dc9-2d879dc9",
|
||||
"authProvidersUserPool": [],
|
||||
"hostedUIProviderMeta": "[]",
|
||||
"oAuthMetadata": "{\"AllowedOAuthFlows\":[\"code\"],\"AllowedOAuthScopes\":[\"phone\",\"email\",\"openid\",\"profile\",\"aws.cognito.signin.user.admin\"],\"CallbackURLs\":[\"http://localhost/\"],\"LogoutURLs\":[\"http://localhost/\"]}",
|
||||
"userPoolGroupList": [],
|
||||
"serviceName": "Cognito",
|
||||
"usernameCaseSensitive": false,
|
||||
"useEnabledMfas": true
|
||||
}
|
||||
}
|
||||
30
amplify/backend/backend-config.json
Normal file
30
amplify/backend/backend-config.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"auth": {
|
||||
"safeqrfrontendmobile2d879dc9": {
|
||||
"customAuth": false,
|
||||
"dependsOn": [],
|
||||
"frontendAuthConfig": {
|
||||
"mfaConfiguration": "OFF",
|
||||
"mfaTypes": [
|
||||
"SMS"
|
||||
],
|
||||
"passwordProtectionSettings": {
|
||||
"passwordPolicyCharacters": [],
|
||||
"passwordPolicyMinLength": 8
|
||||
},
|
||||
"signupAttributes": [
|
||||
"EMAIL"
|
||||
],
|
||||
"socialProviders": [],
|
||||
"usernameAttributes": [
|
||||
"EMAIL"
|
||||
],
|
||||
"verificationMechanisms": [
|
||||
"EMAIL"
|
||||
]
|
||||
},
|
||||
"providerPlugin": "awscloudformation",
|
||||
"service": "Cognito"
|
||||
}
|
||||
}
|
||||
}
|
||||
10
amplify/backend/tags.json
Normal file
10
amplify/backend/tags.json
Normal file
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"Key": "user:Stack",
|
||||
"Value": "{project-env}"
|
||||
},
|
||||
{
|
||||
"Key": "user:Application",
|
||||
"Value": "{project-name}"
|
||||
}
|
||||
]
|
||||
15
amplify/backend/types/amplify-dependent-resources-ref.d.ts
vendored
Normal file
15
amplify/backend/types/amplify-dependent-resources-ref.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
export type AmplifyDependentResourcesAttributes = {
|
||||
"auth": {
|
||||
"safeqrfrontendmobile2d879dc9": {
|
||||
"AppClientID": "string",
|
||||
"AppClientIDWeb": "string",
|
||||
"HostedUIDomain": "string",
|
||||
"IdentityPoolId": "string",
|
||||
"IdentityPoolName": "string",
|
||||
"OAuthMetadata": "string",
|
||||
"UserPoolArn": "string",
|
||||
"UserPoolId": "string",
|
||||
"UserPoolName": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
64
amplify/cli.json
Normal file
64
amplify/cli.json
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"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,
|
||||
"subscriptionsinheritprimaryauth": 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,
|
||||
"generatemodelsforlazyloadandcustomselectionset": false
|
||||
},
|
||||
"appsync": {
|
||||
"generategraphqlpermissions": true
|
||||
},
|
||||
"latestregionsupport": {
|
||||
"pinpoint": 1,
|
||||
"translate": 1,
|
||||
"transcribe": 1,
|
||||
"rekognition": 1,
|
||||
"textract": 1,
|
||||
"comprehend": 1
|
||||
},
|
||||
"project": {
|
||||
"overrides": true
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"shareProjectConfig": false
|
||||
}
|
||||
}
|
||||
7
amplify/hooks/README.md
Normal file
7
amplify/hooks/README.md
Normal file
@@ -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
|
||||
20
amplify/team-provider-info.json
Normal file
20
amplify/team-provider-info.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"dev": {
|
||||
"awscloudformation": {
|
||||
"AuthRoleName": "amplify-safeqrfrontendmobile-dev-d47dd-authRole",
|
||||
"UnauthRoleArn": "arn:aws:iam::058264269465:role/amplify-safeqrfrontendmobile-dev-d47dd-unauthRole",
|
||||
"AuthRoleArn": "arn:aws:iam::058264269465:role/amplify-safeqrfrontendmobile-dev-d47dd-authRole",
|
||||
"Region": "ap-southeast-1",
|
||||
"DeploymentBucketName": "amplify-safeqrfrontendmobile-dev-d47dd-deployment",
|
||||
"UnauthRoleName": "amplify-safeqrfrontendmobile-dev-d47dd-unauthRole",
|
||||
"StackName": "amplify-safeqrfrontendmobile-dev-d47dd",
|
||||
"StackId": "arn:aws:cloudformation:ap-southeast-1:058264269465:stack/amplify-safeqrfrontendmobile-dev-d47dd/6b855b50-3c40-11ef-b0cb-0aac1b92eadd",
|
||||
"AmplifyAppId": "d2d2iszqi4kpe5"
|
||||
},
|
||||
"categories": {
|
||||
"auth": {
|
||||
"safeqrfrontendmobile2d879dc9": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user