UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

1 lines 1.05 kB
{"version":3,"file":"constants.mjs","sources":["../../../../../../../src/providers/s3/utils/client/runtime/constants.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const SEND_UPLOAD_PROGRESS_EVENT = 'sendUploadProgress';\nexport const SEND_DOWNLOAD_PROGRESS_EVENT = 'sendDownloadProgress';\nexport const NETWORK_ERROR_MESSAGE = 'Network Error';\nexport const NETWORK_ERROR_CODE = 'ERR_NETWORK';\nexport const ABORT_ERROR_MESSAGE = 'Request aborted';\nexport const ABORT_ERROR_CODE = 'ERR_ABORTED';\nexport const CANCELED_ERROR_MESSAGE = 'canceled';\nexport const CANCELED_ERROR_CODE = 'ERR_CANCELED';\nexport const CONTENT_SHA256_HEADER = 'x-amz-content-sha256';\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,0BAA0B,GAAG,qBAAqB;AACnD,MAAC,4BAA4B,GAAG,uBAAuB;AACvD,MAAC,qBAAqB,GAAG,gBAAgB;AACzC,MAAC,kBAAkB,GAAG,cAAc;AACpC,MAAC,mBAAmB,GAAG,kBAAkB;AACzC,MAAC,gBAAgB,GAAG,cAAc;AAClC,MAAC,sBAAsB,GAAG,WAAW;AACrC,MAAC,mBAAmB,GAAG,eAAe;AACtC,MAAC,qBAAqB,GAAG;;;;"}