Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 21, 2024
1 parent cf0351e commit baa41a3
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
12 changes: 6 additions & 6 deletions src/author.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,32 +85,32 @@ export type AuthorOptions = Partial<{
/**
* The author's mail address. If you set it to `"[email protected]"`, Akismet will always return `true`.
*/
email: string;
email: string,

/**
* The author's IP address.
*/
ipAddress: string;
ipAddress: string,

/**
* The author's name. If you set it to `"viagra-test-123"`, Akismet will always return `true`.
*/
name: string;
name: string,

/**
* The author's role. If you set it to `"administrator"`, Akismet will always return `false`.
*/
role: string;
role: string,

/**
* The URL of the author's website.
*/
url: URL|string;
url: URL|string,

/**
* The author's user agent, that is the string identifying the Web browser used to submit comments.
*/
userAgent: string;
userAgent: string
}>;

/**
Expand Down
6 changes: 3 additions & 3 deletions src/blog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ export type BlogOptions = Partial<{
/**
* The character encoding for the values included in comments.
*/
charset: string;
charset: string,

/**
* The languages in use on the blog or site, in ISO 639-1 format.
*/
languages: Array<string>;
languages: Array<string>,

/**
* The blog or site URL.
*/
url: URL|string;
url: URL|string
}>;
6 changes: 3 additions & 3 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ export type ClientOptions = Partial<{
/**
* The base URL of the remote API endpoint.
*/
baseUrl: URL|string;
baseUrl: URL|string,

/**
* Value indicating whether the client operates in test mode.
*/
isTest: boolean;
isTest: boolean,

/**
* The user agent string to use when making requests.
*/
userAgent: string;
userAgent: string
}>;
18 changes: 9 additions & 9 deletions src/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,47 +112,47 @@ export type CommentOptions = Partial<{
/**
* The comment's author.
*/
author: Author|null;
author: Author|null,

/**
* The comment's content.
*/
content: string;
content: string,

/**
* The context in which this comment was posted.
*/
context: Array<string>;
context: Array<string>,

/**
* The UTC timestamp of the creation of the comment.
*/
date: Date|null;
date: Date|null,

/**
* The permanent location of the entry the comment is submitted to.
*/
permalink: URL|string;
permalink: URL|string,

/**
* The UTC timestamp of the publication time for the post, page or thread on which the comment was posted.
*/
postModified: Date|null;
postModified: Date|null,

/**
* A string describing why the content is being rechecked.
*/
recheckReason: string;
recheckReason: string,

/**
* The URL of the webpage that linked to the entry being requested.
*/
referrer: URL|string;
referrer: URL|string,

/**
* The comment's type.
*/
type: string;
type: string
}>;

/**
Expand Down
8 changes: 4 additions & 4 deletions src/usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,20 @@ export type UsageOptions = Partial<{
/**
* The number of monthly API calls your plan entitles you to.
*/
limit: number;
limit: number,

/**
* The percentage of the limit used since the beginning of the month.
*/
percentage: number;
percentage: number,

/**
* Value indicating whether the requests are being throttled for having consistently gone over the limit.
*/
throttled: boolean;
throttled: boolean,

/**
* The number of calls (spam + ham) since the beginning of the month.
*/
usage: number;
usage: number
}>;

0 comments on commit baa41a3

Please sign in to comment.