Skip to content

Commit e40f072

Browse files
authored
Merge pull request aws-amplify#6377 from aws-amplify/remove-graphql-folder
Remove graphql folder
2 parents a3f925a + f148a8f commit e40f072

File tree

29 files changed

+31
-70
lines changed

29 files changed

+31
-70
lines changed

src/directory/directory.mjs

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,8 @@ export const directory = {
800800
children: [
801801
{
802802
isExternal: true,
803-
route: 'https://docs.aws.amazon.com/amplify/latest/userguide/getting-started.html',
803+
route:
804+
'https://docs.aws.amazon.com/amplify/latest/userguide/getting-started.html',
804805
title: 'Amplify Hosting',
805806
description:
806807
'Amplify Hosting provides a git-based workflow for hosting fullstack serverless web apps with continuous deployment.',
@@ -1021,7 +1022,7 @@ export const directory = {
10211022
},
10221023
{
10231024
path: 'src/pages/[platform]/tools/console/adminui/custom-domain/index.mdx'
1024-
}
1025+
}
10251026
]
10261027
},
10271028
{
@@ -1214,7 +1215,7 @@ export const directory = {
12141215
},
12151216
{
12161217
path: 'src/pages/[platform]/prev/build-a-backend/graphqlapi/existing-resources/index.mdx'
1217-
},
1218+
}
12181219
]
12191220
},
12201221
{
@@ -1594,58 +1595,58 @@ export const directory = {
15941595
path: 'src/pages/[platform]/tools/cli-legacy/index.mdx',
15951596
children: [
15961597
{
1597-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/overview/index.mdx'
1598+
path: 'src/pages/[platform]/tools/cli-legacy/overview/index.mdx'
15981599
},
15991600
{
1600-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/directives/index.mdx'
1601+
path: 'src/pages/[platform]/tools/cli-legacy/directives/index.mdx'
16011602
},
16021603
{
1603-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/model-directive/index.mdx'
1604+
path: 'src/pages/[platform]/tools/cli-legacy/model-directive/index.mdx'
16041605
},
16051606
{
1606-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/key-directive/index.mdx'
1607+
path: 'src/pages/[platform]/tools/cli-legacy/key-directive/index.mdx'
16071608
},
16081609
{
1609-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/auth-directive/index.mdx'
1610+
path: 'src/pages/[platform]/tools/cli-legacy/auth-directive/index.mdx'
16101611
},
16111612
{
1612-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/connection-directive/index.mdx'
1613+
path: 'src/pages/[platform]/tools/cli-legacy/connection-directive/index.mdx'
16131614
},
16141615
{
1615-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/function-directive/index.mdx'
1616+
path: 'src/pages/[platform]/tools/cli-legacy/function-directive/index.mdx'
16161617
},
16171618
{
1618-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/http-directive/index.mdx'
1619+
path: 'src/pages/[platform]/tools/cli-legacy/http-directive/index.mdx'
16191620
},
16201621
{
1621-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/predictions-directive/index.mdx'
1622+
path: 'src/pages/[platform]/tools/cli-legacy/predictions-directive/index.mdx'
16221623
},
16231624
{
1624-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/searchable-directive/index.mdx'
1625+
path: 'src/pages/[platform]/tools/cli-legacy/searchable-directive/index.mdx'
16251626
},
16261627
{
1627-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/versioned-directive/index.mdx'
1628+
path: 'src/pages/[platform]/tools/cli-legacy/versioned-directive/index.mdx'
16281629
},
16291630
{
1630-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/data-access-patterns/index.mdx'
1631+
path: 'src/pages/[platform]/tools/cli-legacy/data-access-patterns/index.mdx'
16311632
},
16321633
{
1633-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/storage/index.mdx'
1634+
path: 'src/pages/[platform]/tools/cli-legacy/storage/index.mdx'
16341635
},
16351636
{
1636-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/relational-databases/index.mdx'
1637+
path: 'src/pages/[platform]/tools/cli-legacy/relational-databases/index.mdx'
16371638
},
16381639
{
1639-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/client-codegen/index.mdx'
1640+
path: 'src/pages/[platform]/tools/cli-legacy/client-codegen/index.mdx'
16401641
},
16411642
{
1642-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/overwrite-customize-resolvers/index.mdx'
1643+
path: 'src/pages/[platform]/tools/cli-legacy/overwrite-customize-resolvers/index.mdx'
16431644
},
16441645
{
1645-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/config-params/index.mdx'
1646+
path: 'src/pages/[platform]/tools/cli-legacy/config-params/index.mdx'
16461647
},
16471648
{
1648-
path: 'src/pages/[platform]/tools/cli-legacy/graphql-transformer/examples/index.mdx'
1649+
path: 'src/pages/[platform]/tools/cli-legacy/examples/index.mdx'
16491650
}
16501651
]
16511652
},

src/fragments/lib-v1/auth/native_common/delete_user/common.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Depending on your application, data associated with your user may be stored in o
1010

1111
<Callout warning>
1212

13-
Before invoking the “delete user” API, you can first delete associated user data from the GraphQL API. For example, if you are using Amplify CLI's [GraphQL transformer](https://docs.amplify.aws/cli-legacy/graphql-transformer/overview/) to persist user data via [owner based access control](/[platform]/build-a-backend/graphqlapi/customize-auth//#per-user--owner-based-data-access), you could follow [these instructions](https://gist.github.com/aws-amplify-ops/27954c421bd72930874d48c15c284807) to delete associated user data.
13+
Before invoking the “delete user” API, you can first delete associated user data from the GraphQL API. For example, if you are using Amplify CLI's [GraphQL transformer](https://docs.amplify.aws/cli-legacy/overview/) to persist user data via [owner based access control](/[platform]/build-a-backend/graphqlapi/customize-auth//#per-user--owner-based-data-access), you could follow [these instructions](https://gist.github.com/aws-amplify-ops/27954c421bd72930874d48c15c284807) to delete associated user data.
1414

1515
This allows you to address any guidelines that require your app to delete data associated with a user who deletes their account.
1616

src/pages/[platform]/build-a-backend/graphqlapi/client-code-generation/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/[platform]/cli-legacy/graphql-transformer/codegen'} />
33+
<MigrationAlert url={'/[platform]/cli-legacy/codegen'} />
3434

3535
"Codegen" generates native code for Swift (iOS), Java (Android), and JavaScript that represent your GraphQL API's data models. It can also generate GraphQL statements (queries, mutations, and subscriptions) so that you don't have to hand code them.
3636

src/pages/[platform]/build-a-backend/graphqlapi/connect-machine-learning-services/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert
34-
url={'/[platform]/cli-legacy/graphql-transformer/predictions'}
35-
/>
33+
<MigrationAlert url={'/[platform]/cli-legacy/predictions'} />
3634

3735
Amplify allows you to identify text on an image, identify labels on an image, translate text, and synthesize speech from text with the `@predictions` directive.
3836

src/pages/[platform]/build-a-backend/graphqlapi/custom-business-logic/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ export function getStaticProps(context) {
3131
}
3232

3333
<MigrationAlert
34-
url={
35-
'/[platform]/[platform]/tools/cli-legacy/graphql-transformer/function-directive/'
36-
}
34+
url={'/[platform]/[platform]/tools/cli-legacy/function-directive/'}
3735
/>
3836

3937
Define your custom business logic in a Lambda function resolver, HTTP resolver, or VTL resolver and expose them in a GraphQL query or mutation. Extend or override Amplify-generated GraphQL resolvers to optimize for your specific use cases.

src/pages/[platform]/build-a-backend/graphqlapi/customize-authorization-rules/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/cli-legacy/graphql-transformer/auth'} />
33+
<MigrationAlert url={'/cli-legacy/auth'} />
3434

3535
Use the `@auth` directive to configure authorization rules for public, sign-in user, per user, and per user group data access. **Authorization rules operate on the deny-by-default principle**. Meaning that if an authorization rule is not specifically configured, it is denied.
3636

src/pages/[platform]/build-a-backend/graphqlapi/data-modeling/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/[platform]/cli-legacy/graphql-transformer/key'} />
33+
<MigrationAlert url={'/[platform]/cli-legacy/key'} />
3434

3535
Amplify automatically creates Amazon DynamoDB database tables for GraphQL types annotated with the `@model` directive in your GraphQL schema. You can create relations between the data models via the `@hasOne`, `@hasMany`, `@belongsTo`, and `@manyToMany` directives.
3636

src/pages/[platform]/build-a-backend/graphqlapi/search-and-result-aggregations/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/[platform]/cli-legacy/graphql-transformer/searchable'} />
33+
<MigrationAlert url={'/[platform]/cli-legacy/searchable'} />
3434

3535
Add the `@searchable` directive to an `@model` type to enable OpenSearch-based data search and result aggregations. This gives you the ability to:
3636

0 commit comments

Comments
 (0)