@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.
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
package/dist/server/index.d.ts
CHANGED
|
@@ -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):
|
|
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;
|
package/dist/server/index.js
CHANGED
|
@@ -1469,7 +1469,7 @@ var normalizeError = (error, translator) => {
|
|
|
1469
1469
|
};
|
|
1470
1470
|
|
|
1471
1471
|
// src/server/interfaces/execute-action/create-execute-action.ts
|
|
1472
|
-
|
|
1472
|
+
function createExecuteAction({
|
|
1473
1473
|
initI18n,
|
|
1474
1474
|
cacheResult,
|
|
1475
1475
|
cache,
|