From baa41a3722d057e653b14b6b6c2fa5a4b1aae33a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Mon, 21 Oct 2024 16:39:51 +0200 Subject: [PATCH] Code formatting --- src/author.ts | 12 ++++++------ src/blog.ts | 6 +++--- src/client.ts | 6 +++--- src/comment.ts | 18 +++++++++--------- src/usage.ts | 8 ++++---- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/author.ts b/src/author.ts index ff76c6a..987dd57 100644 --- a/src/author.ts +++ b/src/author.ts @@ -85,32 +85,32 @@ export type AuthorOptions = Partial<{ /** * The author's mail address. If you set it to `"akismet-guaranteed-spam@example.com"`, 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 }>; /** diff --git a/src/blog.ts b/src/blog.ts index 905ceb4..f43d82a 100644 --- a/src/blog.ts +++ b/src/blog.ts @@ -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; + languages: Array, /** * The blog or site URL. */ - url: URL|string; + url: URL|string }>; diff --git a/src/client.ts b/src/client.ts index 6d992e1..0a948d2 100644 --- a/src/client.ts +++ b/src/client.ts @@ -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 }>; diff --git a/src/comment.ts b/src/comment.ts index 723e1ad..5861229 100644 --- a/src/comment.ts +++ b/src/comment.ts @@ -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; + context: Array, /** * 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 }>; /** diff --git a/src/usage.ts b/src/usage.ts index 0ddd220..511fd93 100644 --- a/src/usage.ts +++ b/src/usage.ts @@ -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 }>;