@geekmidas/constructs 1.0.2 → 1.0.4
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/CHANGELOG.md +15 -0
- package/dist/{EndpointFactory-D36yAGvt.cjs → EndpointFactory-B6fUZPhx.cjs} +6 -2
- package/dist/EndpointFactory-B6fUZPhx.cjs.map +1 -0
- package/dist/EndpointFactory-Bj7vHtT6.d.mts.map +1 -1
- package/dist/EndpointFactory-C1miOYUW.d.cts.map +1 -1
- package/dist/{EndpointFactory-Dm8Hj6e5.mjs → EndpointFactory-CyM-gSew.mjs} +6 -2
- package/dist/EndpointFactory-CyM-gSew.mjs.map +1 -0
- package/dist/{HonoEndpointAdaptor-o6QyDkdy.d.cts → HonoEndpointAdaptor-BuyXynoH.d.cts} +3 -3
- package/dist/{HonoEndpointAdaptor-Ay5UGPu0.d.mts.map → HonoEndpointAdaptor-BuyXynoH.d.cts.map} +1 -1
- package/dist/{HonoEndpointAdaptor-Ay5UGPu0.d.mts → HonoEndpointAdaptor-C7BBBYuU.d.mts} +3 -3
- package/dist/{HonoEndpointAdaptor-o6QyDkdy.d.cts.map → HonoEndpointAdaptor-C7BBBYuU.d.mts.map} +1 -1
- package/dist/adaptors/aws.d.cts +1 -1
- package/dist/adaptors/aws.d.mts +1 -1
- package/dist/adaptors/hono.d.cts +2 -2
- package/dist/adaptors/hono.d.mts +2 -2
- package/dist/adaptors/testing.d.cts +1 -1
- package/dist/adaptors/testing.d.mts +1 -1
- package/dist/crons/Cron.d.cts +1 -1
- package/dist/crons/Cron.d.mts +1 -1
- package/dist/crons/CronBuilder.d.cts +1 -1
- package/dist/crons/CronBuilder.d.mts +1 -1
- package/dist/crons/index.d.cts +5 -5
- package/dist/crons/index.d.mts +5 -5
- package/dist/crons/index.d.mts.map +1 -1
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/Endpoint.d.cts +1 -1
- package/dist/endpoints/Endpoint.d.mts +1 -1
- package/dist/endpoints/EndpointBuilder.d.cts +1 -1
- package/dist/endpoints/EndpointBuilder.d.mts +1 -1
- package/dist/endpoints/EndpointFactory.cjs +1 -1
- package/dist/endpoints/EndpointFactory.d.cts +1 -1
- package/dist/endpoints/EndpointFactory.d.mts +1 -1
- package/dist/endpoints/EndpointFactory.mjs +1 -1
- package/dist/endpoints/HonoEndpointAdaptor.d.cts +2 -2
- package/dist/endpoints/HonoEndpointAdaptor.d.mts +2 -2
- package/dist/endpoints/TestEndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/TestEndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/audit.d.cts +1 -1
- package/dist/endpoints/audit.d.mts +1 -1
- package/dist/endpoints/helpers.d.cts +1 -1
- package/dist/endpoints/helpers.d.mts +1 -1
- package/dist/endpoints/index.cjs +1 -1
- package/dist/endpoints/index.d.cts +3 -3
- package/dist/endpoints/index.d.mts +3 -3
- package/dist/endpoints/index.mjs +1 -1
- package/dist/endpoints/lazyAccessors.d.cts +1 -1
- package/dist/endpoints/lazyAccessors.d.mts +1 -1
- package/dist/endpoints/processAudits.d.cts +1 -1
- package/dist/endpoints/processAudits.d.mts +1 -1
- package/dist/endpoints/rls.d.cts +1 -1
- package/dist/endpoints/rls.d.mts +1 -1
- package/dist/functions/index.d.cts +1 -1
- package/dist/functions/index.d.mts +1 -1
- package/dist/index-BRZODuxf.d.mts +12 -0
- package/dist/{index-dRNH0dT6.d.cts.map → index-BRZODuxf.d.mts.map} +1 -1
- package/dist/index-BnoOaBQV.d.cts +12 -0
- package/dist/{index-puUpr9Dh.d.mts.map → index-BnoOaBQV.d.cts.map} +1 -1
- package/dist/subscribers/index.d.cts +2 -2
- package/dist/subscribers/index.d.mts +2 -2
- package/dist/subscribers/index.d.mts.map +1 -1
- package/package.json +9 -9
- package/src/endpoints/EndpointFactory.ts +6 -4
- package/src/endpoints/__tests__/EndpointFactory.authorizers.spec.ts +79 -24
- package/src/subscribers/__tests__/AWSLambdaSubscriberAdaptor.spec.ts +2 -2
- package/dist/EndpointFactory-D36yAGvt.cjs.map +0 -1
- package/dist/EndpointFactory-Dm8Hj6e5.mjs.map +0 -1
- package/dist/index-dRNH0dT6.d.cts +0 -12
- package/dist/index-puUpr9Dh.d.mts +0 -12
- package/tsconfig.tsbuildinfo +0 -1
package/dist/crons/index.d.cts
CHANGED
|
@@ -2,15 +2,15 @@ import "../Construct-CX7HyFfT.cjs";
|
|
|
2
2
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
3
3
|
import "../Function-CwlB89lS.cjs";
|
|
4
4
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
5
|
-
import "../index-
|
|
5
|
+
import "../index-BnoOaBQV.cjs";
|
|
6
6
|
import { Cron, CronExpression, RateExpression, ScheduleExpression } from "../Cron-BJWjEj3U.cjs";
|
|
7
7
|
import { CronBuilder } from "../CronBuilder-CmPYae1S.cjs";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
8
|
+
import * as _geekmidas_logger2 from "@geekmidas/logger";
|
|
9
|
+
import * as _geekmidas_services1 from "@geekmidas/services";
|
|
10
|
+
import * as _geekmidas_schema0 from "@geekmidas/schema";
|
|
11
11
|
|
|
12
12
|
//#region src/crons/index.d.ts
|
|
13
|
-
declare const c: CronBuilder<
|
|
13
|
+
declare const c: CronBuilder<_geekmidas_schema0.ComposableStandardSchema, _geekmidas_services1.Service<string, unknown>[], _geekmidas_logger2.Logger, undefined, undefined, string, undefined, string>;
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
15
15
|
|
|
16
16
|
//#endregion
|
package/dist/crons/index.d.mts
CHANGED
|
@@ -2,15 +2,15 @@ import "../Construct-DvXCkLOP.mjs";
|
|
|
2
2
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
3
3
|
import "../Function-DEX2O-SB.mjs";
|
|
4
4
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
5
|
-
import "../index-
|
|
5
|
+
import "../index-BRZODuxf.mjs";
|
|
6
6
|
import { Cron, CronExpression, RateExpression, ScheduleExpression } from "../Cron-BjNvt_Wj.mjs";
|
|
7
7
|
import { CronBuilder } from "../CronBuilder-X4au0zTu.mjs";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
8
|
+
import * as _geekmidas_services1 from "@geekmidas/services";
|
|
9
|
+
import * as _geekmidas_logger2 from "@geekmidas/logger";
|
|
10
|
+
import * as _geekmidas_schema0 from "@geekmidas/schema";
|
|
11
11
|
|
|
12
12
|
//#region src/crons/index.d.ts
|
|
13
|
-
declare const c: CronBuilder<
|
|
13
|
+
declare const c: CronBuilder<_geekmidas_schema0.ComposableStandardSchema, _geekmidas_services1.Service<string, unknown>[], _geekmidas_logger2.Logger, undefined, undefined, string, undefined, string>;
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/crons/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAUa,GAAC,YAAoB,kBAAA,CAApB,wBAAA,EAAA,oBAAA,CAAA,4BAAA,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/crons/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAUa,GAAC,YAAoB,kBAAA,CAApB,wBAAA,EAAA,oBAAA,CAAA,4BAAA,kBAAA,CAAA,MAAA"}
|
|
@@ -4,7 +4,7 @@ import "../telemetry-BTaiRqPo.cjs";
|
|
|
4
4
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
5
5
|
import "../Function-CwlB89lS.cjs";
|
|
6
6
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
7
|
-
import "../index-
|
|
7
|
+
import "../index-BnoOaBQV.cjs";
|
|
8
8
|
import "../Authorizer-DWtwC8we.cjs";
|
|
9
9
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
10
10
|
import { AmazonApiGatewayEndpoint, AmazonApiGatewayEndpointHandlerResponse, AmazonApiGatewayEndpointOptions, AmazonApiGatewayV1EndpointHandler, AmazonApiGatewayV2EndpointHandler, Event, GetInputResponse, HandlerEvent, LoggerContext, TelescopeIntegration } from "../AmazonApiGatewayEndpointAdaptor-Bxvs-F0F.cjs";
|
|
@@ -4,7 +4,7 @@ import "../telemetry-yAHf5yDs.mjs";
|
|
|
4
4
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
5
5
|
import "../Function-DEX2O-SB.mjs";
|
|
6
6
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
7
|
-
import "../index-
|
|
7
|
+
import "../index-BRZODuxf.mjs";
|
|
8
8
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
9
9
|
import "../Endpoint-DU20A9E8.mjs";
|
|
10
10
|
import { AmazonApiGatewayEndpoint, AmazonApiGatewayEndpointHandlerResponse, AmazonApiGatewayEndpointOptions, AmazonApiGatewayV1EndpointHandler, AmazonApiGatewayV2EndpointHandler, Event, GetInputResponse, HandlerEvent, LoggerContext, TelescopeIntegration } from "../AmazonApiGatewayEndpointAdaptor-DRG4hu-k.mjs";
|
|
@@ -4,7 +4,7 @@ import "../telemetry-BTaiRqPo.cjs";
|
|
|
4
4
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
5
5
|
import "../Function-CwlB89lS.cjs";
|
|
6
6
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
7
|
-
import "../index-
|
|
7
|
+
import "../index-BnoOaBQV.cjs";
|
|
8
8
|
import "../Authorizer-DWtwC8we.cjs";
|
|
9
9
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
10
10
|
import "../AmazonApiGatewayEndpointAdaptor-Bxvs-F0F.cjs";
|
|
@@ -4,7 +4,7 @@ import "../telemetry-yAHf5yDs.mjs";
|
|
|
4
4
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
5
5
|
import "../Function-DEX2O-SB.mjs";
|
|
6
6
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
7
|
-
import "../index-
|
|
7
|
+
import "../index-BRZODuxf.mjs";
|
|
8
8
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
9
9
|
import "../Endpoint-DU20A9E8.mjs";
|
|
10
10
|
import "../AmazonApiGatewayEndpointAdaptor-DRG4hu-k.mjs";
|
|
@@ -4,7 +4,7 @@ import "../telemetry-BTaiRqPo.cjs";
|
|
|
4
4
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
5
5
|
import "../Function-CwlB89lS.cjs";
|
|
6
6
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
7
|
-
import "../index-
|
|
7
|
+
import "../index-BnoOaBQV.cjs";
|
|
8
8
|
import "../Authorizer-DWtwC8we.cjs";
|
|
9
9
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
10
10
|
import { AmazonApiGatewayEndpointOptions } from "../AmazonApiGatewayEndpointAdaptor-Bxvs-F0F.cjs";
|
|
@@ -4,7 +4,7 @@ import "../telemetry-yAHf5yDs.mjs";
|
|
|
4
4
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
5
5
|
import "../Function-DEX2O-SB.mjs";
|
|
6
6
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
7
|
-
import "../index-
|
|
7
|
+
import "../index-BRZODuxf.mjs";
|
|
8
8
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
9
9
|
import "../Endpoint-DU20A9E8.mjs";
|
|
10
10
|
import { AmazonApiGatewayEndpointOptions } from "../AmazonApiGatewayEndpointAdaptor-DRG4hu-k.mjs";
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { AuthorizeContext, AuthorizeFn, ConvertRouteParams, CookieFn, CookieOptions, Endpoint, EndpointContext, EndpointEvent, EndpointHandler, EndpointHeaders, EndpointInput, EndpointOpenApiSchema, EndpointOptions, EndpointOutput, EndpointSchemas, HeaderFn, MultiHeaderFn, ResponseBuilder, ResponseMetadata, ResponseWithMetadata, SessionContext, SessionFn, SingleHeaderFn, SuccessStatus } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
export { AuthorizeContext, AuthorizeFn, ConvertRouteParams, CookieFn, CookieOptions, Endpoint, EndpointContext, EndpointEvent, EndpointHandler, EndpointHeaders, EndpointInput, EndpointOpenApiSchema, EndpointOptions, EndpointOutput, EndpointSchemas, HeaderFn, MultiHeaderFn, ResponseBuilder, ResponseMetadata, ResponseWithMetadata, SessionContext, SessionFn, SingleHeaderFn, SuccessStatus };
|
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import { AuthorizeContext, AuthorizeFn, ConvertRouteParams, CookieFn, CookieOptions, Endpoint, EndpointContext, EndpointEvent, EndpointHandler, EndpointHeaders, EndpointInput, EndpointOpenApiSchema, EndpointOptions, EndpointOutput, EndpointSchemas, HeaderFn, MultiHeaderFn, ResponseBuilder, ResponseMetadata, ResponseWithMetadata, SessionContext, SessionFn, SingleHeaderFn, SuccessStatus } from "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
export { AuthorizeContext, AuthorizeFn, ConvertRouteParams, CookieFn, CookieOptions, Endpoint, EndpointContext, EndpointEvent, EndpointHandler, EndpointHeaders, EndpointInput, EndpointOpenApiSchema, EndpointOptions, EndpointOutput, EndpointSchemas, HeaderFn, MultiHeaderFn, ResponseBuilder, ResponseMetadata, ResponseWithMetadata, SessionContext, SessionFn, SingleHeaderFn, SuccessStatus };
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { EndpointBuilder } from "../EndpointBuilder-BfzI6Rpc.cjs";
|
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { EndpointBuilder } from "../EndpointBuilder-CuVlda7g.mjs";
|
|
@@ -7,7 +7,7 @@ require('../Endpoint-BcxvF4F3.cjs');
|
|
|
7
7
|
require('../Authorizer-BXxBee2P.cjs');
|
|
8
8
|
require('../rls-BrywnrQb.cjs');
|
|
9
9
|
require('../EndpointBuilder-CyszO0bs.cjs');
|
|
10
|
-
const require_EndpointFactory = require('../EndpointFactory-
|
|
10
|
+
const require_EndpointFactory = require('../EndpointFactory-B6fUZPhx.cjs');
|
|
11
11
|
|
|
12
12
|
exports.EndpointFactory = require_EndpointFactory.EndpointFactory;
|
|
13
13
|
exports.e = require_EndpointFactory.e;
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import { SecurityScheme } from "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import "../EndpointBuilder-BfzI6Rpc.cjs";
|
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import { SecurityScheme } from "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import "../EndpointBuilder-CuVlda7g.mjs";
|
|
@@ -7,6 +7,6 @@ import "../Endpoint-DvY3aqAy.mjs";
|
|
|
7
7
|
import "../Authorizer-BgjU8-z6.mjs";
|
|
8
8
|
import "../rls-C0cWOnk4.mjs";
|
|
9
9
|
import "../EndpointBuilder-CF-ZWtdu.mjs";
|
|
10
|
-
import { EndpointFactory, e } from "../EndpointFactory-
|
|
10
|
+
import { EndpointFactory, e } from "../EndpointFactory-CyM-gSew.mjs";
|
|
11
11
|
|
|
12
12
|
export { EndpointFactory, e };
|
|
@@ -3,8 +3,8 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
|
-
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-
|
|
9
|
+
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-BuyXynoH.cjs";
|
|
10
10
|
export { HonoEndpoint, HonoEndpointOptions };
|
|
@@ -3,8 +3,8 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
|
-
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-
|
|
9
|
+
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-C7BBBYuU.mjs";
|
|
10
10
|
export { HonoEndpoint, HonoEndpointOptions };
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { TestEndpointAdaptor, TestHttpResponse, TestRequestAdaptor } from "../TestEndpointAdaptor-CCf3Dg0u.cjs";
|
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { TestEndpointAdaptor, TestHttpResponse, TestRequestAdaptor } from "../TestEndpointAdaptor-oWNADEl4.mjs";
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { ActorExtractor, EndpointAuditorConfig, MappedAudit } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
export { ActorExtractor, EndpointAuditorConfig, MappedAudit };
|
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import { ActorExtractor, EndpointAuditorConfig, MappedAudit } from "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
export { ActorExtractor, EndpointAuditorConfig, MappedAudit };
|
|
@@ -3,7 +3,7 @@ import { HttpMethod } from "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { Endpoint } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { Service } from "@geekmidas/services";
|
|
@@ -3,7 +3,7 @@ import { HttpMethod } from "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import { Endpoint } from "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { Service } from "@geekmidas/services";
|
package/dist/endpoints/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const require_lazyAccessors = require('../lazyAccessors-B8Hhras9.cjs');
|
|
|
9
9
|
const require_Authorizer = require('../Authorizer-BXxBee2P.cjs');
|
|
10
10
|
const require_rls = require('../rls-BrywnrQb.cjs');
|
|
11
11
|
const require_EndpointBuilder = require('../EndpointBuilder-CyszO0bs.cjs');
|
|
12
|
-
const require_EndpointFactory = require('../EndpointFactory-
|
|
12
|
+
const require_EndpointFactory = require('../EndpointFactory-B6fUZPhx.cjs');
|
|
13
13
|
|
|
14
14
|
//#region src/endpoints/index.ts
|
|
15
15
|
const e = new require_EndpointFactory.EndpointFactory();
|
|
@@ -3,17 +3,17 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import { Authorizer, BUILT_IN_SECURITY_SCHEMES, BuiltInSecuritySchemeId, OAuthFlow, OAuthFlows, SecurityScheme, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { ActorExtractor, Endpoint, EndpointContext, EndpointHandler, EndpointOutput, EndpointSchemas, MappedAudit, RLS_BYPASS, ResponseBuilder, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { EndpointBuilder } from "../EndpointBuilder-BfzI6Rpc.cjs";
|
|
10
10
|
import { EndpointFactory } from "../EndpointFactory-C1miOYUW.cjs";
|
|
11
11
|
import { publishConstructEvents } from "../publisher-DdPDps5m.cjs";
|
|
12
12
|
import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders } from "../lazyAccessors-ZRbwOONj.cjs";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _geekmidas_logger3 from "@geekmidas/logger";
|
|
14
14
|
|
|
15
15
|
//#region src/endpoints/index.d.ts
|
|
16
|
-
declare const e: EndpointFactory<[], "",
|
|
16
|
+
declare const e: EndpointFactory<[], "", _geekmidas_logger3.Logger, unknown, undefined, string, readonly string[], undefined, string, never, undefined, string, Record<string, SecurityScheme>, undefined>;
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
@@ -3,17 +3,17 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import { Authorizer, BUILT_IN_SECURITY_SCHEMES, BuiltInSecuritySchemeId, OAuthFlow, OAuthFlows, SecurityScheme, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import { ActorExtractor, Endpoint, EndpointContext, EndpointHandler, EndpointOutput, EndpointSchemas, MappedAudit, RLS_BYPASS, ResponseBuilder, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { EndpointBuilder } from "../EndpointBuilder-CuVlda7g.mjs";
|
|
10
10
|
import { EndpointFactory } from "../EndpointFactory-Bj7vHtT6.mjs";
|
|
11
11
|
import { publishConstructEvents } from "../publisher-BeouS9lG.mjs";
|
|
12
12
|
import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders } from "../lazyAccessors-D1tbdxUk.mjs";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _geekmidas_logger5 from "@geekmidas/logger";
|
|
14
14
|
|
|
15
15
|
//#region src/endpoints/index.d.ts
|
|
16
|
-
declare const e: EndpointFactory<[], "",
|
|
16
|
+
declare const e: EndpointFactory<[], "", _geekmidas_logger5.Logger, unknown, undefined, string, readonly string[], undefined, string, never, undefined, string, Record<string, SecurityScheme>, undefined>;
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
18
18
|
|
|
19
19
|
//#endregion
|
package/dist/endpoints/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, cr
|
|
|
9
9
|
import { BUILT_IN_SECURITY_SCHEMES, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-BgjU8-z6.mjs";
|
|
10
10
|
import { RLS_BYPASS } from "../rls-C0cWOnk4.mjs";
|
|
11
11
|
import { EndpointBuilder } from "../EndpointBuilder-CF-ZWtdu.mjs";
|
|
12
|
-
import { EndpointFactory } from "../EndpointFactory-
|
|
12
|
+
import { EndpointFactory } from "../EndpointFactory-CyM-gSew.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/endpoints/index.ts
|
|
15
15
|
const e = new EndpointFactory();
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders } from "../lazyAccessors-ZRbwOONj.cjs";
|
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders } from "../lazyAccessors-D1tbdxUk.mjs";
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { CookieFn, Endpoint, HeaderFn } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { AuditStorage, AuditableAction, Auditor } from "@geekmidas/audit";
|
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import { CookieFn, Endpoint, HeaderFn } from "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { Service, ServiceDiscovery } from "@geekmidas/services";
|
package/dist/endpoints/rls.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BnoOaBQV.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
export { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor };
|
package/dist/endpoints/rls.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import "../types-Dw-iLd3Y.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
4
4
|
import "../Function-DEX2O-SB.mjs";
|
|
5
5
|
import "../FunctionBuilder-DRw1s5uT.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-BRZODuxf.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
export { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor };
|
|
@@ -2,5 +2,5 @@ import "../Construct-CX7HyFfT.cjs";
|
|
|
2
2
|
import { BaseFunctionBuilder } from "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
3
3
|
import { Function, FunctionContext, FunctionHandler } from "../Function-CwlB89lS.cjs";
|
|
4
4
|
import { FunctionBuilder } from "../FunctionBuilder-D_7f5MfS.cjs";
|
|
5
|
-
import { f } from "../index-
|
|
5
|
+
import { f } from "../index-BnoOaBQV.cjs";
|
|
6
6
|
export { BaseFunctionBuilder, Function, FunctionBuilder, FunctionContext, FunctionHandler, f };
|
|
@@ -2,5 +2,5 @@ import "../Construct-DvXCkLOP.mjs";
|
|
|
2
2
|
import { BaseFunctionBuilder } from "../BaseFunctionBuilder-JpN2FtB4.mjs";
|
|
3
3
|
import { Function, FunctionContext, FunctionHandler } from "../Function-DEX2O-SB.mjs";
|
|
4
4
|
import { FunctionBuilder } from "../FunctionBuilder-DRw1s5uT.mjs";
|
|
5
|
-
import { f } from "../index-
|
|
5
|
+
import { f } from "../index-BRZODuxf.mjs";
|
|
6
6
|
export { BaseFunctionBuilder, Function, FunctionBuilder, FunctionContext, FunctionHandler, f };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionBuilder } from "./FunctionBuilder-DRw1s5uT.mjs";
|
|
2
|
+
import * as _geekmidas_audit9 from "@geekmidas/audit";
|
|
3
|
+
import * as _geekmidas_logger8 from "@geekmidas/logger";
|
|
4
|
+
import * as _geekmidas_schema7 from "@geekmidas/schema";
|
|
5
|
+
|
|
6
|
+
//#region src/functions/index.d.ts
|
|
7
|
+
declare const f: FunctionBuilder<_geekmidas_schema7.ComposableStandardSchema, undefined, [], _geekmidas_logger8.Logger, undefined, string, undefined, string, undefined, string, _geekmidas_audit9.AuditableAction<string, unknown>>;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { f };
|
|
12
|
+
//# sourceMappingURL=index-BRZODuxf.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BRZODuxf.d.mts","names":[],"sources":["../src/functions/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAWa,GAAC,gBAAwB,kBAAA,CAAxB,wBAAA,iBAAA,kBAAA,CAAA,MAAA,2DAAA,iBAAA,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionBuilder } from "./FunctionBuilder-D_7f5MfS.cjs";
|
|
2
|
+
import * as _geekmidas_audit7 from "@geekmidas/audit";
|
|
3
|
+
import * as _geekmidas_logger6 from "@geekmidas/logger";
|
|
4
|
+
import * as _geekmidas_schema5 from "@geekmidas/schema";
|
|
5
|
+
|
|
6
|
+
//#region src/functions/index.d.ts
|
|
7
|
+
declare const f: FunctionBuilder<_geekmidas_schema5.ComposableStandardSchema, undefined, [], _geekmidas_logger6.Logger, undefined, string, undefined, string, undefined, string, _geekmidas_audit7.AuditableAction<string, unknown>>;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { f };
|
|
12
|
+
//# sourceMappingURL=index-BnoOaBQV.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BnoOaBQV.d.cts","names":[],"sources":["../src/functions/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAWa,GAAC,gBAAwB,kBAAA,CAAxB,wBAAA,iBAAA,kBAAA,CAAA,MAAA,2DAAA,iBAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../Construct-CX7HyFfT.cjs";
|
|
2
2
|
import { Subscriber } from "../Subscriber-1rDE7HuM.cjs";
|
|
3
3
|
import { SubscriberBuilder } from "../SubscriberBuilder-UIwW_wIY.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _geekmidas_logger8 from "@geekmidas/logger";
|
|
5
5
|
|
|
6
6
|
//#region src/subscribers/index.d.ts
|
|
7
|
-
declare const s: SubscriberBuilder<[],
|
|
7
|
+
declare const s: SubscriberBuilder<[], _geekmidas_logger8.Logger, undefined, undefined, string, []>;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../Construct-DvXCkLOP.mjs";
|
|
2
2
|
import { Subscriber } from "../Subscriber-DCgMSkQA.mjs";
|
|
3
3
|
import { SubscriberBuilder } from "../SubscriberBuilder-BcyK44e_.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _geekmidas_logger10 from "@geekmidas/logger";
|
|
5
5
|
|
|
6
6
|
//#region src/subscribers/index.d.ts
|
|
7
|
-
declare const s: SubscriberBuilder<[],
|
|
7
|
+
declare const s: SubscriberBuilder<[], _geekmidas_logger10.Logger, undefined, undefined, string, []>;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/subscribers/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAKa,GAAC,sBAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/subscribers/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAKa,GAAC,sBAA0B,mBAAA,CAA1B,MAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geekmidas/constructs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
"kysely": "~0.28.8",
|
|
79
79
|
"pg": "~8.16.3",
|
|
80
80
|
"zod": "~4.1.13",
|
|
81
|
-
"@geekmidas/cache": "^1.0.0",
|
|
82
81
|
"@geekmidas/audit": "^1.0.0",
|
|
82
|
+
"@geekmidas/cache": "^1.0.0",
|
|
83
83
|
"@geekmidas/db": "^1.0.0",
|
|
84
|
-
"@geekmidas/envkit": "^1.0.
|
|
85
|
-
"@geekmidas/events": "^1.0.0",
|
|
84
|
+
"@geekmidas/envkit": "^1.0.1",
|
|
86
85
|
"@geekmidas/errors": "^1.0.0",
|
|
86
|
+
"@geekmidas/events": "^1.0.0",
|
|
87
87
|
"@geekmidas/logger": "^1.0.0",
|
|
88
88
|
"@geekmidas/rate-limit": "^1.0.0",
|
|
89
|
-
"@geekmidas/schema": "^1.0.0",
|
|
90
89
|
"@geekmidas/services": "^1.0.0",
|
|
91
|
-
"@geekmidas/testkit": "^1.0.1"
|
|
90
|
+
"@geekmidas/testkit": "^1.0.1",
|
|
91
|
+
"@geekmidas/schema": "^1.0.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@middy/core": ">=6.3.1",
|
|
@@ -97,13 +97,13 @@
|
|
|
97
97
|
"@geekmidas/audit": "^1.0.0",
|
|
98
98
|
"@geekmidas/cache": "^1.0.0",
|
|
99
99
|
"@geekmidas/db": "^1.0.0",
|
|
100
|
-
"@geekmidas/envkit": "^1.0.0",
|
|
101
100
|
"@geekmidas/errors": "^1.0.0",
|
|
102
101
|
"@geekmidas/events": "^1.0.0",
|
|
102
|
+
"@geekmidas/envkit": "^1.0.1",
|
|
103
103
|
"@geekmidas/logger": "^1.0.0",
|
|
104
|
-
"@geekmidas/rate-limit": "^1.0.0",
|
|
105
104
|
"@geekmidas/schema": "^1.0.0",
|
|
106
|
-
"@geekmidas/services": "^1.0.0"
|
|
105
|
+
"@geekmidas/services": "^1.0.0",
|
|
106
|
+
"@geekmidas/rate-limit": "^1.0.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependenciesMeta": {
|
|
109
109
|
"@geekmidas/audit": {
|
|
@@ -9,10 +9,11 @@ import { ConsoleLogger } from '@geekmidas/logger/console';
|
|
|
9
9
|
import type { Service } from '@geekmidas/services';
|
|
10
10
|
import uniqBy from 'lodash.uniqby';
|
|
11
11
|
import type { HttpMethod } from '../types';
|
|
12
|
-
import
|
|
13
|
-
Authorizer,
|
|
14
|
-
BuiltInSecuritySchemeId,
|
|
15
|
-
|
|
12
|
+
import {
|
|
13
|
+
type Authorizer,
|
|
14
|
+
type BuiltInSecuritySchemeId,
|
|
15
|
+
getSecurityScheme,
|
|
16
|
+
type SecurityScheme,
|
|
16
17
|
} from './Authorizer';
|
|
17
18
|
import type { ActorExtractor } from './audit';
|
|
18
19
|
import type { AuthorizeFn, SessionFn } from './Endpoint';
|
|
@@ -181,6 +182,7 @@ export class EndpointFactory<
|
|
|
181
182
|
> {
|
|
182
183
|
const authorizerConfigs = authorizers.map((name) => ({
|
|
183
184
|
name,
|
|
185
|
+
securityScheme: getSecurityScheme(name, this.customSecuritySchemes),
|
|
184
186
|
}));
|
|
185
187
|
return new EndpointFactory<
|
|
186
188
|
TServices,
|