@openpeepshq/react 0.2.4 → 0.2.5
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/post/FeedPost.js +4 -4
- package/dist/components/post/pieces/FeedPostStats.js +2 -2
- package/dist/components/post/pieces/PollContent.js +32 -13
- package/dist/components/post/pieces/PostMenu.js +1 -1
- package/dist/components/post/pieces/modals/RepostModal.d.ts +5 -3
- package/dist/components/post/pieces/modals/RepostModal.js +8 -7
- package/dist/contexts/openpeeps/hooks/admin.d.ts +63 -16827
- package/dist/contexts/openpeeps/hooks/admin.js +34 -15
- package/dist/contexts/openpeeps/hooks/conversations.d.ts +330 -0
- package/dist/contexts/openpeeps/hooks/jams.d.ts +110 -0
- package/dist/contexts/openpeeps/hooks/posts.d.ts +933 -53
- package/dist/contexts/openpeeps/hooks/profiles.d.ts +220 -0
- package/dist/contexts/openpeeps/hooks/search.d.ts +330 -0
- package/dist/contexts/openpeeps/index.d.ts +1 -1
- package/dist/lib/postUnread.d.ts +7 -0
- package/dist/lib/postUnread.js +7 -0
- package/dist/stores/newPosts.d.ts +8 -8
- package/package.json +5 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { apiHook, noPayloadMutation } from '../helpers.js';
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { apiHook, noPayloadMutation, payloadMutation } from '../helpers.js';
|
|
2
|
+
// Split factories (like postFinders) so each ReturnType stays under the TS7056
|
|
3
|
+
// .d.ts limit once PublicPost grows (embedded `reposts`).
|
|
4
|
+
const adminAccounts = (client) => ({
|
|
4
5
|
useAccountsList: () => apiHook(client.admin.accounts.list),
|
|
5
6
|
useAccountById: (id) => apiHook(client.admin.accounts.findById, { pathParams: { id } }),
|
|
6
7
|
updateAccountAction: payloadMutation(client.admin.accounts.update, [
|
|
@@ -9,6 +10,8 @@ export const adminHooks = (client) => ({
|
|
|
9
10
|
deleteAccountAction: noPayloadMutation(client.admin.accounts.delete, [
|
|
10
11
|
['admin', 'accounts'],
|
|
11
12
|
]),
|
|
13
|
+
});
|
|
14
|
+
const adminBackupsConfig = (client) => ({
|
|
12
15
|
useBackupsList: () => apiHook(client.admin.backups.list),
|
|
13
16
|
createBackupAction: noPayloadMutation(client.admin.backups.create, [
|
|
14
17
|
['admin', 'backups'],
|
|
@@ -21,6 +24,12 @@ export const adminHooks = (client) => ({
|
|
|
21
24
|
['admin', 'config'],
|
|
22
25
|
['config'],
|
|
23
26
|
]),
|
|
27
|
+
usei18n: () => apiHook(client.admin.i18n.read),
|
|
28
|
+
updateI18nAction: payloadMutation(client.admin.i18n.update, [
|
|
29
|
+
['admin', 'i18n'],
|
|
30
|
+
]),
|
|
31
|
+
});
|
|
32
|
+
const adminDbInvites = (client) => ({
|
|
24
33
|
useDbToken: () => apiHook(client.admin.db.token),
|
|
25
34
|
useDbTables: () => apiHook(client.admin.db.tables),
|
|
26
35
|
useDbRows: (table, query) => apiHook(client.admin.db.rows, {
|
|
@@ -48,6 +57,8 @@ export const adminHooks = (client) => ({
|
|
|
48
57
|
queryParams: date ? { date } : undefined,
|
|
49
58
|
refetchInterval,
|
|
50
59
|
}),
|
|
60
|
+
});
|
|
61
|
+
const adminPeopleContent = (client) => ({
|
|
51
62
|
pinPostGloballyAction: payloadMutation(client.admin.posts.pinGlobally, [
|
|
52
63
|
['admin', 'posts'],
|
|
53
64
|
['posts'],
|
|
@@ -73,18 +84,6 @@ export const adminHooks = (client) => ({
|
|
|
73
84
|
updateRoleAction: payloadMutation(client.admin.roles.update, [
|
|
74
85
|
['admin', 'roles'],
|
|
75
86
|
]),
|
|
76
|
-
useGeneralStats: () => apiHook(client.admin.stats.general),
|
|
77
|
-
useAnalyticsOverview: (query) => apiHook(client.admin.analytics.overview, { queryParams: query }),
|
|
78
|
-
useAnalyticsGrowth: (query) => apiHook(client.admin.analytics.growth, { queryParams: query }),
|
|
79
|
-
useAnalyticsEngagement: (query) => apiHook(client.admin.analytics.engagement, { queryParams: query }),
|
|
80
|
-
useAnalyticsRetention: (query) => apiHook(client.admin.analytics.retention, { queryParams: query }),
|
|
81
|
-
useAnalyticsClicks: (query) => apiHook(client.admin.analytics.clicks, { queryParams: query }),
|
|
82
|
-
useAnalyticsReportSettings: () => apiHook(client.admin.analytics.reportSettings.read),
|
|
83
|
-
updateAnalyticsReportSettingsAction: payloadMutation(client.admin.analytics.reportSettings.update, [['admin', 'analytics', 'reportSettings']]),
|
|
84
|
-
usei18n: () => apiHook(client.admin.i18n.read),
|
|
85
|
-
updateI18nAction: payloadMutation(client.admin.i18n.update, [
|
|
86
|
-
['admin', 'i18n'],
|
|
87
|
-
]),
|
|
88
87
|
useReportsList: () => apiHook(client.admin.reports.list),
|
|
89
88
|
useReport: (reportId) => apiHook(client.admin.reports.findById, { pathParams: { reportId } }),
|
|
90
89
|
resolveReportAction: payloadMutation(client.admin.reports.resolve, [
|
|
@@ -98,6 +97,18 @@ export const adminHooks = (client) => ({
|
|
|
98
97
|
['admin', 'groups'],
|
|
99
98
|
['groups'],
|
|
100
99
|
]),
|
|
100
|
+
});
|
|
101
|
+
const adminAnalytics = (client) => ({
|
|
102
|
+
useGeneralStats: () => apiHook(client.admin.stats.general),
|
|
103
|
+
useAnalyticsOverview: (query) => apiHook(client.admin.analytics.overview, { queryParams: query }),
|
|
104
|
+
useAnalyticsGrowth: (query) => apiHook(client.admin.analytics.growth, { queryParams: query }),
|
|
105
|
+
useAnalyticsEngagement: (query) => apiHook(client.admin.analytics.engagement, { queryParams: query }),
|
|
106
|
+
useAnalyticsRetention: (query) => apiHook(client.admin.analytics.retention, { queryParams: query }),
|
|
107
|
+
useAnalyticsClicks: (query) => apiHook(client.admin.analytics.clicks, { queryParams: query }),
|
|
108
|
+
useAnalyticsReportSettings: () => apiHook(client.admin.analytics.reportSettings.read),
|
|
109
|
+
updateAnalyticsReportSettingsAction: payloadMutation(client.admin.analytics.reportSettings.update, [['admin', 'analytics', 'reportSettings']]),
|
|
110
|
+
});
|
|
111
|
+
const adminDiagnostics = (client) => ({
|
|
101
112
|
useEmailQueueStats: () => apiHook(client.admin.diagnostics.email.queueStats, {
|
|
102
113
|
refetchInterval: 60_000,
|
|
103
114
|
}),
|
|
@@ -114,3 +125,11 @@ export const adminHooks = (client) => ({
|
|
|
114
125
|
createServiceAccessTokenAction: payloadMutation(client.admin.serviceAccessTokens.create, [['admin', 'serviceAccessTokens']]),
|
|
115
126
|
revokeServiceAccessTokenAction: noPayloadMutation(client.admin.serviceAccessTokens.revoke, [['admin', 'serviceAccessTokens']]),
|
|
116
127
|
});
|
|
128
|
+
export const adminHooks = (client) => ({
|
|
129
|
+
...adminAccounts(client),
|
|
130
|
+
...adminBackupsConfig(client),
|
|
131
|
+
...adminDbInvites(client),
|
|
132
|
+
...adminPeopleContent(client),
|
|
133
|
+
...adminAnalytics(client),
|
|
134
|
+
...adminDiagnostics(client),
|
|
135
|
+
});
|
|
@@ -914,6 +914,61 @@ export declare const conversationHooks: (client: OpenpeepsClient) => {
|
|
|
914
914
|
} | undefined;
|
|
915
915
|
};
|
|
916
916
|
}[];
|
|
917
|
+
reposts: {
|
|
918
|
+
profile: {
|
|
919
|
+
id: string;
|
|
920
|
+
type: "guest" | "local" | "federated";
|
|
921
|
+
createdAt: string;
|
|
922
|
+
updatedAt: string;
|
|
923
|
+
handle: string;
|
|
924
|
+
memberships: {
|
|
925
|
+
group: {
|
|
926
|
+
handle: string;
|
|
927
|
+
capabilities: Record<string, {
|
|
928
|
+
add?: string[] | undefined;
|
|
929
|
+
remove?: string[] | undefined;
|
|
930
|
+
} | undefined>;
|
|
931
|
+
id: string;
|
|
932
|
+
createdAt: string;
|
|
933
|
+
updatedAt: string;
|
|
934
|
+
avatar?: string | null | undefined;
|
|
935
|
+
header?: string | null | undefined;
|
|
936
|
+
displayName?: string | undefined;
|
|
937
|
+
description?: string | undefined;
|
|
938
|
+
rules?: string | undefined;
|
|
939
|
+
pinnedPostId?: string | undefined;
|
|
940
|
+
discoverable?: boolean | undefined;
|
|
941
|
+
deletedAt?: string | null | undefined;
|
|
942
|
+
};
|
|
943
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
944
|
+
}[] | undefined;
|
|
945
|
+
deletedAt?: string | null | undefined;
|
|
946
|
+
avatar?: string | null | undefined;
|
|
947
|
+
header?: string | null | undefined;
|
|
948
|
+
displayName?: string | undefined;
|
|
949
|
+
bio?: string | undefined;
|
|
950
|
+
location?: {
|
|
951
|
+
text: string;
|
|
952
|
+
coordinates?: {
|
|
953
|
+
lat: number;
|
|
954
|
+
lng: number;
|
|
955
|
+
alt?: number | undefined;
|
|
956
|
+
} | undefined;
|
|
957
|
+
} | undefined;
|
|
958
|
+
locked?: boolean | undefined;
|
|
959
|
+
bot?: boolean | undefined;
|
|
960
|
+
discoverable?: boolean | undefined;
|
|
961
|
+
fields?: {
|
|
962
|
+
name: string;
|
|
963
|
+
value: string;
|
|
964
|
+
}[] | undefined;
|
|
965
|
+
profileStats?: {
|
|
966
|
+
followersCount: number;
|
|
967
|
+
followingCount: number;
|
|
968
|
+
} | undefined;
|
|
969
|
+
};
|
|
970
|
+
createdAt: string;
|
|
971
|
+
}[];
|
|
917
972
|
mentions: {
|
|
918
973
|
profile: {
|
|
919
974
|
id: string;
|
|
@@ -2964,6 +3019,61 @@ export declare const conversationHooks: (client: OpenpeepsClient) => {
|
|
|
2964
3019
|
} | undefined;
|
|
2965
3020
|
};
|
|
2966
3021
|
}[];
|
|
3022
|
+
reposts: {
|
|
3023
|
+
profile: {
|
|
3024
|
+
id: string;
|
|
3025
|
+
type: "guest" | "local" | "federated";
|
|
3026
|
+
createdAt: string;
|
|
3027
|
+
updatedAt: string;
|
|
3028
|
+
handle: string;
|
|
3029
|
+
memberships: {
|
|
3030
|
+
group: {
|
|
3031
|
+
handle: string;
|
|
3032
|
+
capabilities: Record<string, {
|
|
3033
|
+
add?: string[] | undefined;
|
|
3034
|
+
remove?: string[] | undefined;
|
|
3035
|
+
} | undefined>;
|
|
3036
|
+
id: string;
|
|
3037
|
+
createdAt: string;
|
|
3038
|
+
updatedAt: string;
|
|
3039
|
+
avatar?: string | null | undefined;
|
|
3040
|
+
header?: string | null | undefined;
|
|
3041
|
+
displayName?: string | undefined;
|
|
3042
|
+
description?: string | undefined;
|
|
3043
|
+
rules?: string | undefined;
|
|
3044
|
+
pinnedPostId?: string | undefined;
|
|
3045
|
+
discoverable?: boolean | undefined;
|
|
3046
|
+
deletedAt?: string | null | undefined;
|
|
3047
|
+
};
|
|
3048
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
3049
|
+
}[] | undefined;
|
|
3050
|
+
deletedAt?: string | null | undefined;
|
|
3051
|
+
avatar?: string | null | undefined;
|
|
3052
|
+
header?: string | null | undefined;
|
|
3053
|
+
displayName?: string | undefined;
|
|
3054
|
+
bio?: string | undefined;
|
|
3055
|
+
location?: {
|
|
3056
|
+
text: string;
|
|
3057
|
+
coordinates?: {
|
|
3058
|
+
lat: number;
|
|
3059
|
+
lng: number;
|
|
3060
|
+
alt?: number | undefined;
|
|
3061
|
+
} | undefined;
|
|
3062
|
+
} | undefined;
|
|
3063
|
+
locked?: boolean | undefined;
|
|
3064
|
+
bot?: boolean | undefined;
|
|
3065
|
+
discoverable?: boolean | undefined;
|
|
3066
|
+
fields?: {
|
|
3067
|
+
name: string;
|
|
3068
|
+
value: string;
|
|
3069
|
+
}[] | undefined;
|
|
3070
|
+
profileStats?: {
|
|
3071
|
+
followersCount: number;
|
|
3072
|
+
followingCount: number;
|
|
3073
|
+
} | undefined;
|
|
3074
|
+
};
|
|
3075
|
+
createdAt: string;
|
|
3076
|
+
}[];
|
|
2967
3077
|
mentions: {
|
|
2968
3078
|
profile: {
|
|
2969
3079
|
id: string;
|
|
@@ -4089,6 +4199,61 @@ export declare const conversationHooks: (client: OpenpeepsClient) => {
|
|
|
4089
4199
|
} | undefined;
|
|
4090
4200
|
};
|
|
4091
4201
|
}[];
|
|
4202
|
+
reposts: {
|
|
4203
|
+
profile: {
|
|
4204
|
+
id: string;
|
|
4205
|
+
type: "guest" | "local" | "federated";
|
|
4206
|
+
createdAt: string;
|
|
4207
|
+
updatedAt: string;
|
|
4208
|
+
handle: string;
|
|
4209
|
+
memberships: {
|
|
4210
|
+
group: {
|
|
4211
|
+
handle: string;
|
|
4212
|
+
capabilities: Record<string, {
|
|
4213
|
+
add?: string[] | undefined;
|
|
4214
|
+
remove?: string[] | undefined;
|
|
4215
|
+
} | undefined>;
|
|
4216
|
+
id: string;
|
|
4217
|
+
createdAt: string;
|
|
4218
|
+
updatedAt: string;
|
|
4219
|
+
avatar?: string | null | undefined;
|
|
4220
|
+
header?: string | null | undefined;
|
|
4221
|
+
displayName?: string | undefined;
|
|
4222
|
+
description?: string | undefined;
|
|
4223
|
+
rules?: string | undefined;
|
|
4224
|
+
pinnedPostId?: string | undefined;
|
|
4225
|
+
discoverable?: boolean | undefined;
|
|
4226
|
+
deletedAt?: string | null | undefined;
|
|
4227
|
+
};
|
|
4228
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
4229
|
+
}[] | undefined;
|
|
4230
|
+
deletedAt?: string | null | undefined;
|
|
4231
|
+
avatar?: string | null | undefined;
|
|
4232
|
+
header?: string | null | undefined;
|
|
4233
|
+
displayName?: string | undefined;
|
|
4234
|
+
bio?: string | undefined;
|
|
4235
|
+
location?: {
|
|
4236
|
+
text: string;
|
|
4237
|
+
coordinates?: {
|
|
4238
|
+
lat: number;
|
|
4239
|
+
lng: number;
|
|
4240
|
+
alt?: number | undefined;
|
|
4241
|
+
} | undefined;
|
|
4242
|
+
} | undefined;
|
|
4243
|
+
locked?: boolean | undefined;
|
|
4244
|
+
bot?: boolean | undefined;
|
|
4245
|
+
discoverable?: boolean | undefined;
|
|
4246
|
+
fields?: {
|
|
4247
|
+
name: string;
|
|
4248
|
+
value: string;
|
|
4249
|
+
}[] | undefined;
|
|
4250
|
+
profileStats?: {
|
|
4251
|
+
followersCount: number;
|
|
4252
|
+
followingCount: number;
|
|
4253
|
+
} | undefined;
|
|
4254
|
+
};
|
|
4255
|
+
createdAt: string;
|
|
4256
|
+
}[];
|
|
4092
4257
|
mentions: {
|
|
4093
4258
|
profile: {
|
|
4094
4259
|
id: string;
|
|
@@ -6139,6 +6304,61 @@ export declare const conversationHooks: (client: OpenpeepsClient) => {
|
|
|
6139
6304
|
} | undefined;
|
|
6140
6305
|
};
|
|
6141
6306
|
}[];
|
|
6307
|
+
reposts: {
|
|
6308
|
+
profile: {
|
|
6309
|
+
id: string;
|
|
6310
|
+
type: "guest" | "local" | "federated";
|
|
6311
|
+
createdAt: string;
|
|
6312
|
+
updatedAt: string;
|
|
6313
|
+
handle: string;
|
|
6314
|
+
memberships: {
|
|
6315
|
+
group: {
|
|
6316
|
+
handle: string;
|
|
6317
|
+
capabilities: Record<string, {
|
|
6318
|
+
add?: string[] | undefined;
|
|
6319
|
+
remove?: string[] | undefined;
|
|
6320
|
+
} | undefined>;
|
|
6321
|
+
id: string;
|
|
6322
|
+
createdAt: string;
|
|
6323
|
+
updatedAt: string;
|
|
6324
|
+
avatar?: string | null | undefined;
|
|
6325
|
+
header?: string | null | undefined;
|
|
6326
|
+
displayName?: string | undefined;
|
|
6327
|
+
description?: string | undefined;
|
|
6328
|
+
rules?: string | undefined;
|
|
6329
|
+
pinnedPostId?: string | undefined;
|
|
6330
|
+
discoverable?: boolean | undefined;
|
|
6331
|
+
deletedAt?: string | null | undefined;
|
|
6332
|
+
};
|
|
6333
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
6334
|
+
}[] | undefined;
|
|
6335
|
+
deletedAt?: string | null | undefined;
|
|
6336
|
+
avatar?: string | null | undefined;
|
|
6337
|
+
header?: string | null | undefined;
|
|
6338
|
+
displayName?: string | undefined;
|
|
6339
|
+
bio?: string | undefined;
|
|
6340
|
+
location?: {
|
|
6341
|
+
text: string;
|
|
6342
|
+
coordinates?: {
|
|
6343
|
+
lat: number;
|
|
6344
|
+
lng: number;
|
|
6345
|
+
alt?: number | undefined;
|
|
6346
|
+
} | undefined;
|
|
6347
|
+
} | undefined;
|
|
6348
|
+
locked?: boolean | undefined;
|
|
6349
|
+
bot?: boolean | undefined;
|
|
6350
|
+
discoverable?: boolean | undefined;
|
|
6351
|
+
fields?: {
|
|
6352
|
+
name: string;
|
|
6353
|
+
value: string;
|
|
6354
|
+
}[] | undefined;
|
|
6355
|
+
profileStats?: {
|
|
6356
|
+
followersCount: number;
|
|
6357
|
+
followingCount: number;
|
|
6358
|
+
} | undefined;
|
|
6359
|
+
};
|
|
6360
|
+
createdAt: string;
|
|
6361
|
+
}[];
|
|
6142
6362
|
mentions: {
|
|
6143
6363
|
profile: {
|
|
6144
6364
|
id: string;
|
|
@@ -7554,6 +7774,61 @@ export declare const conversationHooks: (client: OpenpeepsClient) => {
|
|
|
7554
7774
|
} | undefined;
|
|
7555
7775
|
};
|
|
7556
7776
|
}[];
|
|
7777
|
+
reposts: {
|
|
7778
|
+
profile: {
|
|
7779
|
+
id: string;
|
|
7780
|
+
type: "guest" | "local" | "federated";
|
|
7781
|
+
createdAt: string;
|
|
7782
|
+
updatedAt: string;
|
|
7783
|
+
handle: string;
|
|
7784
|
+
memberships: {
|
|
7785
|
+
group: {
|
|
7786
|
+
handle: string;
|
|
7787
|
+
capabilities: Record<string, {
|
|
7788
|
+
add?: string[] | undefined;
|
|
7789
|
+
remove?: string[] | undefined;
|
|
7790
|
+
} | undefined>;
|
|
7791
|
+
id: string;
|
|
7792
|
+
createdAt: string;
|
|
7793
|
+
updatedAt: string;
|
|
7794
|
+
avatar?: string | null | undefined;
|
|
7795
|
+
header?: string | null | undefined;
|
|
7796
|
+
displayName?: string | undefined;
|
|
7797
|
+
description?: string | undefined;
|
|
7798
|
+
rules?: string | undefined;
|
|
7799
|
+
pinnedPostId?: string | undefined;
|
|
7800
|
+
discoverable?: boolean | undefined;
|
|
7801
|
+
deletedAt?: string | null | undefined;
|
|
7802
|
+
};
|
|
7803
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
7804
|
+
}[] | undefined;
|
|
7805
|
+
deletedAt?: string | null | undefined;
|
|
7806
|
+
avatar?: string | null | undefined;
|
|
7807
|
+
header?: string | null | undefined;
|
|
7808
|
+
displayName?: string | undefined;
|
|
7809
|
+
bio?: string | undefined;
|
|
7810
|
+
location?: {
|
|
7811
|
+
text: string;
|
|
7812
|
+
coordinates?: {
|
|
7813
|
+
lat: number;
|
|
7814
|
+
lng: number;
|
|
7815
|
+
alt?: number | undefined;
|
|
7816
|
+
} | undefined;
|
|
7817
|
+
} | undefined;
|
|
7818
|
+
locked?: boolean | undefined;
|
|
7819
|
+
bot?: boolean | undefined;
|
|
7820
|
+
discoverable?: boolean | undefined;
|
|
7821
|
+
fields?: {
|
|
7822
|
+
name: string;
|
|
7823
|
+
value: string;
|
|
7824
|
+
}[] | undefined;
|
|
7825
|
+
profileStats?: {
|
|
7826
|
+
followersCount: number;
|
|
7827
|
+
followingCount: number;
|
|
7828
|
+
} | undefined;
|
|
7829
|
+
};
|
|
7830
|
+
createdAt: string;
|
|
7831
|
+
}[];
|
|
7557
7832
|
mentions: {
|
|
7558
7833
|
profile: {
|
|
7559
7834
|
id: string;
|
|
@@ -9604,6 +9879,61 @@ export declare const conversationHooks: (client: OpenpeepsClient) => {
|
|
|
9604
9879
|
} | undefined;
|
|
9605
9880
|
};
|
|
9606
9881
|
}[];
|
|
9882
|
+
reposts: {
|
|
9883
|
+
profile: {
|
|
9884
|
+
id: string;
|
|
9885
|
+
type: "guest" | "local" | "federated";
|
|
9886
|
+
createdAt: string;
|
|
9887
|
+
updatedAt: string;
|
|
9888
|
+
handle: string;
|
|
9889
|
+
memberships: {
|
|
9890
|
+
group: {
|
|
9891
|
+
handle: string;
|
|
9892
|
+
capabilities: Record<string, {
|
|
9893
|
+
add?: string[] | undefined;
|
|
9894
|
+
remove?: string[] | undefined;
|
|
9895
|
+
} | undefined>;
|
|
9896
|
+
id: string;
|
|
9897
|
+
createdAt: string;
|
|
9898
|
+
updatedAt: string;
|
|
9899
|
+
avatar?: string | null | undefined;
|
|
9900
|
+
header?: string | null | undefined;
|
|
9901
|
+
displayName?: string | undefined;
|
|
9902
|
+
description?: string | undefined;
|
|
9903
|
+
rules?: string | undefined;
|
|
9904
|
+
pinnedPostId?: string | undefined;
|
|
9905
|
+
discoverable?: boolean | undefined;
|
|
9906
|
+
deletedAt?: string | null | undefined;
|
|
9907
|
+
};
|
|
9908
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
9909
|
+
}[] | undefined;
|
|
9910
|
+
deletedAt?: string | null | undefined;
|
|
9911
|
+
avatar?: string | null | undefined;
|
|
9912
|
+
header?: string | null | undefined;
|
|
9913
|
+
displayName?: string | undefined;
|
|
9914
|
+
bio?: string | undefined;
|
|
9915
|
+
location?: {
|
|
9916
|
+
text: string;
|
|
9917
|
+
coordinates?: {
|
|
9918
|
+
lat: number;
|
|
9919
|
+
lng: number;
|
|
9920
|
+
alt?: number | undefined;
|
|
9921
|
+
} | undefined;
|
|
9922
|
+
} | undefined;
|
|
9923
|
+
locked?: boolean | undefined;
|
|
9924
|
+
bot?: boolean | undefined;
|
|
9925
|
+
discoverable?: boolean | undefined;
|
|
9926
|
+
fields?: {
|
|
9927
|
+
name: string;
|
|
9928
|
+
value: string;
|
|
9929
|
+
}[] | undefined;
|
|
9930
|
+
profileStats?: {
|
|
9931
|
+
followersCount: number;
|
|
9932
|
+
followingCount: number;
|
|
9933
|
+
} | undefined;
|
|
9934
|
+
};
|
|
9935
|
+
createdAt: string;
|
|
9936
|
+
}[];
|
|
9607
9937
|
mentions: {
|
|
9608
9938
|
profile: {
|
|
9609
9939
|
id: string;
|
|
@@ -914,6 +914,61 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
914
914
|
} | undefined;
|
|
915
915
|
};
|
|
916
916
|
}[];
|
|
917
|
+
reposts: {
|
|
918
|
+
profile: {
|
|
919
|
+
id: string;
|
|
920
|
+
type: "guest" | "local" | "federated";
|
|
921
|
+
createdAt: string;
|
|
922
|
+
updatedAt: string;
|
|
923
|
+
handle: string;
|
|
924
|
+
memberships: {
|
|
925
|
+
group: {
|
|
926
|
+
handle: string;
|
|
927
|
+
capabilities: Record<string, {
|
|
928
|
+
add?: string[] | undefined;
|
|
929
|
+
remove?: string[] | undefined;
|
|
930
|
+
} | undefined>;
|
|
931
|
+
id: string;
|
|
932
|
+
createdAt: string;
|
|
933
|
+
updatedAt: string;
|
|
934
|
+
avatar?: string | null | undefined;
|
|
935
|
+
header?: string | null | undefined;
|
|
936
|
+
displayName?: string | undefined;
|
|
937
|
+
description?: string | undefined;
|
|
938
|
+
rules?: string | undefined;
|
|
939
|
+
pinnedPostId?: string | undefined;
|
|
940
|
+
discoverable?: boolean | undefined;
|
|
941
|
+
deletedAt?: string | null | undefined;
|
|
942
|
+
};
|
|
943
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
944
|
+
}[] | undefined;
|
|
945
|
+
deletedAt?: string | null | undefined;
|
|
946
|
+
avatar?: string | null | undefined;
|
|
947
|
+
header?: string | null | undefined;
|
|
948
|
+
displayName?: string | undefined;
|
|
949
|
+
bio?: string | undefined;
|
|
950
|
+
location?: {
|
|
951
|
+
text: string;
|
|
952
|
+
coordinates?: {
|
|
953
|
+
lat: number;
|
|
954
|
+
lng: number;
|
|
955
|
+
alt?: number | undefined;
|
|
956
|
+
} | undefined;
|
|
957
|
+
} | undefined;
|
|
958
|
+
locked?: boolean | undefined;
|
|
959
|
+
bot?: boolean | undefined;
|
|
960
|
+
discoverable?: boolean | undefined;
|
|
961
|
+
fields?: {
|
|
962
|
+
name: string;
|
|
963
|
+
value: string;
|
|
964
|
+
}[] | undefined;
|
|
965
|
+
profileStats?: {
|
|
966
|
+
followersCount: number;
|
|
967
|
+
followingCount: number;
|
|
968
|
+
} | undefined;
|
|
969
|
+
};
|
|
970
|
+
createdAt: string;
|
|
971
|
+
}[];
|
|
917
972
|
mentions: {
|
|
918
973
|
profile: {
|
|
919
974
|
id: string;
|
|
@@ -2964,6 +3019,61 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
2964
3019
|
} | undefined;
|
|
2965
3020
|
};
|
|
2966
3021
|
}[];
|
|
3022
|
+
reposts: {
|
|
3023
|
+
profile: {
|
|
3024
|
+
id: string;
|
|
3025
|
+
type: "guest" | "local" | "federated";
|
|
3026
|
+
createdAt: string;
|
|
3027
|
+
updatedAt: string;
|
|
3028
|
+
handle: string;
|
|
3029
|
+
memberships: {
|
|
3030
|
+
group: {
|
|
3031
|
+
handle: string;
|
|
3032
|
+
capabilities: Record<string, {
|
|
3033
|
+
add?: string[] | undefined;
|
|
3034
|
+
remove?: string[] | undefined;
|
|
3035
|
+
} | undefined>;
|
|
3036
|
+
id: string;
|
|
3037
|
+
createdAt: string;
|
|
3038
|
+
updatedAt: string;
|
|
3039
|
+
avatar?: string | null | undefined;
|
|
3040
|
+
header?: string | null | undefined;
|
|
3041
|
+
displayName?: string | undefined;
|
|
3042
|
+
description?: string | undefined;
|
|
3043
|
+
rules?: string | undefined;
|
|
3044
|
+
pinnedPostId?: string | undefined;
|
|
3045
|
+
discoverable?: boolean | undefined;
|
|
3046
|
+
deletedAt?: string | null | undefined;
|
|
3047
|
+
};
|
|
3048
|
+
roles?: ("none" | "local" | "member" | "admin" | "moderator" | "invited")[] | null | undefined;
|
|
3049
|
+
}[] | undefined;
|
|
3050
|
+
deletedAt?: string | null | undefined;
|
|
3051
|
+
avatar?: string | null | undefined;
|
|
3052
|
+
header?: string | null | undefined;
|
|
3053
|
+
displayName?: string | undefined;
|
|
3054
|
+
bio?: string | undefined;
|
|
3055
|
+
location?: {
|
|
3056
|
+
text: string;
|
|
3057
|
+
coordinates?: {
|
|
3058
|
+
lat: number;
|
|
3059
|
+
lng: number;
|
|
3060
|
+
alt?: number | undefined;
|
|
3061
|
+
} | undefined;
|
|
3062
|
+
} | undefined;
|
|
3063
|
+
locked?: boolean | undefined;
|
|
3064
|
+
bot?: boolean | undefined;
|
|
3065
|
+
discoverable?: boolean | undefined;
|
|
3066
|
+
fields?: {
|
|
3067
|
+
name: string;
|
|
3068
|
+
value: string;
|
|
3069
|
+
}[] | undefined;
|
|
3070
|
+
profileStats?: {
|
|
3071
|
+
followersCount: number;
|
|
3072
|
+
followingCount: number;
|
|
3073
|
+
} | undefined;
|
|
3074
|
+
};
|
|
3075
|
+
createdAt: string;
|
|
3076
|
+
}[];
|
|
2967
3077
|
mentions: {
|
|
2968
3078
|
profile: {
|
|
2969
3079
|
id: string;
|