@peers-app/peers-sdk 0.27.4 → 0.28.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.
- package/dist/context/user-context.d.ts +7 -1
- package/dist/context/user-context.js +4 -9
- package/dist/contracts/contract-proxy.d.ts +5 -0
- package/dist/contracts/contract-proxy.js +2 -2
- package/dist/contracts/contract-resolvers.d.ts +2 -2
- package/dist/contracts/contract-resolvers.js +14 -15
- package/dist/contracts/contract-transport.d.ts +2 -1
- package/dist/contracts/contract-transport.js +24 -2
- package/dist/contracts/system/network-contracts.d.ts +1 -1
- package/dist/contracts/tool-catalog-service.js +1 -1
- package/dist/contracts/tool-catalog.js +6 -2
- package/dist/data/assistants.d.ts +3 -3
- package/dist/data/authority-write-checks.d.ts +42 -0
- package/dist/data/authority-write-checks.js +324 -0
- package/dist/data/change-tracking.d.ts +4 -4
- package/dist/data/create-group.js +1 -0
- package/dist/data/devices.d.ts +27 -4
- package/dist/data/devices.js +31 -0
- package/dist/data/group-authority.d.ts +111 -0
- package/dist/data/group-authority.js +281 -0
- package/dist/data/group-members.d.ts +8 -2
- package/dist/data/group-members.js +41 -18
- package/dist/data/group-permissions.d.ts +15 -31
- package/dist/data/group-permissions.js +25 -95
- package/dist/data/group-resign.d.ts +38 -0
- package/dist/data/group-resign.js +71 -0
- package/dist/data/groups.d.ts +11 -0
- package/dist/data/groups.js +31 -13
- package/dist/data/index.d.ts +3 -0
- package/dist/data/index.js +3 -0
- package/dist/data/invites.d.ts +14 -0
- package/dist/data/orm/index.d.ts +1 -0
- package/dist/data/orm/index.js +1 -0
- package/dist/data/orm/sql.data-source.d.ts +2 -2
- package/dist/data/orm/sql.data-source.js +8 -9
- package/dist/data/orm/table-container.js +14 -8
- package/dist/data/orm/write-checks.d.ts +89 -0
- package/dist/data/orm/write-checks.js +115 -0
- package/dist/data/package-table-identity.d.ts +6 -0
- package/dist/data/package-table-identity.js +51 -0
- package/dist/data/package-version-resolver.d.ts +15 -0
- package/dist/data/package-version-resolver.js +58 -3
- package/dist/data/package-versions.d.ts +20 -14
- package/dist/data/package-versions.js +15 -9
- package/dist/data/packages.d.ts +6 -1
- package/dist/data/packages.js +15 -20
- package/dist/data/persistent-vars.js +2 -39
- package/dist/data/sync-recovery-queue.d.ts +4 -4
- package/dist/data/sync-recovery-queue.js +7 -1
- package/dist/data/tool-access-approvals.d.ts +3 -3
- package/dist/data/user-permissions.d.ts +33 -2
- package/dist/data/user-permissions.js +87 -10
- package/dist/data/users.d.ts +49 -12
- package/dist/data/users.js +21 -1
- package/dist/data/workflows.d.ts +1 -1
- package/dist/device/binary-peer-connection-v2.d.ts +8 -16
- package/dist/device/binary-peer-connection-v2.js +15 -31
- package/dist/device/connection.d.ts +35 -44
- package/dist/device/connection.js +188 -186
- package/dist/device/device.d.ts +1 -8
- package/dist/device/device.js +1 -30
- package/dist/device/frame-cipher.d.ts +1 -1
- package/dist/device/frame-cipher.js +1 -1
- package/dist/device/get-trust-level-fn.js +3 -6
- package/dist/device/socket.type.d.ts +6 -12
- package/dist/device-pairing/types.d.ts +26 -26
- package/dist/identity/user-row-change.d.ts +3 -1
- package/dist/identity/user-row-change.js +33 -18
- package/dist/invites/group-approval.js +23 -24
- package/dist/invites/invite-messages.d.ts +250 -28
- package/dist/invites/invite-token.d.ts +18 -0
- package/dist/invites/invite-token.js +2 -0
- package/dist/keys.d.ts +7 -0
- package/dist/keys.js +27 -0
- package/dist/package-installer/package-installer.d.ts +1 -1
- package/dist/package-installer/package-installer.js +8 -3
- package/dist/package-installer/package-propagation.d.ts +2 -0
- package/dist/package-installer/package-propagation.js +20 -38
- package/dist/package-installer/package-remote-checker.js +15 -3
- package/dist/package-loader/isolated-artifact.js +0 -2
- package/dist/package-loader/package-loader.js +6 -0
- package/dist/types/peer-device.d.ts +2 -0
- package/dist/types/workflow.d.ts +2 -2
- package/package.json +1 -1
- package/dist/data/package-permissions.d.ts +0 -14
- package/dist/data/package-permissions.js +0 -26
- package/dist/data/package-version-permissions.d.ts +0 -14
- package/dist/data/package-version-permissions.js +0 -30
- package/dist/device/binary-peer-connection.d.ts +0 -58
- package/dist/device/binary-peer-connection.js +0 -516
- package/dist/device/streamed-socket.d.ts +0 -23
- package/dist/device/streamed-socket.js +0 -255
|
@@ -21,6 +21,7 @@ export declare const contactReplySchema: z.ZodObject<{
|
|
|
21
21
|
type: "peers-services" | "https";
|
|
22
22
|
url: string;
|
|
23
23
|
}>, "many">>;
|
|
24
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
24
25
|
}, "strict", z.ZodTypeAny, {
|
|
25
26
|
publicKey: string;
|
|
26
27
|
userId: string;
|
|
@@ -29,6 +30,7 @@ export declare const contactReplySchema: z.ZodObject<{
|
|
|
29
30
|
type: "peers-services" | "https";
|
|
30
31
|
url: string;
|
|
31
32
|
}[] | undefined;
|
|
33
|
+
anchorsSignature?: string | undefined;
|
|
32
34
|
displayName?: string | undefined;
|
|
33
35
|
}, {
|
|
34
36
|
publicKey: string;
|
|
@@ -38,6 +40,7 @@ export declare const contactReplySchema: z.ZodObject<{
|
|
|
38
40
|
type: "peers-services" | "https";
|
|
39
41
|
url: string;
|
|
40
42
|
}[] | undefined;
|
|
43
|
+
anchorsSignature?: string | undefined;
|
|
41
44
|
displayName?: string | undefined;
|
|
42
45
|
}>;
|
|
43
46
|
responderDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -51,6 +54,7 @@ export declare const contactReplySchema: z.ZodObject<{
|
|
|
51
54
|
type: "peers-services" | "https";
|
|
52
55
|
url: string;
|
|
53
56
|
}[] | undefined;
|
|
57
|
+
anchorsSignature?: string | undefined;
|
|
54
58
|
displayName?: string | undefined;
|
|
55
59
|
};
|
|
56
60
|
inviteNonce: string;
|
|
@@ -66,6 +70,7 @@ export declare const contactReplySchema: z.ZodObject<{
|
|
|
66
70
|
type: "peers-services" | "https";
|
|
67
71
|
url: string;
|
|
68
72
|
}[] | undefined;
|
|
73
|
+
anchorsSignature?: string | undefined;
|
|
69
74
|
displayName?: string | undefined;
|
|
70
75
|
};
|
|
71
76
|
inviteNonce: string;
|
|
@@ -95,6 +100,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
95
100
|
type: "peers-services" | "https";
|
|
96
101
|
url: string;
|
|
97
102
|
}>, "many">>;
|
|
103
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
98
104
|
}, "strict", z.ZodTypeAny, {
|
|
99
105
|
publicKey: string;
|
|
100
106
|
userId: string;
|
|
@@ -103,6 +109,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
103
109
|
type: "peers-services" | "https";
|
|
104
110
|
url: string;
|
|
105
111
|
}[] | undefined;
|
|
112
|
+
anchorsSignature?: string | undefined;
|
|
106
113
|
displayName?: string | undefined;
|
|
107
114
|
}, {
|
|
108
115
|
publicKey: string;
|
|
@@ -112,6 +119,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
112
119
|
type: "peers-services" | "https";
|
|
113
120
|
url: string;
|
|
114
121
|
}[] | undefined;
|
|
122
|
+
anchorsSignature?: string | undefined;
|
|
115
123
|
displayName?: string | undefined;
|
|
116
124
|
}>;
|
|
117
125
|
expiresAt: z.ZodString;
|
|
@@ -155,6 +163,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
155
163
|
type: "peers-services" | "https";
|
|
156
164
|
url: string;
|
|
157
165
|
}[] | undefined;
|
|
166
|
+
anchorsSignature?: string | undefined;
|
|
158
167
|
displayName?: string | undefined;
|
|
159
168
|
};
|
|
160
169
|
epoch: number;
|
|
@@ -181,6 +190,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
181
190
|
type: "peers-services" | "https";
|
|
182
191
|
url: string;
|
|
183
192
|
}[] | undefined;
|
|
193
|
+
anchorsSignature?: string | undefined;
|
|
184
194
|
displayName?: string | undefined;
|
|
185
195
|
};
|
|
186
196
|
epoch: number;
|
|
@@ -209,6 +219,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
209
219
|
type: "peers-services" | "https";
|
|
210
220
|
url: string;
|
|
211
221
|
}>, "many">>;
|
|
222
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
212
223
|
}, "strict", z.ZodTypeAny, {
|
|
213
224
|
publicKey: string;
|
|
214
225
|
userId: string;
|
|
@@ -217,6 +228,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
217
228
|
type: "peers-services" | "https";
|
|
218
229
|
url: string;
|
|
219
230
|
}[] | undefined;
|
|
231
|
+
anchorsSignature?: string | undefined;
|
|
220
232
|
displayName?: string | undefined;
|
|
221
233
|
}, {
|
|
222
234
|
publicKey: string;
|
|
@@ -226,6 +238,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
226
238
|
type: "peers-services" | "https";
|
|
227
239
|
url: string;
|
|
228
240
|
}[] | undefined;
|
|
241
|
+
anchorsSignature?: string | undefined;
|
|
229
242
|
displayName?: string | undefined;
|
|
230
243
|
}>;
|
|
231
244
|
requesterDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -245,6 +258,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
245
258
|
type: "peers-services" | "https";
|
|
246
259
|
url: string;
|
|
247
260
|
}[] | undefined;
|
|
261
|
+
anchorsSignature?: string | undefined;
|
|
248
262
|
displayName?: string | undefined;
|
|
249
263
|
};
|
|
250
264
|
epoch: number;
|
|
@@ -266,6 +280,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
266
280
|
type: "peers-services" | "https";
|
|
267
281
|
url: string;
|
|
268
282
|
}[] | undefined;
|
|
283
|
+
anchorsSignature?: string | undefined;
|
|
269
284
|
displayName?: string | undefined;
|
|
270
285
|
};
|
|
271
286
|
requesterDeviceId: string;
|
|
@@ -285,6 +300,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
285
300
|
type: "peers-services" | "https";
|
|
286
301
|
url: string;
|
|
287
302
|
}[] | undefined;
|
|
303
|
+
anchorsSignature?: string | undefined;
|
|
288
304
|
displayName?: string | undefined;
|
|
289
305
|
};
|
|
290
306
|
epoch: number;
|
|
@@ -306,6 +322,7 @@ export declare const groupJoinRequestSchema: z.ZodObject<{
|
|
|
306
322
|
type: "peers-services" | "https";
|
|
307
323
|
url: string;
|
|
308
324
|
}[] | undefined;
|
|
325
|
+
anchorsSignature?: string | undefined;
|
|
309
326
|
displayName?: string | undefined;
|
|
310
327
|
};
|
|
311
328
|
requesterDeviceId: string;
|
|
@@ -329,6 +346,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
329
346
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
330
347
|
founderUserId: z.ZodEffects<z.ZodString, string, string>;
|
|
331
348
|
signature: z.ZodString;
|
|
349
|
+
signedAt: z.ZodOptional<z.ZodNumber>;
|
|
332
350
|
publicKey: z.ZodString;
|
|
333
351
|
publicBoxKey: z.ZodString;
|
|
334
352
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -341,6 +359,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
341
359
|
founderUserId: string;
|
|
342
360
|
disabled?: boolean | undefined;
|
|
343
361
|
iconClassName?: string | undefined;
|
|
362
|
+
signedAt?: number | undefined;
|
|
344
363
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
345
364
|
}, {
|
|
346
365
|
name: string;
|
|
@@ -352,6 +371,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
352
371
|
founderUserId: string;
|
|
353
372
|
disabled?: boolean | undefined;
|
|
354
373
|
iconClassName?: string | undefined;
|
|
374
|
+
signedAt?: number | undefined;
|
|
355
375
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
356
376
|
}>>;
|
|
357
377
|
membership: z.ZodLazy<z.ZodObject<{
|
|
@@ -359,7 +379,9 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
359
379
|
groupId: z.ZodEffects<z.ZodString, string, string>;
|
|
360
380
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
361
381
|
role: z.ZodNativeEnum<typeof import("../data").GroupMemberRole>;
|
|
382
|
+
publicKey: z.ZodOptional<z.ZodString>;
|
|
362
383
|
signature: z.ZodString;
|
|
384
|
+
signedAt: z.ZodOptional<z.ZodNumber>;
|
|
363
385
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
364
386
|
}, "strip", z.ZodTypeAny, {
|
|
365
387
|
role: import("../data").GroupMemberRole;
|
|
@@ -368,6 +390,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
368
390
|
groupId: string;
|
|
369
391
|
groupMemberId: string;
|
|
370
392
|
deleted?: boolean | undefined;
|
|
393
|
+
publicKey?: string | undefined;
|
|
394
|
+
signedAt?: number | undefined;
|
|
371
395
|
}, {
|
|
372
396
|
role: import("../data").GroupMemberRole;
|
|
373
397
|
signature: string;
|
|
@@ -375,6 +399,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
375
399
|
groupId: string;
|
|
376
400
|
groupMemberId: string;
|
|
377
401
|
deleted?: boolean | undefined;
|
|
402
|
+
publicKey?: string | undefined;
|
|
403
|
+
signedAt?: number | undefined;
|
|
378
404
|
}>>;
|
|
379
405
|
seed: z.ZodObject<{
|
|
380
406
|
groupMembers: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -382,7 +408,9 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
382
408
|
groupId: z.ZodEffects<z.ZodString, string, string>;
|
|
383
409
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
384
410
|
role: z.ZodNativeEnum<typeof import("../data").GroupMemberRole>;
|
|
411
|
+
publicKey: z.ZodOptional<z.ZodString>;
|
|
385
412
|
signature: z.ZodString;
|
|
413
|
+
signedAt: z.ZodOptional<z.ZodNumber>;
|
|
386
414
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
387
415
|
}, "strip", z.ZodTypeAny, {
|
|
388
416
|
role: import("../data").GroupMemberRole;
|
|
@@ -391,6 +419,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
391
419
|
groupId: string;
|
|
392
420
|
groupMemberId: string;
|
|
393
421
|
deleted?: boolean | undefined;
|
|
422
|
+
publicKey?: string | undefined;
|
|
423
|
+
signedAt?: number | undefined;
|
|
394
424
|
}, {
|
|
395
425
|
role: import("../data").GroupMemberRole;
|
|
396
426
|
signature: string;
|
|
@@ -398,6 +428,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
398
428
|
groupId: string;
|
|
399
429
|
groupMemberId: string;
|
|
400
430
|
deleted?: boolean | undefined;
|
|
431
|
+
publicKey?: string | undefined;
|
|
432
|
+
signedAt?: number | undefined;
|
|
401
433
|
}>>, "many">;
|
|
402
434
|
users: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
403
435
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -414,6 +446,20 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
414
446
|
type: "peers-services" | "https";
|
|
415
447
|
url: string;
|
|
416
448
|
}>, "many">>;
|
|
449
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
450
|
+
keySuccession: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
451
|
+
publicKey: z.ZodString;
|
|
452
|
+
issuedAt: z.ZodString;
|
|
453
|
+
signature: z.ZodString;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
publicKey: string;
|
|
456
|
+
signature: string;
|
|
457
|
+
issuedAt: string;
|
|
458
|
+
}, {
|
|
459
|
+
publicKey: string;
|
|
460
|
+
signature: string;
|
|
461
|
+
issuedAt: string;
|
|
462
|
+
}>, "many">>;
|
|
417
463
|
signature: z.ZodOptional<z.ZodString>;
|
|
418
464
|
}, "strip", z.ZodTypeAny, {
|
|
419
465
|
name: string;
|
|
@@ -425,6 +471,12 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
425
471
|
type: "peers-services" | "https";
|
|
426
472
|
url: string;
|
|
427
473
|
}[] | undefined;
|
|
474
|
+
anchorsSignature?: string | undefined;
|
|
475
|
+
keySuccession?: {
|
|
476
|
+
publicKey: string;
|
|
477
|
+
signature: string;
|
|
478
|
+
issuedAt: string;
|
|
479
|
+
}[] | undefined;
|
|
428
480
|
}, {
|
|
429
481
|
name: string;
|
|
430
482
|
publicKey: string;
|
|
@@ -435,6 +487,12 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
435
487
|
type: "peers-services" | "https";
|
|
436
488
|
url: string;
|
|
437
489
|
}[] | undefined;
|
|
490
|
+
anchorsSignature?: string | undefined;
|
|
491
|
+
keySuccession?: {
|
|
492
|
+
publicKey: string;
|
|
493
|
+
signature: string;
|
|
494
|
+
issuedAt: string;
|
|
495
|
+
}[] | undefined;
|
|
438
496
|
}>>, "many">;
|
|
439
497
|
devices: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
440
498
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -446,15 +504,15 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
446
504
|
}, "strip", z.ZodTypeAny, {
|
|
447
505
|
publicKey: string;
|
|
448
506
|
userId: string;
|
|
449
|
-
deviceId: string;
|
|
450
507
|
publicBoxKey: string;
|
|
508
|
+
deviceId: string;
|
|
451
509
|
userName?: string | undefined;
|
|
452
510
|
deviceName?: string | undefined;
|
|
453
511
|
}, {
|
|
454
512
|
publicKey: string;
|
|
455
513
|
userId: string;
|
|
456
|
-
deviceId: string;
|
|
457
514
|
publicBoxKey: string;
|
|
515
|
+
deviceId: string;
|
|
458
516
|
userName?: string | undefined;
|
|
459
517
|
deviceName?: string | undefined;
|
|
460
518
|
}>>, "many">;
|
|
@@ -469,12 +527,18 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
469
527
|
type: "peers-services" | "https";
|
|
470
528
|
url: string;
|
|
471
529
|
}[] | undefined;
|
|
530
|
+
anchorsSignature?: string | undefined;
|
|
531
|
+
keySuccession?: {
|
|
532
|
+
publicKey: string;
|
|
533
|
+
signature: string;
|
|
534
|
+
issuedAt: string;
|
|
535
|
+
}[] | undefined;
|
|
472
536
|
}[];
|
|
473
537
|
devices: {
|
|
474
538
|
publicKey: string;
|
|
475
539
|
userId: string;
|
|
476
|
-
deviceId: string;
|
|
477
540
|
publicBoxKey: string;
|
|
541
|
+
deviceId: string;
|
|
478
542
|
userName?: string | undefined;
|
|
479
543
|
deviceName?: string | undefined;
|
|
480
544
|
}[];
|
|
@@ -485,6 +549,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
485
549
|
groupId: string;
|
|
486
550
|
groupMemberId: string;
|
|
487
551
|
deleted?: boolean | undefined;
|
|
552
|
+
publicKey?: string | undefined;
|
|
553
|
+
signedAt?: number | undefined;
|
|
488
554
|
}[];
|
|
489
555
|
}, {
|
|
490
556
|
users: {
|
|
@@ -497,12 +563,18 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
497
563
|
type: "peers-services" | "https";
|
|
498
564
|
url: string;
|
|
499
565
|
}[] | undefined;
|
|
566
|
+
anchorsSignature?: string | undefined;
|
|
567
|
+
keySuccession?: {
|
|
568
|
+
publicKey: string;
|
|
569
|
+
signature: string;
|
|
570
|
+
issuedAt: string;
|
|
571
|
+
}[] | undefined;
|
|
500
572
|
}[];
|
|
501
573
|
devices: {
|
|
502
574
|
publicKey: string;
|
|
503
575
|
userId: string;
|
|
504
|
-
deviceId: string;
|
|
505
576
|
publicBoxKey: string;
|
|
577
|
+
deviceId: string;
|
|
506
578
|
userName?: string | undefined;
|
|
507
579
|
deviceName?: string | undefined;
|
|
508
580
|
}[];
|
|
@@ -513,6 +585,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
513
585
|
groupId: string;
|
|
514
586
|
groupMemberId: string;
|
|
515
587
|
deleted?: boolean | undefined;
|
|
588
|
+
publicKey?: string | undefined;
|
|
589
|
+
signedAt?: number | undefined;
|
|
516
590
|
}[];
|
|
517
591
|
}>;
|
|
518
592
|
approver: z.ZodObject<{
|
|
@@ -530,6 +604,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
530
604
|
type: "peers-services" | "https";
|
|
531
605
|
url: string;
|
|
532
606
|
}>, "many">>;
|
|
607
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
533
608
|
}, "strict", z.ZodTypeAny, {
|
|
534
609
|
publicKey: string;
|
|
535
610
|
userId: string;
|
|
@@ -538,6 +613,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
538
613
|
type: "peers-services" | "https";
|
|
539
614
|
url: string;
|
|
540
615
|
}[] | undefined;
|
|
616
|
+
anchorsSignature?: string | undefined;
|
|
541
617
|
displayName?: string | undefined;
|
|
542
618
|
}, {
|
|
543
619
|
publicKey: string;
|
|
@@ -547,6 +623,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
547
623
|
type: "peers-services" | "https";
|
|
548
624
|
url: string;
|
|
549
625
|
}[] | undefined;
|
|
626
|
+
anchorsSignature?: string | undefined;
|
|
550
627
|
displayName?: string | undefined;
|
|
551
628
|
}>;
|
|
552
629
|
approverDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -575,6 +652,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
575
652
|
founderUserId: string;
|
|
576
653
|
disabled?: boolean | undefined;
|
|
577
654
|
iconClassName?: string | undefined;
|
|
655
|
+
signedAt?: number | undefined;
|
|
578
656
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
579
657
|
};
|
|
580
658
|
kind: "group-approval";
|
|
@@ -585,6 +663,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
585
663
|
groupId: string;
|
|
586
664
|
groupMemberId: string;
|
|
587
665
|
deleted?: boolean | undefined;
|
|
666
|
+
publicKey?: string | undefined;
|
|
667
|
+
signedAt?: number | undefined;
|
|
588
668
|
};
|
|
589
669
|
seed: {
|
|
590
670
|
users: {
|
|
@@ -597,12 +677,18 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
597
677
|
type: "peers-services" | "https";
|
|
598
678
|
url: string;
|
|
599
679
|
}[] | undefined;
|
|
680
|
+
anchorsSignature?: string | undefined;
|
|
681
|
+
keySuccession?: {
|
|
682
|
+
publicKey: string;
|
|
683
|
+
signature: string;
|
|
684
|
+
issuedAt: string;
|
|
685
|
+
}[] | undefined;
|
|
600
686
|
}[];
|
|
601
687
|
devices: {
|
|
602
688
|
publicKey: string;
|
|
603
689
|
userId: string;
|
|
604
|
-
deviceId: string;
|
|
605
690
|
publicBoxKey: string;
|
|
691
|
+
deviceId: string;
|
|
606
692
|
userName?: string | undefined;
|
|
607
693
|
deviceName?: string | undefined;
|
|
608
694
|
}[];
|
|
@@ -613,6 +699,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
613
699
|
groupId: string;
|
|
614
700
|
groupMemberId: string;
|
|
615
701
|
deleted?: boolean | undefined;
|
|
702
|
+
publicKey?: string | undefined;
|
|
703
|
+
signedAt?: number | undefined;
|
|
616
704
|
}[];
|
|
617
705
|
};
|
|
618
706
|
approver: {
|
|
@@ -623,6 +711,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
623
711
|
type: "peers-services" | "https";
|
|
624
712
|
url: string;
|
|
625
713
|
}[] | undefined;
|
|
714
|
+
anchorsSignature?: string | undefined;
|
|
626
715
|
displayName?: string | undefined;
|
|
627
716
|
};
|
|
628
717
|
approverDeviceId: string;
|
|
@@ -643,6 +732,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
643
732
|
founderUserId: string;
|
|
644
733
|
disabled?: boolean | undefined;
|
|
645
734
|
iconClassName?: string | undefined;
|
|
735
|
+
signedAt?: number | undefined;
|
|
646
736
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
647
737
|
};
|
|
648
738
|
kind: "group-approval";
|
|
@@ -653,6 +743,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
653
743
|
groupId: string;
|
|
654
744
|
groupMemberId: string;
|
|
655
745
|
deleted?: boolean | undefined;
|
|
746
|
+
publicKey?: string | undefined;
|
|
747
|
+
signedAt?: number | undefined;
|
|
656
748
|
};
|
|
657
749
|
seed: {
|
|
658
750
|
users: {
|
|
@@ -665,12 +757,18 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
665
757
|
type: "peers-services" | "https";
|
|
666
758
|
url: string;
|
|
667
759
|
}[] | undefined;
|
|
760
|
+
anchorsSignature?: string | undefined;
|
|
761
|
+
keySuccession?: {
|
|
762
|
+
publicKey: string;
|
|
763
|
+
signature: string;
|
|
764
|
+
issuedAt: string;
|
|
765
|
+
}[] | undefined;
|
|
668
766
|
}[];
|
|
669
767
|
devices: {
|
|
670
768
|
publicKey: string;
|
|
671
769
|
userId: string;
|
|
672
|
-
deviceId: string;
|
|
673
770
|
publicBoxKey: string;
|
|
771
|
+
deviceId: string;
|
|
674
772
|
userName?: string | undefined;
|
|
675
773
|
deviceName?: string | undefined;
|
|
676
774
|
}[];
|
|
@@ -681,6 +779,8 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
681
779
|
groupId: string;
|
|
682
780
|
groupMemberId: string;
|
|
683
781
|
deleted?: boolean | undefined;
|
|
782
|
+
publicKey?: string | undefined;
|
|
783
|
+
signedAt?: number | undefined;
|
|
684
784
|
}[];
|
|
685
785
|
};
|
|
686
786
|
approver: {
|
|
@@ -691,6 +791,7 @@ export declare const groupApprovalSchema: z.ZodObject<{
|
|
|
691
791
|
type: "peers-services" | "https";
|
|
692
792
|
url: string;
|
|
693
793
|
}[] | undefined;
|
|
794
|
+
anchorsSignature?: string | undefined;
|
|
694
795
|
displayName?: string | undefined;
|
|
695
796
|
};
|
|
696
797
|
approverDeviceId: string;
|
|
@@ -723,6 +824,7 @@ export declare const inviteDeclineSchema: z.ZodObject<{
|
|
|
723
824
|
type: "peers-services" | "https";
|
|
724
825
|
url: string;
|
|
725
826
|
}>, "many">>;
|
|
827
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
726
828
|
}, "strict", z.ZodTypeAny, {
|
|
727
829
|
publicKey: string;
|
|
728
830
|
userId: string;
|
|
@@ -731,6 +833,7 @@ export declare const inviteDeclineSchema: z.ZodObject<{
|
|
|
731
833
|
type: "peers-services" | "https";
|
|
732
834
|
url: string;
|
|
733
835
|
}[] | undefined;
|
|
836
|
+
anchorsSignature?: string | undefined;
|
|
734
837
|
displayName?: string | undefined;
|
|
735
838
|
}, {
|
|
736
839
|
publicKey: string;
|
|
@@ -740,12 +843,11 @@ export declare const inviteDeclineSchema: z.ZodObject<{
|
|
|
740
843
|
type: "peers-services" | "https";
|
|
741
844
|
url: string;
|
|
742
845
|
}[] | undefined;
|
|
846
|
+
anchorsSignature?: string | undefined;
|
|
743
847
|
displayName?: string | undefined;
|
|
744
848
|
}>;
|
|
745
849
|
reason: z.ZodOptional<z.ZodString>;
|
|
746
850
|
}, "strict", z.ZodTypeAny, {
|
|
747
|
-
kind: "invite-decline";
|
|
748
|
-
inviteNonce: string;
|
|
749
851
|
by: {
|
|
750
852
|
publicKey: string;
|
|
751
853
|
userId: string;
|
|
@@ -754,13 +856,14 @@ export declare const inviteDeclineSchema: z.ZodObject<{
|
|
|
754
856
|
type: "peers-services" | "https";
|
|
755
857
|
url: string;
|
|
756
858
|
}[] | undefined;
|
|
859
|
+
anchorsSignature?: string | undefined;
|
|
757
860
|
displayName?: string | undefined;
|
|
758
861
|
};
|
|
862
|
+
kind: "invite-decline";
|
|
863
|
+
inviteNonce: string;
|
|
759
864
|
reason?: string | undefined;
|
|
760
865
|
groupId?: string | undefined;
|
|
761
866
|
}, {
|
|
762
|
-
kind: "invite-decline";
|
|
763
|
-
inviteNonce: string;
|
|
764
867
|
by: {
|
|
765
868
|
publicKey: string;
|
|
766
869
|
userId: string;
|
|
@@ -769,8 +872,11 @@ export declare const inviteDeclineSchema: z.ZodObject<{
|
|
|
769
872
|
type: "peers-services" | "https";
|
|
770
873
|
url: string;
|
|
771
874
|
}[] | undefined;
|
|
875
|
+
anchorsSignature?: string | undefined;
|
|
772
876
|
displayName?: string | undefined;
|
|
773
877
|
};
|
|
878
|
+
kind: "invite-decline";
|
|
879
|
+
inviteNonce: string;
|
|
774
880
|
reason?: string | undefined;
|
|
775
881
|
groupId?: string | undefined;
|
|
776
882
|
}>;
|
|
@@ -799,6 +905,7 @@ export declare const inviteAcceptedSchema: z.ZodObject<{
|
|
|
799
905
|
type: "peers-services" | "https";
|
|
800
906
|
url: string;
|
|
801
907
|
}>, "many">>;
|
|
908
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
802
909
|
}, "strict", z.ZodTypeAny, {
|
|
803
910
|
publicKey: string;
|
|
804
911
|
userId: string;
|
|
@@ -807,6 +914,7 @@ export declare const inviteAcceptedSchema: z.ZodObject<{
|
|
|
807
914
|
type: "peers-services" | "https";
|
|
808
915
|
url: string;
|
|
809
916
|
}[] | undefined;
|
|
917
|
+
anchorsSignature?: string | undefined;
|
|
810
918
|
displayName?: string | undefined;
|
|
811
919
|
}, {
|
|
812
920
|
publicKey: string;
|
|
@@ -816,12 +924,11 @@ export declare const inviteAcceptedSchema: z.ZodObject<{
|
|
|
816
924
|
type: "peers-services" | "https";
|
|
817
925
|
url: string;
|
|
818
926
|
}[] | undefined;
|
|
927
|
+
anchorsSignature?: string | undefined;
|
|
819
928
|
displayName?: string | undefined;
|
|
820
929
|
}>;
|
|
821
930
|
byDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
822
931
|
}, "strict", z.ZodTypeAny, {
|
|
823
|
-
kind: "invite-accepted";
|
|
824
|
-
inviteNonce: string;
|
|
825
932
|
by: {
|
|
826
933
|
publicKey: string;
|
|
827
934
|
userId: string;
|
|
@@ -830,13 +937,14 @@ export declare const inviteAcceptedSchema: z.ZodObject<{
|
|
|
830
937
|
type: "peers-services" | "https";
|
|
831
938
|
url: string;
|
|
832
939
|
}[] | undefined;
|
|
940
|
+
anchorsSignature?: string | undefined;
|
|
833
941
|
displayName?: string | undefined;
|
|
834
942
|
};
|
|
943
|
+
kind: "invite-accepted";
|
|
944
|
+
inviteNonce: string;
|
|
835
945
|
byDeviceId: string;
|
|
836
946
|
groupId?: string | undefined;
|
|
837
947
|
}, {
|
|
838
|
-
kind: "invite-accepted";
|
|
839
|
-
inviteNonce: string;
|
|
840
948
|
by: {
|
|
841
949
|
publicKey: string;
|
|
842
950
|
userId: string;
|
|
@@ -845,8 +953,11 @@ export declare const inviteAcceptedSchema: z.ZodObject<{
|
|
|
845
953
|
type: "peers-services" | "https";
|
|
846
954
|
url: string;
|
|
847
955
|
}[] | undefined;
|
|
956
|
+
anchorsSignature?: string | undefined;
|
|
848
957
|
displayName?: string | undefined;
|
|
849
958
|
};
|
|
959
|
+
kind: "invite-accepted";
|
|
960
|
+
inviteNonce: string;
|
|
850
961
|
byDeviceId: string;
|
|
851
962
|
groupId?: string | undefined;
|
|
852
963
|
}>;
|
|
@@ -873,6 +984,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
873
984
|
type: "peers-services" | "https";
|
|
874
985
|
url: string;
|
|
875
986
|
}>, "many">>;
|
|
987
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
876
988
|
}, "strict", z.ZodTypeAny, {
|
|
877
989
|
publicKey: string;
|
|
878
990
|
userId: string;
|
|
@@ -881,6 +993,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
881
993
|
type: "peers-services" | "https";
|
|
882
994
|
url: string;
|
|
883
995
|
}[] | undefined;
|
|
996
|
+
anchorsSignature?: string | undefined;
|
|
884
997
|
displayName?: string | undefined;
|
|
885
998
|
}, {
|
|
886
999
|
publicKey: string;
|
|
@@ -890,6 +1003,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
890
1003
|
type: "peers-services" | "https";
|
|
891
1004
|
url: string;
|
|
892
1005
|
}[] | undefined;
|
|
1006
|
+
anchorsSignature?: string | undefined;
|
|
893
1007
|
displayName?: string | undefined;
|
|
894
1008
|
}>;
|
|
895
1009
|
responderDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -903,6 +1017,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
903
1017
|
type: "peers-services" | "https";
|
|
904
1018
|
url: string;
|
|
905
1019
|
}[] | undefined;
|
|
1020
|
+
anchorsSignature?: string | undefined;
|
|
906
1021
|
displayName?: string | undefined;
|
|
907
1022
|
};
|
|
908
1023
|
inviteNonce: string;
|
|
@@ -918,6 +1033,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
918
1033
|
type: "peers-services" | "https";
|
|
919
1034
|
url: string;
|
|
920
1035
|
}[] | undefined;
|
|
1036
|
+
anchorsSignature?: string | undefined;
|
|
921
1037
|
displayName?: string | undefined;
|
|
922
1038
|
};
|
|
923
1039
|
inviteNonce: string;
|
|
@@ -943,6 +1059,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
943
1059
|
type: "peers-services" | "https";
|
|
944
1060
|
url: string;
|
|
945
1061
|
}>, "many">>;
|
|
1062
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
946
1063
|
}, "strict", z.ZodTypeAny, {
|
|
947
1064
|
publicKey: string;
|
|
948
1065
|
userId: string;
|
|
@@ -951,6 +1068,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
951
1068
|
type: "peers-services" | "https";
|
|
952
1069
|
url: string;
|
|
953
1070
|
}[] | undefined;
|
|
1071
|
+
anchorsSignature?: string | undefined;
|
|
954
1072
|
displayName?: string | undefined;
|
|
955
1073
|
}, {
|
|
956
1074
|
publicKey: string;
|
|
@@ -960,6 +1078,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
960
1078
|
type: "peers-services" | "https";
|
|
961
1079
|
url: string;
|
|
962
1080
|
}[] | undefined;
|
|
1081
|
+
anchorsSignature?: string | undefined;
|
|
963
1082
|
displayName?: string | undefined;
|
|
964
1083
|
}>;
|
|
965
1084
|
expiresAt: z.ZodString;
|
|
@@ -1003,6 +1122,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1003
1122
|
type: "peers-services" | "https";
|
|
1004
1123
|
url: string;
|
|
1005
1124
|
}[] | undefined;
|
|
1125
|
+
anchorsSignature?: string | undefined;
|
|
1006
1126
|
displayName?: string | undefined;
|
|
1007
1127
|
};
|
|
1008
1128
|
epoch: number;
|
|
@@ -1029,6 +1149,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1029
1149
|
type: "peers-services" | "https";
|
|
1030
1150
|
url: string;
|
|
1031
1151
|
}[] | undefined;
|
|
1152
|
+
anchorsSignature?: string | undefined;
|
|
1032
1153
|
displayName?: string | undefined;
|
|
1033
1154
|
};
|
|
1034
1155
|
epoch: number;
|
|
@@ -1057,6 +1178,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1057
1178
|
type: "peers-services" | "https";
|
|
1058
1179
|
url: string;
|
|
1059
1180
|
}>, "many">>;
|
|
1181
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
1060
1182
|
}, "strict", z.ZodTypeAny, {
|
|
1061
1183
|
publicKey: string;
|
|
1062
1184
|
userId: string;
|
|
@@ -1065,6 +1187,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1065
1187
|
type: "peers-services" | "https";
|
|
1066
1188
|
url: string;
|
|
1067
1189
|
}[] | undefined;
|
|
1190
|
+
anchorsSignature?: string | undefined;
|
|
1068
1191
|
displayName?: string | undefined;
|
|
1069
1192
|
}, {
|
|
1070
1193
|
publicKey: string;
|
|
@@ -1074,6 +1197,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1074
1197
|
type: "peers-services" | "https";
|
|
1075
1198
|
url: string;
|
|
1076
1199
|
}[] | undefined;
|
|
1200
|
+
anchorsSignature?: string | undefined;
|
|
1077
1201
|
displayName?: string | undefined;
|
|
1078
1202
|
}>;
|
|
1079
1203
|
requesterDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1093,6 +1217,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1093
1217
|
type: "peers-services" | "https";
|
|
1094
1218
|
url: string;
|
|
1095
1219
|
}[] | undefined;
|
|
1220
|
+
anchorsSignature?: string | undefined;
|
|
1096
1221
|
displayName?: string | undefined;
|
|
1097
1222
|
};
|
|
1098
1223
|
epoch: number;
|
|
@@ -1114,6 +1239,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1114
1239
|
type: "peers-services" | "https";
|
|
1115
1240
|
url: string;
|
|
1116
1241
|
}[] | undefined;
|
|
1242
|
+
anchorsSignature?: string | undefined;
|
|
1117
1243
|
displayName?: string | undefined;
|
|
1118
1244
|
};
|
|
1119
1245
|
requesterDeviceId: string;
|
|
@@ -1133,6 +1259,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1133
1259
|
type: "peers-services" | "https";
|
|
1134
1260
|
url: string;
|
|
1135
1261
|
}[] | undefined;
|
|
1262
|
+
anchorsSignature?: string | undefined;
|
|
1136
1263
|
displayName?: string | undefined;
|
|
1137
1264
|
};
|
|
1138
1265
|
epoch: number;
|
|
@@ -1154,6 +1281,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1154
1281
|
type: "peers-services" | "https";
|
|
1155
1282
|
url: string;
|
|
1156
1283
|
}[] | undefined;
|
|
1284
|
+
anchorsSignature?: string | undefined;
|
|
1157
1285
|
displayName?: string | undefined;
|
|
1158
1286
|
};
|
|
1159
1287
|
requesterDeviceId: string;
|
|
@@ -1170,6 +1298,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1170
1298
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1171
1299
|
founderUserId: z.ZodEffects<z.ZodString, string, string>;
|
|
1172
1300
|
signature: z.ZodString;
|
|
1301
|
+
signedAt: z.ZodOptional<z.ZodNumber>;
|
|
1173
1302
|
publicKey: z.ZodString;
|
|
1174
1303
|
publicBoxKey: z.ZodString;
|
|
1175
1304
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1182,6 +1311,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1182
1311
|
founderUserId: string;
|
|
1183
1312
|
disabled?: boolean | undefined;
|
|
1184
1313
|
iconClassName?: string | undefined;
|
|
1314
|
+
signedAt?: number | undefined;
|
|
1185
1315
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
1186
1316
|
}, {
|
|
1187
1317
|
name: string;
|
|
@@ -1193,6 +1323,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1193
1323
|
founderUserId: string;
|
|
1194
1324
|
disabled?: boolean | undefined;
|
|
1195
1325
|
iconClassName?: string | undefined;
|
|
1326
|
+
signedAt?: number | undefined;
|
|
1196
1327
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
1197
1328
|
}>>;
|
|
1198
1329
|
membership: z.ZodLazy<z.ZodObject<{
|
|
@@ -1200,7 +1331,9 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1200
1331
|
groupId: z.ZodEffects<z.ZodString, string, string>;
|
|
1201
1332
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
1202
1333
|
role: z.ZodNativeEnum<typeof import("../data").GroupMemberRole>;
|
|
1334
|
+
publicKey: z.ZodOptional<z.ZodString>;
|
|
1203
1335
|
signature: z.ZodString;
|
|
1336
|
+
signedAt: z.ZodOptional<z.ZodNumber>;
|
|
1204
1337
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
1205
1338
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1339
|
role: import("../data").GroupMemberRole;
|
|
@@ -1209,6 +1342,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1209
1342
|
groupId: string;
|
|
1210
1343
|
groupMemberId: string;
|
|
1211
1344
|
deleted?: boolean | undefined;
|
|
1345
|
+
publicKey?: string | undefined;
|
|
1346
|
+
signedAt?: number | undefined;
|
|
1212
1347
|
}, {
|
|
1213
1348
|
role: import("../data").GroupMemberRole;
|
|
1214
1349
|
signature: string;
|
|
@@ -1216,6 +1351,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1216
1351
|
groupId: string;
|
|
1217
1352
|
groupMemberId: string;
|
|
1218
1353
|
deleted?: boolean | undefined;
|
|
1354
|
+
publicKey?: string | undefined;
|
|
1355
|
+
signedAt?: number | undefined;
|
|
1219
1356
|
}>>;
|
|
1220
1357
|
seed: z.ZodObject<{
|
|
1221
1358
|
groupMembers: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -1223,7 +1360,9 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1223
1360
|
groupId: z.ZodEffects<z.ZodString, string, string>;
|
|
1224
1361
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
1225
1362
|
role: z.ZodNativeEnum<typeof import("../data").GroupMemberRole>;
|
|
1363
|
+
publicKey: z.ZodOptional<z.ZodString>;
|
|
1226
1364
|
signature: z.ZodString;
|
|
1365
|
+
signedAt: z.ZodOptional<z.ZodNumber>;
|
|
1227
1366
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
1228
1367
|
}, "strip", z.ZodTypeAny, {
|
|
1229
1368
|
role: import("../data").GroupMemberRole;
|
|
@@ -1232,6 +1371,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1232
1371
|
groupId: string;
|
|
1233
1372
|
groupMemberId: string;
|
|
1234
1373
|
deleted?: boolean | undefined;
|
|
1374
|
+
publicKey?: string | undefined;
|
|
1375
|
+
signedAt?: number | undefined;
|
|
1235
1376
|
}, {
|
|
1236
1377
|
role: import("../data").GroupMemberRole;
|
|
1237
1378
|
signature: string;
|
|
@@ -1239,6 +1380,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1239
1380
|
groupId: string;
|
|
1240
1381
|
groupMemberId: string;
|
|
1241
1382
|
deleted?: boolean | undefined;
|
|
1383
|
+
publicKey?: string | undefined;
|
|
1384
|
+
signedAt?: number | undefined;
|
|
1242
1385
|
}>>, "many">;
|
|
1243
1386
|
users: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1244
1387
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1255,6 +1398,20 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1255
1398
|
type: "peers-services" | "https";
|
|
1256
1399
|
url: string;
|
|
1257
1400
|
}>, "many">>;
|
|
1401
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
keySuccession: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1403
|
+
publicKey: z.ZodString;
|
|
1404
|
+
issuedAt: z.ZodString;
|
|
1405
|
+
signature: z.ZodString;
|
|
1406
|
+
}, "strip", z.ZodTypeAny, {
|
|
1407
|
+
publicKey: string;
|
|
1408
|
+
signature: string;
|
|
1409
|
+
issuedAt: string;
|
|
1410
|
+
}, {
|
|
1411
|
+
publicKey: string;
|
|
1412
|
+
signature: string;
|
|
1413
|
+
issuedAt: string;
|
|
1414
|
+
}>, "many">>;
|
|
1258
1415
|
signature: z.ZodOptional<z.ZodString>;
|
|
1259
1416
|
}, "strip", z.ZodTypeAny, {
|
|
1260
1417
|
name: string;
|
|
@@ -1266,6 +1423,12 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1266
1423
|
type: "peers-services" | "https";
|
|
1267
1424
|
url: string;
|
|
1268
1425
|
}[] | undefined;
|
|
1426
|
+
anchorsSignature?: string | undefined;
|
|
1427
|
+
keySuccession?: {
|
|
1428
|
+
publicKey: string;
|
|
1429
|
+
signature: string;
|
|
1430
|
+
issuedAt: string;
|
|
1431
|
+
}[] | undefined;
|
|
1269
1432
|
}, {
|
|
1270
1433
|
name: string;
|
|
1271
1434
|
publicKey: string;
|
|
@@ -1276,6 +1439,12 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1276
1439
|
type: "peers-services" | "https";
|
|
1277
1440
|
url: string;
|
|
1278
1441
|
}[] | undefined;
|
|
1442
|
+
anchorsSignature?: string | undefined;
|
|
1443
|
+
keySuccession?: {
|
|
1444
|
+
publicKey: string;
|
|
1445
|
+
signature: string;
|
|
1446
|
+
issuedAt: string;
|
|
1447
|
+
}[] | undefined;
|
|
1279
1448
|
}>>, "many">;
|
|
1280
1449
|
devices: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1281
1450
|
userId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1287,15 +1456,15 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1287
1456
|
}, "strip", z.ZodTypeAny, {
|
|
1288
1457
|
publicKey: string;
|
|
1289
1458
|
userId: string;
|
|
1290
|
-
deviceId: string;
|
|
1291
1459
|
publicBoxKey: string;
|
|
1460
|
+
deviceId: string;
|
|
1292
1461
|
userName?: string | undefined;
|
|
1293
1462
|
deviceName?: string | undefined;
|
|
1294
1463
|
}, {
|
|
1295
1464
|
publicKey: string;
|
|
1296
1465
|
userId: string;
|
|
1297
|
-
deviceId: string;
|
|
1298
1466
|
publicBoxKey: string;
|
|
1467
|
+
deviceId: string;
|
|
1299
1468
|
userName?: string | undefined;
|
|
1300
1469
|
deviceName?: string | undefined;
|
|
1301
1470
|
}>>, "many">;
|
|
@@ -1310,12 +1479,18 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1310
1479
|
type: "peers-services" | "https";
|
|
1311
1480
|
url: string;
|
|
1312
1481
|
}[] | undefined;
|
|
1482
|
+
anchorsSignature?: string | undefined;
|
|
1483
|
+
keySuccession?: {
|
|
1484
|
+
publicKey: string;
|
|
1485
|
+
signature: string;
|
|
1486
|
+
issuedAt: string;
|
|
1487
|
+
}[] | undefined;
|
|
1313
1488
|
}[];
|
|
1314
1489
|
devices: {
|
|
1315
1490
|
publicKey: string;
|
|
1316
1491
|
userId: string;
|
|
1317
|
-
deviceId: string;
|
|
1318
1492
|
publicBoxKey: string;
|
|
1493
|
+
deviceId: string;
|
|
1319
1494
|
userName?: string | undefined;
|
|
1320
1495
|
deviceName?: string | undefined;
|
|
1321
1496
|
}[];
|
|
@@ -1326,6 +1501,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1326
1501
|
groupId: string;
|
|
1327
1502
|
groupMemberId: string;
|
|
1328
1503
|
deleted?: boolean | undefined;
|
|
1504
|
+
publicKey?: string | undefined;
|
|
1505
|
+
signedAt?: number | undefined;
|
|
1329
1506
|
}[];
|
|
1330
1507
|
}, {
|
|
1331
1508
|
users: {
|
|
@@ -1338,12 +1515,18 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1338
1515
|
type: "peers-services" | "https";
|
|
1339
1516
|
url: string;
|
|
1340
1517
|
}[] | undefined;
|
|
1518
|
+
anchorsSignature?: string | undefined;
|
|
1519
|
+
keySuccession?: {
|
|
1520
|
+
publicKey: string;
|
|
1521
|
+
signature: string;
|
|
1522
|
+
issuedAt: string;
|
|
1523
|
+
}[] | undefined;
|
|
1341
1524
|
}[];
|
|
1342
1525
|
devices: {
|
|
1343
1526
|
publicKey: string;
|
|
1344
1527
|
userId: string;
|
|
1345
|
-
deviceId: string;
|
|
1346
1528
|
publicBoxKey: string;
|
|
1529
|
+
deviceId: string;
|
|
1347
1530
|
userName?: string | undefined;
|
|
1348
1531
|
deviceName?: string | undefined;
|
|
1349
1532
|
}[];
|
|
@@ -1354,6 +1537,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1354
1537
|
groupId: string;
|
|
1355
1538
|
groupMemberId: string;
|
|
1356
1539
|
deleted?: boolean | undefined;
|
|
1540
|
+
publicKey?: string | undefined;
|
|
1541
|
+
signedAt?: number | undefined;
|
|
1357
1542
|
}[];
|
|
1358
1543
|
}>;
|
|
1359
1544
|
approver: z.ZodObject<{
|
|
@@ -1371,6 +1556,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1371
1556
|
type: "peers-services" | "https";
|
|
1372
1557
|
url: string;
|
|
1373
1558
|
}>, "many">>;
|
|
1559
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
1374
1560
|
}, "strict", z.ZodTypeAny, {
|
|
1375
1561
|
publicKey: string;
|
|
1376
1562
|
userId: string;
|
|
@@ -1379,6 +1565,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1379
1565
|
type: "peers-services" | "https";
|
|
1380
1566
|
url: string;
|
|
1381
1567
|
}[] | undefined;
|
|
1568
|
+
anchorsSignature?: string | undefined;
|
|
1382
1569
|
displayName?: string | undefined;
|
|
1383
1570
|
}, {
|
|
1384
1571
|
publicKey: string;
|
|
@@ -1388,6 +1575,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1388
1575
|
type: "peers-services" | "https";
|
|
1389
1576
|
url: string;
|
|
1390
1577
|
}[] | undefined;
|
|
1578
|
+
anchorsSignature?: string | undefined;
|
|
1391
1579
|
displayName?: string | undefined;
|
|
1392
1580
|
}>;
|
|
1393
1581
|
approverDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1416,6 +1604,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1416
1604
|
founderUserId: string;
|
|
1417
1605
|
disabled?: boolean | undefined;
|
|
1418
1606
|
iconClassName?: string | undefined;
|
|
1607
|
+
signedAt?: number | undefined;
|
|
1419
1608
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
1420
1609
|
};
|
|
1421
1610
|
kind: "group-approval";
|
|
@@ -1426,6 +1615,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1426
1615
|
groupId: string;
|
|
1427
1616
|
groupMemberId: string;
|
|
1428
1617
|
deleted?: boolean | undefined;
|
|
1618
|
+
publicKey?: string | undefined;
|
|
1619
|
+
signedAt?: number | undefined;
|
|
1429
1620
|
};
|
|
1430
1621
|
seed: {
|
|
1431
1622
|
users: {
|
|
@@ -1438,12 +1629,18 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1438
1629
|
type: "peers-services" | "https";
|
|
1439
1630
|
url: string;
|
|
1440
1631
|
}[] | undefined;
|
|
1632
|
+
anchorsSignature?: string | undefined;
|
|
1633
|
+
keySuccession?: {
|
|
1634
|
+
publicKey: string;
|
|
1635
|
+
signature: string;
|
|
1636
|
+
issuedAt: string;
|
|
1637
|
+
}[] | undefined;
|
|
1441
1638
|
}[];
|
|
1442
1639
|
devices: {
|
|
1443
1640
|
publicKey: string;
|
|
1444
1641
|
userId: string;
|
|
1445
|
-
deviceId: string;
|
|
1446
1642
|
publicBoxKey: string;
|
|
1643
|
+
deviceId: string;
|
|
1447
1644
|
userName?: string | undefined;
|
|
1448
1645
|
deviceName?: string | undefined;
|
|
1449
1646
|
}[];
|
|
@@ -1454,6 +1651,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1454
1651
|
groupId: string;
|
|
1455
1652
|
groupMemberId: string;
|
|
1456
1653
|
deleted?: boolean | undefined;
|
|
1654
|
+
publicKey?: string | undefined;
|
|
1655
|
+
signedAt?: number | undefined;
|
|
1457
1656
|
}[];
|
|
1458
1657
|
};
|
|
1459
1658
|
approver: {
|
|
@@ -1464,6 +1663,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1464
1663
|
type: "peers-services" | "https";
|
|
1465
1664
|
url: string;
|
|
1466
1665
|
}[] | undefined;
|
|
1666
|
+
anchorsSignature?: string | undefined;
|
|
1467
1667
|
displayName?: string | undefined;
|
|
1468
1668
|
};
|
|
1469
1669
|
approverDeviceId: string;
|
|
@@ -1484,6 +1684,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1484
1684
|
founderUserId: string;
|
|
1485
1685
|
disabled?: boolean | undefined;
|
|
1486
1686
|
iconClassName?: string | undefined;
|
|
1687
|
+
signedAt?: number | undefined;
|
|
1487
1688
|
publicRole?: import("../data").GroupMemberRole | undefined;
|
|
1488
1689
|
};
|
|
1489
1690
|
kind: "group-approval";
|
|
@@ -1494,6 +1695,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1494
1695
|
groupId: string;
|
|
1495
1696
|
groupMemberId: string;
|
|
1496
1697
|
deleted?: boolean | undefined;
|
|
1698
|
+
publicKey?: string | undefined;
|
|
1699
|
+
signedAt?: number | undefined;
|
|
1497
1700
|
};
|
|
1498
1701
|
seed: {
|
|
1499
1702
|
users: {
|
|
@@ -1506,12 +1709,18 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1506
1709
|
type: "peers-services" | "https";
|
|
1507
1710
|
url: string;
|
|
1508
1711
|
}[] | undefined;
|
|
1712
|
+
anchorsSignature?: string | undefined;
|
|
1713
|
+
keySuccession?: {
|
|
1714
|
+
publicKey: string;
|
|
1715
|
+
signature: string;
|
|
1716
|
+
issuedAt: string;
|
|
1717
|
+
}[] | undefined;
|
|
1509
1718
|
}[];
|
|
1510
1719
|
devices: {
|
|
1511
1720
|
publicKey: string;
|
|
1512
1721
|
userId: string;
|
|
1513
|
-
deviceId: string;
|
|
1514
1722
|
publicBoxKey: string;
|
|
1723
|
+
deviceId: string;
|
|
1515
1724
|
userName?: string | undefined;
|
|
1516
1725
|
deviceName?: string | undefined;
|
|
1517
1726
|
}[];
|
|
@@ -1522,6 +1731,8 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1522
1731
|
groupId: string;
|
|
1523
1732
|
groupMemberId: string;
|
|
1524
1733
|
deleted?: boolean | undefined;
|
|
1734
|
+
publicKey?: string | undefined;
|
|
1735
|
+
signedAt?: number | undefined;
|
|
1525
1736
|
}[];
|
|
1526
1737
|
};
|
|
1527
1738
|
approver: {
|
|
@@ -1532,6 +1743,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1532
1743
|
type: "peers-services" | "https";
|
|
1533
1744
|
url: string;
|
|
1534
1745
|
}[] | undefined;
|
|
1746
|
+
anchorsSignature?: string | undefined;
|
|
1535
1747
|
displayName?: string | undefined;
|
|
1536
1748
|
};
|
|
1537
1749
|
approverDeviceId: string;
|
|
@@ -1560,6 +1772,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1560
1772
|
type: "peers-services" | "https";
|
|
1561
1773
|
url: string;
|
|
1562
1774
|
}>, "many">>;
|
|
1775
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
1563
1776
|
}, "strict", z.ZodTypeAny, {
|
|
1564
1777
|
publicKey: string;
|
|
1565
1778
|
userId: string;
|
|
@@ -1568,6 +1781,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1568
1781
|
type: "peers-services" | "https";
|
|
1569
1782
|
url: string;
|
|
1570
1783
|
}[] | undefined;
|
|
1784
|
+
anchorsSignature?: string | undefined;
|
|
1571
1785
|
displayName?: string | undefined;
|
|
1572
1786
|
}, {
|
|
1573
1787
|
publicKey: string;
|
|
@@ -1577,12 +1791,11 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1577
1791
|
type: "peers-services" | "https";
|
|
1578
1792
|
url: string;
|
|
1579
1793
|
}[] | undefined;
|
|
1794
|
+
anchorsSignature?: string | undefined;
|
|
1580
1795
|
displayName?: string | undefined;
|
|
1581
1796
|
}>;
|
|
1582
1797
|
reason: z.ZodOptional<z.ZodString>;
|
|
1583
1798
|
}, "strict", z.ZodTypeAny, {
|
|
1584
|
-
kind: "invite-decline";
|
|
1585
|
-
inviteNonce: string;
|
|
1586
1799
|
by: {
|
|
1587
1800
|
publicKey: string;
|
|
1588
1801
|
userId: string;
|
|
@@ -1591,13 +1804,14 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1591
1804
|
type: "peers-services" | "https";
|
|
1592
1805
|
url: string;
|
|
1593
1806
|
}[] | undefined;
|
|
1807
|
+
anchorsSignature?: string | undefined;
|
|
1594
1808
|
displayName?: string | undefined;
|
|
1595
1809
|
};
|
|
1810
|
+
kind: "invite-decline";
|
|
1811
|
+
inviteNonce: string;
|
|
1596
1812
|
reason?: string | undefined;
|
|
1597
1813
|
groupId?: string | undefined;
|
|
1598
1814
|
}, {
|
|
1599
|
-
kind: "invite-decline";
|
|
1600
|
-
inviteNonce: string;
|
|
1601
1815
|
by: {
|
|
1602
1816
|
publicKey: string;
|
|
1603
1817
|
userId: string;
|
|
@@ -1606,8 +1820,11 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1606
1820
|
type: "peers-services" | "https";
|
|
1607
1821
|
url: string;
|
|
1608
1822
|
}[] | undefined;
|
|
1823
|
+
anchorsSignature?: string | undefined;
|
|
1609
1824
|
displayName?: string | undefined;
|
|
1610
1825
|
};
|
|
1826
|
+
kind: "invite-decline";
|
|
1827
|
+
inviteNonce: string;
|
|
1611
1828
|
reason?: string | undefined;
|
|
1612
1829
|
groupId?: string | undefined;
|
|
1613
1830
|
}>, z.ZodObject<{
|
|
@@ -1629,6 +1846,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1629
1846
|
type: "peers-services" | "https";
|
|
1630
1847
|
url: string;
|
|
1631
1848
|
}>, "many">>;
|
|
1849
|
+
anchorsSignature: z.ZodOptional<z.ZodString>;
|
|
1632
1850
|
}, "strict", z.ZodTypeAny, {
|
|
1633
1851
|
publicKey: string;
|
|
1634
1852
|
userId: string;
|
|
@@ -1637,6 +1855,7 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1637
1855
|
type: "peers-services" | "https";
|
|
1638
1856
|
url: string;
|
|
1639
1857
|
}[] | undefined;
|
|
1858
|
+
anchorsSignature?: string | undefined;
|
|
1640
1859
|
displayName?: string | undefined;
|
|
1641
1860
|
}, {
|
|
1642
1861
|
publicKey: string;
|
|
@@ -1646,12 +1865,11 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1646
1865
|
type: "peers-services" | "https";
|
|
1647
1866
|
url: string;
|
|
1648
1867
|
}[] | undefined;
|
|
1868
|
+
anchorsSignature?: string | undefined;
|
|
1649
1869
|
displayName?: string | undefined;
|
|
1650
1870
|
}>;
|
|
1651
1871
|
byDeviceId: z.ZodEffects<z.ZodString, string, string>;
|
|
1652
1872
|
}, "strict", z.ZodTypeAny, {
|
|
1653
|
-
kind: "invite-accepted";
|
|
1654
|
-
inviteNonce: string;
|
|
1655
1873
|
by: {
|
|
1656
1874
|
publicKey: string;
|
|
1657
1875
|
userId: string;
|
|
@@ -1660,13 +1878,14 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1660
1878
|
type: "peers-services" | "https";
|
|
1661
1879
|
url: string;
|
|
1662
1880
|
}[] | undefined;
|
|
1881
|
+
anchorsSignature?: string | undefined;
|
|
1663
1882
|
displayName?: string | undefined;
|
|
1664
1883
|
};
|
|
1884
|
+
kind: "invite-accepted";
|
|
1885
|
+
inviteNonce: string;
|
|
1665
1886
|
byDeviceId: string;
|
|
1666
1887
|
groupId?: string | undefined;
|
|
1667
1888
|
}, {
|
|
1668
|
-
kind: "invite-accepted";
|
|
1669
|
-
inviteNonce: string;
|
|
1670
1889
|
by: {
|
|
1671
1890
|
publicKey: string;
|
|
1672
1891
|
userId: string;
|
|
@@ -1675,8 +1894,11 @@ export declare const inviteMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1675
1894
|
type: "peers-services" | "https";
|
|
1676
1895
|
url: string;
|
|
1677
1896
|
}[] | undefined;
|
|
1897
|
+
anchorsSignature?: string | undefined;
|
|
1678
1898
|
displayName?: string | undefined;
|
|
1679
1899
|
};
|
|
1900
|
+
kind: "invite-accepted";
|
|
1901
|
+
inviteNonce: string;
|
|
1680
1902
|
byDeviceId: string;
|
|
1681
1903
|
groupId?: string | undefined;
|
|
1682
1904
|
}>]>;
|