import { ValidationDefinition } from './ValidationDefinition'; import { ObjectAssociationDefinition } from './ObjectAssociationDefinition'; import { PusherDefinition } from './PusherDefinition'; // tim.nguyen 2024/03/27 - By doing this, Composer can only assign value to those keys // Need to add key when define new in Backend (Profile Service, Worker...) export class ProfileDefinition { id = ''; name = ''; questions: any[] = []; connectors: any[] = []; pullers: any[] = []; objects: any[] = []; objectAssociations: { [key: string]: ObjectAssociationDefinition } = {}; pushers: PusherDefinition[] = []; bulkPushers: any[] = []; webhooks: any[] = []; dependencies: any[] = []; schemas: any[] = []; startupTasks: any[] = []; tables: any[] = []; transformations: { [key: string]: any } = {}; validations: { [key: string]: ValidationDefinition[] } = {}; reports: any[] = []; notificationChannels: any[] = []; }