Files
Automata/packages/cli/src/databases/entities/Settings.ts
कारतोफ्फेलस्क्रिप्ट™ 698d96a617 refactor: Setup typescript project references across workflow, core, and cli (#4519)
* refactor: use consistent folder structure across workflow, core, and cli

* setup typescript project references across workflow, core, and cli
2022-11-09 15:25:00 +01:00

21 lines
385 B
TypeScript

import type { IDataObject } from 'n8n-workflow';
import { Column, Entity, PrimaryColumn } from 'typeorm';
export interface ISettingsDb {
key: string;
value: string | boolean | IDataObject | number;
loadOnStartup: boolean;
}
@Entity()
export class Settings implements ISettingsDb {
@PrimaryColumn()
key: string;
@Column()
value: string;
@Column()
loadOnStartup: boolean;
}