lakutata 2.0.56 → 2.0.57

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.
@@ -202,6 +202,8 @@ require("../src/lib/helpers/UniqueArray.cjs");
202
202
 
203
203
  require("../src/components/entrypoint/lib/AccessControl.cjs");
204
204
 
205
+ require("../src/components/entrypoint/exceptions/InvalidActionGroupException.cjs");
206
+
205
207
  require("node:http");
206
208
 
207
209
  exports.BuildCLIEntrypoint = e.BuildCLIEntrypoint;
@@ -1,5 +1,5 @@
1
1
  import '../vendor/TypeDef.2.js';
2
- export { w as AccessControlRule, A as AccessControlRuleHandler, B as BaseActionInfo, q as BaseContext, k as BuildCLIEntrypoint, n as BuildEntrypoints, l as BuildHTTPEntrypoint, m as BuildServiceEntrypoint, j as CLIActionInfo, r as CLIContext, C as CLIEntrypoint, c as CLIEntrypointHandler, a as CLIMap, p as ContextType, v as Controller, u as ControllerProperty, o as Entrypoint, E as EntrypointDestroyer, f as EntrypointDestroyerRegistrar, g as EntrypointOptions, h as HTTPActionInfo, s as HTTPContext, H as HTTPEntrypoint, d as HTTPEntrypointHandler, b as HTTPRouteMap, i as ServiceActionInfo, t as ServiceContext, S as ServiceEntrypoint, e as ServiceEntrypointHandler } from '../vendor/TypeDef.13.js';
2
+ export { y as AccessControlRule, x as AccessControlRuleHandler, A as ActionGroupInfo, B as BaseActionInfo, r as BaseContext, l as BuildCLIEntrypoint, o as BuildEntrypoints, m as BuildHTTPEntrypoint, n as BuildServiceEntrypoint, j as CLIActionInfo, s as CLIContext, C as CLIEntrypoint, c as CLIEntrypointHandler, a as CLIMap, q as ContextType, w as Controller, v as ControllerProperty, p as Entrypoint, k as EntrypointActions, E as EntrypointDestroyer, f as EntrypointDestroyerRegistrar, g as EntrypointOptions, h as HTTPActionInfo, t as HTTPContext, H as HTTPEntrypoint, d as HTTPEntrypointHandler, b as HTTPRouteMap, i as ServiceActionInfo, u as ServiceContext, S as ServiceEntrypoint, e as ServiceEntrypointHandler } from '../vendor/TypeDef.13.js';
3
3
  import { E as Exception } from '../vendor/TypeDef.7.js';
4
4
  import '../vendor/TypeDef.3.js';
5
5
  import '../vendor/TypeDef.5.js';
@@ -196,4 +196,6 @@ import "../src/lib/helpers/UniqueArray.mjs";
196
196
 
197
197
  import "../src/components/entrypoint/lib/AccessControl.mjs";
198
198
 
199
+ import "../src/components/entrypoint/exceptions/InvalidActionGroupException.mjs";
200
+
199
201
  import "node:http";
@@ -1,5 +1,5 @@
1
1
  import '../vendor/TypeDef.2.js';
2
- import { q as BaseContext, A as AccessControlRuleHandler, v as Controller, u as ControllerProperty, r as CLIContext, s as HTTPContext, t as ServiceContext } from '../vendor/TypeDef.13.js';
2
+ import { r as BaseContext, x as AccessControlRuleHandler, w as Controller, v as ControllerProperty, s as CLIContext, t as HTTPContext, u as ServiceContext } from '../vendor/TypeDef.13.js';
3
3
  import { M as MethodDecorator } from '../vendor/TypeDef.8.js';
4
4
  import { D as DTO } from '../vendor/TypeDef.5.js';
5
5
  import { A as ActionPattern } from '../vendor/TypeDef.10.js';
@@ -126,30 +126,37 @@ declare function HTTPAction<ClassPrototype extends Controller, Method, DTOConstr
126
126
 
127
127
  declare function DELETE<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
128
128
  declare function DELETE<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
129
+ declare function DELETE<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
129
130
  declare function DELETE<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
130
131
 
131
132
  declare function GET<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
132
133
  declare function GET<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
134
+ declare function GET<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
133
135
  declare function GET<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
134
136
 
135
137
  declare function HEAD<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
136
138
  declare function HEAD<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
139
+ declare function HEAD<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
137
140
  declare function HEAD<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
138
141
 
139
142
  declare function OPTIONS<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
140
143
  declare function OPTIONS<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
144
+ declare function OPTIONS<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
141
145
  declare function OPTIONS<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
142
146
 
143
147
  declare function PATCH<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
144
148
  declare function PATCH<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
149
+ declare function PATCH<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
145
150
  declare function PATCH<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
146
151
 
147
152
  declare function POST<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
148
153
  declare function POST<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
154
+ declare function POST<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
149
155
  declare function POST<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
150
156
 
151
157
  declare function PUT<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
152
158
  declare function PUT<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
159
+ declare function PUT<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
153
160
  declare function PUT<ClassPrototype extends Controller, Method, DTOConstructor extends typeof DTO = typeof DTO>(r: string, dtoConstructor: DTOConstructor, actionOptions: ActionOptions<HTTPContext>): MethodDecorator<ClassPrototype, Method, ControllerProperty<ClassPrototype>>;
154
161
 
155
162
  /**
package/lakutata.cjs CHANGED
@@ -58,9 +58,9 @@ const h = require("./src/exceptions/DestroyRuntimeContainerException.cjs");
58
58
 
59
59
  const A = require("./src/exceptions/InvalidActionPatternDepthException.cjs");
60
60
 
61
- const C = require("./src/exceptions/InvalidAssistantFunctionTypeException.cjs");
61
+ const I = require("./src/exceptions/InvalidAssistantFunctionTypeException.cjs");
62
62
 
63
- const I = require("./src/exceptions/InvalidObjectTypeException.cjs");
63
+ const C = require("./src/exceptions/InvalidObjectTypeException.cjs");
64
64
 
65
65
  const f = require("./src/exceptions/MethodNotFoundException.cjs");
66
66
 
@@ -276,6 +276,8 @@ require("./src/components/entrypoint/exceptions/AccessDenyException.cjs");
276
276
 
277
277
  require("./src/components/entrypoint/lib/AccessControlRule.cjs");
278
278
 
279
+ require("./src/components/entrypoint/exceptions/InvalidActionGroupException.cjs");
280
+
279
281
  require("./vendor/Package.17.cjs");
280
282
 
281
283
  require("worker_threads");
@@ -391,8 +393,8 @@ exports.DestroyRuntimeContainerException = h.DestroyRuntimeContainerException;
391
393
 
392
394
  exports.InvalidActionPatternDepthException = A.InvalidActionPatternDepthException;
393
395
 
394
- exports.InvalidAssistantFunctionTypeException = C.InvalidAssistantFunctionTypeException;
396
+ exports.InvalidAssistantFunctionTypeException = I.InvalidAssistantFunctionTypeException;
395
397
 
396
- exports.InvalidObjectTypeException = I.InvalidObjectTypeException;
398
+ exports.InvalidObjectTypeException = C.InvalidObjectTypeException;
397
399
 
398
400
  exports.MethodNotFoundException = f.MethodNotFoundException;
package/lakutata.mjs CHANGED
@@ -270,6 +270,8 @@ import "./src/components/entrypoint/exceptions/AccessDenyException.mjs";
270
270
 
271
271
  import "./src/components/entrypoint/lib/AccessControlRule.mjs";
272
272
 
273
+ import "./src/components/entrypoint/exceptions/InvalidActionGroupException.mjs";
274
+
273
275
  import "./vendor/Package.17.mjs";
274
276
 
275
277
  import "worker_threads";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "2.0.56",
3
+ "version": "2.0.57",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "exports": {
6
6
  ".": {