Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/models
src/models
src/models/models
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/logs
amplify/mock-data
amplify/mock-api-resources
amplify/backend/amplify-meta.json
amplify/backend/.temp
build/
Expand Down
2 changes: 1 addition & 1 deletion amplify/.config/project-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"javascript": {
"framework": "react",
"config": {
"SourceDir": "src",
"SourceDir": "",
"DistributionDir": "build",
"BuildCommand": "npm run-script build",
"StartCommand": "npm run-script start"
Expand Down
1 change: 0 additions & 1 deletion amplify/backend/api/amplifyhomes/cli-inputs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"serviceConfiguration": {
"apiName": "amplifyhomes",
"serviceName": "AppSync",
"gqlSchemaPath": "/tmp/amplify-1e2329f8-d05b-464d-b7ad-fdad0176a746/amplify/backend/api/amplifyhomes/schema.graphql",
"defaultAuthType": {
"mode": "API_KEY",
"keyDescription": "api key description",
Expand Down
4 changes: 3 additions & 1 deletion amplify/backend/api/amplifyhomes/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ type Home @model @auth(rules: [{allow: public}]) {
id: ID!
address: String
image_url: String
price: Float
age: Int
name: String
}

23 changes: 12 additions & 11 deletions amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"api": {
"amplifyhomes": {
"service": "AppSync",
"providerPlugin": "awscloudformation",
"dependsOn": [],
"output": {
"authConfig": {
"defaultAuthentication": {
"authenticationType": "API_KEY",
"apiKeyConfig": {
"apiKeyExpirationDays": 30,
"description": "api key description"
}
},
"additionalAuthenticationProviders": [
{
"authenticationType": "AWS_IAM"
}
]
],
"defaultAuthentication": {
"apiKeyConfig": {
"apiKeyExpirationDays": 30,
"description": "api key description"
},
"authenticationType": "API_KEY"
}
}
}
},
"providerPlugin": "awscloudformation",
"service": "AppSync"
}
}
}
12 changes: 6 additions & 6 deletions amplify/backend/types/amplify-dependent-resources-ref.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export type AmplifyDependentResourcesAttributes = {
"api": {
"amplifyhomes": {
"GraphQLAPIKeyOutput": "string",
"GraphQLAPIIdOutput": "string",
"GraphQLAPIEndpointOutput": "string"
}
"api": {
"amplifyhomes": {
"GraphQLAPIEndpointOutput": "string",
"GraphQLAPIIdOutput": "string",
"GraphQLAPIKeyOutput": "string"
}
}
}
98 changes: 50 additions & 48 deletions amplify/cli.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,53 @@
{
"features": {
"graphqltransformer": {
"addmissingownerfields": true,
"improvepluralization": false,
"validatetypenamereservedwords": true,
"useexperimentalpipelinedtransformer": true,
"enableiterativegsiupdates": true,
"secondarykeyasgsi": true,
"skipoverridemutationinputtypes": true,
"transformerversion": 2,
"suppressschemamigrationprompt": 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
}
"features": {
"graphqltransformer": {
"addmissingownerfields": true,
"improvepluralization": false,
"validatetypenamereservedwords": true,
"useexperimentalpipelinedtransformer": true,
"enableiterativegsiupdates": true,
"secondarykeyasgsi": true,
"skipoverridemutationinputtypes": true,
"transformerversion": 2,
"suppressschemamigrationprompt": true,
"securityEnhancementNotification": false,
"showFieldAuthNotification": 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
}
}
}
13 changes: 13 additions & 0 deletions amplify/team-provider-info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
{
"devl": {
"awscloudformation": {
"AuthRoleName": "amplify-amplifyhomes-devl-144055-authRole",
"UnauthRoleArn": "arn:aws:iam::939706432390:role/amplify-amplifyhomes-devl-144055-unauthRole",
"AuthRoleArn": "arn:aws:iam::939706432390:role/amplify-amplifyhomes-devl-144055-authRole",
"Region": "ap-northeast-1",
"DeploymentBucketName": "amplify-amplifyhomes-devl-144055-deployment",
"UnauthRoleName": "amplify-amplifyhomes-devl-144055-unauthRole",
"StackName": "amplify-amplifyhomes-devl-144055",
"StackId": "arn:aws:cloudformation:ap-northeast-1:939706432390:stack/amplify-amplifyhomes-devl-144055/2b108290-7669-11ee-87df-06acfbf6207b",
"AmplifyAppId": "dqautqah80chy"
}
},
"staging": {
"awscloudformation": {
"AuthRoleName": "amplify-amplifyhomes-staging-40507-authRole",
Expand Down
Loading