Skip to content

[3.21] Update GraphQL schema and regenerate types#5954

Merged
kzuraw merged 1 commit into3.21from
eng-834-webhook-event-321
Oct 8, 2025
Merged

[3.21] Update GraphQL schema and regenerate types#5954
kzuraw merged 1 commit into3.21from
eng-834-webhook-event-321

Conversation

@kzuraw
Copy link
Contributor

@kzuraw kzuraw commented Oct 8, 2025

Scope of the change

Regenerate 3.21 schema to add support for the new webhook event in webhook detail view.

  • I confirm I added ripples for changes (see src/ripples) or my feature doesn't contain any user-facing changes
  • I used analytics "trackEvent" for important events

Copilot AI review requested due to automatic review settings October 8, 2025 12:46
@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2025

🦋 Changeset detected

Latest commit: a8b4c8e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
saleor-dashboard-storybook Ignored Ignored Oct 8, 2025 0:46am

@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.17%. Comparing base (c669d47) to head (a8b4c8e).

Additional details and impacted files
@@           Coverage Diff           @@
##             3.21    #5954   +/-   ##
=======================================
  Coverage   65.17%   65.17%           
=======================================
  Files        1446     1446           
  Lines       25066    25066           
  Branches     5136     5129    -7     
=======================================
  Hits        16336    16336           
  Misses       8139     8139           
  Partials      591      591           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kzuraw kzuraw marked this pull request as ready for review October 8, 2025 12:46
@kzuraw kzuraw requested a review from a team as a code owner October 8, 2025 12:46
@kzuraw kzuraw marked this pull request as draft October 8, 2025 12:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR regenerates the GraphQL schema for Saleor 3.21 to add support for a new webhook event CHECKOUT_FULLY_AUTHORIZED in the webhook detail view. The schema update removes many deprecated field comments and adds the new checkout authorization webhook event type.

  • Updates GraphQL types and type policies to include the new CHECKOUT_FULLY_AUTHORIZED webhook event
  • Removes deprecation warnings from numerous GraphQL input fields and comments
  • Adds new payment settings fields for checkout fund release functionality

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/graphql/types.generated.ts Removes deprecated field comments and adds new webhook event types and payment settings
src/graphql/typePolicies.generated.ts Adds type policies for new CheckoutFullyAuthorized event and payment settings fields
src/graphql/fragmentTypes.generated.ts Includes new CheckoutFullyAuthorized fragment type
schema.graphql Core GraphQL schema updates with new webhook events and payment settings
.changeset/soft-schools-taste.md Documents the schema regeneration change
Comments suppressed due to low confidence (1)

src/graphql/types.generated.ts:1

  • Added missing semicolon at the end of the type declaration.
/* eslint-disable */

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kzuraw kzuraw marked this pull request as ready for review October 8, 2025 12:48
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

Differences Found

✅ No packages or licenses were added.

Summary

Expand
License Name Package Count Packages
0BSD 1
Packages
  • tslib
BlueOak-1.0.0 1
Packages
  • path-scurry
CC0-1.0 1
Packages
  • type-fest
MIT/X11 1
Packages
  • nub
MPL-1.1 1
Packages
  • harmony-reflect
MPL-2.0 1
Packages
  • dompurify
Public Domain 1
Packages
  • jsonify
Python-2.0 1
Packages
  • argparse
WTFPL 1
Packages
  • opener
<<missing>> 2
Packages
  • busboy
  • streamsearch
CC-BY-4.0 2
Packages
  • @saleor/macaw-ui
  • caniuse-lite
BSD-2-Clause 24
Packages
  • @typescript-eslint/parser
  • @typescript-eslint/typescript-estree
  • browser-process-hrtime
  • css-select
  • css-what
  • domelementtype
  • domhandler
  • domutils
  • dotenv
  • dotenv-expand
  • entities
  • escodegen
  • eslint-scope
  • espree
  • esprima
  • esrecurse
  • estraverse
  • esutils
  • nth-check
  • stringify-object
  • And 4 more...
Apache-2.0 45
Packages
  • @ampproject/remapping
  • @editorjs/editorjs
  • @humanwhocodes/config-array
  • @humanwhocodes/module-importer
  • @opentelemetry/api
  • @opentelemetry/semantic-conventions
  • @playwright/test
  • @swc/core
  • @swc/core-darwin-arm64
  • @swc/core-darwin-x64
  • @swc/core-linux-arm-gnueabihf
  • @swc/core-linux-arm64-gnu
  • @swc/core-linux-arm64-musl
  • @swc/core-linux-x64-gnu
  • @swc/core-linux-x64-musl
  • @swc/core-win32-arm64-msvc
  • @swc/core-win32-ia32-msvc
  • @swc/core-win32-x64-msvc
  • @swc/counter
  • @swc/types
  • And 25 more...
BSD-3-Clause 47
Packages
  • @humanwhocodes/object-schema
  • @saleor/app-sdk
  • @sentry/cli
  • @sentry/cli-darwin
  • @sentry/cli-linux-arm
  • @sentry/cli-linux-arm64
  • @sentry/cli-linux-i686
  • @sentry/cli-linux-x64
  • @sentry/cli-win32-i686
  • @sentry/cli-win32-x64
  • @sinonjs/commons
  • @sinonjs/fake-timers
  • abab
  • asn1js
  • babel-plugin-istanbul
  • charenc
  • chroma-js
  • crypt
  • diff
  • esquery
  • And 27 more...
ISC 49
Packages
  • @istanbuljs/load-nyc-config
  • anymatch
  • boolbase
  • browser-stdout
  • cli-width
  • cliui
  • electron-to-chromium
  • fastq
  • flatted
  • fs.realpath
  • get-caller-file
  • get-own-enumerable-property-symbols
  • glob
  • glob-parent
  • graceful-fs
  • inflight
  • inherits
  • ini
  • isexe
  • json-stringify-safe
  • And 29 more...
MIT 1146
Packages
  • @adobe/css-tools
  • @apollo/client
  • @ardatan/relay-compiler
  • @ardatan/sync-fetch
  • @babel/code-frame
  • @babel/compat-data
  • @babel/core
  • @babel/generator
  • @babel/helper-annotate-as-pure
  • @babel/helper-compilation-targets
  • @babel/helper-create-class-features-plugin
  • @babel/helper-member-expression-to-functions
  • @babel/helper-module-imports
  • @babel/helper-module-transforms
  • @babel/helper-optimise-call-expression
  • @babel/helper-plugin-utils
  • @babel/helper-replace-supers
  • @babel/helper-simple-access
  • @babel/helper-skip-transparent-expression-wrappers
  • @babel/helper-string-parser
  • And 1126 more...

@kzuraw kzuraw merged commit 851c4d8 into 3.21 Oct 8, 2025
24 checks passed
@kzuraw kzuraw deleted the eng-834-webhook-event-321 branch October 8, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants