mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 21:25:26 +00:00
Fixed typings typos
This commit is contained in:
16
index.d.ts
vendored
16
index.d.ts
vendored
@@ -4,11 +4,11 @@ export declare class Pass {
|
|||||||
constructor(options: Schema.Instance);
|
constructor(options: Schema.Instance);
|
||||||
|
|
||||||
public transitType: "PKTransitTypeAir" | "PKTransitTypeBoat" | "PKTransitTypeBus" | "PKTransitTypeGeneric" | "PKTransitTypeTrain";
|
public transitType: "PKTransitTypeAir" | "PKTransitTypeBoat" | "PKTransitTypeBus" | "PKTransitTypeGeneric" | "PKTransitTypeTrain";
|
||||||
public headerFields: Field[];
|
public headerFields: Schema.Field[];
|
||||||
public primaryFields: Field[];
|
public primaryFields: Schema.Field[];
|
||||||
public secondaryFields: Field[];
|
public secondaryFields: Schema.Field[];
|
||||||
public auxiliaryFields: (Field & { row: number })[];
|
public auxiliaryFields: (Schema.Field & { row: number })[];
|
||||||
public backFields: Field[];
|
public backFields: Schema.Field[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates a Stream of a zip file using the infos passed through overrides or methods.
|
* Generates a Stream of a zip file using the infos passed through overrides or methods.
|
||||||
@@ -163,7 +163,7 @@ declare namespace Schema {
|
|||||||
totalPrice?: SemanticsCurrencyAmount;
|
totalPrice?: SemanticsCurrencyAmount;
|
||||||
// boarding Passes and Events
|
// boarding Passes and Events
|
||||||
duration?: number;
|
duration?: number;
|
||||||
seats?: Seat[];
|
seats?: SemanticsSeat[];
|
||||||
silenceRequested?: boolean;
|
silenceRequested?: boolean;
|
||||||
// all boarding passes
|
// all boarding passes
|
||||||
departureLocation?: SemanticsLocation;
|
departureLocation?: SemanticsLocation;
|
||||||
@@ -227,12 +227,12 @@ declare namespace Schema {
|
|||||||
sportName?: string;
|
sportName?: string;
|
||||||
// Store Card Passes
|
// Store Card Passes
|
||||||
balance?: SemanticsCurrencyAmount;
|
balance?: SemanticsCurrencyAmount;
|
||||||
};
|
}
|
||||||
|
|
||||||
interface SemanticsCurrencyAmount {
|
interface SemanticsCurrencyAmount {
|
||||||
currencyCode: string;
|
currencyCode: string;
|
||||||
amount: string;
|
amount: string;
|
||||||
};
|
}
|
||||||
|
|
||||||
interface SemanticsPersonNameComponents {
|
interface SemanticsPersonNameComponents {
|
||||||
givenName: string;
|
givenName: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user