@dargmuesli/nuxt-vio 13.1.12 → 13.1.13

Sign up to get free protection for your applications and to get access to all the features.
package/nuxt.config.ts CHANGED
@@ -29,12 +29,16 @@ export default defineNuxtConfig(
29
29
  name: 'layout',
30
30
  },
31
31
  },
32
- devServer: {
33
- https: {
34
- key: './.config/certificates/ssl.key',
35
- cert: './.config/certificates/ssl.crt',
36
- },
37
- },
32
+ ...(process.env.NUXT_PUBLIC_SITE_URL
33
+ ? {}
34
+ : {
35
+ devServer: {
36
+ https: {
37
+ key: './.config/certificates/ssl.key',
38
+ cert: './.config/certificates/ssl.crt',
39
+ },
40
+ },
41
+ }),
38
42
  devtools: {
39
43
  timeline: {
40
44
  enabled: true,
package/package.json CHANGED
@@ -116,5 +116,5 @@
116
116
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
117
117
  },
118
118
  "type": "module",
119
- "version": "13.1.12"
119
+ "version": "13.1.13"
120
120
  }
package/types/fetch.d.ts CHANGED
@@ -6,3 +6,8 @@ export interface StrapiResult<T> {
6
6
  }
7
7
  }
8
8
  }
9
+
10
+ export interface CollectionItem<T> {
11
+ id: number
12
+ attributes: T
13
+ }