lakutata 0.1.2-beta.0 → 0.1.2-beta.2

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.
@@ -4295,6 +4295,12 @@ type ActionAuthOptions = {
4295
4295
  domain?: string | ((inp: ActionPattern) => string);
4296
4296
  };
4297
4297
 
4298
+ type ControllerAuthConfigItem = {
4299
+ action: string;
4300
+ operation: string;
4301
+ domain: string | ((inp: ActionPattern) => string);
4302
+ };
4303
+
4298
4304
  /**
4299
4305
  * @param strict Strict parsing disables the deprecated fallback to the native Date constructor when
4300
4306
  * parsing a string.
@@ -7005,4 +7011,4 @@ declare global {
7005
7011
  }
7006
7012
  }
7007
7013
 
7008
- export { Accept, AccessControl, AccessControlConfigureRequiredException, AccessDenyException, Action, ActionAuthOptions, ActionPattern, AddRuleOptions, AliasExistsException, AliasNotFoundException, AlternativesSchema, Angle, AnySchema, ApparentPower, Application, ApplicationOptions, Area, ArraySchema, ArraySortOptions, ArrayUniqueOptions, AsymmetricDecryptException, AsymmetricEncryptException, AsymmetricSignException, AsymmetricVerifyException, AsyncFunction, AsyncValidationOptions, AuthStoreOptions, Base64Options, BaseObject, BaseValidationOptions, BaseValidator, BasicType, BinarySchema, BooleanSchema, Cache, CacheConfiguration, CacheProvisionOptions, ChildProcessUnavailableException, CoerceFunction, CoerceObject, CoerceResult, ComparatorFunction, CompileOptions, Component, Configurable, ConfigurableOptions, Container, Context, Controller, ControllerActionMapItem, CreateErrorOptions, Cron, Current, CustomHelpers, CustomValidator, DTO, DataUriOptions, Database, DateSchema, DependencyInjectionException, DependencyOptions, Description, Digital, DispatchToControllerConfigurableParams, Distance, DomainOptions, DuplicateControllerActionPatternException, DynamicRegisterControllerNotAllowException, EmailOptions, Energy, ErrorFormattingOptions, ErrorReport, ErrorValidationOptions, Exception, Expect, Extension, ExtensionBoundSchema, ExtensionFlag, ExtensionRule, ExtensionTerm, ExtensionTermManifest, ExternalHelpers, ExternalValidationFunction, Formatter, Frequency, FunctionSchema, GetRuleOptions, GuidOptions, GuidVersions, HexOptions, HierarchySeparatorOptions, HttpRequest, HttpRequestAbortException, HttpRequestException, HttpRequestMethod, HttpRequestOptions, HttpResponseType, IAuthFileStoreOptions, IConstructor, ILogger, IPatRun, IPermission, ISortArrayOptions, ISortObjectOptions, IUser, IUserPermission, IllegalMethodCallException, IndexSignature, Inject, InjectApp, InjectModule, InjectionProperties, Interval, IntervalMode, InvalidAliasNameException, InvalidAsymmetricEncryptKeyPairException, InvalidAsymmetricEncryptPrivateKeyException, InvalidAsymmetricEncryptPublicKeyException, InvalidConfigurableValueException, InvalidDTOValueException, InvalidGlobStringException, InvalidMethodAcceptException, InvalidMethodReturnException, InvalidSymmetricCipherIVLengthException, InvalidSymmetricCipherKeyLengthException, InvalidValueException, IpOptions, IsNonPrimitiveSubsetUnion, IsPrimitiveSubset, IsSchemaOptions, IsUnion, LanguageMessageTemplate, LanguageMessages, Lifetime, LinkSchema, LoadComponentOptions, LoadEntryClassOptions, LoadEntryCommonOptions, LoadModuleOptions, Logger, Mass, MethodNotFoundException, MethodNotImplementedException, Model, ModifyOptions, Module, ModuleNotFoundException, ModuleOptions, MutateRegisterOptions, NoAsymmetricEncryptPrivateKeyException, NoAsymmetricEncryptPublicKeyException, NoAuthUserException, NoMatchedControllerActionPatternException, NotSupportCipherException, NotSupportHashException, NullableType, NumberSchema, ObjectPatternOptions, ObjectPropertiesSchema, ObjectSchema, Pace, PartialSchemaMap, PartsPer, Power, PresenceMode, Pressure, Process, ReactiveEnergy, ReactivePower, Reference, ReferenceOptions, RenameOptions, Return, RuleArgs, RuleMethod, RuleOptions, Schema, SchemaFunction, SchemaInternals, SchemaLike, SchemaLikeWithoutArray, SchemaMap, Scoped, SetFlagOptions, Singleton, Speed, State, StrictSchemaMap, StringRegexOptions, StringSchema, SwitchCases, SwitchDefault, SymbolSchema, SymmetricDecryptException, SymmetricEncryptException, Temperature, ThreadTask, Time, TimeInput, TimeObject, TopLevelDomainOptions, Transient, Types, UnitOfTime, UriOptions, ValidationError, ValidationErrorFunction, ValidationErrorItem, ValidationOptions, ValidationResult, ValidationWarning, Validator, Voltage, Volume, VolumeFlowRate, WhenOptions, WhenSchemaOptions };
7014
+ export { Accept, AccessControl, AccessControlConfigureRequiredException, AccessDenyException, Action, ActionAuthOptions, ActionPattern, AddRuleOptions, AliasExistsException, AliasNotFoundException, AlternativesSchema, Angle, AnySchema, ApparentPower, Application, ApplicationOptions, Area, ArraySchema, ArraySortOptions, ArrayUniqueOptions, AsymmetricDecryptException, AsymmetricEncryptException, AsymmetricSignException, AsymmetricVerifyException, AsyncFunction, AsyncValidationOptions, AuthStoreOptions, Base64Options, BaseObject, BaseValidationOptions, BaseValidator, BasicType, BinarySchema, BooleanSchema, Cache, CacheConfiguration, CacheProvisionOptions, ChildProcessUnavailableException, CoerceFunction, CoerceObject, CoerceResult, ComparatorFunction, CompileOptions, Component, Configurable, ConfigurableOptions, Container, Context, Controller, ControllerActionMapItem, ControllerAuthConfigItem, CreateErrorOptions, Cron, Current, CustomHelpers, CustomValidator, DTO, DataUriOptions, Database, DateSchema, DependencyInjectionException, DependencyOptions, Description, Digital, DispatchToControllerConfigurableParams, Distance, DomainOptions, DuplicateControllerActionPatternException, DynamicRegisterControllerNotAllowException, EmailOptions, Energy, ErrorFormattingOptions, ErrorReport, ErrorValidationOptions, Exception, Expect, Extension, ExtensionBoundSchema, ExtensionFlag, ExtensionRule, ExtensionTerm, ExtensionTermManifest, ExternalHelpers, ExternalValidationFunction, Formatter, Frequency, FunctionSchema, GetRuleOptions, GuidOptions, GuidVersions, HexOptions, HierarchySeparatorOptions, HttpRequest, HttpRequestAbortException, HttpRequestException, HttpRequestMethod, HttpRequestOptions, HttpResponseType, IAuthFileStoreOptions, IConstructor, ILogger, IPatRun, IPermission, ISortArrayOptions, ISortObjectOptions, IUser, IUserPermission, IllegalMethodCallException, IndexSignature, Inject, InjectApp, InjectModule, InjectionProperties, Interval, IntervalMode, InvalidAliasNameException, InvalidAsymmetricEncryptKeyPairException, InvalidAsymmetricEncryptPrivateKeyException, InvalidAsymmetricEncryptPublicKeyException, InvalidConfigurableValueException, InvalidDTOValueException, InvalidGlobStringException, InvalidMethodAcceptException, InvalidMethodReturnException, InvalidSymmetricCipherIVLengthException, InvalidSymmetricCipherKeyLengthException, InvalidValueException, IpOptions, IsNonPrimitiveSubsetUnion, IsPrimitiveSubset, IsSchemaOptions, IsUnion, LanguageMessageTemplate, LanguageMessages, Lifetime, LinkSchema, LoadComponentOptions, LoadEntryClassOptions, LoadEntryCommonOptions, LoadModuleOptions, Logger, Mass, MethodNotFoundException, MethodNotImplementedException, Model, ModifyOptions, Module, ModuleNotFoundException, ModuleOptions, MutateRegisterOptions, NoAsymmetricEncryptPrivateKeyException, NoAsymmetricEncryptPublicKeyException, NoAuthUserException, NoMatchedControllerActionPatternException, NotSupportCipherException, NotSupportHashException, NullableType, NumberSchema, ObjectPatternOptions, ObjectPropertiesSchema, ObjectSchema, Pace, PartialSchemaMap, PartsPer, Power, PresenceMode, Pressure, Process, ReactiveEnergy, ReactivePower, Reference, ReferenceOptions, RenameOptions, Return, RuleArgs, RuleMethod, RuleOptions, Schema, SchemaFunction, SchemaInternals, SchemaLike, SchemaLikeWithoutArray, SchemaMap, Scoped, SetFlagOptions, Singleton, Speed, State, StrictSchemaMap, StringRegexOptions, StringSchema, SwitchCases, SwitchDefault, SymbolSchema, SymmetricDecryptException, SymmetricEncryptException, Temperature, ThreadTask, Time, TimeInput, TimeObject, TopLevelDomainOptions, Transient, Types, UnitOfTime, UriOptions, ValidationError, ValidationErrorFunction, ValidationErrorItem, ValidationOptions, ValidationResult, ValidationWarning, Validator, Voltage, Volume, VolumeFlowRate, WhenOptions, WhenSchemaOptions };
package/build/Lakutata.js CHANGED
@@ -82093,8 +82093,12 @@ var _Container = (_class14 = class _Container {
82093
82093
  * @protected
82094
82094
  */
82095
82095
  async disposer(instance) {
82096
- await instance.getMethod("__destroy", false)();
82097
- await instance.getMethod("destroy", false)();
82096
+ try {
82097
+ await instance.getMethod("__destroy", false)();
82098
+ await instance.getMethod("destroy", false)();
82099
+ } catch (e2) {
82100
+ _chunkCDQUWO3Tjs.DevNull.call(void 0, e2);
82101
+ }
82098
82102
  this.updateTransientWeakRefs();
82099
82103
  }
82100
82104
  /**
@@ -82316,10 +82320,14 @@ var _Container = (_class14 = class _Container {
82316
82320
  this.__$$additionalPropertyMap.clear();
82317
82321
  for (const ref of this.__$transientWeakRefs) {
82318
82322
  const transient = ref.deref();
82319
- if (_optionalChain([transient, 'optionalAccess', _17 => _17.__destroy]))
82320
- await transient.__destroy();
82321
- if (_optionalChain([transient, 'optionalAccess', _18 => _18.destroy]))
82322
- await transient.destroy();
82323
+ try {
82324
+ if (_optionalChain([transient, 'optionalAccess', _17 => _17.__destroy]))
82325
+ await transient.__destroy();
82326
+ if (_optionalChain([transient, 'optionalAccess', _18 => _18.destroy]))
82327
+ await transient.destroy();
82328
+ } catch (e2) {
82329
+ _chunkCDQUWO3Tjs.DevNull.call(void 0, e2);
82330
+ }
82323
82331
  }
82324
82332
  }
82325
82333
  }, _class14);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "0.1.2-beta.0",
3
+ "version": "0.1.2-beta.2",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "main": "./build/Lakutata.js",
6
6
  "types": "./build/Lakutata.d.ts",