apify-cli 0.21.9 → 0.21.10-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/LICENSE.md +201 -0
- package/README.md +0 -1431
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/_register.js +68 -0
- package/dist/commands/_register.js.map +1 -0
- package/dist/commands/actor/_index.js +24 -0
- package/dist/commands/actor/_index.js.map +1 -0
- package/dist/commands/actor/charge.js +5 -3
- package/dist/commands/actor/charge.js.map +1 -1
- package/dist/commands/actor/get-input.js +3 -2
- package/dist/commands/actor/get-input.js.map +1 -1
- package/dist/commands/actor/get-public-url.js +4 -3
- package/dist/commands/actor/get-public-url.js.map +1 -1
- package/dist/commands/actor/get-value.js +4 -3
- package/dist/commands/actor/get-value.js.map +1 -1
- package/dist/commands/actor/push-data.js +6 -5
- package/dist/commands/actor/push-data.js.map +1 -1
- package/dist/commands/actor/set-value.js +5 -5
- package/dist/commands/actor/set-value.js.map +1 -1
- package/dist/commands/actors/_index.js +28 -0
- package/dist/commands/actors/_index.js.map +1 -0
- package/dist/commands/actors/build.js +3 -1
- package/dist/commands/actors/build.js.map +1 -1
- package/dist/commands/actors/call.js +9 -7
- package/dist/commands/actors/call.js.map +1 -1
- package/dist/commands/actors/info.js +7 -5
- package/dist/commands/actors/info.js.map +1 -1
- package/dist/commands/actors/ls.js +8 -6
- package/dist/commands/actors/ls.js.map +1 -1
- package/dist/commands/actors/pull.js +4 -2
- package/dist/commands/actors/pull.js.map +1 -1
- package/dist/commands/actors/push.js +4 -6
- package/dist/commands/actors/push.js.map +1 -1
- package/dist/commands/actors/rm.js +4 -3
- package/dist/commands/actors/rm.js.map +1 -1
- package/dist/commands/actors/start.js +9 -7
- package/dist/commands/actors/start.js.map +1 -1
- package/dist/commands/builds/_index.js +22 -0
- package/dist/commands/builds/_index.js.map +1 -0
- package/dist/commands/builds/create.js +7 -5
- package/dist/commands/builds/create.js.map +1 -1
- package/dist/commands/builds/info.js +7 -6
- package/dist/commands/builds/info.js.map +1 -1
- package/dist/commands/builds/log.js +4 -3
- package/dist/commands/builds/log.js.map +1 -1
- package/dist/commands/builds/ls.js +8 -6
- package/dist/commands/builds/ls.js.map +1 -1
- package/dist/commands/builds/rm.js +3 -2
- package/dist/commands/builds/rm.js.map +1 -1
- package/dist/commands/call.js +1 -0
- package/dist/commands/call.js.map +1 -1
- package/dist/commands/create.js +4 -2
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/datasets/_index.js +25 -0
- package/dist/commands/datasets/_index.js.map +1 -0
- package/dist/commands/datasets/create.js +6 -5
- package/dist/commands/datasets/create.js.map +1 -1
- package/dist/commands/datasets/get-items.js +6 -7
- package/dist/commands/datasets/get-items.js.map +1 -1
- package/dist/commands/datasets/info.js +7 -6
- package/dist/commands/datasets/info.js.map +1 -1
- package/dist/commands/datasets/ls.js +6 -5
- package/dist/commands/datasets/ls.js.map +1 -1
- package/dist/commands/datasets/push-items.js +5 -4
- package/dist/commands/datasets/push-items.js.map +1 -1
- package/dist/commands/datasets/rename.js +4 -2
- package/dist/commands/datasets/rename.js.map +1 -1
- package/dist/commands/datasets/rm.js +3 -2
- package/dist/commands/datasets/rm.js.map +1 -1
- package/dist/commands/edit-input-schema.js +4 -3
- package/dist/commands/edit-input-schema.js.map +1 -1
- package/dist/commands/help.js +43 -0
- package/dist/commands/help.js.map +1 -0
- package/dist/commands/info.js +2 -1
- package/dist/commands/info.js.map +1 -1
- package/dist/commands/init-wrap-scrapy.js +3 -2
- package/dist/commands/init-wrap-scrapy.js.map +1 -1
- package/dist/commands/init.js +4 -2
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/key-value-stores/_index.js +30 -0
- package/dist/commands/key-value-stores/_index.js.map +1 -0
- package/dist/commands/key-value-stores/create.js +7 -7
- package/dist/commands/key-value-stores/create.js.map +1 -1
- package/dist/commands/key-value-stores/delete-value.js +4 -4
- package/dist/commands/key-value-stores/delete-value.js.map +1 -1
- package/dist/commands/key-value-stores/get-value.js +4 -3
- package/dist/commands/key-value-stores/get-value.js.map +1 -1
- package/dist/commands/key-value-stores/info.js +7 -7
- package/dist/commands/key-value-stores/info.js.map +1 -1
- package/dist/commands/key-value-stores/keys.js +7 -6
- package/dist/commands/key-value-stores/keys.js.map +1 -1
- package/dist/commands/key-value-stores/ls.js +6 -7
- package/dist/commands/key-value-stores/ls.js.map +1 -1
- package/dist/commands/key-value-stores/rename.js +4 -3
- package/dist/commands/key-value-stores/rename.js.map +1 -1
- package/dist/commands/key-value-stores/rm.js +3 -3
- package/dist/commands/key-value-stores/rm.js.map +1 -1
- package/dist/commands/key-value-stores/set-value.js +4 -6
- package/dist/commands/key-value-stores/set-value.js.map +1 -1
- package/dist/commands/login.js +8 -5
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.js +3 -2
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/pull.js +1 -0
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.js +1 -0
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/request-queues/{index.js → _index.js} +4 -3
- package/dist/commands/request-queues/_index.js.map +1 -0
- package/dist/commands/run.js +20 -37
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/runs/_index.js +23 -0
- package/dist/commands/runs/_index.js.map +1 -0
- package/dist/commands/runs/abort.js +7 -5
- package/dist/commands/runs/abort.js.map +1 -1
- package/dist/commands/runs/info.js +8 -6
- package/dist/commands/runs/info.js.map +1 -1
- package/dist/commands/runs/log.js +3 -2
- package/dist/commands/runs/log.js.map +1 -1
- package/dist/commands/runs/ls.js +7 -5
- package/dist/commands/runs/ls.js.map +1 -1
- package/dist/commands/runs/resurrect.js +6 -5
- package/dist/commands/runs/resurrect.js.map +1 -1
- package/dist/commands/runs/rm.js +3 -2
- package/dist/commands/runs/rm.js.map +1 -1
- package/dist/commands/secrets/{index.js → _index.js} +7 -3
- package/dist/commands/secrets/_index.js.map +1 -0
- package/dist/commands/secrets/add.js +3 -2
- package/dist/commands/secrets/add.js.map +1 -1
- package/dist/commands/secrets/rm.js +4 -3
- package/dist/commands/secrets/rm.js.map +1 -1
- package/dist/commands/task/_index.js +11 -0
- package/dist/commands/task/_index.js.map +1 -0
- package/dist/commands/task/run.js +3 -2
- package/dist/commands/task/run.js.map +1 -1
- package/dist/commands/upgrade.js +74 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/commands/validate-schema.js +3 -2
- package/dist/commands/validate-schema.js.map +1 -1
- package/dist/entrypoints/_shared.js +256 -0
- package/dist/entrypoints/_shared.js.map +1 -0
- package/dist/entrypoints/actor.js +19 -0
- package/dist/entrypoints/actor.js.map +1 -0
- package/dist/entrypoints/apify.js +18 -0
- package/dist/entrypoints/apify.js.map +1 -0
- package/dist/lib/command-framework/apify-command.js +426 -0
- package/dist/lib/command-framework/apify-command.js.map +1 -0
- package/dist/lib/command-framework/args.js +24 -0
- package/dist/lib/command-framework/args.js.map +1 -0
- package/dist/lib/command-framework/flags.js +99 -0
- package/dist/lib/command-framework/flags.js.map +1 -0
- package/dist/lib/command-framework/help/CommandHelp.js +228 -0
- package/dist/lib/command-framework/help/CommandHelp.js.map +1 -0
- package/dist/lib/command-framework/help/CommandWithSubcommands.js +75 -0
- package/dist/lib/command-framework/help/CommandWithSubcommands.js.map +1 -0
- package/dist/lib/command-framework/help/_BaseCommandRenderer.js +63 -0
- package/dist/lib/command-framework/help/_BaseCommandRenderer.js.map +1 -0
- package/dist/lib/command-framework/help/consts.js +27 -0
- package/dist/lib/command-framework/help/consts.js.map +1 -0
- package/dist/lib/command-framework/help.js +105 -0
- package/dist/lib/command-framework/help.js.map +1 -0
- package/dist/lib/commands/pretty-print-bytes.js.map +1 -1
- package/dist/lib/commands/read-stdin.js +34 -20
- package/dist/lib/commands/read-stdin.js.map +1 -1
- package/dist/lib/commands/resolve-actor-context.js.map +1 -1
- package/dist/lib/commands/resolve-input.js +6 -6
- package/dist/lib/commands/resolve-input.js.map +1 -1
- package/dist/lib/commands/run-on-cloud.js +1 -1
- package/dist/lib/commands/run-on-cloud.js.map +1 -1
- package/dist/lib/consts.js +1 -8
- package/dist/lib/consts.js.map +1 -1
- package/dist/lib/hooks/runtimes/utils.js +3 -6
- package/dist/lib/hooks/runtimes/utils.js.map +1 -1
- package/dist/lib/hooks/useCLIMetadata.js +73 -0
- package/dist/lib/hooks/useCLIMetadata.js.map +1 -0
- package/dist/lib/hooks/useCLIVersionCheck.js +91 -0
- package/dist/lib/hooks/useCLIVersionCheck.js.map +1 -0
- package/dist/lib/hooks/useCommandSuggestions.js +37 -0
- package/dist/lib/hooks/useCommandSuggestions.js.map +1 -0
- package/dist/lib/hooks/useCwdProject.js.map +1 -1
- package/dist/lib/hooks/useLocalState.js +56 -0
- package/dist/lib/hooks/useLocalState.js.map +1 -0
- package/dist/lib/hooks/useStdin.js +65 -0
- package/dist/lib/hooks/useStdin.js.map +1 -0
- package/dist/lib/outputs.js +1 -1
- package/dist/lib/outputs.js.map +1 -1
- package/dist/lib/telemetry.js.map +1 -1
- package/dist/lib/types.js +3 -1
- package/dist/lib/types.js.map +1 -1
- package/dist/lib/utils/confirm.js.map +1 -1
- package/dist/lib/utils.js +21 -12
- package/dist/lib/utils.js.map +1 -1
- package/package.json +60 -54
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -23
- package/bin/dev.sh +0 -4
- package/bin/run.cmd +0 -3
- package/bin/run.js +0 -25
- package/dist/commands/actor/charge.d.ts +0 -23
- package/dist/commands/actor/charge.d.ts.map +0 -1
- package/dist/commands/actor/get-input.d.ts +0 -6
- package/dist/commands/actor/get-input.d.ts.map +0 -1
- package/dist/commands/actor/get-public-url.d.ts +0 -9
- package/dist/commands/actor/get-public-url.d.ts.map +0 -1
- package/dist/commands/actor/get-value.d.ts +0 -9
- package/dist/commands/actor/get-value.d.ts.map +0 -1
- package/dist/commands/actor/index.d.ts +0 -6
- package/dist/commands/actor/index.d.ts.map +0 -1
- package/dist/commands/actor/index.js +0 -8
- package/dist/commands/actor/index.js.map +0 -1
- package/dist/commands/actor/push-data.d.ts +0 -9
- package/dist/commands/actor/push-data.d.ts.map +0 -1
- package/dist/commands/actor/set-value.d.ts +0 -13
- package/dist/commands/actor/set-value.d.ts.map +0 -1
- package/dist/commands/actors/build.d.ts +0 -4
- package/dist/commands/actors/build.d.ts.map +0 -1
- package/dist/commands/actors/call.d.ts +0 -30
- package/dist/commands/actors/call.d.ts.map +0 -1
- package/dist/commands/actors/index.d.ts +0 -6
- package/dist/commands/actors/index.d.ts.map +0 -1
- package/dist/commands/actors/index.js +0 -8
- package/dist/commands/actors/index.js.map +0 -1
- package/dist/commands/actors/info.d.ts +0 -22
- package/dist/commands/actors/info.d.ts.map +0 -1
- package/dist/commands/actors/ls.d.ts +0 -15
- package/dist/commands/actors/ls.d.ts.map +0 -1
- package/dist/commands/actors/pull.d.ts +0 -13
- package/dist/commands/actors/pull.d.ts.map +0 -1
- package/dist/commands/actors/push.d.ts +0 -18
- package/dist/commands/actors/push.d.ts.map +0 -1
- package/dist/commands/actors/rm.d.ts +0 -9
- package/dist/commands/actors/rm.d.ts.map +0 -1
- package/dist/commands/actors/start.d.ts +0 -18
- package/dist/commands/actors/start.d.ts.map +0 -1
- package/dist/commands/builds/create.d.ts +0 -15
- package/dist/commands/builds/create.d.ts.map +0 -1
- package/dist/commands/builds/index.d.ts +0 -6
- package/dist/commands/builds/index.d.ts.map +0 -1
- package/dist/commands/builds/index.js +0 -8
- package/dist/commands/builds/index.js.map +0 -1
- package/dist/commands/builds/info.d.ts +0 -10
- package/dist/commands/builds/info.d.ts.map +0 -1
- package/dist/commands/builds/log.d.ts +0 -9
- package/dist/commands/builds/log.d.ts.map +0 -1
- package/dist/commands/builds/ls.d.ts +0 -17
- package/dist/commands/builds/ls.d.ts.map +0 -1
- package/dist/commands/builds/rm.d.ts +0 -9
- package/dist/commands/builds/rm.d.ts.map +0 -1
- package/dist/commands/call.d.ts +0 -4
- package/dist/commands/call.d.ts.map +0 -1
- package/dist/commands/check-version.d.ts +0 -11
- package/dist/commands/check-version.d.ts.map +0 -1
- package/dist/commands/check-version.js +0 -19
- package/dist/commands/check-version.js.map +0 -1
- package/dist/commands/create.d.ts +0 -15
- package/dist/commands/create.d.ts.map +0 -1
- package/dist/commands/datasets/create.d.ts +0 -10
- package/dist/commands/datasets/create.d.ts.map +0 -1
- package/dist/commands/datasets/get-items.d.ts +0 -17
- package/dist/commands/datasets/get-items.d.ts.map +0 -1
- package/dist/commands/datasets/index.d.ts +0 -6
- package/dist/commands/datasets/index.d.ts.map +0 -1
- package/dist/commands/datasets/index.js +0 -8
- package/dist/commands/datasets/index.js.map +0 -1
- package/dist/commands/datasets/info.d.ts +0 -30
- package/dist/commands/datasets/info.d.ts.map +0 -1
- package/dist/commands/datasets/ls.d.ts +0 -13
- package/dist/commands/datasets/ls.d.ts.map +0 -1
- package/dist/commands/datasets/push-items.d.ts +0 -10
- package/dist/commands/datasets/push-items.d.ts.map +0 -1
- package/dist/commands/datasets/rename.d.ts +0 -13
- package/dist/commands/datasets/rename.d.ts.map +0 -1
- package/dist/commands/datasets/rm.d.ts +0 -9
- package/dist/commands/datasets/rm.d.ts.map +0 -1
- package/dist/commands/edit-input-schema.d.ts +0 -11
- package/dist/commands/edit-input-schema.d.ts.map +0 -1
- package/dist/commands/info.d.ts +0 -6
- package/dist/commands/info.d.ts.map +0 -1
- package/dist/commands/init-wrap-scrapy.d.ts +0 -10
- package/dist/commands/init-wrap-scrapy.d.ts.map +0 -1
- package/dist/commands/init.d.ts +0 -12
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/key-value-stores/create.d.ts +0 -11
- package/dist/commands/key-value-stores/create.d.ts.map +0 -1
- package/dist/commands/key-value-stores/delete-value.d.ts +0 -11
- package/dist/commands/key-value-stores/delete-value.d.ts.map +0 -1
- package/dist/commands/key-value-stores/get-value.d.ts +0 -14
- package/dist/commands/key-value-stores/get-value.d.ts.map +0 -1
- package/dist/commands/key-value-stores/index.d.ts +0 -7
- package/dist/commands/key-value-stores/index.d.ts.map +0 -1
- package/dist/commands/key-value-stores/index.js +0 -9
- package/dist/commands/key-value-stores/index.js.map +0 -1
- package/dist/commands/key-value-stores/info.d.ts +0 -28
- package/dist/commands/key-value-stores/info.d.ts.map +0 -1
- package/dist/commands/key-value-stores/keys.d.ts +0 -15
- package/dist/commands/key-value-stores/keys.d.ts.map +0 -1
- package/dist/commands/key-value-stores/ls.d.ts +0 -14
- package/dist/commands/key-value-stores/ls.d.ts.map +0 -1
- package/dist/commands/key-value-stores/rename.d.ts +0 -14
- package/dist/commands/key-value-stores/rename.d.ts.map +0 -1
- package/dist/commands/key-value-stores/rm.d.ts +0 -10
- package/dist/commands/key-value-stores/rm.d.ts.map +0 -1
- package/dist/commands/key-value-stores/set-value.d.ts +0 -15
- package/dist/commands/key-value-stores/set-value.d.ts.map +0 -1
- package/dist/commands/login.d.ts +0 -10
- package/dist/commands/login.d.ts.map +0 -1
- package/dist/commands/logout.d.ts +0 -6
- package/dist/commands/logout.d.ts.map +0 -1
- package/dist/commands/pull.d.ts +0 -4
- package/dist/commands/pull.d.ts.map +0 -1
- package/dist/commands/push.d.ts +0 -4
- package/dist/commands/push.d.ts.map +0 -1
- package/dist/commands/request-queues/index.d.ts +0 -6
- package/dist/commands/request-queues/index.d.ts.map +0 -1
- package/dist/commands/request-queues/index.js.map +0 -1
- package/dist/commands/run.d.ts +0 -20
- package/dist/commands/run.d.ts.map +0 -1
- package/dist/commands/runs/abort.d.ts +0 -13
- package/dist/commands/runs/abort.d.ts.map +0 -1
- package/dist/commands/runs/index.d.ts +0 -6
- package/dist/commands/runs/index.d.ts.map +0 -1
- package/dist/commands/runs/index.js +0 -8
- package/dist/commands/runs/index.js.map +0 -1
- package/dist/commands/runs/info.d.ts +0 -48
- package/dist/commands/runs/info.d.ts.map +0 -1
- package/dist/commands/runs/log.d.ts +0 -9
- package/dist/commands/runs/log.d.ts.map +0 -1
- package/dist/commands/runs/ls.d.ts +0 -16
- package/dist/commands/runs/ls.d.ts.map +0 -1
- package/dist/commands/runs/resurrect.d.ts +0 -10
- package/dist/commands/runs/resurrect.d.ts.map +0 -1
- package/dist/commands/runs/rm.d.ts +0 -9
- package/dist/commands/runs/rm.d.ts.map +0 -1
- package/dist/commands/secrets/add.d.ts +0 -10
- package/dist/commands/secrets/add.d.ts.map +0 -1
- package/dist/commands/secrets/index.d.ts +0 -6
- package/dist/commands/secrets/index.d.ts.map +0 -1
- package/dist/commands/secrets/index.js.map +0 -1
- package/dist/commands/secrets/rm.d.ts +0 -9
- package/dist/commands/secrets/rm.d.ts.map +0 -1
- package/dist/commands/task/index.d.ts +0 -6
- package/dist/commands/task/index.d.ts.map +0 -1
- package/dist/commands/task/index.js +0 -8
- package/dist/commands/task/index.js.map +0 -1
- package/dist/commands/task/run.d.ts +0 -15
- package/dist/commands/task/run.d.ts.map +0 -1
- package/dist/commands/validate-schema.d.ts +0 -10
- package/dist/commands/validate-schema.d.ts.map +0 -1
- package/dist/hooks/deprecations.d.ts +0 -4
- package/dist/hooks/deprecations.d.ts.map +0 -1
- package/dist/hooks/deprecations.js +0 -18
- package/dist/hooks/deprecations.js.map +0 -1
- package/dist/hooks/init.d.ts +0 -7
- package/dist/hooks/init.d.ts.map +0 -1
- package/dist/hooks/init.js +0 -17
- package/dist/hooks/init.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/actor.d.ts +0 -32
- package/dist/lib/actor.d.ts.map +0 -1
- package/dist/lib/apify-oclif-help.d.ts +0 -15
- package/dist/lib/apify-oclif-help.d.ts.map +0 -1
- package/dist/lib/apify-oclif-help.js +0 -19
- package/dist/lib/apify-oclif-help.js.map +0 -1
- package/dist/lib/apify_command.d.ts +0 -17
- package/dist/lib/apify_command.d.ts.map +0 -1
- package/dist/lib/apify_command.js +0 -76
- package/dist/lib/apify_command.js.map +0 -1
- package/dist/lib/commands/pretty-print-bytes.d.ts +0 -7
- package/dist/lib/commands/pretty-print-bytes.d.ts.map +0 -1
- package/dist/lib/commands/pretty-print-status.d.ts +0 -3
- package/dist/lib/commands/pretty-print-status.d.ts.map +0 -1
- package/dist/lib/commands/read-stdin.d.ts +0 -2
- package/dist/lib/commands/read-stdin.d.ts.map +0 -1
- package/dist/lib/commands/resolve-actor-context.d.ts +0 -22
- package/dist/lib/commands/resolve-actor-context.d.ts.map +0 -1
- package/dist/lib/commands/resolve-input.d.ts +0 -9
- package/dist/lib/commands/resolve-input.d.ts.map +0 -1
- package/dist/lib/commands/responsive-table.d.ts +0 -62
- package/dist/lib/commands/responsive-table.d.ts.map +0 -1
- package/dist/lib/commands/run-on-cloud.d.ts +0 -22
- package/dist/lib/commands/run-on-cloud.d.ts.map +0 -1
- package/dist/lib/commands/storage-size.d.ts +0 -6
- package/dist/lib/commands/storage-size.d.ts.map +0 -1
- package/dist/lib/commands/storages.d.ts +0 -10
- package/dist/lib/commands/storages.d.ts.map +0 -1
- package/dist/lib/community.d.ts +0 -2
- package/dist/lib/community.d.ts.map +0 -1
- package/dist/lib/community.js +0 -4
- package/dist/lib/community.js.map +0 -1
- package/dist/lib/consts.d.ts +0 -56
- package/dist/lib/consts.d.ts.map +0 -1
- package/dist/lib/create-utils.d.ts +0 -8
- package/dist/lib/create-utils.d.ts.map +0 -1
- package/dist/lib/exec.d.ts +0 -9
- package/dist/lib/exec.d.ts.map +0 -1
- package/dist/lib/files.d.ts +0 -14
- package/dist/lib/files.d.ts.map +0 -1
- package/dist/lib/hooks/runtimes/javascript.d.ts +0 -4
- package/dist/lib/hooks/runtimes/javascript.d.ts.map +0 -1
- package/dist/lib/hooks/runtimes/python.d.ts +0 -8
- package/dist/lib/hooks/runtimes/python.d.ts.map +0 -1
- package/dist/lib/hooks/runtimes/utils.d.ts +0 -3
- package/dist/lib/hooks/runtimes/utils.d.ts.map +0 -1
- package/dist/lib/hooks/useActorConfig.d.ts +0 -20
- package/dist/lib/hooks/useActorConfig.d.ts.map +0 -1
- package/dist/lib/hooks/useCwdProject.d.ts +0 -33
- package/dist/lib/hooks/useCwdProject.d.ts.map +0 -1
- package/dist/lib/hooks/useModuleVersion.d.ts +0 -8
- package/dist/lib/hooks/useModuleVersion.d.ts.map +0 -1
- package/dist/lib/input_schema.d.ts +0 -28
- package/dist/lib/input_schema.d.ts.map +0 -1
- package/dist/lib/local_state.d.ts +0 -11
- package/dist/lib/local_state.d.ts.map +0 -1
- package/dist/lib/local_state.js +0 -25
- package/dist/lib/local_state.js.map +0 -1
- package/dist/lib/outputs.d.ts +0 -19
- package/dist/lib/outputs.d.ts.map +0 -1
- package/dist/lib/project_analyzer.d.ts +0 -4
- package/dist/lib/project_analyzer.d.ts.map +0 -1
- package/dist/lib/projects/CrawleeAnalyzer.d.ts +0 -4
- package/dist/lib/projects/CrawleeAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/OldApifySDKAnalyzer.d.ts +0 -4
- package/dist/lib/projects/OldApifySDKAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts +0 -17
- package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/Spider.d.ts +0 -14
- package/dist/lib/projects/scrapy/Spider.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts +0 -7
- package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts +0 -4
- package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts.map +0 -1
- package/dist/lib/projects/shared.d.ts +0 -2
- package/dist/lib/projects/shared.d.ts.map +0 -1
- package/dist/lib/secrets.d.ts +0 -22
- package/dist/lib/secrets.d.ts.map +0 -1
- package/dist/lib/telemetry.d.ts +0 -21
- package/dist/lib/telemetry.d.ts.map +0 -1
- package/dist/lib/types.d.ts +0 -11
- package/dist/lib/types.d.ts.map +0 -1
- package/dist/lib/utils/cliDebugPrint.d.ts +0 -2
- package/dist/lib/utils/cliDebugPrint.d.ts.map +0 -1
- package/dist/lib/utils/confirm.d.ts +0 -7
- package/dist/lib/utils/confirm.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -113
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/version_check.d.ts +0 -14
- package/dist/lib/version_check.d.ts.map +0 -1
- package/dist/lib/version_check.js +0 -99
- package/dist/lib/version_check.js.map +0 -1
- package/dist/typechecking.tsbuildinfo +0 -1
- package/oclif.manifest.json +0 -2661
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { Task } from 'apify-client';
|
|
2
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
3
|
-
export declare class KeyValueStoresInfoCommand extends ApifyCommand<typeof KeyValueStoresInfoCommand> {
|
|
4
|
-
static description: string;
|
|
5
|
-
static hiddenAliases: string[];
|
|
6
|
-
static args: {
|
|
7
|
-
storeId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
8
|
-
};
|
|
9
|
-
static enableJsonFlag: boolean;
|
|
10
|
-
run(): Promise<{
|
|
11
|
-
user: import("apify-client").User;
|
|
12
|
-
actor: import("apify-client").Actor | null;
|
|
13
|
-
run: import("apify-client").ActorRun | null;
|
|
14
|
-
task: Task | null;
|
|
15
|
-
id: string;
|
|
16
|
-
name?: string;
|
|
17
|
-
title?: string;
|
|
18
|
-
userId: string;
|
|
19
|
-
createdAt: Date;
|
|
20
|
-
modifiedAt: Date;
|
|
21
|
-
accessedAt: Date;
|
|
22
|
-
actId?: string;
|
|
23
|
-
actRunId?: string;
|
|
24
|
-
stats?: import("apify-client").KeyValueStoreStats;
|
|
25
|
-
generalAccess?: import("@apify/consts", { with: { "resolution-mode": "require" } }).STORAGE_GENERAL_ACCESS | null;
|
|
26
|
-
} | undefined>;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=info.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/commands/key-value-stores/info.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAa1D,qBAAa,yBAA0B,SAAQ,YAAY,CAAC,OAAO,yBAAyB,CAAC;IAC5F,OAAgB,WAAW,SAAgD;IAE3E,OAAgB,aAAa,WAAgB;IAE7C,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;;;;;;;;;;;;;;;;;CAoIT"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class KeyValueStoresKeysCommand extends ApifyCommand<typeof KeyValueStoresKeysCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static hiddenAliases: string[];
|
|
5
|
-
static flags: {
|
|
6
|
-
limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
'exclusive-start-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
-
};
|
|
9
|
-
static args: {
|
|
10
|
-
storeId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
11
|
-
};
|
|
12
|
-
static enableJsonFlag: boolean;
|
|
13
|
-
run(): Promise<import("apify-client").KeyValueClientListKeysResult | undefined>;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=keys.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../src/commands/key-value-stores/keys.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAY1D,qBAAa,yBAA0B,SAAQ,YAAY,CAAC,OAAO,yBAAyB,CAAC;IAC5F,OAAgB,WAAW,SAA0C;IAErE,OAAgB,aAAa,WAAgB;IAE7C,OAAgB,KAAK;;;MAQnB;IAEF,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CAqCT"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class KeyValueStoresLsCommand extends ApifyCommand<typeof KeyValueStoresLsCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static hiddenAliases: string[];
|
|
5
|
-
static flags: {
|
|
6
|
-
offset: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
-
desc: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
-
unnamed: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
-
};
|
|
11
|
-
static enableJsonFlag: boolean;
|
|
12
|
-
run(): Promise<import("apify-client").PaginatedList<import("apify-client").KeyValueStoreCollectionListResult> | undefined>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=ls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ls.d.ts","sourceRoot":"","sources":["../../../src/commands/key-value-stores/ls.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAW1D,qBAAa,uBAAwB,SAAQ,YAAY,CAAC,OAAO,uBAAuB,CAAC;IACxF,OAAgB,WAAW,SAAiD;IAE5E,OAAgB,aAAa,WAAc;IAE3C,OAAgB,KAAK;;;;;MAiBnB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CA+CT"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class KeyValueStoresRenameCommand extends ApifyCommand<typeof KeyValueStoresRenameCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static hiddenAliases: string[];
|
|
5
|
-
static flags: {
|
|
6
|
-
unname: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
|
-
};
|
|
8
|
-
static args: {
|
|
9
|
-
keyValueStoreNameOrId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
10
|
-
newName: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=rename.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rename.d.ts","sourceRoot":"","sources":["../../../src/commands/key-value-stores/rename.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,qBAAa,2BAA4B,SAAQ,YAAY,CAAC,OAAO,2BAA2B,CAAC;IAChG,OAAgB,WAAW,SAA4D;IAEvF,OAAgB,aAAa,WAAkB;IAE/C,OAAgB,KAAK;;MAInB;IAEF,OAAgB,IAAI;;;MAQlB;IAEI,GAAG;CAwDT"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class KeyValueStoresRmCommand extends ApifyCommand<typeof KeyValueStoresRmCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static hiddenAliases: string[];
|
|
5
|
-
static args: {
|
|
6
|
-
keyValueStoreNameOrId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=rm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rm.d.ts","sourceRoot":"","sources":["../../../src/commands/key-value-stores/rm.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM1D,qBAAa,uBAAwB,SAAQ,YAAY,CAAC,OAAO,uBAAuB,CAAC;IACxF,OAAgB,WAAW,SAA4C;IAEvE,OAAgB,aAAa,WAAc;IAE3C,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAuCT"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class KeyValueStoresSetValueCommand extends ApifyCommand<typeof KeyValueStoresSetValueCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static hiddenAliases: string[];
|
|
5
|
-
static flags: {
|
|
6
|
-
'content-type': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
};
|
|
8
|
-
static args: {
|
|
9
|
-
storeId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
10
|
-
itemKey: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
11
|
-
value: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=set-value.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set-value.d.ts","sourceRoot":"","sources":["../../../src/commands/key-value-stores/set-value.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,qBAAa,6BAA8B,SAAQ,YAAY,CAAC,OAAO,6BAA6B,CAAC;IACpG,OAAgB,WAAW,SAAiF;IAE5G,OAAgB,aAAa,WAAqB;IAElD,OAAgB,KAAK;;MAKnB;IAEF,OAAgB,IAAI;;;;MAelB;IAEI,GAAG;CAiCT"}
|
package/dist/commands/login.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../lib/apify_command.js';
|
|
2
|
-
export declare class LoginCommand extends ApifyCommand<typeof LoginCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
6
|
-
method: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=login.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../src/commands/login.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AA8BvD,qBAAa,YAAa,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IAClE,OAAgB,WAAW,SAGqB;IAEhD,OAAgB,KAAK;;;MAYnB;IAEI,GAAG;CA6IT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../src/commands/logout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAMvD,qBAAa,aAAc,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACpE,OAAgB,WAAW,SAEiB;IAEtC,GAAG;CAKT"}
|
package/dist/commands/pull.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pull.d.ts","sourceRoot":"","sources":["../../src/commands/pull.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,qBAAa,mBAAoB,SAAQ,iBAAiB;CAAG"}
|
package/dist/commands/push.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../src/commands/push.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,qBAAa,mBAAoB,SAAQ,iBAAiB;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/request-queues/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,yBAA0B,SAAQ,YAAY,CAAC,OAAO,yBAAyB,CAAC;IAC5F,OAAgB,WAAW,SAA+D;IAEpF,GAAG;CAGT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/request-queues/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,yBAA0B,SAAQ,YAA8C;IAC5F,MAAM,CAAU,WAAW,GAAG,2DAA2D,CAAC;IAE1F,KAAK,CAAC,GAAG;QACR,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IACxB,CAAC"}
|
package/dist/commands/run.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../lib/apify_command.js';
|
|
2
|
-
export declare class RunCommand extends ApifyCommand<typeof RunCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
purge: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
6
|
-
'purge-queue': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
|
-
'purge-dataset': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
-
'purge-key-value-store': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
-
entrypoint: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
-
input: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
'input-file': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Ensures the input that the actor will be ran with locally matches the input schema (and prefills default values if missing)
|
|
16
|
-
* @param inputOverride Optional input received through command flags
|
|
17
|
-
*/
|
|
18
|
-
private validateAndStoreInput;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=run.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAqCvD,qBAAa,UAAW,SAAQ,YAAY,CAAC,OAAO,UAAU,CAAC;IAC9D,OAAgB,WAAW,SAG2E;IAEtG,OAAgB,KAAK;;;;;;;;MA8CnB;IAEI,GAAG;IA8TT;;;OAGG;YACW,qBAAqB;CA2InC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class RunsAbortCommand extends ApifyCommand<typeof RunsAbortCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static args: {
|
|
5
|
-
runId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
-
};
|
|
7
|
-
static flags: {
|
|
8
|
-
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
-
};
|
|
10
|
-
static enableJsonFlag: boolean;
|
|
11
|
-
run(): Promise<import("apify-client").ActorRun | undefined>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=abort.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abort.d.ts","sourceRoot":"","sources":["../../../src/commands/runs/abort.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAQ1D,qBAAa,gBAAiB,SAAQ,YAAY,CAAC,OAAO,gBAAgB,CAAC;IAC1E,OAAgB,WAAW,SAA0B;IAErD,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,KAAK;;MAMnB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CAgDT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/runs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,gBAAiB,SAAQ,YAAY,CAAC,OAAO,gBAAgB,CAAC;IAC1E,OAAgB,WAAW,SAAmC;IAExD,GAAG;CAGT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/runs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,gBAAiB,SAAQ,YAAqC;IAC1E,MAAM,CAAU,WAAW,GAAG,+BAA+B,CAAC;IAE9D,KAAK,CAAC,GAAG;QACR,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IACxB,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { ActorRunUsage } from 'apify-client';
|
|
2
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
3
|
-
export declare class RunsInfoCommand extends ApifyCommand<typeof RunsInfoCommand> {
|
|
4
|
-
static description: string;
|
|
5
|
-
static args: {
|
|
6
|
-
runId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
7
|
-
};
|
|
8
|
-
static flags: {
|
|
9
|
-
verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
-
};
|
|
11
|
-
static enableJsonFlag: boolean;
|
|
12
|
-
run(): Promise<{
|
|
13
|
-
actor: import("apify-client").Actor | undefined;
|
|
14
|
-
build: import("apify-client").Build | undefined;
|
|
15
|
-
task: import("apify-client").Task | undefined;
|
|
16
|
-
defaultDataset: import("apify-client").Dataset | undefined;
|
|
17
|
-
defaultRequestQueue: import("apify-client").RequestQueue | undefined;
|
|
18
|
-
userId: string;
|
|
19
|
-
statusMessage?: string;
|
|
20
|
-
stats: import("apify-client").ActorRunStats;
|
|
21
|
-
options: import("apify-client").ActorRunOptions;
|
|
22
|
-
exitCode?: number;
|
|
23
|
-
containerUrl: string;
|
|
24
|
-
isContainerServerReady?: boolean;
|
|
25
|
-
gitBranchName?: string;
|
|
26
|
-
usage?: ActorRunUsage;
|
|
27
|
-
usageUsd?: ActorRunUsage;
|
|
28
|
-
pricingInfo?: import("apify-client").ActorRunPricingInfo;
|
|
29
|
-
chargedEventCounts?: Record<string, number>;
|
|
30
|
-
generalAccess?: import("@apify/consts", { with: { "resolution-mode": "require" } }).RUN_GENERAL_ACCESS | null;
|
|
31
|
-
id: string;
|
|
32
|
-
actId: string;
|
|
33
|
-
actorTaskId?: string;
|
|
34
|
-
startedAt: Date;
|
|
35
|
-
finishedAt: Date;
|
|
36
|
-
status: "READY" | "RUNNING" | "SUCCEEDED" | "FAILED" | "ABORTING" | "ABORTED" | "TIMING-OUT" | "TIMED-OUT";
|
|
37
|
-
meta: import("apify-client").ActorRunMeta;
|
|
38
|
-
buildId: string;
|
|
39
|
-
buildNumber: string;
|
|
40
|
-
defaultKeyValueStoreId: string;
|
|
41
|
-
defaultDatasetId: string;
|
|
42
|
-
defaultRequestQueueId: string;
|
|
43
|
-
usageTotalUsd?: number;
|
|
44
|
-
} | undefined>;
|
|
45
|
-
private addDetailedUsage;
|
|
46
|
-
private formatUsd;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=info.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/commands/runs/info.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAY,aAAa,EAAoB,MAAM,cAAc,CAAC;AAG9E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AA+B1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SAA4C;IAEvE,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,KAAK;;MAMnB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiMT,OAAO,CAAC,gBAAgB;IAsDxB,OAAO,CAAC,SAAS;CAGjB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class RunsLogCommand extends ApifyCommand<typeof RunsLogCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static args: {
|
|
5
|
-
runId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
-
};
|
|
7
|
-
run(): Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=log.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../src/commands/runs/log.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,qBAAa,cAAe,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACtE,OAAgB,WAAW,SAAuC;IAElE,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAqBT"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class RunsLsCommand extends ApifyCommand<typeof RunsLsCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
offset: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
6
|
-
limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
desc: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
-
compact: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
-
};
|
|
10
|
-
static args: {
|
|
11
|
-
actorId: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
|
|
12
|
-
};
|
|
13
|
-
static enableJsonFlag: boolean;
|
|
14
|
-
run(): Promise<import("apify-client").PaginatedList<import("apify-client").ActorRunListItem> | undefined>;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=ls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ls.d.ts","sourceRoot":"","sources":["../../../src/commands/runs/ls.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAkB1D,qBAAa,aAAc,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACpE,OAAgB,WAAW,SAAkC;IAE7D,OAAgB,KAAK;;;;;MAkBnB;IAEF,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CAmFT"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class RunsResurrectCommand extends ApifyCommand<typeof RunsResurrectCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static args: {
|
|
5
|
-
runId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
-
};
|
|
7
|
-
static enableJsonFlag: boolean;
|
|
8
|
-
run(): Promise<import("apify-client").ActorRun | undefined>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=resurrect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resurrect.d.ts","sourceRoot":"","sources":["../../../src/commands/runs/resurrect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAW1D,qBAAa,oBAAqB,SAAQ,YAAY,CAAC,OAAO,oBAAoB,CAAC;IAClF,OAAgB,WAAW,SAAkD;IAE7E,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CAwCT"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class RunsRmCommand extends ApifyCommand<typeof RunsRmCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static args: {
|
|
5
|
-
runId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
-
};
|
|
7
|
-
run(): Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=rm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rm.d.ts","sourceRoot":"","sources":["../../../src/commands/runs/rm.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAY1D,qBAAa,aAAc,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACpE,OAAgB,WAAW,SAA2B;IAEtD,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CA4CT"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class SecretsAddCommand extends ApifyCommand<typeof SecretsAddCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static args: {
|
|
5
|
-
name: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
-
value: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=add.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/commands/secrets/add.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAA6E;IAExG,OAAgB,IAAI;;;MASlB;IAEI,GAAG;CAKT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/secrets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,qBAAa,mBAAoB,SAAQ,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAChF,OAAgB,WAAW,SAaV;IAEX,GAAG;CAGT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/secrets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,OAAO,mBAAoB,SAAQ,YAAwC;IAChF,MAAM,CAAU,WAAW,GAC1B,sDAAsD;QACtD,YAAY;QACZ,oDAAoD;QACpD,2EAA2E,iBAAiB,4BAA4B;QACxH,aAAa;QACb,KAAK;QACL,8BAA8B;QAC9B,yBAAyB;QACzB,gEAAgE;QAChE,sBAAsB;QACtB,OAAO;QACP,0HAA0H;QAC1H,eAAe,CAAC;IAEjB,KAAK,CAAC,GAAG;QACR,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IACxB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class SecretRmCommand extends ApifyCommand<typeof SecretRmCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static args: {
|
|
5
|
-
name: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
-
};
|
|
7
|
-
run(): Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=rm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rm.d.ts","sourceRoot":"","sources":["../../../src/commands/secrets/rm.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SAAgE;IAE3F,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAKT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/task/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAA4D;IACjF,GAAG;CAGT"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export class TasksIndexCommand extends ApifyCommand {
|
|
3
|
-
static description = 'Manages scheduled and predefined Actor configurations.';
|
|
4
|
-
async run() {
|
|
5
|
-
await this.printHelp();
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/task/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,iBAAkB,SAAQ,YAAsC;IAC5E,MAAM,CAAU,WAAW,GAAG,wDAAwD,CAAC;IACvF,KAAK,CAAC,GAAG;QACR,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IACxB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../../lib/apify_command.js';
|
|
2
|
-
export declare class TaskRunCommand extends ApifyCommand<typeof TaskRunCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
build: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
6
|
-
timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
memory: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
-
};
|
|
9
|
-
static args: {
|
|
10
|
-
taskId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
private resolveTaskId;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=run.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/commands/task/run.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,qBAAa,cAAe,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACtE,OAAgB,WAAW,SAEuB;IAElD,OAAgB,KAAK;;;;MAAiC;IAEtD,OAAgB,IAAI;;MAKlB;IAEI,GAAG;YAoDK,aAAa;CAoC3B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../lib/apify_command.js';
|
|
2
|
-
export declare class ValidateInputSchemaCommand extends ApifyCommand<typeof ValidateInputSchemaCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static args: {
|
|
5
|
-
path: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
|
|
6
|
-
};
|
|
7
|
-
static hiddenAliases: string[];
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=validate-schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-schema.d.ts","sourceRoot":"","sources":["../../src/commands/validate-schema.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAMvD,qBAAa,0BAA2B,SAAQ,YAAY,CAAC,OAAO,0BAA0B,CAAC;IAC9F,OAAgB,WAAW,SAM0B;IAErD,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,aAAa,WAAW;IAElC,GAAG;CAoBT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../../src/hooks/deprecations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AASxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,QAAQ,CAYxB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import process from 'node:process';
|
|
2
|
-
import { warning } from '../lib/outputs.js';
|
|
3
|
-
// TODO: this will probably not work for commands that are namespaced, e.g. `actor call`
|
|
4
|
-
const deprecations = {
|
|
5
|
-
vis: 'validate-schema',
|
|
6
|
-
};
|
|
7
|
-
const hook = async (params) => {
|
|
8
|
-
const possibleValidCommand = [params.Command.id, ...params.Command.aliases, ...params.Command.hiddenAliases];
|
|
9
|
-
const usedCommand = process.argv.find((arg) => possibleValidCommand.includes(arg));
|
|
10
|
-
if (usedCommand) {
|
|
11
|
-
const validCommand = deprecations[usedCommand];
|
|
12
|
-
if (validCommand) {
|
|
13
|
-
warning({ message: `The command "${usedCommand}" is deprecated. Please use "${validCommand}" instead.` });
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
export default hook;
|
|
18
|
-
//# sourceMappingURL=deprecations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deprecations.js","sourceRoot":"","sources":["../../src/hooks/deprecations.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,cAAc,CAAC;AAInC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,wFAAwF;AACxF,MAAM,YAAY,GAA2B;IAC5C,GAAG,EAAE,iBAAiB;CACtB,CAAC;AAEF,MAAM,IAAI,GAAmB,KAAK,EAAE,MAAM,EAAE,EAAE;IAC7C,MAAM,oBAAoB,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAE7G,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;IAEnF,IAAI,WAAW,EAAE,CAAC;QACjB,MAAM,YAAY,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;QAE/C,IAAI,YAAY,EAAE,CAAC;YAClB,OAAO,CAAC,EAAE,OAAO,EAAE,gBAAgB,WAAW,gCAAgC,YAAY,YAAY,EAAE,CAAC,CAAC;QAC3G,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/hooks/init.d.ts
DELETED
package/dist/hooks/init.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/hooks/init.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAIxC;;GAEG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,MAAM,CAWtB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/hooks/init.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { checkLatestVersion, SKIP_UPDATE_CHECK } from '../lib/version_check.js';
|
|
2
|
-
/**
|
|
3
|
-
* This code'll be call before each commmand run
|
|
4
|
-
*/
|
|
5
|
-
const hook = async (params) => {
|
|
6
|
-
// This is not necessary when you call the `--check-version` as the same command is called there.
|
|
7
|
-
if (['cv', 'check-version'].includes(params.id)) {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
// If the user has configured the `APIFY_CLI_SKIP_UPDATE_CHECK` env variable then skip the check.
|
|
11
|
-
if (SKIP_UPDATE_CHECK)
|
|
12
|
-
return;
|
|
13
|
-
// Check package latest version
|
|
14
|
-
await checkLatestVersion();
|
|
15
|
-
};
|
|
16
|
-
export default hook;
|
|
17
|
-
//# sourceMappingURL=init.js.map
|
package/dist/hooks/init.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/hooks/init.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEhF;;GAEG;AACH,MAAM,IAAI,GAAiB,KAAK,EAAE,MAAM,EAAE,EAAE;IAC3C,iGAAiG;IACjG,IAAI,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAG,CAAC,EAAE,CAAC;QAClD,OAAO;IACR,CAAC;IAED,iGAAiG;IACjG,IAAI,iBAAiB;QAAE,OAAO;IAE9B,+BAA+B;IAC/B,MAAM,kBAAkB,EAAE,CAAC;AAC5B,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
package/dist/lib/actor.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { MemoryStorageOptions } from '@crawlee/memory-storage';
|
|
2
|
-
import type { StorageClient } from '@crawlee/types';
|
|
3
|
-
import type { ApifyClientOptions } from 'apify-client';
|
|
4
|
-
export declare const APIFY_STORAGE_TYPES: {
|
|
5
|
-
readonly KEY_VALUE_STORE: "KEY_VALUE_STORE";
|
|
6
|
-
readonly DATASET: "DATASET";
|
|
7
|
-
readonly REQUEST_QUEUE: "REQUEST_QUEUE";
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Returns Apify token from environment variable or local auth file.
|
|
11
|
-
* @returns Apify token
|
|
12
|
-
*/
|
|
13
|
-
export declare const getApifyTokenFromEnvOrAuthFile: () => Promise<string>;
|
|
14
|
-
/**
|
|
15
|
-
* Returns instance of ApifyClient or ApifyStorageLocal based on environment variables.
|
|
16
|
-
* @param options - ApifyClient options
|
|
17
|
-
* @param forceCloud - If true then ApifyClient will be returned.
|
|
18
|
-
*/
|
|
19
|
-
export declare const getApifyStorageClient: (options?: MemoryStorageOptions | ApifyClientOptions, forceCloud?: boolean) => Promise<StorageClient>;
|
|
20
|
-
/**
|
|
21
|
-
* Returns default storage id based on environment variables.
|
|
22
|
-
* Throws error if not set and Actor running on platform.
|
|
23
|
-
* @param storeType
|
|
24
|
-
*/
|
|
25
|
-
export declare const getDefaultStorageId: (storeType: (typeof APIFY_STORAGE_TYPES)[keyof typeof APIFY_STORAGE_TYPES]) => string;
|
|
26
|
-
/**
|
|
27
|
-
* Outputs value of record into standard output of the command.
|
|
28
|
-
* @param key - Record key
|
|
29
|
-
*/
|
|
30
|
-
export declare const outputRecordFromDefaultStore: (key: string) => Promise<void>;
|
|
31
|
-
export declare const outputInputFromDefaultStore: () => Promise<void>;
|
|
32
|
-
//# sourceMappingURL=actor.d.ts.map
|
package/dist/lib/actor.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../../src/lib/actor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AASvD,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,8BAA8B,uBAc1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GACjC,UAAS,oBAAoB,GAAG,kBAAuB,EACvD,oBAAgE,KAC9D,OAAO,CAAC,aAAa,CAevB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,WAAW,CAAC,OAAO,mBAAmB,EAAE,MAAM,OAAO,mBAAmB,CAAC,WAI5G,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAU,KAAK,MAAM,kBAU7D,CAAC;AAEF,eAAO,MAAM,2BAA2B,qBAEvC,CAAC"}
|