Skip to content

Commit f79c21b

Browse files
katiegoinesjimblancrenebrandelatierianHuiSF
authored
Jtbd with expander (#5683)
* chore: Add instructions on using Next.js App Router (#5463) * chore: Update JS Analytics docs to clarify `immediate` flag usage with Kinesis. * chore: Added a section with information on using SSR with Next.js App Router enabled apps. * Cleanup * Cleanup * PR feedback * PR feedback * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * PR feedback. * Formatting changes. * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> * fix: update amplifyconfiguration.json links and wording (#5459) * chore(flutter,js): clarify the timeliness of validateObjectExistence flag (#5447) * feat(predictions): add amplify-swift predictions v2 documentation (#5427) * add dir paths * update getting started * update identify pages * update interpret APIs * update texttospeech * update transcribe * update translate text * final api updates * add predictions to getting started > next steps * card overlap was fixed (#5457) Co-authored-by: Roman Lavrenov <[email protected]> * feat: adds index directive limitation and callout (#5464) * feat: adds index directive limitation and callout * fix: language typo * chore(deps): bump @aws-amplify/ui-react from 4.6.0 to 4.6.1 (#5444) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @aws-amplify/amplify-cli-core from 4.0.4 to 4.0.5 Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.0.4 to 4.0.5. - [Release notes](https://github.com/aws-amplify/amplify-cli/releases) - [Changelog](https://github.com/aws-amplify/amplify-cli/blob/dev/packages/amplify-cli-core/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/[email protected]/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] <[email protected]> * Update Readme.md (#5475) Minor grammatical and punctuation changes. * chore(JS): callout for Push Notification migration guide (#5466) * chore(JS): callout for pn migration guide * chore(JS): callout for pn migration guide * chore(CLI): Block switcher for admin actions (#5452) * Block switcher for admin actions * Update src/pages/cli/auth/admin.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/auth/admin.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * feat: Multi select mock and functions (#5450) * feat: adds info on multiSelect workflow for mock and functions * Update src/pages/cli/usage/mock.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/usage/mock.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * docs(graphql): add sample code reference to cli iam auth section (#5428) * Add DynamoDB config parameters override samples (#5305) * Update override.mdx Add DynamoDB config parameters override samples * Update override.mdx Modified raw url to readable link * Update override.mdx added ProvisionedThroughput reference link * Update override.mdx * Update override.mdx * Update override.mdx add GSI provisionedThroughput overiride sample * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update src/pages/cli/graphql/override.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> --------- Co-authored-by: josef <[email protected]> Co-authored-by: Amplifiyer <[email protected]> Co-authored-by: Rene Brandel <[email protected]> * Update Amplify Android versions (#5469) * Update versions.ts * Update Amplify Android version * Wrpeck/formbuilder update (#5473) * small adjustment to language * adding storagemanager documentation * Adding relationships documentation * final edits to v1 relationships and storage * Update data-binding.mdx Adjusting header for clarity * Update data-binding.mdx Removed unnecessary hint * Update special-inputs.mdx Additional configuration changes * Update data-binding.mdx minor change to heading --------- Co-authored-by: wpeck-amplify <[email protected]> * update import * update vm2 * update dev preview mention (#5484) * update dev preview mention * Update src/fragments/lib/project-setup/flutter/prereq/prereq.mdx Co-authored-by: Jordan Nelson <[email protected]> --------- Co-authored-by: Jordan Nelson <[email protected]> * chore: remove stale explanations from aws-exports.js file reference (#5487) * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5485) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.1.1 to 2.2.0. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add limitation on figma to code (#5482) * chore(deps): bump @aws-amplify/ui-react from 4.6.1 to 4.6.2 (#5480) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/HEAD/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(predictions): make sure refer Predictions class before using it (#5478) * Addresses aws-amplify/admin-ui#443 (#4340) * Addresses aws-amplify/admin-ui#443 * Update [platform].mdx * Update [platform].mdx * Update [platform].mdx --------- Co-authored-by: John Corser <[email protected]> Co-authored-by: Katie Goines <[email protected]> * "+" sign was removed from copied code snippets (#5492) * plus sign was removed from copied code snippets * removed log import --------- Co-authored-by: Roman Lavrenov <[email protected]> * Remove dev-preview language from mobile authenticators on this docs site as well (#5500) Co-authored-by: Thomas Leing <[email protected]> * redesigned feedback component and mobile secondary nav (#5334) * feedback-component * desktop * mobile styling * style changes * fixed transpiler issue * animation updates * adjustments from alee and rlee * window undefined errors * moved component into page from table of contents * fix hight discrepancy * mobile menu update * animation for mobile menus * Update src/components/FeedbackSticky/index.tsx Co-authored-by: Tim Nguyen <[email protected]> * animation speed adjustments * refactor * PR comment resolutions * wording changes ; * fix mobile menu scroll * passing refs * ref passing trials * .. * fix hook issues and finish refactor * cleanup * fix tests * remove errant } * alee & jacob adjustments * make expand longer * collapse duration * animation adjustment * change collapse speed * change animation ease * fix toc on studio mobile * move mobile menu icons close to divider * animation speed adjustment" --------- Co-authored-by: Tim Nguyen <[email protected]> * fix: mobile secondary nav overlap fix (#5505) * styling fixes for issues introduced by #5334 (#5506) * fix for desktop sizing issues * set explicit widths for toc and secondary nav * tablet breakpoint changes * using correct sizing attributes for flex * change width from % to vw * remove unnecessary flex * remove unneeded flex attributes * chore(Flutter): Amplify Flutter API subscription reconnection guide (#5501) * chore(Flutter): Amplify Flutter API subscription reconnection guide * fix: more verbose * update React Native dependency installations to INCLUDE `amazon-cognito-identity-js` or REMOVE `core-js` as needed (#5498) * Misc. docs engineering improvements (#5495) * Misc. docs engineering improvements * Add comment to explain QSP logic --------- Co-authored-by: Thomas Leing <[email protected]> * add maintenance mode callout for Amplify iOS and Android v1 (#5524) * add maintenance mode callout for Amplify iOS and Android v1 * move callout to reusable fragment * add ios callout to each lib-v1 page * add android callout to each lib-v1 page * add missed pages --------- Co-authored-by: Daddala <[email protected]> Co-authored-by: Ian Saultz <[email protected]> * feat: add unsupported field level auth rule (#5502) * Link checker (#5467) * updated link checker to use puppeteer and axios, just commiting the task and does not include the workflow * add link checker workflow * filter out platform selector from results * update link checker task to mjs * update versions of puppeteer and node * update platform pages list * remove unneeded comments * update yml formatting * readd yarn.lock file * remove lock files from gitignore --------- Co-authored-by: Jacob Logan <[email protected]> * feat(hosting): add guide to deploy a Vite site on Amplify Hosting (#5460) * feat(hosting): add guide to deploy a Vite site on Amplify Hosting * added the page to directory.js * fix: Update screenshots on Social Sign In guide for Facebook & Google (#5489) * fix: Update screenshots for Social Sign In guide * pr changes/image fixes * remove feedback component from mobile (#5525) * feat(data): add docs for CRUD operations between Storage files and GraphQL API records (#5503) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * final example updates --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> * chore(amplify-ui): fix docs to change imports to use new packages ui-react-geo and ui-react-notifications (#5508) * chore: fix docs to change imports to use new packages ui-react-geo and ui-react-notifications * chore: replace Geocoder with LocationSearch component * chore: condense step to install aws-amplify * chore: fix install scripts * Update src/fragments/lib/geo/js/geofences.mdx Co-authored-by: Caleb Pollman <[email protected]> * chore: fix Amplify import statement * chore: fix code snippet for App when using withInAppMessaging --------- Co-authored-by: Caleb Pollman <[email protected]> * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5538) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(js): Clarify in-app enum import source (#5531) * chore(js): Clarify in-app enum import source * Use ts/js switcher instead of callout * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout (#5533) * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * address PR feedback --------- Co-authored-by: Rene Brandel <[email protected]> * chore: callout need for additional permissions for containers (#5542) * chore: callout need for additional permissions for containers * remove extra 'policy' * swift(storage): add validateObjectExistence example (#5532) * fix: index entrypoint reference and add react app creation (#5520) * fix: index reference and add react app creation * fix: typo * Update src/pages/console/formbuilder/overview.mdx Co-authored-by: josef <[email protected]> * Update src/pages/console/uibuilder/figmatocode.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * feat(data): add docs for working with multiple files with Storage and GraphQL API; updates to existing code examples (#5539) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * working with multiple images * final example updates * updates * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add all examples * minor updates to existing examples * Apply suggestions from code review Co-authored-by: Rene Brandel <[email protected]> * remove outdated examples * completed multi-file examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Jon Wire <[email protected]> * address PR feedback --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Jon Wire <[email protected]> * chore(deps): bump @aws-amplify/ui-react from 4.6.4 to 5.0.0 (#5544) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.4 to 5.0.0. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add resolution for fast-xml-parser (#5547) * feat(data): Storage and GraphQL API authorization guidance; add additional guidance for error handling and real-time data access; remove existing AppSync SDK docs; update docs comments (#5545) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * working with multiple images * final example updates * updates * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add all examples * minor updates to existing examples * Apply suggestions from code review Co-authored-by: Rene Brandel <[email protected]> * remove outdated examples * completed multi-file examples * auth updates * remove existing complex objects docs * auth updates * checkpoint * move callout to real-time data section * minor updates * move callout, other minor updates * update phrasing * update phrasing * update naming * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx * reshuffled the page order * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Jon Wire <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Jon Wire <[email protected]> * accordion prototype in progress * fix(data): update API + Storage header; minor grammatical updates (#5553) * accordion in progress * fix(auth): fix typo in signIn v2 combine flavor (#5555) * chore(deps): bump @aws-amplify/amplify-cli-core from 4.0.8 to 4.1.0 (#5558) Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.0.8 to 4.1.0. - [Release notes](https://github.com/aws-amplify/amplify-cli/releases) - [Changelog](https://github.com/aws-amplify/amplify-cli/blob/dev/packages/amplify-cli-core/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/[email protected]/packages/amplify-cli-core) --- updated-dependencies: - dependency-name: "@aws-amplify/amplify-cli-core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * accordion is in progress * chore(deps): bump @aws-amplify/ui-react from 5.0.0 to 5.0.1 (#5560) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cli): fix typo for Lambda function resolver event (#5556) Fixed a typo in the description of the "typeName" parameter in the "Structure of the function event" section. * chore(flutter): Update versions (#5564) * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5573) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add getProperties API to JavaScript library (#5568) * chore: add get-properties api to js * chore: add level of access * chore: remove encryption part * chore: change the key type * chore: remove file access level * chore: use await in api call * chore: change key name * chore: addressing feedback * Added stage page for set-up auth job * Merge in from main (#5579) * chore: Add instructions on using Next.js App Router (#5463) * chore: Update JS Analytics docs to clarify `immediate` flag usage with Kinesis. * chore: Added a section with information on using SSR with Next.js App Router enabled apps. * Cleanup * Cleanup * PR feedback * PR feedback * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * PR feedback. * Formatting changes. * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> * fix: update amplifyconfiguration.json links and wording (#5459) * chore(flutter,js): clarify the timeliness of validateObjectExistence flag (#5447) * feat(predictions): add amplify-swift predictions v2 documentation (#5427) * add dir paths * update getting started * update identify pages * update interpret APIs * update texttospeech * update transcribe * update translate text * final api updates * add predictions to getting started > next steps * card overlap was fixed (#5457) Co-authored-by: Roman Lavrenov <[email protected]> * feat: adds index directive limitation and callout (#5464) * feat: adds index directive limitation and callout * fix: language typo * chore(deps): bump @aws-amplify/ui-react from 4.6.0 to 4.6.1 (#5444) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @aws-amplify/amplify-cli-core from 4.0.4 to 4.0.5 Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.0.4 to 4.0.5. - [Release notes](https://github.com/aws-amplify/amplify-cli/releases) - [Changelog](https://github.com/aws-amplify/amplify-cli/blob/dev/packages/amplify-cli-core/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/[email protected]/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] <[email protected]> * Update Readme.md (#5475) Minor grammatical and punctuation changes. * chore(JS): callout for Push Notification migration guide (#5466) * chore(JS): callout for pn migration guide * chore(JS): callout for pn migration guide * chore(CLI): Block switcher for admin actions (#5452) * Block switcher for admin actions * Update src/pages/cli/auth/admin.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/auth/admin.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * feat: Multi select mock and functions (#5450) * feat: adds info on multiSelect workflow for mock and functions * Update src/pages/cli/usage/mock.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/usage/mock.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * docs(graphql): add sample code reference to cli iam auth section (#5428) * Add DynamoDB config parameters override samples (#5305) * Update override.mdx Add DynamoDB config parameters override samples * Update override.mdx Modified raw url to readable link * Update override.mdx added ProvisionedThroughput reference link * Update override.mdx * Update override.mdx * Update override.mdx add GSI provisionedThroughput overiride sample * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update src/pages/cli/graphql/override.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> --------- Co-authored-by: josef <[email protected]> Co-authored-by: Amplifiyer <[email protected]> Co-authored-by: Rene Brandel <[email protected]> * Update Amplify Android versions (#5469) * Update versions.ts * Update Amplify Android version * Wrpeck/formbuilder update (#5473) * small adjustment to language * adding storagemanager documentation * Adding relationships documentation * final edits to v1 relationships and storage * Update data-binding.mdx Adjusting header for clarity * Update data-binding.mdx Removed unnecessary hint * Update special-inputs.mdx Additional configuration changes * Update data-binding.mdx minor change to heading --------- Co-authored-by: wpeck-amplify <[email protected]> * update import * update vm2 * update dev preview mention (#5484) * update dev preview mention * Update src/fragments/lib/project-setup/flutter/prereq/prereq.mdx Co-authored-by: Jordan Nelson <[email protected]> --------- Co-authored-by: Jordan Nelson <[email protected]> * chore: remove stale explanations from aws-exports.js file reference (#5487) * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5485) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.1.1 to 2.2.0. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add limitation on figma to code (#5482) * chore(deps): bump @aws-amplify/ui-react from 4.6.1 to 4.6.2 (#5480) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/HEAD/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(predictions): make sure refer Predictions class before using it (#5478) * Addresses aws-amplify/admin-ui#443 (#4340) * Addresses aws-amplify/admin-ui#443 * Update [platform].mdx * Update [platform].mdx * Update [platform].mdx --------- Co-authored-by: John Corser <[email protected]> Co-authored-by: Katie Goines <[email protected]> * "+" sign was removed from copied code snippets (#5492) * plus sign was removed from copied code snippets * removed log import --------- Co-authored-by: Roman Lavrenov <[email protected]> * Remove dev-preview language from mobile authenticators on this docs site as well (#5500) Co-authored-by: Thomas Leing <[email protected]> * redesigned feedback component and mobile secondary nav (#5334) * feedback-component * desktop * mobile styling * style changes * fixed transpiler issue * animation updates * adjustments from alee and rlee * window undefined errors * moved component into page from table of contents * fix hight discrepancy * mobile menu update * animation for mobile menus * Update src/components/FeedbackSticky/index.tsx Co-authored-by: Tim Nguyen <[email protected]> * animation speed adjustments * refactor * PR comment resolutions * wording changes ; * fix mobile menu scroll * passing refs * ref passing trials * .. * fix hook issues and finish refactor * cleanup * fix tests * remove errant } * alee & jacob adjustments * make expand longer * collapse duration * animation adjustment * change collapse speed * change animation ease * fix toc on studio mobile * move mobile menu icons close to divider * animation speed adjustment" --------- Co-authored-by: Tim Nguyen <[email protected]> * fix: mobile secondary nav overlap fix (#5505) * styling fixes for issues introduced by #5334 (#5506) * fix for desktop sizing issues * set explicit widths for toc and secondary nav * tablet breakpoint changes * using correct sizing attributes for flex * change width from % to vw * remove unnecessary flex * remove unneeded flex attributes * chore(Flutter): Amplify Flutter API subscription reconnection guide (#5501) * chore(Flutter): Amplify Flutter API subscription reconnection guide * fix: more verbose * update React Native dependency installations to INCLUDE `amazon-cognito-identity-js` or REMOVE `core-js` as needed (#5498) * Misc. docs engineering improvements (#5495) * Misc. docs engineering improvements * Add comment to explain QSP logic --------- Co-authored-by: Thomas Leing <[email protected]> * add maintenance mode callout for Amplify iOS and Android v1 (#5524) * add maintenance mode callout for Amplify iOS and Android v1 * move callout to reusable fragment * add ios callout to each lib-v1 page * add android callout to each lib-v1 page * add missed pages --------- Co-authored-by: Daddala <[email protected]> Co-authored-by: Ian Saultz <[email protected]> * feat: add unsupported field level auth rule (#5502) * Link checker (#5467) * updated link checker to use puppeteer and axios, just commiting the task and does not include the workflow * add link checker workflow * filter out platform selector from results * update link checker task to mjs * update versions of puppeteer and node * update platform pages list * remove unneeded comments * update yml formatting * readd yarn.lock file * remove lock files from gitignore --------- Co-authored-by: Jacob Logan <[email protected]> * feat(hosting): add guide to deploy a Vite site on Amplify Hosting (#5460) * feat(hosting): add guide to deploy a Vite site on Amplify Hosting * added the page to directory.js * fix: Update screenshots on Social Sign In guide for Facebook & Google (#5489) * fix: Update screenshots for Social Sign In guide * pr changes/image fixes * remove feedback component from mobile (#5525) * feat(data): add docs for CRUD operations between Storage files and GraphQL API records (#5503) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * final example updates --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> * chore(amplify-ui): fix docs to change imports to use new packages ui-react-geo and ui-react-notifications (#5508) * chore: fix docs to change imports to use new packages ui-react-geo and ui-react-notifications * chore: replace Geocoder with LocationSearch component * chore: condense step to install aws-amplify * chore: fix install scripts * Update src/fragments/lib/geo/js/geofences.mdx Co-authored-by: Caleb Pollman <[email protected]> * chore: fix Amplify import statement * chore: fix code snippet for App when using withInAppMessaging --------- Co-authored-by: Caleb Pollman <[email protected]> * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5538) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(js): Clarify in-app enum import source (#5531) * chore(js): Clarify in-app enum import source * Use ts/js switcher instead of callout * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout (#5533) * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * address PR feedback --------- Co-authored-by: Rene Brandel <[email protected]> * chore: callout need for additional permissions for containers (#5542) * chore: callout need for additional permissions for containers * remove extra 'policy' * swift(storage): add validateObjectExistence example (#5532) * fix: index entrypoint reference and add react app creation (#5520) * fix: index reference and add react app creation * fix: typo * Update src/pages/console/formbuilder/overview.mdx Co-authored-by: josef <[email protected]> * Update src/pages/console/uibuilder/figmatocode.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * feat(data): add docs for working with multiple files with Storage and GraphQL API; updates to existing code examples (#5539) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * working with multiple images * final example updates * updates * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add all examples * minor updates to existing examples * Apply suggestions from code review Co-authored-by: Rene Brandel <[email protected]> * remove outdated examples * completed multi-file examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Jon Wire <[email protected]> * address PR feedback --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Jon Wire <[email protected]> * chore(deps): bump @aws-amplify/ui-react from 4.6.4 to 5.0.0 (#5544) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.4 to 5.0.0. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add resolution for fast-xml-parser (#5547) * feat(data): Storage and GraphQL API authorization guidance; add additional guidance for error handling and real-time data access; remove existing AppSync SDK docs; update docs comments (#5545) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * working with multiple images * final example updates * updates * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add all examples * minor updates to existing examples * Apply suggestions from code review Co-authored-by: Rene Brandel <[email protected]> * remove outdated examples * completed multi-file examples * auth updates * remove existing complex objects docs * auth updates * checkpoint * move callout to real-time data section * minor updates * move callout, other minor updates * update phrasing * update phrasing * update naming * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx * reshuffled the page order * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Jon Wire <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Jon Wire <[email protected]> * fix(data): update API + Storage header; minor grammatical updates (#5553) * fix(auth): fix typo in signIn v2 combine flavor (#5555) * chore(deps): bump @aws-amplify/amplify-cli-core from 4.0.8 to 4.1.0 (#5558) Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.0.8 to 4.1.0. - [Release notes](https://github.com/aws-amplify/amplify-cli/releases) - [Changelog](https://github.com/aws-amplify/amplify-cli/blob/dev/packages/amplify-cli-core/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/[email protected]/packages/amplify-cli-core) --- updated-dependencies: - dependency-name: "@aws-amplify/amplify-cli-core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @aws-amplify/ui-react from 5.0.0 to 5.0.1 (#5560) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cli): fix typo for Lambda function resolver event (#5556) Fixed a typo in the description of the "typeName" parameter in the "Structure of the function event" section. * chore(flutter): Update versions (#5564) * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5573) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add getProperties API to JavaScript library (#5568) * chore: add get-properties api to js * chore: add level of access * chore: remove encryption part * chore: change the key type * chore: remove file access level * chore: use await in api call * chore: change key name * chore: addressing feedback --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Jim Blanchard <[email protected]> Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ian Saultz <[email protected]> Co-authored-by: Hui Zhao <[email protected]> Co-authored-by: Roman <[email protected]> Co-authored-by: Roman Lavrenov <[email protected]> Co-authored-by: ykethan <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jim Eagan <[email protected]> Co-authored-by: Dan Kiuna <[email protected]> Co-authored-by: josef <[email protected]> Co-authored-by: Christopher Sundersingh <[email protected]> Co-authored-by: Anil Maktala <[email protected]> Co-authored-by: Amplifiyer <[email protected]> Co-authored-by: Erica Eaton <[email protected]> Co-authored-by: Wesley P <[email protected]> Co-authored-by: wpeck-amplify <[email protected]> Co-authored-by: Jacob Logan <[email protected]> Co-authored-by: jacoblogan <[email protected]> Co-authored-by: Abdallah Shaban <[email protected]> Co-authored-by: Jordan Nelson <[email protected]> Co-authored-by: AllanZhengYP <[email protected]> Co-authored-by: John Corser <[email protected]> Co-authored-by: Thomas Leing <[email protected]> Co-authored-by: Thomas Leing <[email protected]> Co-authored-by: Tim Nguyen <[email protected]> Co-authored-by: Elijah Quartey <[email protected]> Co-authored-by: Chris Womack <[email protected]> Co-authored-by: Harshita Daddala <[email protected]> Co-authored-by: Daddala <[email protected]> Co-authored-by: Jay Raval <[email protected]> Co-authored-by: David McAfee <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Sreeram Sama <[email protected]> Co-authored-by: Caleb Pollman <[email protected]> Co-authored-by: Chris F <[email protected]> Co-authored-by: Jon Wire <[email protected]> Co-authored-by: Abhash Kumar Singh <[email protected]> Co-authored-by: Alberto Baroso <[email protected]> Co-authored-by: Dillon Nys <[email protected]> Co-authored-by: Venkata Ramyasri Kota <[email protected]> * Update redirects workflow to use Github API (#5537) * Update redirects workflow to use github api * Add 'if' check so job only runs on successful parent workflow run * Update mergify config to only comment when redirects are found * Refactor getDeletedFiles into utilities * Add rentention a 1 day for artifact * Make check for redirect run only main branch * Remove extra indentation * Remove extra space in console logs Co-authored-by: William Lee <[email protected]> * Use regex to check test if str from artifacts are numbers * Use SHA commit for github actions * Exit 1 when unable to parse artifact --------- Co-authored-by: William Lee <[email protected]> * feat(figma): update docs to reflect new Figma plugin features (#5577) * page title updated (#5559) * page title updated * added conditional logic for a title tag * feat: add troubleshooting info for breakCircularDependency flag (#5548) * feat: add troubleshooting info for breakCircularDependency flag * Update src/pages/cli/auth/overview.mdx Co-authored-by: Kamil Sobol <[email protected]> --------- Co-authored-by: Kamil Sobol <[email protected]> * chore(deps): bump @aws-amplify/ui-react from 5.0.1 to 5.0.2 (#5578) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 5.0.1 to 5.0.2. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(flutter): add custom attribute documentation (#5574) * feat(flutter): add custom attribute documentation * Update src/fragments/lib/auth/flutter/user_attributes/50_custom_attributes.mdx Co-authored-by: Dillon Nys <[email protected]> --------- Co-authored-by: Abdallah Shaban <[email protected]> Co-authored-by: Dillon Nys <[email protected]> * Reorder AA scripts (#5575) * Updated first job on set up backend resources Minor edits and added Q about default configurations * accordion prototype is completed * Filter after mapping request (#5581) * Removed CLI prereq and added library CTA * Added table option for integration path job * Adding upgrade guide for Apollo SDK * feat: Adding mention for tvOS and watchOS support in the Swift docs. (#5583) * fix: update the cdk example from v1 to v2 (#5546) * fix: migrate the cdk example from v1 to v2 * Update src/pages/cli/custom/cdk.mdx Co-authored-by: josef <[email protected]> * address comments * add type import to code block --------- Co-authored-by: josef <[email protected]> * Updating the contribute section for the Badges (#5582) * Updating the contribute section for the Badges * format * add divider * Adding details on the Badge program --------- Co-authored-by: siegerts <st…
1 parent 8068368 commit f79c21b

File tree

293 files changed

+16188
-6672
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+16188
-6672
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Add deleted-assets label
2+
on:
3+
workflow_run:
4+
workflows: ['Deleted Assets Workflow']
5+
types: [completed]
6+
env:
7+
ARTIFACT_NAME: deletedAssetsArtifact
8+
LABEL_TO_ADD: deleted-assets
9+
jobs:
10+
addRedirectsNeededLabel:
11+
name: Add deleted-assets label
12+
runs-on: ubuntu-latest
13+
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
14+
permissions:
15+
pull-requests: write # used to add label
16+
steps:
17+
- name: Checkout repository to get the workflow scripts
18+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9
19+
- name: Download artifact
20+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
21+
env:
22+
WORKSPACE: ${{ github.workspace }}
23+
with:
24+
script: |
25+
const { getArtifact } = require('./.github/workflows/scripts/utilities.js');
26+
const fs = require('fs');
27+
const artifactName = process.env.ARTIFACT_NAME;
28+
const workspace = process.env.WORKSPACE
29+
getArtifact({github, context, fs, artifactName, workspace});
30+
- name: Unzip artifact
31+
run: unzip '${{ env.ARTIFACT_NAME }}.zip'
32+
- name: Add redirects-needed label to PR
33+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
36+
script: |
37+
const { addLabelForDeletedFiles } = require('./.github/workflows/scripts/add_label_for_deleted_files.js');
38+
const fs = require('fs');
39+
const artifactName = process.env.ARTIFACT_NAME;
40+
const label = process.env.LABEL_TO_ADD;
41+
addLabelForDeletedFiles({github, context, fs, core, artifactName, label});
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Add redirects-needed label
2+
on:
3+
workflow_run:
4+
workflows: ['Redirects Workflow']
5+
types: [completed]
6+
env:
7+
ARTIFACT_NAME: redirectsArtifact
8+
LABEL_TO_ADD: redirects-needed
9+
jobs:
10+
addRedirectsNeededLabel:
11+
name: Add redirects-needed label
12+
runs-on: ubuntu-latest
13+
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
14+
permissions:
15+
pull-requests: write # used to add label
16+
steps:
17+
- name: Checkout repository to get the workflow scripts
18+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9
19+
- name: Download artifact
20+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
21+
env:
22+
WORKSPACE: ${{ github.workspace }}
23+
with:
24+
script: |
25+
const { getArtifact } = require('./.github/workflows/scripts/utilities.js');
26+
const fs = require('fs');
27+
const artifactName = process.env.ARTIFACT_NAME;
28+
const workspace = process.env.WORKSPACE
29+
getArtifact({github, context, fs, artifactName, workspace});
30+
- name: Unzip artifact
31+
run: unzip '${{ env.ARTIFACT_NAME }}.zip'
32+
- name: Add redirects-needed label to PR
33+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
36+
script: |
37+
const { addLabelForDeletedFiles } = require('./.github/workflows/scripts/add_label_for_deleted_files.js');
38+
const fs = require('fs');
39+
const artifactName = process.env.ARTIFACT_NAME;
40+
const label = process.env.LABEL_TO_ADD;
41+
addLabelForDeletedFiles({github, context, fs, core, artifactName, label});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: LinkChecker
2+
on: workflow_dispatch
3+
permissions:
4+
contents: read
5+
jobs:
6+
LinkChecker:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v3
11+
- name: Setup Node.js 16.x
12+
uses: actions/setup-node@main
13+
with:
14+
node-version: 16.x
15+
- name: Install Dependencies
16+
run: yarn
17+
- name: Run Link Checker
18+
run: node tasks/link-checker.mjs

.github/workflows/check_for_deleted_assets.yml

+27-44
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,38 @@ name: Deleted Assets Workflow
22
on:
33
pull_request:
44
branches: [main]
5-
types: [opened, synchronize, labeled]
65
env:
7-
DIFF_DIRECTORIES: 'public'
6+
ARTIFACT_NAME: 'deletedAssetsArtifact'
7+
PATHS_TO_CHECK: 'public'
88
jobs:
9-
onPrOpen:
10-
name: Check if assets were deleted on PR opened
9+
checkIfAssetsWereDeleted:
10+
name: Check if assets were deleted
1111
runs-on: ubuntu-latest
12-
if: github.event.action == 'opened'
1312
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v3
16-
with:
17-
# Minimal depth 2 so we can checkout the commit before possible merge commit.
18-
fetch-depth: 2
13+
- name: Checkout repository to get the workflow scripts
14+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9
1915
- name: Get count of deleted files
20-
env:
21-
GITHUB_PULL_REQUEST_HEAD_SHA: ${{ github.pull_request.head.sha }}
22-
run: |
23-
git fetch origin main
24-
echo "DELETED_FILES_ON_OPENED=$(git diff --name-status --diff-filter=D origin/main -- ${{ env.DIFF_DIRECTORIES }} ${{ env.GITHUB_PULL_REQUEST_HEAD_SHA }} -- ${{ env.DIFF_DIRECTORIES }} | wc -l)" >> $GITHUB_ENV
25-
echo "Deleted file count: ${{ env.DELETED_FILES_ON_OPENED }}"
26-
- name: Fail status check if there are deleted files
27-
if: ${{ env.DELETED_FILES_ON_OPENED > 0 }}
28-
run: exit 1
29-
onPrSync:
30-
name: Check if assets were deleted on PR sync
31-
runs-on: ubuntu-latest
32-
if: github.event.action == 'synchronize'
33-
steps:
34-
- name: Checkout repository
35-
uses: actions/checkout@v3
16+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
17+
id: set-deleted-files-count
3618
with:
37-
# Minimal depth 2 so we can checkout the commit before possible merge commit.
38-
fetch-depth: 2
39-
- name: Get count of deleted files from last sync
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
20+
result-encoding: string
21+
script: |
22+
const { PATHS_TO_CHECK } = process.env;
23+
const paths = PATHS_TO_CHECK.split(',');
24+
25+
const { getDeletedFilesFromPR } = require('./.github/workflows/scripts/utilities.js');
26+
return getDeletedFilesFromPR({github, context, paths});
27+
- name: Create artifact containing the PR number and deleted file count
4028
env:
41-
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
42-
GITHUB_EVENT_AFTER: ${{ github.event.after }}
29+
PR_NUMBER: ${{ github.event.pull_request.number }}
4330
run: |
44-
git fetch origin ${{ github.event.before }} --depth=1
45-
echo "DELETED_FILES_ON_SYNC=$(git diff --name-status --diff-filter=D ${{ env.GITHUB_EVENT_BEFORE}} -- ${{ env.DIFF_DIRECTORIES }} ${{ env.GITHUB_EVENT_AFTER }} -- ${{ env.DIFF_DIRECTORIES }} | wc -l)" >> $GITHUB_ENV
46-
echo "Deleted file count: ${{ env.DELETED_FILES_ON_SYNC }}"
47-
- name: Fail status check if there are deleted files
48-
if: ${{ env.DELETED_FILES_ON_SYNC > 0 }}
49-
run: exit 1
50-
failStatusCheck:
51-
name: Fail status check if assets have not been verified
52-
runs-on: ubuntu-latest
53-
if: contains(github.event.pull_request.labels.*.name, 'deleted-assets')
54-
steps:
55-
- name: Exit with error
56-
run: exit 1
31+
artifactName="${{ env.ARTIFACT_NAME }}.txt"
32+
echo ${{ env.PR_NUMBER }} >> $artifactName
33+
echo ${{ steps.set-deleted-files-count.outputs.result }} >> $artifactName
34+
- name: Upload the deleted assets file to artifacts
35+
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 https://github.com/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce
36+
with:
37+
name: ${{ env.ARTIFACT_NAME }}
38+
path: '${{ env.ARTIFACT_NAME }}.txt'
39+
retention-days: 1

.github/workflows/check_for_redirects.yml

+27-48
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,38 @@ name: Redirects Workflow
22
on:
33
pull_request:
44
branches: [main]
5-
types: [opened, synchronize, labeled]
65
env:
7-
DIFF_DIRECTORIES: 'src/pages src/fragments'
6+
ARTIFACT_NAME: 'redirectsArtifact'
7+
PATHS_TO_CHECK: 'src/pages,src/fragments'
88
jobs:
9-
onPrOpen:
10-
name: Check if redirects are needed on PR opened
9+
checkIfRedirectsAreNeeded:
10+
name: Check if redirects are needed
1111
runs-on: ubuntu-latest
12-
if: github.event.action == 'opened'
1312
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v3
16-
with:
17-
# Minimal depth 2 so we can checkout the commit before possible merge commit.
18-
fetch-depth: 2
13+
- name: Checkout repository to get the workflow scripts
14+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9
1915
- name: Get count of deleted files
20-
env:
21-
GITHUB_PULL_REQUEST_HEAD_SHA: ${{ github.pull_request.head.sha }}
22-
run: |
23-
git fetch origin main
24-
echo "DELETED_FILES_ON_OPENED=$(git diff --name-status --diff-filter=D origin/main -- ${{ env.DIFF_DIRECTORIES }} ${{ env.GITHUB_PULL_REQUEST_HEAD_SHA }} | wc -l)" >> $GITHUB_ENV
25-
- name: Print number of deleted files
26-
run: |
27-
echo "Deleted file count: ${{ env.DELETED_FILES_ON_OPENED }}"
28-
- name: Fail status check if there are deleted files
29-
if: ${{ env.DELETED_FILES_ON_OPENED > 0 }}
30-
run: exit 1
31-
onPrSync:
32-
name: Check if redirects are needed on PR sync
33-
runs-on: ubuntu-latest
34-
if: github.event.action == 'synchronize'
35-
steps:
36-
- name: Checkout repository
37-
uses: actions/checkout@v3
16+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
17+
id: set-deleted-files-count
3818
with:
39-
# Minimal depth 2 so we can checkout the commit before possible merge commit.
40-
fetch-depth: 2
41-
- name: Get count of deleted files from last sync
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
20+
result-encoding: string
21+
script: |
22+
const { PATHS_TO_CHECK } = process.env;
23+
const paths = PATHS_TO_CHECK.split(',');
24+
25+
const { getDeletedFilesFromPR } = require('./.github/workflows/scripts/utilities.js');
26+
return getDeletedFilesFromPR({github, context, paths});
27+
- name: Create artifact containing the PR number and deleted file count
4228
env:
43-
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
44-
GITHUB_EVENT_AFTER: ${{ github.event.after }}
45-
run: |
46-
git fetch origin ${{ github.event.before }} --depth=1
47-
echo "DELETED_FILES_ON_SYNC=$(git diff --name-status --diff-filter=D ${{ env.GITHUB_EVENT_BEFORE}} -- ${{ env.DIFF_DIRECTORIES }} ${{ env.GITHUB_EVENT_AFTER }} | wc -l)" >> $GITHUB_ENV
48-
- name: Print number of deleted files
29+
PR_NUMBER: ${{ github.event.pull_request.number }}
4930
run: |
50-
echo "Deleted file count: ${{ env.DELETED_FILES_ON_OPENED }}"
51-
- name: Fail status check if there are deleted files
52-
if: ${{ env.DELETED_FILES_ON_SYNC > 0 }}
53-
run: exit 1
54-
failStatusCheck:
55-
name: Fail status check if redirects have not been added
56-
runs-on: ubuntu-latest
57-
if: contains(github.event.pull_request.labels.*.name, 'redirects-needed')
58-
steps:
59-
- name: Exit with error
60-
run: exit 1
31+
artifactName="${{ env.ARTIFACT_NAME }}.txt"
32+
echo ${{ env.PR_NUMBER }} >> $artifactName
33+
echo ${{ steps.set-deleted-files-count.outputs.result }} >> $artifactName
34+
- name: Upload the redirects file to artifacts
35+
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 https://github.com/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce
36+
with:
37+
name: ${{ env.ARTIFACT_NAME }}
38+
path: '${{ env.ARTIFACT_NAME }}.txt'
39+
retention-days: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
module.exports = {
2+
/**
3+
* Add deleted-assets label if count of deleted files is greater than 0
4+
*
5+
* @param {Object} obj - Object parameters
6+
* @param {String} obj.artifactName - Name of artifiact file to check
7+
* @param {String} obj.label - Label to add to PR when deleted files are found from the specified paths
8+
*/
9+
addLabelForDeletedFiles: async ({
10+
github,
11+
context,
12+
fs,
13+
core,
14+
artifactName,
15+
label
16+
}) => {
17+
const {
18+
payload: {
19+
repository: {
20+
owner: { login: ownerLogin },
21+
name: repoName
22+
}
23+
}
24+
} = context;
25+
26+
const artifactContents = fs
27+
.readFileSync(`./${artifactName}.txt`)
28+
.toString();
29+
30+
const [prNumberStr, numOfDeletedFilesStr] = artifactContents
31+
.split('\n')
32+
.map((str) => str.trim());
33+
34+
console.log('PR number that triggered workflow:', prNumberStr);
35+
console.log('Number of deleted files:', numOfDeletedFilesStr);
36+
37+
if (
38+
/^[1-9]\d*$/.test(prNumberStr) &&
39+
/^(0|[1-9]\d*)$/.test(numOfDeletedFilesStr)
40+
) {
41+
const prNumber = Number(prNumberStr);
42+
const numOfDeletedFiles = Number(numOfDeletedFilesStr);
43+
44+
if (numOfDeletedFiles > 0) {
45+
github.rest.issues.addLabels({
46+
owner: ownerLogin,
47+
repo: repoName,
48+
issue_number: prNumber,
49+
labels: [label]
50+
});
51+
}
52+
} else {
53+
core.setFailed(`Unable to parse ${artifactName}.txt`);
54+
}
55+
}
56+
};

0 commit comments

Comments
 (0)