@xapp/arachne-parsers
Advanced tools
Comparing version 0.6.1 to 0.6.2
/*! Copyright (c) 2020, XAPP AI */ | ||
import { Answer, Thing, FAQPage, Organization, QAPage, Question, Service, LocalBusiness, HomeAndConstructionBusiness } from "schema-dts"; | ||
import { Answer, FAQPage, HomeAndConstructionBusiness, LocalBusiness, Organization, PostalAddress, QAPage, Question, Service, Thing } from "schema-dts"; | ||
export interface IDReference { | ||
@@ -40,1 +40,2 @@ /** IRI identifying the canonical address of this object. **/ | ||
export declare function isHomeConstructionBusiness(thing: Thing): thing is HomeAndConstructionBusiness; | ||
export declare function isPostalAddress(thing: Thing): thing is PostalAddress; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isHomeConstructionBusiness = exports.isLocalBusiness = exports.isService = exports.isOrganization = exports.isAnswer = exports.isQuestion = exports.isQAPage = exports.isFAQPage = exports.hasType = exports.isTyped = void 0; | ||
exports.isPostalAddress = exports.isHomeConstructionBusiness = exports.isLocalBusiness = exports.isService = exports.isOrganization = exports.isAnswer = exports.isQuestion = exports.isQAPage = exports.isFAQPage = exports.hasType = exports.isTyped = void 0; | ||
function isTyped(thing) { | ||
@@ -79,2 +79,6 @@ return !!thing && !!thing["@type"]; | ||
exports.isHomeConstructionBusiness = isHomeConstructionBusiness; | ||
function isPostalAddress(thing) { | ||
return hasType(thing, ["PostalAddress"]); | ||
} | ||
exports.isPostalAddress = isPostalAddress; | ||
//# sourceMappingURL=guards.js.map |
{ | ||
"name": "@xapp/arachne-parsers", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"types": "lib/index", | ||
@@ -46,3 +46,3 @@ "main": "lib/index", | ||
}, | ||
"gitHead": "f46a5f6a7f4c64b97555f393cfd26df11b85e0f7" | ||
"gitHead": "9a263d95de9a4d87f1e9680b760252966986bc46" | ||
} |
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
59382
868