Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getDocument(documentId: string): DocumentObject {
- let schema: DocumentSchema;
- this.getLatestSchema(documentId).subscribe(res => schema = res);
- let form: any;
- this.getForm(documentId).subscribe(res => form = res);
- return {
- name: schema.name,
- schema: schema,
- form: form
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment