ginsul

Untitled

Jan 28th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   getDocument(documentId: string): DocumentObject {
  2.     let schema: DocumentSchema;
  3.     this.getLatestSchema(documentId).subscribe(res => schema = res);
  4.  
  5.     let form: any;
  6.     this.getForm(documentId).subscribe(res => form = res);
  7.  
  8.  
  9.     return {
  10.       name: schema.name,
  11.       schema: schema,
  12.       form: form
  13.     };
  14.   }
Advertisement
Add Comment
Please, Sign In to add comment