mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 15:06:41 +07:00
#4 added duplicate check for wall_post_new
This commit is contained in:
parent
e73ab3cb4f
commit
f75e3068a0
8 changed files with 75 additions and 16 deletions
|
@ -5,16 +5,17 @@ import {
|
|||
PrimaryGeneratedColumn,
|
||||
UpdateDateColumn,
|
||||
} from "typeorm";
|
||||
import { StoredEvent } from "../../types";
|
||||
import { VkEvent } from "../../../vk/types";
|
||||
|
||||
@Entity()
|
||||
export class Event implements StoredEvent {
|
||||
export class Event {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
@Column()
|
||||
type: VkEvent;
|
||||
@Column()
|
||||
eventId: number;
|
||||
@Column()
|
||||
groupId: number;
|
||||
@Column()
|
||||
channel: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue