@openpeepshq/react 0.5.1 → 0.6.1
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.
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/markdown/CompiledMarkdown.d.ts +3 -1
- package/dist/components/markdown/CompiledMarkdown.js +17 -1
- package/dist/components/markdown/OpenpeepsMarkdown.d.ts +3 -7
- package/dist/components/markdown/OpenpeepsMarkdown.js +11 -7
- package/dist/components/markdown/classes.d.ts +3 -3
- package/dist/components/markdown/classes.js +3 -3
- package/dist/components/markdown/compileMarkdown.d.ts +3 -1
- package/dist/components/markdown/compileMarkdown.js +29 -4
- package/dist/components/markdown/index.d.ts +3 -1
- package/dist/components/markdown/linkTargets.d.ts +2 -3
- package/dist/components/markdown/linkTargets.js +2 -27
- package/dist/components/post/CompactReplyParent.js +8 -0
- package/dist/components/post/FeedPostContent.js +3 -0
- package/dist/components/post/NewResourceButton.d.ts +8 -0
- package/dist/components/post/NewResourceButton.js +36 -0
- package/dist/components/post/PostDetail.js +3 -0
- package/dist/components/post/index.d.ts +5 -0
- package/dist/components/post/index.js +3 -0
- package/dist/components/post/pieces/PostMenu.js +4 -0
- package/dist/components/post/post-form/PostTypeSwitcher.js +12 -2
- package/dist/components/post/post-form/ResourceForm.d.ts +7 -0
- package/dist/components/post/post-form/ResourceForm.js +68 -0
- package/dist/components/post/types/resource/FullResource.d.ts +5 -0
- package/dist/components/post/types/resource/FullResource.js +99 -0
- package/dist/components/resources/CategoryPathPicker.d.ts +7 -0
- package/dist/components/resources/CategoryPathPicker.js +26 -0
- package/dist/components/resources/ResourceCard.d.ts +8 -0
- package/dist/components/resources/ResourceCard.js +121 -0
- package/dist/components/resources/ResourceLibrary.d.ts +4 -0
- package/dist/components/resources/ResourceLibrary.js +106 -0
- package/dist/components/resources/index.d.ts +6 -0
- package/dist/components/resources/index.js +3 -0
- package/dist/contexts/openpeeps/hooks/admin.d.ts +1064 -38
- package/dist/contexts/openpeeps/hooks/jams.d.ts +1064 -38
- package/dist/contexts/openpeeps/hooks/posts.d.ts +4508 -39936
- package/dist/hooks/events/useEventComposer.d.ts +1184 -44
- package/dist/hooks/events/useEventsCalendar.d.ts +2113 -61
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/jams/useCreateNewJamForm.d.ts +39 -1
- package/dist/hooks/jams/useJamDetails.d.ts +1064 -38
- package/dist/hooks/jams/useJamRoom.d.ts +2113 -61
- package/dist/hooks/posts/useArticleComposer.d.ts +1184 -44
- package/dist/hooks/posts/useFeedPostPresentation.d.ts +2113 -61
- package/dist/hooks/posts/usePostDetailTitle.d.ts +1064 -38
- package/dist/hooks/posts/useResourceComposer.d.ts +12019 -0
- package/dist/hooks/posts/useResourceComposer.js +139 -0
- package/dist/hooks/resources/useResourceLibrary.d.ts +21880 -0
- package/dist/hooks/resources/useResourceLibrary.js +130 -0
- package/dist/hooks/settings/useNotificationPreferences.d.ts +1 -1
- package/dist/lib/analyticsClicks.js +1 -1
- package/dist/navigation/menuItems.js +5 -0
- package/dist/navigation/targets.d.ts +4 -0
- package/dist/pages/admin/analytics/Content.js +2 -1
- package/dist/pages/admin/analytics/Overview.js +15 -3
- package/dist/pages/groups/Show.js +7 -3
- package/dist/pages/index.d.ts +3 -0
- package/dist/pages/index.js +3 -0
- package/dist/pages/resources/Edit.d.ts +1 -0
- package/dist/pages/resources/Edit.js +26 -0
- package/dist/pages/resources/Index.d.ts +1 -0
- package/dist/pages/resources/Index.js +29 -0
- package/dist/pages/resources/New.d.ts +1 -0
- package/dist/pages/resources/New.js +15 -0
- package/dist/react-native.d.ts +3 -1
- package/dist/react-native.js +2 -1
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +1 -1
- package/dist/stores/newPosts.d.ts +79 -2
- package/dist/stores/newPosts.js +26 -2
- package/dist/stores/types.d.ts +2 -0
- package/package.json +7 -6
- package/src/components/index.ts +1 -0
- package/src/components/markdown/CompiledMarkdown.tsx +36 -7
- package/src/components/markdown/OpenpeepsMarkdown.tsx +16 -16
- package/src/components/markdown/classes.ts +3 -3
- package/src/components/markdown/compileMarkdown.ts +45 -5
- package/src/components/markdown/index.ts +6 -1
- package/src/components/markdown/linkTargets.ts +2 -31
- package/src/components/post/CompactReplyParent.tsx +8 -0
- package/src/components/post/FeedPostContent.tsx +3 -0
- package/src/components/post/NewResourceButton.tsx +75 -0
- package/src/components/post/PostDetail.tsx +3 -0
- package/src/components/post/index.ts +5 -0
- package/src/components/post/pieces/PostMenu.tsx +4 -0
- package/src/components/post/post-form/PostTypeSwitcher.tsx +19 -1
- package/src/components/post/post-form/ResourceForm.tsx +237 -0
- package/src/components/post/types/resource/FullResource.tsx +173 -0
- package/src/components/resources/CategoryPathPicker.tsx +95 -0
- package/src/components/resources/ResourceCard.tsx +335 -0
- package/src/components/resources/ResourceLibrary.tsx +374 -0
- package/src/components/resources/index.ts +6 -0
- package/src/contexts/openpeeps/hooks/posts.ts +11 -2
- package/src/hooks/index.ts +2 -0
- package/src/hooks/posts/useResourceComposer.ts +165 -0
- package/src/hooks/resources/useResourceLibrary.ts +156 -0
- package/src/lib/analyticsClicks.ts +1 -1
- package/src/navigation/menuItems.ts +6 -0
- package/src/navigation/targets.ts +1 -0
- package/src/pages/admin/analytics/Content.tsx +2 -1
- package/src/pages/admin/analytics/Overview.tsx +15 -3
- package/src/pages/groups/Show.tsx +30 -1
- package/src/pages/index.ts +3 -0
- package/src/pages/resources/Edit.tsx +73 -0
- package/src/pages/resources/Index.tsx +45 -0
- package/src/pages/resources/New.tsx +53 -0
- package/src/react-native.ts +12 -0
- package/src/stores/index.ts +1 -0
- package/src/stores/newPosts.ts +33 -2
- package/src/stores/types.ts +2 -0
|
@@ -2,7 +2,7 @@ import type { PostCreationData } from '@openpeepshq/common/types';
|
|
|
2
2
|
export declare const useNewEvent: () => {
|
|
3
3
|
postData: {
|
|
4
4
|
visibility: "group" | "local" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
5
|
-
type: "event" | "note" | "question" | "article";
|
|
5
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
6
6
|
data: {
|
|
7
7
|
type: "note";
|
|
8
8
|
content?: string | undefined;
|
|
@@ -195,6 +195,44 @@ export declare const useNewEvent: () => {
|
|
|
195
195
|
language?: string | undefined;
|
|
196
196
|
image?: string | undefined;
|
|
197
197
|
title?: string | undefined;
|
|
198
|
+
} | {
|
|
199
|
+
type: "resource";
|
|
200
|
+
title: string;
|
|
201
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
202
|
+
content?: string | undefined;
|
|
203
|
+
sensitive?: boolean | undefined;
|
|
204
|
+
spoilerText?: string | undefined;
|
|
205
|
+
attachments?: {
|
|
206
|
+
type: string;
|
|
207
|
+
url: string;
|
|
208
|
+
previewUrl: string | null;
|
|
209
|
+
textUrl: null;
|
|
210
|
+
filename: string;
|
|
211
|
+
meta: {
|
|
212
|
+
usage?: string | undefined;
|
|
213
|
+
focus?: {
|
|
214
|
+
x: number;
|
|
215
|
+
y: number;
|
|
216
|
+
} | undefined;
|
|
217
|
+
mimetype?: string | undefined;
|
|
218
|
+
size?: number | undefined;
|
|
219
|
+
};
|
|
220
|
+
description?: string | undefined;
|
|
221
|
+
blurhash?: string | undefined;
|
|
222
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
223
|
+
error?: string | undefined;
|
|
224
|
+
}[] | undefined;
|
|
225
|
+
customEmojis?: {
|
|
226
|
+
shortcode: string;
|
|
227
|
+
url: string;
|
|
228
|
+
staticUrl: string;
|
|
229
|
+
visibleInPicker: boolean;
|
|
230
|
+
category: string;
|
|
231
|
+
}[] | undefined;
|
|
232
|
+
language?: string | undefined;
|
|
233
|
+
tags?: string[] | undefined;
|
|
234
|
+
categoryPath?: string[] | undefined;
|
|
235
|
+
url?: string | undefined;
|
|
198
236
|
};
|
|
199
237
|
inReplyToId?: string | null | undefined;
|
|
200
238
|
mentions?: {
|
|
@@ -330,7 +368,7 @@ export declare const useNewEvent: () => {
|
|
|
330
368
|
export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
331
369
|
postQuery: import("@tanstack/react-query").UseQueryResult<{
|
|
332
370
|
id: string;
|
|
333
|
-
type: "event" | "note" | "question" | "article";
|
|
371
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
334
372
|
profile: {
|
|
335
373
|
id: string;
|
|
336
374
|
type: "local" | "guest" | "federated";
|
|
@@ -581,6 +619,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
581
619
|
language?: string | undefined;
|
|
582
620
|
image?: string | undefined;
|
|
583
621
|
title?: string | undefined;
|
|
622
|
+
} | {
|
|
623
|
+
type: "resource";
|
|
624
|
+
title: string;
|
|
625
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
626
|
+
content?: string | undefined;
|
|
627
|
+
sensitive?: boolean | undefined;
|
|
628
|
+
spoilerText?: string | undefined;
|
|
629
|
+
attachments?: {
|
|
630
|
+
type: string;
|
|
631
|
+
url: string;
|
|
632
|
+
previewUrl: string | null;
|
|
633
|
+
textUrl: null;
|
|
634
|
+
filename: string;
|
|
635
|
+
meta: {
|
|
636
|
+
usage?: string | undefined;
|
|
637
|
+
focus?: {
|
|
638
|
+
x: number;
|
|
639
|
+
y: number;
|
|
640
|
+
} | undefined;
|
|
641
|
+
mimetype?: string | undefined;
|
|
642
|
+
size?: number | undefined;
|
|
643
|
+
};
|
|
644
|
+
description?: string | undefined;
|
|
645
|
+
blurhash?: string | undefined;
|
|
646
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
647
|
+
error?: string | undefined;
|
|
648
|
+
}[] | undefined;
|
|
649
|
+
customEmojis?: {
|
|
650
|
+
shortcode: string;
|
|
651
|
+
url: string;
|
|
652
|
+
staticUrl: string;
|
|
653
|
+
visibleInPicker: boolean;
|
|
654
|
+
category: string;
|
|
655
|
+
}[] | undefined;
|
|
656
|
+
language?: string | undefined;
|
|
657
|
+
tags?: string[] | undefined;
|
|
658
|
+
categoryPath?: string[] | undefined;
|
|
659
|
+
url?: string | undefined;
|
|
584
660
|
};
|
|
585
661
|
entries: ({
|
|
586
662
|
type: "create";
|
|
@@ -776,6 +852,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
776
852
|
language?: string | undefined;
|
|
777
853
|
image?: string | undefined;
|
|
778
854
|
title?: string | undefined;
|
|
855
|
+
} | {
|
|
856
|
+
type: "resource";
|
|
857
|
+
title: string;
|
|
858
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
859
|
+
content?: string | undefined;
|
|
860
|
+
sensitive?: boolean | undefined;
|
|
861
|
+
spoilerText?: string | undefined;
|
|
862
|
+
attachments?: {
|
|
863
|
+
type: string;
|
|
864
|
+
url: string;
|
|
865
|
+
previewUrl: string | null;
|
|
866
|
+
textUrl: null;
|
|
867
|
+
filename: string;
|
|
868
|
+
meta: {
|
|
869
|
+
usage?: string | undefined;
|
|
870
|
+
focus?: {
|
|
871
|
+
x: number;
|
|
872
|
+
y: number;
|
|
873
|
+
} | undefined;
|
|
874
|
+
mimetype?: string | undefined;
|
|
875
|
+
size?: number | undefined;
|
|
876
|
+
};
|
|
877
|
+
description?: string | undefined;
|
|
878
|
+
blurhash?: string | undefined;
|
|
879
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
880
|
+
error?: string | undefined;
|
|
881
|
+
}[] | undefined;
|
|
882
|
+
customEmojis?: {
|
|
883
|
+
shortcode: string;
|
|
884
|
+
url: string;
|
|
885
|
+
staticUrl: string;
|
|
886
|
+
visibleInPicker: boolean;
|
|
887
|
+
category: string;
|
|
888
|
+
}[] | undefined;
|
|
889
|
+
language?: string | undefined;
|
|
890
|
+
tags?: string[] | undefined;
|
|
891
|
+
categoryPath?: string[] | undefined;
|
|
892
|
+
url?: string | undefined;
|
|
779
893
|
};
|
|
780
894
|
profile: {
|
|
781
895
|
id: string;
|
|
@@ -1030,6 +1144,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
1030
1144
|
language?: string | undefined;
|
|
1031
1145
|
image?: string | undefined;
|
|
1032
1146
|
title?: string | undefined;
|
|
1147
|
+
} | {
|
|
1148
|
+
type: "resource";
|
|
1149
|
+
title: string;
|
|
1150
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
1151
|
+
content?: string | undefined;
|
|
1152
|
+
sensitive?: boolean | undefined;
|
|
1153
|
+
spoilerText?: string | undefined;
|
|
1154
|
+
attachments?: {
|
|
1155
|
+
type: string;
|
|
1156
|
+
url: string;
|
|
1157
|
+
previewUrl: string | null;
|
|
1158
|
+
textUrl: null;
|
|
1159
|
+
filename: string;
|
|
1160
|
+
meta: {
|
|
1161
|
+
usage?: string | undefined;
|
|
1162
|
+
focus?: {
|
|
1163
|
+
x: number;
|
|
1164
|
+
y: number;
|
|
1165
|
+
} | undefined;
|
|
1166
|
+
mimetype?: string | undefined;
|
|
1167
|
+
size?: number | undefined;
|
|
1168
|
+
};
|
|
1169
|
+
description?: string | undefined;
|
|
1170
|
+
blurhash?: string | undefined;
|
|
1171
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
1172
|
+
error?: string | undefined;
|
|
1173
|
+
}[] | undefined;
|
|
1174
|
+
customEmojis?: {
|
|
1175
|
+
shortcode: string;
|
|
1176
|
+
url: string;
|
|
1177
|
+
staticUrl: string;
|
|
1178
|
+
visibleInPicker: boolean;
|
|
1179
|
+
category: string;
|
|
1180
|
+
}[] | undefined;
|
|
1181
|
+
language?: string | undefined;
|
|
1182
|
+
tags?: string[] | undefined;
|
|
1183
|
+
categoryPath?: string[] | undefined;
|
|
1184
|
+
url?: string | undefined;
|
|
1033
1185
|
};
|
|
1034
1186
|
profile: {
|
|
1035
1187
|
id: string;
|
|
@@ -1622,7 +1774,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
1622
1774
|
hidden?: boolean | undefined;
|
|
1623
1775
|
latestReplies?: {
|
|
1624
1776
|
id: string;
|
|
1625
|
-
type: "event" | "note" | "question" | "article";
|
|
1777
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
1626
1778
|
profile: {
|
|
1627
1779
|
id: string;
|
|
1628
1780
|
type: "local" | "guest" | "federated";
|
|
@@ -1873,6 +2025,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
1873
2025
|
language?: string | undefined;
|
|
1874
2026
|
image?: string | undefined;
|
|
1875
2027
|
title?: string | undefined;
|
|
2028
|
+
} | {
|
|
2029
|
+
type: "resource";
|
|
2030
|
+
title: string;
|
|
2031
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
2032
|
+
content?: string | undefined;
|
|
2033
|
+
sensitive?: boolean | undefined;
|
|
2034
|
+
spoilerText?: string | undefined;
|
|
2035
|
+
attachments?: {
|
|
2036
|
+
type: string;
|
|
2037
|
+
url: string;
|
|
2038
|
+
previewUrl: string | null;
|
|
2039
|
+
textUrl: null;
|
|
2040
|
+
filename: string;
|
|
2041
|
+
meta: {
|
|
2042
|
+
usage?: string | undefined;
|
|
2043
|
+
focus?: {
|
|
2044
|
+
x: number;
|
|
2045
|
+
y: number;
|
|
2046
|
+
} | undefined;
|
|
2047
|
+
mimetype?: string | undefined;
|
|
2048
|
+
size?: number | undefined;
|
|
2049
|
+
};
|
|
2050
|
+
description?: string | undefined;
|
|
2051
|
+
blurhash?: string | undefined;
|
|
2052
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
2053
|
+
error?: string | undefined;
|
|
2054
|
+
}[] | undefined;
|
|
2055
|
+
customEmojis?: {
|
|
2056
|
+
shortcode: string;
|
|
2057
|
+
url: string;
|
|
2058
|
+
staticUrl: string;
|
|
2059
|
+
visibleInPicker: boolean;
|
|
2060
|
+
category: string;
|
|
2061
|
+
}[] | undefined;
|
|
2062
|
+
language?: string | undefined;
|
|
2063
|
+
tags?: string[] | undefined;
|
|
2064
|
+
categoryPath?: string[] | undefined;
|
|
2065
|
+
url?: string | undefined;
|
|
1876
2066
|
};
|
|
1877
2067
|
entries: ({
|
|
1878
2068
|
type: "create";
|
|
@@ -2068,6 +2258,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
2068
2258
|
language?: string | undefined;
|
|
2069
2259
|
image?: string | undefined;
|
|
2070
2260
|
title?: string | undefined;
|
|
2261
|
+
} | {
|
|
2262
|
+
type: "resource";
|
|
2263
|
+
title: string;
|
|
2264
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
2265
|
+
content?: string | undefined;
|
|
2266
|
+
sensitive?: boolean | undefined;
|
|
2267
|
+
spoilerText?: string | undefined;
|
|
2268
|
+
attachments?: {
|
|
2269
|
+
type: string;
|
|
2270
|
+
url: string;
|
|
2271
|
+
previewUrl: string | null;
|
|
2272
|
+
textUrl: null;
|
|
2273
|
+
filename: string;
|
|
2274
|
+
meta: {
|
|
2275
|
+
usage?: string | undefined;
|
|
2276
|
+
focus?: {
|
|
2277
|
+
x: number;
|
|
2278
|
+
y: number;
|
|
2279
|
+
} | undefined;
|
|
2280
|
+
mimetype?: string | undefined;
|
|
2281
|
+
size?: number | undefined;
|
|
2282
|
+
};
|
|
2283
|
+
description?: string | undefined;
|
|
2284
|
+
blurhash?: string | undefined;
|
|
2285
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
2286
|
+
error?: string | undefined;
|
|
2287
|
+
}[] | undefined;
|
|
2288
|
+
customEmojis?: {
|
|
2289
|
+
shortcode: string;
|
|
2290
|
+
url: string;
|
|
2291
|
+
staticUrl: string;
|
|
2292
|
+
visibleInPicker: boolean;
|
|
2293
|
+
category: string;
|
|
2294
|
+
}[] | undefined;
|
|
2295
|
+
language?: string | undefined;
|
|
2296
|
+
tags?: string[] | undefined;
|
|
2297
|
+
categoryPath?: string[] | undefined;
|
|
2298
|
+
url?: string | undefined;
|
|
2071
2299
|
};
|
|
2072
2300
|
profile: {
|
|
2073
2301
|
id: string;
|
|
@@ -2322,6 +2550,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
2322
2550
|
language?: string | undefined;
|
|
2323
2551
|
image?: string | undefined;
|
|
2324
2552
|
title?: string | undefined;
|
|
2553
|
+
} | {
|
|
2554
|
+
type: "resource";
|
|
2555
|
+
title: string;
|
|
2556
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
2557
|
+
content?: string | undefined;
|
|
2558
|
+
sensitive?: boolean | undefined;
|
|
2559
|
+
spoilerText?: string | undefined;
|
|
2560
|
+
attachments?: {
|
|
2561
|
+
type: string;
|
|
2562
|
+
url: string;
|
|
2563
|
+
previewUrl: string | null;
|
|
2564
|
+
textUrl: null;
|
|
2565
|
+
filename: string;
|
|
2566
|
+
meta: {
|
|
2567
|
+
usage?: string | undefined;
|
|
2568
|
+
focus?: {
|
|
2569
|
+
x: number;
|
|
2570
|
+
y: number;
|
|
2571
|
+
} | undefined;
|
|
2572
|
+
mimetype?: string | undefined;
|
|
2573
|
+
size?: number | undefined;
|
|
2574
|
+
};
|
|
2575
|
+
description?: string | undefined;
|
|
2576
|
+
blurhash?: string | undefined;
|
|
2577
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
2578
|
+
error?: string | undefined;
|
|
2579
|
+
}[] | undefined;
|
|
2580
|
+
customEmojis?: {
|
|
2581
|
+
shortcode: string;
|
|
2582
|
+
url: string;
|
|
2583
|
+
staticUrl: string;
|
|
2584
|
+
visibleInPicker: boolean;
|
|
2585
|
+
category: string;
|
|
2586
|
+
}[] | undefined;
|
|
2587
|
+
language?: string | undefined;
|
|
2588
|
+
tags?: string[] | undefined;
|
|
2589
|
+
categoryPath?: string[] | undefined;
|
|
2590
|
+
url?: string | undefined;
|
|
2325
2591
|
};
|
|
2326
2592
|
profile: {
|
|
2327
2593
|
id: string;
|
|
@@ -2660,7 +2926,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
2660
2926
|
hidden?: boolean | undefined;
|
|
2661
2927
|
replyTo?: {
|
|
2662
2928
|
id: string;
|
|
2663
|
-
type: "event" | "note" | "question" | "article";
|
|
2929
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
2664
2930
|
profile: {
|
|
2665
2931
|
id: string;
|
|
2666
2932
|
type: "local" | "guest" | "federated";
|
|
@@ -2911,31 +3177,69 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
2911
3177
|
language?: string | undefined;
|
|
2912
3178
|
image?: string | undefined;
|
|
2913
3179
|
title?: string | undefined;
|
|
2914
|
-
}
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
3180
|
+
} | {
|
|
3181
|
+
type: "resource";
|
|
3182
|
+
title: string;
|
|
3183
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
3184
|
+
content?: string | undefined;
|
|
3185
|
+
sensitive?: boolean | undefined;
|
|
3186
|
+
spoilerText?: string | undefined;
|
|
3187
|
+
attachments?: {
|
|
3188
|
+
type: string;
|
|
3189
|
+
url: string;
|
|
3190
|
+
previewUrl: string | null;
|
|
3191
|
+
textUrl: null;
|
|
3192
|
+
filename: string;
|
|
3193
|
+
meta: {
|
|
3194
|
+
usage?: string | undefined;
|
|
3195
|
+
focus?: {
|
|
3196
|
+
x: number;
|
|
3197
|
+
y: number;
|
|
3198
|
+
} | undefined;
|
|
3199
|
+
mimetype?: string | undefined;
|
|
3200
|
+
size?: number | undefined;
|
|
3201
|
+
};
|
|
3202
|
+
description?: string | undefined;
|
|
3203
|
+
blurhash?: string | undefined;
|
|
3204
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
3205
|
+
error?: string | undefined;
|
|
3206
|
+
}[] | undefined;
|
|
3207
|
+
customEmojis?: {
|
|
3208
|
+
shortcode: string;
|
|
3209
|
+
url: string;
|
|
3210
|
+
staticUrl: string;
|
|
3211
|
+
visibleInPicker: boolean;
|
|
3212
|
+
category: string;
|
|
3213
|
+
}[] | undefined;
|
|
3214
|
+
language?: string | undefined;
|
|
3215
|
+
tags?: string[] | undefined;
|
|
3216
|
+
categoryPath?: string[] | undefined;
|
|
3217
|
+
url?: string | undefined;
|
|
3218
|
+
};
|
|
3219
|
+
entries: ({
|
|
3220
|
+
type: "create";
|
|
3221
|
+
data: {
|
|
3222
|
+
type: "note";
|
|
3223
|
+
content?: string | undefined;
|
|
3224
|
+
sensitive?: boolean | undefined;
|
|
3225
|
+
spoilerText?: string | undefined;
|
|
3226
|
+
attachments?: {
|
|
3227
|
+
type: string;
|
|
3228
|
+
url: string;
|
|
3229
|
+
previewUrl: string | null;
|
|
3230
|
+
textUrl: null;
|
|
3231
|
+
filename: string;
|
|
3232
|
+
meta: {
|
|
3233
|
+
usage?: string | undefined;
|
|
3234
|
+
focus?: {
|
|
3235
|
+
x: number;
|
|
3236
|
+
y: number;
|
|
3237
|
+
} | undefined;
|
|
3238
|
+
mimetype?: string | undefined;
|
|
3239
|
+
size?: number | undefined;
|
|
3240
|
+
};
|
|
3241
|
+
description?: string | undefined;
|
|
3242
|
+
blurhash?: string | undefined;
|
|
2939
3243
|
status?: "processing" | "ready" | "failed" | undefined;
|
|
2940
3244
|
error?: string | undefined;
|
|
2941
3245
|
}[] | undefined;
|
|
@@ -3106,6 +3410,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
3106
3410
|
language?: string | undefined;
|
|
3107
3411
|
image?: string | undefined;
|
|
3108
3412
|
title?: string | undefined;
|
|
3413
|
+
} | {
|
|
3414
|
+
type: "resource";
|
|
3415
|
+
title: string;
|
|
3416
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
3417
|
+
content?: string | undefined;
|
|
3418
|
+
sensitive?: boolean | undefined;
|
|
3419
|
+
spoilerText?: string | undefined;
|
|
3420
|
+
attachments?: {
|
|
3421
|
+
type: string;
|
|
3422
|
+
url: string;
|
|
3423
|
+
previewUrl: string | null;
|
|
3424
|
+
textUrl: null;
|
|
3425
|
+
filename: string;
|
|
3426
|
+
meta: {
|
|
3427
|
+
usage?: string | undefined;
|
|
3428
|
+
focus?: {
|
|
3429
|
+
x: number;
|
|
3430
|
+
y: number;
|
|
3431
|
+
} | undefined;
|
|
3432
|
+
mimetype?: string | undefined;
|
|
3433
|
+
size?: number | undefined;
|
|
3434
|
+
};
|
|
3435
|
+
description?: string | undefined;
|
|
3436
|
+
blurhash?: string | undefined;
|
|
3437
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
3438
|
+
error?: string | undefined;
|
|
3439
|
+
}[] | undefined;
|
|
3440
|
+
customEmojis?: {
|
|
3441
|
+
shortcode: string;
|
|
3442
|
+
url: string;
|
|
3443
|
+
staticUrl: string;
|
|
3444
|
+
visibleInPicker: boolean;
|
|
3445
|
+
category: string;
|
|
3446
|
+
}[] | undefined;
|
|
3447
|
+
language?: string | undefined;
|
|
3448
|
+
tags?: string[] | undefined;
|
|
3449
|
+
categoryPath?: string[] | undefined;
|
|
3450
|
+
url?: string | undefined;
|
|
3109
3451
|
};
|
|
3110
3452
|
profile: {
|
|
3111
3453
|
id: string;
|
|
@@ -3360,6 +3702,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
3360
3702
|
language?: string | undefined;
|
|
3361
3703
|
image?: string | undefined;
|
|
3362
3704
|
title?: string | undefined;
|
|
3705
|
+
} | {
|
|
3706
|
+
type: "resource";
|
|
3707
|
+
title: string;
|
|
3708
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
3709
|
+
content?: string | undefined;
|
|
3710
|
+
sensitive?: boolean | undefined;
|
|
3711
|
+
spoilerText?: string | undefined;
|
|
3712
|
+
attachments?: {
|
|
3713
|
+
type: string;
|
|
3714
|
+
url: string;
|
|
3715
|
+
previewUrl: string | null;
|
|
3716
|
+
textUrl: null;
|
|
3717
|
+
filename: string;
|
|
3718
|
+
meta: {
|
|
3719
|
+
usage?: string | undefined;
|
|
3720
|
+
focus?: {
|
|
3721
|
+
x: number;
|
|
3722
|
+
y: number;
|
|
3723
|
+
} | undefined;
|
|
3724
|
+
mimetype?: string | undefined;
|
|
3725
|
+
size?: number | undefined;
|
|
3726
|
+
};
|
|
3727
|
+
description?: string | undefined;
|
|
3728
|
+
blurhash?: string | undefined;
|
|
3729
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
3730
|
+
error?: string | undefined;
|
|
3731
|
+
}[] | undefined;
|
|
3732
|
+
customEmojis?: {
|
|
3733
|
+
shortcode: string;
|
|
3734
|
+
url: string;
|
|
3735
|
+
staticUrl: string;
|
|
3736
|
+
visibleInPicker: boolean;
|
|
3737
|
+
category: string;
|
|
3738
|
+
}[] | undefined;
|
|
3739
|
+
language?: string | undefined;
|
|
3740
|
+
tags?: string[] | undefined;
|
|
3741
|
+
categoryPath?: string[] | undefined;
|
|
3742
|
+
url?: string | undefined;
|
|
3363
3743
|
};
|
|
3364
3744
|
profile: {
|
|
3365
3745
|
id: string;
|
|
@@ -3720,7 +4100,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
3720
4100
|
inReplyToId?: string | null | undefined;
|
|
3721
4101
|
replyTo?: {
|
|
3722
4102
|
id: string;
|
|
3723
|
-
type: "event" | "note" | "question" | "article";
|
|
4103
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
3724
4104
|
profile: {
|
|
3725
4105
|
id: string;
|
|
3726
4106
|
type: "local" | "guest" | "federated";
|
|
@@ -3971,6 +4351,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
3971
4351
|
language?: string | undefined;
|
|
3972
4352
|
image?: string | undefined;
|
|
3973
4353
|
title?: string | undefined;
|
|
4354
|
+
} | {
|
|
4355
|
+
type: "resource";
|
|
4356
|
+
title: string;
|
|
4357
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
4358
|
+
content?: string | undefined;
|
|
4359
|
+
sensitive?: boolean | undefined;
|
|
4360
|
+
spoilerText?: string | undefined;
|
|
4361
|
+
attachments?: {
|
|
4362
|
+
type: string;
|
|
4363
|
+
url: string;
|
|
4364
|
+
previewUrl: string | null;
|
|
4365
|
+
textUrl: null;
|
|
4366
|
+
filename: string;
|
|
4367
|
+
meta: {
|
|
4368
|
+
usage?: string | undefined;
|
|
4369
|
+
focus?: {
|
|
4370
|
+
x: number;
|
|
4371
|
+
y: number;
|
|
4372
|
+
} | undefined;
|
|
4373
|
+
mimetype?: string | undefined;
|
|
4374
|
+
size?: number | undefined;
|
|
4375
|
+
};
|
|
4376
|
+
description?: string | undefined;
|
|
4377
|
+
blurhash?: string | undefined;
|
|
4378
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
4379
|
+
error?: string | undefined;
|
|
4380
|
+
}[] | undefined;
|
|
4381
|
+
customEmojis?: {
|
|
4382
|
+
shortcode: string;
|
|
4383
|
+
url: string;
|
|
4384
|
+
staticUrl: string;
|
|
4385
|
+
visibleInPicker: boolean;
|
|
4386
|
+
category: string;
|
|
4387
|
+
}[] | undefined;
|
|
4388
|
+
language?: string | undefined;
|
|
4389
|
+
tags?: string[] | undefined;
|
|
4390
|
+
categoryPath?: string[] | undefined;
|
|
4391
|
+
url?: string | undefined;
|
|
3974
4392
|
};
|
|
3975
4393
|
entries: ({
|
|
3976
4394
|
type: "create";
|
|
@@ -4166,6 +4584,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
4166
4584
|
language?: string | undefined;
|
|
4167
4585
|
image?: string | undefined;
|
|
4168
4586
|
title?: string | undefined;
|
|
4587
|
+
} | {
|
|
4588
|
+
type: "resource";
|
|
4589
|
+
title: string;
|
|
4590
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
4591
|
+
content?: string | undefined;
|
|
4592
|
+
sensitive?: boolean | undefined;
|
|
4593
|
+
spoilerText?: string | undefined;
|
|
4594
|
+
attachments?: {
|
|
4595
|
+
type: string;
|
|
4596
|
+
url: string;
|
|
4597
|
+
previewUrl: string | null;
|
|
4598
|
+
textUrl: null;
|
|
4599
|
+
filename: string;
|
|
4600
|
+
meta: {
|
|
4601
|
+
usage?: string | undefined;
|
|
4602
|
+
focus?: {
|
|
4603
|
+
x: number;
|
|
4604
|
+
y: number;
|
|
4605
|
+
} | undefined;
|
|
4606
|
+
mimetype?: string | undefined;
|
|
4607
|
+
size?: number | undefined;
|
|
4608
|
+
};
|
|
4609
|
+
description?: string | undefined;
|
|
4610
|
+
blurhash?: string | undefined;
|
|
4611
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
4612
|
+
error?: string | undefined;
|
|
4613
|
+
}[] | undefined;
|
|
4614
|
+
customEmojis?: {
|
|
4615
|
+
shortcode: string;
|
|
4616
|
+
url: string;
|
|
4617
|
+
staticUrl: string;
|
|
4618
|
+
visibleInPicker: boolean;
|
|
4619
|
+
category: string;
|
|
4620
|
+
}[] | undefined;
|
|
4621
|
+
language?: string | undefined;
|
|
4622
|
+
tags?: string[] | undefined;
|
|
4623
|
+
categoryPath?: string[] | undefined;
|
|
4624
|
+
url?: string | undefined;
|
|
4169
4625
|
};
|
|
4170
4626
|
profile: {
|
|
4171
4627
|
id: string;
|
|
@@ -4420,6 +4876,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
4420
4876
|
language?: string | undefined;
|
|
4421
4877
|
image?: string | undefined;
|
|
4422
4878
|
title?: string | undefined;
|
|
4879
|
+
} | {
|
|
4880
|
+
type: "resource";
|
|
4881
|
+
title: string;
|
|
4882
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
4883
|
+
content?: string | undefined;
|
|
4884
|
+
sensitive?: boolean | undefined;
|
|
4885
|
+
spoilerText?: string | undefined;
|
|
4886
|
+
attachments?: {
|
|
4887
|
+
type: string;
|
|
4888
|
+
url: string;
|
|
4889
|
+
previewUrl: string | null;
|
|
4890
|
+
textUrl: null;
|
|
4891
|
+
filename: string;
|
|
4892
|
+
meta: {
|
|
4893
|
+
usage?: string | undefined;
|
|
4894
|
+
focus?: {
|
|
4895
|
+
x: number;
|
|
4896
|
+
y: number;
|
|
4897
|
+
} | undefined;
|
|
4898
|
+
mimetype?: string | undefined;
|
|
4899
|
+
size?: number | undefined;
|
|
4900
|
+
};
|
|
4901
|
+
description?: string | undefined;
|
|
4902
|
+
blurhash?: string | undefined;
|
|
4903
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
4904
|
+
error?: string | undefined;
|
|
4905
|
+
}[] | undefined;
|
|
4906
|
+
customEmojis?: {
|
|
4907
|
+
shortcode: string;
|
|
4908
|
+
url: string;
|
|
4909
|
+
staticUrl: string;
|
|
4910
|
+
visibleInPicker: boolean;
|
|
4911
|
+
category: string;
|
|
4912
|
+
}[] | undefined;
|
|
4913
|
+
language?: string | undefined;
|
|
4914
|
+
tags?: string[] | undefined;
|
|
4915
|
+
categoryPath?: string[] | undefined;
|
|
4916
|
+
url?: string | undefined;
|
|
4423
4917
|
};
|
|
4424
4918
|
profile: {
|
|
4425
4919
|
id: string;
|
|
@@ -4758,7 +5252,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
4758
5252
|
hidden?: boolean | undefined;
|
|
4759
5253
|
replyTo?: {
|
|
4760
5254
|
id: string;
|
|
4761
|
-
type: "event" | "note" | "question" | "article";
|
|
5255
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
4762
5256
|
profile: {
|
|
4763
5257
|
id: string;
|
|
4764
5258
|
type: "local" | "guest" | "federated";
|
|
@@ -5009,6 +5503,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
5009
5503
|
language?: string | undefined;
|
|
5010
5504
|
image?: string | undefined;
|
|
5011
5505
|
title?: string | undefined;
|
|
5506
|
+
} | {
|
|
5507
|
+
type: "resource";
|
|
5508
|
+
title: string;
|
|
5509
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
5510
|
+
content?: string | undefined;
|
|
5511
|
+
sensitive?: boolean | undefined;
|
|
5512
|
+
spoilerText?: string | undefined;
|
|
5513
|
+
attachments?: {
|
|
5514
|
+
type: string;
|
|
5515
|
+
url: string;
|
|
5516
|
+
previewUrl: string | null;
|
|
5517
|
+
textUrl: null;
|
|
5518
|
+
filename: string;
|
|
5519
|
+
meta: {
|
|
5520
|
+
usage?: string | undefined;
|
|
5521
|
+
focus?: {
|
|
5522
|
+
x: number;
|
|
5523
|
+
y: number;
|
|
5524
|
+
} | undefined;
|
|
5525
|
+
mimetype?: string | undefined;
|
|
5526
|
+
size?: number | undefined;
|
|
5527
|
+
};
|
|
5528
|
+
description?: string | undefined;
|
|
5529
|
+
blurhash?: string | undefined;
|
|
5530
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
5531
|
+
error?: string | undefined;
|
|
5532
|
+
}[] | undefined;
|
|
5533
|
+
customEmojis?: {
|
|
5534
|
+
shortcode: string;
|
|
5535
|
+
url: string;
|
|
5536
|
+
staticUrl: string;
|
|
5537
|
+
visibleInPicker: boolean;
|
|
5538
|
+
category: string;
|
|
5539
|
+
}[] | undefined;
|
|
5540
|
+
language?: string | undefined;
|
|
5541
|
+
tags?: string[] | undefined;
|
|
5542
|
+
categoryPath?: string[] | undefined;
|
|
5543
|
+
url?: string | undefined;
|
|
5012
5544
|
};
|
|
5013
5545
|
entries: ({
|
|
5014
5546
|
type: "create";
|
|
@@ -5170,7 +5702,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
5170
5702
|
} | undefined;
|
|
5171
5703
|
}[] | undefined;
|
|
5172
5704
|
} | {
|
|
5173
|
-
type: "article";
|
|
5705
|
+
type: "article";
|
|
5706
|
+
content?: string | undefined;
|
|
5707
|
+
sensitive?: boolean | undefined;
|
|
5708
|
+
spoilerText?: string | undefined;
|
|
5709
|
+
attachments?: {
|
|
5710
|
+
type: string;
|
|
5711
|
+
url: string;
|
|
5712
|
+
previewUrl: string | null;
|
|
5713
|
+
textUrl: null;
|
|
5714
|
+
filename: string;
|
|
5715
|
+
meta: {
|
|
5716
|
+
usage?: string | undefined;
|
|
5717
|
+
focus?: {
|
|
5718
|
+
x: number;
|
|
5719
|
+
y: number;
|
|
5720
|
+
} | undefined;
|
|
5721
|
+
mimetype?: string | undefined;
|
|
5722
|
+
size?: number | undefined;
|
|
5723
|
+
};
|
|
5724
|
+
description?: string | undefined;
|
|
5725
|
+
blurhash?: string | undefined;
|
|
5726
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
5727
|
+
error?: string | undefined;
|
|
5728
|
+
}[] | undefined;
|
|
5729
|
+
customEmojis?: {
|
|
5730
|
+
shortcode: string;
|
|
5731
|
+
url: string;
|
|
5732
|
+
staticUrl: string;
|
|
5733
|
+
visibleInPicker: boolean;
|
|
5734
|
+
category: string;
|
|
5735
|
+
}[] | undefined;
|
|
5736
|
+
language?: string | undefined;
|
|
5737
|
+
image?: string | undefined;
|
|
5738
|
+
title?: string | undefined;
|
|
5739
|
+
} | {
|
|
5740
|
+
type: "resource";
|
|
5741
|
+
title: string;
|
|
5742
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
5174
5743
|
content?: string | undefined;
|
|
5175
5744
|
sensitive?: boolean | undefined;
|
|
5176
5745
|
spoilerText?: string | undefined;
|
|
@@ -5202,8 +5771,9 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
5202
5771
|
category: string;
|
|
5203
5772
|
}[] | undefined;
|
|
5204
5773
|
language?: string | undefined;
|
|
5205
|
-
|
|
5206
|
-
|
|
5774
|
+
tags?: string[] | undefined;
|
|
5775
|
+
categoryPath?: string[] | undefined;
|
|
5776
|
+
url?: string | undefined;
|
|
5207
5777
|
};
|
|
5208
5778
|
profile: {
|
|
5209
5779
|
id: string;
|
|
@@ -5458,6 +6028,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
5458
6028
|
language?: string | undefined;
|
|
5459
6029
|
image?: string | undefined;
|
|
5460
6030
|
title?: string | undefined;
|
|
6031
|
+
} | {
|
|
6032
|
+
type: "resource";
|
|
6033
|
+
title: string;
|
|
6034
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
6035
|
+
content?: string | undefined;
|
|
6036
|
+
sensitive?: boolean | undefined;
|
|
6037
|
+
spoilerText?: string | undefined;
|
|
6038
|
+
attachments?: {
|
|
6039
|
+
type: string;
|
|
6040
|
+
url: string;
|
|
6041
|
+
previewUrl: string | null;
|
|
6042
|
+
textUrl: null;
|
|
6043
|
+
filename: string;
|
|
6044
|
+
meta: {
|
|
6045
|
+
usage?: string | undefined;
|
|
6046
|
+
focus?: {
|
|
6047
|
+
x: number;
|
|
6048
|
+
y: number;
|
|
6049
|
+
} | undefined;
|
|
6050
|
+
mimetype?: string | undefined;
|
|
6051
|
+
size?: number | undefined;
|
|
6052
|
+
};
|
|
6053
|
+
description?: string | undefined;
|
|
6054
|
+
blurhash?: string | undefined;
|
|
6055
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
6056
|
+
error?: string | undefined;
|
|
6057
|
+
}[] | undefined;
|
|
6058
|
+
customEmojis?: {
|
|
6059
|
+
shortcode: string;
|
|
6060
|
+
url: string;
|
|
6061
|
+
staticUrl: string;
|
|
6062
|
+
visibleInPicker: boolean;
|
|
6063
|
+
category: string;
|
|
6064
|
+
}[] | undefined;
|
|
6065
|
+
language?: string | undefined;
|
|
6066
|
+
tags?: string[] | undefined;
|
|
6067
|
+
categoryPath?: string[] | undefined;
|
|
6068
|
+
url?: string | undefined;
|
|
5461
6069
|
};
|
|
5462
6070
|
profile: {
|
|
5463
6071
|
id: string;
|
|
@@ -5798,7 +6406,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
5798
6406
|
} | null | undefined;
|
|
5799
6407
|
repost?: {
|
|
5800
6408
|
id: string;
|
|
5801
|
-
type: "event" | "note" | "question" | "article";
|
|
6409
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
5802
6410
|
profile: {
|
|
5803
6411
|
id: string;
|
|
5804
6412
|
type: "local" | "guest" | "federated";
|
|
@@ -6049,6 +6657,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
6049
6657
|
language?: string | undefined;
|
|
6050
6658
|
image?: string | undefined;
|
|
6051
6659
|
title?: string | undefined;
|
|
6660
|
+
} | {
|
|
6661
|
+
type: "resource";
|
|
6662
|
+
title: string;
|
|
6663
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
6664
|
+
content?: string | undefined;
|
|
6665
|
+
sensitive?: boolean | undefined;
|
|
6666
|
+
spoilerText?: string | undefined;
|
|
6667
|
+
attachments?: {
|
|
6668
|
+
type: string;
|
|
6669
|
+
url: string;
|
|
6670
|
+
previewUrl: string | null;
|
|
6671
|
+
textUrl: null;
|
|
6672
|
+
filename: string;
|
|
6673
|
+
meta: {
|
|
6674
|
+
usage?: string | undefined;
|
|
6675
|
+
focus?: {
|
|
6676
|
+
x: number;
|
|
6677
|
+
y: number;
|
|
6678
|
+
} | undefined;
|
|
6679
|
+
mimetype?: string | undefined;
|
|
6680
|
+
size?: number | undefined;
|
|
6681
|
+
};
|
|
6682
|
+
description?: string | undefined;
|
|
6683
|
+
blurhash?: string | undefined;
|
|
6684
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
6685
|
+
error?: string | undefined;
|
|
6686
|
+
}[] | undefined;
|
|
6687
|
+
customEmojis?: {
|
|
6688
|
+
shortcode: string;
|
|
6689
|
+
url: string;
|
|
6690
|
+
staticUrl: string;
|
|
6691
|
+
visibleInPicker: boolean;
|
|
6692
|
+
category: string;
|
|
6693
|
+
}[] | undefined;
|
|
6694
|
+
language?: string | undefined;
|
|
6695
|
+
tags?: string[] | undefined;
|
|
6696
|
+
categoryPath?: string[] | undefined;
|
|
6697
|
+
url?: string | undefined;
|
|
6052
6698
|
};
|
|
6053
6699
|
entries: ({
|
|
6054
6700
|
type: "create";
|
|
@@ -6244,6 +6890,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
6244
6890
|
language?: string | undefined;
|
|
6245
6891
|
image?: string | undefined;
|
|
6246
6892
|
title?: string | undefined;
|
|
6893
|
+
} | {
|
|
6894
|
+
type: "resource";
|
|
6895
|
+
title: string;
|
|
6896
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
6897
|
+
content?: string | undefined;
|
|
6898
|
+
sensitive?: boolean | undefined;
|
|
6899
|
+
spoilerText?: string | undefined;
|
|
6900
|
+
attachments?: {
|
|
6901
|
+
type: string;
|
|
6902
|
+
url: string;
|
|
6903
|
+
previewUrl: string | null;
|
|
6904
|
+
textUrl: null;
|
|
6905
|
+
filename: string;
|
|
6906
|
+
meta: {
|
|
6907
|
+
usage?: string | undefined;
|
|
6908
|
+
focus?: {
|
|
6909
|
+
x: number;
|
|
6910
|
+
y: number;
|
|
6911
|
+
} | undefined;
|
|
6912
|
+
mimetype?: string | undefined;
|
|
6913
|
+
size?: number | undefined;
|
|
6914
|
+
};
|
|
6915
|
+
description?: string | undefined;
|
|
6916
|
+
blurhash?: string | undefined;
|
|
6917
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
6918
|
+
error?: string | undefined;
|
|
6919
|
+
}[] | undefined;
|
|
6920
|
+
customEmojis?: {
|
|
6921
|
+
shortcode: string;
|
|
6922
|
+
url: string;
|
|
6923
|
+
staticUrl: string;
|
|
6924
|
+
visibleInPicker: boolean;
|
|
6925
|
+
category: string;
|
|
6926
|
+
}[] | undefined;
|
|
6927
|
+
language?: string | undefined;
|
|
6928
|
+
tags?: string[] | undefined;
|
|
6929
|
+
categoryPath?: string[] | undefined;
|
|
6930
|
+
url?: string | undefined;
|
|
6247
6931
|
};
|
|
6248
6932
|
profile: {
|
|
6249
6933
|
id: string;
|
|
@@ -6498,6 +7182,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
6498
7182
|
language?: string | undefined;
|
|
6499
7183
|
image?: string | undefined;
|
|
6500
7184
|
title?: string | undefined;
|
|
7185
|
+
} | {
|
|
7186
|
+
type: "resource";
|
|
7187
|
+
title: string;
|
|
7188
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
7189
|
+
content?: string | undefined;
|
|
7190
|
+
sensitive?: boolean | undefined;
|
|
7191
|
+
spoilerText?: string | undefined;
|
|
7192
|
+
attachments?: {
|
|
7193
|
+
type: string;
|
|
7194
|
+
url: string;
|
|
7195
|
+
previewUrl: string | null;
|
|
7196
|
+
textUrl: null;
|
|
7197
|
+
filename: string;
|
|
7198
|
+
meta: {
|
|
7199
|
+
usage?: string | undefined;
|
|
7200
|
+
focus?: {
|
|
7201
|
+
x: number;
|
|
7202
|
+
y: number;
|
|
7203
|
+
} | undefined;
|
|
7204
|
+
mimetype?: string | undefined;
|
|
7205
|
+
size?: number | undefined;
|
|
7206
|
+
};
|
|
7207
|
+
description?: string | undefined;
|
|
7208
|
+
blurhash?: string | undefined;
|
|
7209
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
7210
|
+
error?: string | undefined;
|
|
7211
|
+
}[] | undefined;
|
|
7212
|
+
customEmojis?: {
|
|
7213
|
+
shortcode: string;
|
|
7214
|
+
url: string;
|
|
7215
|
+
staticUrl: string;
|
|
7216
|
+
visibleInPicker: boolean;
|
|
7217
|
+
category: string;
|
|
7218
|
+
}[] | undefined;
|
|
7219
|
+
language?: string | undefined;
|
|
7220
|
+
tags?: string[] | undefined;
|
|
7221
|
+
categoryPath?: string[] | undefined;
|
|
7222
|
+
url?: string | undefined;
|
|
6501
7223
|
};
|
|
6502
7224
|
profile: {
|
|
6503
7225
|
id: string;
|
|
@@ -7091,7 +7813,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
7091
7813
|
hidden?: boolean | undefined;
|
|
7092
7814
|
replyTo?: {
|
|
7093
7815
|
id: string;
|
|
7094
|
-
type: "event" | "note" | "question" | "article";
|
|
7816
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
7095
7817
|
profile: {
|
|
7096
7818
|
id: string;
|
|
7097
7819
|
type: "local" | "guest" | "federated";
|
|
@@ -7342,6 +8064,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
7342
8064
|
language?: string | undefined;
|
|
7343
8065
|
image?: string | undefined;
|
|
7344
8066
|
title?: string | undefined;
|
|
8067
|
+
} | {
|
|
8068
|
+
type: "resource";
|
|
8069
|
+
title: string;
|
|
8070
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
8071
|
+
content?: string | undefined;
|
|
8072
|
+
sensitive?: boolean | undefined;
|
|
8073
|
+
spoilerText?: string | undefined;
|
|
8074
|
+
attachments?: {
|
|
8075
|
+
type: string;
|
|
8076
|
+
url: string;
|
|
8077
|
+
previewUrl: string | null;
|
|
8078
|
+
textUrl: null;
|
|
8079
|
+
filename: string;
|
|
8080
|
+
meta: {
|
|
8081
|
+
usage?: string | undefined;
|
|
8082
|
+
focus?: {
|
|
8083
|
+
x: number;
|
|
8084
|
+
y: number;
|
|
8085
|
+
} | undefined;
|
|
8086
|
+
mimetype?: string | undefined;
|
|
8087
|
+
size?: number | undefined;
|
|
8088
|
+
};
|
|
8089
|
+
description?: string | undefined;
|
|
8090
|
+
blurhash?: string | undefined;
|
|
8091
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
8092
|
+
error?: string | undefined;
|
|
8093
|
+
}[] | undefined;
|
|
8094
|
+
customEmojis?: {
|
|
8095
|
+
shortcode: string;
|
|
8096
|
+
url: string;
|
|
8097
|
+
staticUrl: string;
|
|
8098
|
+
visibleInPicker: boolean;
|
|
8099
|
+
category: string;
|
|
8100
|
+
}[] | undefined;
|
|
8101
|
+
language?: string | undefined;
|
|
8102
|
+
tags?: string[] | undefined;
|
|
8103
|
+
categoryPath?: string[] | undefined;
|
|
8104
|
+
url?: string | undefined;
|
|
7345
8105
|
};
|
|
7346
8106
|
entries: ({
|
|
7347
8107
|
type: "create";
|
|
@@ -7537,6 +8297,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
7537
8297
|
language?: string | undefined;
|
|
7538
8298
|
image?: string | undefined;
|
|
7539
8299
|
title?: string | undefined;
|
|
8300
|
+
} | {
|
|
8301
|
+
type: "resource";
|
|
8302
|
+
title: string;
|
|
8303
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
8304
|
+
content?: string | undefined;
|
|
8305
|
+
sensitive?: boolean | undefined;
|
|
8306
|
+
spoilerText?: string | undefined;
|
|
8307
|
+
attachments?: {
|
|
8308
|
+
type: string;
|
|
8309
|
+
url: string;
|
|
8310
|
+
previewUrl: string | null;
|
|
8311
|
+
textUrl: null;
|
|
8312
|
+
filename: string;
|
|
8313
|
+
meta: {
|
|
8314
|
+
usage?: string | undefined;
|
|
8315
|
+
focus?: {
|
|
8316
|
+
x: number;
|
|
8317
|
+
y: number;
|
|
8318
|
+
} | undefined;
|
|
8319
|
+
mimetype?: string | undefined;
|
|
8320
|
+
size?: number | undefined;
|
|
8321
|
+
};
|
|
8322
|
+
description?: string | undefined;
|
|
8323
|
+
blurhash?: string | undefined;
|
|
8324
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
8325
|
+
error?: string | undefined;
|
|
8326
|
+
}[] | undefined;
|
|
8327
|
+
customEmojis?: {
|
|
8328
|
+
shortcode: string;
|
|
8329
|
+
url: string;
|
|
8330
|
+
staticUrl: string;
|
|
8331
|
+
visibleInPicker: boolean;
|
|
8332
|
+
category: string;
|
|
8333
|
+
}[] | undefined;
|
|
8334
|
+
language?: string | undefined;
|
|
8335
|
+
tags?: string[] | undefined;
|
|
8336
|
+
categoryPath?: string[] | undefined;
|
|
8337
|
+
url?: string | undefined;
|
|
7540
8338
|
};
|
|
7541
8339
|
profile: {
|
|
7542
8340
|
id: string;
|
|
@@ -7791,6 +8589,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
7791
8589
|
language?: string | undefined;
|
|
7792
8590
|
image?: string | undefined;
|
|
7793
8591
|
title?: string | undefined;
|
|
8592
|
+
} | {
|
|
8593
|
+
type: "resource";
|
|
8594
|
+
title: string;
|
|
8595
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
8596
|
+
content?: string | undefined;
|
|
8597
|
+
sensitive?: boolean | undefined;
|
|
8598
|
+
spoilerText?: string | undefined;
|
|
8599
|
+
attachments?: {
|
|
8600
|
+
type: string;
|
|
8601
|
+
url: string;
|
|
8602
|
+
previewUrl: string | null;
|
|
8603
|
+
textUrl: null;
|
|
8604
|
+
filename: string;
|
|
8605
|
+
meta: {
|
|
8606
|
+
usage?: string | undefined;
|
|
8607
|
+
focus?: {
|
|
8608
|
+
x: number;
|
|
8609
|
+
y: number;
|
|
8610
|
+
} | undefined;
|
|
8611
|
+
mimetype?: string | undefined;
|
|
8612
|
+
size?: number | undefined;
|
|
8613
|
+
};
|
|
8614
|
+
description?: string | undefined;
|
|
8615
|
+
blurhash?: string | undefined;
|
|
8616
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
8617
|
+
error?: string | undefined;
|
|
8618
|
+
}[] | undefined;
|
|
8619
|
+
customEmojis?: {
|
|
8620
|
+
shortcode: string;
|
|
8621
|
+
url: string;
|
|
8622
|
+
staticUrl: string;
|
|
8623
|
+
visibleInPicker: boolean;
|
|
8624
|
+
category: string;
|
|
8625
|
+
}[] | undefined;
|
|
8626
|
+
language?: string | undefined;
|
|
8627
|
+
tags?: string[] | undefined;
|
|
8628
|
+
categoryPath?: string[] | undefined;
|
|
8629
|
+
url?: string | undefined;
|
|
7794
8630
|
};
|
|
7795
8631
|
profile: {
|
|
7796
8632
|
id: string;
|
|
@@ -8130,7 +8966,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
8130
8966
|
} | null | undefined;
|
|
8131
8967
|
latestReplies?: {
|
|
8132
8968
|
id: string;
|
|
8133
|
-
type: "event" | "note" | "question" | "article";
|
|
8969
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
8134
8970
|
profile: {
|
|
8135
8971
|
id: string;
|
|
8136
8972
|
type: "local" | "guest" | "federated";
|
|
@@ -8344,10 +9180,47 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
8344
9180
|
lng: number;
|
|
8345
9181
|
alt?: number | undefined;
|
|
8346
9182
|
} | undefined;
|
|
8347
|
-
} | undefined;
|
|
9183
|
+
} | undefined;
|
|
9184
|
+
}[] | undefined;
|
|
9185
|
+
} | {
|
|
9186
|
+
type: "article";
|
|
9187
|
+
content?: string | undefined;
|
|
9188
|
+
sensitive?: boolean | undefined;
|
|
9189
|
+
spoilerText?: string | undefined;
|
|
9190
|
+
attachments?: {
|
|
9191
|
+
type: string;
|
|
9192
|
+
url: string;
|
|
9193
|
+
previewUrl: string | null;
|
|
9194
|
+
textUrl: null;
|
|
9195
|
+
filename: string;
|
|
9196
|
+
meta: {
|
|
9197
|
+
usage?: string | undefined;
|
|
9198
|
+
focus?: {
|
|
9199
|
+
x: number;
|
|
9200
|
+
y: number;
|
|
9201
|
+
} | undefined;
|
|
9202
|
+
mimetype?: string | undefined;
|
|
9203
|
+
size?: number | undefined;
|
|
9204
|
+
};
|
|
9205
|
+
description?: string | undefined;
|
|
9206
|
+
blurhash?: string | undefined;
|
|
9207
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
9208
|
+
error?: string | undefined;
|
|
9209
|
+
}[] | undefined;
|
|
9210
|
+
customEmojis?: {
|
|
9211
|
+
shortcode: string;
|
|
9212
|
+
url: string;
|
|
9213
|
+
staticUrl: string;
|
|
9214
|
+
visibleInPicker: boolean;
|
|
9215
|
+
category: string;
|
|
8348
9216
|
}[] | undefined;
|
|
9217
|
+
language?: string | undefined;
|
|
9218
|
+
image?: string | undefined;
|
|
9219
|
+
title?: string | undefined;
|
|
8349
9220
|
} | {
|
|
8350
|
-
type: "
|
|
9221
|
+
type: "resource";
|
|
9222
|
+
title: string;
|
|
9223
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
8351
9224
|
content?: string | undefined;
|
|
8352
9225
|
sensitive?: boolean | undefined;
|
|
8353
9226
|
spoilerText?: string | undefined;
|
|
@@ -8379,8 +9252,9 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
8379
9252
|
category: string;
|
|
8380
9253
|
}[] | undefined;
|
|
8381
9254
|
language?: string | undefined;
|
|
8382
|
-
|
|
8383
|
-
|
|
9255
|
+
tags?: string[] | undefined;
|
|
9256
|
+
categoryPath?: string[] | undefined;
|
|
9257
|
+
url?: string | undefined;
|
|
8384
9258
|
};
|
|
8385
9259
|
entries: ({
|
|
8386
9260
|
type: "create";
|
|
@@ -8576,6 +9450,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
8576
9450
|
language?: string | undefined;
|
|
8577
9451
|
image?: string | undefined;
|
|
8578
9452
|
title?: string | undefined;
|
|
9453
|
+
} | {
|
|
9454
|
+
type: "resource";
|
|
9455
|
+
title: string;
|
|
9456
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
9457
|
+
content?: string | undefined;
|
|
9458
|
+
sensitive?: boolean | undefined;
|
|
9459
|
+
spoilerText?: string | undefined;
|
|
9460
|
+
attachments?: {
|
|
9461
|
+
type: string;
|
|
9462
|
+
url: string;
|
|
9463
|
+
previewUrl: string | null;
|
|
9464
|
+
textUrl: null;
|
|
9465
|
+
filename: string;
|
|
9466
|
+
meta: {
|
|
9467
|
+
usage?: string | undefined;
|
|
9468
|
+
focus?: {
|
|
9469
|
+
x: number;
|
|
9470
|
+
y: number;
|
|
9471
|
+
} | undefined;
|
|
9472
|
+
mimetype?: string | undefined;
|
|
9473
|
+
size?: number | undefined;
|
|
9474
|
+
};
|
|
9475
|
+
description?: string | undefined;
|
|
9476
|
+
blurhash?: string | undefined;
|
|
9477
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
9478
|
+
error?: string | undefined;
|
|
9479
|
+
}[] | undefined;
|
|
9480
|
+
customEmojis?: {
|
|
9481
|
+
shortcode: string;
|
|
9482
|
+
url: string;
|
|
9483
|
+
staticUrl: string;
|
|
9484
|
+
visibleInPicker: boolean;
|
|
9485
|
+
category: string;
|
|
9486
|
+
}[] | undefined;
|
|
9487
|
+
language?: string | undefined;
|
|
9488
|
+
tags?: string[] | undefined;
|
|
9489
|
+
categoryPath?: string[] | undefined;
|
|
9490
|
+
url?: string | undefined;
|
|
8579
9491
|
};
|
|
8580
9492
|
profile: {
|
|
8581
9493
|
id: string;
|
|
@@ -8830,6 +9742,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
8830
9742
|
language?: string | undefined;
|
|
8831
9743
|
image?: string | undefined;
|
|
8832
9744
|
title?: string | undefined;
|
|
9745
|
+
} | {
|
|
9746
|
+
type: "resource";
|
|
9747
|
+
title: string;
|
|
9748
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
9749
|
+
content?: string | undefined;
|
|
9750
|
+
sensitive?: boolean | undefined;
|
|
9751
|
+
spoilerText?: string | undefined;
|
|
9752
|
+
attachments?: {
|
|
9753
|
+
type: string;
|
|
9754
|
+
url: string;
|
|
9755
|
+
previewUrl: string | null;
|
|
9756
|
+
textUrl: null;
|
|
9757
|
+
filename: string;
|
|
9758
|
+
meta: {
|
|
9759
|
+
usage?: string | undefined;
|
|
9760
|
+
focus?: {
|
|
9761
|
+
x: number;
|
|
9762
|
+
y: number;
|
|
9763
|
+
} | undefined;
|
|
9764
|
+
mimetype?: string | undefined;
|
|
9765
|
+
size?: number | undefined;
|
|
9766
|
+
};
|
|
9767
|
+
description?: string | undefined;
|
|
9768
|
+
blurhash?: string | undefined;
|
|
9769
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
9770
|
+
error?: string | undefined;
|
|
9771
|
+
}[] | undefined;
|
|
9772
|
+
customEmojis?: {
|
|
9773
|
+
shortcode: string;
|
|
9774
|
+
url: string;
|
|
9775
|
+
staticUrl: string;
|
|
9776
|
+
visibleInPicker: boolean;
|
|
9777
|
+
category: string;
|
|
9778
|
+
}[] | undefined;
|
|
9779
|
+
language?: string | undefined;
|
|
9780
|
+
tags?: string[] | undefined;
|
|
9781
|
+
categoryPath?: string[] | undefined;
|
|
9782
|
+
url?: string | undefined;
|
|
8833
9783
|
};
|
|
8834
9784
|
profile: {
|
|
8835
9785
|
id: string;
|
|
@@ -9168,7 +10118,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
9168
10118
|
hidden?: boolean | undefined;
|
|
9169
10119
|
replyTo?: {
|
|
9170
10120
|
id: string;
|
|
9171
|
-
type: "event" | "note" | "question" | "article";
|
|
10121
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
9172
10122
|
profile: {
|
|
9173
10123
|
id: string;
|
|
9174
10124
|
type: "local" | "guest" | "federated";
|
|
@@ -9419,6 +10369,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
9419
10369
|
language?: string | undefined;
|
|
9420
10370
|
image?: string | undefined;
|
|
9421
10371
|
title?: string | undefined;
|
|
10372
|
+
} | {
|
|
10373
|
+
type: "resource";
|
|
10374
|
+
title: string;
|
|
10375
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
10376
|
+
content?: string | undefined;
|
|
10377
|
+
sensitive?: boolean | undefined;
|
|
10378
|
+
spoilerText?: string | undefined;
|
|
10379
|
+
attachments?: {
|
|
10380
|
+
type: string;
|
|
10381
|
+
url: string;
|
|
10382
|
+
previewUrl: string | null;
|
|
10383
|
+
textUrl: null;
|
|
10384
|
+
filename: string;
|
|
10385
|
+
meta: {
|
|
10386
|
+
usage?: string | undefined;
|
|
10387
|
+
focus?: {
|
|
10388
|
+
x: number;
|
|
10389
|
+
y: number;
|
|
10390
|
+
} | undefined;
|
|
10391
|
+
mimetype?: string | undefined;
|
|
10392
|
+
size?: number | undefined;
|
|
10393
|
+
};
|
|
10394
|
+
description?: string | undefined;
|
|
10395
|
+
blurhash?: string | undefined;
|
|
10396
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
10397
|
+
error?: string | undefined;
|
|
10398
|
+
}[] | undefined;
|
|
10399
|
+
customEmojis?: {
|
|
10400
|
+
shortcode: string;
|
|
10401
|
+
url: string;
|
|
10402
|
+
staticUrl: string;
|
|
10403
|
+
visibleInPicker: boolean;
|
|
10404
|
+
category: string;
|
|
10405
|
+
}[] | undefined;
|
|
10406
|
+
language?: string | undefined;
|
|
10407
|
+
tags?: string[] | undefined;
|
|
10408
|
+
categoryPath?: string[] | undefined;
|
|
10409
|
+
url?: string | undefined;
|
|
9422
10410
|
};
|
|
9423
10411
|
entries: ({
|
|
9424
10412
|
type: "create";
|
|
@@ -9614,6 +10602,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
9614
10602
|
language?: string | undefined;
|
|
9615
10603
|
image?: string | undefined;
|
|
9616
10604
|
title?: string | undefined;
|
|
10605
|
+
} | {
|
|
10606
|
+
type: "resource";
|
|
10607
|
+
title: string;
|
|
10608
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
10609
|
+
content?: string | undefined;
|
|
10610
|
+
sensitive?: boolean | undefined;
|
|
10611
|
+
spoilerText?: string | undefined;
|
|
10612
|
+
attachments?: {
|
|
10613
|
+
type: string;
|
|
10614
|
+
url: string;
|
|
10615
|
+
previewUrl: string | null;
|
|
10616
|
+
textUrl: null;
|
|
10617
|
+
filename: string;
|
|
10618
|
+
meta: {
|
|
10619
|
+
usage?: string | undefined;
|
|
10620
|
+
focus?: {
|
|
10621
|
+
x: number;
|
|
10622
|
+
y: number;
|
|
10623
|
+
} | undefined;
|
|
10624
|
+
mimetype?: string | undefined;
|
|
10625
|
+
size?: number | undefined;
|
|
10626
|
+
};
|
|
10627
|
+
description?: string | undefined;
|
|
10628
|
+
blurhash?: string | undefined;
|
|
10629
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
10630
|
+
error?: string | undefined;
|
|
10631
|
+
}[] | undefined;
|
|
10632
|
+
customEmojis?: {
|
|
10633
|
+
shortcode: string;
|
|
10634
|
+
url: string;
|
|
10635
|
+
staticUrl: string;
|
|
10636
|
+
visibleInPicker: boolean;
|
|
10637
|
+
category: string;
|
|
10638
|
+
}[] | undefined;
|
|
10639
|
+
language?: string | undefined;
|
|
10640
|
+
tags?: string[] | undefined;
|
|
10641
|
+
categoryPath?: string[] | undefined;
|
|
10642
|
+
url?: string | undefined;
|
|
9617
10643
|
};
|
|
9618
10644
|
profile: {
|
|
9619
10645
|
id: string;
|
|
@@ -9868,6 +10894,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
9868
10894
|
language?: string | undefined;
|
|
9869
10895
|
image?: string | undefined;
|
|
9870
10896
|
title?: string | undefined;
|
|
10897
|
+
} | {
|
|
10898
|
+
type: "resource";
|
|
10899
|
+
title: string;
|
|
10900
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
10901
|
+
content?: string | undefined;
|
|
10902
|
+
sensitive?: boolean | undefined;
|
|
10903
|
+
spoilerText?: string | undefined;
|
|
10904
|
+
attachments?: {
|
|
10905
|
+
type: string;
|
|
10906
|
+
url: string;
|
|
10907
|
+
previewUrl: string | null;
|
|
10908
|
+
textUrl: null;
|
|
10909
|
+
filename: string;
|
|
10910
|
+
meta: {
|
|
10911
|
+
usage?: string | undefined;
|
|
10912
|
+
focus?: {
|
|
10913
|
+
x: number;
|
|
10914
|
+
y: number;
|
|
10915
|
+
} | undefined;
|
|
10916
|
+
mimetype?: string | undefined;
|
|
10917
|
+
size?: number | undefined;
|
|
10918
|
+
};
|
|
10919
|
+
description?: string | undefined;
|
|
10920
|
+
blurhash?: string | undefined;
|
|
10921
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
10922
|
+
error?: string | undefined;
|
|
10923
|
+
}[] | undefined;
|
|
10924
|
+
customEmojis?: {
|
|
10925
|
+
shortcode: string;
|
|
10926
|
+
url: string;
|
|
10927
|
+
staticUrl: string;
|
|
10928
|
+
visibleInPicker: boolean;
|
|
10929
|
+
category: string;
|
|
10930
|
+
}[] | undefined;
|
|
10931
|
+
language?: string | undefined;
|
|
10932
|
+
tags?: string[] | undefined;
|
|
10933
|
+
categoryPath?: string[] | undefined;
|
|
10934
|
+
url?: string | undefined;
|
|
9871
10935
|
};
|
|
9872
10936
|
profile: {
|
|
9873
10937
|
id: string;
|
|
@@ -10233,7 +11297,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
10233
11297
|
}>;
|
|
10234
11298
|
postData: {
|
|
10235
11299
|
visibility: "group" | "local" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
10236
|
-
type: "event" | "note" | "question" | "article";
|
|
11300
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
10237
11301
|
data: {
|
|
10238
11302
|
type: "note";
|
|
10239
11303
|
content?: string | undefined;
|
|
@@ -10426,6 +11490,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
10426
11490
|
language?: string | undefined;
|
|
10427
11491
|
image?: string | undefined;
|
|
10428
11492
|
title?: string | undefined;
|
|
11493
|
+
} | {
|
|
11494
|
+
type: "resource";
|
|
11495
|
+
title: string;
|
|
11496
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
11497
|
+
content?: string | undefined;
|
|
11498
|
+
sensitive?: boolean | undefined;
|
|
11499
|
+
spoilerText?: string | undefined;
|
|
11500
|
+
attachments?: {
|
|
11501
|
+
type: string;
|
|
11502
|
+
url: string;
|
|
11503
|
+
previewUrl: string | null;
|
|
11504
|
+
textUrl: null;
|
|
11505
|
+
filename: string;
|
|
11506
|
+
meta: {
|
|
11507
|
+
usage?: string | undefined;
|
|
11508
|
+
focus?: {
|
|
11509
|
+
x: number;
|
|
11510
|
+
y: number;
|
|
11511
|
+
} | undefined;
|
|
11512
|
+
mimetype?: string | undefined;
|
|
11513
|
+
size?: number | undefined;
|
|
11514
|
+
};
|
|
11515
|
+
description?: string | undefined;
|
|
11516
|
+
blurhash?: string | undefined;
|
|
11517
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
11518
|
+
error?: string | undefined;
|
|
11519
|
+
}[] | undefined;
|
|
11520
|
+
customEmojis?: {
|
|
11521
|
+
shortcode: string;
|
|
11522
|
+
url: string;
|
|
11523
|
+
staticUrl: string;
|
|
11524
|
+
visibleInPicker: boolean;
|
|
11525
|
+
category: string;
|
|
11526
|
+
}[] | undefined;
|
|
11527
|
+
language?: string | undefined;
|
|
11528
|
+
tags?: string[] | undefined;
|
|
11529
|
+
categoryPath?: string[] | undefined;
|
|
11530
|
+
url?: string | undefined;
|
|
10429
11531
|
};
|
|
10430
11532
|
inReplyToId?: string | null | undefined;
|
|
10431
11533
|
mentions?: {
|
|
@@ -10553,7 +11655,7 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
10553
11655
|
} | null;
|
|
10554
11656
|
setPostData: import("react").Dispatch<import("react").SetStateAction<{
|
|
10555
11657
|
visibility: "group" | "local" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
10556
|
-
type: "event" | "note" | "question" | "article";
|
|
11658
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
10557
11659
|
data: {
|
|
10558
11660
|
type: "note";
|
|
10559
11661
|
content?: string | undefined;
|
|
@@ -10746,6 +11848,44 @@ export declare const useEditEvent: (eventId: string, occurrence?: string) => {
|
|
|
10746
11848
|
language?: string | undefined;
|
|
10747
11849
|
image?: string | undefined;
|
|
10748
11850
|
title?: string | undefined;
|
|
11851
|
+
} | {
|
|
11852
|
+
type: "resource";
|
|
11853
|
+
title: string;
|
|
11854
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
11855
|
+
content?: string | undefined;
|
|
11856
|
+
sensitive?: boolean | undefined;
|
|
11857
|
+
spoilerText?: string | undefined;
|
|
11858
|
+
attachments?: {
|
|
11859
|
+
type: string;
|
|
11860
|
+
url: string;
|
|
11861
|
+
previewUrl: string | null;
|
|
11862
|
+
textUrl: null;
|
|
11863
|
+
filename: string;
|
|
11864
|
+
meta: {
|
|
11865
|
+
usage?: string | undefined;
|
|
11866
|
+
focus?: {
|
|
11867
|
+
x: number;
|
|
11868
|
+
y: number;
|
|
11869
|
+
} | undefined;
|
|
11870
|
+
mimetype?: string | undefined;
|
|
11871
|
+
size?: number | undefined;
|
|
11872
|
+
};
|
|
11873
|
+
description?: string | undefined;
|
|
11874
|
+
blurhash?: string | undefined;
|
|
11875
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
11876
|
+
error?: string | undefined;
|
|
11877
|
+
}[] | undefined;
|
|
11878
|
+
customEmojis?: {
|
|
11879
|
+
shortcode: string;
|
|
11880
|
+
url: string;
|
|
11881
|
+
staticUrl: string;
|
|
11882
|
+
visibleInPicker: boolean;
|
|
11883
|
+
category: string;
|
|
11884
|
+
}[] | undefined;
|
|
11885
|
+
language?: string | undefined;
|
|
11886
|
+
tags?: string[] | undefined;
|
|
11887
|
+
categoryPath?: string[] | undefined;
|
|
11888
|
+
url?: string | undefined;
|
|
10749
11889
|
};
|
|
10750
11890
|
inReplyToId?: string | null | undefined;
|
|
10751
11891
|
mentions?: {
|