@apify/consts
Advanced tools
Comparing version 1.4.0 to 1.4.1
330
consts.d.ts
export declare const FREE_SUBSCRIPTION_PLAN_CODE = "DEV"; | ||
export declare const ACT_JOB_TYPES: { | ||
BUILD: string; | ||
RUN: string; | ||
readonly BUILD: "BUILD"; | ||
readonly RUN: "RUN"; | ||
}; | ||
export declare const ACT_SOURCE_TYPES: { | ||
SOURCE_CODE: string; | ||
SOURCE_FILES: string; | ||
GIT_REPO: string; | ||
TARBALL: string; | ||
GITHUB_GIST: string; | ||
readonly SOURCE_CODE: "SOURCE_CODE"; | ||
readonly SOURCE_FILES: "SOURCE_FILES"; | ||
readonly GIT_REPO: "GIT_REPO"; | ||
readonly TARBALL: "TARBALL"; | ||
readonly GITHUB_GIST: "GITHUB_GIST"; | ||
}; | ||
export declare const ACTOR_EVENT_NAMES: { | ||
CPU_INFO: string; | ||
SYSTEM_INFO: string; | ||
MIGRATING: string; | ||
PERSIST_STATE: string; | ||
ABORTING: string; | ||
readonly CPU_INFO: "cpuInfo"; | ||
readonly SYSTEM_INFO: "systemInfo"; | ||
readonly MIGRATING: "migrating"; | ||
readonly PERSIST_STATE: "persistState"; | ||
readonly ABORTING: "aborting"; | ||
}; | ||
@@ -24,10 +24,10 @@ /** | ||
export declare const ACT_JOB_STATUSES: { | ||
READY: string; | ||
RUNNING: string; | ||
SUCCEEDED: string; | ||
FAILED: string; | ||
TIMING_OUT: string; | ||
TIMED_OUT: string; | ||
ABORTING: string; | ||
ABORTED: string; | ||
readonly READY: "READY"; | ||
readonly RUNNING: "RUNNING"; | ||
readonly SUCCEEDED: "SUCCEEDED"; | ||
readonly FAILED: "FAILED"; | ||
readonly TIMING_OUT: "TIMING-OUT"; | ||
readonly TIMED_OUT: "TIMED-OUT"; | ||
readonly ABORTING: "ABORTING"; | ||
readonly ABORTED: "ABORTED"; | ||
}; | ||
@@ -37,13 +37,13 @@ /** | ||
*/ | ||
export declare const ACT_JOB_TERMINAL_STATUSES: string[]; | ||
export declare const ACT_JOB_TERMINAL_STATUSES: ("SUCCEEDED" | "FAILED" | "TIMED-OUT" | "ABORTED")[]; | ||
export declare const WORKER_SERVICE_TYPES: { | ||
CRAWLING: string; | ||
ACTOR: string; | ||
readonly CRAWLING: "crawling"; | ||
readonly ACTOR: "actor"; | ||
}; | ||
export declare const META_ORIGINS: { | ||
DEVELOPMENT: string; | ||
WEB: string; | ||
API: string; | ||
SCHEDULER: string; | ||
TEST: string; | ||
readonly DEVELOPMENT: "DEVELOPMENT"; | ||
readonly WEB: "WEB"; | ||
readonly API: "API"; | ||
readonly SCHEDULER: "SCHEDULER"; | ||
readonly TEST: "TEST"; | ||
}; | ||
@@ -83,6 +83,6 @@ /** | ||
export declare const DOCKER_LABELS: { | ||
ACTOR_BUILD_ID: string; | ||
ACTOR_RUN_ID: string; | ||
ACT_BUILD_ID: string; | ||
ACT_RUN_ID: string; | ||
readonly ACTOR_BUILD_ID: "com.apify.actBuildId"; | ||
readonly ACTOR_RUN_ID: "com.apify.actRunId"; | ||
readonly ACT_BUILD_ID: "com.apify.actBuildId"; | ||
readonly ACT_RUN_ID: "com.apify.actRunId"; | ||
}; | ||
@@ -93,4 +93,4 @@ /** | ||
export declare const ACT_TYPES: { | ||
ACT: string; | ||
CRAWLER: string; | ||
readonly ACT: "acts"; | ||
readonly CRAWLER: "crawlers"; | ||
}; | ||
@@ -193,39 +193,39 @@ /** | ||
export declare const ENV_VARS: { | ||
IS_AT_HOME: string; | ||
ACTOR_ID: string; | ||
ACTOR_RUN_ID: string; | ||
ACTOR_TASK_ID: string; | ||
INPUT_KEY: string; | ||
USER_ID: string; | ||
TOKEN: string; | ||
PROXY_PASSWORD: string; | ||
PROXY_HOSTNAME: string; | ||
PROXY_PORT: string; | ||
PROXY_STATUS_URL: string; | ||
STARTED_AT: string; | ||
TIMEOUT_AT: string; | ||
DEFAULT_KEY_VALUE_STORE_ID: string; | ||
DEFAULT_DATASET_ID: string; | ||
DEFAULT_REQUEST_QUEUE_ID: string; | ||
LOCAL_STORAGE_DIR: string; | ||
API_BASE_URL: string; | ||
API_PUBLIC_BASE_URL: string; | ||
HEADLESS: string; | ||
XVFB: string; | ||
MEMORY_MBYTES: string; | ||
LOG_LEVEL: string; | ||
ACTOR_EVENTS_WS_URL: string; | ||
CHROME_EXECUTABLE_PATH: string; | ||
CONTAINER_PORT: string; | ||
CONTAINER_URL: string; | ||
META_ORIGIN: string; | ||
FACT: string; | ||
DEDICATED_CPUS: string; | ||
SDK_LATEST_VERSION: string; | ||
DISABLE_OUTDATED_WARNING: string; | ||
WORKFLOW_KEY: string; | ||
ACT_ID: string; | ||
ACT_RUN_ID: string; | ||
readonly IS_AT_HOME: "APIFY_IS_AT_HOME"; | ||
readonly ACTOR_ID: "APIFY_ACTOR_ID"; | ||
readonly ACTOR_RUN_ID: "APIFY_ACTOR_RUN_ID"; | ||
readonly ACTOR_TASK_ID: "APIFY_ACTOR_TASK_ID"; | ||
readonly INPUT_KEY: "APIFY_INPUT_KEY"; | ||
readonly USER_ID: "APIFY_USER_ID"; | ||
readonly TOKEN: "APIFY_TOKEN"; | ||
readonly PROXY_PASSWORD: "APIFY_PROXY_PASSWORD"; | ||
readonly PROXY_HOSTNAME: "APIFY_PROXY_HOSTNAME"; | ||
readonly PROXY_PORT: "APIFY_PROXY_PORT"; | ||
readonly PROXY_STATUS_URL: "APIFY_PROXY_STATUS_URL"; | ||
readonly STARTED_AT: "APIFY_STARTED_AT"; | ||
readonly TIMEOUT_AT: "APIFY_TIMEOUT_AT"; | ||
readonly DEFAULT_KEY_VALUE_STORE_ID: "APIFY_DEFAULT_KEY_VALUE_STORE_ID"; | ||
readonly DEFAULT_DATASET_ID: "APIFY_DEFAULT_DATASET_ID"; | ||
readonly DEFAULT_REQUEST_QUEUE_ID: "APIFY_DEFAULT_REQUEST_QUEUE_ID"; | ||
readonly LOCAL_STORAGE_DIR: "APIFY_LOCAL_STORAGE_DIR"; | ||
readonly API_BASE_URL: "APIFY_API_BASE_URL"; | ||
readonly API_PUBLIC_BASE_URL: "APIFY_API_PUBLIC_BASE_URL"; | ||
readonly HEADLESS: "APIFY_HEADLESS"; | ||
readonly XVFB: "APIFY_XVFB"; | ||
readonly MEMORY_MBYTES: "APIFY_MEMORY_MBYTES"; | ||
readonly LOG_LEVEL: "APIFY_LOG_LEVEL"; | ||
readonly ACTOR_EVENTS_WS_URL: "APIFY_ACTOR_EVENTS_WS_URL"; | ||
readonly CHROME_EXECUTABLE_PATH: "APIFY_CHROME_EXECUTABLE_PATH"; | ||
readonly CONTAINER_PORT: "APIFY_CONTAINER_PORT"; | ||
readonly CONTAINER_URL: "APIFY_CONTAINER_URL"; | ||
readonly META_ORIGIN: "APIFY_META_ORIGIN"; | ||
readonly FACT: "APIFY_FACT"; | ||
readonly DEDICATED_CPUS: "APIFY_DEDICATED_CPUS"; | ||
readonly SDK_LATEST_VERSION: "APIFY_SDK_LATEST_VERSION"; | ||
readonly DISABLE_OUTDATED_WARNING: "APIFY_DISABLE_OUTDATED_WARNING"; | ||
readonly WORKFLOW_KEY: "APIFY_WORKFLOW_KEY"; | ||
readonly ACT_ID: "APIFY_ACT_ID"; | ||
readonly ACT_RUN_ID: "APIFY_ACT_RUN_ID"; | ||
}; | ||
export declare const INTEGER_ENV_VARS: string[]; | ||
export declare const INTEGER_ENV_VARS: readonly ["APIFY_PROXY_PORT", "APIFY_MEMORY_MBYTES", "APIFY_CONTAINER_PORT"]; | ||
/** | ||
@@ -239,5 +239,5 @@ * Default value for APIFY_CONTAINER_PORT used both locally and at Apify platform. | ||
export declare const LOCAL_STORAGE_SUBDIRS: { | ||
datasets: string; | ||
keyValueStores: string; | ||
requestQueues: string; | ||
readonly datasets: "datasets"; | ||
readonly keyValueStores: "key_value_stores"; | ||
readonly requestQueues: "request_queues"; | ||
}; | ||
@@ -249,3 +249,9 @@ /** | ||
export declare const LOCAL_ENV_VARS: { | ||
[x: string]: string; | ||
APIFY_DEFAULT_KEY_VALUE_STORE_ID: string; | ||
APIFY_DEFAULT_DATASET_ID: string; | ||
APIFY_DEFAULT_REQUEST_QUEUE_ID: string; | ||
APIFY_PROXY_HOSTNAME: string; | ||
APIFY_PROXY_PORT: string; | ||
APIFY_CONTAINER_PORT: string; | ||
APIFY_CONTAINER_URL: string; | ||
}; | ||
@@ -256,4 +262,4 @@ /** | ||
export declare const KEY_VALUE_STORE_KEYS: { | ||
INPUT: string; | ||
OUTPUT: string; | ||
readonly INPUT: "INPUT"; | ||
readonly OUTPUT: "OUTPUT"; | ||
}; | ||
@@ -269,5 +275,5 @@ /** | ||
export declare const CUSTOMER_REQUEST_TYPES: { | ||
EXTRACT_DATA: string; | ||
AUTOMATION: string; | ||
OTHER: string; | ||
readonly EXTRACT_DATA: "EXTRACT_DATA"; | ||
readonly AUTOMATION: "AUTOMATION"; | ||
readonly OTHER: "OTHER"; | ||
}; | ||
@@ -283,17 +289,17 @@ /** | ||
export declare const ACTOR_CATEGORIES: { | ||
AUTOMATION: string; | ||
BUSINESS: string; | ||
COVID_19: string; | ||
DEVELOPER_EXAMPLES: string; | ||
DEVELOPER_TOOLS: string; | ||
ECOMMERCE: string; | ||
GAMES: string; | ||
JOBS: string; | ||
MARKETING: string; | ||
NEWS: string; | ||
SEO_TOOLS: string; | ||
SOCIAL_MEDIA: string; | ||
TRAVEL: string; | ||
VIDEOS: string; | ||
OTHER: string; | ||
readonly AUTOMATION: "Automation"; | ||
readonly BUSINESS: "Business"; | ||
readonly COVID_19: "Covid-19"; | ||
readonly DEVELOPER_EXAMPLES: "Developer examples"; | ||
readonly DEVELOPER_TOOLS: "Developer tools"; | ||
readonly ECOMMERCE: "E-commerce"; | ||
readonly GAMES: "Games"; | ||
readonly JOBS: "Jobs"; | ||
readonly MARKETING: "Marketing"; | ||
readonly NEWS: "News"; | ||
readonly SEO_TOOLS: "SEO tools"; | ||
readonly SOCIAL_MEDIA: "Social media"; | ||
readonly TRAVEL: "Travel"; | ||
readonly VIDEOS: "Videos"; | ||
readonly OTHER: "Other"; | ||
}; | ||
@@ -304,42 +310,42 @@ /** | ||
export declare const LEGACY_ACTOR_CATEGORIES: { | ||
TRAVEL: string; | ||
ECOMMERCE: string; | ||
ENTERTAINMENT: string; | ||
SOCIAL: string; | ||
MARKETING: string; | ||
NEWS: string; | ||
FINANCE: string; | ||
LIFESTYLE: string; | ||
SEARCH_ENGINES: string; | ||
DATA: string; | ||
EGOVERNMENT: string; | ||
TOOLS: string; | ||
EXAMPLES: string; | ||
OTHER: string; | ||
readonly TRAVEL: "Travel"; | ||
readonly ECOMMERCE: "E-commerce"; | ||
readonly ENTERTAINMENT: "Entertainment"; | ||
readonly SOCIAL: "Social"; | ||
readonly MARKETING: "Marketing"; | ||
readonly NEWS: "News"; | ||
readonly FINANCE: "Finance"; | ||
readonly LIFESTYLE: "Lifestyle"; | ||
readonly SEARCH_ENGINES: "Search engines"; | ||
readonly DATA: "Data processing"; | ||
readonly EGOVERNMENT: "E-government"; | ||
readonly TOOLS: "Tools"; | ||
readonly EXAMPLES: "Examples"; | ||
readonly OTHER: "Other"; | ||
}; | ||
export declare const ALL_ACTOR_CATEGORIES: { | ||
TRAVEL: string; | ||
ECOMMERCE: string; | ||
ENTERTAINMENT: string; | ||
SOCIAL: string; | ||
MARKETING: string; | ||
NEWS: string; | ||
FINANCE: string; | ||
LIFESTYLE: string; | ||
SEARCH_ENGINES: string; | ||
DATA: string; | ||
EGOVERNMENT: string; | ||
TOOLS: string; | ||
EXAMPLES: string; | ||
OTHER: string; | ||
AUTOMATION: string; | ||
BUSINESS: string; | ||
COVID_19: string; | ||
DEVELOPER_EXAMPLES: string; | ||
DEVELOPER_TOOLS: string; | ||
GAMES: string; | ||
JOBS: string; | ||
SEO_TOOLS: string; | ||
SOCIAL_MEDIA: string; | ||
VIDEOS: string; | ||
readonly TRAVEL: "Travel"; | ||
readonly ECOMMERCE: "E-commerce"; | ||
readonly ENTERTAINMENT: "Entertainment"; | ||
readonly SOCIAL: "Social"; | ||
readonly MARKETING: "Marketing"; | ||
readonly NEWS: "News"; | ||
readonly FINANCE: "Finance"; | ||
readonly LIFESTYLE: "Lifestyle"; | ||
readonly SEARCH_ENGINES: "Search engines"; | ||
readonly DATA: "Data processing"; | ||
readonly EGOVERNMENT: "E-government"; | ||
readonly TOOLS: "Tools"; | ||
readonly EXAMPLES: "Examples"; | ||
readonly OTHER: "Other"; | ||
readonly AUTOMATION: "Automation"; | ||
readonly BUSINESS: "Business"; | ||
readonly COVID_19: "Covid-19"; | ||
readonly DEVELOPER_EXAMPLES: "Developer examples"; | ||
readonly DEVELOPER_TOOLS: "Developer tools"; | ||
readonly GAMES: "Games"; | ||
readonly JOBS: "Jobs"; | ||
readonly SEO_TOOLS: "SEO tools"; | ||
readonly SOCIAL_MEDIA: "Social media"; | ||
readonly VIDEOS: "Videos"; | ||
}; | ||
@@ -370,13 +376,13 @@ /** | ||
export declare const WEBHOOK_EVENT_TYPES: { | ||
ACTOR_RUN_CREATED: string; | ||
ACTOR_RUN_SUCCEEDED: string; | ||
ACTOR_RUN_FAILED: string; | ||
ACTOR_RUN_TIMED_OUT: string; | ||
ACTOR_RUN_ABORTED: string; | ||
ACTOR_RUN_RESURRECTED: string; | ||
TEST: string; | ||
readonly ACTOR_RUN_CREATED: "ACTOR.RUN.CREATED"; | ||
readonly ACTOR_RUN_SUCCEEDED: "ACTOR.RUN.SUCCEEDED"; | ||
readonly ACTOR_RUN_FAILED: "ACTOR.RUN.FAILED"; | ||
readonly ACTOR_RUN_TIMED_OUT: "ACTOR.RUN.TIMED_OUT"; | ||
readonly ACTOR_RUN_ABORTED: "ACTOR.RUN.ABORTED"; | ||
readonly ACTOR_RUN_RESURRECTED: "ACTOR.RUN.RESURRECTED"; | ||
readonly TEST: "TEST"; | ||
}; | ||
export declare const WEBHOOK_EVENT_TYPE_GROUPS: { | ||
ACTOR_RUN: string[]; | ||
ACTOR_RUN_TERMINAL: string[]; | ||
readonly ACTOR_RUN: readonly ["ACTOR.RUN.CREATED", "ACTOR.RUN.SUCCEEDED", "ACTOR.RUN.FAILED", "ACTOR.RUN.TIMED_OUT", "ACTOR.RUN.ABORTED", "ACTOR.RUN.RESURRECTED"]; | ||
readonly ACTOR_RUN_TERMINAL: readonly ["ACTOR.RUN.SUCCEEDED", "ACTOR.RUN.FAILED", "ACTOR.RUN.TIMED_OUT", "ACTOR.RUN.ABORTED"]; | ||
}; | ||
@@ -388,28 +394,28 @@ export declare const WEBHOOK_DEFAULT_PAYLOAD_TEMPLATE = "{\n \"userId\": {{userId}},\n \"createdAt\": {{createdAt}},\n \"eventType\": {{eventType}},\n \"eventData\": {{eventData}},\n \"resource\": {{resource}}\n}"; | ||
export declare const SOURCE_FILE_FORMATS: { | ||
TEXT: string; | ||
BASE64: string; | ||
readonly TEXT: "TEXT"; | ||
readonly BASE64: "BASE64"; | ||
}; | ||
export declare const PROJECT_STATUSES: { | ||
REQUEST: string; | ||
SPECIFICATION: string; | ||
OFFERS: string; | ||
DEPOSIT: string; | ||
DEPOSIT_PAID: string; | ||
NEW: string; | ||
IN_PROGRESS: string; | ||
QA: string; | ||
CUSTOMER_QA: string; | ||
READY_FOR_INVOICE: string; | ||
INVOICED: string; | ||
PAID: string; | ||
DELIVERED: string; | ||
CLOSED: string; | ||
FINISHED: string; | ||
readonly REQUEST: "REQUEST"; | ||
readonly SPECIFICATION: "SPECIFICATION"; | ||
readonly OFFERS: "OFFERS"; | ||
readonly DEPOSIT: "DEPOSIT"; | ||
readonly DEPOSIT_PAID: "DEPOSIT_PAID"; | ||
readonly NEW: "NEW"; | ||
readonly IN_PROGRESS: "IN_PROGRESS"; | ||
readonly QA: "QA"; | ||
readonly CUSTOMER_QA: "CUSTOMER_QA"; | ||
readonly READY_FOR_INVOICE: "READY_FOR_INVOICE"; | ||
readonly INVOICED: "INVOICED"; | ||
readonly PAID: "PAID"; | ||
readonly DELIVERED: "DELIVERED"; | ||
readonly CLOSED: "CLOSED"; | ||
readonly FINISHED: "FINISHED"; | ||
}; | ||
export declare const FINISHED_PROJECT_STATUSES: string[]; | ||
export declare const FINISHED_PROJECT_STATUSES: readonly ["READY_FOR_INVOICE", "INVOICED", "PAID", "DELIVERED", "FINISHED"]; | ||
export declare const MARKETPLACE_USER_ROLES: { | ||
DEVELOPER: string; | ||
DATA_EXPERT: string; | ||
CUSTOMER: string; | ||
readonly DEVELOPER: "DEVELOPER"; | ||
readonly DATA_EXPERT: "DATA_EXPERT"; | ||
readonly CUSTOMER: "CUSTOMER"; | ||
}; | ||
export declare const GIT_MAIN_BRANCH = "main"; |
{ | ||
"name": "@apify/consts", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Tools and constants shared across Apify projects.", | ||
@@ -37,3 +37,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "a9e02661e4b7a250dfdb473edc928b4a1366e14f" | ||
"gitHead": "e6c69d17dfe239505be457f5ed02958e2d68204a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54992
1119