File tree Expand file tree Collapse file tree 6 files changed +11
-16
lines changed
Expand file tree Collapse file tree 6 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ export interface ActorRun extends ActorRunListItem {
417417 usageUsd ?: ActorRunUsage ;
418418 pricingInfo ?: ActorRunPricingInfo ;
419419 chargedEventCounts ?: Record < string , number > ;
420- generalAccess ?: RUN_GENERAL_ACCESS | null ,
420+ generalAccess ?: RUN_GENERAL_ACCESS | null ;
421421}
422422
423423export interface ActorRunUsage {
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ export interface Dataset {
181181 actRunId ?: string ;
182182 stats : DatasetStats ;
183183 fields : string [ ] ;
184- generalAccess ?: STORAGE_GENERAL_ACCESS | null ,
184+ generalAccess ?: STORAGE_GENERAL_ACCESS | null ;
185185}
186186
187187export interface DatasetStats {
@@ -194,7 +194,7 @@ export interface DatasetStats {
194194export interface DatasetClientUpdateOptions {
195195 name ?: string | null ;
196196 title ?: string ;
197- generalAccess ?: STORAGE_GENERAL_ACCESS | null ,
197+ generalAccess ?: STORAGE_GENERAL_ACCESS | null ;
198198}
199199
200200export interface DatasetClientListItemOptions {
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ export interface KeyValueStore {
233233 actId ?: string ;
234234 actRunId ?: string ;
235235 stats ?: KeyValueStoreStats ;
236- generalAccess ?: STORAGE_GENERAL_ACCESS | null ,
236+ generalAccess ?: STORAGE_GENERAL_ACCESS | null ;
237237}
238238
239239export interface KeyValueStoreStats {
@@ -247,7 +247,7 @@ export interface KeyValueStoreStats {
247247export interface KeyValueClientUpdateOptions {
248248 name ?: string | null ;
249249 title ?: string ;
250- generalAccess ?: STORAGE_GENERAL_ACCESS | null ,
250+ generalAccess ?: STORAGE_GENERAL_ACCESS | null ;
251251}
252252
253253export interface KeyValueClientListKeysOptions {
Original file line number Diff line number Diff line change 11import ow from 'ow' ;
22import type { JsonObject } from 'type-fest' ;
33
4- import type {
5- STORAGE_GENERAL_ACCESS
6- } from '@apify/consts' ;
7- import {
8- MAX_PAYLOAD_SIZE_BYTES ,
9- REQUEST_QUEUE_MAX_REQUESTS_PER_BATCH_OPERATION
10- } from '@apify/consts' ;
4+ import type { STORAGE_GENERAL_ACCESS } from '@apify/consts' ;
5+ import { MAX_PAYLOAD_SIZE_BYTES , REQUEST_QUEUE_MAX_REQUESTS_PER_BATCH_OPERATION } from '@apify/consts' ;
116import log from '@apify/log' ;
127
138import type { ApifyApiError } from '../apify_api_error' ;
@@ -558,7 +553,7 @@ export interface RequestQueue {
558553 actRunId ?: string ;
559554 hadMultipleClients : boolean ;
560555 stats : RequestQueueStats ;
561- generalAccess ?: STORAGE_GENERAL_ACCESS | null ,
556+ generalAccess ?: STORAGE_GENERAL_ACCESS | null ;
562557}
563558
564559export interface RequestQueueStats {
@@ -572,7 +567,7 @@ export interface RequestQueueStats {
572567export interface RequestQueueClientUpdateOptions {
573568 name ?: string | null ;
574569 title ?: string ;
575- generalAccess ?: STORAGE_GENERAL_ACCESS | null ,
570+ generalAccess ?: STORAGE_GENERAL_ACCESS | null ;
576571}
577572
578573export interface RequestQueueClientListHeadOptions {
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ export interface RunMetamorphOptions {
282282export interface RunUpdateOptions {
283283 statusMessage ?: string ;
284284 isStatusMessageTerminal ?: boolean ;
285- generalAccess ?: RUN_GENERAL_ACCESS | null ,
285+ generalAccess ?: RUN_GENERAL_ACCESS | null ;
286286}
287287
288288export interface RunResurrectOptions {
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ describe('Run methods', () => {
308308
309309 await expect ( client . run ( runId ) . charge ( ) ) . rejects . toThrow (
310310 'Expected `options` to be of type `object` but received type `undefined`\n' +
311- 'Cannot convert undefined or null to object in object `options`' ,
311+ 'Cannot convert undefined or null to object in object `options`' ,
312312 ) ;
313313 } ) ;
314314 } ) ;
You can’t perform that action at this time.
0 commit comments