Skip to content

Commit 3891c14

Browse files
committed
Refactor to include only Event properties supported by Google Structured Data, removed CreativeWork and Place root nodes
1 parent 8c3e74e commit 3891c14

File tree

12 files changed

+55
-1133
lines changed

12 files changed

+55
-1133
lines changed

packages/nuxt/src/runtime/composables.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ import { isFunction } from '@vue/shared'
22
import { computed } from 'vue'
33
import { useNuxtApp } from '#app'
44

5-
// eslint-disable-next-line import/export
65
export * from '@vueuse/schema-org'
76

8-
// eslint-disable-next-line import/export
97
export function useSchemaOrg(schema) {
108
const resolvedSchema = isFunction(schema) ? computed(schema) : schema
119
useNuxtApp()._useSchemaOrg(resolvedSchema)

packages/schema-org/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ export * from './useSchemaOrg'
22
export * from './nodes/Article'
33
export * from './nodes/Breadcrumb'
44
export * from './nodes/Comment'
5-
export * from './nodes/CreativeWork'
65
export * from './nodes/Event'
76
export * from './nodes/HowTo'
87
export * from './nodes/Organization'
98
export * from './nodes/Person'
109
export * from './nodes/Image'
1110
export * from './nodes/LocalBusiness'
12-
export * from './nodes/Place'
1311
export * from './nodes/Product'
1412
export * from './nodes/Question'
1513
export * from './nodes/Review'

packages/schema-org/nodes/CreativeWork/index.test.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)