UNPKG

@vtex/api

Version:
61 lines (60 loc) 2.87 kB
export declare const NODE_VTEX_API_VERSION: any; export declare const DEFAULT_WORKSPACE = "master"; export declare const IS_IO: string | undefined; export declare const PID: number; export declare const CACHE_CONTROL_HEADER = "cache-control"; export declare const SEGMENT_HEADER = "x-vtex-segment"; export declare const SESSION_HEADER = "x-vtex-session"; export declare const PRODUCT_HEADER = "x-vtex-product"; export declare const LOCALE_HEADER = "x-vtex-locale"; export declare const FORWARDED_HOST_HEADER = "x-forwarded-host"; export declare const TENANT_HEADER = "x-vtex-tenant"; export declare const BINDING_HEADER = "x-vtex-binding"; export declare const META_HEADER = "x-vtex-meta"; export declare const META_HEADER_BUCKET = "x-vtex-meta-bucket"; export declare const ETAG_HEADER = "etag"; export declare const ACCOUNT_HEADER = "x-vtex-account"; export declare const CREDENTIAL_HEADER = "x-vtex-credential"; export declare const REQUEST_ID_HEADER = "x-request-id"; export declare const ROUTER_CACHE_HEADER = "x-router-cache"; export declare const OPERATION_ID_HEADER = "x-vtex-operation-id"; export declare const PLATFORM_HEADER = "x-vtex-platform"; export declare const WORKSPACE_IS_PRODUCTION_HEADER = "x-vtex-workspace-is-production"; export declare const WORKSPACE_HEADER = "x-vtex-workspace"; export declare const EVENT_KEY_HEADER = "x-event-key"; export declare const EVENT_SENDER_HEADER = "x-event-sender"; export declare const EVENT_SUBJECT_HEADER = "x-event-subject"; export declare const EVENT_HANDLER_ID_HEADER = "x-event-handler-id"; export declare const COLOSSUS_ROUTE_DECLARER_HEADER = "x-colossus-route-declarer"; export declare const COLOSSUS_ROUTE_ID_HEADER = "x-colossus-route-id"; export declare const COLOSSUS_PARAMS_HEADER = "x-colossus-params"; export declare const TRACE_ID_HEADER = "x-trace-id"; export declare const PROVIDER_HEADER = "x-vtex-provider"; export type VaryHeaders = typeof SEGMENT_HEADER | typeof SESSION_HEADER | typeof PRODUCT_HEADER | typeof LOCALE_HEADER; export declare const BODY_HASH = "__graphqlBodyHash"; export declare const UP_SIGNAL = "UP"; export declare const MAX_AGE: { LONG: number; MEDIUM: number; SHORT: number; }; export declare const HTTP_SERVER_PORT = 5050; export declare const MAX_WORKERS = 4; export declare const LINKED: boolean; export declare const REGION: string; export declare const PUBLIC_ENDPOINT: string; export declare const APP: { ID: string; MAJOR: string; NAME: string; VENDOR: string; VERSION: string; IS_THIRD_PARTY(): boolean; }; export declare const NODE_ENV: string; export declare const ACCOUNT: string; export declare const WORKSPACE: string; export declare const PRODUCTION: boolean; export declare const INSPECT_DEBUGGER_PORT = 5858; export declare const cancellableMethods: Set<string>; export declare const LOG_CLIENT_INIT_TIMEOUT_MS = 5000;