@primocaredentgroup/convex-campaigns-component 0.3.14 → 0.3.16
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/convex/campaigns.ts
CHANGED
|
@@ -22,6 +22,10 @@ export {
|
|
|
22
22
|
runTick,
|
|
23
23
|
} from "./components/campaigns/functions/actions";
|
|
24
24
|
|
|
25
|
+
export {
|
|
26
|
+
runTickMutation,
|
|
27
|
+
} from "./components/campaigns/functions/tickProcessor";
|
|
28
|
+
|
|
25
29
|
/** Public API stabile per PrimoUpCore e componente Richiami */
|
|
26
30
|
export {
|
|
27
31
|
listActiveCampaignsForOrg,
|
|
@@ -90,6 +90,9 @@ export const runTick: any = action({
|
|
|
90
90
|
await assertAuthorized(ctx, ["System", "Admin", "Marketing"]);
|
|
91
91
|
// Path dalla struttura: internal → functions → tickProcessor → runTickMutation
|
|
92
92
|
// Rinominato da internal.ts a tickProcessor.ts per evitare conflitto con namespace "internal"
|
|
93
|
-
return ctx.runMutation(
|
|
93
|
+
return ctx.runMutation(
|
|
94
|
+
(internal as any).components.campaigns.functions.tickProcessor.runTickMutation,
|
|
95
|
+
{},
|
|
96
|
+
);
|
|
94
97
|
},
|
|
95
98
|
});
|