import { FormGroup, FormControl, Validators } from '@angular/forms'; export const commentForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), postIri: 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, []), postIri: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const commentJsonldForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), postIri: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactForm = new FormGroup({ firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), fullName: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: 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, []), createdBy: 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]), fullName: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: 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, []), createdBy: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactJsonldForm = new FormGroup({ firstName: new FormControl(null, [Validators.required]), lastName: new FormControl(null, [Validators.required]), fullName: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: 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, []), createdBy: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactPartnerProductForm = new FormGroup({ contactIri: new FormControl(null, [Validators.required]), partnerProductIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactPartnerProductJsonhalForm = new FormGroup({ _links: new FormControl(null, []), contactIri: new FormControl(null, [Validators.required]), partnerProductIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const contactPartnerProductJsonldForm = new FormGroup({ contactIri: new FormControl(null, [Validators.required]), partnerProductIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const documentForm = new FormGroup({ name: new FormControl(null, [Validators.required]), description: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, []), documentObject: new FormControl(null, [Validators.required]), documentUrl: new FormControl(null, []), createdBy: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const documentJsonhalForm = new FormGroup({ _links: new FormControl(null, []), name: new FormControl(null, [Validators.required]), description: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, []), documentObject: new FormControl(null, [Validators.required]), documentUrl: new FormControl(null, []), createdBy: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const documentJsonldForm = new FormGroup({ name: new FormControl(null, [Validators.required]), description: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, []), documentObject: new FormControl(null, [Validators.required]), documentUrl: new FormControl(null, []), createdBy: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const documentObjectDocumentObjectReadForm = new FormGroup({ contentUrl: new FormControl(null, []) }); export const documentObjectJsonhalDocumentObjectReadForm = new FormGroup({ _links: new FormControl(null, []), contentUrl: new FormControl(null, []) }); export const documentObjectJsonldDocumentObjectReadForm = new FormGroup({ contentUrl: new FormControl(null, []) }); export const mediaObjectMediaObjectReadForm = new FormGroup({ contentUrl: new FormControl(null, []) }); export const mediaObjectJsonhalMediaObjectReadForm = new FormGroup({ _links: new FormControl(null, []), contentUrl: new FormControl(null, []) }); export const mediaObjectJsonldMediaObjectReadForm = new FormGroup({ contentUrl: new FormControl(null, []) }); export const partnerForm = new FormGroup({ name: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, [Validators.required]), description: new FormControl(null, []), 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, []), createdByIri: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const partnerJsonhalForm = new FormGroup({ _links: new FormControl(null, []), name: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, [Validators.required]), description: new FormControl(null, []), 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, []), createdByIri: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const partnerJsonldForm = new FormGroup({ name: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, [Validators.required]), description: new FormControl(null, []), 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, []), createdByIri: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const partnerFollowForm = new FormGroup({ userIri: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []), owner: new FormControl(null, []) }); export const partnerFollowJsonhalForm = new FormGroup({ _links: new FormControl(null, []), userIri: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []), owner: new FormControl(null, []) }); export const partnerFollowJsonldForm = new FormGroup({ userIri: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []), owner: new FormControl(null, []) }); export const partnerProductForm = new FormGroup({ partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []) }); export const partnerProductJsonhalForm = new FormGroup({ _links: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []) }); export const partnerProductJsonldForm = new FormGroup({ partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []) }); export const postForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, []), contact: new FormControl(null, []), contactIri: new FormControl(null, []), sale: new FormControl(null, []), saleIri: new FormControl(null, []), numComments: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const postPostingCreateForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), partnerIri: new FormControl(null, []), productIri: new FormControl(null, []), contactIri: new FormControl(null, []), saleIri: 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, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, []), contact: new FormControl(null, []), contactIri: new FormControl(null, []), sale: new FormControl(null, []), saleIri: new FormControl(null, []), numComments: 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]), partnerIri: new FormControl(null, []), productIri: new FormControl(null, []), contactIri: new FormControl(null, []), saleIri: new FormControl(null, []) }); export const postJsonldForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, []), contact: new FormControl(null, []), contactIri: new FormControl(null, []), sale: new FormControl(null, []), saleIri: new FormControl(null, []), numComments: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const postJsonldPostingCreateForm = new FormGroup({ headline: new FormControl(null, [Validators.required]), message: new FormControl(null, [Validators.required]), partnerIri: new FormControl(null, []), productIri: new FormControl(null, []), contactIri: new FormControl(null, []), saleIri: 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, []), createdBy: 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, []), createdBy: 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, []), createdBy: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const saleForm = new FormGroup({ owner: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, [Validators.required]), quantity: new FormControl(null, [Validators.required]), comment: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const saleJsonhalForm = new FormGroup({ _links: new FormControl(null, []), owner: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, [Validators.required]), quantity: new FormControl(null, [Validators.required]), comment: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const saleJsonldForm = new FormGroup({ owner: new FormControl(null, []), partner: new FormControl(null, []), partnerIri: new FormControl(null, [Validators.required]), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, [Validators.required]), quantity: new FormControl(null, [Validators.required]), comment: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const saleSummaryForm = new FormGroup({ userId: new FormControl(null, []), owner: new FormControl(null, []), turnover: new FormControl(null, []), profit: new FormControl(null, []) }); export const saleSummaryJsonhalForm = new FormGroup({ _links: new FormControl(null, []), userId: new FormControl(null, []), owner: new FormControl(null, []), turnover: new FormControl(null, []), profit: new FormControl(null, []) }); export const saleSummaryJsonldForm = new FormGroup({ userId: new FormControl(null, []), owner: 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, []), assignedTo: new FormControl(null, []), assignedToIri: new FormControl(null, [Validators.required]), dueAt: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), contact: new FormControl(null, []), contactIri: new FormControl(null, []), prio: new FormControl(null, [Validators.required]), completed: new FormControl(null, [Validators.required]), 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, []), assignedTo: new FormControl(null, []), assignedToIri: new FormControl(null, [Validators.required]), dueAt: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), contact: new FormControl(null, []), contactIri: new FormControl(null, []), prio: new FormControl(null, [Validators.required]), completed: new FormControl(null, [Validators.required]), 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, []), assignedTo: new FormControl(null, []), assignedToIri: new FormControl(null, [Validators.required]), dueAt: new FormControl(null, [Validators.required]), partner: new FormControl(null, []), partnerIri: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), contact: new FormControl(null, []), contactIri: new FormControl(null, []), prio: new FormControl(null, [Validators.required]), completed: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []) }); export const taskNoteForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), taskIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []) }); export const taskNoteJsonhalForm = new FormGroup({ _links: new FormControl(null, []), message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), taskIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []) }); export const taskNoteJsonldForm = new FormGroup({ message: new FormControl(null, [Validators.required]), owner: new FormControl(null, []), taskIri: new FormControl(null, [Validators.required]), 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, []), imageUrl: new FormControl(null, []), fullName: 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, []), imageUrl: new FormControl(null, []), fullName: 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, []), imageUrl: new FormControl(null, []), fullName: new FormControl(null, []), password: new FormControl(null, []), active: new FormControl(null, []), createdAt: new FormControl(null, []) }); export const userProductForm = new FormGroup({ user: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []), owner: new FormControl(null, []) }); export const userProductJsonhalForm = new FormGroup({ _links: new FormControl(null, []), user: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []), owner: new FormControl(null, []) }); export const userProductJsonldForm = new FormGroup({ user: new FormControl(null, []), product: new FormControl(null, []), productIri: new FormControl(null, [Validators.required]), createdAt: new FormControl(null, []), owner: new FormControl(null, []) });