@yimingliao/cms 0.0.22 → 0.0.23

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.
@@ -612,7 +612,7 @@ interface ServerActionOptions {
612
612
  key?: RawCacheKey;
613
613
  ttl?: number;
614
614
  }
615
- declare function createExecuteAction({ initI18n, cacheResult, cache, logger, }: CreateServerActionOptions): Promise<(<D = void>(fn: Action<D>, options?: ServerActionOptions) => Promise<Result<D>>)>;
615
+ declare function createExecuteAction({ initI18n, cacheResult, cache, logger, }: CreateServerActionOptions): <D = void>(fn: Action<D>, options?: ServerActionOptions) => Promise<Result<D>>;
616
616
 
617
617
  declare const normalizeError: (error: unknown, translator: BaseTranslator<LocaleMessages>) => {
618
618
  message: string;
@@ -1469,7 +1469,7 @@ var normalizeError = (error, translator) => {
1469
1469
  };
1470
1470
 
1471
1471
  // src/server/interfaces/execute-action/create-execute-action.ts
1472
- async function createExecuteAction({
1472
+ function createExecuteAction({
1473
1473
  initI18n,
1474
1474
  cacheResult,
1475
1475
  cache,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",