Skip to content

Instantly share code, notes, and snippets.

@Luciano-Ferreira
Created September 28, 2022 20:58
Show Gist options
  • Save Luciano-Ferreira/6f96e8bbc6be98db4b94a84e52b65776 to your computer and use it in GitHub Desktop.
Save Luciano-Ferreira/6f96e8bbc6be98db4b94a84e52b65776 to your computer and use it in GitHub Desktop.
errors to fix in slatejs.
{
"data": {
"values": {
"id": "cl8m34uvfkl560blugql0a6ay",
"stage": "DRAFT",
"updatedAt": "2022-09-28T20:33:46.028845+00:00",
"createdBy": {
"entryId": "cl58spena5b5e01up30d53dmw",
"name": "fakebook",
"picture": null,
"kind": "PAT",
"isActive": true
},
"updatedBy": {
"entryId": "cl58spena5b5e01up30d53dmw",
"name": "fakebook",
"picture": null,
"kind": "PAT",
"isActive": true
},
"comments": [],
"content": {
"raw": {
"children": [
{
"type": "paragraph",
"children": [
{
"text": "a simple text"
}
]
},
{
"type": "paragraph",
"children": [
{
"bold": true,
"text": "a simple bold"
}
]
},
{
"type": "paragraph",
"children": [
{
"bold": true,
"text": ""
},
{
"url": "https://github.com/luciano-ferreira",
"type": "link",
"children": [
{
"text": "https://github.com/luciano-ferreira"
}
]
},
{
"text": ""
}
]
},
{
"type": "paragraph",
"children": [
{
"code": true,
"text": "a simple code"
},
{
"url": "https://github.com/luciano-ferreira",
"type": "link",
"children": [
{
"text": ""
}
]
},
{
"text": ""
},
{
"url": "https://github.com/luciano-ferreira",
"type": "link",
"children": [
{
"text": ""
}
]
},
{
"text": ""
},
{
"url": "https://github.com/luciano-ferreira",
"type": "link",
"children": [
{
"text": ""
}
]
},
{
"text": ""
}
]
},
{
"url": "https://github.com/luciano-ferreira.png",
"type": "image",
"children": [
{
"text": ""
}
]
},
{
"type": "paragraph",
"children": [
{
"text": "😁🫠😄🤧🤩😅"
}
]
}
]
}
},
"createdAt": "2022-09-28T20:33:46.028845+00:00",
"customer": {
"id": "cl58rsmw49vv00blrkbyt9s66",
"stage": "DRAFT",
"updatedAt": "2022-07-05T22:56:12.753653+00:00",
"documentInStages": [
{
"id": "cl58rsmw49vv00blrkbyt9s66",
"stage": "DRAFT",
"updatedAt": "2022-07-05T22:56:12.753653+00:00",
"publishedAt": null
},
{
"id": "cl58rsmw49vv00blrkbyt9s66",
"stage": "PUBLISHED",
"updatedAt": "2022-07-05T22:56:12.753653+00:00",
"publishedAt": "2022-07-05T22:56:14.208149+00:00"
}
]
},
"publishedAt": null,
"scheduledIn": [],
"documentInStages": [
{
"id": "cl8m34uvfkl560blugql0a6ay",
"stage": "DRAFT",
"updatedAt": "2022-09-28T20:33:46.028845+00:00",
"publishedAt": null,
"publishedBy": null
}
],
"history_90f842b1cb494878b2b4ce23a4b05d71_PUBLISHED": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment