@qlover/fe-corekit 2.3.0 → 2.3.3

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/dist/index.cjs CHANGED
@@ -4149,6 +4149,7 @@ var AbortPlugin = /*#__PURE__*/ function() {
4149
4149
  * 5. Sets up timeout timer if `abortTimeout` configured
4150
4150
  * 6. Injects abort signal into configuration
4151
4151
  *
4152
+ * @override
4152
4153
  * @param context - Executor context containing parameters and metadata
4153
4154
  *
4154
4155
  * @example Configuration in context
@@ -4201,6 +4202,7 @@ var AbortPlugin = /*#__PURE__*/ function() {
4201
4202
  * Cleans up resources (controller and timeout) for completed operation
4202
4203
  * Ensures no memory leaks from successful operations
4203
4204
  *
4205
+ * @override
4204
4206
  * @param context - Executor context containing parameters and metadata
4205
4207
  *
4206
4208
  * @example
@@ -4230,6 +4232,7 @@ var AbortPlugin = /*#__PURE__*/ function() {
4230
4232
  * 2. If abort error: Extract reason from signal, cleanup resources, return `AbortError`
4231
4233
  * 3. If other error: Still cleanup resources to prevent leaks
4232
4234
  *
4235
+ * @override
4233
4236
  * @param context - Executor context containing error, parameters, and metadata
4234
4237
  * @returns `AbortError` if error is abort-related, `void` otherwise
4235
4238
  *
@@ -4615,6 +4618,7 @@ var RetryPlugin = /*#__PURE__*/ function() {
4615
4618
  * This method intercepts task execution to add retry capability,
4616
4619
  * executing the task with the configured retry logic.
4617
4620
  *
4621
+ * @override
4618
4622
  * @template T - Type of task return value
4619
4623
  * @param task - Task to be executed with retry support
4620
4624
  * @returns Promise resolving to task result
@@ -4788,7 +4792,9 @@ var RequestAdapterFetch = /*#__PURE__*/ function() {
4788
4792
  }
4789
4793
  _create_class(RequestAdapterFetch, [
4790
4794
  {
4791
- key: "getConfig",
4795
+ /**
4796
+ * @override
4797
+ */ key: "getConfig",
4792
4798
  value: function getConfig() {
4793
4799
  return this.config;
4794
4800
  }
@@ -4926,14 +4932,18 @@ var RequestAdapterAxios = /*#__PURE__*/ function() {
4926
4932
  }
4927
4933
  _create_class(RequestAdapterAxios, [
4928
4934
  {
4929
- key: "getConfig",
4935
+ /**
4936
+ * @override
4937
+ */ key: "getConfig",
4930
4938
  value: function getConfig() {
4931
4939
  return this.config;
4932
4940
  }
4933
4941
  },
4934
4942
  {
4935
4943
  key: "request",
4936
- value: function request(config) {
4944
+ value: /**
4945
+ * @override
4946
+ */ function request(config) {
4937
4947
  var _this = this;
4938
4948
  return _async_to_generator(function() {
4939
4949
  return _ts_generator(this, function(_state) {
@@ -4987,6 +4997,7 @@ var FetchAbortPlugin = /*#__PURE__*/ function() {
4987
4997
  * Pre-request hook that sets up abort handling
4988
4998
  * Creates new AbortController and cancels any existing request with same key
4989
4999
  *
5000
+ * @override
4990
5001
  * @param config - Request configuration
4991
5002
  * @returns Modified configuration with abort control
4992
5003
  *
@@ -5008,7 +5019,9 @@ var FetchAbortPlugin = /*#__PURE__*/ function() {
5008
5019
  }
5009
5020
  },
5010
5021
  {
5011
- key: "onSuccess",
5022
+ /**
5023
+ * @override
5024
+ */ key: "onSuccess",
5012
5025
  value: function onSuccess(param) {
5013
5026
  var parameters = param.parameters;
5014
5027
  if (parameters) {
@@ -5021,6 +5034,7 @@ var FetchAbortPlugin = /*#__PURE__*/ function() {
5021
5034
  * Error handling hook for abort scenarios
5022
5035
  * Processes different types of abort errors and cleans up resources
5023
5036
  *
5037
+ * @override
5024
5038
  * @param error - Original error
5025
5039
  * @param config - Request configuration
5026
5040
  * @returns RequestError or void
@@ -5231,6 +5245,7 @@ var FetchURLPlugin = /*#__PURE__*/ function() {
5231
5245
  /**
5232
5246
  * Pre-request hook that builds complete URL
5233
5247
  *
5248
+ * @override
5234
5249
  * @param config - Request configuration
5235
5250
  *
5236
5251
  * @example
@@ -5248,6 +5263,7 @@ var FetchURLPlugin = /*#__PURE__*/ function() {
5248
5263
  * Success hook that validates response status
5249
5264
  * Throws error for non-OK responses
5250
5265
  *
5266
+ * @override
5251
5267
  * @param result - Fetch response
5252
5268
  * @returns Response if OK
5253
5269
  * @throws {RequestError} If response is not OK
@@ -5272,6 +5288,7 @@ var FetchURLPlugin = /*#__PURE__*/ function() {
5272
5288
  * Error handling hook
5273
5289
  * Wraps non-RequestError errors
5274
5290
  *
5291
+ * @override
5275
5292
  * @param error - Original error
5276
5293
  * @returns RequestError
5277
5294
  *
@@ -5586,6 +5603,7 @@ var RequestTransaction = /*#__PURE__*/ function(RequestManager) {
5586
5603
  {
5587
5604
  /**
5588
5605
  * Makes an HTTP request with flexible type definitions
5606
+ * @override
5589
5607
  * @template Transaction - Can be either the direct response data type or a RequestTransactionInterface
5590
5608
  * @param config - Request configuration object
5591
5609
  * @returns Promise of response data
@@ -6002,19 +6020,25 @@ var KeyStorage = /*#__PURE__*/ function() {
6002
6020
  }
6003
6021
  },
6004
6022
  {
6005
- key: "getKey",
6023
+ /**
6024
+ * @override
6025
+ */ key: "getKey",
6006
6026
  value: function getKey() {
6007
6027
  return this.key;
6008
6028
  }
6009
6029
  },
6010
6030
  {
6011
- key: "getValue",
6031
+ /**
6032
+ * @override
6033
+ */ key: "getValue",
6012
6034
  value: function getValue() {
6013
6035
  return this.value;
6014
6036
  }
6015
6037
  },
6016
6038
  {
6017
- key: "get",
6039
+ /**
6040
+ * @override
6041
+ */ key: "get",
6018
6042
  value: function get(options) {
6019
6043
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
6020
6044
  "storage"
@@ -6035,7 +6059,9 @@ var KeyStorage = /*#__PURE__*/ function() {
6035
6059
  }
6036
6060
  },
6037
6061
  {
6038
- key: "set",
6062
+ /**
6063
+ * @override
6064
+ */ key: "set",
6039
6065
  value: function set(token, options) {
6040
6066
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
6041
6067
  "storage"
@@ -6047,7 +6073,9 @@ var KeyStorage = /*#__PURE__*/ function() {
6047
6073
  }
6048
6074
  },
6049
6075
  {
6050
- key: "remove",
6076
+ /**
6077
+ * @override
6078
+ */ key: "remove",
6051
6079
  value: function remove(options) {
6052
6080
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
6053
6081
  "storage"
@@ -6168,7 +6196,9 @@ var ObjectStorage = /*#__PURE__*/ function() {
6168
6196
  }
6169
6197
  },
6170
6198
  {
6171
- key: "getRawValue",
6199
+ /**
6200
+ * @override
6201
+ */ key: "getRawValue",
6172
6202
  value: function getRawValue(value, defaultValue) {
6173
6203
  if (this.isStorageValue(value)) {
6174
6204
  if (this.isExpired(value)) {
@@ -6365,13 +6395,17 @@ var SyncStorage = /*#__PURE__*/ function() {
6365
6395
  {
6366
6396
  key: "length",
6367
6397
  get: /**
6368
- * Get the number of storage items
6369
- */ function get() {
6398
+ * Get the number of storage items
6399
+
6400
+ * @override
6401
+ */ function get() {
6370
6402
  return this.storage.length;
6371
6403
  }
6372
6404
  },
6373
6405
  {
6374
- key: "setItem",
6406
+ /**
6407
+ * @override
6408
+ */ key: "setItem",
6375
6409
  value: function setItem(key, value, options) {
6376
6410
  var processedValue = value;
6377
6411
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
@@ -6409,7 +6443,9 @@ var SyncStorage = /*#__PURE__*/ function() {
6409
6443
  }
6410
6444
  },
6411
6445
  {
6412
- key: "getItem",
6446
+ /**
6447
+ * @override
6448
+ */ key: "getItem",
6413
6449
  value: function getItem(key, defaultValue, options) {
6414
6450
  var processedValue = this.storage.getItem(key, defaultValue, options);
6415
6451
  if (processedValue == null) {
@@ -6487,6 +6523,7 @@ var SyncStorage = /*#__PURE__*/ function() {
6487
6523
  /**
6488
6524
  * Delete data items, delete from all storage layers
6489
6525
  *
6526
+ * @override
6490
6527
  * @param key - Storage key
6491
6528
  * @param options - Delete options
6492
6529
  */ key: "removeItem",
@@ -6501,8 +6538,10 @@ var SyncStorage = /*#__PURE__*/ function() {
6501
6538
  },
6502
6539
  {
6503
6540
  /**
6504
- * Clear all data, including storage in the pipeline
6505
- */ key: "clear",
6541
+ * Clear all data, including storage in the pipeline
6542
+
6543
+ * @override
6544
+ */ key: "clear",
6506
6545
  value: function clear() {
6507
6546
  this.storage.clear();
6508
6547
  this.pipes.filter(function(p) {
package/dist/index.d.ts CHANGED
@@ -2476,6 +2476,7 @@ declare class AbortPlugin<TParameters> implements ExecutorPlugin {
2476
2476
  * 5. Sets up timeout timer if `abortTimeout` configured
2477
2477
  * 6. Injects abort signal into configuration
2478
2478
  *
2479
+ * @override
2479
2480
  * @param context - Executor context containing parameters and metadata
2480
2481
  *
2481
2482
  * @example Configuration in context
@@ -2494,6 +2495,7 @@ declare class AbortPlugin<TParameters> implements ExecutorPlugin {
2494
2495
  * Cleans up resources (controller and timeout) for completed operation
2495
2496
  * Ensures no memory leaks from successful operations
2496
2497
  *
2498
+ * @override
2497
2499
  * @param context - Executor context containing parameters and metadata
2498
2500
  *
2499
2501
  * @example
@@ -2514,6 +2516,7 @@ declare class AbortPlugin<TParameters> implements ExecutorPlugin {
2514
2516
  * 2. If abort error: Extract reason from signal, cleanup resources, return `AbortError`
2515
2517
  * 3. If other error: Still cleanup resources to prevent leaks
2516
2518
  *
2519
+ * @override
2517
2520
  * @param context - Executor context containing error, parameters, and metadata
2518
2521
  * @returns `AbortError` if error is abort-related, `void` otherwise
2519
2522
  *
@@ -2810,6 +2813,7 @@ declare class RetryPlugin implements ExecutorPlugin {
2810
2813
  * This method intercepts task execution to add retry capability,
2811
2814
  * executing the task with the configured retry logic.
2812
2815
  *
2816
+ * @override
2813
2817
  * @template T - Type of task return value
2814
2818
  * @param task - Task to be executed with retry support
2815
2819
  * @returns Promise resolving to task result
@@ -3140,6 +3144,9 @@ declare class RequestAdapterFetch implements RequestAdapterInterface<RequestAdap
3140
3144
  * ```
3141
3145
  */
3142
3146
  constructor(config?: Partial<RequestAdapterFetchConfig>);
3147
+ /**
3148
+ * @override
3149
+ */
3143
3150
  getConfig(): RequestAdapterFetchConfig;
3144
3151
  usePlugin(plugin: ExecutorPlugin): void;
3145
3152
  /**
@@ -3191,7 +3198,13 @@ declare class RequestAdapterAxios implements RequestAdapterInterface<AxiosReques
3191
3198
  readonly config: AxiosRequestConfig;
3192
3199
  private axiosInstance;
3193
3200
  constructor(axios: AxiosStatic, config?: AxiosRequestConfig);
3201
+ /**
3202
+ * @override
3203
+ */
3194
3204
  getConfig(): AxiosRequestConfig;
3205
+ /**
3206
+ * @override
3207
+ */
3195
3208
  request<Request, Response>(config: AxiosRequestConfig<Request>): Promise<RequestAdapterResponse<Request, Response>>;
3196
3209
  }
3197
3210
 
@@ -3275,6 +3288,7 @@ declare class FetchAbortPlugin implements ExecutorPlugin {
3275
3288
  * Pre-request hook that sets up abort handling
3276
3289
  * Creates new AbortController and cancels any existing request with same key
3277
3290
  *
3291
+ * @override
3278
3292
  * @param config - Request configuration
3279
3293
  * @returns Modified configuration with abort control
3280
3294
  *
@@ -3284,11 +3298,15 @@ declare class FetchAbortPlugin implements ExecutorPlugin {
3284
3298
  * ```
3285
3299
  */
3286
3300
  onBefore(context: ExecutorContext<RequestAdapterConfig>): void;
3301
+ /**
3302
+ * @override
3303
+ */
3287
3304
  onSuccess({ parameters }: ExecutorContext<RequestAdapterConfig>): void;
3288
3305
  /**
3289
3306
  * Error handling hook for abort scenarios
3290
3307
  * Processes different types of abort errors and cleans up resources
3291
3308
  *
3309
+ * @override
3292
3310
  * @param error - Original error
3293
3311
  * @param config - Request configuration
3294
3312
  * @returns RequestError or void
@@ -3437,6 +3455,7 @@ declare class FetchURLPlugin implements ExecutorPlugin {
3437
3455
  /**
3438
3456
  * Pre-request hook that builds complete URL
3439
3457
  *
3458
+ * @override
3440
3459
  * @param config - Request configuration
3441
3460
  *
3442
3461
  * @example
@@ -3449,6 +3468,7 @@ declare class FetchURLPlugin implements ExecutorPlugin {
3449
3468
  * Success hook that validates response status
3450
3469
  * Throws error for non-OK responses
3451
3470
  *
3471
+ * @override
3452
3472
  * @param result - Fetch response
3453
3473
  * @returns Response if OK
3454
3474
  * @throws {RequestError} If response is not OK
@@ -3463,6 +3483,7 @@ declare class FetchURLPlugin implements ExecutorPlugin {
3463
3483
  * Error handling hook
3464
3484
  * Wraps non-RequestError errors
3465
3485
  *
3486
+ * @override
3466
3487
  * @param error - Original error
3467
3488
  * @returns RequestError
3468
3489
  *
@@ -3806,6 +3827,7 @@ declare class RequestScheduler<Config extends RequestAdapterConfig> extends Requ
3806
3827
  declare class RequestTransaction<Config extends RequestAdapterConfig<unknown>> extends RequestManager<Config> {
3807
3828
  /**
3808
3829
  * Makes an HTTP request with flexible type definitions
3830
+ * @override
3809
3831
  * @template Transaction - Can be either the direct response data type or a RequestTransactionInterface
3810
3832
  * @param config - Request configuration object
3811
3833
  * @returns Promise of response data
@@ -4642,10 +4664,25 @@ declare class KeyStorage<Key, Value, Opt extends KeyStorageOptions<Key> = KeySto
4642
4664
  protected value: Value | null;
4643
4665
  constructor(key: Key, options?: Opt);
4644
4666
  protected mergeOptions(options?: Opt): Opt;
4667
+ /**
4668
+ * @override
4669
+ */
4645
4670
  getKey(): Key;
4671
+ /**
4672
+ * @override
4673
+ */
4646
4674
  getValue(): Value | null;
4675
+ /**
4676
+ * @override
4677
+ */
4647
4678
  get(options?: Opt): Value | null;
4679
+ /**
4680
+ * @override
4681
+ */
4648
4682
  set(token: Value, options?: Opt): void;
4683
+ /**
4684
+ * @override
4685
+ */
4649
4686
  remove(options?: Opt): void;
4650
4687
  }
4651
4688
 
@@ -4826,6 +4863,9 @@ declare class ObjectStorage<Key, ValueType = string, Opt extends ObjectStorageOp
4826
4863
  * ```
4827
4864
  */
4828
4865
  getItem<T>(key: Key, defaultValue?: T): T | null;
4866
+ /**
4867
+ * @override
4868
+ */
4829
4869
  getRawValue<T>(value: unknown, defaultValue?: T): T | null;
4830
4870
  /**
4831
4871
  * Removes a stored item by its key from both memory and persistent storage
@@ -4961,20 +5001,31 @@ declare class SyncStorage<Key, Opt = unknown> implements SyncStorageInterface<Ke
4961
5001
  constructor(storage: SyncStorageInterface<Key, Opt>, pipes?: PipeArg<Key>[] | PipeArg<Key>);
4962
5002
  /**
4963
5003
  * Get the number of storage items
4964
- */
5004
+
5005
+ * @override
5006
+ */
4965
5007
  get length(): number;
5008
+ /**
5009
+ * @override
5010
+ */
4966
5011
  setItem<T>(key: Key, value: T, options?: Opt): void;
5012
+ /**
5013
+ * @override
5014
+ */
4967
5015
  getItem<T>(key: Key, defaultValue?: T, options?: Opt): T | null;
4968
5016
  /**
4969
5017
  * Delete data items, delete from all storage layers
4970
5018
  *
5019
+ * @override
4971
5020
  * @param key - Storage key
4972
5021
  * @param options - Delete options
4973
5022
  */
4974
5023
  removeItem(key: Key, options?: Opt): void;
4975
5024
  /**
4976
5025
  * Clear all data, including storage in the pipeline
4977
- */
5026
+
5027
+ * @override
5028
+ */
4978
5029
  clear(): void;
4979
5030
  }
4980
5031
 
@@ -4174,6 +4174,7 @@ var qloverFeCorekit = function() {
4174
4174
  * 5. Sets up timeout timer if `abortTimeout` configured
4175
4175
  * 6. Injects abort signal into configuration
4176
4176
  *
4177
+ * @override
4177
4178
  * @param context - Executor context containing parameters and metadata
4178
4179
  *
4179
4180
  * @example Configuration in context
@@ -4226,6 +4227,7 @@ var qloverFeCorekit = function() {
4226
4227
  * Cleans up resources (controller and timeout) for completed operation
4227
4228
  * Ensures no memory leaks from successful operations
4228
4229
  *
4230
+ * @override
4229
4231
  * @param context - Executor context containing parameters and metadata
4230
4232
  *
4231
4233
  * @example
@@ -4255,6 +4257,7 @@ var qloverFeCorekit = function() {
4255
4257
  * 2. If abort error: Extract reason from signal, cleanup resources, return `AbortError`
4256
4258
  * 3. If other error: Still cleanup resources to prevent leaks
4257
4259
  *
4260
+ * @override
4258
4261
  * @param context - Executor context containing error, parameters, and metadata
4259
4262
  * @returns `AbortError` if error is abort-related, `void` otherwise
4260
4263
  *
@@ -4640,6 +4643,7 @@ var qloverFeCorekit = function() {
4640
4643
  * This method intercepts task execution to add retry capability,
4641
4644
  * executing the task with the configured retry logic.
4642
4645
  *
4646
+ * @override
4643
4647
  * @template T - Type of task return value
4644
4648
  * @param task - Task to be executed with retry support
4645
4649
  * @returns Promise resolving to task result
@@ -4813,7 +4817,9 @@ var qloverFeCorekit = function() {
4813
4817
  }
4814
4818
  _create_class(RequestAdapterFetch, [
4815
4819
  {
4816
- key: "getConfig",
4820
+ /**
4821
+ * @override
4822
+ */ key: "getConfig",
4817
4823
  value: function getConfig() {
4818
4824
  return this.config;
4819
4825
  }
@@ -4951,14 +4957,18 @@ var qloverFeCorekit = function() {
4951
4957
  }
4952
4958
  _create_class(RequestAdapterAxios, [
4953
4959
  {
4954
- key: "getConfig",
4960
+ /**
4961
+ * @override
4962
+ */ key: "getConfig",
4955
4963
  value: function getConfig() {
4956
4964
  return this.config;
4957
4965
  }
4958
4966
  },
4959
4967
  {
4960
4968
  key: "request",
4961
- value: function request(config) {
4969
+ value: /**
4970
+ * @override
4971
+ */ function request(config) {
4962
4972
  var _this = this;
4963
4973
  return _async_to_generator(function() {
4964
4974
  return _ts_generator(this, function(_state) {
@@ -5012,6 +5022,7 @@ var qloverFeCorekit = function() {
5012
5022
  * Pre-request hook that sets up abort handling
5013
5023
  * Creates new AbortController and cancels any existing request with same key
5014
5024
  *
5025
+ * @override
5015
5026
  * @param config - Request configuration
5016
5027
  * @returns Modified configuration with abort control
5017
5028
  *
@@ -5033,7 +5044,9 @@ var qloverFeCorekit = function() {
5033
5044
  }
5034
5045
  },
5035
5046
  {
5036
- key: "onSuccess",
5047
+ /**
5048
+ * @override
5049
+ */ key: "onSuccess",
5037
5050
  value: function onSuccess(param) {
5038
5051
  var parameters = param.parameters;
5039
5052
  if (parameters) {
@@ -5046,6 +5059,7 @@ var qloverFeCorekit = function() {
5046
5059
  * Error handling hook for abort scenarios
5047
5060
  * Processes different types of abort errors and cleans up resources
5048
5061
  *
5062
+ * @override
5049
5063
  * @param error - Original error
5050
5064
  * @param config - Request configuration
5051
5065
  * @returns RequestError or void
@@ -5256,6 +5270,7 @@ var qloverFeCorekit = function() {
5256
5270
  /**
5257
5271
  * Pre-request hook that builds complete URL
5258
5272
  *
5273
+ * @override
5259
5274
  * @param config - Request configuration
5260
5275
  *
5261
5276
  * @example
@@ -5273,6 +5288,7 @@ var qloverFeCorekit = function() {
5273
5288
  * Success hook that validates response status
5274
5289
  * Throws error for non-OK responses
5275
5290
  *
5291
+ * @override
5276
5292
  * @param result - Fetch response
5277
5293
  * @returns Response if OK
5278
5294
  * @throws {RequestError} If response is not OK
@@ -5297,6 +5313,7 @@ var qloverFeCorekit = function() {
5297
5313
  * Error handling hook
5298
5314
  * Wraps non-RequestError errors
5299
5315
  *
5316
+ * @override
5300
5317
  * @param error - Original error
5301
5318
  * @returns RequestError
5302
5319
  *
@@ -5611,6 +5628,7 @@ var qloverFeCorekit = function() {
5611
5628
  {
5612
5629
  /**
5613
5630
  * Makes an HTTP request with flexible type definitions
5631
+ * @override
5614
5632
  * @template Transaction - Can be either the direct response data type or a RequestTransactionInterface
5615
5633
  * @param config - Request configuration object
5616
5634
  * @returns Promise of response data
@@ -6027,19 +6045,25 @@ var qloverFeCorekit = function() {
6027
6045
  }
6028
6046
  },
6029
6047
  {
6030
- key: "getKey",
6048
+ /**
6049
+ * @override
6050
+ */ key: "getKey",
6031
6051
  value: function getKey() {
6032
6052
  return this.key;
6033
6053
  }
6034
6054
  },
6035
6055
  {
6036
- key: "getValue",
6056
+ /**
6057
+ * @override
6058
+ */ key: "getValue",
6037
6059
  value: function getValue() {
6038
6060
  return this.value;
6039
6061
  }
6040
6062
  },
6041
6063
  {
6042
- key: "get",
6064
+ /**
6065
+ * @override
6066
+ */ key: "get",
6043
6067
  value: function get(options) {
6044
6068
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
6045
6069
  "storage"
@@ -6060,7 +6084,9 @@ var qloverFeCorekit = function() {
6060
6084
  }
6061
6085
  },
6062
6086
  {
6063
- key: "set",
6087
+ /**
6088
+ * @override
6089
+ */ key: "set",
6064
6090
  value: function set(token, options) {
6065
6091
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
6066
6092
  "storage"
@@ -6072,7 +6098,9 @@ var qloverFeCorekit = function() {
6072
6098
  }
6073
6099
  },
6074
6100
  {
6075
- key: "remove",
6101
+ /**
6102
+ * @override
6103
+ */ key: "remove",
6076
6104
  value: function remove(options) {
6077
6105
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
6078
6106
  "storage"
@@ -6193,7 +6221,9 @@ var qloverFeCorekit = function() {
6193
6221
  }
6194
6222
  },
6195
6223
  {
6196
- key: "getRawValue",
6224
+ /**
6225
+ * @override
6226
+ */ key: "getRawValue",
6197
6227
  value: function getRawValue(value, defaultValue) {
6198
6228
  if (this.isStorageValue(value)) {
6199
6229
  if (this.isExpired(value)) {
@@ -6365,13 +6395,17 @@ var qloverFeCorekit = function() {
6365
6395
  {
6366
6396
  key: "length",
6367
6397
  get: /**
6368
- * Get the number of storage items
6369
- */ function get() {
6398
+ * Get the number of storage items
6399
+
6400
+ * @override
6401
+ */ function get() {
6370
6402
  return this.storage.length;
6371
6403
  }
6372
6404
  },
6373
6405
  {
6374
- key: "setItem",
6406
+ /**
6407
+ * @override
6408
+ */ key: "setItem",
6375
6409
  value: function setItem(key, value, options) {
6376
6410
  var processedValue = value;
6377
6411
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
@@ -6409,7 +6443,9 @@ var qloverFeCorekit = function() {
6409
6443
  }
6410
6444
  },
6411
6445
  {
6412
- key: "getItem",
6446
+ /**
6447
+ * @override
6448
+ */ key: "getItem",
6413
6449
  value: function getItem(key, defaultValue, options) {
6414
6450
  var processedValue = this.storage.getItem(key, defaultValue, options);
6415
6451
  if (processedValue == null) {
@@ -6487,6 +6523,7 @@ var qloverFeCorekit = function() {
6487
6523
  /**
6488
6524
  * Delete data items, delete from all storage layers
6489
6525
  *
6526
+ * @override
6490
6527
  * @param key - Storage key
6491
6528
  * @param options - Delete options
6492
6529
  */ key: "removeItem",
@@ -6501,8 +6538,10 @@ var qloverFeCorekit = function() {
6501
6538
  },
6502
6539
  {
6503
6540
  /**
6504
- * Clear all data, including storage in the pipeline
6505
- */ key: "clear",
6541
+ * Clear all data, including storage in the pipeline
6542
+
6543
+ * @override
6544
+ */ key: "clear",
6506
6545
  value: function clear() {
6507
6546
  this.storage.clear();
6508
6547
  this.pipes.filter(function(p) {
package/dist/index.js CHANGED
@@ -4073,6 +4073,7 @@ var AbortPlugin = /*#__PURE__*/ function() {
4073
4073
  * 5. Sets up timeout timer if `abortTimeout` configured
4074
4074
  * 6. Injects abort signal into configuration
4075
4075
  *
4076
+ * @override
4076
4077
  * @param context - Executor context containing parameters and metadata
4077
4078
  *
4078
4079
  * @example Configuration in context
@@ -4125,6 +4126,7 @@ var AbortPlugin = /*#__PURE__*/ function() {
4125
4126
  * Cleans up resources (controller and timeout) for completed operation
4126
4127
  * Ensures no memory leaks from successful operations
4127
4128
  *
4129
+ * @override
4128
4130
  * @param context - Executor context containing parameters and metadata
4129
4131
  *
4130
4132
  * @example
@@ -4154,6 +4156,7 @@ var AbortPlugin = /*#__PURE__*/ function() {
4154
4156
  * 2. If abort error: Extract reason from signal, cleanup resources, return `AbortError`
4155
4157
  * 3. If other error: Still cleanup resources to prevent leaks
4156
4158
  *
4159
+ * @override
4157
4160
  * @param context - Executor context containing error, parameters, and metadata
4158
4161
  * @returns `AbortError` if error is abort-related, `void` otherwise
4159
4162
  *
@@ -4540,6 +4543,7 @@ var RetryPlugin = /*#__PURE__*/ function() {
4540
4543
  * This method intercepts task execution to add retry capability,
4541
4544
  * executing the task with the configured retry logic.
4542
4545
  *
4546
+ * @override
4543
4547
  * @template T - Type of task return value
4544
4548
  * @param task - Task to be executed with retry support
4545
4549
  * @returns Promise resolving to task result
@@ -4715,7 +4719,9 @@ var RequestAdapterFetch = /*#__PURE__*/ function() {
4715
4719
  }
4716
4720
  _create_class(RequestAdapterFetch, [
4717
4721
  {
4718
- key: "getConfig",
4722
+ /**
4723
+ * @override
4724
+ */ key: "getConfig",
4719
4725
  value: function getConfig() {
4720
4726
  return this.config;
4721
4727
  }
@@ -4854,14 +4860,18 @@ var RequestAdapterAxios = /*#__PURE__*/ function() {
4854
4860
  }
4855
4861
  _create_class(RequestAdapterAxios, [
4856
4862
  {
4857
- key: "getConfig",
4863
+ /**
4864
+ * @override
4865
+ */ key: "getConfig",
4858
4866
  value: function getConfig() {
4859
4867
  return this.config;
4860
4868
  }
4861
4869
  },
4862
4870
  {
4863
4871
  key: "request",
4864
- value: function request(config) {
4872
+ value: /**
4873
+ * @override
4874
+ */ function request(config) {
4865
4875
  var _this = this;
4866
4876
  return _async_to_generator(function() {
4867
4877
  return _ts_generator(this, function(_state) {
@@ -4916,6 +4926,7 @@ var FetchAbortPlugin = /*#__PURE__*/ function() {
4916
4926
  * Pre-request hook that sets up abort handling
4917
4927
  * Creates new AbortController and cancels any existing request with same key
4918
4928
  *
4929
+ * @override
4919
4930
  * @param config - Request configuration
4920
4931
  * @returns Modified configuration with abort control
4921
4932
  *
@@ -4937,7 +4948,9 @@ var FetchAbortPlugin = /*#__PURE__*/ function() {
4937
4948
  }
4938
4949
  },
4939
4950
  {
4940
- key: "onSuccess",
4951
+ /**
4952
+ * @override
4953
+ */ key: "onSuccess",
4941
4954
  value: function onSuccess(param) {
4942
4955
  var parameters = param.parameters;
4943
4956
  if (parameters) {
@@ -4950,6 +4963,7 @@ var FetchAbortPlugin = /*#__PURE__*/ function() {
4950
4963
  * Error handling hook for abort scenarios
4951
4964
  * Processes different types of abort errors and cleans up resources
4952
4965
  *
4966
+ * @override
4953
4967
  * @param error - Original error
4954
4968
  * @param config - Request configuration
4955
4969
  * @returns RequestError or void
@@ -5161,6 +5175,7 @@ var FetchURLPlugin = /*#__PURE__*/ function() {
5161
5175
  /**
5162
5176
  * Pre-request hook that builds complete URL
5163
5177
  *
5178
+ * @override
5164
5179
  * @param config - Request configuration
5165
5180
  *
5166
5181
  * @example
@@ -5178,6 +5193,7 @@ var FetchURLPlugin = /*#__PURE__*/ function() {
5178
5193
  * Success hook that validates response status
5179
5194
  * Throws error for non-OK responses
5180
5195
  *
5196
+ * @override
5181
5197
  * @param result - Fetch response
5182
5198
  * @returns Response if OK
5183
5199
  * @throws {RequestError} If response is not OK
@@ -5202,6 +5218,7 @@ var FetchURLPlugin = /*#__PURE__*/ function() {
5202
5218
  * Error handling hook
5203
5219
  * Wraps non-RequestError errors
5204
5220
  *
5221
+ * @override
5205
5222
  * @param error - Original error
5206
5223
  * @returns RequestError
5207
5224
  *
@@ -5519,6 +5536,7 @@ var RequestTransaction = /*#__PURE__*/ function(RequestManager) {
5519
5536
  {
5520
5537
  /**
5521
5538
  * Makes an HTTP request with flexible type definitions
5539
+ * @override
5522
5540
  * @template Transaction - Can be either the direct response data type or a RequestTransactionInterface
5523
5541
  * @param config - Request configuration object
5524
5542
  * @returns Promise of response data
@@ -5938,19 +5956,25 @@ var KeyStorage = /*#__PURE__*/ function() {
5938
5956
  }
5939
5957
  },
5940
5958
  {
5941
- key: "getKey",
5959
+ /**
5960
+ * @override
5961
+ */ key: "getKey",
5942
5962
  value: function getKey() {
5943
5963
  return this.key;
5944
5964
  }
5945
5965
  },
5946
5966
  {
5947
- key: "getValue",
5967
+ /**
5968
+ * @override
5969
+ */ key: "getValue",
5948
5970
  value: function getValue() {
5949
5971
  return this.value;
5950
5972
  }
5951
5973
  },
5952
5974
  {
5953
- key: "get",
5975
+ /**
5976
+ * @override
5977
+ */ key: "get",
5954
5978
  value: function get(options) {
5955
5979
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
5956
5980
  "storage"
@@ -5971,7 +5995,9 @@ var KeyStorage = /*#__PURE__*/ function() {
5971
5995
  }
5972
5996
  },
5973
5997
  {
5974
- key: "set",
5998
+ /**
5999
+ * @override
6000
+ */ key: "set",
5975
6001
  value: function set(token, options) {
5976
6002
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
5977
6003
  "storage"
@@ -5983,7 +6009,9 @@ var KeyStorage = /*#__PURE__*/ function() {
5983
6009
  }
5984
6010
  },
5985
6011
  {
5986
- key: "remove",
6012
+ /**
6013
+ * @override
6014
+ */ key: "remove",
5987
6015
  value: function remove(options) {
5988
6016
  var _this_mergeOptions = this.mergeOptions(options), storage = _this_mergeOptions.storage, reset = _object_without_properties(_this_mergeOptions, [
5989
6017
  "storage"
@@ -6105,7 +6133,9 @@ var ObjectStorage = /*#__PURE__*/ function() {
6105
6133
  }
6106
6134
  },
6107
6135
  {
6108
- key: "getRawValue",
6136
+ /**
6137
+ * @override
6138
+ */ key: "getRawValue",
6109
6139
  value: function getRawValue(value, defaultValue) {
6110
6140
  if (this.isStorageValue(value)) {
6111
6141
  if (this.isExpired(value)) {
@@ -6303,13 +6333,17 @@ var SyncStorage = /*#__PURE__*/ function() {
6303
6333
  {
6304
6334
  key: "length",
6305
6335
  get: /**
6306
- * Get the number of storage items
6307
- */ function get() {
6336
+ * Get the number of storage items
6337
+
6338
+ * @override
6339
+ */ function get() {
6308
6340
  return this.storage.length;
6309
6341
  }
6310
6342
  },
6311
6343
  {
6312
- key: "setItem",
6344
+ /**
6345
+ * @override
6346
+ */ key: "setItem",
6313
6347
  value: function setItem(key, value, options) {
6314
6348
  var processedValue = value;
6315
6349
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
@@ -6347,7 +6381,9 @@ var SyncStorage = /*#__PURE__*/ function() {
6347
6381
  }
6348
6382
  },
6349
6383
  {
6350
- key: "getItem",
6384
+ /**
6385
+ * @override
6386
+ */ key: "getItem",
6351
6387
  value: function getItem(key, defaultValue, options) {
6352
6388
  var processedValue = this.storage.getItem(key, defaultValue, options);
6353
6389
  if (processedValue == null) {
@@ -6425,6 +6461,7 @@ var SyncStorage = /*#__PURE__*/ function() {
6425
6461
  /**
6426
6462
  * Delete data items, delete from all storage layers
6427
6463
  *
6464
+ * @override
6428
6465
  * @param key - Storage key
6429
6466
  * @param options - Delete options
6430
6467
  */ key: "removeItem",
@@ -6439,8 +6476,10 @@ var SyncStorage = /*#__PURE__*/ function() {
6439
6476
  },
6440
6477
  {
6441
6478
  /**
6442
- * Clear all data, including storage in the pipeline
6443
- */ key: "clear",
6479
+ * Clear all data, including storage in the pipeline
6480
+
6481
+ * @override
6482
+ */ key: "clear",
6444
6483
  value: function clear() {
6445
6484
  this.storage.clear();
6446
6485
  this.pipes.filter(function(p) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qlover/fe-corekit",
3
3
  "description": "A corekit for frontwork",
4
- "version": "2.3.0",
4
+ "version": "2.3.3",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "files": [
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@types/lodash": "^4.17.12",
45
45
  "axios": "^1.7.9",
46
- "@qlover/logger": "0.3.0"
46
+ "@qlover/logger": "0.3.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "lodash": "^4.17.21"