mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
feat: add recipients avatars on all tables
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { prisma } from '@documenso/prisma';
|
||||
import { Document, DocumentStatus, Prisma, Recipient } from '@documenso/prisma/client';
|
||||
import { Document, DocumentStatus, Prisma } from '@documenso/prisma/client';
|
||||
|
||||
import { DocumentWithReciepient } from '../../types/document-with-recipient';
|
||||
import { FindResultSet } from '../../types/find-result-set';
|
||||
|
||||
export interface FindDocumentsOptions {
|
||||
@ -15,10 +16,6 @@ export interface FindDocumentsOptions {
|
||||
};
|
||||
}
|
||||
|
||||
export type DocumentWithReciepient = Document & {
|
||||
Recipient: Recipient[];
|
||||
};
|
||||
|
||||
export const findDocuments = async ({
|
||||
userId,
|
||||
term,
|
||||
|
||||
5
packages/lib/types/document-with-recipient.ts
Normal file
5
packages/lib/types/document-with-recipient.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { Document, Recipient } from '@documenso/prisma/client';
|
||||
|
||||
export type DocumentWithReciepient = Document & {
|
||||
Recipient: Recipient[];
|
||||
};
|
||||
Reference in New Issue
Block a user