@fluid-app/portal-sdk 0.1.231 → 0.1.233

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/{AppDownloadScreen-BmYJ7Zgb.cjs → AppDownloadScreen-B0YwMqYM.cjs} +2 -2
  2. package/dist/{AppDownloadScreen-BmYJ7Zgb.cjs.map → AppDownloadScreen-B0YwMqYM.cjs.map} +1 -1
  3. package/dist/{AppDownloadScreen-zrhWlSE7.mjs → AppDownloadScreen-Dj5ZPsSb.mjs} +2 -2
  4. package/dist/{AppDownloadScreen-zrhWlSE7.mjs.map → AppDownloadScreen-Dj5ZPsSb.mjs.map} +1 -1
  5. package/dist/{AppNavigationContext-C1-hd9Rw.cjs → AppNavigationContext-BDs1cOuG.cjs} +1 -1
  6. package/dist/{AppNavigationContext-C1-hd9Rw.cjs.map → AppNavigationContext-BDs1cOuG.cjs.map} +1 -1
  7. package/dist/{AppNavigationContext-BcZZMtV6.mjs → AppNavigationContext-DNod9mf6.mjs} +1 -1
  8. package/dist/{AppNavigationContext-BcZZMtV6.mjs.map → AppNavigationContext-DNod9mf6.mjs.map} +1 -1
  9. package/dist/{ContactsScreen-BfS33bcq.cjs → ContactsScreen-9cZWC9PP.cjs} +6 -6
  10. package/dist/{ContactsScreen-DHHzJhO4.mjs → ContactsScreen-B4Ue9m5H.mjs} +9 -22
  11. package/dist/ContactsScreen-B4Ue9m5H.mjs.map +1 -0
  12. package/dist/{ContactsScreen-gq1fPZzb.cjs → ContactsScreen-BTQ_qfq3.cjs} +10 -23
  13. package/dist/ContactsScreen-BTQ_qfq3.cjs.map +1 -0
  14. package/dist/{CustomersScreen-D55HjYHC.mjs → CustomersScreen-CX3P2KpF.mjs} +1 -1
  15. package/dist/{CustomersScreen-D55HjYHC.mjs.map → CustomersScreen-CX3P2KpF.mjs.map} +1 -1
  16. package/dist/{CustomersScreen-DW3BuhBs.cjs → CustomersScreen-GROLIynQ.cjs} +1 -1
  17. package/dist/{CustomersScreen-DW3BuhBs.cjs.map → CustomersScreen-GROLIynQ.cjs.map} +1 -1
  18. package/dist/{FluidProvider-DWNo4QTC.cjs → FluidProvider-BNL_Apw2.cjs} +26 -6
  19. package/dist/{FluidProvider-DWNo4QTC.cjs.map → FluidProvider-BNL_Apw2.cjs.map} +1 -1
  20. package/dist/{FluidProvider-i69t4zBo.mjs → FluidProvider-Dg-eouRw.mjs} +26 -6
  21. package/dist/FluidProvider-Dg-eouRw.mjs.map +1 -0
  22. package/dist/{InfiniteScrollSentinel-bVdxImf8.mjs → InfiniteScrollSentinel-CQD9JPVe.mjs} +1 -1
  23. package/dist/{InfiniteScrollSentinel-bVdxImf8.mjs.map → InfiniteScrollSentinel-CQD9JPVe.mjs.map} +1 -1
  24. package/dist/{InfiniteScrollSentinel-LcHXpBw-.cjs → InfiniteScrollSentinel-V1ubmA8z.cjs} +1 -1
  25. package/dist/{InfiniteScrollSentinel-LcHXpBw-.cjs.map → InfiniteScrollSentinel-V1ubmA8z.cjs.map} +1 -1
  26. package/dist/{MessagingScreen-CDx6ryDj.cjs → MessagingScreen-BMoCh4MT.cjs} +6 -6
  27. package/dist/{MessagingScreen-Crp-Kl4c.cjs → MessagingScreen-CxpLlTW_.cjs} +5 -5
  28. package/dist/{MessagingScreen-Crp-Kl4c.cjs.map → MessagingScreen-CxpLlTW_.cjs.map} +1 -1
  29. package/dist/{MessagingScreen-BbIKoH2L.mjs → MessagingScreen-Q17pdhUz.mjs} +3 -3
  30. package/dist/{MessagingScreen-BbIKoH2L.mjs.map → MessagingScreen-Q17pdhUz.mjs.map} +1 -1
  31. package/dist/{MySiteScreen-DsR9VEwa.cjs → MySiteScreen-5-eNH2S6.cjs} +3 -3
  32. package/dist/{MySiteScreen-DwgWY0cl.cjs → MySiteScreen-B1yomsp6.cjs} +3 -3
  33. package/dist/{MySiteScreen-DwgWY0cl.cjs.map → MySiteScreen-B1yomsp6.cjs.map} +1 -1
  34. package/dist/{MySiteScreen-Q9xN2oxD.mjs → MySiteScreen-BBT8FN5s.mjs} +3 -3
  35. package/dist/{MySiteScreen-Q9xN2oxD.mjs.map → MySiteScreen-BBT8FN5s.mjs.map} +1 -1
  36. package/dist/OrdersScreen-Co2oatu4.cjs +9 -0
  37. package/dist/{OrdersScreen-DcC_-N8h.mjs → OrdersScreen-DkTGTQJZ.mjs} +5 -5
  38. package/dist/{OrdersScreen-DcC_-N8h.mjs.map → OrdersScreen-DkTGTQJZ.mjs.map} +1 -1
  39. package/dist/{OrdersScreen-DxQmihvZ.cjs → OrdersScreen-e5DdNpD-.cjs} +5 -5
  40. package/dist/{OrdersScreen-DxQmihvZ.cjs.map → OrdersScreen-e5DdNpD-.cjs.map} +1 -1
  41. package/dist/{PortalProductsApiProvider-CP1xk872.mjs → PortalProductsApiProvider-BIZg_c4Y.mjs} +2 -2
  42. package/dist/{PortalProductsApiProvider-CP1xk872.mjs.map → PortalProductsApiProvider-BIZg_c4Y.mjs.map} +1 -1
  43. package/dist/{PortalProductsApiProvider-jDoPfaPB.cjs → PortalProductsApiProvider-DL8nl7To.cjs} +2 -2
  44. package/dist/{PortalProductsApiProvider-jDoPfaPB.cjs.map → PortalProductsApiProvider-DL8nl7To.cjs.map} +1 -1
  45. package/dist/{ProfileScreen-B2JEvxsd.cjs → ProfileScreen-BSWw10cc.cjs} +6 -6
  46. package/dist/{ProfileScreen-ftzRbWgc.mjs → ProfileScreen-CHsIDbg8.mjs} +6 -6
  47. package/dist/{ProfileScreen-ftzRbWgc.mjs.map → ProfileScreen-CHsIDbg8.mjs.map} +1 -1
  48. package/dist/{ProfileScreen-BPdHZZXV.cjs → ProfileScreen-CVOS2By3.cjs} +6 -6
  49. package/dist/{ProfileScreen-BPdHZZXV.cjs.map → ProfileScreen-CVOS2By3.cjs.map} +1 -1
  50. package/dist/{ScreenHeaderContext-4WYXIqQ5.mjs → ScreenHeaderContext-Cemdo7bM.mjs} +1 -1
  51. package/dist/{ScreenHeaderContext-4WYXIqQ5.mjs.map → ScreenHeaderContext-Cemdo7bM.mjs.map} +1 -1
  52. package/dist/{ScreenHeaderContext-PbjwAMeB.cjs → ScreenHeaderContext-oIu5Bvhs.cjs} +1 -1
  53. package/dist/{ScreenHeaderContext-PbjwAMeB.cjs.map → ScreenHeaderContext-oIu5Bvhs.cjs.map} +1 -1
  54. package/dist/{SearchSort-BQ-nf9gJ.mjs → SearchSort-DN0gsmxk.mjs} +1 -1
  55. package/dist/{SearchSort-BQ-nf9gJ.mjs.map → SearchSort-DN0gsmxk.mjs.map} +1 -1
  56. package/dist/{SearchSort-Hwga1dIi.cjs → SearchSort-O89uV2dl.cjs} +1 -1
  57. package/dist/{SearchSort-Hwga1dIi.cjs.map → SearchSort-O89uV2dl.cjs.map} +1 -1
  58. package/dist/{ShareablesScreen-BsICzJuf.cjs → ShareablesScreen-DJ1yd3qu.cjs} +24 -28
  59. package/dist/ShareablesScreen-DJ1yd3qu.cjs.map +1 -0
  60. package/dist/{ShareablesScreen-BjpwByeL.mjs → ShareablesScreen-DNjpEjLv.mjs} +23 -27
  61. package/dist/ShareablesScreen-DNjpEjLv.mjs.map +1 -0
  62. package/dist/{ShareablesScreen-iXNQCKSx.cjs → ShareablesScreen-DzswDadv.cjs} +8 -8
  63. package/dist/{ShopScreen-recdiuo_.cjs → ShopScreen-CFR2O1jn.cjs} +7 -7
  64. package/dist/{ShopScreen-d6e2Bm0N.mjs → ShopScreen-CLN8FFiL.mjs} +7 -7
  65. package/dist/{ShopScreen-d6e2Bm0N.mjs.map → ShopScreen-CLN8FFiL.mjs.map} +1 -1
  66. package/dist/{ShopScreen-DBopix8F.cjs → ShopScreen-jk3Y3-x8.cjs} +7 -7
  67. package/dist/{ShopScreen-DBopix8F.cjs.map → ShopScreen-jk3Y3-x8.cjs.map} +1 -1
  68. package/dist/{SubscriptionsScreen-CcaqnqiQ.mjs → SubscriptionsScreen-CVPj6hhP.mjs} +10 -10
  69. package/dist/{SubscriptionsScreen-CcaqnqiQ.mjs.map → SubscriptionsScreen-CVPj6hhP.mjs.map} +1 -1
  70. package/dist/{SubscriptionsScreen-BI296E2y.cjs → SubscriptionsScreen-DOf7rlRP.cjs} +6 -6
  71. package/dist/{SubscriptionsScreen-DkiuXzRX.cjs → SubscriptionsScreen-r2_drNFg.cjs} +11 -11
  72. package/dist/{SubscriptionsScreen-DkiuXzRX.cjs.map → SubscriptionsScreen-r2_drNFg.cjs.map} +1 -1
  73. package/dist/ToDoWidget-BgyusdPn.cjs +8 -0
  74. package/dist/{ToDoWidget-CaDOZtAB.cjs → ToDoWidget-CQ_zTbhz.cjs} +114 -31
  75. package/dist/ToDoWidget-CQ_zTbhz.cjs.map +1 -0
  76. package/dist/{ToDoWidget-Bv258x8F.mjs → ToDoWidget-DYGt45vL.mjs} +116 -23
  77. package/dist/ToDoWidget-DYGt45vL.mjs.map +1 -0
  78. package/dist/{UpgradeScreen-4Z5_ALSr.cjs → UpgradeScreen-BJbdv9T9.cjs} +1 -1
  79. package/dist/{UpgradeScreen-CGiVn0KG.mjs → UpgradeScreen-DMxxZjj_.mjs} +1 -1
  80. package/dist/{UpgradeScreen-CGiVn0KG.mjs.map → UpgradeScreen-DMxxZjj_.mjs.map} +1 -1
  81. package/dist/{UpgradeScreen-BaclFXEh.cjs → UpgradeScreen-QhhBuHXE.cjs} +1 -1
  82. package/dist/{UpgradeScreen-BaclFXEh.cjs.map → UpgradeScreen-QhhBuHXE.cjs.map} +1 -1
  83. package/dist/{VideoWidget-BntlfHhP.cjs → VideoWidget-Bc6ZAAaA.cjs} +1 -1
  84. package/dist/{VideoWidget-BntlfHhP.cjs.map → VideoWidget-Bc6ZAAaA.cjs.map} +1 -1
  85. package/dist/{VideoWidget-DmHZ05vp.mjs → VideoWidget-lTyeZypJ.mjs} +1 -1
  86. package/dist/{VideoWidget-DmHZ05vp.mjs.map → VideoWidget-lTyeZypJ.mjs.map} +1 -1
  87. package/dist/{dist-FHf4OHgt.cjs → dist-BQZkLGL6.cjs} +1 -1
  88. package/dist/{dist-FHf4OHgt.cjs.map → dist-BQZkLGL6.cjs.map} +1 -1
  89. package/dist/{dist-BQCx-9SK.cjs → dist-DbRTQ2QF.cjs} +1 -1
  90. package/dist/{dist-BQCx-9SK.cjs.map → dist-DbRTQ2QF.cjs.map} +1 -1
  91. package/dist/{dist-q1wrtxfG.mjs → dist-PbA1vxAz.mjs} +1 -1
  92. package/dist/{dist-q1wrtxfG.mjs.map → dist-PbA1vxAz.mjs.map} +1 -1
  93. package/dist/{dist-5XPflEEG.cjs → dist-myuZC8sf.cjs} +2 -2
  94. package/dist/{dist-5XPflEEG.cjs.map → dist-myuZC8sf.cjs.map} +1 -1
  95. package/dist/{dist-CsNsoBdu.mjs → dist-o2cjwzIa.mjs} +2 -2
  96. package/dist/{dist-CsNsoBdu.mjs.map → dist-o2cjwzIa.mjs.map} +1 -1
  97. package/dist/{es-nxOxb57F.cjs → es-UfEBhcZD.cjs} +1 -1
  98. package/dist/{es-nxOxb57F.cjs.map → es-UfEBhcZD.cjs.map} +1 -1
  99. package/dist/{fluid-pay-api-adapter-COBmngde.cjs → fluid-pay-api-adapter-CLP8wfno.cjs} +1 -1
  100. package/dist/{fluid-pay-api-adapter-COBmngde.cjs.map → fluid-pay-api-adapter-CLP8wfno.cjs.map} +1 -1
  101. package/dist/{fluid-pay-api-adapter-Dv2K17WN.mjs → fluid-pay-api-adapter-Dfi0LtxL.mjs} +1 -1
  102. package/dist/{fluid-pay-api-adapter-Dv2K17WN.mjs.map → fluid-pay-api-adapter-Dfi0LtxL.mjs.map} +1 -1
  103. package/dist/{format-Dyb61f6F.cjs → format-CytB2M00.cjs} +1 -1
  104. package/dist/{format-Dyb61f6F.cjs.map → format-CytB2M00.cjs.map} +1 -1
  105. package/dist/index.cjs +49 -49
  106. package/dist/index.d.cts.map +1 -1
  107. package/dist/index.d.mts.map +1 -1
  108. package/dist/index.mjs +48 -48
  109. package/dist/{order-status-badge-CnQE7lFJ.mjs → order-status-badge-CL5XC2va.mjs} +3 -3
  110. package/dist/{order-status-badge-CnQE7lFJ.mjs.map → order-status-badge-CL5XC2va.mjs.map} +1 -1
  111. package/dist/{order-status-badge-NMygmn5d.cjs → order-status-badge-Cqkx76d8.cjs} +3 -3
  112. package/dist/{order-status-badge-NMygmn5d.cjs.map → order-status-badge-Cqkx76d8.cjs.map} +1 -1
  113. package/dist/parse-task-body-BxbA_DC6.cjs +29 -0
  114. package/dist/parse-task-body-BxbA_DC6.cjs.map +1 -0
  115. package/dist/parse-task-body-DEmYvdNM.mjs +24 -0
  116. package/dist/parse-task-body-DEmYvdNM.mjs.map +1 -0
  117. package/dist/{portal_tenant-CxChT6OB.cjs → portal_tenant-CNmiAf_A.cjs} +18 -1
  118. package/dist/{portal_tenant-CxChT6OB.cjs.map → portal_tenant-CNmiAf_A.cjs.map} +1 -1
  119. package/dist/{portal_tenant-f_Cs2YmO.mjs → portal_tenant-Q3x7ALaZ.mjs} +13 -2
  120. package/dist/{portal_tenant-f_Cs2YmO.mjs.map → portal_tenant-Q3x7ALaZ.mjs.map} +1 -1
  121. package/dist/{query-keys-CC2PXIfJ.cjs → query-keys-D3lK70Ea.cjs} +1 -1
  122. package/dist/{query-keys-BkMRwfNo.mjs.map → query-keys-D3lK70Ea.cjs.map} +1 -1
  123. package/dist/{query-keys-BkMRwfNo.mjs → query-keys-xJy_fapN.mjs} +1 -1
  124. package/dist/{query-keys-CC2PXIfJ.cjs.map → query-keys-xJy_fapN.mjs.map} +1 -1
  125. package/dist/{sortable.esm-BSpvRpWg.mjs → sortable.esm-C8G00cCP.mjs} +1 -1
  126. package/dist/{sortable.esm-BSpvRpWg.mjs.map → sortable.esm-C8G00cCP.mjs.map} +1 -1
  127. package/dist/{use-account-Ipii17ZX.mjs → use-account-CBMPhhs7.mjs} +2 -2
  128. package/dist/{use-account-Ipii17ZX.mjs.map → use-account-CBMPhhs7.mjs.map} +1 -1
  129. package/dist/{use-account-Bv_VAVxj.cjs → use-account-DcBCP06c.cjs} +2 -2
  130. package/dist/{use-account-Bv_VAVxj.cjs.map → use-account-DcBCP06c.cjs.map} +1 -1
  131. package/dist/{use-store-3holBUj4.mjs → use-store-By_7tzrN.mjs} +1 -1
  132. package/dist/{use-store-3holBUj4.mjs.map → use-store-By_7tzrN.mjs.map} +1 -1
  133. package/dist/{use-store-D2S1FywW.cjs → use-store-lOOUcpRT.cjs} +1 -1
  134. package/dist/{use-store-D2S1FywW.cjs.map → use-store-lOOUcpRT.cjs.map} +1 -1
  135. package/package.json +13 -13
  136. package/dist/ContactsScreen-DHHzJhO4.mjs.map +0 -1
  137. package/dist/ContactsScreen-gq1fPZzb.cjs.map +0 -1
  138. package/dist/FluidProvider-i69t4zBo.mjs.map +0 -1
  139. package/dist/OrdersScreen-CfnNy52h.cjs +0 -9
  140. package/dist/ShareablesScreen-BjpwByeL.mjs.map +0 -1
  141. package/dist/ShareablesScreen-BsICzJuf.cjs.map +0 -1
  142. package/dist/ToDoWidget-Bv258x8F.mjs.map +0 -1
  143. package/dist/ToDoWidget-CaDOZtAB.cjs.map +0 -1
@@ -1,17 +1,17 @@
1
1
  import { r as __exportAll, t as useDropzone } from "./es-BkP8gyWU.mjs";
2
- import { l as enrollment_packs_list, u as enrollment_packs_show } from "./portal_tenant-f_Cs2YmO.mjs";
2
+ import { l as enrollment_packs_list, u as enrollment_packs_show } from "./portal_tenant-Q3x7ALaZ.mjs";
3
3
  import { A as playlists_list, C as pages_show, D as playlists_items_list, E as playlists_items_add, M as playlists_update, N as shares_create, O as playlists_items_remove, P as shares_list, S as pages_list, T as playlists_destroy, _ as media_products_add, a as content_playlists_by_shares, b as media_show, c as dam_asset_paths_list, d as dam_assets_discard, f as dam_assets_list, g as media_list, h as media_destroy, i as content_pages_by_visits, j as playlists_show, k as playlists_items_reorder, l as dam_assets_create, m as media_create, n as content_media_by_visits, o as content_playlists_by_visits, p as dam_query, r as content_pages_by_shares, s as dam_asset_paths_create, t as content_media_by_shares, u as dam_assets_destroy, v as media_products_list, w as playlists_create, x as media_update, y as media_products_remove } from "./portal_tenant_content-CEDc7an2.mjs";
4
4
  import { n as usePortalTenantClient } from "./PortalTenantClientProvider-CjJzBCTL.mjs";
5
5
  import { $ as DropdownMenuSeparator, A as Select, At as Checkbox, B as Form, C as Skeleton, Cn as AlertDialogFooter, Dn as Content, En as Button, Et as CardContent, G as FormMessage, H as FormField, J as DropdownMenuContent, K as Label, L as Input, M as SelectItem, N as SelectTrigger, Nn as useZodForm, P as SelectValue, Pn as cn, S as Slider, Sn as AlertDialogDescription, Tn as AlertDialogTitle, U as FormItem, V as FormControl, W as FormLabel, Y as DropdownMenuItem, _ as Switch, b as fluidToast, bn as AlertDialogCancel, c as Tabs, cn as Breadcrumb, dn as BreadcrumbList, dt as DialogPortal, et as DropdownMenuSub, fn as BreadcrumbPage, ft as DialogTitle, ht as PopoverTrigger, i as TooltipTrigger, it as Dialog, j as SelectContent, k as Separator, l as TabsList, ln as BreadcrumbItem, lt as DialogHeader, mn as Badge, mt as PopoverContent, n as TooltipContent, nt as DropdownMenuSubTrigger, ot as DialogContent, pn as BreadcrumbSeparator, pt as Popover, q as DropdownMenu, r as TooltipProvider, rt as DropdownMenuTrigger, s as Textarea, st as DialogDescription, t as Tooltip, tt as DropdownMenuSubContent, u as TabsTrigger, un as BreadcrumbLink, ut as DialogOverlay, vn as AlertDialog, wn as AlertDialogHeader, wt as Card, xn as AlertDialogContent, y as Spinner, yn as AlertDialogAction } from "./src-CCqVyAdS.mjs";
6
- import { n as useScreenHeaderActions, r as useScreenHeaderBreadcrumbs } from "./ScreenHeaderContext-4WYXIqQ5.mjs";
7
- import { t as useAccount } from "./use-account-Ipii17ZX.mjs";
8
- import { t as useStore } from "./use-store-3holBUj4.mjs";
9
- import { n as useAppNavigation } from "./AppNavigationContext-BcZZMtV6.mjs";
10
- import { a as useEditor, o as Placeholder, r as EditorContent, t as StarterKit } from "./dist-q1wrtxfG.mjs";
11
- import { t as SearchSort } from "./SearchSort-BQ-nf9gJ.mjs";
12
- import { n as TextAlign, t as Underline } from "./dist-CsNsoBdu.mjs";
13
- import { a as verticalListSortingStrategy, c as PointerSensor, d as useSensors, f as CSS, i as useSortable, l as closestCenter, n as arrayMove, o as DndContext, p as PORTAL_MYSITE_KEYS, r as sortableKeyboardCoordinates, s as KeyboardSensor, t as SortableContext, u as useSensor } from "./sortable.esm-BSpvRpWg.mjs";
14
- import { o as usePortalProductsApi, t as PortalProductsApiProvider } from "./PortalProductsApiProvider-CP1xk872.mjs";
6
+ import { n as useScreenHeaderActions, r as useScreenHeaderBreadcrumbs } from "./ScreenHeaderContext-Cemdo7bM.mjs";
7
+ import { t as useAccount } from "./use-account-CBMPhhs7.mjs";
8
+ import { t as useStore } from "./use-store-By_7tzrN.mjs";
9
+ import { n as useAppNavigation } from "./AppNavigationContext-DNod9mf6.mjs";
10
+ import { a as useEditor, o as Placeholder, r as EditorContent, t as StarterKit } from "./dist-PbA1vxAz.mjs";
11
+ import { t as SearchSort } from "./SearchSort-DN0gsmxk.mjs";
12
+ import { n as TextAlign, t as Underline } from "./dist-o2cjwzIa.mjs";
13
+ import { a as verticalListSortingStrategy, c as PointerSensor, d as useSensors, f as CSS, i as useSortable, l as closestCenter, n as arrayMove, o as DndContext, p as PORTAL_MYSITE_KEYS, r as sortableKeyboardCoordinates, s as KeyboardSensor, t as SortableContext, u as useSensor } from "./sortable.esm-C8G00cCP.mjs";
14
+ import { o as usePortalProductsApi, t as PortalProductsApiProvider } from "./PortalProductsApiProvider-BIZg_c4Y.mjs";
15
15
  import React, { PureComponent, createContext, createRef, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
16
16
  import { keepPreviousData, useInfiniteQuery, useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
17
17
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -63,6 +63,13 @@ const shareablesKeys = {
63
63
  },
64
64
  playlists: {
65
65
  all: ["playlists"],
66
+ list: (search, sort, ownership) => [
67
+ "playlists",
68
+ "list",
69
+ search,
70
+ sort,
71
+ ownership
72
+ ],
66
73
  detail: (id) => [
67
74
  "playlists",
68
75
  "detail",
@@ -9653,17 +9660,13 @@ function PlaylistsListingScreen(_props) {
9653
9660
  return () => clearTimeout(timer);
9654
9661
  }, [searchTerm]);
9655
9662
  const observerTarget = useRef(null);
9656
- const queryKey = [
9657
- ...shareablesKeys.playlists.all,
9658
- "list",
9659
- debouncedSearch,
9660
- sortValue
9661
- ];
9663
+ const queryKey = [...shareablesKeys.playlists.list(debouncedSearch, sortValue, ownerFilter)];
9662
9664
  const { data, isLoading, isFetchingNextPage, hasNextPage, fetchNextPage, error } = useInfiniteQuery({
9663
9665
  queryKey,
9664
9666
  queryFn: async ({ pageParam }) => {
9665
9667
  const response = await api.playlists.getPlaylists({
9666
9668
  "filter[title]": debouncedSearch || void 0,
9669
+ "filter[ownership]": ownerFilter !== "all" ? ownerFilter : void 0,
9667
9670
  "page[cursor]": pageParam,
9668
9671
  "page[limit]": PAGE_SIZE$2,
9669
9672
  sort: sortValue
@@ -9677,16 +9680,7 @@ function PlaylistsListingScreen(_props) {
9677
9680
  initialPageParam: void 0,
9678
9681
  placeholderData: keepPreviousData
9679
9682
  });
9680
- const allPlaylists = useMemo(() => data?.pages.flatMap((page) => page.playlists) ?? [], [data?.pages]);
9681
- const filteredPlaylists = useMemo(() => {
9682
- if (ownerFilter === "all" || !user?.id) return allPlaylists;
9683
- if (ownerFilter === "mine") return allPlaylists.filter((p) => p.user_id === user.id);
9684
- return allPlaylists.filter((p) => p.user_id !== user.id);
9685
- }, [
9686
- allPlaylists,
9687
- ownerFilter,
9688
- user?.id
9689
- ]);
9683
+ const filteredPlaylists = useMemo(() => data?.pages.flatMap((page) => page.playlists) ?? [], [data?.pages]);
9690
9684
  useEffect(() => {
9691
9685
  const target = observerTarget.current;
9692
9686
  if (!target) return;
@@ -12386,6 +12380,7 @@ function createRawPlaylistsAdapter(client) {
12386
12380
  "page[cursor]": params?.cursor,
12387
12381
  "page[limit]": params?.limit,
12388
12382
  "filter[title]": params?.["filter[title]"],
12383
+ "filter[ownership]": params?.["filter[ownership]"],
12389
12384
  sort: params?.sort
12390
12385
  });
12391
12386
  return {
@@ -12625,6 +12620,7 @@ function createPlaylistsAdapter(client) {
12625
12620
  cursor: options?.["page[cursor]"],
12626
12621
  limit: options?.["page[limit]"],
12627
12622
  "filter[title]": options?.["filter[title]"],
12623
+ "filter[ownership]": options?.["filter[ownership]"],
12628
12624
  sort: bffSort
12629
12625
  });
12630
12626
  return {
@@ -13461,4 +13457,4 @@ const shareablesScreenPropertySchema = {
13461
13457
  //#endregion
13462
13458
  export { ShareablesScreen_exports as n, shareablesScreenPropertySchema as r, ShareablesScreen as t };
13463
13459
 
13464
- //# sourceMappingURL=ShareablesScreen-BjpwByeL.mjs.map
13460
+ //# sourceMappingURL=ShareablesScreen-DNjpEjLv.mjs.map