From 36e2e4e9f38b7126517d89d6be07cc71c38b8e76 Mon Sep 17 00:00:00 2001 From: Heather Buchel Date: Mon, 6 Nov 2023 13:00:13 -0500 Subject: [PATCH] chore(next-release/main): Merge latest from main (#6208) * Update common content from Flutter revisions * Update based on API ref * Updating directory for new page * Adding new page for managing user sessions * Updating the directory with new page title * First half of updates to social sign-in * Second half update for js content * Added React Native content * Update CLI diff for js and react-native * dan changes part1 * Updating menu for manage user profiles * Updates to the Manage User Profile * Updating directory for password mgmt * Updates for password management * Updated wording and small edits * docs (js): Copyedited Set up Amplify Auth guide * additional clarifications * Copyedit of Auth guide for sign-in, sign-up, and sign-out * additional clarifications * additional changes * additional changes * add pr version of link checker script * Updated authenticator callout for react native * Updating directory title * Removed comment * Updates to delete user guide * Minor update to note testing * Removed comment markers * convert server to use serve instead of next-start * add static server for testing * update broken link for pr script * first round of changes * update link checker script, add dev mode and pr link checker * update link script * remove unused code * final changes * latest changes * initial changes * add axios timeout * remove unused command * final changes * Updating directory name * final changes * Staging for auth events content * remove choose filter filtering * update links * correct directory.mjs entry add react-native lib-v1 base page * Update overview.mdx * remove permissions * update pathmap default * GH action to check bundlesize of PR (#5986) * add gh workflow to check bundle size of selected pages * pinning versions * remove unnecessary package * remove errant script from package.json * consolidating functions * change logic for check * fix issues * fix main branch ref --------- Co-authored-by: katiegoines * adding needed index files * Update csp (#5987) * Remove deprecated prefetch-src header * Update alpha CSP to remove warnings during local testing * update index script * update write script * add missing index files * final RN changes * revert ssg revert * add static generation to new js docs * add static paths to page * remove unlinked and unbuilt pages * adding highlight for CDK support on main page * update pages to match filters and generate the same index files as main * Added What's New Banner * addressed based on Janaina's feedback * Update data-modeling.mdx * update table in fragment to resolve hydration issue * render contribute getting started text in spans * Removed inline comment and minor edits * chore(flutter): remove null safety references (#5998) Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> * Removed mkdwn comments and minor edits and links * Updated directory * Update versions.ts Updating the android library version * Updates for manage user profiles per comments * Updated password mgmt per comments * Removed mrkdwn comment and minor edits * Update-project-setup (#6007) * updated project set up * update framework info * updated project set up * update project set up * Update src/pages/lib-v1/project-setup/create-application/q/platform/[platform].mdx added period * Update src/pages/lib-v1/project-setup/create-application/q/platform/[platform].mdx Co-authored-by: Ashwin Kumar --------- Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com> Co-authored-by: Ashwin Kumar Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com> * chore(deps): bump @aws-amplify/amplify-cli-core from 4.2.7 to 4.2.10 (#6011) Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.2.7 to 4.2.10. - [Release notes](https://github.com/aws-amplify/amplify-cli/releases) - [Changelog](https://github.com/aws-amplify/amplify-cli/blob/@aws-amplify/amplify-cli-core@4.2.10/packages/amplify-cli-core/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/amplify-cli-core@4.2.10/packages/amplify-cli-core) --- updated-dependencies: - dependency-name: "@aws-amplify/amplify-cli-core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com> * Removed mkdwn comments and small edits * Add custom analytics event for the "What's New" banner (#6006) * Add a custom adobe analytics event for the WhatsNewBanner component * Add comment for function * Updated with react-native links * update home page to update page context * Removed mkdwn comment and minor edit * Update directory * Updating directory * Fixing directory * Fix directory update * Update directory * fix: updating @babel/traverse (#6025) * update @babel/core and @babel/traverse * updated @babel/traverse --------- Co-authored-by: katiegoines * update base lib, sdk, and guides pages * final changes * update next/previous styles * Removed mkdwn and minor edits * Amplify Android API Relational Models (#6020) * feat(api): iOS Android API GraphQL relational models pages * update schema * Add callout, update many-to-many schema * update callout to point to migration guide for existing developers * add new sections for query and css * Updates to Android API Relationship page * Defragmented pages and reordered content. * Remove iOS docs for now * Remove iOS docs for now * Remove fragments * Add delete code snippet * Correct description of query --------- Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com> Co-authored-by: Rene Brandel * Update CODEOWNERS to exclude documentation team from all files (#6030) * chore: update auth docs now that cdk tokens are supported for adminRole and identityPoolId * Update src/pages/cli/graphql/authorization-rules.mdx * fix: update example naming * Revert "Update CODEOWNERS to exclude documentation team from all files (#6030)" (#6031) * update new page to include ssg required exports * update sample amplifyconfiguration json file (#5874) Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com> * add choose your filter page * filter out all but android (#6036) Co-authored-by: katiegoines Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> * Update Amplify Android Version * fix: Fix CDK types in overview Fix CDK types in the overview. Previous version referred to non-existent types. * chore(Auth): add singedIn and signedOut Hub events in v6 (#6048) * chore: add SignIn and SignOut events * chore: update 'guest' to `guest` (#5981) Co-authored-by: Jim Blanchard Co-authored-by: AllanZhengYP * update algolia index function to remove INTEGRATION_FILTER_OPTIONS from meta object before parsing * Update src/pages/lib/auth/manageusers/q/platform/[platform].mdx Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> * Update src/pages/lib/auth/manageusers/q/platform/[platform].mdx Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> * Update src/pages/lib/auth/password_management/q/platform/[platform].mdx Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> * Update src/pages/lib/auth/password_management/q/platform/[platform].mdx Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> * Update src/pages/lib/auth/manageusers/q/platform/[platform].mdx Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> * Apply suggestions for password title update Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> * Update recap based on review Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> * Update meta content in headers * Change instance of my to your * Adding 4 guides and updating directory * Updating directory entry for password_management * Updating from feedback and adding react-native * Adding index page for new page * Updating per feedback * update the choose a filter component to try and pull filters from directory and prefer those instead of the passed in values * Punctuation edits * don't parse BlockSwitchers for headers * Removing comments, minor edits, added react-native * Updating header and feedback * Remove SSR link * formatting * Set isExternal to true for whats new banner (#6077) * add debugging line to ampliy.yml * Update next config (#6095) * Use 'output' config for exporting * Update maxWorkers to jest run * Update next to 13.5.6 * applied "connect" changes * Updated per feedback * Release Amplify Android 2.14.2, also reference AppSync SDK v3.4.0 which fixed a bug (#6096) Co-authored-by: Thomas Leing * Update src/pages/lib/auth/manage-session/q/platform/[platform].mdx Update the `clear()` example to include use of `this` reference. * Update src/pages/lib/auth/mfa/q/platform/[platform].mdx nit * Adding redirects tracking file and update README (#6082) * add redirects tracking file and update README * Update Readme.md --------- Co-authored-by: katiegoines Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> * add standalone how amplify works page (#6051) * add standalone how amplify works page * merged in main * merging jims changes * update content * refresh yarn * add checkmark png * table changes * add addtl space where needed * remove directory.json --------- Co-authored-by: katiegoines * feat: remove docs team approval for spelling changes using codeowners * chore: update readme for cspell check * Revert "Chore: Update codeowners file to exclude documentation team for approvals on cspell json file changes" * chore: update codeowner for console * fix(flutter/analytics): temporarily remove broken url (#6177) * Update how-amplify-works.mdx * Update how-amplify-works.mdx * remove files removed in initial refactor, fix a merge conflict * remove stray index, [platform].index pages * merge InternalLink changes from next-release/main to not reference Page component * Clean up linting errors and string/booleans in next.config * fix prettier version * fix missing json5 dependency * remove unused script in package.json --------- Signed-off-by: dependabot[bot] Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> Co-authored-by: Dan Kiuna Co-authored-by: Jim Eagan Co-authored-by: Jim Eagan <84857865+hibler13@users.noreply.github.com> Co-authored-by: Dan Kiuna Co-authored-by: Jacob Logan Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com> Co-authored-by: jacoblogan Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Co-authored-by: katiegoines Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> Co-authored-by: Rene Brandel Co-authored-by: Dustin Noyes Co-authored-by: gpanshu <91897496+gpanshu@users.noreply.github.com> Co-authored-by: Abdallah Shaban Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com> Co-authored-by: Ashwin Kumar Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyler Roach Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com> Co-authored-by: Al Harris Co-authored-by: Tuan Pham <103537251+phantumcode@users.noreply.github.com> Co-authored-by: Tim Schmelter Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> Co-authored-by: Jim Blanchard Co-authored-by: AllanZhengYP Co-authored-by: Thomas Leing Co-authored-by: Thomas Leing Co-authored-by: israx <70438514+israx@users.noreply.github.com> Co-authored-by: sowmyadev-kota <124720934+sowmyadev-kota@users.noreply.github.com> Co-authored-by: Sowmya Kota Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com> --- .github/CODEOWNERS | 2 +- Readme.md | 60 +- amplify.yml | 1 + next.config.mjs | 44 +- package.json | 4 +- redirects.json | 308 +++ src/components/ChooseFilterPage/index.tsx | 9 +- src/components/SecondaryNav/index.tsx | 4 + src/components/WhatsNewBanner/index.tsx | 1 + src/constants/versions.ts | 2 +- .../flutter/upgrade-guide/upgrade-guide.mdx | 2 +- src/fragments/sdk/api/android/graphql.mdx | 6 +- .../cli/graphql/authorization-rules.mdx | 2 +- .../api-graphql/building-a-form-api/index.mdx | 12 + .../api-graphql/graphql-pagination/index.mdx | 12 + .../image-and-file-uploads/index.mdx | 12 + .../api-graphql/lambda-resolvers/index.mdx | 12 + .../api-graphql/query-with-sorting/index.mdx | 12 + .../api-graphql/subscriptions-by-id/index.mdx | 12 + .../guides/api-rest/express-server/index.mdx | 12 + .../guides/api-rest/go-api/index.mdx | 12 + .../guides/api-rest/node-api/index.mdx | 12 + .../guides/api-rest/python-api/index.mdx | 12 + .../authentication/custom-auth-flow/index.mdx | 12 + .../email-only-authentication/index.mdx | 12 + .../listening-for-auth-events/index.mdx | 12 + .../managing-user-attributes/index.mdx | 12 + .../datastore/parallel-processing/index.mdx | 12 + .../index.mdx | 12 + .../cognito-trigger-lambda-dynamodb/index.mdx | 12 + .../functions/connecting-a-rest-api/index.mdx | 12 + .../dynamodb-from-js-lambda/index.mdx | 12 + .../dynamodb-from-python-lambda/index.mdx | 12 + .../functions/graphql-from-lambda/index.mdx | 12 + .../graphql-server-in-lambda/index.mdx | 12 + .../index.mdx | 12 + .../guides/hosting/custom-domains/index.mdx | 12 + src/pages-old/guides/hosting/gatsby/index.mdx | 12 + .../hosting/git-based-deployments/index.mdx | 12 + .../guides/hosting/gridsome/index.mdx | 12 + .../hosting/local-deployments/index.mdx | 12 + src/pages-old/guides/hosting/nextjs/index.mdx | 12 + src/pages-old/guides/hosting/nuxt/index.mdx | 12 + .../password-protected-deployments/index.mdx | 12 + .../hosting/pull-request-previews/index.mdx | 12 + src/pages-old/guides/hosting/vite/index.mdx | 12 + src/pages-old/guides/index.mdx | 12 + .../lib-v1/analytics/autotrack/index.mdx | 12 + .../lib-v1/analytics/enable-disable/index.mdx | 12 + .../lib-v1/analytics/escapehatch/index.mdx | 12 + .../analytics/existing-resources/index.mdx | 12 + .../analytics/getting-started/index.mdx | 12 + .../lib-v1/analytics/identifyuser/index.mdx | 12 + .../lib-v1/analytics/record/index.mdx | 12 + .../lib-v1/auth/access_credentials/index.mdx | 12 + src/pages-old/lib-v1/auth/advanced/index.mdx | 12 + .../lib-v1/auth/auth-events/index.mdx | 12 + .../lib-v1/auth/delete_user/index.mdx | 12 + .../lib-v1/auth/device_features/index.mdx | 12 + .../lib-v1/auth/emailpassword/index.mdx | 12 + .../lib-v1/auth/escapehatch/index.mdx | 12 + .../lib-v1/auth/existing-resources/index.mdx | 12 + .../lib-v1/auth/getting-started/index.mdx | 12 + .../lib-v1/auth/guest_access/index.mdx | 12 + .../lib-v1/auth/manageusers/index.mdx | 12 + .../auth/managing_credentials/index.mdx | 12 + src/pages-old/lib-v1/auth/mfa/index.mdx | 12 + src/pages-old/lib-v1/auth/overview/index.mdx | 12 + .../lib-v1/auth/password_management/index.mdx | 12 + src/pages-old/lib-v1/auth/signOut/index.mdx | 12 + src/pages-old/lib-v1/auth/signin/index.mdx | 12 + .../lib-v1/auth/signin_next_steps/index.mdx | 12 + .../lib-v1/auth/signin_web_ui/index.mdx | 12 + .../auth/signin_with_custom_flow/index.mdx | 12 + src/pages-old/lib-v1/auth/sms_flows/index.mdx | 12 + src/pages-old/lib-v1/auth/social/index.mdx | 12 + .../lib-v1/auth/switch-auth/index.mdx | 12 + .../lib-v1/auth/user-attributes/index.mdx | 12 + .../datastore/advanced-workflows/index.mdx | 12 + .../lib-v1/datastore/conflict/index.mdx | 12 + .../lib-v1/datastore/data-access/index.mdx | 12 + .../datastore/datastore-events/index.mdx | 12 + .../datastore/getting-started/index.mdx | 12 + .../lib-v1/datastore/how-it-works/index.mdx | 12 + .../lib-v1/datastore/other-methods/index.mdx | 12 + .../lib-v1/datastore/real-time/index.mdx | 12 + .../lib-v1/datastore/relational/index.mdx | 12 + .../lib-v1/datastore/schema-updates/index.mdx | 12 + .../datastore/setup-auth-rules/index.mdx | 12 + src/pages-old/lib-v1/datastore/sync/index.mdx | 12 + .../lib-v1/debugging/dev-menu/index.mdx | 12 + .../lib-v1/geo/escapehatch/index.mdx | 12 + .../lib-v1/geo/existing-resources/index.mdx | 12 + .../lib-v1/geo/getting-started/index.mdx | 12 + src/pages-old/lib-v1/geo/maps/index.mdx | 12 + src/pages-old/lib-v1/geo/search/index.mdx | 12 + .../graphqlapi/advanced-workflows/index.mdx | 12 + .../lib-v1/graphqlapi/authz/index.mdx | 12 + .../lib-v1/graphqlapi/concepts/index.mdx | 12 + .../graphqlapi/existing-resources/index.mdx | 12 + .../graphqlapi/getting-started/index.mdx | 12 + .../lib-v1/graphqlapi/mutate-data/index.mdx | 12 + .../lib-v1/graphqlapi/offline/index.mdx | 12 + .../lib-v1/graphqlapi/query-data/index.mdx | 12 + .../graphqlapi/subscribe-data/index.mdx | 12 + src/pages-old/lib-v1/index.mdx | 12 + .../lib-v1/info/app-uninstall/index.mdx | 12 + src/pages-old/lib-v1/info/overview/index.mdx | 12 + .../lib-v1/predictions/escapehatch/index.mdx | 12 + .../predictions/getting-started/index.mdx | 12 + .../predictions/identify-entity/index.mdx | 12 + .../predictions/identify-text/index.mdx | 12 + .../lib-v1/predictions/interpret/index.mdx | 12 + .../lib-v1/predictions/label-image/index.mdx | 12 + .../lib-v1/predictions/text-speech/index.mdx | 12 + .../lib-v1/predictions/transcribe/index.mdx | 12 + .../lib-v1/predictions/translate/index.mdx | 12 + .../lib-v1/project-setup/async/index.mdx | 12 + .../lib-v1/project-setup/combine/index.mdx | 12 + .../lib-v1/project-setup/coroutines/index.mdx | 12 + .../create-application/index.mdx | 12 + .../project-setup/escape-hatch/index.mdx | 12 + .../project-setup/platform-setup/index.mdx | 12 + .../lib-v1/project-setup/prereq/index.mdx | 12 + .../lib-v1/project-setup/rxjava/index.mdx | 12 + .../use-existing-resources/index.mdx | 12 + src/pages-old/lib-v1/restapi/authz/index.mdx | 12 + src/pages-old/lib-v1/restapi/delete/index.mdx | 12 + .../restapi/existing-resources/index.mdx | 12 + src/pages-old/lib-v1/restapi/fetch/index.mdx | 12 + .../lib-v1/restapi/getting-started/index.mdx | 12 + src/pages-old/lib-v1/restapi/update/index.mdx | 12 + src/pages-old/lib-v1/ssr/nextjs/index.mdx | 12 + .../ssr/nextjs/q/platform/[platform].mdx | 19 +- .../lib-v1/storage/configureaccess/index.mdx | 12 + src/pages-old/lib-v1/storage/copy/index.mdx | 12 + .../lib-v1/storage/download/index.mdx | 12 + .../lib-v1/storage/escapehatch/index.mdx | 12 + .../storage/existing-resources/index.mdx | 12 + .../lib-v1/storage/get-properties/index.mdx | 12 + .../lib-v1/storage/getting-started/index.mdx | 12 + src/pages-old/lib-v1/storage/list/index.mdx | 12 + .../lib-v1/storage/overview/index.mdx | 12 + src/pages-old/lib-v1/storage/remove/index.mdx | 12 + .../storage/transfer-acceleration/index.mdx | 12 + .../lib-v1/storage/triggers/index.mdx | 12 + src/pages-old/lib-v1/storage/upload/index.mdx | 12 + .../troubleshooting/upgrading/index.mdx | 12 + src/pages-old/lib-v1/utilities/hub/index.mdx | 12 + .../auth/enable-sign-up/index.mdx | 20 +- .../auth/set-up-auth/index.mdx | 129 +- .../index.mdx | 2 +- .../graphqlapi/advanced-workflows/index.mdx | 2 +- .../graphqlapi/api-graphql-concepts/index.mdx | 2 +- .../graphqlapi/graphql-pagination/index.mdx | 2 +- .../restapi/express-server/index.mdx | 2 +- .../restapi/update-data/index.mdx | 2 +- .../build-a-backend/storage/upload/index.mdx | 3 +- .../auth/auth-events/index.mdx | 6 + .../auth/custom-auth-flows/index.mdx | 1 + .../auth/enable-guest-access/index.mdx | 1 - .../auth/enable-sign-up/index.mdx | 1 + .../auth/manage-user-profile/index.mdx | 1 + .../cli/graphqlapi/data-modeling/index.mdx | 2 +- .../[platform]/tools/cli/graphqlapi/index.mdx | 14 +- src/utils/traverseHeadings.ts | 1 + tasks/build-algolia-search.mjs | 19 +- yarn.lock | 2459 ++++++++--------- 168 files changed, 3314 insertions(+), 1439 deletions(-) create mode 100644 redirects.json create mode 100644 src/pages-old/guides/api-graphql/building-a-form-api/index.mdx create mode 100644 src/pages-old/guides/api-graphql/graphql-pagination/index.mdx create mode 100644 src/pages-old/guides/api-graphql/image-and-file-uploads/index.mdx create mode 100644 src/pages-old/guides/api-graphql/lambda-resolvers/index.mdx create mode 100644 src/pages-old/guides/api-graphql/query-with-sorting/index.mdx create mode 100644 src/pages-old/guides/api-graphql/subscriptions-by-id/index.mdx create mode 100644 src/pages-old/guides/api-rest/express-server/index.mdx create mode 100644 src/pages-old/guides/api-rest/go-api/index.mdx create mode 100644 src/pages-old/guides/api-rest/node-api/index.mdx create mode 100644 src/pages-old/guides/api-rest/python-api/index.mdx create mode 100644 src/pages-old/guides/authentication/custom-auth-flow/index.mdx create mode 100644 src/pages-old/guides/authentication/email-only-authentication/index.mdx create mode 100644 src/pages-old/guides/authentication/listening-for-auth-events/index.mdx create mode 100644 src/pages-old/guides/authentication/managing-user-attributes/index.mdx create mode 100644 src/pages-old/guides/datastore/parallel-processing/index.mdx create mode 100644 src/pages-old/guides/functions/appsync-operations-to-lambda-layer/index.mdx create mode 100644 src/pages-old/guides/functions/cognito-trigger-lambda-dynamodb/index.mdx create mode 100644 src/pages-old/guides/functions/connecting-a-rest-api/index.mdx create mode 100644 src/pages-old/guides/functions/dynamodb-from-js-lambda/index.mdx create mode 100644 src/pages-old/guides/functions/dynamodb-from-python-lambda/index.mdx create mode 100644 src/pages-old/guides/functions/graphql-from-lambda/index.mdx create mode 100644 src/pages-old/guides/functions/graphql-server-in-lambda/index.mdx create mode 100644 src/pages-old/guides/functions/integrating-dynamodb-with-lambda/index.mdx create mode 100644 src/pages-old/guides/hosting/custom-domains/index.mdx create mode 100644 src/pages-old/guides/hosting/gatsby/index.mdx create mode 100644 src/pages-old/guides/hosting/git-based-deployments/index.mdx create mode 100644 src/pages-old/guides/hosting/gridsome/index.mdx create mode 100644 src/pages-old/guides/hosting/local-deployments/index.mdx create mode 100644 src/pages-old/guides/hosting/nextjs/index.mdx create mode 100644 src/pages-old/guides/hosting/nuxt/index.mdx create mode 100644 src/pages-old/guides/hosting/password-protected-deployments/index.mdx create mode 100644 src/pages-old/guides/hosting/pull-request-previews/index.mdx create mode 100644 src/pages-old/guides/hosting/vite/index.mdx create mode 100644 src/pages-old/guides/index.mdx create mode 100644 src/pages-old/lib-v1/analytics/autotrack/index.mdx create mode 100644 src/pages-old/lib-v1/analytics/enable-disable/index.mdx create mode 100644 src/pages-old/lib-v1/analytics/escapehatch/index.mdx create mode 100644 src/pages-old/lib-v1/analytics/existing-resources/index.mdx create mode 100644 src/pages-old/lib-v1/analytics/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/analytics/identifyuser/index.mdx create mode 100644 src/pages-old/lib-v1/analytics/record/index.mdx create mode 100644 src/pages-old/lib-v1/auth/access_credentials/index.mdx create mode 100644 src/pages-old/lib-v1/auth/advanced/index.mdx create mode 100644 src/pages-old/lib-v1/auth/auth-events/index.mdx create mode 100644 src/pages-old/lib-v1/auth/delete_user/index.mdx create mode 100644 src/pages-old/lib-v1/auth/device_features/index.mdx create mode 100644 src/pages-old/lib-v1/auth/emailpassword/index.mdx create mode 100644 src/pages-old/lib-v1/auth/escapehatch/index.mdx create mode 100644 src/pages-old/lib-v1/auth/existing-resources/index.mdx create mode 100644 src/pages-old/lib-v1/auth/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/auth/guest_access/index.mdx create mode 100644 src/pages-old/lib-v1/auth/manageusers/index.mdx create mode 100644 src/pages-old/lib-v1/auth/managing_credentials/index.mdx create mode 100644 src/pages-old/lib-v1/auth/mfa/index.mdx create mode 100644 src/pages-old/lib-v1/auth/overview/index.mdx create mode 100644 src/pages-old/lib-v1/auth/password_management/index.mdx create mode 100644 src/pages-old/lib-v1/auth/signOut/index.mdx create mode 100644 src/pages-old/lib-v1/auth/signin/index.mdx create mode 100644 src/pages-old/lib-v1/auth/signin_next_steps/index.mdx create mode 100644 src/pages-old/lib-v1/auth/signin_web_ui/index.mdx create mode 100644 src/pages-old/lib-v1/auth/signin_with_custom_flow/index.mdx create mode 100644 src/pages-old/lib-v1/auth/sms_flows/index.mdx create mode 100644 src/pages-old/lib-v1/auth/social/index.mdx create mode 100644 src/pages-old/lib-v1/auth/switch-auth/index.mdx create mode 100644 src/pages-old/lib-v1/auth/user-attributes/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/advanced-workflows/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/conflict/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/data-access/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/datastore-events/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/how-it-works/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/other-methods/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/real-time/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/relational/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/schema-updates/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/setup-auth-rules/index.mdx create mode 100644 src/pages-old/lib-v1/datastore/sync/index.mdx create mode 100644 src/pages-old/lib-v1/debugging/dev-menu/index.mdx create mode 100644 src/pages-old/lib-v1/geo/escapehatch/index.mdx create mode 100644 src/pages-old/lib-v1/geo/existing-resources/index.mdx create mode 100644 src/pages-old/lib-v1/geo/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/geo/maps/index.mdx create mode 100644 src/pages-old/lib-v1/geo/search/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/advanced-workflows/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/authz/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/concepts/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/existing-resources/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/mutate-data/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/offline/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/query-data/index.mdx create mode 100644 src/pages-old/lib-v1/graphqlapi/subscribe-data/index.mdx create mode 100644 src/pages-old/lib-v1/index.mdx create mode 100644 src/pages-old/lib-v1/info/app-uninstall/index.mdx create mode 100644 src/pages-old/lib-v1/info/overview/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/escapehatch/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/identify-entity/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/identify-text/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/interpret/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/label-image/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/text-speech/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/transcribe/index.mdx create mode 100644 src/pages-old/lib-v1/predictions/translate/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/async/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/combine/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/coroutines/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/create-application/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/escape-hatch/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/platform-setup/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/prereq/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/rxjava/index.mdx create mode 100644 src/pages-old/lib-v1/project-setup/use-existing-resources/index.mdx create mode 100644 src/pages-old/lib-v1/restapi/authz/index.mdx create mode 100644 src/pages-old/lib-v1/restapi/delete/index.mdx create mode 100644 src/pages-old/lib-v1/restapi/existing-resources/index.mdx create mode 100644 src/pages-old/lib-v1/restapi/fetch/index.mdx create mode 100644 src/pages-old/lib-v1/restapi/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/restapi/update/index.mdx create mode 100644 src/pages-old/lib-v1/ssr/nextjs/index.mdx create mode 100644 src/pages-old/lib-v1/storage/configureaccess/index.mdx create mode 100644 src/pages-old/lib-v1/storage/copy/index.mdx create mode 100644 src/pages-old/lib-v1/storage/download/index.mdx create mode 100644 src/pages-old/lib-v1/storage/escapehatch/index.mdx create mode 100644 src/pages-old/lib-v1/storage/existing-resources/index.mdx create mode 100644 src/pages-old/lib-v1/storage/get-properties/index.mdx create mode 100644 src/pages-old/lib-v1/storage/getting-started/index.mdx create mode 100644 src/pages-old/lib-v1/storage/list/index.mdx create mode 100644 src/pages-old/lib-v1/storage/overview/index.mdx create mode 100644 src/pages-old/lib-v1/storage/remove/index.mdx create mode 100644 src/pages-old/lib-v1/storage/transfer-acceleration/index.mdx create mode 100644 src/pages-old/lib-v1/storage/triggers/index.mdx create mode 100644 src/pages-old/lib-v1/storage/upload/index.mdx create mode 100644 src/pages-old/lib-v1/troubleshooting/upgrading/index.mdx create mode 100644 src/pages-old/lib-v1/utilities/hub/index.mdx diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7d331ebe4df..03b62efd334 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -6,7 +6,7 @@ /src/**/cli/ @josefaidt @aws-amplify/documentation-team #Studio -/src/pages/console/ @wrpeck @aws-amplify/documentation-team +/src/pages/console/ @dbanksdesign @aws-amplify/documentation-team #Analytics /src/**/**/analytics @abdallahshaban557 @aws-amplify/documentation-team diff --git a/Readme.md b/Readme.md index c893fc3f608..f2e43b4a859 100644 --- a/Readme.md +++ b/Readme.md @@ -13,18 +13,20 @@ 1. [Fork this repo](/fork) and `git clone` it. 2. In your terminal, navigate to the repo from where it was just cloned. This should be located at the `/docs` directory. -2. From your command line, run `yarn && yarn dev`. -3. should open automatically. +3. From your command line, run `yarn && yarn dev`. +4. should open automatically. ## How to contribute We welcome contributions to the documentation site! Here's how to do it: 1. Follow our [styleguide](https://github.com/aws-amplify/docs/blob/main/STYLEGUIDE.md), especially if writing longer pieces. -2. Verify your changes locally. +2. Verify your changes locally. 3. Make a PR to our `main` branch. - 1. Please include any [issues](https://github.com/aws-amplify/docs/issues) your PR addresses. - 2. If any files have been deleted with your PR, please indicate that `redirects are needed` in your PR description and/or add the `redirects-needed` label. + 1. Please include any [issues](https://github.com/aws-amplify/docs/issues) your PR addresses. + 2. If any files have been deleted with your PR, please add the redirects required to [`redirects.json`](https://github.com/aws-amplify/docs/blob/main/redirects.json) and ensure that the `redirects-needed` label has been added. + - Please see the [Amplify Hosting user guide](https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html) for guidance on values and ordering. + - Please note that there is a manual step for the Docs Engineering team to complete before the redirects are live. **What's next?** After your PR is reviewed and all tests pass, it will be merged and the branch will be deleted. @@ -48,49 +50,50 @@ IMPORTANT: Every page has to have a `title` and `description` meta field. The markdown body is parsed as [MDX](https://mdxjs.com/) and can include any valid HTML or JSX. ### Fragments + To incorporate new platform-specific content within a page, please use [Inline Filters](https://github.com/aws-amplify/docs/blob/main/Readme.md#inline-filters). When editing content that hasn't been migrated, you may see the following pattern: ```jsx -import js from "/src/fragments/lib/datastore/js/conflict.mdx"; +import js from '/src/fragments/lib/datastore/js/conflict.mdx'; -; +; ``` This pattern incorporates fragment files into a page and conditionally renders content based off selected platform added as a condition to the `Fragments` tag. This fragment would exist in: `pages/src/fragments/lib/datastore/js/conflict.mdx` -### Inline Filters +### Inline Filters We are incorporating the use of `` to add platform-specific content within the context of one page rather than in fragments. These filters allow you to still specify content by platform and they reference platforms using the same naming convention as our fragments. You can enclose your platform-specific content by updating the opening tag: -````md +```md -```` - +``` + If you are updating content on a page, please note any inline filter tags which may be indicating a specific platform as you make your edits. -### Accordion +### Accordion `Accordion` This single-use accordion hides peripheral content until the reader selects to expand the section. This helps you keep your pages focused on the need-to-know information upfront, while also providing readers an option to dive deeper when they choose. These accordions can provide peripheral content such as additional context for beginners, advanced deep dives for those who want to off-road, and troubleshooting guidance for errors users may encounter. Here is an example of its usage: -````md +```md - Title – Make your title descriptive to help readers know what the accordion contains before they click. - Eyebrow – Update this text to reflect the purpose of the accordion. We recommend: - - Learn more – used to add additional context that is not needed upfront but is useful for users to review when they choose. - - Troubleshooting – used when adding details to troubleshoot specific errors within context. - - Walkthrough – used when adding a step-by-step example for those who need more direct guidance. + - Learn more – used to add additional context that is not needed upfront but is useful for users to review when they choose. + - Troubleshooting – used when adding details to troubleshoot specific errors within context. + - Walkthrough – used when adding a step-by-step example for those who need more direct guidance. -```` +``` ### Tab-switchable Blocks @@ -102,7 +105,7 @@ Here is an example of its usage: ```js -const a = "a"; +const a = 'a'; ``` @@ -110,7 +113,7 @@ const a = "a"; ```ts -const a: "a" = "a"; +const a: 'a' = 'a'; ``` @@ -129,23 +132,26 @@ let mut a = String::from("a"); ## Debug client-side code with browser developer tools ### Prerequisites -- [React Dev Tools](https://reactjs.org/tutorial/tutorial.html#developer-tools) - - [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) - - [Firefox](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/) + +- [React Dev Tools](https://reactjs.org/tutorial/tutorial.html#developer-tools) + - [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) + - [Firefox](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/) ### To debug + 1. Set up the repo and run it with the `dev` script mentioned above in the "Getting Started" section. 2. On your localhost page, go to the page with the React component you want to debug and open up the developer tools. 3. To know which source file to breakpoint on, we need to find the name of the component first. - - Open up the dev tools and use the react dev tools to find the component. Do this by using the "Select an element on the page to inspect it" tool under the "Components" tab. - - Search for the variable/component name inside the source code to find the file you want to debug. + - Open up the dev tools and use the react dev tools to find the component. Do this by using the "Select an element on the page to inspect it" tool under the "Components" tab. + + - Search for the variable/component name inside the source code to find the file you want to debug. + + - Place the breakpoint inside the file under the "Sources" tab in the browser's dev tools. + - Note that since the Amplify Docs site is built with nextjs, file paths will start with "`webpack://_N_E/./`" - - Place the breakpoint inside the file under the "Sources" tab in the browser's dev tools. - - Note that since the Amplify Docs site is built with nextjs, file paths will start with "`webpack://_N_E/./`" 4. Refresh your localhost site and the breakpoint should hit in the browser's dev tools. You should be able to debug the code. Another way to find which file you want to debug is to search for strings/paragraphs seen in Amplify docs site. Search for the strings in your code editor and you'll find that they will be in a `.mdx` file. You should see the components that are being rendered and be able to find the file name you want to debug. - More info on debugging can be found here: https://nextjs.org/docs/advanced-features/debugging diff --git a/amplify.yml b/amplify.yml index c73f9a150fe..30cadff563a 100644 --- a/amplify.yml +++ b/amplify.yml @@ -7,6 +7,7 @@ frontend: build: commands: - echo "BUILD_ENV=$BUILD_ENV" >> .env.custom + - node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)' - NODE_ENV=production yarn build:release - if [ "${AWS_BRANCH}" = "main" ]; then node tasks/build-algolia-search.mjs; fi artifacts: diff --git a/next.config.mjs b/next.config.mjs index c5ef23b358f..54fad21a5a2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,7 +7,7 @@ import rehypeImgSize from 'rehype-img-size'; import remarkGfm from 'remark-gfm'; dotenv.config({ path: './.env.custom' }); -export default async () => { +export default () => { const withMDX = createMDX({ extension: /\.mdx$/, options: { @@ -19,18 +19,26 @@ export default async () => { const shouldAnalyzeBundles = process.env.ANALYZE === 'true'; let nextConfig = withMDX({ + output: 'export', + distDir: 'client/www/next-build', env: { BUILD_ENV: process.env.BUILD_ENV, + // eslint-disable-next-line @typescript-eslint/camelcase nextImageExportOptimizer_imageFolderPath: 'public', + // eslint-disable-next-line @typescript-eslint/camelcase nextImageExportOptimizer_exportFolderPath: 'out', - nextImageExportOptimizer_quality: 75, - nextImageExportOptimizer_storePicturesInWEBP: true, + // eslint-disable-next-line @typescript-eslint/camelcase + nextImageExportOptimizer_quality: '75', + // eslint-disable-next-line @typescript-eslint/camelcase + nextImageExportOptimizer_storePicturesInWEBP: 'true', + // eslint-disable-next-line @typescript-eslint/camelcase nextImageExportOptimizer_exportFolderName: 'nextImageExportOptimizer', // If you do not want to use blurry placeholder images, then you can set // nextImageExportOptimizer_generateAndUseBlurImages to false and pass // `placeholder="empty"` to all components. - nextImageExportOptimizer_generateAndUseBlurImages: true + // eslint-disable-next-line @typescript-eslint/camelcase + nextImageExportOptimizer_generateAndUseBlurImages: 'true' }, images: { loader: 'custom', @@ -49,33 +57,7 @@ export default async () => { transpilePackages: [ '@algolia/autocomplete-shared', 'next-image-export-optimizer' - ], - // eslint-disable-next-line @typescript-eslint/require-await - async headers() { - return [ - { - // Apply these headers to all routes in your application. - source: '/(.*)', - headers: [ - // IMPORTANT: - // These are ONLY used for the Dev server and MUST - // be kept in sync with customHttp.yml - { - key: 'Strict-Transport-Security', - value: 'max-age=63072000; includeSubDomains' - }, - { - key: 'X-Frame-Options', - value: 'SAMEORIGIN' - }, - { - key: 'X-Content-Type-Options', - value: 'nosniff' - } - ] - } - ]; - } + ] }); if (shouldAnalyzeBundles) { diff --git a/package.json b/package.json index b3287eb486a..208263bf83e 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "html-entities": "^1.2.1", "instantsearch.js": "^4.39.1", "mdx-prism": "^0.3.4", - "next": "^13.2.4", + "next": "^13.5.6", "next-image-export-optimizer": "^1.8.3", "next-transpile-modules": "^9.0.0", "parse-imports": "^1.1.0", @@ -148,7 +148,7 @@ "dev": "yarn prebuild && next dev", "spellcheck": "cspell \"src/**/*.mdx\" --no-progress", "spellcheck-diff": "git diff --name-only --cached | awk \"/src.*\\.mdx/{print}\" | npx cspell --no-must-find-files --file-list stdin", - "build": "node tasks/generate-sitemap.mjs && next build && next export -o client/www/next-build", + "build": "node tasks/generate-sitemap.mjs && next build", "build:release": "yarn build && next-image-export-optimizer --exportFolderPath client/www/next-build", "next-build": "next build", "next-start": "next start", diff --git a/redirects.json b/redirects.json new file mode 100644 index 00000000000..e75c9b093d2 --- /dev/null +++ b/redirects.json @@ -0,0 +1,308 @@ +[ + { + "source": "/lib/ssr/ssr/q/platform/js/", + "target": "/lib/ssr/q/platform/js/", + "status": "301", + "condition": null + }, + { + "source": "/cli/function/function/", + "target": "/cli/function/", + "status": "301", + "condition": null + }, + { + "source": "/lib/ssr/ssr/", + "target": "/lib/ssr/", + "status": "301", + "condition": null + }, + { + "source": "/cli/plugins/", + "target": "/cli/plugins/plugins/", + "status": "301", + "condition": null + }, + { + "source": "/<*>", + "target": "/404/index.html", + "status": "404-200", + "condition": null + }, + { + "source": "/cli/usage/tags/", + "target": "/cli/project/tags/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/permissions-boundary/", + "target": "/cli/project/permissions-boundary/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/command-hooks/", + "target": "/cli/project/command-hooks/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/monorepo/", + "target": "/cli/project/monorepo/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/iam/", + "target": "/cli/reference/iam/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/iam-roles-mfa/", + "target": "/cli/reference/iam-roles-mfa/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/customcf/", + "target": "/cli/custom/cloudformation/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/upgrade/", + "target": "/cli/start/workflows/#upgrade-amplify-cli", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/uninnstall/", + "target": "/cli/start/workflows/#uninstall-amplify-cli", + "status": "301", + "condition": null + }, + { + "source": "/cli/graphql-transformer/<*>", + "target": "/cli-legacy/graphql-transformer/<*>", + "status": "301", + "condition": null + }, + { + "source": "/cli-legacy/", + "target": "/cli/", + "status": "301", + "condition": null + }, + { + "source": "/console/adminui/intro/", + "target": "/console", + "status": "301", + "condition": null + }, + { + "source": "/ui-legacy/interactions/chatbot/<*>", + "target": "https://ui.docs.amplify.aws/components/chatbot", + "status": "301", + "condition": null + }, + { + "source": "/ui/customization/theming/q/framework/react/", + "target": "https://ui.docs.amplify.aws/theming", + "status": "301", + "condition": null + }, + { + "source": "/cli/hosting/", + "target": "/cli/hosting/hosting", + "status": "302", + "condition": null + }, + { + "source": "/ui/storage/s3-image-picker/q/framework//", + "target": "https://ui.docs.amplify.aws/components/storage?platform=#s3-image-picker", + "status": "302", + "condition": null + }, + { + "source": "/cli/usage/uninstall/", + "target": "/cli/start/workflows/#uninstall-amplify-cli", + "status": "302", + "condition": null + }, + { + "source": "/guides/location-service/setting-up-your-app/q/platform/js/", + "target": "/lib/geo/getting-started/q/platform/js/", + "status": "301", + "condition": null + }, + { + "source": "/guides/location-service/setting-up-your-app/q/platform/ios/", + "target": "/lib/geo/getting-started/q/platform/ios/", + "status": "301", + "condition": null + }, + { + "source": "/guides/location-service/setting-up-your-app/q/platform/android/", + "target": "/lib/geo/getting-started/q/platform/android/", + "status": "301", + "condition": null + }, + { + "source": "/guides/location-service/tracking-device-location/q/platform/ios/", + "target": "/lib/geo/escapehatch/q/platform/ios/", + "status": "301", + "condition": null + }, + { + "source": "/guides/location-service/tracking-device-location/q/platform/android/", + "target": "/lib/geo/escapehatch/q/platform/android/", + "status": "301", + "condition": null + }, + { + "source": "/lib/auth/social_signin_web_ui/q/platform/ios/", + "target": "/lib/auth/social/q/platform/ios/", + "status": "301", + "condition": null + }, + { + "source": "/lib/auth/social_signin_web_ui/q/platform/android/", + "target": "/lib/auth/social/q/platform/android", + "status": "301", + "condition": null + }, + { + "source": "/lib/auth/social_signin_web_ui/q/platform/flutter/", + "target": "/lib/auth/social/q/platform/flutter/", + "status": "301", + "condition": null + }, + { + "source": "/start/q/integration/ionic/", + "target": "/start/q/integration/js/", + "status": "301", + "condition": null + }, + { + "source": "/start/getting-started/installation/q/integration/ionic/", + "target": "/start/getting-started/installation/q/integration/js/", + "status": "301", + "condition": null + }, + { + "source": "/lib/in-app-messaging/prerequisites/q/platform/js/", + "target": "/lib/in-app-messaging/getting-started/q/platform/js/", + "status": "301", + "condition": null + }, + { + "source": "/lib/devpreview/getting-started/q/platform/android/", + "target": "/lib/project-setup/upgrade-guide/q/platform/android/", + "status": "301", + "condition": null + }, + { + "source": "/lib/devpreview/getting-started/q/platform/ios/", + "target": "/lib/project-setup/upgrade-guide/q/platform/ios/", + "status": "301", + "condition": null + }, + { + "source": "/cli/migration/lambda-node-version-update/", + "target": "/cli/function/configure-options/#updating-the-runtime", + "status": "301", + "condition": null + }, + { + "source": "/lib/in-app-messaging/customize/q/platform/js/", + "target": "https://ui.docs.amplify.aws/react/connected-components/in-app-messaging", + "status": "301", + "condition": null + }, + { + "source": "/guides/storage/transfer-acceleration/q/platform/js/", + "target": "/lib/storage/transfer-acceleration/q/platform/js/", + "status": "301", + "condition": null + }, + { + "source": "/lib/auth/customui/q/platform/js/", + "target": "https://ui.docs.amplify.aws/react/connected-components/authenticator", + "status": "301", + "condition": null + }, + { + "source": "/lib/auth/customui/q/platform/react-native/", + "target": "https://ui.docs.amplify.aws/react-native/connected-components/authenticator", + "status": "301", + "condition": null + }, + { + "source": "/lib/graphqlapi/create-or-re-use-existing-backend/q/platform/js", + "target": "/lib/graphqlapi/existing-resources/q/platform/js/", + "status": "301", + "condition": null + }, + { + "source": "/console/uibuilder/textfieldtoarea/", + "target": "/console/uibuilder/figmatocode/#figma-file-changelog", + "status": "301", + "condition": null + }, + { + "source": "/cli/graphql/offline-data-access-and-conflict-resolution/", + "target": "/lib/datastore/conflict/q/platform/js/", + "status": "301", + "condition": null + }, + { + "source": "/console/storage/develop", + "target": "/console/storage/file-browser/", + "status": "301", + "condition": null + }, + { + "source": "/cli/usage/add-custom-resources", + "target": "/cli/custom/cdk/", + "status": "301", + "condition": null + }, + { + "source": "/lib/push-notifications/overview/q/platform/react-native/", + "target": "/lib/push-notifications/getting-started/q/platform/react-native", + "status": "302", + "condition": null + }, + { + "source": "/lib/push-notifications/working-with-api/q/platform/react-native/", + "target": "/lib/push-notifications/getting-started/q/platform/react-native", + "status": "302", + "condition": null + }, + { + "source": "/ui/<*>", + "target": "https://ui.docs.amplify.aws/", + "status": "301", + "condition": null + }, + { + "source": "/ui-legacy/<*>", + "target": "https://ui.docs.amplify.aws/", + "status": "301", + "condition": null + }, + { + "source": "/lib/graphqlapi/create-or-re-use-existing-backend/q/platform/js/", + "target": "/lib/graphqlapi/existing-resources/q/platform/js/", + "status": "301", + "condition": null + }, + { + "source": "/lib/push-notifications/overview/q/platform/js/", + "target": "/lib/push-notifications/getting-started/q/platform/react-native/", + "status": "301", + "condition": null + } +] diff --git a/src/components/ChooseFilterPage/index.tsx b/src/components/ChooseFilterPage/index.tsx index fe5e48b7bce..2613a6b35bc 100644 --- a/src/components/ChooseFilterPage/index.tsx +++ b/src/components/ChooseFilterPage/index.tsx @@ -53,11 +53,16 @@ function ChooseFilterPage({ if (typeof chapterDirectory !== 'undefined') { const { title: cTitle, items } = chapterDirectory as { title: string; - items: { route: string; title: string }[]; + items: { route: string; title: string, filters?: string[] }[]; }; chapterTitle = cTitle; for (const item of items) { - if (item.route === url) title = item.title; + if (item.route === url){ + title = item.title; + if(item.filters){ + filters = item.filters; + } + } } } } diff --git a/src/components/SecondaryNav/index.tsx b/src/components/SecondaryNav/index.tsx index 01620abe100..c7f0d11cf2b 100644 --- a/src/components/SecondaryNav/index.tsx +++ b/src/components/SecondaryNav/index.tsx @@ -31,6 +31,10 @@ export default function SecondaryNav() {
{[ + { + label: 'How Amplify Works', + url: '/how-amplify-works' + }, { label: 'Getting Started', url: '/start' diff --git a/src/components/WhatsNewBanner/index.tsx b/src/components/WhatsNewBanner/index.tsx index 9a2eb81e606..f22813255ca 100644 --- a/src/components/WhatsNewBanner/index.tsx +++ b/src/components/WhatsNewBanner/index.tsx @@ -8,6 +8,7 @@ export default function WhatsNewBanner({ href, content }) { -In the CDK construct, we call this the "sandbox mode" that you need to explicitly enable via an input parameter. +In the CDK construct, we call this the "sandbox mode" that you need to explicitly enable via an input parameter. ```ts new AmplifyGraphqlApi(this, "MyNewApi", { diff --git a/src/pages-old/guides/api-graphql/building-a-form-api/index.mdx b/src/pages-old/guides/api-graphql/building-a-form-api/index.mdx new file mode 100644 index 00000000000..7294d55d6d3 --- /dev/null +++ b/src/pages-old/guides/api-graphql/building-a-form-api/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-graphql/graphql-pagination/index.mdx b/src/pages-old/guides/api-graphql/graphql-pagination/index.mdx new file mode 100644 index 00000000000..00acff39913 --- /dev/null +++ b/src/pages-old/guides/api-graphql/graphql-pagination/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-graphql/image-and-file-uploads/index.mdx b/src/pages-old/guides/api-graphql/image-and-file-uploads/index.mdx new file mode 100644 index 00000000000..6c4b3e83ea7 --- /dev/null +++ b/src/pages-old/guides/api-graphql/image-and-file-uploads/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-graphql/lambda-resolvers/index.mdx b/src/pages-old/guides/api-graphql/lambda-resolvers/index.mdx new file mode 100644 index 00000000000..c7b85f7c828 --- /dev/null +++ b/src/pages-old/guides/api-graphql/lambda-resolvers/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-graphql/query-with-sorting/index.mdx b/src/pages-old/guides/api-graphql/query-with-sorting/index.mdx new file mode 100644 index 00000000000..2025f7ea409 --- /dev/null +++ b/src/pages-old/guides/api-graphql/query-with-sorting/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-graphql/subscriptions-by-id/index.mdx b/src/pages-old/guides/api-graphql/subscriptions-by-id/index.mdx new file mode 100644 index 00000000000..9ffdd05296e --- /dev/null +++ b/src/pages-old/guides/api-graphql/subscriptions-by-id/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-rest/express-server/index.mdx b/src/pages-old/guides/api-rest/express-server/index.mdx new file mode 100644 index 00000000000..42881cbe87c --- /dev/null +++ b/src/pages-old/guides/api-rest/express-server/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-rest/go-api/index.mdx b/src/pages-old/guides/api-rest/go-api/index.mdx new file mode 100644 index 00000000000..8cc6339bf4c --- /dev/null +++ b/src/pages-old/guides/api-rest/go-api/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-rest/node-api/index.mdx b/src/pages-old/guides/api-rest/node-api/index.mdx new file mode 100644 index 00000000000..4a4e93ec187 --- /dev/null +++ b/src/pages-old/guides/api-rest/node-api/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/api-rest/python-api/index.mdx b/src/pages-old/guides/api-rest/python-api/index.mdx new file mode 100644 index 00000000000..d90bb3628df --- /dev/null +++ b/src/pages-old/guides/api-rest/python-api/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/authentication/custom-auth-flow/index.mdx b/src/pages-old/guides/authentication/custom-auth-flow/index.mdx new file mode 100644 index 00000000000..c9f4adbb03f --- /dev/null +++ b/src/pages-old/guides/authentication/custom-auth-flow/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/authentication/email-only-authentication/index.mdx b/src/pages-old/guides/authentication/email-only-authentication/index.mdx new file mode 100644 index 00000000000..90b1d0cf368 --- /dev/null +++ b/src/pages-old/guides/authentication/email-only-authentication/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/authentication/listening-for-auth-events/index.mdx b/src/pages-old/guides/authentication/listening-for-auth-events/index.mdx new file mode 100644 index 00000000000..0fe2a95b61d --- /dev/null +++ b/src/pages-old/guides/authentication/listening-for-auth-events/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/authentication/managing-user-attributes/index.mdx b/src/pages-old/guides/authentication/managing-user-attributes/index.mdx new file mode 100644 index 00000000000..5e5c01f4bef --- /dev/null +++ b/src/pages-old/guides/authentication/managing-user-attributes/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/datastore/parallel-processing/index.mdx b/src/pages-old/guides/datastore/parallel-processing/index.mdx new file mode 100644 index 00000000000..d431db22768 --- /dev/null +++ b/src/pages-old/guides/datastore/parallel-processing/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/appsync-operations-to-lambda-layer/index.mdx b/src/pages-old/guides/functions/appsync-operations-to-lambda-layer/index.mdx new file mode 100644 index 00000000000..39bb066234f --- /dev/null +++ b/src/pages-old/guides/functions/appsync-operations-to-lambda-layer/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/cognito-trigger-lambda-dynamodb/index.mdx b/src/pages-old/guides/functions/cognito-trigger-lambda-dynamodb/index.mdx new file mode 100644 index 00000000000..4a55b7e75c3 --- /dev/null +++ b/src/pages-old/guides/functions/cognito-trigger-lambda-dynamodb/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/connecting-a-rest-api/index.mdx b/src/pages-old/guides/functions/connecting-a-rest-api/index.mdx new file mode 100644 index 00000000000..fc1dd16728c --- /dev/null +++ b/src/pages-old/guides/functions/connecting-a-rest-api/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/dynamodb-from-js-lambda/index.mdx b/src/pages-old/guides/functions/dynamodb-from-js-lambda/index.mdx new file mode 100644 index 00000000000..87756b2396e --- /dev/null +++ b/src/pages-old/guides/functions/dynamodb-from-js-lambda/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/dynamodb-from-python-lambda/index.mdx b/src/pages-old/guides/functions/dynamodb-from-python-lambda/index.mdx new file mode 100644 index 00000000000..329734a7a33 --- /dev/null +++ b/src/pages-old/guides/functions/dynamodb-from-python-lambda/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/graphql-from-lambda/index.mdx b/src/pages-old/guides/functions/graphql-from-lambda/index.mdx new file mode 100644 index 00000000000..74029424e47 --- /dev/null +++ b/src/pages-old/guides/functions/graphql-from-lambda/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/graphql-server-in-lambda/index.mdx b/src/pages-old/guides/functions/graphql-server-in-lambda/index.mdx new file mode 100644 index 00000000000..25ec256b500 --- /dev/null +++ b/src/pages-old/guides/functions/graphql-server-in-lambda/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/functions/integrating-dynamodb-with-lambda/index.mdx b/src/pages-old/guides/functions/integrating-dynamodb-with-lambda/index.mdx new file mode 100644 index 00000000000..076248e75d7 --- /dev/null +++ b/src/pages-old/guides/functions/integrating-dynamodb-with-lambda/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/custom-domains/index.mdx b/src/pages-old/guides/hosting/custom-domains/index.mdx new file mode 100644 index 00000000000..7f4c1ffd5b2 --- /dev/null +++ b/src/pages-old/guides/hosting/custom-domains/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/gatsby/index.mdx b/src/pages-old/guides/hosting/gatsby/index.mdx new file mode 100644 index 00000000000..d18c8ef4cfc --- /dev/null +++ b/src/pages-old/guides/hosting/gatsby/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/git-based-deployments/index.mdx b/src/pages-old/guides/hosting/git-based-deployments/index.mdx new file mode 100644 index 00000000000..5e4e2619ab7 --- /dev/null +++ b/src/pages-old/guides/hosting/git-based-deployments/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/gridsome/index.mdx b/src/pages-old/guides/hosting/gridsome/index.mdx new file mode 100644 index 00000000000..90d5ad2755b --- /dev/null +++ b/src/pages-old/guides/hosting/gridsome/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/local-deployments/index.mdx b/src/pages-old/guides/hosting/local-deployments/index.mdx new file mode 100644 index 00000000000..5cfbd51b61f --- /dev/null +++ b/src/pages-old/guides/hosting/local-deployments/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/nextjs/index.mdx b/src/pages-old/guides/hosting/nextjs/index.mdx new file mode 100644 index 00000000000..39c578830cf --- /dev/null +++ b/src/pages-old/guides/hosting/nextjs/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/nuxt/index.mdx b/src/pages-old/guides/hosting/nuxt/index.mdx new file mode 100644 index 00000000000..301fdf3edee --- /dev/null +++ b/src/pages-old/guides/hosting/nuxt/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/password-protected-deployments/index.mdx b/src/pages-old/guides/hosting/password-protected-deployments/index.mdx new file mode 100644 index 00000000000..1d562f3203d --- /dev/null +++ b/src/pages-old/guides/hosting/password-protected-deployments/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/pull-request-previews/index.mdx b/src/pages-old/guides/hosting/pull-request-previews/index.mdx new file mode 100644 index 00000000000..94fda63718b --- /dev/null +++ b/src/pages-old/guides/hosting/pull-request-previews/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/hosting/vite/index.mdx b/src/pages-old/guides/hosting/vite/index.mdx new file mode 100644 index 00000000000..8f85a535068 --- /dev/null +++ b/src/pages-old/guides/hosting/vite/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/guides/index.mdx b/src/pages-old/guides/index.mdx new file mode 100644 index 00000000000..a0067bb6b47 --- /dev/null +++ b/src/pages-old/guides/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { GUIDE_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/analytics/autotrack/index.mdx b/src/pages-old/lib-v1/analytics/autotrack/index.mdx new file mode 100644 index 00000000000..b944f5e895c --- /dev/null +++ b/src/pages-old/lib-v1/analytics/autotrack/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/analytics/enable-disable/index.mdx b/src/pages-old/lib-v1/analytics/enable-disable/index.mdx new file mode 100644 index 00000000000..5bd1dae86a1 --- /dev/null +++ b/src/pages-old/lib-v1/analytics/enable-disable/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/analytics/escapehatch/index.mdx b/src/pages-old/lib-v1/analytics/escapehatch/index.mdx new file mode 100644 index 00000000000..3ef2aa028f2 --- /dev/null +++ b/src/pages-old/lib-v1/analytics/escapehatch/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/analytics/existing-resources/index.mdx b/src/pages-old/lib-v1/analytics/existing-resources/index.mdx new file mode 100644 index 00000000000..cfba60335f2 --- /dev/null +++ b/src/pages-old/lib-v1/analytics/existing-resources/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/analytics/getting-started/index.mdx b/src/pages-old/lib-v1/analytics/getting-started/index.mdx new file mode 100644 index 00000000000..3cb23fa2c37 --- /dev/null +++ b/src/pages-old/lib-v1/analytics/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/analytics/identifyuser/index.mdx b/src/pages-old/lib-v1/analytics/identifyuser/index.mdx new file mode 100644 index 00000000000..85753b560f6 --- /dev/null +++ b/src/pages-old/lib-v1/analytics/identifyuser/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/analytics/record/index.mdx b/src/pages-old/lib-v1/analytics/record/index.mdx new file mode 100644 index 00000000000..e3b578cea9a --- /dev/null +++ b/src/pages-old/lib-v1/analytics/record/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/access_credentials/index.mdx b/src/pages-old/lib-v1/auth/access_credentials/index.mdx new file mode 100644 index 00000000000..c53acfad46b --- /dev/null +++ b/src/pages-old/lib-v1/auth/access_credentials/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/advanced/index.mdx b/src/pages-old/lib-v1/auth/advanced/index.mdx new file mode 100644 index 00000000000..269b0ec504f --- /dev/null +++ b/src/pages-old/lib-v1/auth/advanced/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/auth-events/index.mdx b/src/pages-old/lib-v1/auth/auth-events/index.mdx new file mode 100644 index 00000000000..d29f6406276 --- /dev/null +++ b/src/pages-old/lib-v1/auth/auth-events/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/delete_user/index.mdx b/src/pages-old/lib-v1/auth/delete_user/index.mdx new file mode 100644 index 00000000000..3b68987f853 --- /dev/null +++ b/src/pages-old/lib-v1/auth/delete_user/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/device_features/index.mdx b/src/pages-old/lib-v1/auth/device_features/index.mdx new file mode 100644 index 00000000000..28b9bcd2e87 --- /dev/null +++ b/src/pages-old/lib-v1/auth/device_features/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/emailpassword/index.mdx b/src/pages-old/lib-v1/auth/emailpassword/index.mdx new file mode 100644 index 00000000000..975bf023519 --- /dev/null +++ b/src/pages-old/lib-v1/auth/emailpassword/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/escapehatch/index.mdx b/src/pages-old/lib-v1/auth/escapehatch/index.mdx new file mode 100644 index 00000000000..1b043c9e3ea --- /dev/null +++ b/src/pages-old/lib-v1/auth/escapehatch/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/existing-resources/index.mdx b/src/pages-old/lib-v1/auth/existing-resources/index.mdx new file mode 100644 index 00000000000..f9726a429d1 --- /dev/null +++ b/src/pages-old/lib-v1/auth/existing-resources/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/getting-started/index.mdx b/src/pages-old/lib-v1/auth/getting-started/index.mdx new file mode 100644 index 00000000000..e4411ded791 --- /dev/null +++ b/src/pages-old/lib-v1/auth/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/guest_access/index.mdx b/src/pages-old/lib-v1/auth/guest_access/index.mdx new file mode 100644 index 00000000000..46d5027117a --- /dev/null +++ b/src/pages-old/lib-v1/auth/guest_access/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/manageusers/index.mdx b/src/pages-old/lib-v1/auth/manageusers/index.mdx new file mode 100644 index 00000000000..cdc1489e22d --- /dev/null +++ b/src/pages-old/lib-v1/auth/manageusers/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/managing_credentials/index.mdx b/src/pages-old/lib-v1/auth/managing_credentials/index.mdx new file mode 100644 index 00000000000..d1e8c00472c --- /dev/null +++ b/src/pages-old/lib-v1/auth/managing_credentials/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/mfa/index.mdx b/src/pages-old/lib-v1/auth/mfa/index.mdx new file mode 100644 index 00000000000..cadd5655746 --- /dev/null +++ b/src/pages-old/lib-v1/auth/mfa/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/overview/index.mdx b/src/pages-old/lib-v1/auth/overview/index.mdx new file mode 100644 index 00000000000..bc7674caaf5 --- /dev/null +++ b/src/pages-old/lib-v1/auth/overview/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/password_management/index.mdx b/src/pages-old/lib-v1/auth/password_management/index.mdx new file mode 100644 index 00000000000..a280ee18169 --- /dev/null +++ b/src/pages-old/lib-v1/auth/password_management/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/signOut/index.mdx b/src/pages-old/lib-v1/auth/signOut/index.mdx new file mode 100644 index 00000000000..67edd84dea2 --- /dev/null +++ b/src/pages-old/lib-v1/auth/signOut/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/signin/index.mdx b/src/pages-old/lib-v1/auth/signin/index.mdx new file mode 100644 index 00000000000..ca59e5483e4 --- /dev/null +++ b/src/pages-old/lib-v1/auth/signin/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/signin_next_steps/index.mdx b/src/pages-old/lib-v1/auth/signin_next_steps/index.mdx new file mode 100644 index 00000000000..b8d8dd903a9 --- /dev/null +++ b/src/pages-old/lib-v1/auth/signin_next_steps/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/signin_web_ui/index.mdx b/src/pages-old/lib-v1/auth/signin_web_ui/index.mdx new file mode 100644 index 00000000000..004a3ee7cc6 --- /dev/null +++ b/src/pages-old/lib-v1/auth/signin_web_ui/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/signin_with_custom_flow/index.mdx b/src/pages-old/lib-v1/auth/signin_with_custom_flow/index.mdx new file mode 100644 index 00000000000..7173e5b7fb6 --- /dev/null +++ b/src/pages-old/lib-v1/auth/signin_with_custom_flow/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/sms_flows/index.mdx b/src/pages-old/lib-v1/auth/sms_flows/index.mdx new file mode 100644 index 00000000000..1e2e18cff64 --- /dev/null +++ b/src/pages-old/lib-v1/auth/sms_flows/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/social/index.mdx b/src/pages-old/lib-v1/auth/social/index.mdx new file mode 100644 index 00000000000..f4844b75963 --- /dev/null +++ b/src/pages-old/lib-v1/auth/social/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/switch-auth/index.mdx b/src/pages-old/lib-v1/auth/switch-auth/index.mdx new file mode 100644 index 00000000000..638fad10bf7 --- /dev/null +++ b/src/pages-old/lib-v1/auth/switch-auth/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/auth/user-attributes/index.mdx b/src/pages-old/lib-v1/auth/user-attributes/index.mdx new file mode 100644 index 00000000000..95a4c675581 --- /dev/null +++ b/src/pages-old/lib-v1/auth/user-attributes/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/advanced-workflows/index.mdx b/src/pages-old/lib-v1/datastore/advanced-workflows/index.mdx new file mode 100644 index 00000000000..1e70004f370 --- /dev/null +++ b/src/pages-old/lib-v1/datastore/advanced-workflows/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/conflict/index.mdx b/src/pages-old/lib-v1/datastore/conflict/index.mdx new file mode 100644 index 00000000000..91ab4c40e54 --- /dev/null +++ b/src/pages-old/lib-v1/datastore/conflict/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/data-access/index.mdx b/src/pages-old/lib-v1/datastore/data-access/index.mdx new file mode 100644 index 00000000000..bf2cd061bfb --- /dev/null +++ b/src/pages-old/lib-v1/datastore/data-access/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/datastore-events/index.mdx b/src/pages-old/lib-v1/datastore/datastore-events/index.mdx new file mode 100644 index 00000000000..06e754708d1 --- /dev/null +++ b/src/pages-old/lib-v1/datastore/datastore-events/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/getting-started/index.mdx b/src/pages-old/lib-v1/datastore/getting-started/index.mdx new file mode 100644 index 00000000000..85f3548841a --- /dev/null +++ b/src/pages-old/lib-v1/datastore/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/how-it-works/index.mdx b/src/pages-old/lib-v1/datastore/how-it-works/index.mdx new file mode 100644 index 00000000000..49a497771fa --- /dev/null +++ b/src/pages-old/lib-v1/datastore/how-it-works/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/other-methods/index.mdx b/src/pages-old/lib-v1/datastore/other-methods/index.mdx new file mode 100644 index 00000000000..22b05ab947a --- /dev/null +++ b/src/pages-old/lib-v1/datastore/other-methods/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/real-time/index.mdx b/src/pages-old/lib-v1/datastore/real-time/index.mdx new file mode 100644 index 00000000000..2fca5e0ec3c --- /dev/null +++ b/src/pages-old/lib-v1/datastore/real-time/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/relational/index.mdx b/src/pages-old/lib-v1/datastore/relational/index.mdx new file mode 100644 index 00000000000..d21ba37cf3e --- /dev/null +++ b/src/pages-old/lib-v1/datastore/relational/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/schema-updates/index.mdx b/src/pages-old/lib-v1/datastore/schema-updates/index.mdx new file mode 100644 index 00000000000..9e49494fd7f --- /dev/null +++ b/src/pages-old/lib-v1/datastore/schema-updates/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/setup-auth-rules/index.mdx b/src/pages-old/lib-v1/datastore/setup-auth-rules/index.mdx new file mode 100644 index 00000000000..c3cff6d6808 --- /dev/null +++ b/src/pages-old/lib-v1/datastore/setup-auth-rules/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/datastore/sync/index.mdx b/src/pages-old/lib-v1/datastore/sync/index.mdx new file mode 100644 index 00000000000..6f2257cf63e --- /dev/null +++ b/src/pages-old/lib-v1/datastore/sync/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/debugging/dev-menu/index.mdx b/src/pages-old/lib-v1/debugging/dev-menu/index.mdx new file mode 100644 index 00000000000..cf231a2cbeb --- /dev/null +++ b/src/pages-old/lib-v1/debugging/dev-menu/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/geo/escapehatch/index.mdx b/src/pages-old/lib-v1/geo/escapehatch/index.mdx new file mode 100644 index 00000000000..f10e87f8cf4 --- /dev/null +++ b/src/pages-old/lib-v1/geo/escapehatch/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/geo/existing-resources/index.mdx b/src/pages-old/lib-v1/geo/existing-resources/index.mdx new file mode 100644 index 00000000000..4105edee88d --- /dev/null +++ b/src/pages-old/lib-v1/geo/existing-resources/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/geo/getting-started/index.mdx b/src/pages-old/lib-v1/geo/getting-started/index.mdx new file mode 100644 index 00000000000..6b0a40f31fd --- /dev/null +++ b/src/pages-old/lib-v1/geo/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/geo/maps/index.mdx b/src/pages-old/lib-v1/geo/maps/index.mdx new file mode 100644 index 00000000000..9fd2f379602 --- /dev/null +++ b/src/pages-old/lib-v1/geo/maps/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/geo/search/index.mdx b/src/pages-old/lib-v1/geo/search/index.mdx new file mode 100644 index 00000000000..ea7359d5286 --- /dev/null +++ b/src/pages-old/lib-v1/geo/search/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/advanced-workflows/index.mdx b/src/pages-old/lib-v1/graphqlapi/advanced-workflows/index.mdx new file mode 100644 index 00000000000..96eb294261c --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/advanced-workflows/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/authz/index.mdx b/src/pages-old/lib-v1/graphqlapi/authz/index.mdx new file mode 100644 index 00000000000..990fbe46310 --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/authz/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/concepts/index.mdx b/src/pages-old/lib-v1/graphqlapi/concepts/index.mdx new file mode 100644 index 00000000000..ded856e32a1 --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/concepts/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/existing-resources/index.mdx b/src/pages-old/lib-v1/graphqlapi/existing-resources/index.mdx new file mode 100644 index 00000000000..042746647e1 --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/existing-resources/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/getting-started/index.mdx b/src/pages-old/lib-v1/graphqlapi/getting-started/index.mdx new file mode 100644 index 00000000000..3cd362bbe1d --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/mutate-data/index.mdx b/src/pages-old/lib-v1/graphqlapi/mutate-data/index.mdx new file mode 100644 index 00000000000..90f64463823 --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/mutate-data/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/offline/index.mdx b/src/pages-old/lib-v1/graphqlapi/offline/index.mdx new file mode 100644 index 00000000000..e950729e668 --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/offline/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/query-data/index.mdx b/src/pages-old/lib-v1/graphqlapi/query-data/index.mdx new file mode 100644 index 00000000000..76a95119bc9 --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/query-data/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/graphqlapi/subscribe-data/index.mdx b/src/pages-old/lib-v1/graphqlapi/subscribe-data/index.mdx new file mode 100644 index 00000000000..2a45c0ba2f9 --- /dev/null +++ b/src/pages-old/lib-v1/graphqlapi/subscribe-data/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/index.mdx b/src/pages-old/lib-v1/index.mdx new file mode 100644 index 00000000000..6db8b6eb3fb --- /dev/null +++ b/src/pages-old/lib-v1/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { PLATFORM_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/info/app-uninstall/index.mdx b/src/pages-old/lib-v1/info/app-uninstall/index.mdx new file mode 100644 index 00000000000..1cb584fb3ec --- /dev/null +++ b/src/pages-old/lib-v1/info/app-uninstall/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/info/overview/index.mdx b/src/pages-old/lib-v1/info/overview/index.mdx new file mode 100644 index 00000000000..fcc07a829a8 --- /dev/null +++ b/src/pages-old/lib-v1/info/overview/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/escapehatch/index.mdx b/src/pages-old/lib-v1/predictions/escapehatch/index.mdx new file mode 100644 index 00000000000..edc8d993016 --- /dev/null +++ b/src/pages-old/lib-v1/predictions/escapehatch/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/getting-started/index.mdx b/src/pages-old/lib-v1/predictions/getting-started/index.mdx new file mode 100644 index 00000000000..bc235b3d824 --- /dev/null +++ b/src/pages-old/lib-v1/predictions/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/identify-entity/index.mdx b/src/pages-old/lib-v1/predictions/identify-entity/index.mdx new file mode 100644 index 00000000000..a08155a1ae3 --- /dev/null +++ b/src/pages-old/lib-v1/predictions/identify-entity/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/identify-text/index.mdx b/src/pages-old/lib-v1/predictions/identify-text/index.mdx new file mode 100644 index 00000000000..73894e08bad --- /dev/null +++ b/src/pages-old/lib-v1/predictions/identify-text/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/interpret/index.mdx b/src/pages-old/lib-v1/predictions/interpret/index.mdx new file mode 100644 index 00000000000..05b40415205 --- /dev/null +++ b/src/pages-old/lib-v1/predictions/interpret/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/label-image/index.mdx b/src/pages-old/lib-v1/predictions/label-image/index.mdx new file mode 100644 index 00000000000..e77f65b4446 --- /dev/null +++ b/src/pages-old/lib-v1/predictions/label-image/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/text-speech/index.mdx b/src/pages-old/lib-v1/predictions/text-speech/index.mdx new file mode 100644 index 00000000000..cebf0e56d6b --- /dev/null +++ b/src/pages-old/lib-v1/predictions/text-speech/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/transcribe/index.mdx b/src/pages-old/lib-v1/predictions/transcribe/index.mdx new file mode 100644 index 00000000000..de36fee1566 --- /dev/null +++ b/src/pages-old/lib-v1/predictions/transcribe/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/predictions/translate/index.mdx b/src/pages-old/lib-v1/predictions/translate/index.mdx new file mode 100644 index 00000000000..26d86027c67 --- /dev/null +++ b/src/pages-old/lib-v1/predictions/translate/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/async/index.mdx b/src/pages-old/lib-v1/project-setup/async/index.mdx new file mode 100644 index 00000000000..e0fe9e67e3f --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/async/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/combine/index.mdx b/src/pages-old/lib-v1/project-setup/combine/index.mdx new file mode 100644 index 00000000000..29f52bfa896 --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/combine/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/coroutines/index.mdx b/src/pages-old/lib-v1/project-setup/coroutines/index.mdx new file mode 100644 index 00000000000..c8be9be5b6b --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/coroutines/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/create-application/index.mdx b/src/pages-old/lib-v1/project-setup/create-application/index.mdx new file mode 100644 index 00000000000..cea0ee06d76 --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/create-application/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/escape-hatch/index.mdx b/src/pages-old/lib-v1/project-setup/escape-hatch/index.mdx new file mode 100644 index 00000000000..393712dcd45 --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/escape-hatch/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/platform-setup/index.mdx b/src/pages-old/lib-v1/project-setup/platform-setup/index.mdx new file mode 100644 index 00000000000..89fa26d4604 --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/platform-setup/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/prereq/index.mdx b/src/pages-old/lib-v1/project-setup/prereq/index.mdx new file mode 100644 index 00000000000..302bd544b57 --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/prereq/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/rxjava/index.mdx b/src/pages-old/lib-v1/project-setup/rxjava/index.mdx new file mode 100644 index 00000000000..d109a01cf45 --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/rxjava/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/project-setup/use-existing-resources/index.mdx b/src/pages-old/lib-v1/project-setup/use-existing-resources/index.mdx new file mode 100644 index 00000000000..32093349db9 --- /dev/null +++ b/src/pages-old/lib-v1/project-setup/use-existing-resources/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/restapi/authz/index.mdx b/src/pages-old/lib-v1/restapi/authz/index.mdx new file mode 100644 index 00000000000..c7f172f50bd --- /dev/null +++ b/src/pages-old/lib-v1/restapi/authz/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/restapi/delete/index.mdx b/src/pages-old/lib-v1/restapi/delete/index.mdx new file mode 100644 index 00000000000..e871ee81340 --- /dev/null +++ b/src/pages-old/lib-v1/restapi/delete/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/restapi/existing-resources/index.mdx b/src/pages-old/lib-v1/restapi/existing-resources/index.mdx new file mode 100644 index 00000000000..04a5505cec5 --- /dev/null +++ b/src/pages-old/lib-v1/restapi/existing-resources/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/restapi/fetch/index.mdx b/src/pages-old/lib-v1/restapi/fetch/index.mdx new file mode 100644 index 00000000000..8605e68badb --- /dev/null +++ b/src/pages-old/lib-v1/restapi/fetch/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/restapi/getting-started/index.mdx b/src/pages-old/lib-v1/restapi/getting-started/index.mdx new file mode 100644 index 00000000000..4b8b0fac334 --- /dev/null +++ b/src/pages-old/lib-v1/restapi/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/restapi/update/index.mdx b/src/pages-old/lib-v1/restapi/update/index.mdx new file mode 100644 index 00000000000..da48e425cfb --- /dev/null +++ b/src/pages-old/lib-v1/restapi/update/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/ssr/nextjs/index.mdx b/src/pages-old/lib-v1/ssr/nextjs/index.mdx new file mode 100644 index 00000000000..51729a06853 --- /dev/null +++ b/src/pages-old/lib-v1/ssr/nextjs/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/ssr/nextjs/q/platform/[platform].mdx b/src/pages-old/lib-v1/ssr/nextjs/q/platform/[platform].mdx index ab43cdc6a94..dcd32c693f1 100644 --- a/src/pages-old/lib-v1/ssr/nextjs/q/platform/[platform].mdx +++ b/src/pages-old/lib-v1/ssr/nextjs/q/platform/[platform].mdx @@ -1,9 +1,26 @@ export const meta = { title: `Use Amplify with Next.js`, description: `Use Amplify with Next.js`, - filterKey: 'platform', + filterKey: "platform", supportedPlatforms: INTEGRATION_FILTER_OPTIONS }; + +import { generateStaticPaths } from "@/utils/generateStaticPaths.tsx"; + +import { INTEGRATION_FILTER_OPTIONS } from "@/utils/filter-data.ts"; + +export const getStaticPaths = () => { + return generateStaticPaths(meta.filterKey, meta.supportedPlatforms); +}; + +export const getStaticProps = (context) => { + return { + props: { + platform: context.params.platform, + filterKind: meta.filterKey + } + }; +}; import { generateStaticPaths } from '@/utils/generateStaticPaths.tsx'; diff --git a/src/pages-old/lib-v1/storage/configureaccess/index.mdx b/src/pages-old/lib-v1/storage/configureaccess/index.mdx new file mode 100644 index 00000000000..26293198298 --- /dev/null +++ b/src/pages-old/lib-v1/storage/configureaccess/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/copy/index.mdx b/src/pages-old/lib-v1/storage/copy/index.mdx new file mode 100644 index 00000000000..cfb9382afd2 --- /dev/null +++ b/src/pages-old/lib-v1/storage/copy/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/download/index.mdx b/src/pages-old/lib-v1/storage/download/index.mdx new file mode 100644 index 00000000000..1e66014f598 --- /dev/null +++ b/src/pages-old/lib-v1/storage/download/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/escapehatch/index.mdx b/src/pages-old/lib-v1/storage/escapehatch/index.mdx new file mode 100644 index 00000000000..e31a142b28f --- /dev/null +++ b/src/pages-old/lib-v1/storage/escapehatch/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/existing-resources/index.mdx b/src/pages-old/lib-v1/storage/existing-resources/index.mdx new file mode 100644 index 00000000000..818178b2c49 --- /dev/null +++ b/src/pages-old/lib-v1/storage/existing-resources/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/get-properties/index.mdx b/src/pages-old/lib-v1/storage/get-properties/index.mdx new file mode 100644 index 00000000000..9d66ba7bca4 --- /dev/null +++ b/src/pages-old/lib-v1/storage/get-properties/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/getting-started/index.mdx b/src/pages-old/lib-v1/storage/getting-started/index.mdx new file mode 100644 index 00000000000..d417c4f35f0 --- /dev/null +++ b/src/pages-old/lib-v1/storage/getting-started/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/list/index.mdx b/src/pages-old/lib-v1/storage/list/index.mdx new file mode 100644 index 00000000000..f5973713bd4 --- /dev/null +++ b/src/pages-old/lib-v1/storage/list/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/overview/index.mdx b/src/pages-old/lib-v1/storage/overview/index.mdx new file mode 100644 index 00000000000..b42263e0d8c --- /dev/null +++ b/src/pages-old/lib-v1/storage/overview/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/remove/index.mdx b/src/pages-old/lib-v1/storage/remove/index.mdx new file mode 100644 index 00000000000..efbb59c425b --- /dev/null +++ b/src/pages-old/lib-v1/storage/remove/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/transfer-acceleration/index.mdx b/src/pages-old/lib-v1/storage/transfer-acceleration/index.mdx new file mode 100644 index 00000000000..2fef290a898 --- /dev/null +++ b/src/pages-old/lib-v1/storage/transfer-acceleration/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/triggers/index.mdx b/src/pages-old/lib-v1/storage/triggers/index.mdx new file mode 100644 index 00000000000..5d6ad19c9f1 --- /dev/null +++ b/src/pages-old/lib-v1/storage/triggers/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/storage/upload/index.mdx b/src/pages-old/lib-v1/storage/upload/index.mdx new file mode 100644 index 00000000000..894dd223e2e --- /dev/null +++ b/src/pages-old/lib-v1/storage/upload/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/troubleshooting/upgrading/index.mdx b/src/pages-old/lib-v1/troubleshooting/upgrading/index.mdx new file mode 100644 index 00000000000..6ee9f8eb85a --- /dev/null +++ b/src/pages-old/lib-v1/troubleshooting/upgrading/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages-old/lib-v1/utilities/hub/index.mdx b/src/pages-old/lib-v1/utilities/hub/index.mdx new file mode 100644 index 00000000000..fba0a73f6bc --- /dev/null +++ b/src/pages-old/lib-v1/utilities/hub/index.mdx @@ -0,0 +1,12 @@ +import ChooseFilterPage from '@/components/ChooseFilterPage'; + +import { INTEGRATION_FILTER_OPTIONS } from '@/utils/filter-data.ts'; + + diff --git a/src/pages/[platform]/build-a-backend/auth/enable-sign-up/index.mdx b/src/pages/[platform]/build-a-backend/auth/enable-sign-up/index.mdx index 47eecec1c26..7f9b926870c 100644 --- a/src/pages/[platform]/build-a-backend/auth/enable-sign-up/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/enable-sign-up/index.mdx @@ -22,7 +22,7 @@ export function getStaticProps(context) { -In this guide, you will set up sign-up, sign-in, and sign-out using the Amplify Libraries and then test this functionality. This includes a review of sign-up methods provided by Amplify, the specific user attributes used by Amazon Cognito, how to confirm users after initial sign-up, and the differences between local and global sign-out. Once set up, you can connect this functionality to your frontend UI. +In this guide, you will set up sign-up, sign-in, and sign-out using the Amplify Libraries and then test this functionality. This includes a review of sign-up methods provided by Amplify, the specific user attributes used by Amazon Cognito, how to confirm users after initial sign-up, and the differences between local and global sign-out. Once set up, you can connect this functionality to your frontend UI. @@ -32,7 +32,7 @@ This guide is for those who want to set up Amplify Auth with the Amplify Librari -Before you begin, you should have finished the [_Set up and connect backend resources_](/lib/auth/getting-started/q/platform/js/#set-up-and-connect-backend-resources) section of the _Set up Amplify Auth_ guide. +Before you begin, you should have finished the [*Set up and connect backend resources*](/lib/auth/getting-started/q/platform/js/#set-up-and-connect-backend-resources) section of the *Set up Amplify Auth* guide. @@ -44,7 +44,7 @@ This guide is for those who want to set up Amplify Auth with the Amplify Librari -Before you begin, you should have finished the [_Set up backend resources_](/lib/auth/getting-started/q/platform/react-native/#set-up-backend-resources) section of the _Set up Amplify Auth_ guide. +Before you begin, you should have finished the [*Set up backend resources*](/lib/auth/getting-started/q/platform/react-native/#set-up-backend-resources) section of the *Set up Amplify Auth* guide. @@ -97,7 +97,7 @@ Once you have these decisions in mind, you are ready to enable sign-up, sign-in, You can add the functionality to enable sign-up, sign-in, and sign-out with the Amplify Libraries. You can connect this to an existing UI or create your own. -For many apps, user sign-up and sign-in with a username and password is all that is required. Once authenticated, the app can talk to an API to access and mutate data. +For many apps, user sign-up and sign-in with a username and password is all that is required. Once authenticated, the app can talk to an API to access and mutate data. @@ -382,18 +382,16 @@ Congratulations! You finished the **Enable sign-up, sign-in, sign-out** guide an Now that you completed setting up Amplify Auth with username and password, you may also want to add some additional features. We recommend: - -- [Social sign-in (OAuth)](/lib/auth/social/q/platform/js/) -- [Multi-factor authentication](/lib/auth/mfa/q/platform/js/) + - [Social sign-in (OAuth)](/lib/auth/social/q/platform/js/) + - [Multi-factor authentication](/lib/auth/mfa/q/platform/js/) -Now that you completed setting up Amplify Auth with username and password, you may also want to add some additional features. We recommend: - -- [Social sign-in (OAuth)](/lib/auth/social/q/platform/react-native/) -- [Multi-factor authentication](/lib/auth/mfa/q/platform/react-native/) + Now that you completed setting up Amplify Auth with username and password, you may also want to add some additional features. We recommend: + - [Social sign-in (OAuth)](/lib/auth/social/q/platform/react-native/) + - [Multi-factor authentication](/lib/auth/mfa/q/platform/react-native/) diff --git a/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx b/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx index c5ac365f25b..44fad361a8a 100644 --- a/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx @@ -26,7 +26,7 @@ import guide from '/src/fragments/common/guide-header.mdx'; -In this guide, you will learn how to set up Amplify **Auth**. This includes setting up and connecting your backend resources, determining your integration path, and enabling sign-up, sign-in, and sign-out with the Authenticator UI component. We will also provide more context on how resources are managed and created with Amplify to help you make decisions, and understand any long-term impact of those decisions. +In this guide, you will learn how to set up Amplify **Auth**. This includes setting up and connecting your backend resources, determining your integration path, and enabling sign-up, sign-in, and sign-out with the Authenticator UI component. We will also provide more context on how resources are managed and created with Amplify to help you make decisions and understand any long-term impact of those decisions. Before you begin, you will need: @@ -34,7 +34,7 @@ Before you begin, you will need: - [npm](https://www.npmjs.com/) v6.14.4 or later - [git](https://git-scm.com/) v2.14.1 or later - A frontend app -- If you want Amplify to set up and manage your backend resources you need to [install and configure](/lib/project-setup/prereq/q/platform/js/) the Amplify CLI. Make sure to also create a new Amplify project using `amplify init` in your terminal, or pull in an existing Amplify project to your frontend app by using `amplify pull`. +- If you want Amplify to set up and manage your backend resources, you need to [install and configure](/lib/project-setup/prereq/q/platform/js/) the Amplify CLI. Make sure to also create a new Amplify project using `amplify init` in your terminal, or pull in an existing Amplify project to your frontend app by using `amplify pull`. ## Set up and connect backend resources @@ -42,18 +42,16 @@ We will review the paths to integrate Amplify Auth before you set up and integra ### Decide how to create and manage your backend resources -You can create and manage your Authentication resources with Amplify by using the Amplify CLI, Amplify Studio, or manage them yourself with tools such as CDK and CloudFormation. The path we recommend is via the Amplify CLI, which allows you to create new authentication resources or import existing ones. However, you can also use the Amplify Studio console to configure or use existing resources and directly connect them to your application using the Amplify Libraries. These tools will help you with creating and managing your resources. +You can create and manage your Authentication resources with Amplify by using the Amplify CLI, Amplify Studio, or manage them yourself with tools such as CDK and CloudFormation. The path we recommend is through the Amplify CLI, which allows you to create new authentication resources or import existing ones. However, you can also use the Amplify Studio console to configure or use existing resources and directly connect them to your application using the Amplify Libraries. These tools will help you with creating and managing your resources. -With Amplify Auth, you can use a username and password as an authentication method, use a social provider such as "Sign In with Google" or "Sign in With Apple," or create a fully custom authentication flow. +With Amplify Auth, you can use a username and password as an authentication method, use a social provider such as "Sign in with Google" or "Sign in with Apple," or create a fully custom authentication flow. Amplify helps you secure your application while providing an easy sign-in experience for your users. This experience is influenced by your security strategy. This security strategy includes the authentication method, security credentials, and enabling additional verification when needed. -- _Authentication_ is a process to validate **who you are** (abbreviated as _AuthN_). The system which does this validation is referred to as an Identity Provider or IdP. This can be your own self-hosted IdP or a cloud service. Oftentimes, this IdP is a social provider such as Facebook, Google, or Amazon. -- _Authorization_ is the process of validating **what you can access** (abbreviated as _AuthZ_). This is sometimes done by looking at tokens with custom logic, predefined rules, or signed requests with policies. - -Common authentication methods and associated risks include: + - *Authentication* is a process to validate **who you are** (abbreviated as *AuthN*). The system that does this validation is referred to as an Identity Provider or IdP. This can be your own self-hosted IdP or a cloud service. Oftentimes, this IdP is a social provider such as Facebook, Google, or Amazon. + - *Authorization* is the process of validating **what you can access** (abbreviated as *AuthZ*). This is sometimes done by looking at tokens with custom logic, predefined rules, or signed requests with policies. - Username/password which is simple to set up but prone to compromise. - Social provider federation which enables easier access for your users but shares data with third parties. @@ -61,32 +59,32 @@ Common authentication methods and associated risks include: You can improve security credentials and verification for these authentication methods by: - Adding password policies that ensure stronger passwords are created by your users. -- Require additional contact information from users before they can reset passwords. -- Add multi-factor authentication which adds a layer of security at sign-in but may also add friction for your users. +- Requiring additional contact information from users before they can reset passwords. +- Adding multi-factor authentication (MFA) which adds a layer of security at sign-in but may also add friction for your users.
-Amplify uses [Amazon Cognito](https://aws.amazon.com/cognito/) as the main authentication provider. Amazon Cognito is a robust user directory service that handles user registration, authentication, account recovery, and other operations. If you have not worked with Amazon Cognito before we recommend taking a closer look at Amazon Cognito configuration options before you continue, since some of them are irreversible after your resources are created. +Amplify uses [Amazon Cognito](https://aws.amazon.com/cognito/) as the main authentication provider. Amazon Cognito is a robust user directory service that handles user registration, authentication, account recovery, and other operations. If you have not worked with Amazon Cognito before, we recommend taking a closer look at Amazon Cognito configuration options before you continue, since some of them are irreversible after your resources are created. -Amazon Cognito can be customized based on your security strategy for authentication. However, there are some initial configuration options that cannot be changed after the backend resources are configured: +Amazon Cognito can be customized based on your security strategy for authentication. However, some initial configuration options cannot be changed after the backend resources are configured: -- User attributes that are used to identify your individual users (e.g. username, email, etc.) cannot be renamed or deleted. -- Sign-in methods (including username, email, phone, etc.) cannot be added or changed after the initial configuration. This includes both defining which attributes are used to sign in and which attributes are required. Required attributes must have a value for all users once set. -- Verification methods (including username, email, etc.) are the same as required attributes and cannot be removed once configured. +- User attributes that are used to identify your individual users (such as username and email) cannot be renamed or deleted. +- Sign-in methods (including username, email, and phone) cannot be added or changed after the initial configuration. This includes both defining which attributes are used to sign in and which attributes are required. Required attributes must have a value for all users once set. +- Verification methods (including username and email) are the same as required attributes and cannot be removed once configured. - The `sub` attribute is a unique identifier within each user pool that cannot be modified and can be used to index and search users. -- If MFA is set to required for all users, you will need to include MFA setup when users sign up. +- If MFA is set to **required** for all users, you will need to include MFA setup when users sign up. -See the [Amazon Cognito documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html) for more details on these settings including [User pool attributes](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html) and [Adding MFA to a user pool](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html). +See the [Amazon Cognito documentation]( https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html) for more details on these settings, including [User pool attributes](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html) and [Adding MFA to a user pool](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html). ### Set up and configure Amplify Auth -In this section you will learn how to set up your backend resources and install the Amplify Libraries to use with your application. +In this section, you will learn how to set up your backend resources and install the Amplify Libraries to use with your application. #### Set up your Auth backend resources @@ -97,7 +95,7 @@ You can set up your backend resources with the Amplify CLI, Amplify Studio, or u > Prerequisites: [Install and configure](/lib/project-setup/prereq/q/platform/js/) the Amplify CLI in addition to the Amplify Libraries. -To start provisioning auth resources in the backend, go to your project directory and **execute the command**: +To start provisioning auth resources in the backend, go to your project directory and **run the command**: ```bash amplify add auth @@ -108,17 +106,15 @@ amplify add auth ? How do you want users to be able to sign in? Username ? Do you want to configure advanced settings? No, I am done. ``` - -> If you have previously enabled an Amplify category that uses Auth behind the scenes (e.g. API category), you can run the `amplify update auth` command to edit your configuration if needed. +> If you have previously enabled an Amplify category that uses Auth behind the scenes (such as API category), you can run the `amplify update auth` command to edit your configuration if needed. The CLI prompts will help you to customize your auth flow for your app. With the provided options, you can: +- Customize sign-in/registration flow +- Customize email and SMS messages for multi-factor authentication +- Customize attributes for your users, such as name and email +- Enable third-party social providers, such as Facebook, Twitter, Google, and Amazon -- Customize sign-in/registration flow -- Customize email and SMS messages for Multi-Factor Authentication -- Customize attributes for your users, e.g. name, email -- Enable 3rd party social providers, e.g. Facebook, Twitter, Google and Amazon - -If you wish to federate with social providers [you will need to configure them first](/lib/auth/social#social-providers-and-federation). +If you wish to federate with social providers, [you will need to configure them first](/lib/auth/social#social-providers-and-federation). After configuring your Authentication options, update your backend and deploy the service by running the `push` command: @@ -126,13 +122,13 @@ After configuring your Authentication options, update your backend and deploy th amplify push ``` -Now, the authentication service has been deployed and you can start using it. To view the deployed services in your project at any time, go to Amplify Console by running the following command: +Now, the authentication service has been deployed and you can start using it. To view the deployed services in your project at any time, go to the Amplify console by running the following command: ```bash amplify console ``` -In your app's entry point (i.e. **App.js**, **index.js**, **\_app.js**, or **main.js**), import and load the configuration file: +In your app's entry point (specifically, **App.js**, **index.js**, **_app.js**, or **main.js**), import and load the configuration file: ```javascript import { Amplify, Auth } from 'aws-amplify'; @@ -146,7 +142,7 @@ Amplify.configure(awsconfig); > Prerequisites: [Install and configure](/lib/project-setup/prereq/q/platform/js/) the Amplify CLI in addition to the Amplify Libraries. -To import existing Amazon Cognito resources into your Amplify project, **execute the command**: +To import existing Amazon Cognito resources into your Amplify project, **run the command**: ```bash amplify import auth @@ -158,13 +154,12 @@ amplify import auth Cognito User Pool only ``` -Once you've selected an option, you'll be able to search for and import an existing Cognito User Pool and Identity Pool (or User Pool only) within your AWS account. The `amplify import auth` command will also do the following: - +Once you've selected an option, you will be able to search for and import an existing Cognito User Pool and Identity Pool (or User Pool only) within your AWS account. The `amplify import auth` command will also do the following: - Automatically populate your Amplify Library configuration files (aws-exports.js, amplifyconfiguration.json) with your chosen Amazon Cognito resource information -- Provide your designated existing Cognito resource as the authentication & authorization mechanism for all auth-dependent categories (API, Storage and more) +- Provide your designated existing Cognito resource as the authentication and authorization mechanism for all auth-dependent categories (API, Storage, and more) - Enable Lambda functions to access the chosen Cognito resource if you permit it -> If you have previously enabled an Amplify category that uses Auth behind the scenes (e.g. API category), you can run the `amplify update auth` command to edit your configuration if needed. +> If you have previously enabled an Amplify category that uses Auth behind the scenes (such as API category), you can run the `amplify update auth` command to edit your configuration if needed. After configuring your Authentication options, update your backend and deploy the service by running the `push` command: @@ -172,13 +167,13 @@ After configuring your Authentication options, update your backend and deploy th amplify push ``` -Now, the authentication service has been deployed and you can start using it. To view the deployed services in your project at any time, go to Amplify Console by running the following command: +Now, the authentication service has been deployed and you can start using it. To view the deployed services in your project at any time, go to the Amplify console by running the following command: ```bash amplify console ``` -In your app's entry point (i.e. **App.js**, **index.js**, **\_app.js**, or **main.js**), import and load the configuration file: +In your app's entry point (specifically, **App.js**, **index.js**, **_app.js**, or **main.js**), import and load the configuration file: ```javascript import { Amplify, Auth } from 'aws-amplify'; @@ -192,14 +187,19 @@ Amplify.configure(awsconfig); > Prerequisites: [Install and configure](/lib/project-setup/prereq/q/platform/js/) the Amplify CLI in addition to the Amplify Libraries. -Amplify Studio allows you create auth resources, set up authorization rules, implement Multi-factor authentication (MFA), and more via an intuitive UI. To set up Authentication through the Amplify Studio, take the following steps: +Amplify Studio allows you to create auth resources, set up authorization rules, implement multi-factor authentication (MFA), and more through an intuitive UI. To set up Authentication through Amplify Studio, take the following steps: 1. **Sign in** to the [AWS Management Console](https://console.aws.amazon.com/console/home) and open AWS Amplify. 2. In the navigation pane, **choose an application**. 3. On the application information page, choose the **Backend environments** tab, then choose **Launch Studio**. 4. On the **Set up** menu, choose **Authentication**. -5. In the **Configure log in** section, choose a login mechanism to add from the **Add login mechanism** list. Valid options are _Username_, _Phone number_, _Facebook_, _Google_, _Amazon_, and _Sign in with Apple_. If you choose one of the social sign-in mechanisms (i.e. _Facebook_, _Google_, _Amazon_, or _Sign in with Apple_), you will also need to enter your _App ID_, _App Secret_, and redirect URLs. +5. In the **Configure login** section, choose a login mechanism to add from the **Add login mechanism** list. Valid options are _Username_, _Phone number_, _Facebook_, _Google_, _Amazon_, and _Sign in with Apple_. If you choose one of the social sign-in mechanisms (specifically, _Facebook_, _Google_, _Amazon_, or _Sign in with Apple_), you will also need to enter your _App ID_, _App Secret_, and redirect URLs. 6. (Optional) Add multi-factor authentication (MFA). MFA is set to **Off** by default. To turn on MFA, do the following in the **Multi-factor authentication** section: +* Choose **Enforced** to require MFA for all users or choose **Optional** to allow individual users to enable MFA. +* (Optional) Choose **SMS**, and enter your SMS message. +* (Optional) Choose **Authenticator Application** if you want your app to load with an authentication flow that includes sign-up and sign-in. +7. In the **Configure sign-up** section, expand **Password protection settings** and customize the password policy settings to enforce. Choose **Save and Deploy**. This starts a CloudFormation deployment with the progress displayed in the upper right corner of the page. +8. After creating and configuring your auth resources, you will need to pull them down from Amplify Studio. To do so, simply select "Local setup instructions" in the upper right-hand corner of the Studio console and run the CLI command it provides at the root directory of your app. - Choose **Enforced** to require MFA for all users or choose **Optional** to allow individual users to enable MFA. - (Optional) Choose **SMS**, and enter your SMS message. @@ -214,9 +214,9 @@ Amplify Studio allows you create auth resources, set up authorization rules, imp -Existing Authentication resources from AWS (e.g. Amazon Cognito UserPools or Identity Pools) can be used with the Amplify Libraries by calling the `Amplify.configure()` method. +Existing Authentication resources from AWS (such as Amazon Cognito User Pools or Identity Pools) can be used with the Amplify Libraries by calling the `Amplify.configure()` method. -In your app's entry point (i.e. **App.js**, **index.js**, **\_app.js**, or **main.js**), import and load the configuration file: +In your app's entry point (specifically **App.js**, **index.js**, **_app.js**, or **main.js**), import and load the configuration file: ```javascript import { Amplify, Auth } from 'aws-amplify'; @@ -293,24 +293,16 @@ const currentConfig = Auth.configure(); ``` - If your existing UserPool client has a required attribute that is NOT set to - mutable, you may face login issues when using Social sign-in. To resolve this, - you will need to - - create a new UserPool client - - and mark the required attribute as mutable. +If your existing user pool client has a required attribute that is *not* set to mutable, you may face login issues when using social sign-in. To resolve this, you will need to create a new user pool client and mark the required attribute as mutable. #### OAuth configuration parameters: - -These settings can be found in the Cognito User Pools console under **App Integration** section - -- `domain`: This can be found in the **Domain name** sub section -- `scope`: Remember to have the scope allowed on the Cognito App client, this can be found on **App client settings** sub section -- `redirectSignIn`: URL must be present on **Callback URL(s)** , check on **App client settings** sub section -- `redirectSignOut`: URL must be present on **Sign out URL(s)**, check on **App client settings** sub section -- `responseType`: Option must be enabled on the App client, look for **Allowed OAuth Flows** on **App client settings** sub section. _Authorization code grant_ is for 'code' value and _Implicit grant_ is for 'token' value. +These settings can be found in the Cognito User Pools console under the **App Integration** section +- `domain`: This can be found in the **Domain name** subsection +- `scope`: Remember to have the scope allowed on the Cognito App client; this can be found in the **App client settings** subsection +- `redirectSignIn`: URL must be present on **Callback URL(s)**; check in the **App client settings** subsection +- `redirectSignOut`: URL must be present on **Sign out URL(s)**; check in the **App client settings** subsection +- `responseType`: Option must be enabled on the App client; look for **Allowed OAuth Flows** in the **App client settings** subsection. *Authorization code grant* is for 'code' value and *Implicit grant* is for 'token' value. @@ -324,23 +316,23 @@ Before you implement Auth on your frontend application, you will want to evaluat ### Compare implementation options -There are a few options to implement Auth depending on how much customization you will need: +There are a few options to implement Auth, depending on how much customization you will need: | | Amplify Authenticator | Amplify Libraries | | :-- | :-- | :-- | | **Description** | Open source drop-in UI component for authentication | Low-level building blocks for implementing authentication | | **Benefits** | Automatically integrates with your existing Amplify configuration and allows you to easily add the entire authentication flow to your application. You can then customize themes to adjust colors and styling as needed. | Gives you full control over the UI and logic implementation. | -| **Constraints** | Dependent on Amplify CLI for provisioning resources. | Requires the building of screens and frontend logic to enable the sign in and registration experiences. | +| **Constraints** | Dependent on Amplify CLI for provisioning resources. | Requires the building of screens and frontend logic to enable the sign-in and registration experiences. |
-We recommend using the Authenticator UI component for quick and easy set up and then use the Amplify Libraries to customize the user experience and logic as needed. Once you decide which option will work for your use case, you can continue implementing authentication on your frontend application. If you prefer to work directly with the APIs, you can review the [_Enable Sign-up, Sign-in, and Sign-out_](/lib/auth/emailpassword/q/platform/js/) guide. +We recommend using the Authenticator UI component for quick and easy setup and then use the Amplify Libraries to customize the user experience and logic as needed. Once you decide which option will work for your use case, you can continue implementing authentication on your frontend application. If you prefer to work directly with the APIs, you can review the [*Enable sign-up, sign-in, and sign-out*](/lib/auth/emailpassword/q/platform/js/) guide. ## Build an Authentication experience using the Authenticator -Creating the sign-in flow can be quite difficult and time consuming to get right. However, Amplify has the Authenticator UI component which you can use to quickly build the entire authentication flow for your app, using your backend configuration. +Creating the sign-in flow can be quite difficult and time-consuming to get right. However, Amplify has the Authenticator UI component which you can use to quickly build the entire authentication flow for your app, using your backend configuration. -Amplify has pre-built UI components for React, Vue, Angular, React Native, Swift, Android, and Flutter. In this guide we are focusing on those for web applications. +Amplify has pre-built UI components for React, Vue, Angular, React Native, Swift, Android, and Flutter. In this guide, we are focusing on those for web applications. @@ -355,7 +347,7 @@ Next, open **src/App.js** and add the `withAuthenticator` component. **withAuthenticator** -The `withAuthenticator` is a higher-order component (HoC) that wraps `Authenticator`. You'll also notice the `user` and `signOut` are provided to the wrapped component. +The `withAuthenticator` is a higher-order component (HoC) that wraps `Authenticator`. You will also notice that `user` and `signOut` are provided to the wrapped component. **Usage** @@ -423,7 +415,7 @@ Next, open **src/App.js** and add the `Authenticator` component. **Authenticator** -The `Authenticator` component offers a simple way to add authentication flows into your app. This component encapsulates an authentication workflow in the framework of your choice and is backed by the cloud resources set up in your Auth cloud resources. You’ll also notice that `user` and `signOut` are passed to the inner template. +The `Authenticator` component offers a simple way to add authentication flows into your app. This component encapsulates an authentication workflow in the framework of your choice and is backed by the cloud resources set up in your Auth cloud resources. You will also notice that `user` and `signOut` are passed to the inner template. ```html