mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 20:48:29 +02:00
feat: add @actions/cache
This commit is contained in:
parent
b15fb7d098
commit
16e8c96a41
1932 changed files with 261172 additions and 10 deletions
96
node_modules/@azure/ms-rest-js/es/lib/util/constants.js
generated
vendored
Normal file
96
node_modules/@azure/ms-rest-js/es/lib/util/constants.js
generated
vendored
Normal file
|
@ -0,0 +1,96 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
export var Constants = {
|
||||
/**
|
||||
* The ms-rest version
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
msRestVersion: "2.6.1",
|
||||
/**
|
||||
* Specifies HTTP.
|
||||
*
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
HTTP: "http:",
|
||||
/**
|
||||
* Specifies HTTPS.
|
||||
*
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
HTTPS: "https:",
|
||||
/**
|
||||
* Specifies HTTP Proxy.
|
||||
*
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
HTTP_PROXY: "HTTP_PROXY",
|
||||
/**
|
||||
* Specifies HTTPS Proxy.
|
||||
*
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
HTTPS_PROXY: "HTTPS_PROXY",
|
||||
/**
|
||||
* Specifies NO Proxy.
|
||||
*/
|
||||
NO_PROXY: "NO_PROXY",
|
||||
/**
|
||||
* Specifies ALL Proxy.
|
||||
*/
|
||||
ALL_PROXY: "ALL_PROXY",
|
||||
HttpConstants: {
|
||||
/**
|
||||
* Http Verbs
|
||||
*
|
||||
* @const
|
||||
* @enum {string}
|
||||
*/
|
||||
HttpVerbs: {
|
||||
PUT: "PUT",
|
||||
GET: "GET",
|
||||
DELETE: "DELETE",
|
||||
POST: "POST",
|
||||
MERGE: "MERGE",
|
||||
HEAD: "HEAD",
|
||||
PATCH: "PATCH",
|
||||
},
|
||||
StatusCodes: {
|
||||
TooManyRequests: 429,
|
||||
},
|
||||
},
|
||||
/**
|
||||
* Defines constants for use with HTTP headers.
|
||||
*/
|
||||
HeaderConstants: {
|
||||
/**
|
||||
* The Authorization header.
|
||||
*
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
AUTHORIZATION: "authorization",
|
||||
AUTHORIZATION_SCHEME: "Bearer",
|
||||
/**
|
||||
* The Retry-After response-header field can be used with a 503 (Service
|
||||
* Unavailable) or 349 (Too Many Requests) responses to indicate how long
|
||||
* the service is expected to be unavailable to the requesting client.
|
||||
*
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
RETRY_AFTER: "Retry-After",
|
||||
/**
|
||||
* The UserAgent header.
|
||||
*
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
USER_AGENT: "User-Agent",
|
||||
},
|
||||
};
|
||||
//# sourceMappingURL=constants.js.map
|
Loading…
Add table
Add a link
Reference in a new issue