apify-cli 0.21.8-beta.0 → 0.21.8-beta.1

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.
Files changed (244) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/entrypoints/actor.js +1 -0
  4. package/dist/entrypoints/actor.js.map +1 -1
  5. package/dist/entrypoints/apify.js +1 -0
  6. package/dist/entrypoints/apify.js.map +1 -1
  7. package/dist/typechecking.tsbuildinfo +1 -1
  8. package/package.json +1 -1
  9. package/dist/commands/_register.d.ts +0 -26
  10. package/dist/commands/_register.d.ts.map +0 -1
  11. package/dist/commands/actor/_index.d.ts +0 -14
  12. package/dist/commands/actor/_index.d.ts.map +0 -1
  13. package/dist/commands/actor/charge.d.ts +0 -24
  14. package/dist/commands/actor/charge.d.ts.map +0 -1
  15. package/dist/commands/actor/get-input.d.ts +0 -7
  16. package/dist/commands/actor/get-input.d.ts.map +0 -1
  17. package/dist/commands/actor/get-public-url.d.ts +0 -10
  18. package/dist/commands/actor/get-public-url.d.ts.map +0 -1
  19. package/dist/commands/actor/get-value.d.ts +0 -10
  20. package/dist/commands/actor/get-value.d.ts.map +0 -1
  21. package/dist/commands/actor/push-data.d.ts +0 -10
  22. package/dist/commands/actor/push-data.d.ts.map +0 -1
  23. package/dist/commands/actor/set-value.d.ts +0 -14
  24. package/dist/commands/actor/set-value.d.ts.map +0 -1
  25. package/dist/commands/actors/_index.d.ts +0 -16
  26. package/dist/commands/actors/_index.d.ts.map +0 -1
  27. package/dist/commands/actors/build.d.ts +0 -6
  28. package/dist/commands/actors/build.d.ts.map +0 -1
  29. package/dist/commands/actors/call.d.ts +0 -31
  30. package/dist/commands/actors/call.d.ts.map +0 -1
  31. package/dist/commands/actors/info.d.ts +0 -15
  32. package/dist/commands/actors/info.d.ts.map +0 -1
  33. package/dist/commands/actors/ls.d.ts +0 -16
  34. package/dist/commands/actors/ls.d.ts.map +0 -1
  35. package/dist/commands/actors/pull.d.ts +0 -14
  36. package/dist/commands/actors/pull.d.ts.map +0 -1
  37. package/dist/commands/actors/push.d.ts +0 -18
  38. package/dist/commands/actors/push.d.ts.map +0 -1
  39. package/dist/commands/actors/rm.d.ts +0 -10
  40. package/dist/commands/actors/rm.d.ts.map +0 -1
  41. package/dist/commands/actors/start.d.ts +0 -18
  42. package/dist/commands/actors/start.d.ts.map +0 -1
  43. package/dist/commands/builds/_index.d.ts +0 -13
  44. package/dist/commands/builds/_index.d.ts.map +0 -1
  45. package/dist/commands/builds/create.d.ts +0 -16
  46. package/dist/commands/builds/create.d.ts.map +0 -1
  47. package/dist/commands/builds/info.d.ts +0 -11
  48. package/dist/commands/builds/info.d.ts.map +0 -1
  49. package/dist/commands/builds/log.d.ts +0 -10
  50. package/dist/commands/builds/log.d.ts.map +0 -1
  51. package/dist/commands/builds/ls.d.ts +0 -18
  52. package/dist/commands/builds/ls.d.ts.map +0 -1
  53. package/dist/commands/builds/rm.d.ts +0 -10
  54. package/dist/commands/builds/rm.d.ts.map +0 -1
  55. package/dist/commands/call.d.ts +0 -5
  56. package/dist/commands/call.d.ts.map +0 -1
  57. package/dist/commands/check-version.d.ts +0 -12
  58. package/dist/commands/check-version.d.ts.map +0 -1
  59. package/dist/commands/create.d.ts +0 -16
  60. package/dist/commands/create.d.ts.map +0 -1
  61. package/dist/commands/datasets/_index.d.ts +0 -15
  62. package/dist/commands/datasets/_index.d.ts.map +0 -1
  63. package/dist/commands/datasets/create.d.ts +0 -11
  64. package/dist/commands/datasets/create.d.ts.map +0 -1
  65. package/dist/commands/datasets/get-items.d.ts +0 -17
  66. package/dist/commands/datasets/get-items.d.ts.map +0 -1
  67. package/dist/commands/datasets/info.d.ts +0 -11
  68. package/dist/commands/datasets/info.d.ts.map +0 -1
  69. package/dist/commands/datasets/ls.d.ts +0 -14
  70. package/dist/commands/datasets/ls.d.ts.map +0 -1
  71. package/dist/commands/datasets/push-items.d.ts +0 -11
  72. package/dist/commands/datasets/push-items.d.ts.map +0 -1
  73. package/dist/commands/datasets/rename.d.ts +0 -14
  74. package/dist/commands/datasets/rename.d.ts.map +0 -1
  75. package/dist/commands/datasets/rm.d.ts +0 -10
  76. package/dist/commands/datasets/rm.d.ts.map +0 -1
  77. package/dist/commands/edit-input-schema.d.ts +0 -12
  78. package/dist/commands/edit-input-schema.d.ts.map +0 -1
  79. package/dist/commands/info.d.ts +0 -7
  80. package/dist/commands/info.d.ts.map +0 -1
  81. package/dist/commands/init-wrap-scrapy.d.ts +0 -11
  82. package/dist/commands/init-wrap-scrapy.d.ts.map +0 -1
  83. package/dist/commands/init.d.ts +0 -13
  84. package/dist/commands/init.d.ts.map +0 -1
  85. package/dist/commands/key-value-stores/_index.d.ts +0 -18
  86. package/dist/commands/key-value-stores/_index.d.ts.map +0 -1
  87. package/dist/commands/key-value-stores/create.d.ts +0 -11
  88. package/dist/commands/key-value-stores/create.d.ts.map +0 -1
  89. package/dist/commands/key-value-stores/delete-value.d.ts +0 -11
  90. package/dist/commands/key-value-stores/delete-value.d.ts.map +0 -1
  91. package/dist/commands/key-value-stores/get-value.d.ts +0 -14
  92. package/dist/commands/key-value-stores/get-value.d.ts.map +0 -1
  93. package/dist/commands/key-value-stores/info.d.ts +0 -11
  94. package/dist/commands/key-value-stores/info.d.ts.map +0 -1
  95. package/dist/commands/key-value-stores/keys.d.ts +0 -15
  96. package/dist/commands/key-value-stores/keys.d.ts.map +0 -1
  97. package/dist/commands/key-value-stores/ls.d.ts +0 -14
  98. package/dist/commands/key-value-stores/ls.d.ts.map +0 -1
  99. package/dist/commands/key-value-stores/rename.d.ts +0 -14
  100. package/dist/commands/key-value-stores/rename.d.ts.map +0 -1
  101. package/dist/commands/key-value-stores/rm.d.ts +0 -10
  102. package/dist/commands/key-value-stores/rm.d.ts.map +0 -1
  103. package/dist/commands/key-value-stores/set-value.d.ts +0 -15
  104. package/dist/commands/key-value-stores/set-value.d.ts.map +0 -1
  105. package/dist/commands/login.d.ts +0 -11
  106. package/dist/commands/login.d.ts.map +0 -1
  107. package/dist/commands/logout.d.ts +0 -7
  108. package/dist/commands/logout.d.ts.map +0 -1
  109. package/dist/commands/pull.d.ts +0 -5
  110. package/dist/commands/pull.d.ts.map +0 -1
  111. package/dist/commands/push.d.ts +0 -5
  112. package/dist/commands/push.d.ts.map +0 -1
  113. package/dist/commands/request-queues/_index.d.ts +0 -7
  114. package/dist/commands/request-queues/_index.d.ts.map +0 -1
  115. package/dist/commands/run.d.ts +0 -21
  116. package/dist/commands/run.d.ts.map +0 -1
  117. package/dist/commands/runs/_index.d.ts +0 -14
  118. package/dist/commands/runs/_index.d.ts.map +0 -1
  119. package/dist/commands/runs/abort.d.ts +0 -14
  120. package/dist/commands/runs/abort.d.ts.map +0 -1
  121. package/dist/commands/runs/info.d.ts +0 -16
  122. package/dist/commands/runs/info.d.ts.map +0 -1
  123. package/dist/commands/runs/log.d.ts +0 -10
  124. package/dist/commands/runs/log.d.ts.map +0 -1
  125. package/dist/commands/runs/ls.d.ts +0 -17
  126. package/dist/commands/runs/ls.d.ts.map +0 -1
  127. package/dist/commands/runs/resurrect.d.ts +0 -11
  128. package/dist/commands/runs/resurrect.d.ts.map +0 -1
  129. package/dist/commands/runs/rm.d.ts +0 -10
  130. package/dist/commands/runs/rm.d.ts.map +0 -1
  131. package/dist/commands/secrets/_index.d.ts +0 -10
  132. package/dist/commands/secrets/_index.d.ts.map +0 -1
  133. package/dist/commands/secrets/add.d.ts +0 -11
  134. package/dist/commands/secrets/add.d.ts.map +0 -1
  135. package/dist/commands/secrets/rm.d.ts +0 -10
  136. package/dist/commands/secrets/rm.d.ts.map +0 -1
  137. package/dist/commands/task/_index.d.ts +0 -9
  138. package/dist/commands/task/_index.d.ts.map +0 -1
  139. package/dist/commands/task/run.d.ts +0 -16
  140. package/dist/commands/task/run.d.ts.map +0 -1
  141. package/dist/commands/validate-schema.d.ts +0 -11
  142. package/dist/commands/validate-schema.d.ts.map +0 -1
  143. package/dist/entrypoints/_shared.d.ts +0 -9
  144. package/dist/entrypoints/_shared.d.ts.map +0 -1
  145. package/dist/entrypoints/actor.d.ts +0 -2
  146. package/dist/entrypoints/actor.d.ts.map +0 -1
  147. package/dist/entrypoints/apify.d.ts +0 -2
  148. package/dist/entrypoints/apify.d.ts.map +0 -1
  149. package/dist/index.d.ts +0 -2
  150. package/dist/index.d.ts.map +0 -1
  151. package/dist/lib/actor.d.ts +0 -32
  152. package/dist/lib/actor.d.ts.map +0 -1
  153. package/dist/lib/command-framework/apify-command.d.ts +0 -90
  154. package/dist/lib/command-framework/apify-command.d.ts.map +0 -1
  155. package/dist/lib/command-framework/args.d.ts +0 -28
  156. package/dist/lib/command-framework/args.d.ts.map +0 -1
  157. package/dist/lib/command-framework/flags.d.ts +0 -55
  158. package/dist/lib/command-framework/flags.d.ts.map +0 -1
  159. package/dist/lib/command-framework/help/CommandHelp.d.ts +0 -11
  160. package/dist/lib/command-framework/help/CommandHelp.d.ts.map +0 -1
  161. package/dist/lib/command-framework/help/CommandWithSubcommands.d.ts +0 -7
  162. package/dist/lib/command-framework/help/CommandWithSubcommands.d.ts.map +0 -1
  163. package/dist/lib/command-framework/help/_BaseCommandRenderer.d.ts +0 -25
  164. package/dist/lib/command-framework/help/_BaseCommandRenderer.d.ts.map +0 -1
  165. package/dist/lib/command-framework/help/consts.d.ts +0 -2
  166. package/dist/lib/command-framework/help/consts.d.ts.map +0 -1
  167. package/dist/lib/command-framework/help.d.ts +0 -7
  168. package/dist/lib/command-framework/help.d.ts.map +0 -1
  169. package/dist/lib/commands/pretty-print-bytes.d.ts +0 -7
  170. package/dist/lib/commands/pretty-print-bytes.d.ts.map +0 -1
  171. package/dist/lib/commands/pretty-print-status.d.ts +0 -3
  172. package/dist/lib/commands/pretty-print-status.d.ts.map +0 -1
  173. package/dist/lib/commands/read-stdin.d.ts +0 -3
  174. package/dist/lib/commands/read-stdin.d.ts.map +0 -1
  175. package/dist/lib/commands/resolve-actor-context.d.ts +0 -22
  176. package/dist/lib/commands/resolve-actor-context.d.ts.map +0 -1
  177. package/dist/lib/commands/resolve-input.d.ts +0 -9
  178. package/dist/lib/commands/resolve-input.d.ts.map +0 -1
  179. package/dist/lib/commands/responsive-table.d.ts +0 -62
  180. package/dist/lib/commands/responsive-table.d.ts.map +0 -1
  181. package/dist/lib/commands/run-on-cloud.d.ts +0 -22
  182. package/dist/lib/commands/run-on-cloud.d.ts.map +0 -1
  183. package/dist/lib/commands/storage-size.d.ts +0 -6
  184. package/dist/lib/commands/storage-size.d.ts.map +0 -1
  185. package/dist/lib/commands/storages.d.ts +0 -10
  186. package/dist/lib/commands/storages.d.ts.map +0 -1
  187. package/dist/lib/community.d.ts +0 -2
  188. package/dist/lib/community.d.ts.map +0 -1
  189. package/dist/lib/consts.d.ts +0 -58
  190. package/dist/lib/consts.d.ts.map +0 -1
  191. package/dist/lib/create-utils.d.ts +0 -8
  192. package/dist/lib/create-utils.d.ts.map +0 -1
  193. package/dist/lib/exec.d.ts +0 -9
  194. package/dist/lib/exec.d.ts.map +0 -1
  195. package/dist/lib/files.d.ts +0 -14
  196. package/dist/lib/files.d.ts.map +0 -1
  197. package/dist/lib/hooks/runtimes/javascript.d.ts +0 -4
  198. package/dist/lib/hooks/runtimes/javascript.d.ts.map +0 -1
  199. package/dist/lib/hooks/runtimes/python.d.ts +0 -8
  200. package/dist/lib/hooks/runtimes/python.d.ts.map +0 -1
  201. package/dist/lib/hooks/runtimes/utils.d.ts +0 -3
  202. package/dist/lib/hooks/runtimes/utils.d.ts.map +0 -1
  203. package/dist/lib/hooks/useActorConfig.d.ts +0 -20
  204. package/dist/lib/hooks/useActorConfig.d.ts.map +0 -1
  205. package/dist/lib/hooks/useCwdProject.d.ts +0 -33
  206. package/dist/lib/hooks/useCwdProject.d.ts.map +0 -1
  207. package/dist/lib/hooks/useModuleVersion.d.ts +0 -8
  208. package/dist/lib/hooks/useModuleVersion.d.ts.map +0 -1
  209. package/dist/lib/input_schema.d.ts +0 -28
  210. package/dist/lib/input_schema.d.ts.map +0 -1
  211. package/dist/lib/local_state.d.ts +0 -11
  212. package/dist/lib/local_state.d.ts.map +0 -1
  213. package/dist/lib/outputs.d.ts +0 -19
  214. package/dist/lib/outputs.d.ts.map +0 -1
  215. package/dist/lib/project_analyzer.d.ts +0 -4
  216. package/dist/lib/project_analyzer.d.ts.map +0 -1
  217. package/dist/lib/projects/CrawleeAnalyzer.d.ts +0 -4
  218. package/dist/lib/projects/CrawleeAnalyzer.d.ts.map +0 -1
  219. package/dist/lib/projects/OldApifySDKAnalyzer.d.ts +0 -4
  220. package/dist/lib/projects/OldApifySDKAnalyzer.d.ts.map +0 -1
  221. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts +0 -17
  222. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts.map +0 -1
  223. package/dist/lib/projects/scrapy/Spider.d.ts +0 -14
  224. package/dist/lib/projects/scrapy/Spider.d.ts.map +0 -1
  225. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts +0 -7
  226. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts.map +0 -1
  227. package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts +0 -4
  228. package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts.map +0 -1
  229. package/dist/lib/projects/shared.d.ts +0 -2
  230. package/dist/lib/projects/shared.d.ts.map +0 -1
  231. package/dist/lib/secrets.d.ts +0 -22
  232. package/dist/lib/secrets.d.ts.map +0 -1
  233. package/dist/lib/telemetry.d.ts +0 -21
  234. package/dist/lib/telemetry.d.ts.map +0 -1
  235. package/dist/lib/types.d.ts +0 -13
  236. package/dist/lib/types.d.ts.map +0 -1
  237. package/dist/lib/utils/cliDebugPrint.d.ts +0 -2
  238. package/dist/lib/utils/cliDebugPrint.d.ts.map +0 -1
  239. package/dist/lib/utils/confirm.d.ts +0 -7
  240. package/dist/lib/utils/confirm.d.ts.map +0 -1
  241. package/dist/lib/utils.d.ts +0 -105
  242. package/dist/lib/utils.d.ts.map +0 -1
  243. package/dist/lib/version_check.d.ts +0 -14
  244. package/dist/lib/version_check.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage-size.d.ts","sourceRoot":"","sources":["../../../src/lib/commands/storage-size.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ;uCAQhB,MAAM;+CACE,MAAM;SAElD"}
@@ -1,10 +0,0 @@
1
- import type { ApifyClient, Dataset, DatasetClient, KeyValueStore, KeyValueStoreClient } from 'apify-client';
2
- export declare function tryToGetDataset(client: ApifyClient, datasetId: string): Promise<{
3
- dataset: Dataset;
4
- datasetClient: DatasetClient;
5
- } | null>;
6
- export declare function tryToGetKeyValueStore(client: ApifyClient, keyValueStoreId: string): Promise<{
7
- keyValueStore: KeyValueStore;
8
- keyValueStoreClient: KeyValueStoreClient;
9
- } | null>;
10
- //# sourceMappingURL=storages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"storages.d.ts","sourceRoot":"","sources":["../../../src/lib/commands/storages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AA2C5G,wBAAsB,eAAe,CACpC,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,aAAa,EAAE,aAAa,CAAA;CAAE,GAAG,IAAI,CAAC,CAEpE;AAED,wBAAsB,qBAAqB,CAC1C,MAAM,EAAE,WAAW,EACnB,eAAe,EAAE,MAAM,GACrB,OAAO,CAAC;IAAE,aAAa,EAAE,aAAa,CAAC;IAAC,mBAAmB,EAAE,mBAAmB,CAAA;CAAE,GAAG,IAAI,CAAC,CAE5F"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=community.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../src/lib/community.ts"],"names":[],"mappings":""}
@@ -1,58 +0,0 @@
1
- export declare const DEFAULT_LOCAL_STORAGE_DIR = "storage";
2
- export declare const LEGACY_LOCAL_STORAGE_DIR = "apify_storage";
3
- export declare const ACTOR_SPECIFICATION_VERSION = 1;
4
- export declare const EMPTY_LOCAL_CONFIG: {
5
- actorSpecification: number;
6
- name: null;
7
- version: string;
8
- buildTag: string;
9
- environmentVariables: {};
10
- };
11
- export declare const LANGUAGE: {
12
- NODEJS: string;
13
- PYTHON: string;
14
- UNKNOWN: string;
15
- };
16
- export type Language = (typeof LANGUAGE)[keyof typeof LANGUAGE];
17
- export declare const PROJECT_TYPES: {
18
- SCRAPY: string;
19
- CRAWLEE: string;
20
- PRE_CRAWLEE_APIFY_SDK: string;
21
- UNKNOWN: string;
22
- };
23
- export declare const COMMANDS_WITHIN_ACTOR: string[];
24
- export declare const CHECK_VERSION_EVERY_MILLIS: number;
25
- export declare const GLOBAL_CONFIGS_FOLDER: () => string;
26
- export declare const AUTH_FILE_PATH: () => string;
27
- export declare const SECRETS_FILE_PATH: () => string;
28
- export declare const STATE_FILE_PATH: () => string;
29
- export declare const TELEMETRY_FILE_PATH: () => string;
30
- export declare const DEPRECATED_LOCAL_CONFIG_NAME = "apify.json";
31
- export declare const ACTOR_SPECIFICATION_FOLDER = ".actor";
32
- export declare const LOCAL_CONFIG_NAME = "actor.json";
33
- export declare const LOCAL_CONFIG_PATH: string;
34
- export declare const INPUT_FILE_REG_EXP: RegExp;
35
- export declare const MAIN_FILE = "main.js";
36
- export declare const SUPPORTED_NODEJS_VERSION: string;
37
- export declare const CURRENT_APIFY_CLI_VERSION: string;
38
- export declare const APIFY_CLIENT_DEFAULT_HEADERS: {
39
- 'X-Apify-Request-Origin': "CLI";
40
- };
41
- export declare const MINIMUM_SUPPORTED_PYTHON_VERSION = "3.9.0";
42
- export declare const PYTHON_VENV_PATH = ".venv";
43
- export declare const MIXPANEL_TOKEN = "ea75e434d4b4d2405d79ed9d14bfc93b";
44
- export declare enum CommandExitCodes {
45
- BuildFailed = 1,
46
- RunFailed = 1,
47
- BuildTimedOut = 2,
48
- BuildAborted = 3,
49
- RunAborted = 3,
50
- NoFilesToPush = 4,
51
- InvalidInput = 5,
52
- InvalidActorJson = 5,
53
- NotFound = 250,
54
- NotImplemented = 255
55
- }
56
- export declare const cliVersion: string;
57
- export declare const cliDescription: string;
58
- //# sourceMappingURL=consts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../src/lib/consts.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,yBAAyB,YAAY,CAAC;AAEnD,eAAO,MAAM,wBAAwB,kBAAkB,CAAC;AAExD,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,eAAO,MAAM,kBAAkB;;;;;;CAM9B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAEhE,eAAO,MAAM,aAAa;;;;;CAKzB,CAAC;AAEF,eAAO,MAAM,qBAAqB,UAcjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAsB,CAAC;AAE9D,eAAO,MAAM,qBAAqB,cAQjC,CAAC;AAEF,eAAO,MAAM,cAAc,cAAmD,CAAC;AAE/E,eAAO,MAAM,iBAAiB,cAAsD,CAAC;AAErF,eAAO,MAAM,eAAe,cAAoD,CAAC;AAEjF,eAAO,MAAM,mBAAmB,cAAwD,CAAC;AAEzF,eAAO,MAAM,4BAA4B,eAAe,CAAC;AAEzD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AAEnD,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAE9C,eAAO,MAAM,iBAAiB,QAAsD,CAAC;AAErF,eAAO,MAAM,kBAAkB,QAAoD,CAAC;AAEpF,eAAO,MAAM,SAAS,YAAY,CAAC;AAEnC,eAAO,MAAM,wBAAwB,QAAmB,CAAC;AAEzD,eAAO,MAAM,yBAAyB,QAAc,CAAC;AAErD,eAAO,MAAM,4BAA4B;;CAAiD,CAAC;AAE3F,eAAO,MAAM,gCAAgC,UAAU,CAAC;AAExD,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAExC,eAAO,MAAM,cAAc,qCAAqC,CAAC;AAEjE,oBAAY,gBAAgB;IAC3B,WAAW,IAAI;IACf,SAAS,IAAI;IAEb,aAAa,IAAI;IAEjB,YAAY,IAAI;IAChB,UAAU,IAAI;IAEd,aAAa,IAAI;IAEjB,YAAY,IAAI;IAChB,gBAAgB,IAAI;IAEpB,QAAQ,MAAM;IACd,cAAc,MAAM;CACpB;AAuBD,eAAO,MAAM,UAAU,QAA2G,CAAC;AAEnI,eAAO,MAAM,cAAc,QAAkB,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Manifest, Template } from '@apify/actor-templates';
2
- export declare function ensureValidActorName(maybeActorName?: string): Promise<string>;
3
- export declare function getTemplateDefinition(maybeTemplateName: string | undefined, manifestPromise: Promise<Manifest | Error>): Promise<Template>;
4
- /**
5
- * Fetch local readme suffix from the manifest and append it to the readme.
6
- */
7
- export declare function enhanceReadmeWithLocalSuffix(readmePath: string, manifestPromise: Promise<Manifest | Error>): Promise<void>;
8
- //# sourceMappingURL=create-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-utils.d.ts","sourceRoot":"","sources":["../../src/lib/create-utils.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAOjE,wBAAsB,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM,mBAMjE;AAGD,wBAAsB,qBAAqB,CAC1C,iBAAiB,EAAE,MAAM,GAAG,SAAS,EACrC,eAAe,EAAE,OAAO,CAAC,QAAQ,GAAG,KAAK,CAAC,qBAgB1C;AAGD;;GAEG;AACH,wBAAsB,4BAA4B,CAAC,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,QAAQ,GAAG,KAAK,CAAC,iBAgBhH"}
@@ -1,9 +0,0 @@
1
- import { type Options } from 'execa';
2
- export interface ExecWithLogOptions {
3
- cmd: string;
4
- args?: string[];
5
- opts?: Options;
6
- overrideCommand?: string;
7
- }
8
- export declare function execWithLog({ cmd, args, opts, overrideCommand }: ExecWithLogOptions): Promise<void>;
9
- //# sourceMappingURL=exec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exec.d.ts","sourceRoot":"","sources":["../../src/lib/exec.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AA6B7D,MAAM,WAAW,kBAAkB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAsB,WAAW,CAAC,EAAE,GAAG,EAAE,IAAS,EAAE,IAAS,EAAE,eAAe,EAAE,EAAE,kBAAkB,iBAYnG"}
@@ -1,14 +0,0 @@
1
- export declare const updateLocalJson: (jsonFilePath: string, updateAttrs?: Record<string, unknown>, nestedObjectAttr?: null) => Promise<void>;
2
- /**
3
- * If you pass /foo/bar as rootPath and /baz/raz as folderPath then it ensures that following folders exists:
4
- *
5
- * /foo/bar/baz
6
- * /foo/bar/baz/raz
7
- *
8
- * If you pass only one parameter then rootPath is considered to be '.'
9
- */
10
- export declare const ensureFolderExistsSync: (rootPath: string, folderPath?: string) => void;
11
- export declare const rimrafPromised: (pathToBeRemoved: string | string[]) => Promise<void>;
12
- export declare const deleteFile: (filePath: string) => Promise<void>;
13
- export declare const sumFilesSizeInBytes: (pathToFiles: string[], cwd: string) => Promise<number>;
14
- //# sourceMappingURL=files.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/lib/files.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,GAC3B,cAAc,MAAM,EACpB,cAAa,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EACzC,uBAAuB,kBAevB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GAAI,UAAU,MAAM,EAAE,aAAa,MAAM,SAgB3E,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,iBAAiB,MAAM,GAAG,MAAM,EAAE,kBAEtE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,UAAU,MAAM,kBAKhD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,aAAa,MAAM,EAAE,EAAE,KAAK,MAAM,oBAM3E,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type Option } from '@sapphire/result';
2
- import type { Runtime } from '../useCwdProject.js';
3
- export declare function useJavaScriptRuntime(cwd?: string): Promise<Option<Runtime>>;
4
- //# sourceMappingURL=javascript.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/runtimes/javascript.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAQ,MAAM,kBAAkB,CAAC;AAK3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AA6CnD,wBAAsB,oBAAoB,CAAC,GAAG,SAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAsDxF"}
@@ -1,8 +0,0 @@
1
- import { type Option } from '@sapphire/result';
2
- import type { Runtime } from '../useCwdProject.js';
3
- export interface UsePythonRuntimeInput {
4
- cwd?: string;
5
- force?: boolean;
6
- }
7
- export declare function usePythonRuntime({ cwd, force, }?: UsePythonRuntimeInput): Promise<Option<Runtime>>;
8
- //# sourceMappingURL=python.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"python.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/runtimes/python.ts"],"names":[],"mappings":"AAIA,OAAO,EAAQ,KAAK,MAAM,EAAQ,MAAM,kBAAkB,CAAC;AAK3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AA0BnD,MAAM,WAAW,qBAAqB;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAsB,gBAAgB,CAAC,EACtC,GAAmB,EACnB,KAAa,GACb,GAAE,qBAA0B,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAyEvD"}
@@ -1,3 +0,0 @@
1
- export declare function normalizeExecutablePath(path: string): string;
2
- export declare function normalizeExecutablePath(path: string | null): string | null;
3
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/runtimes/utils.ts"],"names":[],"mappings":"AAEA,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;AAC9D,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC"}
@@ -1,20 +0,0 @@
1
- import { type Result } from '@sapphire/result';
2
- export interface ActorConfigError {
3
- message: string;
4
- cause?: Error;
5
- exists: boolean;
6
- config: Record<string, unknown>;
7
- }
8
- export interface ActorConfigResult {
9
- exists: boolean;
10
- migrated: boolean;
11
- config: Record<string, unknown>;
12
- }
13
- export interface ActorConfigInput {
14
- cwd?: string;
15
- migrateConfig?: boolean;
16
- warnAboutOldConfig?: boolean;
17
- }
18
- export declare const cwdCache: Map<string, ActorConfigResult>;
19
- export declare function useActorConfig({ cwd, migrateConfig, warnAboutOldConfig }?: ActorConfigInput): Promise<Result<ActorConfigResult, ActorConfigError>>;
20
- //# sourceMappingURL=useActorConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useActorConfig.d.ts","sourceRoot":"","sources":["../../../src/lib/hooks/useActorConfig.ts"],"names":[],"mappings":"AAKA,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAUxD,MAAM,WAAW,gBAAgB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,gBAAgB;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,QAAQ,gCAAuC,CAAC;AAE7D,wBAAsB,cAAc,CACnC,EAAE,GAAmB,EAAE,aAAoB,EAAE,kBAAyB,EAAE,GAAE,gBAIzE,GACC,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,CAiEtD"}
@@ -1,33 +0,0 @@
1
- import { type Result } from '@sapphire/result';
2
- export declare enum ProjectLanguage {
3
- JavaScript = 0,
4
- Python = 1,
5
- Scrapy = 2,
6
- Unknown = 3,
7
- StaticEntrypoint = 4
8
- }
9
- export interface Runtime {
10
- executablePath: string;
11
- version: string;
12
- pmName?: string;
13
- pmPath?: string | null;
14
- pmVersion?: string | null;
15
- runtimeShorthand?: string;
16
- }
17
- export interface Entrypoint {
18
- path?: string;
19
- script?: string;
20
- }
21
- export interface CwdProject {
22
- type: ProjectLanguage;
23
- entrypoint?: Entrypoint;
24
- runtime?: Runtime;
25
- }
26
- export interface CwdProjectError {
27
- message: string;
28
- }
29
- export declare const cwdCache: Map<string, CwdProject>;
30
- export declare function useCwdProject({ cwd, }?: {
31
- cwd?: string;
32
- }): Promise<Result<CwdProject, CwdProjectError>>;
33
- //# sourceMappingURL=useCwdProject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCwdProject.d.ts","sourceRoot":"","sources":["../../../src/lib/hooks/useCwdProject.ts"],"names":[],"mappings":"AAIA,OAAO,EAAM,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAOnD,oBAAY,eAAe;IAC1B,UAAU,IAAI;IACd,MAAM,IAAI;IAEV,MAAM,IAAI;IACV,OAAO,IAAI;IAGX,gBAAgB,IAAI;CACpB;AAED,MAAM,WAAW,OAAO;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,UAAU;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC/B,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,QAAQ,yBAAgC,CAAC;AAEtD,wBAAsB,aAAa,CAAC,EACnC,GAAmB,GACnB,GAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC,CA+FtE"}
@@ -1,8 +0,0 @@
1
- import { type Option } from '@sapphire/result';
2
- import { type CwdProject } from './useCwdProject.js';
3
- export interface UseModuleVersionInput {
4
- moduleName: string;
5
- project: CwdProject;
6
- }
7
- export declare function useModuleVersion({ moduleName, project }: UseModuleVersionInput): Promise<Option<string>>;
8
- //# sourceMappingURL=useModuleVersion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useModuleVersion.d.ts","sourceRoot":"","sources":["../../../src/lib/hooks/useModuleVersion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAQ,MAAM,kBAAkB,CAAC;AAI3D,OAAO,EAAE,KAAK,UAAU,EAAmB,MAAM,oBAAoB,CAAC;AAEtE,MAAM,WAAW,qBAAqB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,UAAU,CAAC;CACpB;AAqED,wBAAsB,gBAAgB,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CA2C9G"}
@@ -1,28 +0,0 @@
1
- /**
2
- * Return the input schema from the default location.
3
- *
4
- * When the input schema does not exist, null is returned for schema.
5
- * In such a case, path would be set to the location
6
- * where the input schema would be expected to be found (and e.g. can be created there).
7
- */
8
- export declare const readInputSchema: ({ forcePath, cwd }?: {
9
- forcePath?: string;
10
- cwd: string;
11
- }) => Promise<{
12
- inputSchema: Record<string, unknown> | undefined;
13
- inputSchemaPath: string;
14
- } | {
15
- inputSchema: Record<string, unknown>;
16
- inputSchemaPath: null;
17
- } | {
18
- inputSchema: null;
19
- inputSchemaPath: string;
20
- }>;
21
- /**
22
- * Goes to the Actor directory and creates INPUT.json file from the input schema prefills.
23
-
24
- */
25
- export declare const createPrefilledInputFileFromInputSchema: (actorFolderDir: string) => Promise<void>;
26
- export declare const getDefaultsFromInputSchema: (inputSchema: any) => Record<string, unknown>;
27
- export declare const getAjvValidator: (inputSchema: any, ajvInstance: import("ajv").Ajv) => import("ajv").ValidateFunction<unknown>;
28
- //# sourceMappingURL=input_schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input_schema.d.ts","sourceRoot":"","sources":["../../src/lib/input_schema.ts"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC3B,qBAAoB;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAA2B;;;;iBAa5C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;EA6B3D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uCAAuC,GAAU,gBAAgB,MAAM,kBA0CnF,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,aAAa,GAAG,4BAU1D,CAAC;AAGF,eAAO,MAAM,eAAe,GAAI,aAAa,GAAG,EAAE,aAAa,OAAO,KAAK,EAAE,GAAG,4CAsB/E,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Returns state object from auth file or empty object.
3
- * This method is synchronous/blocking to avoid different race conditions.
4
- */
5
- export declare const getLocalState: () => any;
6
- /**
7
- * Extends local state by given values.
8
- * This method is synchronous/blocking to avoid different race conditions.
9
- */
10
- export declare const extendLocalState: (data: Record<string, unknown>) => void;
11
- //# sourceMappingURL=local_state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"local_state.d.ts","sourceRoot":"","sources":["../../src/lib/local_state.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,aAAa,WAMzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,SAI7D,CAAC"}
@@ -1,19 +0,0 @@
1
- export interface LogOptions {
2
- stdoutOutput?: unknown[];
3
- stderrOutput?: unknown[];
4
- }
5
- export interface SimpleLogOptions {
6
- stdout?: boolean;
7
- message: string;
8
- }
9
- export declare function simpleLog(options: SimpleLogOptions): void;
10
- export declare function error(options: SimpleLogOptions): void;
11
- export declare function warning(options: SimpleLogOptions): void;
12
- export declare function success(options: SimpleLogOptions): void;
13
- export declare function run(options: SimpleLogOptions): void;
14
- export declare function info(options: SimpleLogOptions): void;
15
- export interface SimpleLinkOptions extends SimpleLogOptions {
16
- url: string;
17
- }
18
- export declare function link(options: SimpleLinkOptions): void;
19
- //# sourceMappingURL=outputs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"outputs.d.ts","sourceRoot":"","sources":["../../src/lib/outputs.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IAC1B,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CACzB;AAYD,MAAM,WAAW,gBAAgB;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,gBAAgB,QAIlD;AAED,wBAAgB,KAAK,CAAC,OAAO,EAAE,gBAAgB,QAI9C;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,QAIhD;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,QAIhD;AAED,wBAAgB,GAAG,CAAC,OAAO,EAAE,gBAAgB,QAI5C;AAED,wBAAgB,IAAI,CAAC,OAAO,EAAE,gBAAgB,QAI7C;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IAC1D,GAAG,EAAE,MAAM,CAAC;CACZ;AAED,wBAAgB,IAAI,CAAC,OAAO,EAAE,iBAAiB,QAI9C"}
@@ -1,4 +0,0 @@
1
- export declare class ProjectAnalyzer {
2
- static getProjectType(pathname: string): string;
3
- }
4
- //# sourceMappingURL=project_analyzer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project_analyzer.d.ts","sourceRoot":"","sources":["../../src/lib/project_analyzer.ts"],"names":[],"mappings":"AA4BA,qBAAa,eAAe;IAC3B,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM;CAWtC"}
@@ -1,4 +0,0 @@
1
- export declare class CrawleeAnalyzer {
2
- static isApplicable(pathname: string): boolean;
3
- }
4
- //# sourceMappingURL=CrawleeAnalyzer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CrawleeAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/lib/projects/CrawleeAnalyzer.ts"],"names":[],"mappings":"AAKA,qBAAa,eAAe;IAC3B,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM;CAiBpC"}
@@ -1,4 +0,0 @@
1
- export declare class OldApifySDKAnalyzer {
2
- static isApplicable(pathname: string): boolean;
3
- }
4
- //# sourceMappingURL=OldApifySDKAnalyzer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OldApifySDKAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/lib/projects/OldApifySDKAnalyzer.ts"],"names":[],"mappings":"AASA,qBAAa,mBAAmB;IAC/B,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM;CAsCpC"}
@@ -1,17 +0,0 @@
1
- import ConfigParser from 'configparser';
2
- export declare class ScrapyProjectAnalyzer {
3
- pathname: string;
4
- configuration: ConfigParser;
5
- settings: {
6
- BOT_NAME: string;
7
- SPIDER_MODULES: string[];
8
- } | null;
9
- constructor(pathname: string);
10
- static isApplicable(pathname: string): boolean;
11
- init(): Promise<void>;
12
- loadScrapyCfg(): void;
13
- loadSettings(): Promise<void>;
14
- getName(): string | undefined;
15
- getAvailableSpiders(): import("./Spider.js").Spider[];
16
- }
17
- //# sourceMappingURL=ScrapyProjectAnalyzer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrapyProjectAnalyzer.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/ScrapyProjectAnalyzer.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,MAAM,cAAc,CAAC;AAKxC,qBAAa,qBAAqB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,YAAY,CAAS;IACpC,QAAQ,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,CAAQ;gBAE3D,QAAQ,EAAE,MAAM;IAM5B,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM;IAI9B,IAAI;IAIV,aAAa;IAaP,YAAY;IAyBlB,OAAO;IAIP,mBAAmB;CAsBnB"}
@@ -1,14 +0,0 @@
1
- export declare class Spider {
2
- name?: string;
3
- class_name: string;
4
- start_urls?: string;
5
- pathname: string;
6
- constructor(data: SpiderData);
7
- }
8
- export interface SpiderData {
9
- name?: string;
10
- class_name: string;
11
- start_urls?: string;
12
- pathname: string;
13
- }
14
- //# sourceMappingURL=Spider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Spider.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/Spider.ts"],"names":[],"mappings":"AAAA,qBAAa,MAAM;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;gBAEL,IAAI,EAAE,UAAU;CAM5B;AAED,MAAM,WAAW,UAAU;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACjB"}
@@ -1,7 +0,0 @@
1
- import { Spider } from './Spider.js';
2
- export declare class SpiderFileAnalyzer {
3
- pathname: string;
4
- constructor(pathname: string);
5
- getSpiders(): Spider[];
6
- }
7
- //# sourceMappingURL=SpiderFileAnalyzer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpiderFileAnalyzer.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/SpiderFileAnalyzer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,kBAAkB;IAC9B,QAAQ,EAAE,MAAM,CAAC;gBAEL,QAAQ,EAAE,MAAM;IAI5B,UAAU;CAcV"}
@@ -1,4 +0,0 @@
1
- export declare function wrapScrapyProject({ projectPath }: {
2
- projectPath?: string;
3
- }): Promise<void>;
4
- //# sourceMappingURL=wrapScrapyProject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wrapScrapyProject.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/wrapScrapyProject.ts"],"names":[],"mappings":"AA6EA,wBAAsB,iBAAiB,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,iBA+EhF"}
@@ -1,2 +0,0 @@
1
- export declare const CRAWLEE_PACKAGES: string[];
2
- //# sourceMappingURL=shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/lib/projects/shared.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,UAW5B,CAAC"}
@@ -1,22 +0,0 @@
1
- export declare const getSecretsFile: () => any;
2
- export declare const addSecret: (name: string, value: string) => Record<string, string>;
3
- export declare const removeSecret: (name: string) => void;
4
- /**
5
- * Replaces secure values in env with proper values from local secrets file.
6
- * @param env
7
- * @param secrets - Object with secrets, if not set, will be load from secrets file.
8
- */
9
- export declare const replaceSecretsValue: (env: Record<string, string>, secrets?: Record<string, string>) => {};
10
- interface EnvVar {
11
- name: string;
12
- value: string;
13
- isSecret?: boolean;
14
- }
15
- /**
16
- * Transform env to envVars format attribute, which uses Apify API
17
- * It replaces secrets to values from secrets file.
18
- * @param secrets - Object with secrets, if not set, will be load from secrets file.
19
- */
20
- export declare const transformEnvToEnvVars: (env: Record<string, string>, secrets?: Record<string, string>) => EnvVar[];
21
- export {};
22
- //# sourceMappingURL=secrets.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/lib/secrets.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,cAAc,WAM1B,CAAC;AAQF,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,2BAcpD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,SAKxC,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAoBhG,CAAC;AAEF,UAAU,MAAM;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,aAyBlG,CAAC"}
@@ -1,21 +0,0 @@
1
- import Mixpanel from 'mixpanel';
2
- export declare const mixpanel: Mixpanel.Mixpanel;
3
- /**
4
- * Returns telemetry distinctId for current local environment or creates new one.
5
- *
6
- */
7
- export declare const getOrCreateLocalDistinctId: () => Promise<any>;
8
- export declare const regenerateLocalDistinctId: () => void;
9
- export declare const isTelemetryEnabled: boolean;
10
- /**
11
- * Tracks telemetry event if telemetry is enabled.
12
- */
13
- export declare const maybeTrackTelemetry: ({ eventName, eventData, }: {
14
- eventName: string;
15
- eventData: Record<string, unknown>;
16
- }) => Promise<void>;
17
- /**
18
- * Uses Apify identity with local distinctId.
19
- */
20
- export declare const useApifyIdentity: (userId: string) => Promise<void>;
21
- //# sourceMappingURL=telemetry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/lib/telemetry.ts"],"names":[],"mappings":"AAGA,OAAO,QAA+B,MAAM,UAAU,CAAC;AAQvD,eAAO,MAAM,QAAQ,mBAAsD,CAAC;AAc5E;;;GAGG;AACH,eAAO,MAAM,0BAA0B,oBAgBtC,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAOrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,SAC8E,CAAC;AAE9G;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAU,2BAGvC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,kBAa3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAU,QAAQ,MAAM,kBAgBpD,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { BuiltApifyCommand } from './command-framework/apify-command.js';
2
- export interface AuthJSON {
3
- token?: string;
4
- id?: string;
5
- username?: string;
6
- email?: string;
7
- proxy?: {
8
- password: string;
9
- };
10
- organizationOwnerUserId?: string;
11
- }
12
- export declare function OverrideClassName<T extends typeof BuiltApifyCommand>(clazz: T): typeof BuiltApifyCommand;
13
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,MAAM,WAAW,QAAQ;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,OAAO,iBAAiB,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,iBAAiB,CAExG"}
@@ -1,2 +0,0 @@
1
- export declare function cliDebugPrint(tag: string, ...args: unknown[]): void;
2
- //# sourceMappingURL=cliDebugPrint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cliDebugPrint.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/cliDebugPrint.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,QAI5D"}
@@ -1,7 +0,0 @@
1
- export declare function confirmAction({ expectedValue, type, failureMessage, message, }: {
2
- type: string;
3
- expectedValue?: string;
4
- failureMessage?: string;
5
- message?: string;
6
- }): Promise<boolean>;
7
- //# sourceMappingURL=confirm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/confirm.ts"],"names":[],"mappings":"AA6BA,wBAAsB,aAAa,CAAC,EACnC,aAAa,EACb,IAAI,EACJ,cAAc,EACd,OAAO,GACP,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAYxG"}