diff --git a/a.json b/a.json deleted file mode 100644 index b1526671cb2af68beaa0dee04b85e5a392540326..0000000000000000000000000000000000000000 --- a/a.json +++ /dev/null @@ -1,1606 +0,0 @@ -[ - { - "likes_count": 5, - "liked": false, - "followed": null, - "reviewed": false, - "complained": false, - "id": 15317, - "name": "Programa Saúde na Escola - Ações contra a dengue", - "curator": null, - "created_at": "2024-03-06T14:08:22.912Z", - "updated_at": "2024-03-06T14:08:22.912Z", - "description": null, - "privacy": "public", - "score": 0.0, - "review_average": 0.0, - "thumbnail": "", - "items_thumbnails": [ - "/system/learning_objects/thumbnails/000/360/527/original/data?1707336228", - "/system/learning_objects/thumbnails/000/360/522/original/data?1707335234", - "/system/learning_objects/thumbnails/000/360/523/original/data?1707335434", - "/system/learning_objects/thumbnails/000/360/524/original/data?1707335691", - "/system/learning_objects/thumbnails/000/360/525/original/data?1707335875", - "/system/learning_objects/thumbnails/000/360/526/original/data?1707336042" - ], - "owner": { - "email": null, - "followed": null, - "complained": false, - "level": 3, - "level_xp": 120, - "experience": 13, - "points": 110, - "id": 35342, - "provider": "email", - "cpf": null, - "name": "Ministério da Educação", - "description": "Conta oficial do Ministério da Educação", - "submitter_request": "default", - "education": null, - "score": 0.0, - "cover": "/system/users/covers/000/035/342/original/data?1709751680", - "role_ids": [ - 11, - 10, - 4, - 1, - 9 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/035/342/original/data?1709751615", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 2, - "follows_count": 1, - "learning_objects_count": 0, - "collections_count": 1, - "created_at": "2024-03-06T14:04:18.042Z", - "updated_at": "2024-03-19T14:10:07.246Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [], - "subjects": [], - "educational_stages": [], - "collection_items": [ - { - "id": 14751, - "position": 1, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 5.0, - "liked": false, - "likes_count": 8, - "downloads_count": 1435, - "views_count": 1995, - "reviewed": false, - "complained": false, - "id": 360527, - "name": "Ações de Combate ao Mosquito Aedes aegypti", - "description": "Contínua articulação entre os setores educação e saúde, bem como todos os seus parceiros, é a principal estratégia recomendada para o desenvolvimento de ações de combate ao Aedes. Tais ações têm uma propensa capilaridade nos diversos territórios do país, possibilitando disseminar atividades realizadas entre profissionais de unidades de saúde, escolas, comunidades, ONGs, entre outras instituições que têm atuação possível no PSE.", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/527/original/data?1707336228", - "object_type": "Livro digital", - "language": [], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/bc3066ed-2030-40a8-8bd2-a9e7c680fae8/retrieve", - "default_attachment_id": 356977, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 4, - "name": "CC BY-NC", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais e, embora os novos trabalhos tenham de lhe atribuir o devido crédito e não possam ser usados para fins comerciais, os usuários não têm de licenciar esses trabalhos derivados sob os mesmos termos", - "image_url": "https://licensebuttons.net/l/by-nc/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.861Z", - "updated_at": "2018-10-03T14:26:24.169Z" - }, - "shares_count": 0, - "created_at": "2024-02-07T20:02:01.159Z", - "published_at": "2024-02-07T20:03:59.468Z", - "terms_of_service": null, - "updated_at": "2024-02-07T20:03:59.476Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 29498, - "name": "combate", - "created_at": "2018-09-05T19:28:53.513Z", - "updated_at": "2018-09-05T19:28:53.513Z" - }, - { - "id": 69384, - "name": "mosquito", - "created_at": "2020-02-27T21:41:31.229Z", - "updated_at": "2020-02-27T21:41:31.229Z" - }, - { - "id": 32571, - "name": "aedes aegypti", - "created_at": "2019-06-28T06:30:20.223Z", - "updated_at": "2019-06-28T06:30:20.223Z" - }, - { - "id": 128951, - "name": "aedes", - "created_at": "2020-02-28T16:27:40.725Z", - "updated_at": "2020-02-28T16:27:40.725Z" - }, - { - "id": 388109, - "name": "aegypti", - "created_at": "2024-02-07T20:03:58.518Z", - "updated_at": "2024-02-07T20:03:58.518Z" - }, - { - "id": 29567, - "name": "ações", - "created_at": "2018-09-13T06:30:20.878Z", - "updated_at": "2018-09-13T06:30:20.878Z" - }, - { - "id": 388110, - "name": "PSE", - "created_at": "2024-02-07T20:03:58.628Z", - "updated_at": "2024-02-07T20:03:58.628Z" - }, - { - "id": 388108, - "name": "pse", - "created_at": "2024-02-07T20:01:06.118Z", - "updated_at": "2024-02-07T20:01:06.118Z" - } - ], - "subjects": [ - { - "id": 5, - "name": "Biologia", - "created_at": "2017-03-22T16:56:08.066Z", - "updated_at": "2017-03-22T16:56:08.066Z", - "theme": false - }, - { - "id": 6, - "name": "Ciências da Natureza", - "created_at": "2017-03-22T16:56:08.072Z", - "updated_at": "2017-03-22T16:56:08.072Z", - "theme": false - } - ], - "educational_stages": [ - { - "id": 6, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.203Z", - "updated_at": "2017-03-22T16:56:08.203Z" - } - ], - "attachments": [ - { - "id": 356977, - "name": "og_acao_combate_m_aedes.pdf", - "retrieve_link": "/rest/bitstreams/bc3066ed-2030-40a8-8bd2-a9e7c680fae8/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 574492, - "bundle_name": "ORIGINAL", - "learning_object_id": 360527, - "created_at": "2024-02-07T20:02:06.540Z", - "updated_at": "2024-02-07T20:02:07.230Z", - "id_dspace": "bc3066ed-2030-40a8-8bd2-a9e7c680fae8", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14752, - "position": 2, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 5.0, - "liked": false, - "likes_count": 13, - "downloads_count": 2565, - "views_count": 3570, - "reviewed": false, - "complained": false, - "id": 360522, - "name": "Ações de Combate ao Mosquito", - "description": "E-book em formato PDF que descreve ações de combate ao mosquito da dengue.", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/522/original/data?1707335234", - "object_type": "Livro digital", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/108a035c-eacf-44cf-b381-1527d0b350de/retrieve", - "default_attachment_id": 356972, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 5, - "name": "CC BY-NC-SA", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais, desde que atribuam o devido crédito e que licenciem as novas criações sob termos idênticos", - "image_url": "https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.866Z", - "updated_at": "2018-10-03T14:26:24.175Z" - }, - "shares_count": 0, - "created_at": "2024-02-07T19:43:59.720Z", - "published_at": "2024-02-07T19:48:29.335Z", - "terms_of_service": null, - "updated_at": "2024-02-07T19:48:29.344Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 24627, - "name": "dengue", - "created_at": "2017-10-13T22:16:41.458Z", - "updated_at": "2017-10-13T22:16:41.458Z" - }, - { - "id": 69384, - "name": "mosquito", - "created_at": "2020-02-27T21:41:31.229Z", - "updated_at": "2020-02-27T21:41:31.229Z" - }, - { - "id": 29567, - "name": "ações", - "created_at": "2018-09-13T06:30:20.878Z", - "updated_at": "2018-09-13T06:30:20.878Z" - }, - { - "id": 29498, - "name": "combate", - "created_at": "2018-09-05T19:28:53.513Z", - "updated_at": "2018-09-05T19:28:53.513Z" - }, - { - "id": 24883, - "name": "e-book", - "created_at": "2017-10-14T04:14:11.394Z", - "updated_at": "2017-10-14T04:14:11.394Z" - }, - { - "id": 21859, - "name": "PDF", - "created_at": "2017-03-22T18:16:27.001Z", - "updated_at": "2017-03-22T18:16:27.001Z" - } - ], - "subjects": [ - { - "id": 5, - "name": "Biologia", - "created_at": "2017-03-22T16:56:08.066Z", - "updated_at": "2017-03-22T16:56:08.066Z", - "theme": false - }, - { - "id": 6, - "name": "Ciências da Natureza", - "created_at": "2017-03-22T16:56:08.072Z", - "updated_at": "2017-03-22T16:56:08.072Z", - "theme": false - } - ], - "educational_stages": [ - { - "id": 6, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.203Z", - "updated_at": "2017-03-22T16:56:08.203Z" - } - ], - "attachments": [ - { - "id": 356972, - "name": "e-book Programa Saúde na Escola Ações de Combate ao Mosquito Aedes aegypti.pdf", - "retrieve_link": "/rest/bitstreams/108a035c-eacf-44cf-b381-1527d0b350de/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 7991288, - "bundle_name": "ORIGINAL", - "learning_object_id": 360522, - "created_at": "2024-02-07T19:44:19.784Z", - "updated_at": "2024-02-07T19:44:20.479Z", - "id_dspace": "108a035c-eacf-44cf-b381-1527d0b350de", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14753, - "position": 3, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 5.0, - "liked": false, - "likes_count": 8, - "downloads_count": 732, - "views_count": 832, - "reviewed": false, - "complained": false, - "id": 360523, - "name": "Saúde Ambiental", - "description": "Guia de Bolso de saúde ambiental.", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/523/original/data?1707335434", - "object_type": "Livro digital", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/ca9390ee-4cc1-4099-954e-227553c9374a/retrieve", - "default_attachment_id": 356973, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 4, - "name": "CC BY-NC", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais e, embora os novos trabalhos tenham de lhe atribuir o devido crédito e não possam ser usados para fins comerciais, os usuários não têm de licenciar esses trabalhos derivados sob os mesmos termos", - "image_url": "https://licensebuttons.net/l/by-nc/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.861Z", - "updated_at": "2018-10-03T14:26:24.169Z" - }, - "shares_count": 0, - "created_at": "2024-02-07T19:48:53.953Z", - "published_at": "2024-02-07T19:50:58.440Z", - "terms_of_service": null, - "updated_at": "2024-02-07T19:50:58.450Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 31163, - "name": "guia", - "created_at": "2019-01-17T15:00:49.778Z", - "updated_at": "2019-01-17T15:00:49.778Z" - }, - { - "id": 117502, - "name": "bolso", - "created_at": "2020-02-28T13:36:44.499Z", - "updated_at": "2020-02-28T13:36:44.499Z" - }, - { - "id": 4030, - "name": "saúde", - "created_at": "2017-03-22T17:58:47.946Z", - "updated_at": "2017-03-22T17:58:47.946Z" - }, - { - "id": 102669, - "name": "ambiental", - "created_at": "2020-02-28T09:15:34.620Z", - "updated_at": "2020-02-28T09:15:34.620Z" - } - ], - "subjects": [ - { - "id": 5, - "name": "Biologia", - "created_at": "2017-03-22T16:56:08.066Z", - "updated_at": "2017-03-22T16:56:08.066Z", - "theme": false - } - ], - "educational_stages": [ - { - "id": 6, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.203Z", - "updated_at": "2017-03-22T16:56:08.203Z" - } - ], - "attachments": [ - { - "id": 356973, - "name": "guia_bolso_pse_saude_ambiental.pdf", - "retrieve_link": "/rest/bitstreams/ca9390ee-4cc1-4099-954e-227553c9374a/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 1548627, - "bundle_name": "ORIGINAL", - "learning_object_id": 360523, - "created_at": "2024-02-07T19:49:02.231Z", - "updated_at": "2024-02-07T19:49:04.332Z", - "id_dspace": "ca9390ee-4cc1-4099-954e-227553c9374a", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14754, - "position": 4, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 5.0, - "liked": false, - "likes_count": 6, - "downloads_count": 554, - "views_count": 559, - "reviewed": false, - "complained": false, - "id": 360524, - "name": "Caderno Temático Saúde Ambiental", - "description": "Um caderno temático sobre saúde ambiental.", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/524/original/data?1707335691", - "object_type": "Livro digital", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/2a16775f-54f0-4237-9d18-e54cf63767e2/retrieve", - "default_attachment_id": 356974, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 4, - "name": "CC BY-NC", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais e, embora os novos trabalhos tenham de lhe atribuir o devido crédito e não possam ser usados para fins comerciais, os usuários não têm de licenciar esses trabalhos derivados sob os mesmos termos", - "image_url": "https://licensebuttons.net/l/by-nc/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.861Z", - "updated_at": "2018-10-03T14:26:24.169Z" - }, - "shares_count": 0, - "created_at": "2024-02-07T19:53:25.591Z", - "published_at": "2024-02-07T19:55:16.183Z", - "terms_of_service": null, - "updated_at": "2024-02-07T19:55:16.190Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 102003, - "name": "caderno", - "created_at": "2020-02-28T09:05:39.455Z", - "updated_at": "2020-02-28T09:05:39.455Z" - }, - { - "id": 388106, - "name": "temático", - "created_at": "2024-02-07T19:55:14.762Z", - "updated_at": "2024-02-07T19:55:14.762Z" - }, - { - "id": 4030, - "name": "saúde", - "created_at": "2017-03-22T17:58:47.946Z", - "updated_at": "2017-03-22T17:58:47.946Z" - }, - { - "id": 102669, - "name": "ambiental", - "created_at": "2020-02-28T09:15:34.620Z", - "updated_at": "2020-02-28T09:15:34.620Z" - } - ], - "subjects": [ - { - "id": 5, - "name": "Biologia", - "created_at": "2017-03-22T16:56:08.066Z", - "updated_at": "2017-03-22T16:56:08.066Z", - "theme": false - }, - { - "id": 6, - "name": "Ciências da Natureza", - "created_at": "2017-03-22T16:56:08.072Z", - "updated_at": "2017-03-22T16:56:08.072Z", - "theme": false - } - ], - "educational_stages": [ - { - "id": 6, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.203Z", - "updated_at": "2017-03-22T16:56:08.203Z" - } - ], - "attachments": [ - { - "id": 356974, - "name": "caderno_tematico_pse_saude_ambiental.pdf", - "retrieve_link": "/rest/bitstreams/2a16775f-54f0-4237-9d18-e54cf63767e2/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 3140352, - "bundle_name": "ORIGINAL", - "learning_object_id": 360524, - "created_at": "2024-02-07T19:53:40.686Z", - "updated_at": "2024-02-07T19:53:41.008Z", - "id_dspace": "2a16775f-54f0-4237-9d18-e54cf63767e2", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14755, - "position": 5, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 5.0, - "liked": false, - "likes_count": 6, - "downloads_count": 324, - "views_count": 290, - "reviewed": false, - "complained": false, - "id": 360525, - "name": "Relatos de Experiências da Semana Saúde na Escola", - "description": "Relatos de Experiências da Semana Saúde na Escola, versão preliminar.", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/525/original/data?1707335875", - "object_type": "Livro digital", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/8bfd4d58-5197-4ef8-bb5a-8dad73179287/retrieve", - "default_attachment_id": 356975, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 4, - "name": "CC BY-NC", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais e, embora os novos trabalhos tenham de lhe atribuir o devido crédito e não possam ser usados para fins comerciais, os usuários não têm de licenciar esses trabalhos derivados sob os mesmos termos", - "image_url": "https://licensebuttons.net/l/by-nc/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.861Z", - "updated_at": "2018-10-03T14:26:24.169Z" - }, - "shares_count": 0, - "created_at": "2024-02-07T19:55:46.860Z", - "published_at": "2024-02-07T19:58:12.418Z", - "terms_of_service": null, - "updated_at": "2024-02-07T19:58:12.425Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 118138, - "name": "relatos", - "created_at": "2020-02-28T13:42:01.132Z", - "updated_at": "2020-02-28T13:42:01.132Z" - }, - { - "id": 388107, - "name": "experiencias", - "created_at": "2024-02-07T19:58:10.578Z", - "updated_at": "2024-02-07T19:58:10.578Z" - }, - { - "id": 26715, - "name": "semana", - "created_at": "2018-02-28T11:28:48.976Z", - "updated_at": "2018-02-28T11:28:48.976Z" - }, - { - "id": 4030, - "name": "saúde", - "created_at": "2017-03-22T17:58:47.946Z", - "updated_at": "2017-03-22T17:58:47.946Z" - }, - { - "id": 23566, - "name": "escola", - "created_at": "2017-10-03T13:34:47.233Z", - "updated_at": "2017-10-03T13:34:47.233Z" - }, - { - "id": 29277, - "name": "experiências", - "created_at": "2018-08-03T06:36:11.556Z", - "updated_at": "2018-08-03T06:36:11.556Z" - } - ], - "subjects": [ - { - "id": 5, - "name": "Biologia", - "created_at": "2017-03-22T16:56:08.066Z", - "updated_at": "2017-03-22T16:56:08.066Z", - "theme": false - }, - { - "id": 6, - "name": "Ciências da Natureza", - "created_at": "2017-03-22T16:56:08.072Z", - "updated_at": "2017-03-22T16:56:08.072Z", - "theme": false - } - ], - "educational_stages": [ - { - "id": 6, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.203Z", - "updated_at": "2017-03-22T16:56:08.203Z" - } - ], - "attachments": [ - { - "id": 356975, - "name": "caderno_anotacoes2016_preliminar.pdf", - "retrieve_link": "/rest/bitstreams/8bfd4d58-5197-4ef8-bb5a-8dad73179287/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 3071306, - "bundle_name": "ORIGINAL", - "learning_object_id": 360525, - "created_at": "2024-02-07T19:56:27.853Z", - "updated_at": "2024-02-07T19:56:28.304Z", - "id_dspace": "8bfd4d58-5197-4ef8-bb5a-8dad73179287", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14756, - "position": 6, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 5.0, - "liked": false, - "likes_count": 6, - "downloads_count": 396, - "views_count": 368, - "reviewed": false, - "complained": false, - "id": 360526, - "name": "Caderno de Saúde e Educação Ambiental", - "description": "O Programa Saúde na Escola (PSE) é uma estratégia intersetorial da saúde e da educação, voltada ao desenvolvimento integral do educando e do território de responsabilidade compartilhada por escolas e unidades de saúde.", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/526/original/data?1707336042", - "object_type": "Livro digital", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/a038ab12-1a4b-4823-ba64-d2fdeea3be7c/retrieve", - "default_attachment_id": 356976, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 4, - "name": "CC BY-NC", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais e, embora os novos trabalhos tenham de lhe atribuir o devido crédito e não possam ser usados para fins comerciais, os usuários não têm de licenciar esses trabalhos derivados sob os mesmos termos", - "image_url": "https://licensebuttons.net/l/by-nc/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.861Z", - "updated_at": "2018-10-03T14:26:24.169Z" - }, - "shares_count": 0, - "created_at": "2024-02-07T19:58:59.250Z", - "published_at": "2024-02-07T20:01:06.690Z", - "terms_of_service": null, - "updated_at": "2024-02-07T20:01:06.696Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 102003, - "name": "caderno", - "created_at": "2020-02-28T09:05:39.455Z", - "updated_at": "2020-02-28T09:05:39.455Z" - }, - { - "id": 4030, - "name": "saúde", - "created_at": "2017-03-22T17:58:47.946Z", - "updated_at": "2017-03-22T17:58:47.946Z" - }, - { - "id": 9996, - "name": "educação", - "created_at": "2017-03-22T18:02:56.049Z", - "updated_at": "2017-03-22T18:02:56.050Z" - }, - { - "id": 102669, - "name": "ambiental", - "created_at": "2020-02-28T09:15:34.620Z", - "updated_at": "2020-02-28T09:15:34.620Z" - }, - { - "id": 27755, - "name": "programa", - "created_at": "2018-02-28T15:37:27.264Z", - "updated_at": "2018-02-28T15:37:27.264Z" - }, - { - "id": 23566, - "name": "escola", - "created_at": "2017-10-03T13:34:47.233Z", - "updated_at": "2017-10-03T13:34:47.233Z" - }, - { - "id": 388108, - "name": "pse", - "created_at": "2024-02-07T20:01:06.118Z", - "updated_at": "2024-02-07T20:01:06.118Z" - } - ], - "subjects": [ - { - "id": 5, - "name": "Biologia", - "created_at": "2017-03-22T16:56:08.066Z", - "updated_at": "2017-03-22T16:56:08.066Z", - "theme": false - }, - { - "id": 6, - "name": "Ciências da Natureza", - "created_at": "2017-03-22T16:56:08.072Z", - "updated_at": "2017-03-22T16:56:08.072Z", - "theme": false - } - ], - "educational_stages": [ - { - "id": 6, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.203Z", - "updated_at": "2017-03-22T16:56:08.203Z" - } - ], - "attachments": [ - { - "id": 356976, - "name": "caderno_saude_educacao_ambiental.pdf", - "retrieve_link": "/rest/bitstreams/a038ab12-1a4b-4823-ba64-d2fdeea3be7c/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 2479010, - "bundle_name": "ORIGINAL", - "learning_object_id": 360526, - "created_at": "2024-02-07T19:59:09.554Z", - "updated_at": "2024-02-07T19:59:10.008Z", - "id_dspace": "a038ab12-1a4b-4823-ba64-d2fdeea3be7c", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14757, - "position": 7, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 0.0, - "liked": false, - "likes_count": 6, - "downloads_count": 956, - "views_count": 1171, - "reviewed": false, - "complained": false, - "id": 360573, - "name": "Trilhas de Ação para Secretarias de Saúde e Educação - Semana 1", - "description": "Orientações elaboradas no âmbito do Programa Saúde na Escola para Secretários Municipais de Saúde e Educação, Diretores e Professores das escolas públicas brasileiras, e profissionais da saúde da Atenção Primária, com o objetivo de desenvolver semanalmente atividades de combate, prevenção e identificação de sintomas causados pelo mosquito Aedes aegypti.", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/573/original/data?1708506823", - "object_type": "Apresentação", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/085bb35c-9ef8-4cb4-bf8f-3966af60355b/retrieve", - "default_attachment_id": 357014, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 5, - "name": "CC BY-NC-SA", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais, desde que atribuam o devido crédito e que licenciem as novas criações sob termos idênticos", - "image_url": "https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.866Z", - "updated_at": "2018-10-03T14:26:24.175Z" - }, - "shares_count": 0, - "created_at": "2024-02-21T06:31:51.625Z", - "published_at": "2024-02-21T09:15:14.064Z", - "terms_of_service": null, - "updated_at": "2024-02-21T09:15:14.075Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 5, - "name": "Dengue", - "created_at": "2017-03-22T17:57:46.837Z", - "updated_at": "2017-03-22T17:57:46.837Z" - }, - { - "id": 388110, - "name": "PSE", - "created_at": "2024-02-07T20:03:58.628Z", - "updated_at": "2024-02-07T20:03:58.628Z" - } - ], - "subjects": [ - { - "id": 17, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.141Z", - "updated_at": "2017-03-22T16:56:08.141Z", - "theme": false - }, - { - "id": 21, - "name": "Educação Ambiental", - "created_at": "2018-10-03T14:26:24.306Z", - "updated_at": "2018-10-03T14:26:24.306Z", - "theme": true - } - ], - "educational_stages": [ - { - "id": 1, - "name": "Educação Infantil", - "created_at": "2017-03-22T16:56:08.170Z", - "updated_at": "2017-03-22T16:56:08.170Z" - }, - { - "id": 2, - "name": "Ensino Fundamental I (1º até o 5º ano )", - "created_at": "2017-03-22T16:56:08.177Z", - "updated_at": "2017-03-22T16:56:08.177Z" - }, - { - "id": 3, - "name": "Ensino Fundamental II (do 6º até o 9º ano)", - "created_at": "2017-03-22T16:56:08.184Z", - "updated_at": "2017-03-22T16:56:08.184Z" - }, - { - "id": 4, - "name": "Ensino Médio", - "created_at": "2017-03-22T16:56:08.190Z", - "updated_at": "2017-03-22T16:56:08.190Z" - } - ], - "attachments": [ - { - "id": 357014, - "name": "Trilha Ação Secretários - Semana 1.pdf", - "retrieve_link": "/rest/bitstreams/085bb35c-9ef8-4cb4-bf8f-3966af60355b/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 17082268, - "bundle_name": "ORIGINAL", - "learning_object_id": 360573, - "created_at": "2024-02-21T09:10:33.048Z", - "updated_at": "2024-02-21T09:10:33.735Z", - "id_dspace": "085bb35c-9ef8-4cb4-bf8f-3966af60355b", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14758, - "position": 8, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 0.0, - "liked": false, - "likes_count": 5, - "downloads_count": 897, - "views_count": 1007, - "reviewed": false, - "complained": false, - "id": 360575, - "name": "Trilhas de Ação para Docentes - Semana 1", - "description": "Orientações elaboradas no âmbito do Programa Saúde na Escola para Secretários Municipais de Saúde e Educação, Diretores e Professores das escolas públicas brasileiras, e profissionais da saúde da Atenção Primária, com o objetivo de desenvolver semanalmente atividades de combate, prevenção e identificação de sintomas causados pelo mosquito Aedes aegypti.\n\n", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/575/original/data?1708515454", - "object_type": "Apresentação", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/112a1945-bebc-4464-bec7-04bc12f6c4ab/retrieve", - "default_attachment_id": 357016, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 5, - "name": "CC BY-NC-SA", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais, desde que atribuam o devido crédito e que licenciem as novas criações sob termos idênticos", - "image_url": "https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.866Z", - "updated_at": "2018-10-03T14:26:24.175Z" - }, - "shares_count": 0, - "created_at": "2024-02-21T11:36:14.256Z", - "published_at": "2024-02-21T11:37:54.533Z", - "terms_of_service": null, - "updated_at": "2024-02-21T11:37:54.541Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 5, - "name": "Dengue", - "created_at": "2017-03-22T17:57:46.837Z", - "updated_at": "2017-03-22T17:57:46.837Z" - }, - { - "id": 388110, - "name": "PSE", - "created_at": "2024-02-07T20:03:58.628Z", - "updated_at": "2024-02-07T20:03:58.628Z" - } - ], - "subjects": [ - { - "id": 17, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.141Z", - "updated_at": "2017-03-22T16:56:08.141Z", - "theme": false - }, - { - "id": 21, - "name": "Educação Ambiental", - "created_at": "2018-10-03T14:26:24.306Z", - "updated_at": "2018-10-03T14:26:24.306Z", - "theme": true - } - ], - "educational_stages": [ - { - "id": 1, - "name": "Educação Infantil", - "created_at": "2017-03-22T16:56:08.170Z", - "updated_at": "2017-03-22T16:56:08.170Z" - }, - { - "id": 2, - "name": "Ensino Fundamental I (1º até o 5º ano )", - "created_at": "2017-03-22T16:56:08.177Z", - "updated_at": "2017-03-22T16:56:08.177Z" - }, - { - "id": 3, - "name": "Ensino Fundamental II (do 6º até o 9º ano)", - "created_at": "2017-03-22T16:56:08.184Z", - "updated_at": "2017-03-22T16:56:08.184Z" - }, - { - "id": 4, - "name": "Ensino Médio", - "created_at": "2017-03-22T16:56:08.190Z", - "updated_at": "2017-03-22T16:56:08.190Z" - } - ], - "attachments": [ - { - "id": 357016, - "name": "Trilhas de Ação - Professores - Semana 1.pdf", - "retrieve_link": "/rest/bitstreams/112a1945-bebc-4464-bec7-04bc12f6c4ab/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 17084655, - "bundle_name": "ORIGINAL", - "learning_object_id": 360575, - "created_at": "2024-02-21T11:36:40.898Z", - "updated_at": "2024-02-21T11:36:41.359Z", - "id_dspace": "112a1945-bebc-4464-bec7-04bc12f6c4ab", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - }, - { - "id": 14759, - "position": 9, - "collectionable": { - "submission_id": null, - "state": "published", - "review_average": 0.0, - "liked": false, - "likes_count": 6, - "downloads_count": 716, - "views_count": 841, - "reviewed": false, - "complained": false, - "id": 360576, - "name": "Trilhas de Ação para Diretorias de Escolas - Semana 1", - "description": "Orientações elaboradas no âmbito do Programa Saúde na Escola para Secretários Municipais de Saúde e Educação, Diretores e Professores das escolas públicas brasileiras, e profissionais da saúde da Atenção Primária, com o objetivo de desenvolver semanalmente atividades de combate, prevenção e identificação de sintomas causados pelo mosquito Aedes aegypti.\n\n", - "author": "Saúde na Escola", - "curator": null, - "thumbnail": "/system/learning_objects/thumbnails/000/360/576/original/data?1708515650", - "object_type": "Apresentação", - "language": [ - { - "id": 1, - "name": "Português", - "created_at": "2017-03-22T16:56:06.782Z", - "updated_at": "2017-03-22T16:56:06.782Z", - "code": "pt" - } - ], - "default_attachment_location": "https://mecdb4.c3sl.ufpr.br:8443/rest/bitstreams/1057d275-7d97-4d54-988e-171ed13770f7/retrieve", - "default_attachment_id": 357017, - "default_mime_type": "application/pdf", - "score": 0.0, - "link": null, - "software": null, - "license": { - "id": 5, - "name": "CC BY-NC-SA", - "description": "Esta licença permite que outros remixem, adaptem e criem a partir do seu trabalho para fins não comerciais, desde que atribuam o devido crédito e que licenciem as novas criações sob termos idênticos", - "image_url": "https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png", - "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/deed.pt_BR", - "created_at": "2017-03-22T16:56:06.866Z", - "updated_at": "2018-10-03T14:26:24.175Z" - }, - "shares_count": 0, - "created_at": "2024-02-21T11:39:46.391Z", - "published_at": "2024-02-21T11:41:09.022Z", - "terms_of_service": null, - "updated_at": "2024-02-21T11:41:09.033Z", - "magnetlink": null, - "publisher": { - "email": null, - "followed": null, - "complained": false, - "level": 12, - "level_xp": 137, - "experience": 103, - "points": 190, - "id": 34283, - "provider": "email", - "cpf": null, - "name": "Saúde na Escola", - "description": "Perfil para publicação de conteúdos relacionados a saúde escolar.", - "submitter_request": "default", - "education": null, - "score": 60.0, - "cover": "/system/users/covers/000/034/283/original/data?1707336491", - "role_ids": [ - 11, - 10, - 9, - 1, - 4, - 6, - 7 - ], - "institution_ids": [], - "avatar": "/system/users/avatars/000/034/283/original/data?1707336390", - "dspace_url": null, - "dspace_handle": null, - "dspace_sets": null, - "likes_count": 6, - "follows_count": 16, - "learning_objects_count": 9, - "collections_count": 1, - "created_at": "2024-02-07T19:22:56.656Z", - "updated_at": "2024-03-12T11:24:28.244Z", - "terms_accepted_at": null, - "state": "active" - }, - "tags": [ - { - "id": 5, - "name": "Dengue", - "created_at": "2017-03-22T17:57:46.837Z", - "updated_at": "2017-03-22T17:57:46.837Z" - }, - { - "id": 388110, - "name": "PSE", - "created_at": "2024-02-07T20:03:58.628Z", - "updated_at": "2024-02-07T20:03:58.628Z" - } - ], - "subjects": [ - { - "id": 17, - "name": "Outros", - "created_at": "2017-03-22T16:56:08.141Z", - "updated_at": "2017-03-22T16:56:08.141Z", - "theme": false - }, - { - "id": 21, - "name": "Educação Ambiental", - "created_at": "2018-10-03T14:26:24.306Z", - "updated_at": "2018-10-03T14:26:24.306Z", - "theme": true - } - ], - "educational_stages": [ - { - "id": 1, - "name": "Educação Infantil", - "created_at": "2017-03-22T16:56:08.170Z", - "updated_at": "2017-03-22T16:56:08.170Z" - }, - { - "id": 2, - "name": "Ensino Fundamental I (1º até o 5º ano )", - "created_at": "2017-03-22T16:56:08.177Z", - "updated_at": "2017-03-22T16:56:08.177Z" - }, - { - "id": 3, - "name": "Ensino Fundamental II (do 6º até o 9º ano)", - "created_at": "2017-03-22T16:56:08.184Z", - "updated_at": "2017-03-22T16:56:08.184Z" - }, - { - "id": 4, - "name": "Ensino Médio", - "created_at": "2017-03-22T16:56:08.190Z", - "updated_at": "2017-03-22T16:56:08.190Z" - } - ], - "attachments": [ - { - "id": 357017, - "name": "Trilhas de Ação - Diretores - Semana 1.pdf", - "retrieve_link": "/rest/bitstreams/1057d275-7d97-4d54-988e-171ed13770f7/retrieve", - "description": "", - "format": "Adobe PDF", - "mime_type": "application/pdf", - "size": 17090388, - "bundle_name": "ORIGINAL", - "learning_object_id": 360576, - "created_at": "2024-02-21T11:40:09.267Z", - "updated_at": "2024-02-21T11:40:09.595Z", - "id_dspace": "1057d275-7d97-4d54-988e-171ed13770f7", - "thumbnail": "", - "cache_link": null, - "learning_object_attachment_id": null, - "learning_object_attachment_id_son": null - } - ] - }, - "collectionable_type": "LearningObject" - } - ] - } -] \ No newline at end of file diff --git a/src/app/components/Cards.js b/src/app/components/Cards.js index e312bfaf2eb8bdc08aa549e165287dca1f859048..4b7e3db2caf8f088c994c39032409f14d721ae05 100644 --- a/src/app/components/Cards.js +++ b/src/app/components/Cards.js @@ -1,17 +1,27 @@ import * as React from "react"; -import { styled } from "@mui/material/styles"; import Card from "@mui/material/Card"; import CardHeader from "@mui/material/CardHeader"; import CardMedia from "@mui/material/CardMedia"; import Avatar from "@mui/material/Avatar"; import Typography from "@mui/material/Typography"; import Link from "next/link"; -import { useEffect } from "react"; -import { useRef } from "react"; +import { useRef, useEffect } from "react"; + export default function Cards(props) { + /* + props do card: + id: id do recurso + title: titulo do recurso + author: autor do recurso + avatar: link avatar autor + image: link imagem recurso + shadow: sombra caso o card tenha sombra, exemplo: recursos do mec + updated_at: data da ultima modificaçao do recurso + */ + const cardRef = useRef(false); const defaultImgCards = @@ -56,13 +66,33 @@ export default function Cards(props) { }; + const timeFunction = (updated_time) => { + let data = new Date(updated_time) + let dataAtual = new Date(); + + let time = dataAtual.getTime() - data.getTime(); + let dia = Math.floor(time / (1000 * 60 * 60 * 24)); + let ano; + let mes; + + if ((ano = Math.floor(dia / 365)) > 0) + return <p> há {ano} {ano === 1 ? "ano" : "anos"} </p> + else if (((mes = Math.floor(dia / 31)) > 0)) + return <p> há {mes} {mes === 1 ? "mês" : "meses"}</p> + + if (dia === 0) + return <p>hoje</p> + return <p>há {dia} {dia === 1 ? "dia" : "dias"}</p> + + } + + - return ( - <Link href={`/recurso/${props["id"]}`}> + <Card className={"active:bg-black-hover active:rounded-3xl transition ease-in-out items-center "} sx={{ @@ -71,10 +101,13 @@ export default function Cards(props) { width: props?.width ?? 300, height: props?.height ?? "auto", backgroundColor: "transparent", - boxShadow: "none", + boxShadow: "none", padding: "10px", }} + component={Link} + href={`/recurso/${props["id"]}`} > + <CardMedia className="hover:scale-105 z-1 hover:relative z-0 border border-gray-400 transition-transform rounded-xl flex-shrink-0 aspect-video" sx={{ @@ -93,11 +126,11 @@ export default function Cards(props) { <CardHeader className="self-start flex-shrink" - avatar={ props?.noAvatar ? null : - <Link href="/perfil"> + avatar={props?.noAvatar ? null : <Avatar src={`https://api.portalmec.c3sl.ufpr.br/${props["avatar"]}`} alt={props["author"]} + href="/perfil" sx={{ width: 28, height: 28, @@ -105,14 +138,11 @@ export default function Cards(props) { bgcolor: "#00bacc", }} /> - </Link> } title={ - <Link href={`/recurso/${props["id"]}`}> - <Typography variant="body2" color="" className="line-clamp-2 "> + <Typography variant="body2" color="" className="line-clamp-2 "> {props["title"]} </Typography> - </Link> } subheader={ <> @@ -128,12 +158,11 @@ export default function Cards(props) { color="text.secondary" className="line-clamp-1" > - {/* {props["views"]} visualizações - */} há 2 dias + {timeFunction(props.updated_at)} </Typography> </> } /> </Card> - </Link> ); } diff --git a/src/app/components/GroupCardsCollections.js b/src/app/components/GroupCardsCollections.js index 248b53ace3ba05adc6636e14940bb14b53cbda84..6b69dd792bca3d0291b9fe5feb51b8def6883764 100644 --- a/src/app/components/GroupCardsCollections.js +++ b/src/app/components/GroupCardsCollections.js @@ -47,6 +47,8 @@ export default function GroupCardsCollections({ data, cardsPerRow, boxShadow }) avatar={item["collectionable"]["avatar"]} image={item["collectionable"]["thumbnail"]} shadow={boxShadow} + updated_at={item["collectionable"]["updated_at"]} + /> ); })} diff --git a/src/app/components/InfiniteScrollCards.js b/src/app/components/InfiniteScrollCards.js index abcc877c83c60e094dd385a7e026b3189ce28678..ee0b19099e800d5b88b2ac9c7ce93a6acaf96395 100644 --- a/src/app/components/InfiniteScrollCards.js +++ b/src/app/components/InfiniteScrollCards.js @@ -27,7 +27,6 @@ export default function InfiniteScrollCards({ data, type = "LearningObject", set const { data } = await mecredApi .get("/users/35342/collections"); setMecCollection(data); - console.log(data); } catch (error) { console.log(error); } @@ -38,6 +37,28 @@ export default function InfiniteScrollCards({ data, type = "LearningObject", set fetchCollections(); }, []); + + + const timeFunction = (updated_time) => { + let data = new Date(updated_time) + let dataAtual = new Date(); + + let time = dataAtual.getTime() - data.getTime(); + let dia = Math.floor(time / (1000 * 60 * 60 * 24)); + let ano; + let mes; + + if ((ano = Math.floor(dia / 365)) > 0) + return <span className="text-xs ">, há {ano} {ano === 1 ? "ano" : "anos"} </span> + else if (((mes = Math.floor(dia / 31)) > 0)) + return <span className="text-xs ">, há {mes} {mes === 1 ? "mês" : "meses"}</span> + + if (dia === 0) + return <span className="text-xs ">, hoje</span> + return <span className="text-xs ">, há {dia} {dia === 1 ? "dia" : "dias"}</span> + + } + return ( <div id="contentSize"> {type === "LearningObject" ? ( @@ -51,6 +72,7 @@ export default function InfiniteScrollCards({ data, type = "LearningObject", set avatar={item["publisher"]["avatar"]} image={item["thumbnail"]} type={item["object_type"]} + updated_at={item["updated_at"]} /> ))} </div>) @@ -67,8 +89,7 @@ export default function InfiniteScrollCards({ data, type = "LearningObject", set return ( <> <p className="text-xl max-sm:text-center font-bold mb-1 text-gray-600 ml-6 inline-block">{item["name"]}</p> - - <GroupCardsCollections boxShadow={"1px 1px 10px 1px #ffbf00"} cardsPerRow={cardsPerRow} data={item['collection_items']} key={index} /> + <GroupCardsCollections boxShadow={"1px 1px 10px 1px #ffbf00"} cardsPerRow={cardsPerRow} data={item['collection_items']} key={item['id']} /> </> ) })} @@ -78,10 +99,10 @@ export default function InfiniteScrollCards({ data, type = "LearningObject", set {data.map((item, index) => ( <> <p className="text-xl max-sm:text-center font-bold mb-0 text-gray-600 ml-6 inline-block">{item['name']}</p> - <Link href="/perfil"> - <p className=" ml-6 max-sm:text-center text-gray-500 mb-4" > por {item["owner"]["name"]}</p> - </Link> - <GroupCardsCollections cardsPerRow={cardsPerRow} data={item['collection_items']} key={index} /> + <p className=" ml-6 max-sm:text-center text-gray-500 mb-0" > + por <Link href="/perfil"> {item["owner"]["name"]}</Link>{timeFunction(item["updated_at"])} + </p> + <GroupCardsCollections cardsPerRow={cardsPerRow} data={item['collection_items']} key={item['id']}/> </> ))} </div> diff --git a/src/app/login/page.js b/src/app/login/page.js index e8a04c4109f75b1aea57e5095e9e2825ee552b84..cd2fbd4ecf46349c0f90da3fdda039ab820a562f 100644 --- a/src/app/login/page.js +++ b/src/app/login/page.js @@ -25,7 +25,7 @@ export default function Login() { const handleEmailChange = (e) => { setUserEmail(e.target.value); - console.log(e.target.value); + // console.log(e.target.value); }; const handlePasswordChange = (e) => { @@ -41,7 +41,7 @@ export default function Login() { password: userPassword, }) .then((response) => { - console.log(response.headers) + // console.log(response.headers) saveToLocalStorage("user_data", JSON.stringify(response.data["data"])); saveToLocalStorage("access_token", response.headers["access-token"]); saveToLocalStorage("client", response.headers["client"]) diff --git a/src/app/perfil/components/ProfileHomologation.js b/src/app/perfil/components/ProfileHomologation.js index 72a816ad9de84eb3c9c89783541efffae3a13907..57b405a5266edce1f371bb1943bc0f5a083b6f8d 100644 --- a/src/app/perfil/components/ProfileHomologation.js +++ b/src/app/perfil/components/ProfileHomologation.js @@ -56,7 +56,7 @@ export default function Favorites({ id }) { <div className={`flex content flex-wrap justify-center ${expanded ? "" : "overflow-y-hidden"}`}> {homologated.map((item, i) => { - { console.log(item) } + // { console.log(item) } return <CardsHomologation item={item} key={i} /> diff --git a/src/app/recurso/[id]/components/actionButtons.js b/src/app/recurso/[id]/components/actionButtons.js index a079b5ace801c77b3db8353685f124abd18055f5..6592339dfcbd35dbaa6a66ceb53d11afffe93393 100644 --- a/src/app/recurso/[id]/components/actionButtons.js +++ b/src/app/recurso/[id]/components/actionButtons.js @@ -18,7 +18,7 @@ export default function ActionButtons({ learningObject }) { icon: <FavoriteBorderOutlinedIcon />, action: () => { loginBarrier(); - console.log("curti!"); + // console.log("curti!"); }, }, { diff --git a/src/app/recurso/[id]/components/relatedResources.js b/src/app/recurso/[id]/components/relatedResources.js index 7ced53400de7fe70de9d70b8fd5e0466e6b6c182..ccf729e0fb6ed0769c105d2afc8f1f236d1ebf1c 100644 --- a/src/app/recurso/[id]/components/relatedResources.js +++ b/src/app/recurso/[id]/components/relatedResources.js @@ -14,7 +14,7 @@ export default function RelatedResources({learningObject}) { `/search?page=0&results_per_page=${NUM_RELATED}&order=score&query=*&search_class=LearningObject` ) .then(({ data }) => { - console.log(data); + // console.log(data); setRelated(data); }); }, []); diff --git a/src/axiosConfig.js b/src/axiosConfig.js index f00a1ec7b460c5285202ee4ace81e16dddbb38b5..671d6b6d28335fe723dd81a7627fcd4fb062a505 100644 --- a/src/axiosConfig.js +++ b/src/axiosConfig.js @@ -8,11 +8,11 @@ const wrapper = (method) => { return (...args) => { return method(...args).then((response) => { if (response.headers["access-token"]) { - console.log( - "new access-token:", - response.headers["access-token"], - getStoredValue("access_token") - ); + // console.log( + // "new access-token:", + // response.headers["access-token"], + // getStoredValue("access_token") + // ); saveToLocalStorage("access_token", response.headers["access-token"]); }