Skip to content

Commit

Permalink
fix(components): export SchemaOrgEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Aug 17, 2022
1 parent 9a64769 commit 137bcda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/schema-org/runtime-mock/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export function defineSchemaOrgComponent(name: string) {
export const SchemaOrgArticle = defineSchemaOrgComponent('SchemaOrgArticle')
export const SchemaOrgBreadcrumb = defineSchemaOrgComponent('SchemaOrgBreadcrumb')
export const SchemaOrgComment = defineSchemaOrgComponent('SchemaOrgComment')
export const SchemaOrgEvent = defineSchemaOrgComponent('SchemaOrgEvent')
export const SchemaOrgHowTo = defineSchemaOrgComponent('SchemaOrgHowTo')
export const SchemaOrgOrganization = defineSchemaOrgComponent('SchemaOrgOrganization')
export const SchemaOrgPerson = defineSchemaOrgComponent('SchemaOrgPerson')
Expand Down
3 changes: 2 additions & 1 deletion packages/schema-org/runtime/components/nodes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { computed, defineComponent, h, ref, unref } from 'vue'
// @ts-expect-error untyped
import { defineArticle, defineBreadcrumb, defineComment, defineHowTo, defineImage, defineLocalBusiness, defineOrganization, definePerson, defineProduct, defineQuestion, defineRecipe, defineReview, defineVideo, defineWebPage, defineWebSite } from '#vueuse/schema-org/provider'
import { defineArticle, defineBreadcrumb, defineComment, defineEvent, defineHowTo, defineImage, defineLocalBusiness, defineOrganization, definePerson, defineProduct, defineQuestion, defineRecipe, defineReview, defineVideo, defineWebPage, defineWebSite } from '#vueuse/schema-org/provider'
// @ts-expect-error untyped
import { useSchemaOrg } from '#vueuse/schema-org/runtime'

Expand Down Expand Up @@ -90,6 +90,7 @@ export const defineSchemaOrgComponent = (name: string, defineFn: (input: any) =>
export const SchemaOrgArticle = defineSchemaOrgComponent('SchemaOrgArticle', defineArticle)
export const SchemaOrgBreadcrumb = defineSchemaOrgComponent('SchemaOrgBreadcrumb', defineBreadcrumb)
export const SchemaOrgComment = defineSchemaOrgComponent('SchemaOrgComment', defineComment)
export const SchemaOrgEvent = defineSchemaOrgComponent('SchemaOrgEvent', defineEvent)
export const SchemaOrgHowTo = defineSchemaOrgComponent('SchemaOrgHowTo', defineHowTo)
export const SchemaOrgOrganization = defineSchemaOrgComponent('SchemaOrgOrganization', defineOrganization)
export const SchemaOrgPerson = defineSchemaOrgComponent('SchemaOrgPerson', definePerson)
Expand Down

0 comments on commit 137bcda

Please sign in to comment.