@openpeepshq/react 0.7.0 → 0.8.0

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 (251) hide show
  1. package/dist/components/configuration/ConfigurationCategory.js +3 -2
  2. package/dist/components/configuration/ConfigurationList.js +1 -1
  3. package/dist/components/form/LocationInput.js +1 -1
  4. package/dist/components/jams/JamCapacityGate.js +1 -1
  5. package/dist/components/jams/JamConference.js +2 -0
  6. package/dist/components/jams/JamParticipantConference.js +2 -0
  7. package/dist/components/jams/JamRoom.js +2 -3
  8. package/dist/components/jams/LiveJamsSection.js +8 -2
  9. package/dist/components/jams/LivekitUnavailableNotice.d.ts +9 -0
  10. package/dist/components/jams/LivekitUnavailableNotice.js +19 -0
  11. package/dist/components/jams/dropLateAudio.d.ts +22 -0
  12. package/dist/components/jams/dropLateAudio.js +115 -0
  13. package/dist/components/jams/index.d.ts +1 -0
  14. package/dist/components/jams/index.js +1 -0
  15. package/dist/components/markdown/compileMarkdown.js +1 -0
  16. package/dist/components/navigation/FooterMobile.js +4 -3
  17. package/dist/components/navigation/HeaderMobile.js +5 -2
  18. package/dist/components/navigation/MobileMenuItem.d.ts +3 -1
  19. package/dist/components/navigation/MobileMenuItem.js +7 -2
  20. package/dist/components/navigation/NavWithTooltip.d.ts +9 -0
  21. package/dist/components/navigation/NavWithTooltip.js +4 -0
  22. package/dist/components/navigation/index.d.ts +2 -0
  23. package/dist/components/navigation/index.js +1 -0
  24. package/dist/components/navigation/sideBarNavLinkClass.d.ts +6 -4
  25. package/dist/components/navigation/sideBarNavLinkClass.js +6 -2
  26. package/dist/components/notifications/TypedNotification.js +46 -4
  27. package/dist/components/post/CompactReplyParent.js +5 -6
  28. package/dist/components/post/Markdown.d.ts +2 -2
  29. package/dist/components/post/Markdown.js +1 -1
  30. package/dist/components/post/TruncatedMarkdown.d.ts +27 -0
  31. package/dist/components/post/TruncatedMarkdown.js +37 -0
  32. package/dist/components/post/attachmentPreview.js +1 -1
  33. package/dist/components/post/helpers.d.ts +2 -2
  34. package/dist/components/post/helpers.js +3 -16
  35. package/dist/components/post/index.d.ts +2 -0
  36. package/dist/components/post/index.js +1 -0
  37. package/dist/components/post/pieces/Attachments.js +23 -17
  38. package/dist/components/post/pieces/EventLocation.js +14 -0
  39. package/dist/components/post/pieces/EventRsvpButton.js +39 -7
  40. package/dist/components/post/pieces/EventRsvpList.js +23 -3
  41. package/dist/components/post/pieces/EventRsvpScopeDialog.d.ts +1 -1
  42. package/dist/components/post/pieces/EventRsvpScopeDialog.js +34 -22
  43. package/dist/components/post/pieces/EventWaitlistJoinDialog.d.ts +10 -0
  44. package/dist/components/post/pieces/EventWaitlistJoinDialog.js +26 -0
  45. package/dist/components/post/pieces/ParticipantsCard.d.ts +1 -1
  46. package/dist/components/post/pieces/ParticipantsCard.js +1 -1
  47. package/dist/components/post/pieces/PollContent.js +8 -2
  48. package/dist/components/post/pieces/PostActions.d.ts +1 -1
  49. package/dist/components/post/pieces/PostActions.js +20 -12
  50. package/dist/components/post/pieces/ShareMenu.d.ts +6 -1
  51. package/dist/components/post/pieces/ShareMenu.js +40 -7
  52. package/dist/components/post/post-form/ArticleForm.js +1 -1
  53. package/dist/components/post/post-form/EventForm.js +33 -5
  54. package/dist/components/post/post-form/ResourceForm.d.ts +3 -1
  55. package/dist/components/post/post-form/ResourceForm.js +48 -7
  56. package/dist/components/post/post-form/VisibilitySelector.js +9 -3
  57. package/dist/components/post/types/Article.js +2 -3
  58. package/dist/components/post/types/Event.js +10 -1
  59. package/dist/components/post/types/article/FullArticle.js +1 -1
  60. package/dist/components/post/types/event/CardEvent.js +2 -1
  61. package/dist/components/post/types/event/FullEvent.js +22 -13
  62. package/dist/components/post/types/event/ProfileEventRelationship.js +8 -0
  63. package/dist/components/post/types/resource/FullResource.js +3 -3
  64. package/dist/components/preview-link/LocalPreviewLink.js +4 -2
  65. package/dist/components/preview-link/PreviewLink.js +1 -1
  66. package/dist/components/preview-link/helpers.d.ts +5 -0
  67. package/dist/components/preview-link/helpers.js +27 -1
  68. package/dist/components/preview-link/local/WelcomePreview.d.ts +1 -0
  69. package/dist/components/preview-link/local/WelcomePreview.js +8 -0
  70. package/dist/components/profile/Avatar.js +2 -2
  71. package/dist/components/profile/ProfileFromId.js +1 -1
  72. package/dist/components/resources/ResourceCard.d.ts +5 -1
  73. package/dist/components/resources/ResourceCard.js +29 -5
  74. package/dist/components/resources/ResourceCard.test.d.ts +1 -0
  75. package/dist/components/resources/ResourceCard.test.js +75 -0
  76. package/dist/components/resources/ResourceLibrary.js +1 -1
  77. package/dist/components/server-data/context.d.ts +1 -0
  78. package/dist/contexts/openpeeps/hooks/accounts.d.ts +5 -5
  79. package/dist/contexts/openpeeps/hooks/accounts.js +1 -3
  80. package/dist/contexts/openpeeps/hooks/admin.d.ts +165 -66
  81. package/dist/contexts/openpeeps/hooks/admin.js +11 -3
  82. package/dist/contexts/openpeeps/hooks/auth.d.ts +2 -2
  83. package/dist/contexts/openpeeps/hooks/groups.d.ts +8 -8
  84. package/dist/contexts/openpeeps/hooks/jams.d.ts +73 -24
  85. package/dist/contexts/openpeeps/hooks/other.d.ts +7 -6
  86. package/dist/contexts/openpeeps/hooks/payments.d.ts +2 -2
  87. package/dist/contexts/openpeeps/hooks/posts.d.ts +368 -170
  88. package/dist/contexts/openpeeps/hooks/streaming.d.ts +1 -1
  89. package/dist/hooks/admin/useCanAccessAdminSection.d.ts +13 -0
  90. package/dist/hooks/admin/useCanAccessAdminSection.js +21 -0
  91. package/dist/hooks/events/useEventComposer.d.ts +94 -41
  92. package/dist/hooks/events/useEventForm.d.ts +1 -0
  93. package/dist/hooks/events/useEventRsvp.d.ts +12 -2
  94. package/dist/hooks/events/useEventRsvp.js +59 -10
  95. package/dist/hooks/events/useEventsCalendar.d.ts +174 -76
  96. package/dist/hooks/groups/useNewGroup.js +22 -2
  97. package/dist/hooks/index.d.ts +5 -1
  98. package/dist/hooks/index.js +4 -1
  99. package/dist/hooks/jams/useCanDiagnoseLivekit.d.ts +2 -0
  100. package/dist/hooks/jams/useCanDiagnoseLivekit.js +3 -0
  101. package/dist/hooks/jams/useCreateNewJamForm.d.ts +3 -1
  102. package/dist/hooks/jams/useJamDetails.d.ts +87 -38
  103. package/dist/hooks/jams/useJamLobby.d.ts +1 -0
  104. package/dist/hooks/jams/useJamRoom.d.ts +175 -76
  105. package/dist/hooks/posts/useArticleComposer.d.ts +93 -41
  106. package/dist/hooks/posts/useFeedPostPresentation.d.ts +174 -76
  107. package/dist/hooks/posts/usePostDetailTitle.d.ts +87 -38
  108. package/dist/hooks/posts/useResourceComposer.d.ts +95 -41
  109. package/dist/hooks/posts/useResourceComposer.js +135 -27
  110. package/dist/hooks/posts/useShareMenu.d.ts +2 -0
  111. package/dist/hooks/posts/useShareMenu.js +7 -0
  112. package/dist/hooks/resources/useResourceLibrary.d.ts +177 -79
  113. package/dist/hooks/resources/useResourceLibrary.js +6 -2
  114. package/dist/hooks/settings/useNotificationPreferences.d.ts +1 -1
  115. package/dist/hooks/useWelcomePreview.d.ts +16 -0
  116. package/dist/hooks/useWelcomePreview.js +40 -0
  117. package/dist/lib/groupFormErrors.d.ts +1 -0
  118. package/dist/lib/groupFormErrors.js +5 -2
  119. package/dist/lib/threadHelpers.js +1 -5
  120. package/dist/navigation/menuItems.js +15 -0
  121. package/dist/navigation/targets.d.ts +2 -0
  122. package/dist/pages/admin/ConfigurationCommunity.js +1 -1
  123. package/dist/pages/admin/Diagnostics.js +1 -1
  124. package/dist/pages/admin/DiagnosticsLivekit.d.ts +1 -0
  125. package/dist/pages/admin/DiagnosticsLivekit.js +50 -0
  126. package/dist/pages/admin/Invites.js +5 -3
  127. package/dist/pages/admin/Media.d.ts +1 -0
  128. package/dist/pages/admin/Media.js +135 -0
  129. package/dist/pages/admin/community/CommunityForbiddenUsernames.d.ts +1 -0
  130. package/dist/pages/admin/community/CommunityForbiddenUsernames.js +106 -0
  131. package/dist/pages/admin/community/CommunityMarkdownPage.js +2 -1
  132. package/dist/pages/admin/community/CommunityRoles.js +1 -1
  133. package/dist/pages/admin/community/useCommunityConfig.d.ts +2 -0
  134. package/dist/pages/admin/components/EditInviteLinkModal.d.ts +5 -0
  135. package/dist/pages/admin/components/EditInviteLinkModal.js +131 -0
  136. package/dist/pages/auth/Register.js +33 -9
  137. package/dist/pages/conversations/Show.js +11 -0
  138. package/dist/pages/index.d.ts +3 -0
  139. package/dist/pages/index.js +3 -0
  140. package/dist/pages/jams/Index.js +2 -4
  141. package/dist/pages/resources/Edit.js +3 -3
  142. package/dist/pages/resources/New.js +2 -2
  143. package/dist/pages/settings/Account.js +30 -2
  144. package/dist/pages/settings/PublicProfile.js +15 -3
  145. package/dist/pwa/sw.d.ts +0 -1
  146. package/dist/react-native.d.ts +1 -0
  147. package/dist/react-native.js +1 -0
  148. package/dist/stores/newPosts.d.ts +4 -2
  149. package/dist/stores/newPosts.js +6 -1
  150. package/package.json +12 -7
  151. package/src/components/configuration/ConfigurationCategory.tsx +23 -10
  152. package/src/components/configuration/ConfigurationList.tsx +6 -1
  153. package/src/components/form/LocationInput.tsx +7 -1
  154. package/src/components/jams/JamCapacityGate.tsx +1 -1
  155. package/src/components/jams/JamConference.tsx +2 -0
  156. package/src/components/jams/JamParticipantConference.tsx +2 -0
  157. package/src/components/jams/JamRoom.tsx +2 -6
  158. package/src/components/jams/LiveJamsSection.tsx +16 -2
  159. package/src/components/jams/LivekitUnavailableNotice.tsx +40 -0
  160. package/src/components/jams/dropLateAudio.ts +153 -0
  161. package/src/components/jams/index.ts +1 -0
  162. package/src/components/markdown/compileMarkdown.ts +1 -0
  163. package/src/components/navigation/FooterMobile.tsx +41 -33
  164. package/src/components/navigation/HeaderMobile.tsx +55 -41
  165. package/src/components/navigation/MobileMenuItem.tsx +15 -2
  166. package/src/components/navigation/NavWithTooltip.tsx +26 -0
  167. package/src/components/navigation/index.ts +2 -0
  168. package/src/components/navigation/sideBarNavLinkClass.ts +9 -6
  169. package/src/components/notifications/TypedNotification.tsx +81 -9
  170. package/src/components/post/CompactReplyParent.tsx +17 -10
  171. package/src/components/post/Markdown.tsx +8 -2
  172. package/src/components/post/TruncatedMarkdown.tsx +91 -0
  173. package/src/components/post/attachmentPreview.ts +1 -3
  174. package/src/components/post/helpers.ts +4 -18
  175. package/src/components/post/index.ts +2 -0
  176. package/src/components/post/pieces/Attachments.tsx +93 -78
  177. package/src/components/post/pieces/EventLocation.tsx +27 -0
  178. package/src/components/post/pieces/EventRsvpButton.tsx +110 -7
  179. package/src/components/post/pieces/EventRsvpList.tsx +64 -0
  180. package/src/components/post/pieces/EventRsvpScopeDialog.tsx +39 -27
  181. package/src/components/post/pieces/EventWaitlistJoinDialog.tsx +77 -0
  182. package/src/components/post/pieces/ParticipantsCard.tsx +4 -1
  183. package/src/components/post/pieces/PollContent.tsx +8 -2
  184. package/src/components/post/pieces/PostActions.tsx +73 -42
  185. package/src/components/post/pieces/ShareMenu.tsx +67 -9
  186. package/src/components/post/post-form/ArticleForm.tsx +1 -1
  187. package/src/components/post/post-form/EventForm.tsx +69 -15
  188. package/src/components/post/post-form/ResourceForm.tsx +132 -4
  189. package/src/components/post/post-form/VisibilitySelector.tsx +12 -5
  190. package/src/components/post/types/Article.tsx +6 -6
  191. package/src/components/post/types/Event.tsx +68 -7
  192. package/src/components/post/types/article/FullArticle.tsx +2 -2
  193. package/src/components/post/types/event/CardEvent.tsx +26 -14
  194. package/src/components/post/types/event/FullEvent.tsx +48 -35
  195. package/src/components/post/types/event/ProfileEventRelationship.tsx +8 -0
  196. package/src/components/post/types/note/FullNote.tsx +1 -4
  197. package/src/components/post/types/poll/FullPoll.tsx +1 -4
  198. package/src/components/post/types/resource/FullResource.tsx +9 -1
  199. package/src/components/preview-link/LocalPreviewLink.tsx +4 -1
  200. package/src/components/preview-link/PreviewLink.tsx +2 -7
  201. package/src/components/preview-link/helpers.ts +32 -1
  202. package/src/components/preview-link/local/GroupPreview.tsx +1 -1
  203. package/src/components/preview-link/local/JamPreview.tsx +1 -1
  204. package/src/components/preview-link/local/WelcomePreview.tsx +45 -0
  205. package/src/components/profile/Avatar.tsx +6 -2
  206. package/src/components/profile/ProfileFromId.tsx +1 -5
  207. package/src/components/resources/ResourceCard.tsx +68 -11
  208. package/src/components/resources/ResourceLibrary.tsx +2 -2
  209. package/src/contexts/openpeeps/hooks/accounts.ts +1 -3
  210. package/src/contexts/openpeeps/hooks/admin.ts +11 -3
  211. package/src/contexts/openpeeps/hooks/other.ts +9 -12
  212. package/src/contexts/openpeeps/hooks/streaming.ts +3 -3
  213. package/src/css.d.ts +4 -0
  214. package/src/hooks/admin/useCanAccessAdminSection.ts +27 -0
  215. package/src/hooks/events/useEventRsvp.ts +69 -13
  216. package/src/hooks/groups/useNewGroup.ts +28 -3
  217. package/src/hooks/index.ts +8 -1
  218. package/src/hooks/jams/useCanDiagnoseLivekit.ts +5 -0
  219. package/src/hooks/posts/useResourceComposer.ts +165 -39
  220. package/src/hooks/posts/useShareMenu.ts +9 -0
  221. package/src/hooks/resources/useResourceLibrary.ts +6 -2
  222. package/src/hooks/useWelcomePreview.ts +61 -0
  223. package/src/i18n/I18nProvider.tsx +1 -4
  224. package/src/lib/groupFormErrors.ts +9 -2
  225. package/src/lib/threadHelpers.ts +1 -5
  226. package/src/navigation/menuItems.ts +16 -0
  227. package/src/navigation/targets.ts +2 -0
  228. package/src/pages/admin/ConfigurationCommunity.tsx +5 -0
  229. package/src/pages/admin/Diagnostics.tsx +4 -0
  230. package/src/pages/admin/DiagnosticsLivekit.tsx +147 -0
  231. package/src/pages/admin/Invites.tsx +23 -1
  232. package/src/pages/admin/Media.tsx +290 -0
  233. package/src/pages/admin/community/CommunityForbiddenUsernames.tsx +223 -0
  234. package/src/pages/admin/community/CommunityMarkdownPage.tsx +5 -1
  235. package/src/pages/admin/community/CommunityRoles.tsx +2 -2
  236. package/src/pages/admin/components/EditInviteLinkModal.tsx +263 -0
  237. package/src/pages/auth/Register.tsx +45 -4
  238. package/src/pages/conversations/Show.tsx +11 -0
  239. package/src/pages/index.ts +3 -0
  240. package/src/pages/jams/Index.tsx +2 -6
  241. package/src/pages/resources/Edit.tsx +3 -2
  242. package/src/pages/resources/New.tsx +6 -1
  243. package/src/pages/settings/Account.tsx +51 -1
  244. package/src/pages/settings/PublicProfile.tsx +20 -2
  245. package/src/pwa/sw.ts +6 -3
  246. package/src/pwa/useNotificationBadgeSync.ts +3 -1
  247. package/src/react-native.ts +1 -0
  248. package/src/stores/newPosts.ts +6 -1
  249. package/src/streaming.ts +3 -3
  250. package/dist/setupTests.d.ts +0 -1
  251. package/dist/setupTests.js +0 -5
@@ -116,6 +116,7 @@ export declare const useNewResource: () => {
116
116
  image?: string | undefined;
117
117
  end?: string | undefined;
118
118
  maxAttendees?: number | undefined;
119
+ waitlistOfferMinutes?: number | undefined;
119
120
  attendeeListPublic?: boolean | undefined;
120
121
  moderators?: string[] | undefined;
121
122
  jam?: {
@@ -198,7 +199,7 @@ export declare const useNewResource: () => {
198
199
  } | {
199
200
  type: "resource";
200
201
  title: string;
201
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
202
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
202
203
  content?: string | undefined;
203
204
  sensitive?: boolean | undefined;
204
205
  spoilerText?: string | undefined;
@@ -359,6 +360,7 @@ export declare const useNewResource: () => {
359
360
  capabilitiesNeeded?: string[] | null | undefined;
360
361
  };
361
362
  setPostData: (data: PostCreationData) => void;
363
+ groupOnly: boolean;
362
364
  canSubmit: boolean;
363
365
  submitting: boolean;
364
366
  error: string | null;
@@ -540,6 +542,7 @@ export declare const useEditResource: (resourceId: string) => {
540
542
  image?: string | undefined;
541
543
  end?: string | undefined;
542
544
  maxAttendees?: number | undefined;
545
+ waitlistOfferMinutes?: number | undefined;
543
546
  attendeeListPublic?: boolean | undefined;
544
547
  moderators?: string[] | undefined;
545
548
  jam?: {
@@ -622,7 +625,7 @@ export declare const useEditResource: (resourceId: string) => {
622
625
  } | {
623
626
  type: "resource";
624
627
  title: string;
625
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
628
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
626
629
  content?: string | undefined;
627
630
  sensitive?: boolean | undefined;
628
631
  spoilerText?: string | undefined;
@@ -773,6 +776,7 @@ export declare const useEditResource: (resourceId: string) => {
773
776
  image?: string | undefined;
774
777
  end?: string | undefined;
775
778
  maxAttendees?: number | undefined;
779
+ waitlistOfferMinutes?: number | undefined;
776
780
  attendeeListPublic?: boolean | undefined;
777
781
  moderators?: string[] | undefined;
778
782
  jam?: {
@@ -855,7 +859,7 @@ export declare const useEditResource: (resourceId: string) => {
855
859
  } | {
856
860
  type: "resource";
857
861
  title: string;
858
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
862
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
859
863
  content?: string | undefined;
860
864
  sensitive?: boolean | undefined;
861
865
  spoilerText?: string | undefined;
@@ -1065,6 +1069,7 @@ export declare const useEditResource: (resourceId: string) => {
1065
1069
  image?: string | undefined;
1066
1070
  end?: string | undefined;
1067
1071
  maxAttendees?: number | undefined;
1072
+ waitlistOfferMinutes?: number | undefined;
1068
1073
  attendeeListPublic?: boolean | undefined;
1069
1074
  moderators?: string[] | undefined;
1070
1075
  jam?: {
@@ -1147,7 +1152,7 @@ export declare const useEditResource: (resourceId: string) => {
1147
1152
  } | {
1148
1153
  type: "resource";
1149
1154
  title: string;
1150
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
1155
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
1151
1156
  content?: string | undefined;
1152
1157
  sensitive?: boolean | undefined;
1153
1158
  spoilerText?: string | undefined;
@@ -1371,8 +1376,10 @@ export declare const useEditResource: (resourceId: string) => {
1371
1376
  } | {
1372
1377
  type: "rsvp";
1373
1378
  data: {
1374
- response: "no" | "yes" | "tentative" | "removed";
1379
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
1375
1380
  recurrenceId?: string | undefined;
1381
+ waitlistJoinedAt?: string | undefined;
1382
+ offerExpiresAt?: string | undefined;
1376
1383
  };
1377
1384
  profile: {
1378
1385
  id: string;
@@ -1630,7 +1637,7 @@ export declare const useEditResource: (resourceId: string) => {
1630
1637
  }[];
1631
1638
  updatedAt: string;
1632
1639
  rsvps: {
1633
- response: "no" | "yes" | "tentative" | "removed";
1640
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
1634
1641
  profile: {
1635
1642
  id: string;
1636
1643
  type: "local" | "guest" | "federated";
@@ -1691,6 +1698,8 @@ export declare const useEditResource: (resourceId: string) => {
1691
1698
  };
1692
1699
  createdAt: string;
1693
1700
  recurrenceId?: string | undefined;
1701
+ waitlistJoinedAt?: string | undefined;
1702
+ offerExpiresAt?: string | undefined;
1694
1703
  }[];
1695
1704
  deletedAt?: string | null | undefined;
1696
1705
  group?: {
@@ -1946,6 +1955,7 @@ export declare const useEditResource: (resourceId: string) => {
1946
1955
  image?: string | undefined;
1947
1956
  end?: string | undefined;
1948
1957
  maxAttendees?: number | undefined;
1958
+ waitlistOfferMinutes?: number | undefined;
1949
1959
  attendeeListPublic?: boolean | undefined;
1950
1960
  moderators?: string[] | undefined;
1951
1961
  jam?: {
@@ -2028,7 +2038,7 @@ export declare const useEditResource: (resourceId: string) => {
2028
2038
  } | {
2029
2039
  type: "resource";
2030
2040
  title: string;
2031
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
2041
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
2032
2042
  content?: string | undefined;
2033
2043
  sensitive?: boolean | undefined;
2034
2044
  spoilerText?: string | undefined;
@@ -2179,6 +2189,7 @@ export declare const useEditResource: (resourceId: string) => {
2179
2189
  image?: string | undefined;
2180
2190
  end?: string | undefined;
2181
2191
  maxAttendees?: number | undefined;
2192
+ waitlistOfferMinutes?: number | undefined;
2182
2193
  attendeeListPublic?: boolean | undefined;
2183
2194
  moderators?: string[] | undefined;
2184
2195
  jam?: {
@@ -2261,7 +2272,7 @@ export declare const useEditResource: (resourceId: string) => {
2261
2272
  } | {
2262
2273
  type: "resource";
2263
2274
  title: string;
2264
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
2275
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
2265
2276
  content?: string | undefined;
2266
2277
  sensitive?: boolean | undefined;
2267
2278
  spoilerText?: string | undefined;
@@ -2471,6 +2482,7 @@ export declare const useEditResource: (resourceId: string) => {
2471
2482
  image?: string | undefined;
2472
2483
  end?: string | undefined;
2473
2484
  maxAttendees?: number | undefined;
2485
+ waitlistOfferMinutes?: number | undefined;
2474
2486
  attendeeListPublic?: boolean | undefined;
2475
2487
  moderators?: string[] | undefined;
2476
2488
  jam?: {
@@ -2553,7 +2565,7 @@ export declare const useEditResource: (resourceId: string) => {
2553
2565
  } | {
2554
2566
  type: "resource";
2555
2567
  title: string;
2556
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
2568
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
2557
2569
  content?: string | undefined;
2558
2570
  sensitive?: boolean | undefined;
2559
2571
  spoilerText?: string | undefined;
@@ -2777,8 +2789,10 @@ export declare const useEditResource: (resourceId: string) => {
2777
2789
  } | {
2778
2790
  type: "rsvp";
2779
2791
  data: {
2780
- response: "no" | "yes" | "tentative" | "removed";
2792
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
2781
2793
  recurrenceId?: string | undefined;
2794
+ waitlistJoinedAt?: string | undefined;
2795
+ offerExpiresAt?: string | undefined;
2782
2796
  };
2783
2797
  profile: {
2784
2798
  id: string;
@@ -3098,6 +3112,7 @@ export declare const useEditResource: (resourceId: string) => {
3098
3112
  image?: string | undefined;
3099
3113
  end?: string | undefined;
3100
3114
  maxAttendees?: number | undefined;
3115
+ waitlistOfferMinutes?: number | undefined;
3101
3116
  attendeeListPublic?: boolean | undefined;
3102
3117
  moderators?: string[] | undefined;
3103
3118
  jam?: {
@@ -3180,7 +3195,7 @@ export declare const useEditResource: (resourceId: string) => {
3180
3195
  } | {
3181
3196
  type: "resource";
3182
3197
  title: string;
3183
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
3198
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
3184
3199
  content?: string | undefined;
3185
3200
  sensitive?: boolean | undefined;
3186
3201
  spoilerText?: string | undefined;
@@ -3331,6 +3346,7 @@ export declare const useEditResource: (resourceId: string) => {
3331
3346
  image?: string | undefined;
3332
3347
  end?: string | undefined;
3333
3348
  maxAttendees?: number | undefined;
3349
+ waitlistOfferMinutes?: number | undefined;
3334
3350
  attendeeListPublic?: boolean | undefined;
3335
3351
  moderators?: string[] | undefined;
3336
3352
  jam?: {
@@ -3413,7 +3429,7 @@ export declare const useEditResource: (resourceId: string) => {
3413
3429
  } | {
3414
3430
  type: "resource";
3415
3431
  title: string;
3416
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
3432
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
3417
3433
  content?: string | undefined;
3418
3434
  sensitive?: boolean | undefined;
3419
3435
  spoilerText?: string | undefined;
@@ -3623,6 +3639,7 @@ export declare const useEditResource: (resourceId: string) => {
3623
3639
  image?: string | undefined;
3624
3640
  end?: string | undefined;
3625
3641
  maxAttendees?: number | undefined;
3642
+ waitlistOfferMinutes?: number | undefined;
3626
3643
  attendeeListPublic?: boolean | undefined;
3627
3644
  moderators?: string[] | undefined;
3628
3645
  jam?: {
@@ -3705,7 +3722,7 @@ export declare const useEditResource: (resourceId: string) => {
3705
3722
  } | {
3706
3723
  type: "resource";
3707
3724
  title: string;
3708
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
3725
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
3709
3726
  content?: string | undefined;
3710
3727
  sensitive?: boolean | undefined;
3711
3728
  spoilerText?: string | undefined;
@@ -3929,8 +3946,10 @@ export declare const useEditResource: (resourceId: string) => {
3929
3946
  } | {
3930
3947
  type: "rsvp";
3931
3948
  data: {
3932
- response: "no" | "yes" | "tentative" | "removed";
3949
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
3933
3950
  recurrenceId?: string | undefined;
3951
+ waitlistJoinedAt?: string | undefined;
3952
+ offerExpiresAt?: string | undefined;
3934
3953
  };
3935
3954
  profile: {
3936
3955
  id: string;
@@ -4272,6 +4291,7 @@ export declare const useEditResource: (resourceId: string) => {
4272
4291
  image?: string | undefined;
4273
4292
  end?: string | undefined;
4274
4293
  maxAttendees?: number | undefined;
4294
+ waitlistOfferMinutes?: number | undefined;
4275
4295
  attendeeListPublic?: boolean | undefined;
4276
4296
  moderators?: string[] | undefined;
4277
4297
  jam?: {
@@ -4354,7 +4374,7 @@ export declare const useEditResource: (resourceId: string) => {
4354
4374
  } | {
4355
4375
  type: "resource";
4356
4376
  title: string;
4357
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
4377
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
4358
4378
  content?: string | undefined;
4359
4379
  sensitive?: boolean | undefined;
4360
4380
  spoilerText?: string | undefined;
@@ -4505,6 +4525,7 @@ export declare const useEditResource: (resourceId: string) => {
4505
4525
  image?: string | undefined;
4506
4526
  end?: string | undefined;
4507
4527
  maxAttendees?: number | undefined;
4528
+ waitlistOfferMinutes?: number | undefined;
4508
4529
  attendeeListPublic?: boolean | undefined;
4509
4530
  moderators?: string[] | undefined;
4510
4531
  jam?: {
@@ -4587,7 +4608,7 @@ export declare const useEditResource: (resourceId: string) => {
4587
4608
  } | {
4588
4609
  type: "resource";
4589
4610
  title: string;
4590
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
4611
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
4591
4612
  content?: string | undefined;
4592
4613
  sensitive?: boolean | undefined;
4593
4614
  spoilerText?: string | undefined;
@@ -4797,6 +4818,7 @@ export declare const useEditResource: (resourceId: string) => {
4797
4818
  image?: string | undefined;
4798
4819
  end?: string | undefined;
4799
4820
  maxAttendees?: number | undefined;
4821
+ waitlistOfferMinutes?: number | undefined;
4800
4822
  attendeeListPublic?: boolean | undefined;
4801
4823
  moderators?: string[] | undefined;
4802
4824
  jam?: {
@@ -4879,7 +4901,7 @@ export declare const useEditResource: (resourceId: string) => {
4879
4901
  } | {
4880
4902
  type: "resource";
4881
4903
  title: string;
4882
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
4904
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
4883
4905
  content?: string | undefined;
4884
4906
  sensitive?: boolean | undefined;
4885
4907
  spoilerText?: string | undefined;
@@ -5103,8 +5125,10 @@ export declare const useEditResource: (resourceId: string) => {
5103
5125
  } | {
5104
5126
  type: "rsvp";
5105
5127
  data: {
5106
- response: "no" | "yes" | "tentative" | "removed";
5128
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
5107
5129
  recurrenceId?: string | undefined;
5130
+ waitlistJoinedAt?: string | undefined;
5131
+ offerExpiresAt?: string | undefined;
5108
5132
  };
5109
5133
  profile: {
5110
5134
  id: string;
@@ -5424,6 +5448,7 @@ export declare const useEditResource: (resourceId: string) => {
5424
5448
  image?: string | undefined;
5425
5449
  end?: string | undefined;
5426
5450
  maxAttendees?: number | undefined;
5451
+ waitlistOfferMinutes?: number | undefined;
5427
5452
  attendeeListPublic?: boolean | undefined;
5428
5453
  moderators?: string[] | undefined;
5429
5454
  jam?: {
@@ -5506,7 +5531,7 @@ export declare const useEditResource: (resourceId: string) => {
5506
5531
  } | {
5507
5532
  type: "resource";
5508
5533
  title: string;
5509
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
5534
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
5510
5535
  content?: string | undefined;
5511
5536
  sensitive?: boolean | undefined;
5512
5537
  spoilerText?: string | undefined;
@@ -5657,6 +5682,7 @@ export declare const useEditResource: (resourceId: string) => {
5657
5682
  image?: string | undefined;
5658
5683
  end?: string | undefined;
5659
5684
  maxAttendees?: number | undefined;
5685
+ waitlistOfferMinutes?: number | undefined;
5660
5686
  attendeeListPublic?: boolean | undefined;
5661
5687
  moderators?: string[] | undefined;
5662
5688
  jam?: {
@@ -5739,7 +5765,7 @@ export declare const useEditResource: (resourceId: string) => {
5739
5765
  } | {
5740
5766
  type: "resource";
5741
5767
  title: string;
5742
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
5768
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
5743
5769
  content?: string | undefined;
5744
5770
  sensitive?: boolean | undefined;
5745
5771
  spoilerText?: string | undefined;
@@ -5949,6 +5975,7 @@ export declare const useEditResource: (resourceId: string) => {
5949
5975
  image?: string | undefined;
5950
5976
  end?: string | undefined;
5951
5977
  maxAttendees?: number | undefined;
5978
+ waitlistOfferMinutes?: number | undefined;
5952
5979
  attendeeListPublic?: boolean | undefined;
5953
5980
  moderators?: string[] | undefined;
5954
5981
  jam?: {
@@ -6031,7 +6058,7 @@ export declare const useEditResource: (resourceId: string) => {
6031
6058
  } | {
6032
6059
  type: "resource";
6033
6060
  title: string;
6034
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
6061
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
6035
6062
  content?: string | undefined;
6036
6063
  sensitive?: boolean | undefined;
6037
6064
  spoilerText?: string | undefined;
@@ -6255,8 +6282,10 @@ export declare const useEditResource: (resourceId: string) => {
6255
6282
  } | {
6256
6283
  type: "rsvp";
6257
6284
  data: {
6258
- response: "no" | "yes" | "tentative" | "removed";
6285
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
6259
6286
  recurrenceId?: string | undefined;
6287
+ waitlistJoinedAt?: string | undefined;
6288
+ offerExpiresAt?: string | undefined;
6260
6289
  };
6261
6290
  profile: {
6262
6291
  id: string;
@@ -6578,6 +6607,7 @@ export declare const useEditResource: (resourceId: string) => {
6578
6607
  image?: string | undefined;
6579
6608
  end?: string | undefined;
6580
6609
  maxAttendees?: number | undefined;
6610
+ waitlistOfferMinutes?: number | undefined;
6581
6611
  attendeeListPublic?: boolean | undefined;
6582
6612
  moderators?: string[] | undefined;
6583
6613
  jam?: {
@@ -6660,7 +6690,7 @@ export declare const useEditResource: (resourceId: string) => {
6660
6690
  } | {
6661
6691
  type: "resource";
6662
6692
  title: string;
6663
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
6693
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
6664
6694
  content?: string | undefined;
6665
6695
  sensitive?: boolean | undefined;
6666
6696
  spoilerText?: string | undefined;
@@ -6811,6 +6841,7 @@ export declare const useEditResource: (resourceId: string) => {
6811
6841
  image?: string | undefined;
6812
6842
  end?: string | undefined;
6813
6843
  maxAttendees?: number | undefined;
6844
+ waitlistOfferMinutes?: number | undefined;
6814
6845
  attendeeListPublic?: boolean | undefined;
6815
6846
  moderators?: string[] | undefined;
6816
6847
  jam?: {
@@ -6893,7 +6924,7 @@ export declare const useEditResource: (resourceId: string) => {
6893
6924
  } | {
6894
6925
  type: "resource";
6895
6926
  title: string;
6896
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
6927
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
6897
6928
  content?: string | undefined;
6898
6929
  sensitive?: boolean | undefined;
6899
6930
  spoilerText?: string | undefined;
@@ -7103,6 +7134,7 @@ export declare const useEditResource: (resourceId: string) => {
7103
7134
  image?: string | undefined;
7104
7135
  end?: string | undefined;
7105
7136
  maxAttendees?: number | undefined;
7137
+ waitlistOfferMinutes?: number | undefined;
7106
7138
  attendeeListPublic?: boolean | undefined;
7107
7139
  moderators?: string[] | undefined;
7108
7140
  jam?: {
@@ -7185,7 +7217,7 @@ export declare const useEditResource: (resourceId: string) => {
7185
7217
  } | {
7186
7218
  type: "resource";
7187
7219
  title: string;
7188
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
7220
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
7189
7221
  content?: string | undefined;
7190
7222
  sensitive?: boolean | undefined;
7191
7223
  spoilerText?: string | undefined;
@@ -7409,8 +7441,10 @@ export declare const useEditResource: (resourceId: string) => {
7409
7441
  } | {
7410
7442
  type: "rsvp";
7411
7443
  data: {
7412
- response: "no" | "yes" | "tentative" | "removed";
7444
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
7413
7445
  recurrenceId?: string | undefined;
7446
+ waitlistJoinedAt?: string | undefined;
7447
+ offerExpiresAt?: string | undefined;
7414
7448
  };
7415
7449
  profile: {
7416
7450
  id: string;
@@ -7668,7 +7702,7 @@ export declare const useEditResource: (resourceId: string) => {
7668
7702
  }[];
7669
7703
  updatedAt: string;
7670
7704
  rsvps: {
7671
- response: "no" | "yes" | "tentative" | "removed";
7705
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
7672
7706
  profile: {
7673
7707
  id: string;
7674
7708
  type: "local" | "guest" | "federated";
@@ -7729,6 +7763,8 @@ export declare const useEditResource: (resourceId: string) => {
7729
7763
  };
7730
7764
  createdAt: string;
7731
7765
  recurrenceId?: string | undefined;
7766
+ waitlistJoinedAt?: string | undefined;
7767
+ offerExpiresAt?: string | undefined;
7732
7768
  }[];
7733
7769
  deletedAt?: string | null | undefined;
7734
7770
  group?: {
@@ -7985,6 +8021,7 @@ export declare const useEditResource: (resourceId: string) => {
7985
8021
  image?: string | undefined;
7986
8022
  end?: string | undefined;
7987
8023
  maxAttendees?: number | undefined;
8024
+ waitlistOfferMinutes?: number | undefined;
7988
8025
  attendeeListPublic?: boolean | undefined;
7989
8026
  moderators?: string[] | undefined;
7990
8027
  jam?: {
@@ -8067,7 +8104,7 @@ export declare const useEditResource: (resourceId: string) => {
8067
8104
  } | {
8068
8105
  type: "resource";
8069
8106
  title: string;
8070
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
8107
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
8071
8108
  content?: string | undefined;
8072
8109
  sensitive?: boolean | undefined;
8073
8110
  spoilerText?: string | undefined;
@@ -8218,6 +8255,7 @@ export declare const useEditResource: (resourceId: string) => {
8218
8255
  image?: string | undefined;
8219
8256
  end?: string | undefined;
8220
8257
  maxAttendees?: number | undefined;
8258
+ waitlistOfferMinutes?: number | undefined;
8221
8259
  attendeeListPublic?: boolean | undefined;
8222
8260
  moderators?: string[] | undefined;
8223
8261
  jam?: {
@@ -8300,7 +8338,7 @@ export declare const useEditResource: (resourceId: string) => {
8300
8338
  } | {
8301
8339
  type: "resource";
8302
8340
  title: string;
8303
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
8341
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
8304
8342
  content?: string | undefined;
8305
8343
  sensitive?: boolean | undefined;
8306
8344
  spoilerText?: string | undefined;
@@ -8510,6 +8548,7 @@ export declare const useEditResource: (resourceId: string) => {
8510
8548
  image?: string | undefined;
8511
8549
  end?: string | undefined;
8512
8550
  maxAttendees?: number | undefined;
8551
+ waitlistOfferMinutes?: number | undefined;
8513
8552
  attendeeListPublic?: boolean | undefined;
8514
8553
  moderators?: string[] | undefined;
8515
8554
  jam?: {
@@ -8592,7 +8631,7 @@ export declare const useEditResource: (resourceId: string) => {
8592
8631
  } | {
8593
8632
  type: "resource";
8594
8633
  title: string;
8595
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
8634
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
8596
8635
  content?: string | undefined;
8597
8636
  sensitive?: boolean | undefined;
8598
8637
  spoilerText?: string | undefined;
@@ -8816,8 +8855,10 @@ export declare const useEditResource: (resourceId: string) => {
8816
8855
  } | {
8817
8856
  type: "rsvp";
8818
8857
  data: {
8819
- response: "no" | "yes" | "tentative" | "removed";
8858
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
8820
8859
  recurrenceId?: string | undefined;
8860
+ waitlistJoinedAt?: string | undefined;
8861
+ offerExpiresAt?: string | undefined;
8821
8862
  };
8822
8863
  profile: {
8823
8864
  id: string;
@@ -9138,6 +9179,7 @@ export declare const useEditResource: (resourceId: string) => {
9138
9179
  image?: string | undefined;
9139
9180
  end?: string | undefined;
9140
9181
  maxAttendees?: number | undefined;
9182
+ waitlistOfferMinutes?: number | undefined;
9141
9183
  attendeeListPublic?: boolean | undefined;
9142
9184
  moderators?: string[] | undefined;
9143
9185
  jam?: {
@@ -9220,7 +9262,7 @@ export declare const useEditResource: (resourceId: string) => {
9220
9262
  } | {
9221
9263
  type: "resource";
9222
9264
  title: string;
9223
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
9265
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
9224
9266
  content?: string | undefined;
9225
9267
  sensitive?: boolean | undefined;
9226
9268
  spoilerText?: string | undefined;
@@ -9371,6 +9413,7 @@ export declare const useEditResource: (resourceId: string) => {
9371
9413
  image?: string | undefined;
9372
9414
  end?: string | undefined;
9373
9415
  maxAttendees?: number | undefined;
9416
+ waitlistOfferMinutes?: number | undefined;
9374
9417
  attendeeListPublic?: boolean | undefined;
9375
9418
  moderators?: string[] | undefined;
9376
9419
  jam?: {
@@ -9453,7 +9496,7 @@ export declare const useEditResource: (resourceId: string) => {
9453
9496
  } | {
9454
9497
  type: "resource";
9455
9498
  title: string;
9456
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
9499
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
9457
9500
  content?: string | undefined;
9458
9501
  sensitive?: boolean | undefined;
9459
9502
  spoilerText?: string | undefined;
@@ -9663,6 +9706,7 @@ export declare const useEditResource: (resourceId: string) => {
9663
9706
  image?: string | undefined;
9664
9707
  end?: string | undefined;
9665
9708
  maxAttendees?: number | undefined;
9709
+ waitlistOfferMinutes?: number | undefined;
9666
9710
  attendeeListPublic?: boolean | undefined;
9667
9711
  moderators?: string[] | undefined;
9668
9712
  jam?: {
@@ -9745,7 +9789,7 @@ export declare const useEditResource: (resourceId: string) => {
9745
9789
  } | {
9746
9790
  type: "resource";
9747
9791
  title: string;
9748
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
9792
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
9749
9793
  content?: string | undefined;
9750
9794
  sensitive?: boolean | undefined;
9751
9795
  spoilerText?: string | undefined;
@@ -9969,8 +10013,10 @@ export declare const useEditResource: (resourceId: string) => {
9969
10013
  } | {
9970
10014
  type: "rsvp";
9971
10015
  data: {
9972
- response: "no" | "yes" | "tentative" | "removed";
10016
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
9973
10017
  recurrenceId?: string | undefined;
10018
+ waitlistJoinedAt?: string | undefined;
10019
+ offerExpiresAt?: string | undefined;
9974
10020
  };
9975
10021
  profile: {
9976
10022
  id: string;
@@ -10290,6 +10336,7 @@ export declare const useEditResource: (resourceId: string) => {
10290
10336
  image?: string | undefined;
10291
10337
  end?: string | undefined;
10292
10338
  maxAttendees?: number | undefined;
10339
+ waitlistOfferMinutes?: number | undefined;
10293
10340
  attendeeListPublic?: boolean | undefined;
10294
10341
  moderators?: string[] | undefined;
10295
10342
  jam?: {
@@ -10372,7 +10419,7 @@ export declare const useEditResource: (resourceId: string) => {
10372
10419
  } | {
10373
10420
  type: "resource";
10374
10421
  title: string;
10375
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
10422
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
10376
10423
  content?: string | undefined;
10377
10424
  sensitive?: boolean | undefined;
10378
10425
  spoilerText?: string | undefined;
@@ -10523,6 +10570,7 @@ export declare const useEditResource: (resourceId: string) => {
10523
10570
  image?: string | undefined;
10524
10571
  end?: string | undefined;
10525
10572
  maxAttendees?: number | undefined;
10573
+ waitlistOfferMinutes?: number | undefined;
10526
10574
  attendeeListPublic?: boolean | undefined;
10527
10575
  moderators?: string[] | undefined;
10528
10576
  jam?: {
@@ -10605,7 +10653,7 @@ export declare const useEditResource: (resourceId: string) => {
10605
10653
  } | {
10606
10654
  type: "resource";
10607
10655
  title: string;
10608
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
10656
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
10609
10657
  content?: string | undefined;
10610
10658
  sensitive?: boolean | undefined;
10611
10659
  spoilerText?: string | undefined;
@@ -10815,6 +10863,7 @@ export declare const useEditResource: (resourceId: string) => {
10815
10863
  image?: string | undefined;
10816
10864
  end?: string | undefined;
10817
10865
  maxAttendees?: number | undefined;
10866
+ waitlistOfferMinutes?: number | undefined;
10818
10867
  attendeeListPublic?: boolean | undefined;
10819
10868
  moderators?: string[] | undefined;
10820
10869
  jam?: {
@@ -10897,7 +10946,7 @@ export declare const useEditResource: (resourceId: string) => {
10897
10946
  } | {
10898
10947
  type: "resource";
10899
10948
  title: string;
10900
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
10949
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
10901
10950
  content?: string | undefined;
10902
10951
  sensitive?: boolean | undefined;
10903
10952
  spoilerText?: string | undefined;
@@ -11121,8 +11170,10 @@ export declare const useEditResource: (resourceId: string) => {
11121
11170
  } | {
11122
11171
  type: "rsvp";
11123
11172
  data: {
11124
- response: "no" | "yes" | "tentative" | "removed";
11173
+ response: "no" | "yes" | "tentative" | "removed" | "waitlist";
11125
11174
  recurrenceId?: string | undefined;
11175
+ waitlistJoinedAt?: string | undefined;
11176
+ offerExpiresAt?: string | undefined;
11126
11177
  };
11127
11178
  profile: {
11128
11179
  id: string;
@@ -11411,6 +11462,7 @@ export declare const useEditResource: (resourceId: string) => {
11411
11462
  image?: string | undefined;
11412
11463
  end?: string | undefined;
11413
11464
  maxAttendees?: number | undefined;
11465
+ waitlistOfferMinutes?: number | undefined;
11414
11466
  attendeeListPublic?: boolean | undefined;
11415
11467
  moderators?: string[] | undefined;
11416
11468
  jam?: {
@@ -11493,7 +11545,7 @@ export declare const useEditResource: (resourceId: string) => {
11493
11545
  } | {
11494
11546
  type: "resource";
11495
11547
  title: string;
11496
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
11548
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
11497
11549
  content?: string | undefined;
11498
11550
  sensitive?: boolean | undefined;
11499
11551
  spoilerText?: string | undefined;
@@ -11769,6 +11821,7 @@ export declare const useEditResource: (resourceId: string) => {
11769
11821
  image?: string | undefined;
11770
11822
  end?: string | undefined;
11771
11823
  maxAttendees?: number | undefined;
11824
+ waitlistOfferMinutes?: number | undefined;
11772
11825
  attendeeListPublic?: boolean | undefined;
11773
11826
  moderators?: string[] | undefined;
11774
11827
  jam?: {
@@ -11851,7 +11904,7 @@ export declare const useEditResource: (resourceId: string) => {
11851
11904
  } | {
11852
11905
  type: "resource";
11853
11906
  title: string;
11854
- resourceKind: "link" | "file" | "video" | "gallery" | "audio";
11907
+ resourceKind: "file" | "link" | "video" | "gallery" | "audio";
11855
11908
  content?: string | undefined;
11856
11909
  sensitive?: boolean | undefined;
11857
11910
  spoilerText?: string | undefined;
@@ -12012,6 +12065,7 @@ export declare const useEditResource: (resourceId: string) => {
12012
12065
  capabilitiesNeeded?: string[] | null | undefined;
12013
12066
  } | null>>;
12014
12067
  resourceTitle: string | undefined;
12068
+ canSubmit: boolean;
12015
12069
  submitting: boolean;
12016
12070
  error: string | null;
12017
12071
  clearError: () => void;