@geekmidas/constructs 1.0.3 → 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 +6 -0
- package/dist/{HonoEndpointAdaptor-vI3LPiyu.d.cts → HonoEndpointAdaptor-BuyXynoH.d.cts} +3 -3
- package/dist/{HonoEndpointAdaptor-vI3LPiyu.d.cts.map → HonoEndpointAdaptor-BuyXynoH.d.cts.map} +1 -1
- package/dist/adaptors/aws.d.cts +1 -1
- package/dist/adaptors/hono.d.cts +2 -2
- package/dist/adaptors/testing.d.cts +1 -1
- package/dist/crons/Cron.d.cts +1 -1
- package/dist/crons/CronBuilder.d.cts +1 -1
- package/dist/crons/index.d.cts +1 -1
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/Endpoint.d.cts +1 -1
- package/dist/endpoints/EndpointBuilder.d.cts +1 -1
- package/dist/endpoints/EndpointFactory.d.cts +1 -1
- package/dist/endpoints/HonoEndpointAdaptor.d.cts +2 -2
- package/dist/endpoints/TestEndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/audit.d.cts +1 -1
- package/dist/endpoints/helpers.d.cts +1 -1
- package/dist/endpoints/index.d.cts +3 -3
- package/dist/endpoints/lazyAccessors.d.cts +1 -1
- package/dist/endpoints/processAudits.d.cts +1 -1
- package/dist/endpoints/rls.d.cts +1 -1
- package/dist/functions/index.d.cts +1 -1
- package/dist/index-BnoOaBQV.d.cts +12 -0
- package/dist/{index-BRbGNZpa.d.cts.map → index-BnoOaBQV.d.cts.map} +1 -1
- package/dist/subscribers/index.d.cts +2 -2
- package/dist/subscribers/index.d.cts.map +1 -1
- package/package.json +7 -7
- package/dist/index-BRbGNZpa.d.cts +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @geekmidas/constructs
|
|
2
2
|
|
|
3
|
+
## 1.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 🐛 [`05a6302`](https://github.com/geekmidas/toolbox/commit/05a6302a37ef2285aaf07ee46eeb9135ed658a68) Thanks [@geekmidas](https://github.com/geekmidas)! - Fix lambda function generator to use correct adaptor import
|
|
8
|
+
|
|
3
9
|
## 1.0.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ import { Logger } from "@geekmidas/logger";
|
|
|
6
6
|
import { Service, ServiceDiscovery, ServiceRecord } from "@geekmidas/services";
|
|
7
7
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
8
8
|
import { EnvironmentParser } from "@geekmidas/envkit";
|
|
9
|
-
import * as
|
|
9
|
+
import * as hono_types9 from "hono/types";
|
|
10
10
|
import { Context, Hono } from "hono";
|
|
11
11
|
|
|
12
12
|
//#region src/endpoints/HonoEndpointAdaptor.d.ts
|
|
@@ -38,7 +38,7 @@ declare class HonoEndpoint<TRoute extends string, TMethod extends HttpMethod, TI
|
|
|
38
38
|
* This method is kept for backward compatibility but does nothing.
|
|
39
39
|
*/
|
|
40
40
|
static applyEventMiddleware(_app: Hono, _serviceDiscovery: ServiceDiscovery<any>): void;
|
|
41
|
-
static fromRoutes<TLogger extends Logger, TServices extends Service[]>(routes: string[], envParser: EnvironmentParser<{}>, app: Hono<
|
|
41
|
+
static fromRoutes<TLogger extends Logger, TServices extends Service[]>(routes: string[], envParser: EnvironmentParser<{}>, app: Hono<hono_types9.BlankEnv, hono_types9.BlankSchema, "/"> | undefined, _logger: TLogger, cwd?: string, options?: HonoEndpointOptions): Promise<Hono>;
|
|
42
42
|
static addRoutes<TServices extends Service[] = [], TLogger extends Logger = Logger>(endpoints: Endpoint<string, HttpMethod, any, any, TServices, TLogger>[], serviceDiscovery: ServiceDiscovery<ServiceRecord<TServices>>, app: Hono, options?: HonoEndpointOptions): void;
|
|
43
43
|
static addRoute<TRoute extends string, TMethod extends HttpMethod, TInput extends EndpointSchemas = {}, TOutSchema extends StandardSchemaV1 | undefined = undefined, TServices extends Service[] = [], TLogger extends Logger = Logger, TSession = unknown, TEventPublisher extends EventPublisher<any> | undefined = undefined, TEventPublisherServiceName extends string = string, TAuditStorage extends AuditStorage | undefined = undefined, TAuditStorageServiceName extends string = string, TAuditAction extends AuditableAction<string, unknown> = AuditableAction<string, unknown>, TDatabase = undefined, TDatabaseServiceName extends string = string>(endpoint: Endpoint<TRoute, TMethod, TInput, TOutSchema, TServices, TLogger, TSession, TEventPublisher, TEventPublisherServiceName, TAuditStorage, TAuditStorageServiceName, TAuditAction, TDatabase, TDatabaseServiceName>, serviceDiscovery: ServiceDiscovery<ServiceRecord<TServices>>, app: Hono): void;
|
|
44
44
|
static addDocsRoute<TServices extends Service[] = [], TLogger extends Logger = Logger>(endpoints: Endpoint<string, HttpMethod, any, any, TServices, TLogger>[], app: Hono, docsPath: string, openApiOptions?: HonoEndpointOptions['openApiOptions']): void;
|
|
@@ -47,4 +47,4 @@ declare class HonoEndpoint<TRoute extends string, TMethod extends HttpMethod, TI
|
|
|
47
47
|
|
|
48
48
|
//#endregion
|
|
49
49
|
export { HonoEndpoint, HonoEndpointOptions };
|
|
50
|
-
//# sourceMappingURL=HonoEndpointAdaptor-
|
|
50
|
+
//# sourceMappingURL=HonoEndpointAdaptor-BuyXynoH.d.cts.map
|
package/dist/{HonoEndpointAdaptor-vI3LPiyu.d.cts.map → HonoEndpointAdaptor-BuyXynoH.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HonoEndpointAdaptor-
|
|
1
|
+
{"version":3,"file":"HonoEndpointAdaptor-BuyXynoH.d.cts","names":[],"sources":["../src/endpoints/HonoEndpointAdaptor.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;UAqCiB,mBAAA;;;AAAjB;AAqEA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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";
|
package/dist/adaptors/hono.d.cts
CHANGED
|
@@ -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 } from "../HonoEndpointAdaptor-
|
|
9
|
+
import { HonoEndpoint } from "../HonoEndpointAdaptor-BuyXynoH.cjs";
|
|
10
10
|
export { HonoEndpoint };
|
|
@@ -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 } from "../TestEndpointAdaptor-CCf3Dg0u.cjs";
|
package/dist/crons/Cron.d.cts
CHANGED
|
@@ -2,6 +2,6 @@ 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
|
export { Cron, CronExpression, RateExpression, ScheduleExpression };
|
|
@@ -2,7 +2,7 @@ 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-BJWjEj3U.cjs";
|
|
7
7
|
import { CronBuilder } from "../CronBuilder-CmPYae1S.cjs";
|
|
8
8
|
export { CronBuilder };
|
package/dist/crons/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ 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
8
|
import * as _geekmidas_logger2 from "@geekmidas/logger";
|
|
@@ -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-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-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";
|
|
@@ -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-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-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,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,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-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 { 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,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,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-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";
|
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 };
|
|
@@ -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 };
|
|
@@ -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 +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,kBAAA,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": {
|
|
@@ -80,26 +80,26 @@
|
|
|
80
80
|
"zod": "~4.1.13",
|
|
81
81
|
"@geekmidas/audit": "^1.0.0",
|
|
82
82
|
"@geekmidas/cache": "^1.0.0",
|
|
83
|
-
"@geekmidas/envkit": "^1.0.1",
|
|
84
83
|
"@geekmidas/db": "^1.0.0",
|
|
84
|
+
"@geekmidas/envkit": "^1.0.1",
|
|
85
85
|
"@geekmidas/errors": "^1.0.0",
|
|
86
86
|
"@geekmidas/events": "^1.0.0",
|
|
87
|
-
"@geekmidas/rate-limit": "^1.0.0",
|
|
88
87
|
"@geekmidas/logger": "^1.0.0",
|
|
89
|
-
"@geekmidas/
|
|
88
|
+
"@geekmidas/rate-limit": "^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",
|
|
95
95
|
"@types/aws-lambda": ">=8.10.92",
|
|
96
96
|
"hono": ">=4.8.2",
|
|
97
97
|
"@geekmidas/audit": "^1.0.0",
|
|
98
|
+
"@geekmidas/cache": "^1.0.0",
|
|
98
99
|
"@geekmidas/db": "^1.0.0",
|
|
99
100
|
"@geekmidas/errors": "^1.0.0",
|
|
100
|
-
"@geekmidas/envkit": "^1.0.1",
|
|
101
|
-
"@geekmidas/cache": "^1.0.0",
|
|
102
101
|
"@geekmidas/events": "^1.0.0",
|
|
102
|
+
"@geekmidas/envkit": "^1.0.1",
|
|
103
103
|
"@geekmidas/logger": "^1.0.0",
|
|
104
104
|
"@geekmidas/schema": "^1.0.0",
|
|
105
105
|
"@geekmidas/services": "^1.0.0",
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|