import { FormGroup, FormControl, Validators } from '@angular/forms'; export const commentForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), post: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const commentJsonhalForm = new FormGroup({ _links: new FormControl(null, []), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), post: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const commentJsonldForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), post: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactForm = new FormGroup({ firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), partner: new FormControl(null, [Validators.required]), birthday: new FormControl(null, []), image: new FormControl(null, []), imageUrl: new FormControl(null, []), position: new FormControl(null, []), phone: new FormControl(null, []), email: new FormControl(null, [Validators.email]), posts: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactJsonhalForm = new FormGroup({ _links: new FormControl(null, []), firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), partner: new FormControl(null, [Validators.required]), birthday: new FormControl(null, []), image: new FormControl(null, []), imageUrl: new FormControl(null, []), position: new FormControl(null, []), phone: new FormControl(null, []), email: new FormControl(null, [Validators.email]), posts: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactJsonldForm = new FormGroup({ firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), partner: new FormControl(null, [Validators.required]), birthday: new FormControl(null, []), image: new FormControl(null, []), imageUrl: new FormControl(null, []), position: new FormControl(null, []), phone: new FormControl(null, []), email: new FormControl(null, [Validators.email]), posts: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const mediaMediaObjectReadForm = new FormGroup({ contentUrl: new FormControl(null, []) }); export const mediaJsonhalMediaObjectReadForm = new FormGroup({ _links: new FormControl(null, []), contentUrl: new FormControl(null, []) }); export const mediaJsonldMediaObjectReadForm = new FormGroup({ contentUrl: new FormControl(null, []) }); export const partnerForm = new FormGroup({ name: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, [Validators.required]), street: new FormControl(null, []), streetNo: new FormControl(null, []), zip: new FormControl(null, []), city: new FormControl(null, []), country: new FormControl(null, []), website: new FormControl(null, []), logo: new FormControl(null, []), logoUrl: new FormControl(null, []), createdAt: new FormControl(null, []), posts: new FormControl(null, []), contacts: new FormControl(null, []) }); export const partnerJsonhalForm = new FormGroup({ _links: new FormControl(null, []), name: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, [Validators.required]), street: new FormControl(null, []), streetNo: new FormControl(null, []), zip: new FormControl(null, []), city: new FormControl(null, []), country: new FormControl(null, []), website: new FormControl(null, []), logo: new FormControl(null, []), logoUrl: new FormControl(null, []), createdAt: new FormControl(null, []), posts: new FormControl(null, []), contacts: new FormControl(null, []) }); export const partnerJsonldForm = new FormGroup({ name: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, [Validators.required]), street: new FormControl(null, []), streetNo: new FormControl(null, []), zip: new FormControl(null, []), city: new FormControl(null, []), country: new FormControl(null, []), website: new FormControl(null, []), logo: new FormControl(null, []), logoUrl: new FormControl(null, []), createdAt: new FormControl(null, []), posts: new FormControl(null, []), contacts: new FormControl(null, []) }); export const postForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), partner: new FormControl(null, []), contact: new FormControl(null, []), sale: new FormControl(null, []), comments: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const postPostingCreateForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), contact: new FormControl(null, []), sale: new FormControl(null, []) }); export const postPostingPatchForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]) }); export const postJsonhalForm = new FormGroup({ _links: new FormControl(null, []), headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), partner: new FormControl(null, []), contact: new FormControl(null, []), sale: new FormControl(null, []), comments: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const postJsonhalPostingCreateForm = new FormGroup({ _links: new FormControl(null, []), headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), contact: new FormControl(null, []), sale: new FormControl(null, []) }); export const postJsonldForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), partner: new FormControl(null, []), contact: new FormControl(null, []), sale: new FormControl(null, []), comments: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const postJsonldPostingCreateForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), contact: new FormControl(null, []), sale: new FormControl(null, []) }); export const productForm = new FormGroup({ name: new FormControl(null, [Validators.required]), description: new FormControl(null, []), image: new FormControl(null, []), imageUrl: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const productJsonhalForm = new FormGroup({ _links: new FormControl(null, []), name: new FormControl(null, [Validators.required]), description: new FormControl(null, []), image: new FormControl(null, []), imageUrl: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const productJsonldForm = new FormGroup({ name: new FormControl(null, [Validators.required]), description: new FormControl(null, []), image: new FormControl(null, []), imageUrl: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const saleForm = new FormGroup({ owner: new FormControl(null, []), ownerName: new FormControl(null, []), partner: new FormControl(null, []), partnerName: new FormControl(null, []), product: new FormControl(null, []), productName: new FormControl(null, []), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, []), comment: new FormControl(null, []), createdAt: new FormControl(null, []), posts: new FormControl(null, []) }); export const saleJsonhalForm = new FormGroup({ _links: new FormControl(null, []), owner: new FormControl(null, []), ownerName: new FormControl(null, []), partner: new FormControl(null, []), partnerName: new FormControl(null, []), product: new FormControl(null, []), productName: new FormControl(null, []), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, []), comment: new FormControl(null, []), createdAt: new FormControl(null, []), posts: new FormControl(null, []) }); export const saleJsonldForm = new FormGroup({ owner: new FormControl(null, []), ownerName: new FormControl(null, []), partner: new FormControl(null, []), partnerName: new FormControl(null, []), product: new FormControl(null, []), productName: new FormControl(null, []), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, []), comment: new FormControl(null, []), createdAt: new FormControl(null, []), posts: new FormControl(null, []) }); export const saleSummaryForm = new FormGroup({ owner: new FormControl(null, []), ownerName: new FormControl(null, []), turnover: new FormControl(null, []), profit: new FormControl(null, []) }); export const saleSummaryJsonhalForm = new FormGroup({ _links: new FormControl(null, []), owner: new FormControl(null, []), ownerName: new FormControl(null, []), turnover: new FormControl(null, []), profit: new FormControl(null, []) }); export const saleSummaryJsonldForm = new FormGroup({ owner: new FormControl(null, []), ownerName: new FormControl(null, []), turnover: new FormControl(null, []), profit: new FormControl(null, []) }); export const taskForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), description: new FormControl(null, [Validators.required]), createdBy: new FormControl(null, []), createdByName: new FormControl(null, []), assignedTo: new FormControl(null, [Validators.required]), assignedToName: new FormControl(null, []), dueAt: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), partnerName: new FormControl(null, []), contact: new FormControl(null, []), contactName: new FormControl(null, []), prio: new FormControl(null, [Validators.required]), completed: new FormControl(null, [Validators.required]), taskNotes: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const taskJsonhalForm = new FormGroup({ _links: new FormControl(null, []), headline: new FormControl(null, [Validators.required]), description: new FormControl(null, [Validators.required]), createdBy: new FormControl(null, []), createdByName: new FormControl(null, []), assignedTo: new FormControl(null, [Validators.required]), assignedToName: new FormControl(null, []), dueAt: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), partnerName: new FormControl(null, []), contact: new FormControl(null, []), contactName: new FormControl(null, []), prio: new FormControl(null, [Validators.required]), completed: new FormControl(null, [Validators.required]), taskNotes: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const taskJsonldForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), description: new FormControl(null, [Validators.required]), createdBy: new FormControl(null, []), createdByName: new FormControl(null, []), assignedTo: new FormControl(null, [Validators.required]), assignedToName: new FormControl(null, []), dueAt: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), partnerName: new FormControl(null, []), contact: new FormControl(null, []), contactName: new FormControl(null, []), prio: new FormControl(null, [Validators.required]), completed: new FormControl(null, [Validators.required]), taskNotes: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const taskNoteForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), task: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const taskNoteJsonhalForm = new FormGroup({ _links: new FormControl(null, []), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), task: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const taskNoteJsonldForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), ownerName: new FormControl(null, []), task: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const userForm = new FormGroup({ email: new FormControl(null, [Validators.required, Validators.email]), firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), image: new FormControl(null, []), password: new FormControl(null, []), active: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const userJsonhalForm = new FormGroup({ _links: new FormControl(null, []), email: new FormControl(null, [Validators.required, Validators.email]), firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), image: new FormControl(null, []), password: new FormControl(null, []), active: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const userJsonldForm = new FormGroup({ email: new FormControl(null, [Validators.required, Validators.email]), firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), image: new FormControl(null, []), password: new FormControl(null, []), active: new FormControl(null, []), createdAt: new FormControl(null, []) });