From e03db964075f9a058c029c641c5ae36cd1b9bb55 Mon Sep 17 00:00:00 2001 From: Christophe Carvalho Vilas-Boas Date: Sat, 23 Nov 2024 18:04:38 +0100 Subject: [PATCH 1/5] feat(types): Strapi v5 types for Sort & Populate params --- playground/nuxt.config.ts | 2 +- playground/pages/index.vue | 29 +++++++++++++++++++++++++ src/runtime/composables-v5/useStrapi.ts | 20 ++++++++--------- src/runtime/types/v5.ts | 19 +++++++++++----- 4 files changed, 54 insertions(+), 16 deletions(-) diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index c89af3ab..c9998906 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -14,7 +14,7 @@ export default defineNuxtConfig({ // }, strapi: { - version: 'v3', + version: 'v5', url: 'http://localhost:1337' // To enable the devtools, read https://strapi.nuxtjs.org/devtools // devtools: true diff --git a/playground/pages/index.vue b/playground/pages/index.vue index 5f659d6f..8f05e55b 100644 --- a/playground/pages/index.vue +++ b/playground/pages/index.vue @@ -52,6 +52,7 @@