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]), type: 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, []), contacts: new FormControl(null, []) }); export const partnerJsonhalForm = new FormGroup({ _links: new FormControl(null, []), name: new FormControl(null, [Validators.required]), type: 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, []), contacts: new FormControl(null, []) }); export const partnerJsonldForm = new FormGroup({ name: new FormControl(null, [Validators.required]), type: 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, []), 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, []), 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, []) }); 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, []), 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, []) }); 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, []), 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, []) }); 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 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, []) });