@dbos-inc/koa-serve 3.6.3-preview → 3.6.7-preview
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/dist/src/dboshttp.d.ts +42 -3
- package/dist/src/dboshttp.d.ts.map +1 -1
- package/dist/src/dboshttp.js +390 -11
- package/dist/src/dboshttp.js.map +1 -1
- package/dist/src/dboskoa.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -1
- package/dist/src/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/dboshttp.ts +472 -10
- package/src/dboskoa.ts +1 -1
- package/src/index.ts +1 -0
- package/tests/argsource.test.ts +0 -1
- package/tests/auth.test.ts +9 -22
- package/tests/endpoints.test.ts +15 -43
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAO/G,eAAO,MAAM,kBAAkB,6DAA6B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,6DAA6B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,6DAA6B,CAAC;AAC7D,eAAO,MAAM,OAAO,kDAAkB,CAAC;AACvC,eAAO,MAAM,WAAW,sDAAsB,CAAC;AAC/C,eAAO,MAAM,WAAW,sDAAsB,CAAC;AAC/C,eAAO,MAAM,SAAS,oDAAoB,CAAC;AAC3C,eAAO,MAAM,UAAU,qDAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,gBAAgB,GACjB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAO/G,eAAO,MAAM,kBAAkB,6DAA6B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,6DAA6B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,6DAA6B,CAAC;AAC7D,eAAO,MAAM,OAAO,kDAAkB,CAAC;AACvC,eAAO,MAAM,WAAW,sDAAsB,CAAC;AAC/C,eAAO,MAAM,WAAW,sDAAsB,CAAC;AAC/C,eAAO,MAAM,SAAS,oDAAoB,CAAC;AAC3C,eAAO,MAAM,UAAU,qDAAqB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ArgVarchar = exports.ArgSource = exports.ArgRequired = exports.ArgOptional = exports.ArgDate = exports.DefaultArgValidate = exports.DefaultArgRequired = exports.DefaultArgOptional = exports.DBOSKoa = exports.WorkflowIDHeader = exports.RequestIDHeader = exports.DBOSHTTPBase = exports.DBOSHTTP = exports.ArgSources = void 0;
|
|
3
|
+
exports.ArgVarchar = exports.ArgSource = exports.ArgRequired = exports.ArgOptional = exports.ArgDate = exports.DefaultArgValidate = exports.DefaultArgRequired = exports.DefaultArgOptional = exports.DBOSKoa = exports.WorkflowIDHeader = exports.RequestIDHeader = exports.DBOSResponseError = exports.DBOSHTTPBase = exports.DBOSHTTP = exports.ArgSources = void 0;
|
|
4
4
|
const dboskoa_1 = require("./dboskoa");
|
|
5
5
|
var dboshttp_1 = require("./dboshttp");
|
|
6
6
|
Object.defineProperty(exports, "ArgSources", { enumerable: true, get: function () { return dboshttp_1.ArgSources; } });
|
|
7
7
|
Object.defineProperty(exports, "DBOSHTTP", { enumerable: true, get: function () { return dboshttp_1.DBOSHTTP; } });
|
|
8
8
|
Object.defineProperty(exports, "DBOSHTTPBase", { enumerable: true, get: function () { return dboshttp_1.DBOSHTTPBase; } });
|
|
9
|
+
Object.defineProperty(exports, "DBOSResponseError", { enumerable: true, get: function () { return dboshttp_1.DBOSResponseError; } });
|
|
9
10
|
Object.defineProperty(exports, "RequestIDHeader", { enumerable: true, get: function () { return dboshttp_1.RequestIDHeader; } });
|
|
10
11
|
Object.defineProperty(exports, "WorkflowIDHeader", { enumerable: true, get: function () { return dboshttp_1.WorkflowIDHeader; } });
|
|
11
12
|
var dboskoa_2 = require("./dboskoa");
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AAEpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AAEpC,uCAYoB;AAXlB,sGAAA,UAAU,OAAA;AACV,oGAAA,QAAQ,OAAA;AAGR,wGAAA,YAAY,OAAA;AAIZ,6GAAA,iBAAiB,OAAA;AACjB,2GAAA,eAAe,OAAA;AACf,4GAAA,gBAAgB,OAAA;AAGlB,qCAA+G;AAAtG,kGAAA,OAAO,OAAA;AAEhB,4DAA4D;AAC5D,4DAA4D;AAC5D,8DAA8D;AAC9D,uEAAuE;AACvE,yCAAyC;AAC5B,QAAA,kBAAkB,GAAG,iBAAO,CAAC,kBAAkB,CAAC;AAChD,QAAA,kBAAkB,GAAG,iBAAO,CAAC,kBAAkB,CAAC;AAChD,QAAA,kBAAkB,GAAG,iBAAO,CAAC,kBAAkB,CAAC;AAChD,QAAA,OAAO,GAAG,iBAAO,CAAC,OAAO,CAAC;AAC1B,QAAA,WAAW,GAAG,iBAAO,CAAC,WAAW,CAAC;AAClC,QAAA,WAAW,GAAG,iBAAO,CAAC,WAAW,CAAC;AAClC,QAAA,SAAS,GAAG,iBAAO,CAAC,SAAS,CAAC;AAC9B,QAAA,UAAU,GAAG,iBAAO,CAAC,UAAU,CAAC"}
|