Interfaces
CanIUseOptions
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Properties
| Property | Type | Description |
|---|---|---|
importPath? | string | Restrict the answer to features exposed through this published import. |
CanIUseResult
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Type Parameters
| Type Parameter |
|---|
T extends QueryableFeatureSupport |
Properties
| Property | Type |
|---|---|
match | CanIUseMatch |
query | string |
supports | readonly T[] |
FeatureClaim
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Properties
| Property | Type |
|---|---|
assurance | Assurance |
behavior | string |
evidence | readonly string[] |
id | string |
kind | FeatureClaimKind |
status | string |
surface | string |
FeatureSupport
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Properties
| Property | Type |
|---|---|
assurance | Assurance |
availability | Availability |
caveats | readonly string[] |
claims | readonly FeatureClaim[] |
evidenceSlug | string |
feature | string |
fidelity | Fidelity |
importPaths | readonly string[] |
summary | string |
surface | DeveloperSurface |
ImportEvidence
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Properties
| Property | Type |
|---|---|
evidenceSlug | string |
importPath | string |
surface | DeveloperSurface |
Type Aliases
Assurance
type Assurance = "eligible" | "qualified" | "ineligible" | "not-applicable";
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Availability
type Availability = "available" | "unavailable" | "deferred" | "out-of-scope";
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
CanIUseMatch
type CanIUseMatch = "exact" | "ambiguous" | "suggestions" | "none";
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
DeveloperSurface
type DeveloperSurface =
| "ai"
| "app"
| "auth"
| "firestore"
| "firestore-rules"
| "functions-rtdb"
| "messaging"
| "messaging-admin"
| "rtdb"
| "rtdb-rules"
| "storage"
| "storage-rules";
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
FeatureClaimKind
type FeatureClaimKind = "runtime-export" | "type-export" | "registry-row" | "rules-construct";
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Fidelity
type Fidelity =
| "conforms"
| "diverged"
| "bug"
| "unsupported"
| "unverified"
| "not-applicable";
Query Pyric’s build-time conformance model by developer-facing feature name. Results keep availability, behavior fidelity, and assurance eligibility as separate trust axes.
Functions
canIUse()
function canIUse(query: string, options?: CanIUseOptions): CanIUseResult<FeatureSupport>;
Query the generated, build-time conformance support projection.
Parameters
| Parameter | Type |
|---|---|
query | string |
options? | CanIUseOptions |
Returns
canIUseImport()
function canIUseImport(importPath: string): ImportEvidence;
Find the generated compatibility-page evidence for a published import.
Parameters
| Parameter | Type |
|---|---|
importPath | string |