mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
Fix import prisma types
This commit is contained in:
parent
0f2498bbaa
commit
236b0f9b26
@ -1,4 +1,5 @@
|
|||||||
import { IntegrationDto } from '@api/integrations/integration.dto';
|
import { IntegrationDto } from '@api/integrations/integration.dto';
|
||||||
|
import { JsonValue } from '@prisma/client/runtime/library';
|
||||||
import { WAPresence } from 'baileys';
|
import { WAPresence } from 'baileys';
|
||||||
|
|
||||||
export class InstanceDto extends IntegrationDto {
|
export class InstanceDto extends IntegrationDto {
|
||||||
@ -27,7 +28,7 @@ export class InstanceDto extends IntegrationDto {
|
|||||||
webhook?: {
|
webhook?: {
|
||||||
enabled?: boolean;
|
enabled?: boolean;
|
||||||
events?: string[];
|
events?: string[];
|
||||||
headers?: { [key: string]: string };
|
headers?: JsonValue;
|
||||||
url?: string;
|
url?: string;
|
||||||
byEvents?: boolean;
|
byEvents?: boolean;
|
||||||
base64?: boolean;
|
base64?: boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user