Skip to content

Commit 4bed4ad

Browse files
Dean OhashiDean Ohashi
authored andcommitted
amplify configs
2 parents 26591f2 + 0429119 commit 4bed4ad

26 files changed

+4079
-543
lines changed

.graphqlconfig.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
projects:
2+
prevue2:
3+
schemaPath: src/graphql/schema.json
4+
includes:
5+
- src/graphql/**/*.js
6+
excludes:
7+
- ./amplify/**
8+
extensions:
9+
amplify:
10+
codeGenTarget: javascript
11+
generatedFileName: ''
12+
docsFilePath: src/graphql

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
<<<<<<< HEAD
12
# OverVue (Beta)
3+
=======
4+
# PreVue 2
5+
>>>>>>> 0429119fe1127683fea28caa053fae178dffc456
26
37
**WIP**
48

amplify/.config/project-config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"projectName": "PreVue2",
3+
"version": "2.0",
4+
"frontend": "javascript",
5+
"javascript": {
6+
"framework": "none",
7+
"config": {
8+
"SourceDir": "src",
9+
"DistributionDir": "dist/pwa",
10+
"BuildCommand": "quasar build -m pwa",
11+
"StartCommand": "quasar serve --history dist/pwa"
12+
}
13+
},
14+
"providers": [
15+
"awscloudformation"
16+
]
17+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"AppSyncApiName": "prevue2",
3+
"DynamoDBBillingMode": "PAY_PER_REQUEST",
4+
"AuthCognitoUserPoolId": {
5+
"Fn::GetAtt": [
6+
"authprevue22d2bb648",
7+
"Outputs.UserPoolId"
8+
]
9+
}
10+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
type Todo @model @searchable @auth(rules: [{ allow: owner }]) {
3+
id: ID!
4+
name: String!
5+
owner: String
6+
date: AWSDate
7+
description: String
8+
completed: Boolean!
9+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"AWSTemplateFormatVersion": "2010-09-09",
3+
"Description": "An auto-generated nested stack.",
4+
"Metadata": {},
5+
"Parameters": {
6+
"AppSyncApiId": {
7+
"Type": "String",
8+
"Description": "The id of the AppSync API associated with this project."
9+
},
10+
"AppSyncApiName": {
11+
"Type": "String",
12+
"Description": "The name of the AppSync API",
13+
"Default": "AppSyncSimpleTransform"
14+
},
15+
"env": {
16+
"Type": "String",
17+
"Description": "The environment name. e.g. Dev, Test, or Production",
18+
"Default": "NONE"
19+
},
20+
"S3DeploymentBucket": {
21+
"Type": "String",
22+
"Description": "The S3 bucket containing all deployment assets for the project."
23+
},
24+
"S3DeploymentRootKey": {
25+
"Type": "String",
26+
"Description": "An S3 key relative to the S3DeploymentBucket that points to the root\nof the deployment directory."
27+
}
28+
},
29+
"Resources": {
30+
"EmptyResource": {
31+
"Type": "Custom::EmptyResource",
32+
"Condition": "AlwaysFalse"
33+
}
34+
},
35+
"Conditions": {
36+
"HasEnvironmentParameter": {
37+
"Fn::Not": [
38+
{
39+
"Fn::Equals": [
40+
{
41+
"Ref": "env"
42+
},
43+
"NONE"
44+
]
45+
}
46+
]
47+
},
48+
"AlwaysFalse": {
49+
"Fn::Equals": [
50+
"true",
51+
"false"
52+
]
53+
}
54+
},
55+
"Outputs": {
56+
"EmptyOutput": {
57+
"Description": "An empty output. You may delete this if you have at least one resource above.",
58+
"Value": ""
59+
}
60+
}
61+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"identityPoolName": "prevue22d2bb648_identitypool_2d2bb648",
3+
"allowUnauthenticatedIdentities": false,
4+
"openIdLambdaRoleName": "prevue2d2bb648_openid_lambda_role",
5+
"resourceNameTruncated": "prevue2d2bb648",
6+
"userPoolName": "prevue22d2bb648_userpool_2d2bb648",
7+
"autoVerifiedAttributes": [
8+
"email"
9+
],
10+
"mfaConfiguration": "OFF",
11+
"mfaTypes": [
12+
"SMS Text Message"
13+
],
14+
"smsAuthenticationMessage": "Your authentication code is {####}",
15+
"smsVerificationMessage": "Your verification code is {####}",
16+
"emailVerificationSubject": "Your verification code",
17+
"emailVerificationMessage": "Your verification code is {####}",
18+
"defaultPasswordPolicy": false,
19+
"passwordPolicyMinLength": 8,
20+
"passwordPolicyCharacters": [],
21+
"requiredAttributes": [
22+
"email"
23+
],
24+
"userpoolClientName": "prevue2d2bb648_app_client",
25+
"userpoolClientGenerateSecret": true,
26+
"userpoolClientRefreshTokenValidity": 30,
27+
"userpoolClientWriteAttributes": [
28+
"email"
29+
],
30+
"userpoolClientReadAttributes": [
31+
"email"
32+
],
33+
"mfaLambdaRole": "prevue2d2bb648_totp_lambda_role",
34+
"userpoolClientLambdaRole": "prevue2d2bb648_userpoolclient_lambda_role",
35+
"userpoolClientSetAttributes": false,
36+
"resourceName": "prevue22d2bb648",
37+
"authSelections": "identityPoolAndUserPool",
38+
"authRoleName": {
39+
"Ref": "AuthRoleName"
40+
},
41+
"unauthRoleName": {
42+
"Ref": "UnauthRoleName"
43+
},
44+
"authRoleArn": {
45+
"Fn::GetAtt": [
46+
"AuthRole",
47+
"Arn"
48+
]
49+
},
50+
"unauthRoleArn": {
51+
"Fn::GetAtt": [
52+
"UnauthRole",
53+
"Arn"
54+
]
55+
},
56+
"useDefault": "default",
57+
"additionalQuestions": [],
58+
"dependsOn": []
59+
}

0 commit comments

Comments
 (0)