@dargmuesli/nuxt-vio 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/app.config.ts +40 -35
  2. package/package.json +1 -1
package/app.config.ts CHANGED
@@ -1,52 +1,57 @@
1
1
  import { useSeoMeta } from '@unhead/vue'
2
2
 
3
3
  export default defineAppConfig({
4
- legalNotice: undefined as
5
- | {
6
- contact: {
7
- email: string
4
+ legalNotice: undefined,
5
+ privacyPolicy: undefined,
6
+ seoMeta: {
7
+ twitterSite: '@dargmuesli',
8
+ },
9
+ themeColor: '#202020',
10
+ })
11
+
12
+ declare module 'nuxt/schema' {
13
+ interface AppConfigInput {
14
+ legalNotice?: {
15
+ contact: {
16
+ email: string
17
+ }
18
+ responsibility: {
19
+ address: {
20
+ city: string
21
+ name: string
22
+ street: string
8
23
  }
9
- responsibility: {
24
+ }
25
+ tmg: {
26
+ address: {
27
+ city: string
28
+ name: string
29
+ street: string
30
+ }
31
+ }
32
+ }
33
+ privacyPolicy?: {
34
+ hostingCdn?: {
35
+ external: {
10
36
  address: {
11
37
  city: string
12
38
  name: string
13
39
  street: string
14
40
  }
15
41
  }
16
- tmg: {
42
+ }
43
+ mandatoryInfo?: {
44
+ responsible: {
17
45
  address: {
18
46
  city: string
47
+ email: string
19
48
  name: string
20
49
  street: string
21
50
  }
22
51
  }
23
52
  }
24
- | undefined,
25
- privacyPolicy: undefined as
26
- | {
27
- hostingCdn?: {
28
- external: {
29
- address: {
30
- city: string
31
- name: string
32
- street: string
33
- }
34
- }
35
- }
36
- mandatoryInfo?: {
37
- responsible: {
38
- address: {
39
- city: string
40
- email: string
41
- name: string
42
- street: string
43
- }
44
- }
45
- }
46
- }
47
- | undefined,
48
- seoMeta: {
49
- twitterSite: '@dargmuesli',
50
- } as Parameters<typeof useSeoMeta>[0] | undefined,
51
- themeColor: '#202020' as string | undefined,
52
- })
53
+ }
54
+ seoMeta?: Parameters<typeof useSeoMeta>[0]
55
+ themeColor?: string
56
+ }
57
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"