use Notion\Blocks\Paragraph;
use Notion\Common\RichText;
use Notion\Notion;
+use Notion\Pages\Properties\Checkbox;
use Notion\Pages\Properties\RichTextProperty;
use Notion\Pages\Properties\Title;
$notesProperty = $song->getProprety('Notes générales');
/** @var \Notion\Pages\Properties\Files $filesProperty */
$filesProperty = $song->getProprety('Files & media');
+ /** @var Checkbox $hideProperty */
+ $hideProperty = $song->getProprety('Cacher dans l\'app');
+ if ($hideProperty->checked) {
+ continue;
+ }
$s['id'] = $song->id;
$s['order'] = (int)$orderProperty->number;