@mcma/api
Advanced tools
Comparing version 0.16.17 to 0.16.18
export * from "./lib"; |
@@ -0,0 +0,0 @@ "use strict"; |
import { ConfigVariables } from "@mcma/core"; | ||
export declare function getPublicUrl(configVariables?: ConfigVariables): string; | ||
export declare function getApiSecurityConfigSecretId(configVariables?: ConfigVariables): string; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function inMemoryTextValues<T>(filterValues: { | ||
[key: string]: string; | ||
}): (item: T) => boolean; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare enum HttpMethod { |
@@ -15,2 +15,2 @@ "use strict"; | ||
HttpMethod["ANY"] = "ANY"; | ||
})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {})); | ||
})(HttpMethod || (exports.HttpMethod = HttpMethod = {})); |
@@ -64,2 +64,2 @@ export declare enum HttpStatusCode { | ||
} | ||
export declare function getStatusError(statusCode: number): "" | "Continue" | "Switching Protocols" | "Processing" | "Checkpoint" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "IM Used" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required " | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Requested Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Unprocessable Entity" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Bandwidth Limit Exceeded" | "Not Extended" | "Network Authentication Required"; | ||
export declare function getStatusError(statusCode: number): "" | "Processing" | "Continue" | "Switching Protocols" | "Checkpoint" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "IM Used" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required " | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Requested Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Unprocessable Entity" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Bandwidth Limit Exceeded" | "Not Extended" | "Network Authentication Required"; |
@@ -67,3 +67,3 @@ "use strict"; | ||
HttpStatusCode[HttpStatusCode["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired"; | ||
})(HttpStatusCode = exports.HttpStatusCode || (exports.HttpStatusCode = {})); | ||
})(HttpStatusCode || (exports.HttpStatusCode = HttpStatusCode = {})); | ||
function getStatusError(statusCode) { | ||
@@ -70,0 +70,0 @@ switch (statusCode) { |
@@ -0,0 +0,0 @@ export * from "./http-methods"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaApiRouteCollection } from "../routing"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaObject, McmaObjectProperties } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaApiRequestContext } from "./mcma-api-request-context"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export declare class McmaApiRequestConfig { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ConfigVariables, Logger, LoggerProvider, McmaResource, McmaTracker } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaApiRequestConfig } from "./mcma-api-request-config"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare class McmaApiResponse { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from "./routing"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaResource } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaResource } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaResource } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { JobAssignment } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaResource } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaResource, McmaResourceType } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaResource } from "@mcma/core"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from "./default-create-route"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from "./defaults"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { McmaApiRoute } from "./route"; |
@@ -0,0 +0,0 @@ "use strict"; |
import { McmaApiRequestContext } from "../http/mcma-api-request-context"; | ||
export type McmaApiRouteHandler = (requestContext: McmaApiRequestContext) => Promise<void>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import * as uriTemplates from "uri-templates"; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from "./mcma-api-key-security-config"; | ||
export * from "./mcma-api-key-security-middleware"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { HttpMethod } from "../http"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { SecretsProvider } from "@mcma/secrets"; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function camelCaseToKebabCase(value: string): string; | ||
export declare function pluralizeKebabCase(value: string): string; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@mcma/api", | ||
"version": "0.16.17", | ||
"version": "0.16.18", | ||
"description": "Node module for building APIs based on the EBU MCMA framework", | ||
"engines": { | ||
"node": "^18.0.0" | ||
"node": ">=18.0.0" | ||
}, | ||
@@ -34,25 +34,25 @@ "type": "commonjs", | ||
"dependencies": { | ||
"@types/uri-templates": "^0.1.30", | ||
"pluralize": "^7.0.0", | ||
"@types/uri-templates": "^0.1.34", | ||
"pluralize": "^8.0.0", | ||
"uri-templates": "^0.2.0", | ||
"uuid": "^9.0.0" | ||
"uuid": "^9.0.1" | ||
}, | ||
"peerDependencies": { | ||
"@mcma/client": "0.16.17", | ||
"@mcma/core": "0.16.17", | ||
"@mcma/data": "0.16.17", | ||
"@mcma/secrets": "0.16.17", | ||
"@mcma/worker-invoker": "0.16.17" | ||
"@mcma/client": "0.16.18", | ||
"@mcma/core": "0.16.18", | ||
"@mcma/data": "0.16.18", | ||
"@mcma/secrets": "0.16.18", | ||
"@mcma/worker-invoker": "0.16.18" | ||
}, | ||
"devDependencies": { | ||
"@mcma/client": "0.16.17", | ||
"@mcma/core": "0.16.17", | ||
"@mcma/data": "0.16.17", | ||
"@mcma/secrets": "0.16.17", | ||
"@mcma/worker-invoker": "0.16.17", | ||
"@types/node": "^18.15.10", | ||
"@types/pluralize": "0.0.29", | ||
"@types/uuid": "^9.0.1", | ||
"jasmine": "^3.2.0" | ||
"@mcma/client": "0.16.18", | ||
"@mcma/core": "0.16.18", | ||
"@mcma/data": "0.16.18", | ||
"@mcma/secrets": "0.16.18", | ||
"@mcma/worker-invoker": "0.16.18", | ||
"@types/node": "^18.19.34", | ||
"@types/pluralize": "^0.0.33", | ||
"@types/uuid": "^9.0.8", | ||
"jasmine": "^5.1.0" | ||
} | ||
} |
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
66490
+ Added@mcma/client@0.16.18(transitive)
+ Added@mcma/core@0.16.18(transitive)
+ Added@mcma/data@0.16.18(transitive)
+ Added@mcma/secrets@0.16.18(transitive)
+ Added@mcma/worker-invoker@0.16.18(transitive)
+ Addedpluralize@8.0.0(transitive)
- Removed@mcma/client@0.16.17(transitive)
- Removed@mcma/core@0.16.17(transitive)
- Removed@mcma/data@0.16.17(transitive)
- Removed@mcma/secrets@0.16.17(transitive)
- Removed@mcma/worker-invoker@0.16.17(transitive)
- Removedpluralize@7.0.0(transitive)
Updated@types/uri-templates@^0.1.34
Updatedpluralize@^8.0.0
Updateduuid@^9.0.1