Resource picker not publishing product show

Shopify Partner
8 2 2

I use resourcepicker for select product and it's show all products but how can I add filter for not publishing product don't show.
I use this resources :-  
how can I do that only online publishing products show.

const products = await window.shopify.resourcePicker({
            type: "product",
            multiple: true,
            filter: {
                hidden: true,
                variants: false,
                draft: false,
                archived: false,



Replies 0 (0)