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.
Files changed (35) hide show
  1. package/lib/actions/genericDataResource/GenericDataResourceActionRequester.js +1 -0
  2. package/lib/actions/genericDataResource/GenericDataResourceActionRequester.js.map +1 -0
  3. package/lib/actions/genericDataResource/GenericDataResourceActionTypeEnum.js +1 -0
  4. package/lib/actions/genericDataResource/GenericDataResourceActionTypeEnum.js.map +1 -0
  5. package/lib/index.js +1 -0
  6. package/lib/index.js.map +1 -0
  7. package/lib/serviceInfrastructureDefinitions/ServiceInfrastructureConfig.js +2 -0
  8. package/lib/serviceInfrastructureDefinitions/ServiceInfrastructureConfig.js.map +1 -0
  9. package/lib/serviceInfrastructureDefinitions/dns.js +1 -0
  10. package/lib/serviceInfrastructureDefinitions/dns.js.map +1 -0
  11. package/lib/serviceInfrastructureDefinitions/route.js +1 -0
  12. package/lib/serviceInfrastructureDefinitions/route.js.map +1 -0
  13. package/lib/serviceInfrastructureDefinitions/serviceName.js +10 -0
  14. package/lib/serviceInfrastructureDefinitions/serviceName.js.map +1 -0
  15. package/lib/types/dnsTypes.js +1 -0
  16. package/lib/types/dnsTypes.js.map +1 -0
  17. package/lib/types/httpTypes.js +1 -0
  18. package/lib/types/httpTypes.js.map +1 -0
  19. package/lib/types/routeTypes.js +1 -0
  20. package/lib/types/routeTypes.js.map +1 -0
  21. package/lib/types/serviceNameTypes.js +3 -0
  22. package/lib/types/serviceNameTypes.js.map +1 -0
  23. package/lib/types/srcFileTypes.js +1 -0
  24. package/lib/types/srcFileTypes.js.map +1 -0
  25. package/package.json +1 -1
  26. package/lib/actions/genericDataResource/GenericDataResourceActionRequester.d.ts +0 -2
  27. package/lib/actions/genericDataResource/GenericDataResourceActionTypeEnum.d.ts +0 -5
  28. package/lib/index.d.ts +0 -3
  29. package/lib/serviceInfrastructureDefinitions/ServiceInfrastructureConfig.d.ts +0 -8
  30. package/lib/serviceInfrastructureDefinitions/dns.d.ts +0 -6
  31. package/lib/serviceInfrastructureDefinitions/route.d.ts +0 -12
  32. package/lib/types/dnsTypes.d.ts +0 -1
  33. package/lib/types/httpTypes.d.ts +0 -2
  34. package/lib/types/routeTypes.d.ts +0 -1
  35. 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
@@ -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"}
@@ -7,3 +7,4 @@ const defineDns = (dnsBase) => ({
7
7
  dnsBase,
8
8
  });
9
9
  exports.defineDns = defineDns;
10
+ //# sourceMappingURL=dns.js.map
@@ -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"}
@@ -11,3 +11,4 @@ const defineRoute = (method, path, src, runtime, options = {}) => ({
11
11
  options,
12
12
  });
13
13
  exports.defineRoute = defineRoute;
14
+ //# sourceMappingURL=route.js.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dnsTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsTypes.js","sourceRoot":"","sources":["../../src/types/dnsTypes.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=httpTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpTypes.js","sourceRoot":"","sources":["../../src/types/httpTypes.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=routeTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routeTypes.js","sourceRoot":"","sources":["../../src/types/routeTypes.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=serviceNameTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceNameTypes.js","sourceRoot":"","sources":["../../src/types/serviceNameTypes.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=srcFileTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"srcFileTypes.js","sourceRoot":"","sources":["../../src/types/srcFileTypes.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-webserver",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "files": [
@@ -1,2 +0,0 @@
1
- export declare function askPutGenericDataResource(tableName: string, item: object): Generator<any, object, object>;
2
- export declare function askScanGenericDataResource(tableName: string, maxItems: number): Generator<any, Array<object>, Array<object>>;
@@ -1,5 +0,0 @@
1
- export declare enum GenericDataResourceActionTypeEnum {
2
- Put = "@quidproquo-webserver/GenericDataResource/Put",
3
- Scan = "@quidproquo-webserver/GenericDataResource/Scan"
4
- }
5
- export default GenericDataResourceActionTypeEnum;
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;
@@ -1 +0,0 @@
1
- export type DNSPath = string;
@@ -1,2 +0,0 @@
1
- export type HTTPMethod = "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "PATCH";
2
- export type HTTPRoute = string;
@@ -1 +0,0 @@
1
- export type RouteOptions = {};
@@ -1,2 +0,0 @@
1
- export type SrcPathname = string;
2
- export type MethodName = string;