@unhead/schema-org-vue
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -696,3 +696,5 @@ import { ComponentResolver } from 'unplugin-vue-components'; | ||
name: string; | ||
address: NodeRelation<PostalAddress>; | ||
address: NodeRelation<PostalAddress | string>; | ||
latitude?: number | string; | ||
longitude?: number | string; | ||
} | ||
@@ -863,2 +865,77 @@ interface Place extends PlaceSimple { | ||
interface MonetaryAmountSimple extends Thing { | ||
/** | ||
* The currency in which the monetary amount is expressed. | ||
*/ | ||
currency: string; | ||
/** | ||
* The value of the quantitative value or property value node. | ||
*/ | ||
value: QuantitativeValue; | ||
} | ||
interface MonetaryAmount extends MonetaryAmountSimple { | ||
} | ||
interface QuantitativeSimple extends Thing { | ||
value?: number; | ||
minValue?: number; | ||
maxValue?: number; | ||
unitText: 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR'; | ||
} | ||
interface QuantitativeValue extends QuantitativeSimple { | ||
} | ||
interface JobPostingSimple extends Thing { | ||
/** | ||
* The original date that employer posted the job in ISO 8601 format. | ||
* For example, "2017-01-24" or "2017-01-24T19:33:17+00:00". | ||
*/ | ||
datePosted: ResolvableDate; | ||
/** | ||
* The full description of the job in HTML format. | ||
* | ||
* The description must be a complete representation of the job, including job responsibilities, qualifications, | ||
* skills, working hours, education requirements, and experience requirements. The description can't be the same as | ||
* the title | ||
*/ | ||
description: string; | ||
/** | ||
* The organization offering the job position. This must be the name of the company (for example, "Starbucks, Inc"), | ||
* and not the specific location that is hiring (for example, "Starbucks on Main Street"). | ||
*/ | ||
hiringOrganization: NodeRelation<Organization>; | ||
/** | ||
* The physical location(s) of the business where the employee will report to work (such as an office or worksite), | ||
* not the location where the job was posted. Include as many properties as possible. The more properties you provide, | ||
* the higher quality the job posting is to our users. Note that you must include the addressCountry property. | ||
*/ | ||
jobLocation: NodeRelation<Place>; | ||
/** | ||
* The title of the job (not the title of the posting). For example, "Software Engineer" or "Barista" | ||
*/ | ||
title: string; | ||
/** | ||
* The actual base salary for the job, as provided by the employer (not an estimate). | ||
*/ | ||
baseSalary?: MonetaryAmount; | ||
/** | ||
* Type of employment | ||
*/ | ||
employmentType?: 'FULL_TIME' | 'PART_TIME' | 'CONTRACTOR' | 'TEMPORARY' | 'INTERN' | 'VOLUNTEER' | 'PER_DIEM' | 'OTHER'; | ||
/** | ||
* The date when the job posting will expire in ISO 8601 format. For example, "2017-02-24" | ||
* or "2017-02-24T19:33:17+00:00". | ||
*/ | ||
validThrough?: ResolvableDate; | ||
/** | ||
* A description of the job location (e.g. TELECOMMUTE for telecommute jobs). | ||
*/ | ||
jobLocationType?: 'TELECOMMUTE'; | ||
/** | ||
* Indicates whether the URL that's associated with this job posting enables direct application for the job. | ||
*/ | ||
directApply?: boolean; | ||
} | ||
interface JobPosting extends JobPostingSimple { | ||
} | ||
type DayOfWeek = 'Friday' | 'Monday' | 'PublicHolidays' | 'Saturday' | 'Sunday' | 'Thursday' | 'Tuesday' | 'Wednesday'; | ||
@@ -1333,2 +1410,3 @@ type Time = `${number}${number}:${number}${number}`; | ||
declare const defineImage: <T extends Record<string, any>>(input?: DeepMaybeRef<ImageObject & T> | undefined) => DeepMaybeRef<ImageObject & T>; | ||
declare const defineJobPosting: <T extends Record<string, any>>(input?: DeepMaybeRef<JobPosting & T> | undefined) => DeepMaybeRef<JobPosting & T>; | ||
declare const defineLocalBusiness: <T extends Record<string, any>>(input?: DeepMaybeRef<LocalBusiness & T> | undefined) => DeepMaybeRef<LocalBusiness & T>; | ||
@@ -1407,2 +1485,9 @@ declare const defineOffer: <T extends Record<string, any>>(input?: DeepMaybeRef<Offer & T> | undefined) => DeepMaybeRef<Offer & T>; | ||
}>>, {}>; | ||
declare const SchemaOrgJobPosting: vue.DefineComponent<{ | ||
as: StringConstructor; | ||
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, { | ||
[key: string]: any; | ||
}> | null, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{ | ||
as: StringConstructor; | ||
}>>, {}>; | ||
declare const SchemaOrgLocalBusiness: vue.DefineComponent<{ | ||
@@ -1530,2 +1615,2 @@ as: StringConstructor; | ||
export { DeepMaybeRef, MetaInput, SchemaOrgArticle, SchemaOrgBook, SchemaOrgBreadcrumb, SchemaOrgComment, SchemaOrgCourse, SchemaOrgDebug, SchemaOrgEvent, SchemaOrgHowTo, SchemaOrgImage, SchemaOrgItemList, SchemaOrgLocalBusiness, SchemaOrgMovie, SchemaOrgOrganization, SchemaOrgPerson, SchemaOrgProduct, SchemaOrgQuestion, SchemaOrgRecipe, SchemaOrgResolver, SchemaOrgResolverOptions, SchemaOrgReview, SchemaOrgSoftwareApp, SchemaOrgUnheadPlugin, SchemaOrgVideo, SchemaOrgWebPage, SchemaOrgWebSite, UserConfig, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineHowTo, defineHowToStep, defineImage, defineItemList, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgComponent, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, schemaAutoImports, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg }; | ||
export { DeepMaybeRef, MetaInput, SchemaOrgArticle, SchemaOrgBook, SchemaOrgBreadcrumb, SchemaOrgComment, SchemaOrgCourse, SchemaOrgDebug, SchemaOrgEvent, SchemaOrgHowTo, SchemaOrgImage, SchemaOrgItemList, SchemaOrgJobPosting, SchemaOrgLocalBusiness, SchemaOrgMovie, SchemaOrgOrganization, SchemaOrgPerson, SchemaOrgProduct, SchemaOrgQuestion, SchemaOrgRecipe, SchemaOrgResolver, SchemaOrgResolverOptions, SchemaOrgReview, SchemaOrgSoftwareApp, SchemaOrgUnheadPlugin, SchemaOrgVideo, SchemaOrgWebPage, SchemaOrgWebSite, UserConfig, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgComponent, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, schemaAutoImports, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg }; |
{ | ||
"name": "@unhead/schema-org-vue", | ||
"type": "module", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Vue Schema.org for Simple and Automated Google Rich Results for everyone", | ||
@@ -49,3 +49,3 @@ "author": "Harlan Wilton <harlan@harlanzw.com>", | ||
"@unhead/schema": "^1.0.14", | ||
"@unhead/schema-org": "0.3.0", | ||
"@unhead/schema-org": "0.4.0", | ||
"@unhead/vue": "^1.0.14", | ||
@@ -52,0 +52,0 @@ "unplugin-vue-components": "^0.22.12", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
192536
5808