@geekmidas/constructs 0.9.0 → 1.0.0
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 +21 -0
- package/dist/Function-CwlB89lS.d.cts.map +1 -1
- package/dist/Function-DEX2O-SB.d.mts.map +1 -1
- package/dist/Function-DgQ_no6B.cjs.map +1 -1
- package/dist/Function-xfQbftdE.mjs.map +1 -1
- package/dist/{HonoEndpointAdaptor-C8fXczC4.d.cts → HonoEndpointAdaptor-BNHGwpvZ.d.cts} +3 -3
- package/dist/{HonoEndpointAdaptor-C8fXczC4.d.cts.map → HonoEndpointAdaptor-BNHGwpvZ.d.cts.map} +1 -1
- package/dist/{HonoEndpointAdaptor-xNOg1bAE.d.mts → HonoEndpointAdaptor-BbnZe3hb.d.mts} +3 -3
- package/dist/{HonoEndpointAdaptor-xNOg1bAE.d.mts.map → HonoEndpointAdaptor-BbnZe3hb.d.mts.map} +1 -1
- package/dist/adaptors/aws.d.mts +1 -1
- package/dist/adaptors/hono.d.cts +1 -1
- package/dist/adaptors/hono.d.mts +2 -2
- package/dist/adaptors/testing.d.mts +1 -1
- package/dist/crons/Cron.d.mts +1 -1
- package/dist/crons/CronBuilder.d.mts +1 -1
- package/dist/crons/index.d.cts +4 -4
- package/dist/crons/index.d.mts +5 -5
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/Endpoint.d.mts +1 -1
- package/dist/endpoints/EndpointBuilder.d.mts +1 -1
- package/dist/endpoints/EndpointFactory.d.mts +1 -1
- package/dist/endpoints/HonoEndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/HonoEndpointAdaptor.d.mts +2 -2
- package/dist/endpoints/TestEndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/audit.d.mts +1 -1
- package/dist/endpoints/helpers.d.mts +1 -1
- package/dist/endpoints/index.d.cts +2 -2
- package/dist/endpoints/index.d.mts +3 -3
- package/dist/endpoints/lazyAccessors.d.mts +1 -1
- package/dist/endpoints/processAudits.d.mts +1 -1
- package/dist/endpoints/rls.d.mts +1 -1
- package/dist/functions/index.d.mts +1 -1
- package/dist/index-DHGtpWKA.d.mts +12 -0
- package/dist/{index-puUpr9Dh.d.mts.map → index-DHGtpWKA.d.mts.map} +1 -1
- package/dist/subscribers/index.d.mts +2 -2
- package/dist/subscribers/index.d.mts.map +1 -1
- package/package.json +22 -22
- package/src/__benchmarks__/build-time-optimization.bench.ts +2 -2
- package/src/functions/Function.ts +1 -1
- package/dist/index-puUpr9Dh.d.mts +0 -12
- package/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @geekmidas/constructs
|
|
2
|
+
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`ff7b115`](https://github.com/geekmidas/toolbox/commit/ff7b11599f60f84ac6cdc73714c853ecf786b2e8) Thanks [@geekmidas](https://github.com/geekmidas)! - Version 1 Stable release
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`ff7b115`](https://github.com/geekmidas/toolbox/commit/ff7b11599f60f84ac6cdc73714c853ecf786b2e8)]:
|
|
12
|
+
- @geekmidas/audit@1.0.0
|
|
13
|
+
- @geekmidas/cache@1.0.0
|
|
14
|
+
- @geekmidas/db@1.0.0
|
|
15
|
+
- @geekmidas/envkit@1.0.0
|
|
16
|
+
- @geekmidas/errors@1.0.0
|
|
17
|
+
- @geekmidas/events@1.0.0
|
|
18
|
+
- @geekmidas/logger@1.0.0
|
|
19
|
+
- @geekmidas/rate-limit@1.0.0
|
|
20
|
+
- @geekmidas/schema@1.0.0
|
|
21
|
+
- @geekmidas/services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uHC,mBAvHD,CAuHqB,SAvHrB,CAAA,GAuHkC,OAvHlC,CAuH0C,mBAvH1C,CAuH8D,SAvH9D,CAAA,CAAA,GAAA,GAAA,GAwHO,OAxHP,CAAA,GAAA,CAAA;;;;KA6HG,eAzHH,CAAA,SAAA,CAAA,GAyHgC,SAzHhC,SAAA,SAAA,GAAA,CAAA,CAAA,GAAA;EAAa,EAAA,EA2HN,SA1HP;CAAY;;;;KA+HT,cAzHJ,CAAA,qBA0HqB,eA1HrB,CAAA,MAAA,EAAA,OAAA,CAAA,GA0HwD,eA1HxD,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,gBAAA,SAAA,CAAA,GA+HG,aA/HH,SAAA,SAAA,GAAA,CAAA,CAAA,GAAA;EAAS;;;;EA4Dc,OAGP,EAuEL,OAvEK,CAuEG,YAvEH,CAAA;CAAM;AAQ2C,KAkEtD,eAlEsD,CAAA,cAmEnD,wBAnEmD,GAAA,SAAA,GAAA,SAAA,EAAA,kBAoE/C,OApE+C,EAAA,GAAA,EAAA,EAAA,gBAqEjD,MArEiD,GAqExC,MArEwC,EAAA,YAAA,SAAA,EAAA,sBAuE3C,YAvE2C,GAAA,SAAA,GAAA,SAAA,EAAA,qBAwE5C,eAxE4C,CAAA,MAAA,EAAA,OAAA,CAAA,GAwET,eAxES,CAAA,MAAA,EAAA,OAAA,CAAA,CAAA,GAAA;EAAS,QAAvC,EA6EzB,aA7EyB,CA6EX,SA7EW,CAAA;EAAO,MAhEN,EA8I5B,OA9I4B;EAAQ,KAelB,EAgInB,6BAhImB,CAgIW,KAhIX,CAAA;CAAgB,GAiIvC,eAjIiD,CAiIjC,SAjIiC,CAAA,GAkIpD,cAlIoD,CAkIrC,YAlIqC,EAkIvB,aAlIuB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Function-DgQ_no6B.cjs","names":["ConsoleLogger","defaultServices: TServices","defaultLogger: TLogger","services: S","logger: L","Construct","obj: any","ConstructType","schema: T","data: unknown","UnprocessableEntityError","output: unknown","fn: Fn","type: ConstructType","input?: TInput","outputSchema?: OutSchema","services: TServices","logger: TLogger","publisherService?: Service<TEventPublisherServiceName, TEventPublisher>","events: MappedEvent<TEventPublisher, OutSchema>[]","memorySize?: number","auditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>","databaseService?: Service<TDatabaseServiceName, TDatabase>"],"sources":["../src/functions/Function.ts"],"sourcesContent":["import type { AuditableAction, Auditor, AuditStorage } from '@geekmidas/audit';\nimport { UnprocessableEntityError } from '@geekmidas/errors';\nimport type { EventPublisher, MappedEvent } from '@geekmidas/events';\nimport type { Logger } from '@geekmidas/logger';\nimport { ConsoleLogger } from '@geekmidas/logger/console';\nimport type {\n\tComposableStandardSchema,\n\tInferComposableStandardSchema,\n\tInferStandardSchema,\n} from '@geekmidas/schema';\nimport { parseSchema } from '@geekmidas/schema/parser';\nimport type { Service, ServiceRecord } from '@geekmidas/services';\nimport type { StandardSchemaV1 } from '@standard-schema/spec';\nimport uniqBy from 'lodash.uniqby';\nimport { Construct, ConstructType } from '../Construct';\n\nconst DEFAULT_LOGGER = new ConsoleLogger() as any;\n\nexport class FunctionFactory<\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n> {\n\tprivate defaultServices: TServices;\n\tconstructor(\n\t\tdefaultServices: TServices,\n\t\tprivate defaultLogger: TLogger = DEFAULT_LOGGER,\n\t) {\n\t\t// Initialize default services\n\t\tthis.defaultServices = uniqBy(\n\t\t\tdefaultServices,\n\t\t\t(s) => s.serviceName,\n\t\t) as TServices;\n\t}\n\n\t// Create a new factory with services\n\tservices<S extends Service[]>(\n\t\tservices: S,\n\t): FunctionFactory<[...S, ...TServices], TLogger> {\n\t\treturn new FunctionFactory<[...S, ...TServices], TLogger>(\n\t\t\t[...services, ...this.defaultServices],\n\t\t\tthis.defaultLogger,\n\t\t);\n\t}\n\n\tlogger<L extends Logger>(logger: L): FunctionFactory<TServices, L> {\n\t\treturn new FunctionFactory<TServices, L>(this.defaultServices, logger);\n\t}\n}\n\nexport class Function<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTEventPublisher extends EventPublisher<any> | undefined = undefined,\n\tTEventPublisherServiceName extends string = string,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditStorageServiceName extends string = string,\n\tTDatabase = undefined,\n\tTDatabaseServiceName extends string = string,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tFn extends FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t> = FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n> extends Construct<\n\tTLogger,\n\tTEventPublisherServiceName,\n\tTEventPublisher,\n\tOutSchema,\n\tTServices,\n\tTAuditStorageServiceName,\n\tTAuditStorage\n> {\n\t__IS_FUNCTION__ = true;\n\n\tstatic isFunction(obj: any): obj is Function<any, any, any, any, any> {\n\t\treturn Boolean(\n\t\t\tobj &&\n\t\t\t\tobj.__IS_FUNCTION__ === true &&\n\t\t\t\tobj.type === ConstructType.Function,\n\t\t);\n\t}\n\n\t/**\n\t * Validates data against a StandardSchema.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to validate\n\t * @returns Validation result with value or issues\n\t */\n\tstatic validate<T extends StandardSchemaV1>(schema: T, data: unknown) {\n\t\treturn schema['~standard'].validate(data);\n\t}\n\n\t/**\n\t * Parses and validates data against a schema, throwing an error if validation fails.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to parse and validate\n\t * @returns The validated data with proper typing\n\t * @throws {UnprocessableEntityError} When validation fails\n\t */\n\tstatic async parseSchema<T extends StandardSchemaV1>(\n\t\tschema: T,\n\t\tdata: unknown,\n\t): Promise<InferStandardSchema<T>> {\n\t\ttry {\n\t\t\treturn await parseSchema(schema, data);\n\t\t} catch (issues) {\n\t\t\tthrow new UnprocessableEntityError('Validation failed', issues);\n\t\t}\n\t}\n\n\t/**\n\t * Parses and validates the endpoint output against the output schema.\n\t *\n\t * @param output - The raw output data to validate\n\t * @returns The validated output data\n\t * @throws {UnprocessableEntityError} When output validation fails\n\t */\n\tasync parseOutput(output: unknown): Promise<InferStandardSchema<OutSchema>> {\n\t\treturn Function.parseSchema(\n\t\t\tthis.outputSchema as StandardSchemaV1,\n\t\t\toutput,\n\t\t) as Promise<InferStandardSchema<OutSchema>>;\n\t}\n\n\tconstructor(\n\t\tpublic readonly fn: Fn,\n\t\ttimeout = 30000, // Default timeout of 30 seconds\n\t\ttype: ConstructType = ConstructType.Function,\n\t\tpublic input?: TInput,\n\t\toutputSchema?: OutSchema,\n\t\tservices: TServices = [] as unknown as TServices,\n\t\tlogger: TLogger = DEFAULT_LOGGER,\n\t\tpublisherService?: Service<TEventPublisherServiceName, TEventPublisher>,\n\t\tevents: MappedEvent<TEventPublisher, OutSchema>[] = [],\n\t\tmemorySize?: number,\n\t\tauditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>,\n\t\tpublic databaseService?: Service<TDatabaseServiceName, TDatabase>,\n\t) {\n\t\tsuper(\n\t\t\ttype,\n\t\t\tlogger,\n\t\t\tservices,\n\t\t\tevents,\n\t\t\tpublisherService,\n\t\t\toutputSchema,\n\t\t\ttimeout,\n\t\t\tmemorySize,\n\t\t\tauditorStorageService,\n\t\t);\n\t}\n}\n\nexport type FunctionHandler<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = (\n\tctx: FunctionContext<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n) => OutSchema extends StandardSchemaV1\n\t? InferStandardSchema<OutSchema> | Promise<InferStandardSchema<OutSchema>>\n\t: any | Promise<any>;\n\n/**\n * Conditional type that adds `db` property only when TDatabase is configured.\n */\ntype DatabaseContext<TDatabase> = TDatabase extends undefined\n\t? {}\n\t: { db: TDatabase };\n\n/**\n * Conditional auditor context - only present when audit storage is configured.\n */\ntype AuditorContext<\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tTAuditStorage = undefined,\n> = TAuditStorage extends undefined\n\t? {}\n\t: {\n\t\t\t/**\n\t\t\t * Auditor instance for recording audit events.\n\t\t\t * Only present when audit storage is configured on the function.\n\t\t\t */\n\t\t\tauditor: Auditor<TAuditAction>;\n\t\t};\n\nexport type FunctionContext<\n\tInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = {\n\tservices: ServiceRecord<TServices>;\n\tlogger: TLogger;\n\tinput: InferComposableStandardSchema<Input>;\n} & DatabaseContext<TDatabase> &\n\tAuditorContext<TAuditAction, TAuditStorage>;\n"],"mappings":";;;;;;;;AAgBA,MAAM,iBAAiB,IAAIA;AAE3B,IAAa,kBAAb,MAAa,gBAGX;CACD,AAAQ;CACR,YACCC,iBACQC,gBAAyB,gBAChC;EADO;AAGR,OAAK,kBAAkB,2BACtB,iBACA,CAAC,MAAM,EAAE,YACT;CACD;CAGD,SACCC,UACiD;AACjD,SAAO,IAAI,gBACV,CAAC,GAAG,UAAU,GAAG,KAAK,eAAgB,GACtC,KAAK;CAEN;CAED,OAAyBC,QAA0C;AAClE,SAAO,IAAI,gBAA8B,KAAK,iBAAiB;CAC/D;AACD;AAED,IAAa,WAAb,MAAa,iBAgCHC,4BAQR;CACD,kBAAkB;CAElB,OAAO,WAAWC,KAAoD;AACrE,SAAO,QACN,OACC,IAAI,oBAAoB,QACxB,IAAI,SAASC,gCAAc,SAC5B;CACD;;;;;;;;CASD,OAAO,SAAqCC,QAAWC,MAAe;AACrE,SAAO,OAAO,aAAa,SAAS,KAAK;CACzC;;;;;;;;;CAUD,aAAa,YACZD,QACAC,MACkC;AAClC,MAAI;AACH,UAAO,MAAM,2CAAY,QAAQ,KAAK;EACtC,SAAQ,QAAQ;AAChB,SAAM,IAAIC,4CAAyB,qBAAqB;EACxD;CACD;;;;;;;;CASD,MAAM,YAAYC,QAA0D;AAC3E,SAAO,SAAS,YACf,KAAK,cACL,OACA;CACD;CAED,YACiBC,IAChB,UAAU,KACVC,OAAsBN,gCAAc,UAC7BO,OACPC,cACAC,WAAsB,CAAE,GACxBC,SAAkB,gBAClBC,kBACAC,SAAoD,CAAE,GACtDC,YACAC,
|
|
1
|
+
{"version":3,"file":"Function-DgQ_no6B.cjs","names":["ConsoleLogger","defaultServices: TServices","defaultLogger: TLogger","services: S","logger: L","Construct","obj: any","ConstructType","schema: T","data: unknown","UnprocessableEntityError","output: unknown","fn: Fn","type: ConstructType","input?: TInput","outputSchema?: OutSchema","services: TServices","logger: TLogger","publisherService?: Service<TEventPublisherServiceName, TEventPublisher>","events: MappedEvent<TEventPublisher, OutSchema>[]","memorySize?: number","auditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>","databaseService?: Service<TDatabaseServiceName, TDatabase>"],"sources":["../src/functions/Function.ts"],"sourcesContent":["import type { AuditableAction, Auditor, AuditStorage } from '@geekmidas/audit';\nimport { UnprocessableEntityError } from '@geekmidas/errors';\nimport type { EventPublisher, MappedEvent } from '@geekmidas/events';\nimport type { Logger } from '@geekmidas/logger';\nimport { ConsoleLogger } from '@geekmidas/logger/console';\nimport type {\n\tComposableStandardSchema,\n\tInferComposableStandardSchema,\n\tInferStandardSchema,\n} from '@geekmidas/schema';\nimport { parseSchema } from '@geekmidas/schema/parser';\nimport type { Service, ServiceRecord } from '@geekmidas/services';\nimport type { StandardSchemaV1 } from '@standard-schema/spec';\nimport uniqBy from 'lodash.uniqby';\nimport { Construct, ConstructType } from '../Construct';\n\nconst DEFAULT_LOGGER = new ConsoleLogger() as any;\n\nexport class FunctionFactory<\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n> {\n\tprivate defaultServices: TServices;\n\tconstructor(\n\t\tdefaultServices: TServices,\n\t\tprivate defaultLogger: TLogger = DEFAULT_LOGGER,\n\t) {\n\t\t// Initialize default services\n\t\tthis.defaultServices = uniqBy(\n\t\t\tdefaultServices,\n\t\t\t(s) => s.serviceName,\n\t\t) as TServices;\n\t}\n\n\t// Create a new factory with services\n\tservices<S extends Service[]>(\n\t\tservices: S,\n\t): FunctionFactory<[...S, ...TServices], TLogger> {\n\t\treturn new FunctionFactory<[...S, ...TServices], TLogger>(\n\t\t\t[...services, ...this.defaultServices],\n\t\t\tthis.defaultLogger,\n\t\t);\n\t}\n\n\tlogger<L extends Logger>(logger: L): FunctionFactory<TServices, L> {\n\t\treturn new FunctionFactory<TServices, L>(this.defaultServices, logger);\n\t}\n}\n\nexport class Function<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTEventPublisher extends EventPublisher<any> | undefined = undefined,\n\tTEventPublisherServiceName extends string = string,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditStorageServiceName extends string = string,\n\tTDatabase = undefined,\n\tTDatabaseServiceName extends string = string,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tFn extends FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t> = FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n> extends Construct<\n\tTLogger,\n\tTEventPublisherServiceName,\n\tTEventPublisher,\n\tOutSchema,\n\tTServices,\n\tTAuditStorageServiceName,\n\tTAuditStorage\n> {\n\t__IS_FUNCTION__ = true;\n\n\tstatic isFunction(obj: any): obj is Function<any, any, any, any, any> {\n\t\treturn Boolean(\n\t\t\tobj &&\n\t\t\t\tobj.__IS_FUNCTION__ === true &&\n\t\t\t\tobj.type === ConstructType.Function,\n\t\t);\n\t}\n\n\t/**\n\t * Validates data against a StandardSchema.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to validate\n\t * @returns Validation result with value or issues\n\t */\n\tstatic validate<T extends StandardSchemaV1>(schema: T, data: unknown) {\n\t\treturn schema['~standard'].validate(data);\n\t}\n\n\t/**\n\t * Parses and validates data against a schema, throwing an error if validation fails.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to parse and validate\n\t * @returns The validated data with proper typing\n\t * @throws {UnprocessableEntityError} When validation fails\n\t */\n\tstatic async parseSchema<T extends StandardSchemaV1>(\n\t\tschema: T,\n\t\tdata: unknown,\n\t): Promise<InferStandardSchema<T>> {\n\t\ttry {\n\t\t\treturn await parseSchema(schema, data);\n\t\t} catch (issues) {\n\t\t\tthrow new UnprocessableEntityError('Validation failed', issues);\n\t\t}\n\t}\n\n\t/**\n\t * Parses and validates the endpoint output against the output schema.\n\t *\n\t * @param output - The raw output data to validate\n\t * @returns The validated output data\n\t * @throws {UnprocessableEntityError} When output validation fails\n\t */\n\tasync parseOutput(output: unknown): Promise<InferStandardSchema<OutSchema>> {\n\t\treturn Function.parseSchema(\n\t\t\tthis.outputSchema as StandardSchemaV1,\n\t\t\toutput,\n\t\t) as Promise<InferStandardSchema<OutSchema>>;\n\t}\n\n\tconstructor(\n\t\tpublic readonly fn: Fn,\n\t\ttimeout = 30000, // Default timeout of 30 seconds\n\t\ttype: ConstructType = ConstructType.Function,\n\t\tpublic input?: TInput,\n\t\toutputSchema?: OutSchema,\n\t\tservices: TServices = [] as unknown as TServices,\n\t\tlogger: TLogger = DEFAULT_LOGGER,\n\t\tpublisherService?: Service<TEventPublisherServiceName, TEventPublisher>,\n\t\tevents: MappedEvent<TEventPublisher, OutSchema>[] = [],\n\t\tmemorySize?: number,\n\t\tauditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>,\n\t\tpublic override databaseService?: Service<TDatabaseServiceName, TDatabase>,\n\t) {\n\t\tsuper(\n\t\t\ttype,\n\t\t\tlogger,\n\t\t\tservices,\n\t\t\tevents,\n\t\t\tpublisherService,\n\t\t\toutputSchema,\n\t\t\ttimeout,\n\t\t\tmemorySize,\n\t\t\tauditorStorageService,\n\t\t);\n\t}\n}\n\nexport type FunctionHandler<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = (\n\tctx: FunctionContext<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n) => OutSchema extends StandardSchemaV1\n\t? InferStandardSchema<OutSchema> | Promise<InferStandardSchema<OutSchema>>\n\t: any | Promise<any>;\n\n/**\n * Conditional type that adds `db` property only when TDatabase is configured.\n */\ntype DatabaseContext<TDatabase> = TDatabase extends undefined\n\t? {}\n\t: { db: TDatabase };\n\n/**\n * Conditional auditor context - only present when audit storage is configured.\n */\ntype AuditorContext<\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tTAuditStorage = undefined,\n> = TAuditStorage extends undefined\n\t? {}\n\t: {\n\t\t\t/**\n\t\t\t * Auditor instance for recording audit events.\n\t\t\t * Only present when audit storage is configured on the function.\n\t\t\t */\n\t\t\tauditor: Auditor<TAuditAction>;\n\t\t};\n\nexport type FunctionContext<\n\tInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = {\n\tservices: ServiceRecord<TServices>;\n\tlogger: TLogger;\n\tinput: InferComposableStandardSchema<Input>;\n} & DatabaseContext<TDatabase> &\n\tAuditorContext<TAuditAction, TAuditStorage>;\n"],"mappings":";;;;;;;;AAgBA,MAAM,iBAAiB,IAAIA;AAE3B,IAAa,kBAAb,MAAa,gBAGX;CACD,AAAQ;CACR,YACCC,iBACQC,gBAAyB,gBAChC;EADO;AAGR,OAAK,kBAAkB,2BACtB,iBACA,CAAC,MAAM,EAAE,YACT;CACD;CAGD,SACCC,UACiD;AACjD,SAAO,IAAI,gBACV,CAAC,GAAG,UAAU,GAAG,KAAK,eAAgB,GACtC,KAAK;CAEN;CAED,OAAyBC,QAA0C;AAClE,SAAO,IAAI,gBAA8B,KAAK,iBAAiB;CAC/D;AACD;AAED,IAAa,WAAb,MAAa,iBAgCHC,4BAQR;CACD,kBAAkB;CAElB,OAAO,WAAWC,KAAoD;AACrE,SAAO,QACN,OACC,IAAI,oBAAoB,QACxB,IAAI,SAASC,gCAAc,SAC5B;CACD;;;;;;;;CASD,OAAO,SAAqCC,QAAWC,MAAe;AACrE,SAAO,OAAO,aAAa,SAAS,KAAK;CACzC;;;;;;;;;CAUD,aAAa,YACZD,QACAC,MACkC;AAClC,MAAI;AACH,UAAO,MAAM,2CAAY,QAAQ,KAAK;EACtC,SAAQ,QAAQ;AAChB,SAAM,IAAIC,4CAAyB,qBAAqB;EACxD;CACD;;;;;;;;CASD,MAAM,YAAYC,QAA0D;AAC3E,SAAO,SAAS,YACf,KAAK,cACL,OACA;CACD;CAED,YACiBC,IAChB,UAAU,KACVC,OAAsBN,gCAAc,UAC7BO,OACPC,cACAC,WAAsB,CAAE,GACxBC,SAAkB,gBAClBC,kBACAC,SAAoD,CAAE,GACtDC,YACAC,uBACgBC,iBACf;AACD,QACC,MACA,QACA,UACA,QACA,kBACA,cACA,SACA,YACA,sBACA;EAvBe;EAGT;EAQS;CAahB;AACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Function-xfQbftdE.mjs","names":["DEFAULT_LOGGER","defaultServices: TServices","defaultLogger: TLogger","services: S","logger: L","obj: any","schema: T","data: unknown","output: unknown","fn: Fn","type: ConstructType","input?: TInput","outputSchema?: OutSchema","services: TServices","logger: TLogger","publisherService?: Service<TEventPublisherServiceName, TEventPublisher>","events: MappedEvent<TEventPublisher, OutSchema>[]","memorySize?: number","auditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>","databaseService?: Service<TDatabaseServiceName, TDatabase>"],"sources":["../src/functions/Function.ts"],"sourcesContent":["import type { AuditableAction, Auditor, AuditStorage } from '@geekmidas/audit';\nimport { UnprocessableEntityError } from '@geekmidas/errors';\nimport type { EventPublisher, MappedEvent } from '@geekmidas/events';\nimport type { Logger } from '@geekmidas/logger';\nimport { ConsoleLogger } from '@geekmidas/logger/console';\nimport type {\n\tComposableStandardSchema,\n\tInferComposableStandardSchema,\n\tInferStandardSchema,\n} from '@geekmidas/schema';\nimport { parseSchema } from '@geekmidas/schema/parser';\nimport type { Service, ServiceRecord } from '@geekmidas/services';\nimport type { StandardSchemaV1 } from '@standard-schema/spec';\nimport uniqBy from 'lodash.uniqby';\nimport { Construct, ConstructType } from '../Construct';\n\nconst DEFAULT_LOGGER = new ConsoleLogger() as any;\n\nexport class FunctionFactory<\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n> {\n\tprivate defaultServices: TServices;\n\tconstructor(\n\t\tdefaultServices: TServices,\n\t\tprivate defaultLogger: TLogger = DEFAULT_LOGGER,\n\t) {\n\t\t// Initialize default services\n\t\tthis.defaultServices = uniqBy(\n\t\t\tdefaultServices,\n\t\t\t(s) => s.serviceName,\n\t\t) as TServices;\n\t}\n\n\t// Create a new factory with services\n\tservices<S extends Service[]>(\n\t\tservices: S,\n\t): FunctionFactory<[...S, ...TServices], TLogger> {\n\t\treturn new FunctionFactory<[...S, ...TServices], TLogger>(\n\t\t\t[...services, ...this.defaultServices],\n\t\t\tthis.defaultLogger,\n\t\t);\n\t}\n\n\tlogger<L extends Logger>(logger: L): FunctionFactory<TServices, L> {\n\t\treturn new FunctionFactory<TServices, L>(this.defaultServices, logger);\n\t}\n}\n\nexport class Function<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTEventPublisher extends EventPublisher<any> | undefined = undefined,\n\tTEventPublisherServiceName extends string = string,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditStorageServiceName extends string = string,\n\tTDatabase = undefined,\n\tTDatabaseServiceName extends string = string,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tFn extends FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t> = FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n> extends Construct<\n\tTLogger,\n\tTEventPublisherServiceName,\n\tTEventPublisher,\n\tOutSchema,\n\tTServices,\n\tTAuditStorageServiceName,\n\tTAuditStorage\n> {\n\t__IS_FUNCTION__ = true;\n\n\tstatic isFunction(obj: any): obj is Function<any, any, any, any, any> {\n\t\treturn Boolean(\n\t\t\tobj &&\n\t\t\t\tobj.__IS_FUNCTION__ === true &&\n\t\t\t\tobj.type === ConstructType.Function,\n\t\t);\n\t}\n\n\t/**\n\t * Validates data against a StandardSchema.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to validate\n\t * @returns Validation result with value or issues\n\t */\n\tstatic validate<T extends StandardSchemaV1>(schema: T, data: unknown) {\n\t\treturn schema['~standard'].validate(data);\n\t}\n\n\t/**\n\t * Parses and validates data against a schema, throwing an error if validation fails.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to parse and validate\n\t * @returns The validated data with proper typing\n\t * @throws {UnprocessableEntityError} When validation fails\n\t */\n\tstatic async parseSchema<T extends StandardSchemaV1>(\n\t\tschema: T,\n\t\tdata: unknown,\n\t): Promise<InferStandardSchema<T>> {\n\t\ttry {\n\t\t\treturn await parseSchema(schema, data);\n\t\t} catch (issues) {\n\t\t\tthrow new UnprocessableEntityError('Validation failed', issues);\n\t\t}\n\t}\n\n\t/**\n\t * Parses and validates the endpoint output against the output schema.\n\t *\n\t * @param output - The raw output data to validate\n\t * @returns The validated output data\n\t * @throws {UnprocessableEntityError} When output validation fails\n\t */\n\tasync parseOutput(output: unknown): Promise<InferStandardSchema<OutSchema>> {\n\t\treturn Function.parseSchema(\n\t\t\tthis.outputSchema as StandardSchemaV1,\n\t\t\toutput,\n\t\t) as Promise<InferStandardSchema<OutSchema>>;\n\t}\n\n\tconstructor(\n\t\tpublic readonly fn: Fn,\n\t\ttimeout = 30000, // Default timeout of 30 seconds\n\t\ttype: ConstructType = ConstructType.Function,\n\t\tpublic input?: TInput,\n\t\toutputSchema?: OutSchema,\n\t\tservices: TServices = [] as unknown as TServices,\n\t\tlogger: TLogger = DEFAULT_LOGGER,\n\t\tpublisherService?: Service<TEventPublisherServiceName, TEventPublisher>,\n\t\tevents: MappedEvent<TEventPublisher, OutSchema>[] = [],\n\t\tmemorySize?: number,\n\t\tauditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>,\n\t\tpublic databaseService?: Service<TDatabaseServiceName, TDatabase>,\n\t) {\n\t\tsuper(\n\t\t\ttype,\n\t\t\tlogger,\n\t\t\tservices,\n\t\t\tevents,\n\t\t\tpublisherService,\n\t\t\toutputSchema,\n\t\t\ttimeout,\n\t\t\tmemorySize,\n\t\t\tauditorStorageService,\n\t\t);\n\t}\n}\n\nexport type FunctionHandler<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = (\n\tctx: FunctionContext<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n) => OutSchema extends StandardSchemaV1\n\t? InferStandardSchema<OutSchema> | Promise<InferStandardSchema<OutSchema>>\n\t: any | Promise<any>;\n\n/**\n * Conditional type that adds `db` property only when TDatabase is configured.\n */\ntype DatabaseContext<TDatabase> = TDatabase extends undefined\n\t? {}\n\t: { db: TDatabase };\n\n/**\n * Conditional auditor context - only present when audit storage is configured.\n */\ntype AuditorContext<\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tTAuditStorage = undefined,\n> = TAuditStorage extends undefined\n\t? {}\n\t: {\n\t\t\t/**\n\t\t\t * Auditor instance for recording audit events.\n\t\t\t * Only present when audit storage is configured on the function.\n\t\t\t */\n\t\t\tauditor: Auditor<TAuditAction>;\n\t\t};\n\nexport type FunctionContext<\n\tInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = {\n\tservices: ServiceRecord<TServices>;\n\tlogger: TLogger;\n\tinput: InferComposableStandardSchema<Input>;\n} & DatabaseContext<TDatabase> &\n\tAuditorContext<TAuditAction, TAuditStorage>;\n"],"mappings":";;;;;;;AAgBA,MAAMA,mBAAiB,IAAI;AAE3B,IAAa,kBAAb,MAAa,gBAGX;CACD,AAAQ;CACR,YACCC,iBACQC,gBAAyBF,kBAChC;EADO;AAGR,OAAK,kBAAkB,OACtB,iBACA,CAAC,MAAM,EAAE,YACT;CACD;CAGD,SACCG,UACiD;AACjD,SAAO,IAAI,gBACV,CAAC,GAAG,UAAU,GAAG,KAAK,eAAgB,GACtC,KAAK;CAEN;CAED,OAAyBC,QAA0C;AAClE,SAAO,IAAI,gBAA8B,KAAK,iBAAiB;CAC/D;AACD;AAED,IAAa,WAAb,MAAa,iBAgCH,UAQR;CACD,kBAAkB;CAElB,OAAO,WAAWC,KAAoD;AACrE,SAAO,QACN,OACC,IAAI,oBAAoB,QACxB,IAAI,SAAS,cAAc,SAC5B;CACD;;;;;;;;CASD,OAAO,SAAqCC,QAAWC,MAAe;AACrE,SAAO,OAAO,aAAa,SAAS,KAAK;CACzC;;;;;;;;;CAUD,aAAa,YACZD,QACAC,MACkC;AAClC,MAAI;AACH,UAAO,MAAM,YAAY,QAAQ,KAAK;EACtC,SAAQ,QAAQ;AAChB,SAAM,IAAI,yBAAyB,qBAAqB;EACxD;CACD;;;;;;;;CASD,MAAM,YAAYC,QAA0D;AAC3E,SAAO,SAAS,YACf,KAAK,cACL,OACA;CACD;CAED,YACiBC,IAChB,UAAU,KACVC,OAAsB,cAAc,UAC7BC,OACPC,cACAC,WAAsB,CAAE,GACxBC,SAAkBd,kBAClBe,kBACAC,SAAoD,CAAE,GACtDC,YACAC,
|
|
1
|
+
{"version":3,"file":"Function-xfQbftdE.mjs","names":["DEFAULT_LOGGER","defaultServices: TServices","defaultLogger: TLogger","services: S","logger: L","obj: any","schema: T","data: unknown","output: unknown","fn: Fn","type: ConstructType","input?: TInput","outputSchema?: OutSchema","services: TServices","logger: TLogger","publisherService?: Service<TEventPublisherServiceName, TEventPublisher>","events: MappedEvent<TEventPublisher, OutSchema>[]","memorySize?: number","auditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>","databaseService?: Service<TDatabaseServiceName, TDatabase>"],"sources":["../src/functions/Function.ts"],"sourcesContent":["import type { AuditableAction, Auditor, AuditStorage } from '@geekmidas/audit';\nimport { UnprocessableEntityError } from '@geekmidas/errors';\nimport type { EventPublisher, MappedEvent } from '@geekmidas/events';\nimport type { Logger } from '@geekmidas/logger';\nimport { ConsoleLogger } from '@geekmidas/logger/console';\nimport type {\n\tComposableStandardSchema,\n\tInferComposableStandardSchema,\n\tInferStandardSchema,\n} from '@geekmidas/schema';\nimport { parseSchema } from '@geekmidas/schema/parser';\nimport type { Service, ServiceRecord } from '@geekmidas/services';\nimport type { StandardSchemaV1 } from '@standard-schema/spec';\nimport uniqBy from 'lodash.uniqby';\nimport { Construct, ConstructType } from '../Construct';\n\nconst DEFAULT_LOGGER = new ConsoleLogger() as any;\n\nexport class FunctionFactory<\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n> {\n\tprivate defaultServices: TServices;\n\tconstructor(\n\t\tdefaultServices: TServices,\n\t\tprivate defaultLogger: TLogger = DEFAULT_LOGGER,\n\t) {\n\t\t// Initialize default services\n\t\tthis.defaultServices = uniqBy(\n\t\t\tdefaultServices,\n\t\t\t(s) => s.serviceName,\n\t\t) as TServices;\n\t}\n\n\t// Create a new factory with services\n\tservices<S extends Service[]>(\n\t\tservices: S,\n\t): FunctionFactory<[...S, ...TServices], TLogger> {\n\t\treturn new FunctionFactory<[...S, ...TServices], TLogger>(\n\t\t\t[...services, ...this.defaultServices],\n\t\t\tthis.defaultLogger,\n\t\t);\n\t}\n\n\tlogger<L extends Logger>(logger: L): FunctionFactory<TServices, L> {\n\t\treturn new FunctionFactory<TServices, L>(this.defaultServices, logger);\n\t}\n}\n\nexport class Function<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTEventPublisher extends EventPublisher<any> | undefined = undefined,\n\tTEventPublisherServiceName extends string = string,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditStorageServiceName extends string = string,\n\tTDatabase = undefined,\n\tTDatabaseServiceName extends string = string,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tFn extends FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t> = FunctionHandler<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tOutSchema,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n> extends Construct<\n\tTLogger,\n\tTEventPublisherServiceName,\n\tTEventPublisher,\n\tOutSchema,\n\tTServices,\n\tTAuditStorageServiceName,\n\tTAuditStorage\n> {\n\t__IS_FUNCTION__ = true;\n\n\tstatic isFunction(obj: any): obj is Function<any, any, any, any, any> {\n\t\treturn Boolean(\n\t\t\tobj &&\n\t\t\t\tobj.__IS_FUNCTION__ === true &&\n\t\t\t\tobj.type === ConstructType.Function,\n\t\t);\n\t}\n\n\t/**\n\t * Validates data against a StandardSchema.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to validate\n\t * @returns Validation result with value or issues\n\t */\n\tstatic validate<T extends StandardSchemaV1>(schema: T, data: unknown) {\n\t\treturn schema['~standard'].validate(data);\n\t}\n\n\t/**\n\t * Parses and validates data against a schema, throwing an error if validation fails.\n\t *\n\t * @param schema - The StandardSchema to validate against\n\t * @param data - The data to parse and validate\n\t * @returns The validated data with proper typing\n\t * @throws {UnprocessableEntityError} When validation fails\n\t */\n\tstatic async parseSchema<T extends StandardSchemaV1>(\n\t\tschema: T,\n\t\tdata: unknown,\n\t): Promise<InferStandardSchema<T>> {\n\t\ttry {\n\t\t\treturn await parseSchema(schema, data);\n\t\t} catch (issues) {\n\t\t\tthrow new UnprocessableEntityError('Validation failed', issues);\n\t\t}\n\t}\n\n\t/**\n\t * Parses and validates the endpoint output against the output schema.\n\t *\n\t * @param output - The raw output data to validate\n\t * @returns The validated output data\n\t * @throws {UnprocessableEntityError} When output validation fails\n\t */\n\tasync parseOutput(output: unknown): Promise<InferStandardSchema<OutSchema>> {\n\t\treturn Function.parseSchema(\n\t\t\tthis.outputSchema as StandardSchemaV1,\n\t\t\toutput,\n\t\t) as Promise<InferStandardSchema<OutSchema>>;\n\t}\n\n\tconstructor(\n\t\tpublic readonly fn: Fn,\n\t\ttimeout = 30000, // Default timeout of 30 seconds\n\t\ttype: ConstructType = ConstructType.Function,\n\t\tpublic input?: TInput,\n\t\toutputSchema?: OutSchema,\n\t\tservices: TServices = [] as unknown as TServices,\n\t\tlogger: TLogger = DEFAULT_LOGGER,\n\t\tpublisherService?: Service<TEventPublisherServiceName, TEventPublisher>,\n\t\tevents: MappedEvent<TEventPublisher, OutSchema>[] = [],\n\t\tmemorySize?: number,\n\t\tauditorStorageService?: Service<TAuditStorageServiceName, TAuditStorage>,\n\t\tpublic override databaseService?: Service<TDatabaseServiceName, TDatabase>,\n\t) {\n\t\tsuper(\n\t\t\ttype,\n\t\t\tlogger,\n\t\t\tservices,\n\t\t\tevents,\n\t\t\tpublisherService,\n\t\t\toutputSchema,\n\t\t\ttimeout,\n\t\t\tmemorySize,\n\t\t\tauditorStorageService,\n\t\t);\n\t}\n}\n\nexport type FunctionHandler<\n\tTInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tOutSchema extends StandardSchemaV1 | undefined = undefined,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = (\n\tctx: FunctionContext<\n\t\tTInput,\n\t\tTServices,\n\t\tTLogger,\n\t\tTDatabase,\n\t\tTAuditStorage,\n\t\tTAuditAction\n\t>,\n) => OutSchema extends StandardSchemaV1\n\t? InferStandardSchema<OutSchema> | Promise<InferStandardSchema<OutSchema>>\n\t: any | Promise<any>;\n\n/**\n * Conditional type that adds `db` property only when TDatabase is configured.\n */\ntype DatabaseContext<TDatabase> = TDatabase extends undefined\n\t? {}\n\t: { db: TDatabase };\n\n/**\n * Conditional auditor context - only present when audit storage is configured.\n */\ntype AuditorContext<\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n\tTAuditStorage = undefined,\n> = TAuditStorage extends undefined\n\t? {}\n\t: {\n\t\t\t/**\n\t\t\t * Auditor instance for recording audit events.\n\t\t\t * Only present when audit storage is configured on the function.\n\t\t\t */\n\t\t\tauditor: Auditor<TAuditAction>;\n\t\t};\n\nexport type FunctionContext<\n\tInput extends ComposableStandardSchema | undefined = undefined,\n\tTServices extends Service[] = [],\n\tTLogger extends Logger = Logger,\n\tTDatabase = undefined,\n\tTAuditStorage extends AuditStorage | undefined = undefined,\n\tTAuditAction extends AuditableAction<string, unknown> = AuditableAction<\n\t\tstring,\n\t\tunknown\n\t>,\n> = {\n\tservices: ServiceRecord<TServices>;\n\tlogger: TLogger;\n\tinput: InferComposableStandardSchema<Input>;\n} & DatabaseContext<TDatabase> &\n\tAuditorContext<TAuditAction, TAuditStorage>;\n"],"mappings":";;;;;;;AAgBA,MAAMA,mBAAiB,IAAI;AAE3B,IAAa,kBAAb,MAAa,gBAGX;CACD,AAAQ;CACR,YACCC,iBACQC,gBAAyBF,kBAChC;EADO;AAGR,OAAK,kBAAkB,OACtB,iBACA,CAAC,MAAM,EAAE,YACT;CACD;CAGD,SACCG,UACiD;AACjD,SAAO,IAAI,gBACV,CAAC,GAAG,UAAU,GAAG,KAAK,eAAgB,GACtC,KAAK;CAEN;CAED,OAAyBC,QAA0C;AAClE,SAAO,IAAI,gBAA8B,KAAK,iBAAiB;CAC/D;AACD;AAED,IAAa,WAAb,MAAa,iBAgCH,UAQR;CACD,kBAAkB;CAElB,OAAO,WAAWC,KAAoD;AACrE,SAAO,QACN,OACC,IAAI,oBAAoB,QACxB,IAAI,SAAS,cAAc,SAC5B;CACD;;;;;;;;CASD,OAAO,SAAqCC,QAAWC,MAAe;AACrE,SAAO,OAAO,aAAa,SAAS,KAAK;CACzC;;;;;;;;;CAUD,aAAa,YACZD,QACAC,MACkC;AAClC,MAAI;AACH,UAAO,MAAM,YAAY,QAAQ,KAAK;EACtC,SAAQ,QAAQ;AAChB,SAAM,IAAI,yBAAyB,qBAAqB;EACxD;CACD;;;;;;;;CASD,MAAM,YAAYC,QAA0D;AAC3E,SAAO,SAAS,YACf,KAAK,cACL,OACA;CACD;CAED,YACiBC,IAChB,UAAU,KACVC,OAAsB,cAAc,UAC7BC,OACPC,cACAC,WAAsB,CAAE,GACxBC,SAAkBd,kBAClBe,kBACAC,SAAoD,CAAE,GACtDC,YACAC,uBACgBC,iBACf;AACD,QACC,MACA,QACA,UACA,QACA,kBACA,cACA,SACA,YACA,sBACA;EAvBe;EAGT;EAQS;CAahB;AACD"}
|
|
@@ -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_types0 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_types0.BlankEnv, hono_types0.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-BNHGwpvZ.d.cts.map
|
package/dist/{HonoEndpointAdaptor-C8fXczC4.d.cts.map → HonoEndpointAdaptor-BNHGwpvZ.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HonoEndpointAdaptor-
|
|
1
|
+
{"version":3,"file":"HonoEndpointAdaptor-BNHGwpvZ.d.cts","names":[],"sources":["../src/endpoints/HonoEndpointAdaptor.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;UAqCiB,mBAAA;;;AAAjB;AAqEA;;EAAyB,QAER,CAAA,EAAA,MAAA,GAAA,KAAA;EAAU;;;EAGD,cACT,CAAA,EAAA;IAAS,KAAA,CAAA,EAAA,MAAA;IAED,OAAA,CAAA,EAAA,MAAA;IAEF,WAAA,CAAA,EAAA,MAAA;EAAY,CAAA;;AAWhC,cArBU,YAqBV,CAAA,eAAA,MAAA,EAAA,gBAnBc,UAmBd,EAAA,eAlBa,eAkBb,GAAA,CAAA,CAAA,EAAA,mBAjBiB,gBAiBjB,GAAA,SAAA,GAAA,SAAA,EAAA,kBAhBgB,OAgBhB,EAAA,GAAA,EAAA,EAAA,gBAfc,MAed,GAfuB,MAevB,EAAA,WAAA,OAAA,EAAA,wBAbsB,cAatB,CAAA,GAAA,CAAA,GAAA,SAAA,GAAA,SAAA,EAAA,mCAAA,MAAA,GAAA,MAAA,EAAA,sBAXoB,YAWpB,GAA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tK0B,EAuK1B,wBAvK0B,EAwK1B,YAxK0B,EAyK1B,SAzK0B,EA0K1B,oBA1K0B,CAAA,EAAA,gBAAA,EA4KT,gBA5KS,CA4KQ,aA5KR,CA4KsB,SA5KtB,CAAA,CAAA,EAAA,GAAA,EA6KtB,IA7KsB,CAAA,EAAA,IAAA;EAAQ,OAoBJ,YAAA,CAAA,kBA0db,OA1da,EAAA,GAAA,EAAA,EAAA,gBA2df,MA3de,GA2dN,MA3dM,CAAA,CAAA,SAAA,EA6dpB,QA7doB,CAAA,MAAA,EA6dH,UA7dG,EAAA,GAAA,EAAA,GAAA,EA6dmB,SA7dnB,EA6d8B,OA7d9B,CAAA,EAAA,EAAA,GAAA,EA8d1B,IA9d0B,EAAA,QAAA,EAAA,MAAA,EAAA,cAAA,CAAA,EAged,mBAhec,CAAA,gBAAA,CAAA,CAAA,EAAA,IAAA"}
|
|
@@ -7,7 +7,7 @@ import { EnvironmentParser } from "@geekmidas/envkit";
|
|
|
7
7
|
import { EventPublisher } from "@geekmidas/events";
|
|
8
8
|
import { Logger } from "@geekmidas/logger";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
|
-
import * as
|
|
10
|
+
import * as hono_types6 from "hono/types";
|
|
11
11
|
|
|
12
12
|
//#region src/endpoints/HonoEndpointAdaptor.d.ts
|
|
13
13
|
interface HonoEndpointOptions {
|
|
@@ -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_types6.BlankEnv, hono_types6.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-BbnZe3hb.d.mts.map
|
package/dist/{HonoEndpointAdaptor-xNOg1bAE.d.mts.map → HonoEndpointAdaptor-BbnZe3hb.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HonoEndpointAdaptor-
|
|
1
|
+
{"version":3,"file":"HonoEndpointAdaptor-BbnZe3hb.d.mts","names":[],"sources":["../src/endpoints/HonoEndpointAdaptor.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;UAqCiB,mBAAA;;;AAAjB;AAqEA;;EAAyB,QAER,CAAA,EAAA,MAAA,GAAA,KAAA;EAAU;;;EAGD,cACT,CAAA,EAAA;IAAS,KAAA,CAAA,EAAA,MAAA;IAED,OAAA,CAAA,EAAA,MAAA;IAEF,WAAA,CAAA,EAAA,MAAA;EAAY,CAAA;;AAWhC,cArBU,YAqBV,CAAA,eAAA,MAAA,EAAA,gBAnBc,UAmBd,EAAA,eAlBa,eAkBb,GAAA,CAAA,CAAA,EAAA,mBAjBiB,gBAiBjB,GAAA,SAAA,GAAA,SAAA,EAAA,kBAhBgB,OAgBhB,EAAA,GAAA,EAAA,EAAA,gBAfc,MAed,GAfuB,MAevB,EAAA,WAAA,OAAA,EAAA,wBAbsB,cAatB,CAAA,GAAA,CAAA,GAAA,SAAA,GAAA,SAAA,EAAA,mCAAA,MAAA,GAAA,MAAA,EAAA,sBAXoB,YAWpB,GAAA,SAAA,GAAA,SAAA,EAAA,iCAAA,MAAA,GAAA,MAAA,EAAA,qBATmB,eASnB,CAAA,MAAA,EAAA,OAAA,CAAA,GATsD,eAStD,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,YAAA,SAAA,EAAA,6BAAA,MAAA,GAAA,MAAA,CAAA,CAAA;EAAM,iBACN,QAAA;EAAO,WACP,CAAA,QAAA,EAH0B,QAG1B,CAFA,MAEA,EADA,OACA,EAAA,MAAA,EACA,UADA,EAEA,SAFA,EAGA,OAHA,EAIA,QAJA,EAKA,eALA,EAMA,0BANA,EAOA,aAPA,EAQA,wBARA,EASA,YATA,EAUA,SAVA,EAWA,oBAXA,CAAA;EAAM,OACN,KAAA,EAAA,OAAA;EAAU,OACV,QAAA,CAAA,UAe8B,gBAf9B,CAAA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,mBAhec,CAAA,gBAAA,CAAA,CAAA,EAAA,IAAA"}
|
package/dist/adaptors/aws.d.mts
CHANGED
|
@@ -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-DHGtpWKA.mjs";
|
|
8
8
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
9
9
|
import "../Endpoint-DU20A9E8.mjs";
|
|
10
10
|
import "../AmazonApiGatewayEndpointAdaptor-DRG4hu-k.mjs";
|
package/dist/adaptors/hono.d.cts
CHANGED
|
@@ -6,5 +6,5 @@ import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
|
6
6
|
import "../index-BRbGNZpa.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
|
-
import { HonoEndpoint } from "../HonoEndpointAdaptor-
|
|
9
|
+
import { HonoEndpoint } from "../HonoEndpointAdaptor-BNHGwpvZ.cjs";
|
|
10
10
|
export { HonoEndpoint };
|
package/dist/adaptors/hono.d.mts
CHANGED
|
@@ -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-DHGtpWKA.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
|
-
import { HonoEndpoint } from "../HonoEndpointAdaptor-
|
|
9
|
+
import { HonoEndpoint } from "../HonoEndpointAdaptor-BbnZe3hb.mjs";
|
|
10
10
|
export { HonoEndpoint };
|
|
@@ -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-DHGtpWKA.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { TestEndpointAdaptor } from "../TestEndpointAdaptor-oWNADEl4.mjs";
|
package/dist/crons/Cron.d.mts
CHANGED
|
@@ -2,6 +2,6 @@ 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-DHGtpWKA.mjs";
|
|
6
6
|
import { Cron, CronExpression, RateExpression, ScheduleExpression } from "../Cron-BjNvt_Wj.mjs";
|
|
7
7
|
export { Cron, CronExpression, RateExpression, ScheduleExpression };
|
|
@@ -2,7 +2,7 @@ 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-DHGtpWKA.mjs";
|
|
6
6
|
import "../Cron-BjNvt_Wj.mjs";
|
|
7
7
|
import { CronBuilder } from "../CronBuilder-X4au0zTu.mjs";
|
|
8
8
|
export { CronBuilder };
|
package/dist/crons/index.d.cts
CHANGED
|
@@ -5,12 +5,12 @@ import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
|
5
5
|
import "../index-BRbGNZpa.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_logger6 from "@geekmidas/logger";
|
|
9
|
+
import * as _geekmidas_services5 from "@geekmidas/services";
|
|
10
|
+
import * as _geekmidas_schema4 from "@geekmidas/schema";
|
|
11
11
|
|
|
12
12
|
//#region src/crons/index.d.ts
|
|
13
|
-
declare const c: CronBuilder<
|
|
13
|
+
declare const c: CronBuilder<_geekmidas_schema4.ComposableStandardSchema, _geekmidas_services5.Service<string, unknown>[], _geekmidas_logger6.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-DHGtpWKA.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
|
|
@@ -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-DHGtpWKA.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-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-DHGtpWKA.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-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-DHGtpWKA.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-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-DHGtpWKA.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-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-DHGtpWKA.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { EndpointBuilder } from "../EndpointBuilder-CuVlda7g.mjs";
|
|
@@ -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-DHGtpWKA.mjs";
|
|
7
7
|
import { SecurityScheme } from "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import "../EndpointBuilder-CuVlda7g.mjs";
|
|
@@ -6,5 +6,5 @@ import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
|
6
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-BNHGwpvZ.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-DHGtpWKA.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-BbnZe3hb.mjs";
|
|
10
10
|
export { HonoEndpoint, HonoEndpointOptions };
|
|
@@ -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-DHGtpWKA.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-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-DHGtpWKA.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-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-DHGtpWKA.mjs";
|
|
7
7
|
import "../Authorizer-DCcYOx3h.mjs";
|
|
8
8
|
import { Endpoint } from "../Endpoint-DU20A9E8.mjs";
|
|
9
9
|
import { Service } from "@geekmidas/services";
|
|
@@ -10,10 +10,10 @@ 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_logger2 from "@geekmidas/logger";
|
|
14
14
|
|
|
15
15
|
//#region src/endpoints/index.d.ts
|
|
16
|
-
declare const e: EndpointFactory<[], "",
|
|
16
|
+
declare const e: EndpointFactory<[], "", _geekmidas_logger2.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-DHGtpWKA.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_logger8 from "@geekmidas/logger";
|
|
14
14
|
|
|
15
15
|
//#region src/endpoints/index.d.ts
|
|
16
|
-
declare const e: EndpointFactory<[], "",
|
|
16
|
+
declare const e: EndpointFactory<[], "", _geekmidas_logger8.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-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-DHGtpWKA.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-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-DHGtpWKA.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.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-DHGtpWKA.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-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-DHGtpWKA.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_audit5 from "@geekmidas/audit";
|
|
3
|
+
import * as _geekmidas_logger4 from "@geekmidas/logger";
|
|
4
|
+
import * as _geekmidas_schema3 from "@geekmidas/schema";
|
|
5
|
+
|
|
6
|
+
//#region src/functions/index.d.ts
|
|
7
|
+
declare const f: FunctionBuilder<_geekmidas_schema3.ComposableStandardSchema, undefined, [], _geekmidas_logger4.Logger, undefined, string, undefined, string, undefined, string, _geekmidas_audit5.AuditableAction<string, unknown>>;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { f };
|
|
12
|
+
//# sourceMappingURL=index-DHGtpWKA.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DHGtpWKA.d.mts","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-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"}
|