quidproquo-webserver 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/actions/genericDataResource/GenericDataResourceActionRequester.js +1 -0
- package/lib/actions/genericDataResource/GenericDataResourceActionRequester.js.map +1 -0
- package/lib/actions/genericDataResource/GenericDataResourceActionTypeEnum.js +1 -0
- package/lib/actions/genericDataResource/GenericDataResourceActionTypeEnum.js.map +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -0
- package/lib/serviceInfrastructureDefinitions/ServiceInfrastructureConfig.js +2 -0
- package/lib/serviceInfrastructureDefinitions/ServiceInfrastructureConfig.js.map +1 -0
- package/lib/serviceInfrastructureDefinitions/dns.js +1 -0
- package/lib/serviceInfrastructureDefinitions/dns.js.map +1 -0
- package/lib/serviceInfrastructureDefinitions/route.js +1 -0
- package/lib/serviceInfrastructureDefinitions/route.js.map +1 -0
- package/lib/serviceInfrastructureDefinitions/serviceName.js +10 -0
- package/lib/serviceInfrastructureDefinitions/serviceName.js.map +1 -0
- package/lib/types/dnsTypes.js +1 -0
- package/lib/types/dnsTypes.js.map +1 -0
- package/lib/types/httpTypes.js +1 -0
- package/lib/types/httpTypes.js.map +1 -0
- package/lib/types/routeTypes.js +1 -0
- package/lib/types/routeTypes.js.map +1 -0
- package/lib/types/serviceNameTypes.js +3 -0
- package/lib/types/serviceNameTypes.js.map +1 -0
- package/lib/types/srcFileTypes.js +1 -0
- package/lib/types/srcFileTypes.js.map +1 -0
- package/package.json +1 -1
- package/lib/actions/genericDataResource/GenericDataResourceActionRequester.d.ts +0 -2
- package/lib/actions/genericDataResource/GenericDataResourceActionTypeEnum.d.ts +0 -5
- package/lib/index.d.ts +0 -3
- package/lib/serviceInfrastructureDefinitions/ServiceInfrastructureConfig.d.ts +0 -8
- package/lib/serviceInfrastructureDefinitions/dns.d.ts +0 -6
- package/lib/serviceInfrastructureDefinitions/route.d.ts +0 -12
- package/lib/types/dnsTypes.d.ts +0 -1
- package/lib/types/httpTypes.d.ts +0 -2
- package/lib/types/routeTypes.d.ts +0 -1
- package/lib/types/srcFileTypes.d.ts +0 -2
|
@@ -13,3 +13,4 @@ function* askScanGenericDataResource(tableName, maxItems) {
|
|
|
13
13
|
return yield { type: GenericDataResourceActionTypeEnum_1.default.Scan, payload: { tableName, maxItems } };
|
|
14
14
|
}
|
|
15
15
|
exports.askScanGenericDataResource = askScanGenericDataResource;
|
|
16
|
+
//# sourceMappingURL=GenericDataResourceActionRequester.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericDataResourceActionRequester.js","sourceRoot":"","sources":["../../../src/actions/genericDataResource/GenericDataResourceActionRequester.ts"],"names":[],"mappings":";;;;;;AAAA,4GAAoF;AAEpF,QAAe,CAAC,CAAC,yBAAyB,CAAC,SAAiB,EAAE,IAAY;IACxE,OAAO,MAAM,EAAE,IAAI,EAAE,2CAAiC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;AAC7F,CAAC;AAFD,8DAEC;AAED,QAAe,CAAC,CAAC,0BAA0B,CAAC,SAAiB,EAAE,QAAgB;IAC7E,OAAO,MAAM,EAAE,IAAI,EAAE,2CAAiC,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC;AAClG,CAAC;AAFD,gEAEC"}
|
|
@@ -7,3 +7,4 @@ var GenericDataResourceActionTypeEnum;
|
|
|
7
7
|
GenericDataResourceActionTypeEnum["Scan"] = "@quidproquo-webserver/GenericDataResource/Scan";
|
|
8
8
|
})(GenericDataResourceActionTypeEnum = exports.GenericDataResourceActionTypeEnum || (exports.GenericDataResourceActionTypeEnum = {}));
|
|
9
9
|
exports.default = GenericDataResourceActionTypeEnum;
|
|
10
|
+
//# sourceMappingURL=GenericDataResourceActionTypeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericDataResourceActionTypeEnum.js","sourceRoot":"","sources":["../../../src/actions/genericDataResource/GenericDataResourceActionTypeEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,0FAAqD,CAAA;IACrD,4FAAuD,CAAA;AACzD,CAAC,EAHW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAG5C;AAED,kBAAe,iCAAiC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -5,3 +5,4 @@ var route_1 = require("./serviceInfrastructureDefinitions/route");
|
|
|
5
5
|
Object.defineProperty(exports, "defineRoute", { enumerable: true, get: function () { return route_1.defineRoute; } });
|
|
6
6
|
var dns_1 = require("./serviceInfrastructureDefinitions/dns");
|
|
7
7
|
Object.defineProperty(exports, "defineDns", { enumerable: true, get: function () { return dns_1.defineDns; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,kEAAuE;AAA9D,oGAAA,WAAW,OAAA;AACpB,8DAAmE;AAA1D,gGAAA,SAAS,OAAA"}
|
|
@@ -5,4 +5,6 @@ var ServiceInfrastructureConfigType;
|
|
|
5
5
|
(function (ServiceInfrastructureConfigType) {
|
|
6
6
|
ServiceInfrastructureConfigType["ROUTE"] = "ROUTE";
|
|
7
7
|
ServiceInfrastructureConfigType["DNS"] = "DNS";
|
|
8
|
+
ServiceInfrastructureConfigType["SERVICE_NAME"] = "SERVICE_NAME";
|
|
8
9
|
})(ServiceInfrastructureConfigType = exports.ServiceInfrastructureConfigType || (exports.ServiceInfrastructureConfigType = {}));
|
|
10
|
+
//# sourceMappingURL=ServiceInfrastructureConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceInfrastructureConfig.js","sourceRoot":"","sources":["../../src/serviceInfrastructureDefinitions/ServiceInfrastructureConfig.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAIX;AAJD,WAAY,+BAA+B;IACzC,kDAAe,CAAA;IACf,8CAAW,CAAA;IACX,gEAA6B,CAAA;AAC/B,CAAC,EAJW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAI1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dns.js","sourceRoot":"","sources":["../../src/serviceInfrastructureDefinitions/dns.ts"],"names":[],"mappings":";;;AAEA,+EAGuC;AAOhC,MAAM,SAAS,GAAG,CACvB,OAAgB,EACgB,EAAE,CAAC,CAAC;IACpC,+BAA+B,EAAE,6DAA+B,CAAC,GAAG;IAEpE,OAAO;CACR,CAAC,CAAC;AANU,QAAA,SAAS,aAMnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../src/serviceInfrastructureDefinitions/route.ts"],"names":[],"mappings":";;;AAGA,+EAGuC;AAUhC,MAAM,WAAW,GAAG,CACzB,MAAkB,EAClB,IAAe,EACf,GAAgB,EAChB,OAAmB,EACnB,UAAwB,EAAE,EACC,EAAE,CAAC,CAAC;IAC/B,+BAA+B,EAAE,6DAA+B,CAAC,KAAK;IAEtE,MAAM;IACN,IAAI;IACJ,GAAG;IACH,OAAO;IACP,OAAO;CACR,CAAC,CAAC;AAdU,QAAA,WAAW,eAcrB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineServiceName = void 0;
|
|
4
|
+
const ServiceInfrastructureConfig_1 = require("./ServiceInfrastructureConfig");
|
|
5
|
+
const defineServiceName = (serviceName) => ({
|
|
6
|
+
serviceInfrastructureConfigType: ServiceInfrastructureConfig_1.ServiceInfrastructureConfigType.SERVICE_NAME,
|
|
7
|
+
serviceName,
|
|
8
|
+
});
|
|
9
|
+
exports.defineServiceName = defineServiceName;
|
|
10
|
+
//# sourceMappingURL=serviceName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceName.js","sourceRoot":"","sources":["../../src/serviceInfrastructureDefinitions/serviceName.ts"],"names":[],"mappings":";;;AAEA,+EAGuC;AAOhC,MAAM,iBAAiB,GAAG,CAC/B,WAAwB,EACS,EAAE,CAAC,CAAC;IACrC,+BAA+B,EAAE,6DAA+B,CAAC,YAAY;IAE7E,WAAW;CACZ,CAAC,CAAC;AANU,QAAA,iBAAiB,qBAM3B"}
|
package/lib/types/dnsTypes.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnsTypes.js","sourceRoot":"","sources":["../../src/types/dnsTypes.ts"],"names":[],"mappings":""}
|
package/lib/types/httpTypes.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpTypes.js","sourceRoot":"","sources":["../../src/types/httpTypes.ts"],"names":[],"mappings":""}
|
package/lib/types/routeTypes.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routeTypes.js","sourceRoot":"","sources":["../../src/types/routeTypes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceNameTypes.js","sourceRoot":"","sources":["../../src/types/serviceNameTypes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"srcFileTypes.js","sourceRoot":"","sources":["../../src/types/srcFileTypes.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
package/lib/index.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { defineRoute } from "./serviceInfrastructureDefinitions/route";
|
|
2
|
-
export { defineDns } from "./serviceInfrastructureDefinitions/dns";
|
|
3
|
-
export { ServiceInfrastructureConfig, ServiceInfrastructureConfigs, } from "./serviceInfrastructureDefinitions/ServiceInfrastructureConfig";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare enum ServiceInfrastructureConfigType {
|
|
2
|
-
ROUTE = "ROUTE",
|
|
3
|
-
DNS = "DNS"
|
|
4
|
-
}
|
|
5
|
-
export interface ServiceInfrastructureConfig {
|
|
6
|
-
serviceInfrastructureConfigType: ServiceInfrastructureConfigType;
|
|
7
|
-
}
|
|
8
|
-
export type ServiceInfrastructureConfigs = ServiceInfrastructureConfig[];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DNSPath } from "../types/dnsTypes";
|
|
2
|
-
import { ServiceInfrastructureConfig } from "./ServiceInfrastructureConfig";
|
|
3
|
-
export interface DnsServiceInfrastructureConfig extends ServiceInfrastructureConfig {
|
|
4
|
-
dnsBase: DNSPath;
|
|
5
|
-
}
|
|
6
|
-
export declare const defineDns: (dnsBase: DNSPath) => DnsServiceInfrastructureConfig;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HTTPMethod, HTTPRoute } from "../types/httpTypes";
|
|
2
|
-
import { SrcPathname, MethodName } from "../types/srcFileTypes";
|
|
3
|
-
import { RouteOptions } from "../types/routeTypes";
|
|
4
|
-
import { ServiceInfrastructureConfig } from "./ServiceInfrastructureConfig";
|
|
5
|
-
export interface RouteInfrastructureConfig extends ServiceInfrastructureConfig {
|
|
6
|
-
method: HTTPMethod;
|
|
7
|
-
path: HTTPRoute;
|
|
8
|
-
src: SrcPathname;
|
|
9
|
-
runtime: MethodName;
|
|
10
|
-
options: RouteOptions;
|
|
11
|
-
}
|
|
12
|
-
export declare const defineRoute: (method: HTTPMethod, path: HTTPRoute, src: SrcPathname, runtime: MethodName, options?: RouteOptions) => RouteInfrastructureConfig;
|
package/lib/types/dnsTypes.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type DNSPath = string;
|
package/lib/types/httpTypes.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type RouteOptions = {};
|