Page token property

This commit is contained in:
tmshv committed 2019-10-18 14:19:29 +03:00
1 parent dd0ec5f203
commit ef321453ef
2 files changed
+3

No files matched your search

+1
View File
@@ -7,5 +7,6 @@ export function encodePage(page) {
url: page.url,
data: page.data,
preview: encodeImage(page.preview),
tokens: page.tokens,
}
}
+2
View File
@@ -42,6 +42,7 @@ export default class Page {
public images: any
public documents: any
public preview: any
public tokens: any[]
constructor(data) {
this.id = data.id
@@ -54,6 +55,7 @@ export default class Page {
this.images = data.images
this.documents = data.documents
this.preview = data.preview
this.tokens = data.tokens
}
plain() {