Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -4,6 +4,7 @@
|
|||
import { z } from 'zod';
|
||||
import { groupBy } from 'lodash';
|
||||
import * as log from '../logging/log';
|
||||
import { aciSchema } from '../types/ServiceId';
|
||||
|
||||
const retryItemSchema = z
|
||||
.object({
|
||||
|
@ -11,7 +12,7 @@ const retryItemSchema = z
|
|||
sentAt: z.number(),
|
||||
receivedAt: z.number(),
|
||||
receivedAtCounter: z.number(),
|
||||
senderUuid: z.string(),
|
||||
senderAci: aciSchema,
|
||||
wasOpened: z.boolean().optional(),
|
||||
})
|
||||
.passthrough();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue