Skip to content

fix: modify the YT mappings generator to fetch all videos through pagination #1576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: prettier
  • Loading branch information
YassinEldeeb committed Sep 23, 2023
commit a69c47aeb55b39675405c9e596ef96f79d84555d
11 changes: 5 additions & 6 deletions gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ export const createPages: GatsbyNode["createPages"] = async ({

// Create schedule events' pages
schedule.forEach(event => {
const eventSpeakers = speakers.filter((e) => event.speakers?.find(({ username }) => username === e.username))
const eventSpeakers = speakers.filter(e =>
event.speakers?.find(({ username }) => username === e.username)
)

createPage({
path: `/conf/schedule/${event.id}`,
Expand Down Expand Up @@ -231,11 +233,8 @@ export const createPages: GatsbyNode["createPages"] = async ({
speakers.forEach(speaker => {
const speakerSessions: ScheduleSession[] =
schedule.filter(session => {

return session.speakers?.find((e) => e.username === speaker.username)
}
) ||
[]
return session.speakers?.find(e => e.username === speaker.username)
}) || []

createPage({
path: `/conf/speakers/${speaker.username}`,
Expand Down
241 changes: 191 additions & 50 deletions src/templates/videos.ts
Original file line number Diff line number Diff line change
@@ -1,52 +1,193 @@
export const videos = [
{ id: 'vWQYI5fNytM', title: `Dataloader 3.0: An Alternative Algorithm to Solve N+1 Problems - Jens Neuse, WunderGraph` },
{ id: '8c8NfeGFMk8', title: `How to Choose a GraphQL Gateway - Dotan Simha, The Guild` },
{ id: 'fuC2yM2RMjQ', title: `Breaking the Mold Innovative Approaches to Testing GraphQL APIs - Pooja Mistry, Postman` },
{ id: 'OhvSuqxfKcc', title: `Adoption of GraphQL in Meta Ads Manager - Bryan Yang & Yuanchao Zhu, Meta` },
{ id: 'MzMsDZTYEjY', title: `The Benefits of Code First Over Schema First in GraphQL - Patrick Arminio, Apollo` },
{ id: 'tjuVrOhdyGY', title: `Shared Schema Policies & Automatic Standards Across Your Company’s Teams - Dimitri Postolov` },
{ id: 'BpbkFr2udAY', title: `The Evolution of GraphQL Code Generation - Laurin Quast, The Guild` },
{ id: 'bnWMiI9q4bc', title: `Why AI needs GraphQL - Anant Jhingran, IBM` },
{ id: 'ig_6h1Xtb9U', title: `GraphQL in Production Empowering Efficient Data Retrieval and Unleashing Developer Productivity` },
{ id: 'ZZ73jHB1hIs', title: `Scaling the Data Access by Leveraging GraphQL Federation for Service to Service Communication` },
{ id: 'a6Bn1thHrtg', title: `AI, GraphQL, and the Rise of Malleable Applications - Aleksandra Sikora, The Guild` },
{ id: 'kqWpIWccUBc', title: `Not Your Regular Rate Limiting - Meenakshi Dhanani, Postman` },
{ id: '2hiUkWl8tLo', title: `Unify Data Sources with GraphQL at the Edge - Jamie Barton, Grafbase` },
{ id: 'JszOuY11ob8', title: `Scaling Schema Cardinality Constructing Types at Runtime - Spencer MacKinnon` },
{ id: 'pDkvA5KKFw4', title: `The evolution of the GraphQL Orchestrator powering Intuit Consumer Apps- Ashpak Shaikh, Intuit` },
{ id: '2KsP_x50tGk', title: `Deep Learnings Migrating legacy services to Federated GraphQL - Christian Ernst, Booking.com` },
{ id: '68WiJpEQt6E', title: `Improving User Experiences with a Nullable Schema - Ernie Turner, Coinbase` },
{ id: 'k5Qec3OvKjU', title: `Fixing the Billion Dollar Mistake Client Controlled Nullability - Stephen Spalding, Netflix` },
{ id: 'UjDnrrTp7uI', title: `Increase Your Productivity With No Code GraphQL Mocking - Laurent Broudoux, Microcks Co Founder` },
{ id: 'tpcsMFu1apY', title: `Why Your GraphQL APIs Are Increasingly Under Attack - Shahar Binyamin, Inigo` },
{ id: 'JvK06Ct8o14', title: `Building Geospatial GraphQL APIs By Leveraging GraphQL Database Integrations - William Lyon, Neo4j` },
{ id: 'J5I7k33JZ_c', title: `GraphQL Is a Superpower for Your Product Manager and Designer - Jeff Auriemma, Apollo GraphQL` },
{ id: 'Fv8ei-lq230', title: `Closing Remarks - Keith Babo, Solo.io` },
{ id: 'ILWuverF8Ss', title: `Navigating the Future GraphQL’s Expansion, AI Adoption, and Modern Languages - Adapting for Success` },
{ id: 'pq449oB9GOU', title: `GraphQL Everywhere - How GraphQL is Being Used in Places You Never Thought Were Possible - Uri Golds` },
{ id: '45V30LhPynY', title: `Training and Using Generative AI Models with GraphQL - Idit Levine, Solo.io` },
{ id: 'jgv7Reqc2II', title: `Is a GraphQL BFF Necessary in a Server Side React World (RSC, SAs) - Tanmai Gopal, CEO & Co-Founder` },
{ id: 'U4MOw7AUI6c', title: `GraphQL Saving Lives - Leveraging Federation and Domain Experts to Help People Beat Addiction` },
{ id: 'QRUlbRMq14Y', title: `Welcome Remarks - Keith Babo, Solo.io` },
{ id: 'Jr01x-VDQRE', title: `Houdini: A GraphQL First Meta Framework - Alec Aivazis, Arista Networks` },
{ id: '9AML1JtkFKs', title: `Building Tooling That Speaks GraphQL - Tim Hall, Postman` },
{ id: '2dnTokI7v6c', title: `Sophisticated Schema Mocking Stephanie Saunders, Coinbase` },
{ id: 'l9Nm33Dj98g', title: `Exposing All Wix APIs via GraphQL Automatically Centralizing GraphQL Schema Generation - Gonen Jerbi` },
{ id: 'Zq31RkovhKI', title: `Rust-Powered Fullstack GraphQL From Actix-Web & Juniper Server to WASM Yew Client - Yassin Eldeeb` },
{ id: '6rcJR1DGWJQ', title: `GraphQL Mesh - A Federated Gateway for Any API Protocol - GraphQL, OpenAPI, gRPC and More - Arda Ta` },
{ id: 'tiOpoGdxiMo', title: `Build and Deploy Instant GraphQL APIs to the Edge - Jamie Barton, Grafbase` },
{ id: '5uOR3t64Y04', title: `Carmen San Diego GraphQL API Federation Challenge Hunt for the Elusive Master Thief - LeRenzo Malcom` },
{ id: 'VPhgpQ4HBKQ', title: `Mr. Toad’s Wild Ride: A Rollicking, Declarative GraphQL Workshop - Jim Barton & Adam Sayah, Solo.io` },
{ id: '75F8hHAEiXU', title: `Safely Evolve Your Federated GraphQL Schema with GraphQL Hive - Laurin Quast & Kamil Kisiela` },
{ id: '9r9ven2C0mk', title: `RSC + GraphQL + RedwoodJS A New Era in Full Stack Development - Amy Dutton, RedwoodJS` },
{ id: 'cucENpg2UMc', title: `How @Defer and @Stream Will Improve GraphQL Caching - Andreas Heiberg, Stellate` },
{ id: 'TqyYJqBZYHk', title: `How to Make Your First Open Source Contribution - Donna Zhou, Atlassian` },
{ id: 'gO65JJRqjuc', title: `Isograph — Rethink GraphQL Powered React Apps - Robert Balicki, Pinterest` },
{ id: 'egdELZ72iP8', title: `Why Relay is a Must for your GraphQL APIs - Marion Schleifer, Hasura` },
{ id: 'b0iNvXu5ZlU', title: `@Defer All the Slow Things - Alessia Bellisario, Apollo GraphQL` },
{ id: '_5pTCIpVFmA', title: `Consuming GraphQL using C# - Brandon Minnick, AWS` },
{ id: 'pV14h7zuw4o', title: `4 Steps to a Successful GraphQL API Program - Lucy Shen, Suresh Muthu & Jared Cheney, Intuit` },
{ id: 'VdHHfrqQUYQ', title: `The New GraphiQL and the Future of Open GraphQL IDEs - Dimitri Postolov, The Guild Thomas Heyenbrock` },
{ id: 'KsZiwPWjspU', title: `GraphQL IRL: Pitfalls, Surprises and Successes - Kewei Qu, Meta Platforms` },
{ id: '4ao-zjiOGx8', title: `The Future of Efficiency Is Here: Add Planning to Your Schema! - Benjie Gillam, Graphile` },
{
id: "vWQYI5fNytM",
title: `Dataloader 3.0: An Alternative Algorithm to Solve N+1 Problems - Jens Neuse, WunderGraph`,
},
{
id: "8c8NfeGFMk8",
title: `How to Choose a GraphQL Gateway - Dotan Simha, The Guild`,
},
{
id: "fuC2yM2RMjQ",
title: `Breaking the Mold Innovative Approaches to Testing GraphQL APIs - Pooja Mistry, Postman`,
},
{
id: "OhvSuqxfKcc",
title: `Adoption of GraphQL in Meta Ads Manager - Bryan Yang & Yuanchao Zhu, Meta`,
},
{
id: "MzMsDZTYEjY",
title: `The Benefits of Code First Over Schema First in GraphQL - Patrick Arminio, Apollo`,
},
{
id: "tjuVrOhdyGY",
title: `Shared Schema Policies & Automatic Standards Across Your Company’s Teams - Dimitri Postolov`,
},
{
id: "BpbkFr2udAY",
title: `The Evolution of GraphQL Code Generation - Laurin Quast, The Guild`,
},
{ id: "bnWMiI9q4bc", title: `Why AI needs GraphQL - Anant Jhingran, IBM` },
{
id: "ig_6h1Xtb9U",
title: `GraphQL in Production Empowering Efficient Data Retrieval and Unleashing Developer Productivity`,
},
{
id: "ZZ73jHB1hIs",
title: `Scaling the Data Access by Leveraging GraphQL Federation for Service to Service Communication`,
},
{
id: "a6Bn1thHrtg",
title: `AI, GraphQL, and the Rise of Malleable Applications - Aleksandra Sikora, The Guild`,
},
{
id: "kqWpIWccUBc",
title: `Not Your Regular Rate Limiting - Meenakshi Dhanani, Postman`,
},
{
id: "2hiUkWl8tLo",
title: `Unify Data Sources with GraphQL at the Edge - Jamie Barton, Grafbase`,
},
{
id: "JszOuY11ob8",
title: `Scaling Schema Cardinality Constructing Types at Runtime - Spencer MacKinnon`,
},
{
id: "pDkvA5KKFw4",
title: `The evolution of the GraphQL Orchestrator powering Intuit Consumer Apps- Ashpak Shaikh, Intuit`,
},
{
id: "2KsP_x50tGk",
title: `Deep Learnings Migrating legacy services to Federated GraphQL - Christian Ernst, Booking.com`,
},
{
id: "68WiJpEQt6E",
title: `Improving User Experiences with a Nullable Schema - Ernie Turner, Coinbase`,
},
{
id: "k5Qec3OvKjU",
title: `Fixing the Billion Dollar Mistake Client Controlled Nullability - Stephen Spalding, Netflix`,
},
{
id: "UjDnrrTp7uI",
title: `Increase Your Productivity With No Code GraphQL Mocking - Laurent Broudoux, Microcks Co Founder`,
},
{
id: "tpcsMFu1apY",
title: `Why Your GraphQL APIs Are Increasingly Under Attack - Shahar Binyamin, Inigo`,
},
{
id: "JvK06Ct8o14",
title: `Building Geospatial GraphQL APIs By Leveraging GraphQL Database Integrations - William Lyon, Neo4j`,
},
{
id: "J5I7k33JZ_c",
title: `GraphQL Is a Superpower for Your Product Manager and Designer - Jeff Auriemma, Apollo GraphQL`,
},
{ id: "Fv8ei-lq230", title: `Closing Remarks - Keith Babo, Solo.io` },
{
id: "ILWuverF8Ss",
title: `Navigating the Future GraphQL’s Expansion, AI Adoption, and Modern Languages - Adapting for Success`,
},
{
id: "pq449oB9GOU",
title: `GraphQL Everywhere - How GraphQL is Being Used in Places You Never Thought Were Possible - Uri Golds`,
},
{
id: "45V30LhPynY",
title: `Training and Using Generative AI Models with GraphQL - Idit Levine, Solo.io`,
},
{
id: "jgv7Reqc2II",
title: `Is a GraphQL BFF Necessary in a Server Side React World (RSC, SAs) - Tanmai Gopal, CEO & Co-Founder`,
},
{
id: "U4MOw7AUI6c",
title: `GraphQL Saving Lives - Leveraging Federation and Domain Experts to Help People Beat Addiction`,
},
{ id: "QRUlbRMq14Y", title: `Welcome Remarks - Keith Babo, Solo.io` },
{
id: "Jr01x-VDQRE",
title: `Houdini: A GraphQL First Meta Framework - Alec Aivazis, Arista Networks`,
},
{
id: "9AML1JtkFKs",
title: `Building Tooling That Speaks GraphQL - Tim Hall, Postman`,
},
{
id: "2dnTokI7v6c",
title: `Sophisticated Schema Mocking Stephanie Saunders, Coinbase`,
},
{
id: "l9Nm33Dj98g",
title: `Exposing All Wix APIs via GraphQL Automatically Centralizing GraphQL Schema Generation - Gonen Jerbi`,
},
{
id: "Zq31RkovhKI",
title: `Rust-Powered Fullstack GraphQL From Actix-Web & Juniper Server to WASM Yew Client - Yassin Eldeeb`,
},
{
id: "6rcJR1DGWJQ",
title: `GraphQL Mesh - A Federated Gateway for Any API Protocol - GraphQL, OpenAPI, gRPC and More - Arda Ta`,
},
{
id: "tiOpoGdxiMo",
title: `Build and Deploy Instant GraphQL APIs to the Edge - Jamie Barton, Grafbase`,
},
{
id: "5uOR3t64Y04",
title: `Carmen San Diego GraphQL API Federation Challenge Hunt for the Elusive Master Thief - LeRenzo Malcom`,
},
{
id: "VPhgpQ4HBKQ",
title: `Mr. Toad’s Wild Ride: A Rollicking, Declarative GraphQL Workshop - Jim Barton & Adam Sayah, Solo.io`,
},
{
id: "75F8hHAEiXU",
title: `Safely Evolve Your Federated GraphQL Schema with GraphQL Hive - Laurin Quast & Kamil Kisiela`,
},
{
id: "9r9ven2C0mk",
title: `RSC + GraphQL + RedwoodJS A New Era in Full Stack Development - Amy Dutton, RedwoodJS`,
},
{
id: "cucENpg2UMc",
title: `How @Defer and @Stream Will Improve GraphQL Caching - Andreas Heiberg, Stellate`,
},
{
id: "TqyYJqBZYHk",
title: `How to Make Your First Open Source Contribution - Donna Zhou, Atlassian`,
},
{
id: "gO65JJRqjuc",
title: `Isograph — Rethink GraphQL Powered React Apps - Robert Balicki, Pinterest`,
},
{
id: "egdELZ72iP8",
title: `Why Relay is a Must for your GraphQL APIs - Marion Schleifer, Hasura`,
},
{
id: "b0iNvXu5ZlU",
title: `@Defer All the Slow Things - Alessia Bellisario, Apollo GraphQL`,
},
{
id: "_5pTCIpVFmA",
title: `Consuming GraphQL using C# - Brandon Minnick, AWS`,
},
{
id: "pV14h7zuw4o",
title: `4 Steps to a Successful GraphQL API Program - Lucy Shen, Suresh Muthu & Jared Cheney, Intuit`,
},
{
id: "VdHHfrqQUYQ",
title: `The New GraphiQL and the Future of Open GraphQL IDEs - Dimitri Postolov, The Guild Thomas Heyenbrock`,
},
{
id: "KsZiwPWjspU",
title: `GraphQL IRL: Pitfalls, Surprises and Successes - Kewei Qu, Meta Platforms`,
},
{
id: "4ao-zjiOGx8",
title: `The Future of Efficiency Is Here: Add Planning to Your Schema! - Benjie Gillam, Graphile`,
},
]