mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
26 lines
313 B
TypeScript
26 lines
313 B
TypeScript
import {
|
|
Column,
|
|
Entity,
|
|
PrimaryColumn,
|
|
} from 'typeorm';
|
|
|
|
import {
|
|
IWebhookDb,
|
|
} from '../../Interfaces';
|
|
|
|
@Entity()
|
|
export class WebhookEntity implements IWebhookDb {
|
|
|
|
@Column()
|
|
workflowId: number;
|
|
|
|
@PrimaryColumn()
|
|
webhookPath: string;
|
|
|
|
@PrimaryColumn()
|
|
method: string;
|
|
|
|
@Column()
|
|
node: string;
|
|
}
|