quidproquo-webserver
Advanced tools
Comparing version 0.0.10 to 0.0.11
export declare enum GenericDataResourceActionTypeEnum { | ||
Put = "@quidproquo-webserver/GenericDataResource/Put", | ||
Scan = "@quidproquo-webserver/GenericDataResource/Scan" | ||
Put = "@quidproquo-webserver/genericDataResource/Put", | ||
Scan = "@quidproquo-webserver/genericDataResource/Scan" | ||
} | ||
export default GenericDataResourceActionTypeEnum; |
@@ -6,5 +6,5 @@ "use strict"; | ||
(function (GenericDataResourceActionTypeEnum) { | ||
GenericDataResourceActionTypeEnum["Put"] = "@quidproquo-webserver/GenericDataResource/Put"; | ||
GenericDataResourceActionTypeEnum["Scan"] = "@quidproquo-webserver/GenericDataResource/Scan"; | ||
GenericDataResourceActionTypeEnum["Put"] = "@quidproquo-webserver/genericDataResource/Put"; | ||
GenericDataResourceActionTypeEnum["Scan"] = "@quidproquo-webserver/genericDataResource/Scan"; | ||
})(GenericDataResourceActionTypeEnum = exports.GenericDataResourceActionTypeEnum || (exports.GenericDataResourceActionTypeEnum = {})); | ||
exports.default = GenericDataResourceActionTypeEnum; |
@@ -1,9 +0,4 @@ | ||
export { defineRoute } from "./serviceInfrastructureDefinitions/route"; | ||
export { defineDns } from "./serviceInfrastructureDefinitions/dns"; | ||
export { defineServiceName } from "./serviceInfrastructureDefinitions/serviceName"; | ||
export { ServiceInfrastructureConfig, ServiceInfrastructureConfigs, ServiceInfrastructureConfigType, } from "./serviceInfrastructureDefinitions/ServiceInfrastructureConfig"; | ||
export { DnsServiceInfrastructureConfig } from "./serviceInfrastructureDefinitions/dns"; | ||
export { RouteInfrastructureConfig } from "./serviceInfrastructureDefinitions/route"; | ||
export { ServiceNameInfrastructureConfig } from "./serviceInfrastructureDefinitions/serviceName"; | ||
export { SrcPathname } from "./types/srcFileTypes"; | ||
export { defineDns, DnsQPQWebServerConfigSetting } from "./config/settings/dns"; | ||
export { defineRoute, RouteQPQWebServerConfigSetting, } from "./config/settings/route"; | ||
export { QPQWebServerConfigSettingType } from "./config/QPQConfig"; | ||
export { default as utils } from "./utils"; |
@@ -6,12 +6,10 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.utils = exports.ServiceInfrastructureConfigType = exports.defineServiceName = exports.defineDns = exports.defineRoute = void 0; | ||
var route_1 = require("./serviceInfrastructureDefinitions/route"); | ||
exports.utils = exports.QPQWebServerConfigSettingType = exports.defineRoute = exports.defineDns = void 0; | ||
var dns_1 = require("./config/settings/dns"); | ||
Object.defineProperty(exports, "defineDns", { enumerable: true, get: function () { return dns_1.defineDns; } }); | ||
var route_1 = require("./config/settings/route"); | ||
Object.defineProperty(exports, "defineRoute", { enumerable: true, get: function () { return route_1.defineRoute; } }); | ||
var dns_1 = require("./serviceInfrastructureDefinitions/dns"); | ||
Object.defineProperty(exports, "defineDns", { enumerable: true, get: function () { return dns_1.defineDns; } }); | ||
var serviceName_1 = require("./serviceInfrastructureDefinitions/serviceName"); | ||
Object.defineProperty(exports, "defineServiceName", { enumerable: true, get: function () { return serviceName_1.defineServiceName; } }); | ||
var ServiceInfrastructureConfig_1 = require("./serviceInfrastructureDefinitions/ServiceInfrastructureConfig"); | ||
Object.defineProperty(exports, "ServiceInfrastructureConfigType", { enumerable: true, get: function () { return ServiceInfrastructureConfig_1.ServiceInfrastructureConfigType; } }); | ||
var QPQConfig_1 = require("./config/QPQConfig"); | ||
Object.defineProperty(exports, "QPQWebServerConfigSettingType", { enumerable: true, get: function () { return QPQConfig_1.QPQWebServerConfigSettingType; } }); | ||
var utils_1 = require("./utils"); | ||
Object.defineProperty(exports, "utils", { enumerable: true, get: function () { return __importDefault(utils_1).default; } }); |
@@ -1,9 +0,6 @@ | ||
import { ServiceInfrastructureConfigType, ServiceInfrastructureConfig, ServiceInfrastructureConfigs } from "./serviceInfrastructureDefinitions/ServiceInfrastructureConfig"; | ||
import { SrcPathname } from "./types/srcFileTypes"; | ||
export declare const getAllSrcEntries: (configs: ServiceInfrastructureConfigs) => SrcPathname[]; | ||
import { QPQConfig } from "quidproquo-core"; | ||
export declare const getAllSrcEntries: (configs: QPQConfig) => string[]; | ||
declare const _default: { | ||
getServiceInfrastructureDefinitions: <T extends ServiceInfrastructureConfig>(configs: ServiceInfrastructureConfigs, serviceInfrastructureConfigType: ServiceInfrastructureConfigType) => T[]; | ||
getServiceInfrastructureDefinition: <T_1 extends ServiceInfrastructureConfig>(configs: ServiceInfrastructureConfigs, serviceInfrastructureConfigType: ServiceInfrastructureConfigType) => T_1 | undefined; | ||
getAllSrcEntries: (configs: ServiceInfrastructureConfigs) => string[]; | ||
getAllSrcEntries: () => void; | ||
}; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getAllSrcEntries = void 0; | ||
const ServiceInfrastructureConfig_1 = require("./serviceInfrastructureDefinitions/ServiceInfrastructureConfig"); | ||
const getServiceInfrastructureDefinitions = (configs, serviceInfrastructureConfigType) => { | ||
return configs.filter((c) => c.serviceInfrastructureConfigType === serviceInfrastructureConfigType); | ||
}; | ||
const getServiceInfrastructureDefinition = (configs, serviceInfrastructureConfigType) => { | ||
return getServiceInfrastructureDefinitions(configs, serviceInfrastructureConfigType)[0]; | ||
}; | ||
const quidproquo_core_1 = require("quidproquo-core"); | ||
const QPQConfig_1 = require("./config/QPQConfig"); | ||
// Used in bundlers to know where and what to build and index | ||
// Events, routes, etc | ||
const getAllSrcEntries = (configs) => { | ||
const routes = getServiceInfrastructureDefinitions(configs, ServiceInfrastructureConfig_1.ServiceInfrastructureConfigType.ROUTE); | ||
const routes = quidproquo_core_1.qpqCoreUtils.getConfigSettings(configs, QPQConfig_1.QPQWebServerConfigSettingType.Route); | ||
return routes.map((r) => r.src); | ||
@@ -17,5 +14,3 @@ }; | ||
exports.default = { | ||
getServiceInfrastructureDefinitions, | ||
getServiceInfrastructureDefinition, | ||
getAllSrcEntries: exports.getAllSrcEntries, | ||
getAllSrcEntries: () => { }, | ||
}; |
{ | ||
"name": "quidproquo-webserver", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
7101
16
120
1