Skip to content

Commit 4ff1058

Browse files
authored
chore: adjust comment formatting (#215)
1 parent 4c7ec56 commit 4ff1058

File tree

27 files changed

+506
-190
lines changed

27 files changed

+506
-190
lines changed

packages/clients/src/api/applesilicon/v1alpha1/api.gen.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ const jsonContentHeaders = {
5656
* Get set to explore, learn and build on a dedicated Mac mini M1 with more
5757
* performance and speed than you ever thought possible.
5858
*
59-
* _Apple silicon as a Service comes with a minimum allocation period of 24 hours_*.
59+
* _Apple silicon as a Service comes with a minimum allocation period of 24
60+
* hours_*.
6061
*
6162
* Mac mini and macOS are trademarks of Apple Inc., registered in the U.S. and
6263
* other countries and regions. IOS is a trademark or registered trademark of

packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ export type ListServersRequest = {
151151
organizationId?: string
152152
/** A positive integer to choose the page to return */
153153
page?: number
154-
/** A positive integer lower or equal to 100 to select the number of items to return */
154+
/**
155+
* A positive integer lower or equal to 100 to select the number of items to
156+
* return
157+
*/
155158
pageSize?: number
156159
}
157160

@@ -160,11 +163,17 @@ export type ListOSRequest = {
160163
zone?: Zone
161164
/** A positive integer to choose the page to return */
162165
page?: number
163-
/** A positive integer lower or equal to 100 to select the number of items to return */
166+
/**
167+
* A positive integer lower or equal to 100 to select the number of items to
168+
* return
169+
*/
164170
pageSize?: number
165171
/** List of compatible server type */
166172
serverType?: string
167-
/** Filter os by name (for eg. "11.1" will return "11.1.2" and "11.1" but not "12") */
173+
/**
174+
* Filter os by name (for eg. "11.1" will return "11.1.2" and "11.1" but not
175+
* "12")
176+
*/
168177
name?: string
169178
}
170179

packages/clients/src/api/baremetal/v1/api.gen.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ export class BaremetalV1GenAPI extends API {
289289
)
290290

291291
/**
292-
* Reboot the server associated with the given ID, use boot param to reboot in rescue.
292+
* Reboot the server associated with the given ID, use boot param to reboot in
293+
* rescue.
293294
*
294295
* @param request - The request {@link RebootServerRequest}
295296
* @returns A Promise of Server
@@ -419,7 +420,8 @@ export class BaremetalV1GenAPI extends API {
419420
)
420421

421422
/**
422-
* Get the BMC (Baseboard Management Controller) access associated with the given ID.
423+
* Get the BMC (Baseboard Management Controller) access associated with the
424+
* given ID.
423425
*
424426
* @param request - The request {@link GetBMCAccessRequest}
425427
* @returns A Promise of BMCAccess
@@ -440,7 +442,8 @@ export class BaremetalV1GenAPI extends API {
440442
)
441443

442444
/**
443-
* Stop BMC (Baseboard Management Controller) access associated with the given ID.
445+
* Stop BMC (Baseboard Management Controller) access associated with the given
446+
* ID.
444447
*
445448
* @param request - The request {@link StopBMCAccessRequest}
446449
*/

packages/clients/src/api/baremetal/v1/types.gen.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ export interface BMCAccess {
8686
* authentification
8787
*/
8888
password: string
89-
/** The date after which the BMC (Baseboard Management Controller) access will be closed */
89+
/**
90+
* The date after which the BMC (Baseboard Management Controller) access will
91+
* be closed
92+
*/
9093
expiresAt?: Date
9194
}
9295

@@ -400,9 +403,15 @@ export interface ServerInstall {
400403
sshKeyIds: Array<string>
401404
/** Status of the server install */
402405
status: ServerInstallStatus
403-
/** User defined in the server install or the default one if none were specified */
406+
/**
407+
* User defined in the server install or the default one if none were
408+
* specified
409+
*/
404410
user: string
405-
/** Service user defined in the server install or the default one if none were specified */
411+
/**
412+
* Service user defined in the server install or the default one if none were
413+
* specified
414+
*/
406415
serviceUser: string
407416
/** The address of the installed service */
408417
serviceUrl: string
@@ -534,7 +543,10 @@ export type UpdateServerRequest = {
534543
serverId: string
535544
/** Name of the server (≠hostname), not updated if null */
536545
name?: string
537-
/** Description associated to the server, max 255 characters, not updated if null */
546+
/**
547+
* Description associated to the server, max 255 characters, not updated if
548+
* null
549+
*/
538550
description?: string
539551
/** Tags associated to the server, not updated if null */
540552
tags?: Array<string>

packages/clients/src/api/domain/v2beta1/api.gen.ts

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ export class DomainV2Beta1GenAPI extends API {
189189
)
190190

191191
/**
192-
* Returns a list of manageable DNS zones. You can filter the DNS zones by domain name.
192+
* Returns a list of manageable DNS zones. You can filter the DNS zones by
193+
* domain name.
193194
*
194195
* @param request - The request {@link ListDNSZonesRequest}
195196
* @returns A Promise of ListDNSZonesResponse
@@ -360,7 +361,8 @@ export class DomainV2Beta1GenAPI extends API {
360361
)
361362

362363
/**
363-
* Returns a list of Nameservers and their optional glue records for a DNS zone.
364+
* Returns a list of Nameservers and their optional glue records for a DNS
365+
* zone.
364366
*
365367
* @param request - The request {@link ListDNSZoneNameserversRequest}
366368
* @returns A Promise of ListDNSZoneNameserversResponse
@@ -869,7 +871,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
869871
/**
870872
* Request the registration of an external domain name.
871873
*
872-
* @param request - The request {@link RegistrarApiRegisterExternalDomainRequest}
874+
* @param request - The request
875+
* {@link RegistrarApiRegisterExternalDomainRequest}
873876
* @returns A Promise of RegisterExternalDomainResponse
874877
*/
875878
registerExternalDomain = (
@@ -914,7 +917,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
914917
* Check if contacts are compatible against a domain or a tld. If not, it will
915918
* return the information requiring a correction.
916919
*
917-
* @param request - The request {@link RegistrarApiCheckContactsCompatibilityRequest}
920+
* @param request - The request
921+
* {@link RegistrarApiCheckContactsCompatibilityRequest}
918922
* @returns A Promise of CheckContactsCompatibilityResponse
919923
*/
920924
checkContactsCompatibility = (
@@ -974,7 +978,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
974978
enrichForPagination('contacts', this.pageOfListContacts, request)
975979

976980
/**
977-
* Return a contact details retrieved from the registrar using a given contact ID.
981+
* Return a contact details retrieved from the registrar using a given contact
982+
* ID.
978983
*
979984
* @param request - The request {@link RegistrarApiGetContactRequest}
980985
* @returns A Promise of Contact
@@ -1116,7 +1121,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
11161121

11171122
/**
11181123
* Update the domain contacts or create a new one.<br/> If you add the same
1119-
* contact for multiple roles. Only one ID will be created and used for all of them.
1124+
* contact for multiple roles. Only one ID will be created and used for all of
1125+
* them.
11201126
*
11211127
* @param request - The request {@link RegistrarApiUpdateDomainRequest}
11221128
* @returns A Promise of Domain
@@ -1186,7 +1192,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
11861192
/**
11871193
* Enable domain auto renew
11881194
*
1189-
* @param request - The request {@link RegistrarApiEnableDomainAutoRenewRequest}
1195+
* @param request - The request
1196+
* {@link RegistrarApiEnableDomainAutoRenewRequest}
11901197
* @returns A Promise of Domain
11911198
*/
11921199
enableDomainAutoRenew = (
@@ -1208,7 +1215,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
12081215
/**
12091216
* Disable domain auto renew
12101217
*
1211-
* @param request - The request {@link RegistrarApiDisableDomainAutoRenewRequest}
1218+
* @param request - The request
1219+
* {@link RegistrarApiDisableDomainAutoRenewRequest}
12121220
* @returns A Promise of Domain
12131221
*/
12141222
disableDomainAutoRenew = (
@@ -1230,7 +1238,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
12301238
/**
12311239
* If possible, return the auth code for an unlocked domain transfer, or an
12321240
* error if the domain is locked. Some TLD may have a different procedure to
1233-
* retrieve the auth code, in that case, the information is given in the message field.
1241+
* retrieve the auth code, in that case, the information is given in the
1242+
* message field.
12341243
*
12351244
* @param request - The request {@link RegistrarApiGetDomainAuthCodeRequest}
12361245
* @returns A Promise of GetDomainAuthCodeResponse
@@ -1325,7 +1334,8 @@ export class DomainRegistrarV2Beta1GenAPI extends API {
13251334
* If the TLD list is empty or not set the search returns the results from the
13261335
* most popular TLDs.
13271336
*
1328-
* @param request - The request {@link RegistrarApiSearchAvailableDomainsRequest}
1337+
* @param request - The request
1338+
* {@link RegistrarApiSearchAvailableDomainsRequest}
13291339
* @returns A Promise of SearchAvailableDomainsResponse
13301340
*/
13311341
searchAvailableDomains = (

packages/clients/src/api/domain/v2beta1/types.gen.ts

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,14 @@ export interface Domain {
384384
administrativeContact?: Contact
385385
/**
386386
* One-of ('registrationStatus'): at most one of
387-
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be set.
387+
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be
388+
* set.
388389
*/
389390
externalDomainRegistrationStatus?: DomainRegistrationStatusExternalDomain
390391
/**
391392
* One-of ('registrationStatus'): at most one of
392-
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be set.
393+
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be
394+
* set.
393395
*/
394396
transferRegistrationStatus?: DomainRegistrationStatusTransfer
395397
}
@@ -489,12 +491,14 @@ export interface DomainSummary {
489491
status: DomainStatus
490492
/**
491493
* One-of ('registrationStatus'): at most one of
492-
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be set.
494+
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be
495+
* set.
493496
*/
494497
externalDomainRegistrationStatus?: DomainRegistrationStatusExternalDomain
495498
/**
496499
* One-of ('registrationStatus'): at most one of
497-
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be set.
500+
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be
501+
* set.
498502
*/
499503
transferRegistrationStatus?: DomainRegistrationStatusTransfer
500504
organizationId: string
@@ -666,13 +670,25 @@ export interface OrderResponse {
666670
}
667671

668672
export interface RecordChange {
669-
/** One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be set. */
673+
/**
674+
* One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be
675+
* set.
676+
*/
670677
add?: RecordChangeAdd
671-
/** One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be set. */
678+
/**
679+
* One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be
680+
* set.
681+
*/
672682
set?: RecordChangeSet
673-
/** One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be set. */
683+
/**
684+
* One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be
685+
* set.
686+
*/
674687
delete?: RecordChangeDelete
675-
/** One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be set. */
688+
/**
689+
* One-of ('change'): at most one of 'add', 'set', 'delete', 'clear' could be
690+
* set.
691+
*/
676692
clear?: RecordChangeClear
677693
}
678694

@@ -875,9 +891,15 @@ export type UpdateDNSZoneRecordsRequest = {
875891
changes: Array<RecordChange>
876892
/** Whether or not to return all the records */
877893
returnAllRecords?: boolean
878-
/** Forbid the creation of the target zone if not existing (default action is yes) */
894+
/**
895+
* Forbid the creation of the target zone if not existing (default action is
896+
* yes)
897+
*/
879898
disallowNewZoneCreation: boolean
880-
/** Don't use the autoincremenent serial but the provided one (0 to keep the same) */
899+
/**
900+
* Don't use the autoincremenent serial but the provided one (0 to keep the
901+
* same)
902+
*/
881903
serial?: number
882904
}
883905

packages/clients/src/api/function/v1beta1/types.gen.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,15 @@ export interface CreateTriggerInputRequestSqsClientConfigSpec {
136136

137137
export interface CreateTriggerRequestNatsFailureHandlingPolicy {
138138
retryPolicy?: CreateTriggerRequestNatsFailureHandlingPolicyRetryPolicy
139-
/** One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter' could be set. */
139+
/**
140+
* One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter'
141+
* could be set.
142+
*/
140143
natsDeadLetter?: CreateTriggerRequestNatsFailureHandlingPolicyNatsDeadLetter
141-
/** One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter' could be set. */
144+
/**
145+
* One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter'
146+
* could be set.
147+
*/
142148
sqsDeadLetter?: CreateTriggerRequestNatsFailureHandlingPolicySqsDeadLetter
143149
}
144150

@@ -389,9 +395,15 @@ export interface TriggerNatsDeadLetter {
389395

390396
export interface TriggerNatsFailureHandlingPolicy {
391397
retryPolicy?: TriggerRetryPolicy
392-
/** One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter' could be set. */
398+
/**
399+
* One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter'
400+
* could be set.
401+
*/
393402
natsDeadLetter?: TriggerNatsDeadLetter
394-
/** One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter' could be set. */
403+
/**
404+
* One-of ('deadLetter'): at most one of 'natsDeadLetter', 'sqsDeadLetter'
405+
* could be set.
406+
*/
395407
sqsDeadLetter?: TriggerSqsDeadLetter
396408
}
397409

packages/clients/src/api/iam/v1alpha1/types.gen.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,15 @@ export interface RuleSpecs {
309309
/**
310310
* List of project IDs scoped to the rule.
311311
*
312-
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be set.
312+
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be
313+
* set.
313314
*/
314315
projectIds?: Array<string>
315316
/**
316317
* ID of organization scoped to the rule.
317318
*
318-
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be set.
319+
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be
320+
* set.
319321
*/
320322
organizationId?: string
321323
}

0 commit comments

Comments
 (0)