How to handle Discount Function Settings in 2025-10 RC Admin UI Extensions?

Hello,

I’ve been testing with the 2025-10 RC documentation, and I’m very happy to see that many more design elements are now available compared to older versions.
However, I have a question regarding discount details function settings.

What I did

  1. Generated the app/extension with the new CLI:
POLARIS_UNIFIED=true shopify app init
POLARIS_UNIFIED=true shopify app generate
  1. In the older CLI there used to be a specific template for discount function setting UI, but now it’s gone.
    For now, I created it using the Admin block type instead.
  2. Then I modified my shopify.extension.toml and shopify.d.ts to work with my settings page:
import '@shopify/ui-extensions';

//@ts-ignore
declare module './src/DiscountFunctionSettings.jsx' {
  const shopify: import('@shopify/ui-extensions/admin.discount-details.function-settings.render').Api;
  const globalThis: { shopify: typeof shopify };
}

The UI renders fine and testing works, but I’m confused about the Save integration.

The main question

In the Discount Function Settings API docs there is still mention of FunctionSettings.

In the old version, we used:

...

In the new RC version, there doesn’t seem to be component available.

So my question is:
What is the correct way to handle saving in discount function settings with the new Admin UI Extensions?
Should we be using something else in place of FunctionSettings? Or is there a new recommended approach?

References
node_modules/@shopify/ui-extensions/build/ts/surfaces/admin/components/FunctionSettings.d.ts

node_modules/@shopify/ui-extensions/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts