Move a number of sync messages to jobs for retry
This commit is contained in:
parent
74aaf7819a
commit
90356d4c0f
19 changed files with 501 additions and 373 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2020-2021 Signal Messenger, LLC
|
||||
// Copyright 2020-2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
/* eslint-disable guard-for-in */
|
||||
|
@ -53,12 +53,10 @@ export type SendLogCallbackType = (options: {
|
|||
deviceIds: Array<number>;
|
||||
}) => Promise<void>;
|
||||
|
||||
export const serializedCertificateSchema = z
|
||||
.object({
|
||||
expires: z.number().optional(),
|
||||
serialized: z.instanceof(Uint8Array),
|
||||
})
|
||||
.nonstrict();
|
||||
export const serializedCertificateSchema = z.object({
|
||||
expires: z.number().optional(),
|
||||
serialized: z.instanceof(Uint8Array),
|
||||
});
|
||||
|
||||
export type SerializedCertificateType = z.infer<
|
||||
typeof serializedCertificateSchema
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue