lakutata 0.1.20 → 0.1.21
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/Lakutata.d.ts +3 -2
- package/package.json +1 -1
package/Lakutata.d.ts
CHANGED
|
@@ -6000,13 +6000,14 @@ declare function Configurable<T extends BaseObject>(options?: ConfigurableOption
|
|
|
6000
6000
|
type TActionFunction = (inp?: any) => Promise<any>;
|
|
6001
6001
|
type TExcludes<T, U> = T extends U ? never : T;
|
|
6002
6002
|
type TActionName<T, U> = TExcludes<keyof T, U>;
|
|
6003
|
+
type ControllerActionDecorator<T extends Controller> = (target: T, propertyKey: TActionName<T, keyof Controller | 'init' | '__init' | 'destroy' | '__destroy'>, descriptor: TypedPropertyDescriptor<TActionFunction>) => TypedPropertyDescriptor<TActionFunction>;
|
|
6003
6004
|
/**
|
|
6004
6005
|
* 控制器动作方法声明
|
|
6005
6006
|
* @param pattern
|
|
6006
6007
|
* @param authOptions
|
|
6007
6008
|
* @constructor
|
|
6008
6009
|
*/
|
|
6009
|
-
declare function Action<T extends Controller>(pattern: ActionPattern, authOptions?: ActionAuthOptions):
|
|
6010
|
+
declare function Action<T extends Controller>(pattern: ActionPattern, authOptions?: ActionAuthOptions): ControllerActionDecorator<T>;
|
|
6010
6011
|
|
|
6011
6012
|
type Distance = 'mm' | 'cm' | 'm' | 'km' | 'in' | 'ft-us' | 'ft' | 'yd' | 'mi';
|
|
6012
6013
|
type Area = 'mm2' | 'cm2' | 'm2' | 'ha' | 'km2' | 'in2' | 'ft2' | 'ac' | 'mi2';
|
|
@@ -7024,4 +7025,4 @@ declare global {
|
|
|
7024
7025
|
}
|
|
7025
7026
|
}
|
|
7026
7027
|
|
|
7027
|
-
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 };
|
|
7028
|
+
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, ControllerActionDecorator, 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 };
|