@geekmidas/constructs 1.0.1 → 1.0.3
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 +9 -0
- package/dist/{AWSLambdaSubscriberAdaptor-yt7Q8xE-.mjs → AWSLambdaSubscriberAdaptor-BUvb-v_n.mjs} +25 -3
- package/dist/AWSLambdaSubscriberAdaptor-BUvb-v_n.mjs.map +1 -0
- package/dist/{AWSLambdaSubscriberAdaptor-Bat1CB6a.d.cts → AWSLambdaSubscriberAdaptor-BfEGolJA.d.cts} +2 -1
- package/dist/{AWSLambdaSubscriberAdaptor-DgSXzIUT.d.mts.map → AWSLambdaSubscriberAdaptor-BfEGolJA.d.cts.map} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-DgSXzIUT.d.mts → AWSLambdaSubscriberAdaptor-Pb7Jof-i.d.mts} +2 -1
- package/dist/{AWSLambdaSubscriberAdaptor-Bat1CB6a.d.cts.map → AWSLambdaSubscriberAdaptor-Pb7Jof-i.d.mts.map} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-CrCeL9Fs.cjs → AWSLambdaSubscriberAdaptor-Soie57uM.cjs} +25 -3
- package/dist/AWSLambdaSubscriberAdaptor-Soie57uM.cjs.map +1 -0
- package/dist/{Authorizer-Q-lW9GNW.cjs → Authorizer-BXxBee2P.cjs} +1 -1
- package/dist/{Authorizer-Q-lW9GNW.cjs.map → Authorizer-BXxBee2P.cjs.map} +1 -1
- package/dist/{Authorizer-UByhrr73.mjs → Authorizer-BgjU8-z6.mjs} +1 -1
- package/dist/{Authorizer-UByhrr73.mjs.map → Authorizer-BgjU8-z6.mjs.map} +1 -1
- package/dist/{Cron-Bx77QBN0.cjs → Cron-BV6weqem.cjs} +1 -1
- package/dist/{Cron-Bx77QBN0.cjs.map → Cron-BV6weqem.cjs.map} +1 -1
- package/dist/{Cron-CU3nmjdC.mjs → Cron-D5NpDp6y.mjs} +1 -1
- package/dist/{Cron-CU3nmjdC.mjs.map → Cron-D5NpDp6y.mjs.map} +1 -1
- package/dist/{CronBuilder-DLJvSOqj.cjs → CronBuilder-DzPkDCiP.cjs} +2 -2
- package/dist/{CronBuilder-DLJvSOqj.cjs.map → CronBuilder-DzPkDCiP.cjs.map} +1 -1
- package/dist/{CronBuilder-DEI1u1kW.mjs → CronBuilder-p1Ro6a0n.mjs} +2 -2
- package/dist/{CronBuilder-DEI1u1kW.mjs.map → CronBuilder-p1Ro6a0n.mjs.map} +1 -1
- package/dist/{EndpointBuilder-CZCom6bI.mjs → EndpointBuilder-CF-ZWtdu.mjs} +3 -3
- package/dist/{EndpointBuilder-CZCom6bI.mjs.map → EndpointBuilder-CF-ZWtdu.mjs.map} +1 -1
- package/dist/{EndpointBuilder-CVLonbkM.cjs → EndpointBuilder-CyszO0bs.cjs} +3 -3
- package/dist/{EndpointBuilder-CVLonbkM.cjs.map → EndpointBuilder-CyszO0bs.cjs.map} +1 -1
- package/dist/{EndpointFactory-CTRHSuRp.cjs → EndpointFactory-B6fUZPhx.cjs} +7 -3
- 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-CSStmg_R.mjs → EndpointFactory-CyM-gSew.mjs} +7 -3
- package/dist/EndpointFactory-CyM-gSew.mjs.map +1 -0
- package/dist/{HonoEndpointAdaptor-C_eGbXZR.d.mts → HonoEndpointAdaptor-C7BBBYuU.d.mts} +3 -3
- package/dist/{HonoEndpointAdaptor-BuyXynoH.d.cts.map → HonoEndpointAdaptor-C7BBBYuU.d.mts.map} +1 -1
- package/dist/{HonoEndpointAdaptor-BuyXynoH.d.cts → HonoEndpointAdaptor-vI3LPiyu.d.cts} +3 -3
- package/dist/{HonoEndpointAdaptor-C_eGbXZR.d.mts.map → HonoEndpointAdaptor-vI3LPiyu.d.cts.map} +1 -1
- package/dist/adaptors/aws.cjs +1 -1
- package/dist/adaptors/aws.d.cts +2 -2
- package/dist/adaptors/aws.d.mts +2 -2
- package/dist/adaptors/aws.mjs +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.cjs +1 -1
- package/dist/crons/Cron.d.cts +1 -1
- package/dist/crons/Cron.d.mts +1 -1
- package/dist/crons/Cron.mjs +1 -1
- package/dist/crons/CronBuilder.cjs +2 -2
- package/dist/crons/CronBuilder.d.cts +1 -1
- package/dist/crons/CronBuilder.d.mts +1 -1
- package/dist/crons/CronBuilder.mjs +2 -2
- package/dist/crons/index.cjs +2 -2
- package/dist/crons/index.d.cts +5 -5
- package/dist/crons/index.d.mts +5 -5
- package/dist/crons/index.mjs +2 -2
- 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/Authorizer.cjs +1 -1
- package/dist/endpoints/Authorizer.mjs +1 -1
- package/dist/endpoints/Endpoint.d.cts +1 -1
- package/dist/endpoints/Endpoint.d.mts +1 -1
- package/dist/endpoints/EndpointBuilder.cjs +3 -3
- package/dist/endpoints/EndpointBuilder.d.cts +1 -1
- package/dist/endpoints/EndpointBuilder.d.mts +1 -1
- package/dist/endpoints/EndpointBuilder.mjs +3 -3
- package/dist/endpoints/EndpointFactory.cjs +4 -4
- package/dist/endpoints/EndpointFactory.d.cts +1 -1
- package/dist/endpoints/EndpointFactory.d.mts +1 -1
- package/dist/endpoints/EndpointFactory.mjs +4 -4
- 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 +4 -4
- package/dist/endpoints/index.d.cts +3 -3
- package/dist/endpoints/index.d.mts +3 -3
- package/dist/endpoints/index.mjs +4 -4
- 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.cjs +1 -1
- package/dist/endpoints/rls.d.cts +1 -1
- package/dist/endpoints/rls.d.mts +1 -1
- package/dist/endpoints/rls.mjs +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-0bHR_AbP.d.cts.map → index-BRZODuxf.d.mts.map} +1 -1
- package/dist/index-BRbGNZpa.d.cts +12 -0
- package/dist/{index-BN927YDe.d.mts.map → index-BRbGNZpa.d.cts.map} +1 -1
- package/dist/{rls-uq6XPM83.cjs → rls-BrywnrQb.cjs} +1 -1
- package/dist/{rls-uq6XPM83.cjs.map → rls-BrywnrQb.cjs.map} +1 -1
- package/dist/{rls-WNnQLmQd.mjs → rls-C0cWOnk4.mjs} +1 -1
- package/dist/{rls-WNnQLmQd.mjs.map → rls-C0cWOnk4.mjs.map} +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.cjs +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.d.cts +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.d.mts +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.mjs +1 -1
- package/dist/subscribers/index.d.cts +2 -2
- package/dist/subscribers/index.d.cts.map +1 -1
- package/package.json +11 -11
- package/src/endpoints/EndpointFactory.ts +6 -4
- package/src/endpoints/__tests__/EndpointFactory.authorizers.spec.ts +79 -24
- package/src/subscribers/AWSLambdaSubscriberAdaptor.ts +32 -3
- package/src/subscribers/__tests__/AWSLambdaSubscriberAdaptor.spec.ts +120 -1
- package/dist/AWSLambdaSubscriberAdaptor-CrCeL9Fs.cjs.map +0 -1
- package/dist/AWSLambdaSubscriberAdaptor-yt7Q8xE-.mjs.map +0 -1
- package/dist/EndpointFactory-CSStmg_R.mjs.map +0 -1
- package/dist/EndpointFactory-CTRHSuRp.cjs.map +0 -1
- package/dist/index-0bHR_AbP.d.cts +0 -12
- package/dist/index-BN927YDe.d.mts +0 -12
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -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-BRbGNZpa.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";
|
|
@@ -4,9 +4,9 @@ import "../Function-xfQbftdE.mjs";
|
|
|
4
4
|
import "../FunctionBuilder-CBeqX18X.mjs";
|
|
5
5
|
import "../functions-B1mrMoUH.mjs";
|
|
6
6
|
import "../Endpoint-DvY3aqAy.mjs";
|
|
7
|
-
import "../Authorizer-
|
|
8
|
-
import "../rls-
|
|
9
|
-
import "../EndpointBuilder-
|
|
10
|
-
import { EndpointFactory, e } from "../EndpointFactory-
|
|
7
|
+
import "../Authorizer-BgjU8-z6.mjs";
|
|
8
|
+
import "../rls-C0cWOnk4.mjs";
|
|
9
|
+
import "../EndpointBuilder-CF-ZWtdu.mjs";
|
|
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-BRbGNZpa.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-vI3LPiyu.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-BRbGNZpa.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-BRbGNZpa.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-BRbGNZpa.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
|
@@ -6,10 +6,10 @@ require('../FunctionBuilder-C_xG9As7.cjs');
|
|
|
6
6
|
require('../functions-rOD3pXQd.cjs');
|
|
7
7
|
const require_Endpoint = require('../Endpoint-BcxvF4F3.cjs');
|
|
8
8
|
const require_lazyAccessors = require('../lazyAccessors-B8Hhras9.cjs');
|
|
9
|
-
const require_Authorizer = require('../Authorizer-
|
|
10
|
-
const require_rls = require('../rls-
|
|
11
|
-
const require_EndpointBuilder = require('../EndpointBuilder-
|
|
12
|
-
const require_EndpointFactory = require('../EndpointFactory-
|
|
9
|
+
const require_Authorizer = require('../Authorizer-BXxBee2P.cjs');
|
|
10
|
+
const require_rls = require('../rls-BrywnrQb.cjs');
|
|
11
|
+
const require_EndpointBuilder = require('../EndpointBuilder-CyszO0bs.cjs');
|
|
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-BRbGNZpa.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_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
|
|
@@ -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
|
@@ -6,10 +6,10 @@ import "../FunctionBuilder-CBeqX18X.mjs";
|
|
|
6
6
|
import "../functions-B1mrMoUH.mjs";
|
|
7
7
|
import { Endpoint, ResponseBuilder } from "../Endpoint-DvY3aqAy.mjs";
|
|
8
8
|
import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders } from "../lazyAccessors-B-Jgkg2o.mjs";
|
|
9
|
-
import { BUILT_IN_SECURITY_SCHEMES, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-
|
|
10
|
-
import { RLS_BYPASS } from "../rls-
|
|
11
|
-
import { EndpointBuilder } from "../EndpointBuilder-
|
|
12
|
-
import { EndpointFactory } from "../EndpointFactory-
|
|
9
|
+
import { BUILT_IN_SECURITY_SCHEMES, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-BgjU8-z6.mjs";
|
|
10
|
+
import { RLS_BYPASS } from "../rls-C0cWOnk4.mjs";
|
|
11
|
+
import { EndpointBuilder } from "../EndpointBuilder-CF-ZWtdu.mjs";
|
|
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-BRbGNZpa.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-BRbGNZpa.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.cjs
CHANGED
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-BRbGNZpa.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 };
|
package/dist/endpoints/rls.mjs
CHANGED
|
@@ -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-BRbGNZpa.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_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-BRbGNZpa.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BRbGNZpa.d.cts","names":[],"sources":["../src/functions/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAWa,GAAC,gBAAwB,kBAAA,CAAxB,wBAAA,iBAAA,kBAAA,CAAA,MAAA,2DAAA,iBAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rls-
|
|
1
|
+
{"version":3,"file":"rls-BrywnrQb.cjs","names":[],"sources":["../src/endpoints/rls.ts"],"sourcesContent":["import type { Logger } from '@geekmidas/logger';\nimport type { Service, ServiceRecord } from '@geekmidas/services';\nimport type { CookieFn, HeaderFn } from './Endpoint';\n\n/**\n * RLS context - key-value pairs to set as PostgreSQL session variables.\n * Keys become `prefix.key` (e.g., `app.user_id`).\n */\nexport interface RlsContext {\n\t[key: string]: string | number | boolean | null | undefined;\n}\n\n/**\n * Function type for extracting RLS context from request context.\n *\n * @template TServices - Available service dependencies\n * @template TSession - Session data type\n * @template TLogger - Logger type\n *\n * @example\n * ```ts\n * const extractor: RlsContextExtractor<[], UserSession> = ({ session }) => ({\n * user_id: session.userId,\n * tenant_id: session.tenantId,\n * roles: session.roles.join(','),\n * });\n * ```\n */\nexport type RlsContextExtractor<\n\tTServices extends Service[] = [],\n\tTSession = unknown,\n\tTLogger extends Logger = Logger,\n> = (ctx: {\n\tservices: ServiceRecord<TServices>;\n\tsession: TSession;\n\theader: HeaderFn;\n\tcookie: CookieFn;\n\tlogger: TLogger;\n}) => RlsContext | Promise<RlsContext>;\n\n/**\n * Configuration for RLS on an endpoint or factory.\n *\n * @template TServices - Available service dependencies\n * @template TSession - Session data type\n * @template TLogger - Logger type\n */\nexport interface RlsConfig<\n\tTServices extends Service[] = [],\n\tTSession = unknown,\n\tTLogger extends Logger = Logger,\n> {\n\t/** Function to extract RLS context from request */\n\textractor: RlsContextExtractor<TServices, TSession, TLogger>;\n\t/** Prefix for PostgreSQL session variables (default: 'app') */\n\tprefix?: string;\n}\n\n/**\n * Symbol used to bypass RLS for an endpoint.\n */\nexport const RLS_BYPASS = Symbol.for('geekmidas.rls.bypass');\n\n/**\n * Type for RLS bypass marker.\n */\nexport type RlsBypass = typeof RLS_BYPASS;\n"],"mappings":";;;;;AA6DA,MAAa,aAAa,OAAO,IAAI,uBAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rls-
|
|
1
|
+
{"version":3,"file":"rls-C0cWOnk4.mjs","names":[],"sources":["../src/endpoints/rls.ts"],"sourcesContent":["import type { Logger } from '@geekmidas/logger';\nimport type { Service, ServiceRecord } from '@geekmidas/services';\nimport type { CookieFn, HeaderFn } from './Endpoint';\n\n/**\n * RLS context - key-value pairs to set as PostgreSQL session variables.\n * Keys become `prefix.key` (e.g., `app.user_id`).\n */\nexport interface RlsContext {\n\t[key: string]: string | number | boolean | null | undefined;\n}\n\n/**\n * Function type for extracting RLS context from request context.\n *\n * @template TServices - Available service dependencies\n * @template TSession - Session data type\n * @template TLogger - Logger type\n *\n * @example\n * ```ts\n * const extractor: RlsContextExtractor<[], UserSession> = ({ session }) => ({\n * user_id: session.userId,\n * tenant_id: session.tenantId,\n * roles: session.roles.join(','),\n * });\n * ```\n */\nexport type RlsContextExtractor<\n\tTServices extends Service[] = [],\n\tTSession = unknown,\n\tTLogger extends Logger = Logger,\n> = (ctx: {\n\tservices: ServiceRecord<TServices>;\n\tsession: TSession;\n\theader: HeaderFn;\n\tcookie: CookieFn;\n\tlogger: TLogger;\n}) => RlsContext | Promise<RlsContext>;\n\n/**\n * Configuration for RLS on an endpoint or factory.\n *\n * @template TServices - Available service dependencies\n * @template TSession - Session data type\n * @template TLogger - Logger type\n */\nexport interface RlsConfig<\n\tTServices extends Service[] = [],\n\tTSession = unknown,\n\tTLogger extends Logger = Logger,\n> {\n\t/** Function to extract RLS context from request */\n\textractor: RlsContextExtractor<TServices, TSession, TLogger>;\n\t/** Prefix for PostgreSQL session variables (default: 'app') */\n\tprefix?: string;\n}\n\n/**\n * Symbol used to bypass RLS for an endpoint.\n */\nexport const RLS_BYPASS = Symbol.for('geekmidas.rls.bypass');\n\n/**\n * Type for RLS bypass marker.\n */\nexport type RlsBypass = typeof RLS_BYPASS;\n"],"mappings":";;;;AA6DA,MAAa,aAAa,OAAO,IAAI,uBAAuB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const require_AWSLambdaSubscriberAdaptor = require('../AWSLambdaSubscriberAdaptor-
|
|
1
|
+
const require_AWSLambdaSubscriberAdaptor = require('../AWSLambdaSubscriberAdaptor-Soie57uM.cjs');
|
|
2
2
|
|
|
3
3
|
exports.AWSLambdaSubscriber = require_AWSLambdaSubscriberAdaptor.AWSLambdaSubscriber;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../Construct-CX7HyFfT.cjs";
|
|
2
2
|
import "../Subscriber-1rDE7HuM.cjs";
|
|
3
|
-
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-
|
|
3
|
+
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-BfEGolJA.cjs";
|
|
4
4
|
export { AWSLambdaHandler, AWSLambdaSubscriber };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../Construct-DvXCkLOP.mjs";
|
|
2
2
|
import "../Subscriber-DCgMSkQA.mjs";
|
|
3
|
-
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-
|
|
3
|
+
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-Pb7Jof-i.mjs";
|
|
4
4
|
export { AWSLambdaHandler, AWSLambdaSubscriber };
|
|
@@ -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_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.cts","names":[],"sources":["../../src/subscribers/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAKa,GAAC,sBAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.cts","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.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -79,31 +79,31 @@
|
|
|
79
79
|
"pg": "~8.16.3",
|
|
80
80
|
"zod": "~4.1.13",
|
|
81
81
|
"@geekmidas/audit": "^1.0.0",
|
|
82
|
-
"@geekmidas/db": "^1.0.0",
|
|
83
82
|
"@geekmidas/cache": "^1.0.0",
|
|
84
|
-
"@geekmidas/envkit": "^1.0.
|
|
83
|
+
"@geekmidas/envkit": "^1.0.1",
|
|
84
|
+
"@geekmidas/db": "^1.0.0",
|
|
85
|
+
"@geekmidas/errors": "^1.0.0",
|
|
85
86
|
"@geekmidas/events": "^1.0.0",
|
|
86
|
-
"@geekmidas/logger": "^1.0.0",
|
|
87
87
|
"@geekmidas/rate-limit": "^1.0.0",
|
|
88
|
+
"@geekmidas/logger": "^1.0.0",
|
|
88
89
|
"@geekmidas/schema": "^1.0.0",
|
|
89
90
|
"@geekmidas/services": "^1.0.0",
|
|
90
|
-
"@geekmidas/errors": "^1.0.0",
|
|
91
91
|
"@geekmidas/testkit": "^1.0.1"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@middy/core": ">=6.3.1",
|
|
95
95
|
"@types/aws-lambda": ">=8.10.92",
|
|
96
96
|
"hono": ">=4.8.2",
|
|
97
|
+
"@geekmidas/audit": "^1.0.0",
|
|
97
98
|
"@geekmidas/db": "^1.0.0",
|
|
98
|
-
"@geekmidas/cache": "^1.0.0",
|
|
99
|
-
"@geekmidas/envkit": "^1.0.0",
|
|
100
99
|
"@geekmidas/errors": "^1.0.0",
|
|
100
|
+
"@geekmidas/envkit": "^1.0.1",
|
|
101
|
+
"@geekmidas/cache": "^1.0.0",
|
|
102
|
+
"@geekmidas/events": "^1.0.0",
|
|
101
103
|
"@geekmidas/logger": "^1.0.0",
|
|
102
|
-
"@geekmidas/audit": "^1.0.0",
|
|
103
|
-
"@geekmidas/rate-limit": "^1.0.0",
|
|
104
104
|
"@geekmidas/schema": "^1.0.0",
|
|
105
|
-
"@geekmidas/
|
|
106
|
-
"@geekmidas/
|
|
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,
|