Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianAndersen committed Oct 18, 2023
1 parent 7683393 commit f9a8a30
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/bl-api-error/bl-api-permission-denied-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class BlApiPermissionDeniedError extends BlApiError {
msg?: string,
code?: number,
permission?: UserPermission,
permissionRequired?: UserPermission
permissionRequired?: UserPermission,
) {
super(msg, code);

Expand Down
2 changes: 1 addition & 1 deletion src/bl-api-error/bl-api-user-already-exists-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class BlApiUserAlreadyExistsError extends BlApiError {
msg?: string,
code?: number,
permission?: UserPermission,
permissionRequired?: UserPermission
permissionRequired?: UserPermission,
) {
super(msg, code);

Expand Down
2 changes: 1 addition & 1 deletion src/bl-api-error/bl-api-username-and-password-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class BlApiUsernameAndPasswordError extends BlApiError {
msg?: string,
code?: number,
permission?: UserPermission,
permissionRequired?: UserPermission
permissionRequired?: UserPermission,
) {
super(msg, code);

Expand Down
6 changes: 3 additions & 3 deletions src/branch/branch-payment-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class BranchPaymentInfo {
percentageBuyoutUsed: number; // same as percentageBuyout but for when the item is used
percentageUpFront: number; // item.price * this desides what the customer needs to pay upfront
percentageUpFrontUsed: number; // same as percentageUpFront but for when teh item is used
}
},
];
loanPeriods?: {
type: Period;
Expand All @@ -29,7 +29,7 @@ export class BranchPaymentInfo {
date: Date;
maxNumberOfPeriods: number; // max number of periods of this type one item can be rented
percentage: number; //the percentage of the item.price the rent price is
}
},
];
extendPeriods: [
{
Expand All @@ -38,7 +38,7 @@ export class BranchPaymentInfo {
maxNumberOfPeriods: number; // the max number of periods this item can be extended
price: number; // the price of the extend period
percentage?: number; //if set then use percentage of item
}
},
];
buyout?: {
// buyout needs only to be described when rent is possible
Expand Down
2 changes: 1 addition & 1 deletion src/branch/branch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Branch extends BlDocument {
// the item categories
name: string; // the name of the category
items: string[]; // the items this category have
}
},
];
location?: {
region: string;
Expand Down
4 changes: 2 additions & 2 deletions src/match/match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class UserMatch extends MatchBase {
public receiver: string,
// items which are expected to be handed over from sender to receiver
public expectedItems: string[],
meetingInfo: MatchBase["meetingInfo"]
meetingInfo: MatchBase["meetingInfo"],
) {
super(meetingInfo);
}
Expand All @@ -53,7 +53,7 @@ export class StandMatch extends MatchBase {
public expectedHandoffItems: string[],
// items which are expected to be picked up from stand
public expectedPickupItems: string[],
meetingInfo: MatchBase["meetingInfo"]
meetingInfo: MatchBase["meetingInfo"],
) {
super(meetingInfo);
}
Expand Down

0 comments on commit f9a8a30

Please sign in to comment.