diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..ab2aba60 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +amplify-codegen-temp/models/models \ No newline at end of file diff --git a/.gitignore b/.gitignore index a03d4525..ed091350 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,4 @@ amplify-gradle-config.json amplifytools.xcconfig .secret-* **.sample -#amplify-do-not-edit-end \ No newline at end of file +#amplify-do-not-edit-end diff --git a/.graphqlconfig.yml b/.graphqlconfig.yml new file mode 100644 index 00000000..92009eab --- /dev/null +++ b/.graphqlconfig.yml @@ -0,0 +1,12 @@ +projects: + skiblazer: + schemaPath: graphql/schema.json + includes: + - graphql/**/*.graphql + excludes: + - ./amplify/** + extensions: + amplify: + codeGenTarget: swift + generatedFileName: API.swift + docsFilePath: graphql diff --git a/.vscode/settings.json b/.vscode/settings.json index 9e26dfee..c87b85ed 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1 +1,11 @@ -{} \ No newline at end of file +{ + "files.exclude": { + "amplify/.config": true, + "amplify/**/*-parameters.json": true, + "amplify/**/amplify.state": true, + "amplify/**/transform.conf.json": true, + "amplify/#current-cloud-backend": true, + "amplify/backend/amplify-meta.json": true, + "amplify/backend/awscloudformation": true + } +} \ No newline at end of file diff --git a/amplify/.config/project-config.json b/amplify/.config/project-config.json index 5dea1537..f43288ae 100644 --- a/amplify/.config/project-config.json +++ b/amplify/.config/project-config.json @@ -1,8 +1,8 @@ { - "projectName": "Skiblazer", - "version": "3.1", - "frontend": "ios", "providers": [ "awscloudformation" - ] + ], + "projectName": "Skiblazer", + "version": "3.1", + "frontend": "ios" } \ No newline at end of file diff --git a/amplify/backend/backend-config.json b/amplify/backend/backend-config.json index 85370015..a6ce87ca 100644 --- a/amplify/backend/backend-config.json +++ b/amplify/backend/backend-config.json @@ -67,14 +67,6 @@ } }, "parameters": { - "AMPLIFY_function_skiblazer6dd7c5e3PostConfirmation_GROUP": { - "usedBy": [ - { - "category": "function", - "resourceName": "skiblazer6dd7c5e3PostConfirmation" - } - ] - }, "AMPLIFY_function_skiblazer6dd7c5e3PostConfirmation_deploymentBucketName": { "usedBy": [ { diff --git a/amplify/team-provider-info.json b/amplify/team-provider-info.json index cb376a30..65a69b93 100644 --- a/amplify/team-provider-info.json +++ b/amplify/team-provider-info.json @@ -12,16 +12,44 @@ "AmplifyAppId": "d2shp8bwifgbia" }, "categories": { + "auth": { + "skiblazeraf3854a2": {}, + "userPoolGroups": {} + }, "function": { "skiblazer6dd7c5e3PostConfirmation": { - "GROUP": "skiblazerPool", "deploymentBucketName": "amplify-skiblazer-dev-162303-deployment", "s3Key": "amplify-builds/skiblazer6dd7c5e3PostConfirmation-344d4162455a66454e46-build.zip" } }, + "storage": { + "skiblazerStorage": {} + } + } + }, + "prod": { + "awscloudformation": { + "AuthRoleName": "amplify-skiblazer-prod-181035-authRole", + "UnauthRoleArn": "arn:aws:iam::145396720895:role/amplify-skiblazer-prod-181035-unauthRole", + "AuthRoleArn": "arn:aws:iam::145396720895:role/amplify-skiblazer-prod-181035-authRole", + "Region": "us-east-1", + "DeploymentBucketName": "amplify-skiblazer-prod-181035-deployment", + "UnauthRoleName": "amplify-skiblazer-prod-181035-unauthRole", + "StackName": "amplify-skiblazer-prod-181035", + "StackId": "arn:aws:cloudformation:us-east-1:145396720895:stack/amplify-skiblazer-prod-181035/2fe2efc0-dff4-11ee-a392-0e37aac051c5", + "AmplifyAppId": "d2shp8bwifgbia" + }, + "categories": { "auth": { "skiblazeraf3854a2": {}, - "userPoolGroups": {} + "userPoolGroups": {}, + "skiblazer6dd7c5e3": {} + }, + "function": { + "skiblazer6dd7c5e3PostConfirmation": { + "deploymentBucketName": "amplify-skiblazer-prod-181035-deployment", + "s3Key": "amplify-builds/skiblazer6dd7c5e3PostConfirmation-344d4162455a66454e46-build.zip" + } }, "api": { "skiblazer": {} diff --git a/graphql/schema.json b/graphql/schema.json index 4f5ba1e8..8ba0cb8b 100644 --- a/graphql/schema.json +++ b/graphql/schema.json @@ -3833,6 +3833,43 @@ "onOperation" : false, "onFragment" : false, "onField" : true + }, { + "name" : "aws_api_key", + "description" : "Tells the service this field/object has access authorized by an API key.", + "locations" : [ "OBJECT", "FIELD_DEFINITION" ], + "args" : [ ], + "onOperation" : false, + "onFragment" : false, + "onField" : false + }, { + "name" : "aws_iam", + "description" : "Tells the service this field/object has access authorized by sigv4 signing.", + "locations" : [ "OBJECT", "FIELD_DEFINITION" ], + "args" : [ ], + "onOperation" : false, + "onFragment" : false, + "onField" : false + }, { + "name" : "aws_publish", + "description" : "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.", + "locations" : [ "FIELD_DEFINITION" ], + "args" : [ { + "name" : "subscriptions", + "description" : "List of subscriptions which will be published to when this mutation is called.", + "type" : { + "kind" : "LIST", + "name" : null, + "ofType" : { + "kind" : "SCALAR", + "name" : "String", + "ofType" : null + } + }, + "defaultValue" : null + } ], + "onOperation" : false, + "onFragment" : false, + "onField" : false }, { "name" : "aws_cognito_user_pools", "description" : "Tells the service this field/object has access authorized by a Cognito User Pools token.", @@ -3854,6 +3891,14 @@ "onOperation" : false, "onFragment" : false, "onField" : false + }, { + "name" : "aws_oidc", + "description" : "Tells the service this field/object has access authorized by an OIDC token.", + "locations" : [ "OBJECT", "FIELD_DEFINITION" ], + "args" : [ ], + "onOperation" : false, + "onFragment" : false, + "onField" : false }, { "name" : "aws_lambda", "description" : "Tells the service this field/object has access authorized by a Lambda Authorizer.", @@ -3879,27 +3924,6 @@ "onOperation" : false, "onFragment" : false, "onField" : false - }, { - "name" : "aws_subscribe", - "description" : "Tells the service which mutation triggers this subscription.", - "locations" : [ "FIELD_DEFINITION" ], - "args" : [ { - "name" : "mutations", - "description" : "List of mutations which will trigger this subscription when they are called.", - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : false, - "onField" : false }, { "name" : "aws_auth", "description" : "Directs the schema to enforce authorization on a field", @@ -3922,12 +3946,12 @@ "onFragment" : false, "onField" : false }, { - "name" : "aws_publish", - "description" : "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.", + "name" : "aws_subscribe", + "description" : "Tells the service which mutation triggers this subscription.", "locations" : [ "FIELD_DEFINITION" ], "args" : [ { - "name" : "subscriptions", - "description" : "List of subscriptions which will be published to when this mutation is called.", + "name" : "mutations", + "description" : "List of mutations which will trigger this subscription when they are called.", "type" : { "kind" : "LIST", "name" : null, @@ -3942,30 +3966,6 @@ "onOperation" : false, "onFragment" : false, "onField" : false - }, { - "name" : "aws_api_key", - "description" : "Tells the service this field/object has access authorized by an API key.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_oidc", - "description" : "Tells the service this field/object has access authorized by an OIDC token.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_iam", - "description" : "Tells the service this field/object has access authorized by sigv4 signing.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false } ] } }