@vef-framework-react/cron 2.24.1 → 2.26.0

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.
Files changed (35) hide show
  1. package/dist/cjs/api/index.cjs +1 -1
  2. package/dist/cjs/api/query.cjs +1 -1
  3. package/dist/cjs/api/run-api.cjs +1 -1
  4. package/dist/cjs/api/schedule-api.cjs +1 -1
  5. package/dist/cjs/index.cjs +1 -1
  6. package/dist/es/api/index.js +5 -5
  7. package/dist/es/api/query.js +9 -2
  8. package/dist/es/api/run-api.js +4 -7
  9. package/dist/es/api/schedule-api.js +11 -8
  10. package/dist/es/components/duration.js +1 -1
  11. package/dist/es/components/format.js +1 -1
  12. package/dist/es/components/index.js +1 -1
  13. package/dist/es/components/status/colors.js +1 -1
  14. package/dist/es/components/status/index.js +1 -1
  15. package/dist/es/components/status/labels.js +1 -1
  16. package/dist/es/components/trigger-editor/helpers.js +1 -1
  17. package/dist/es/components/trigger-editor/index.js +1 -1
  18. package/dist/es/index.js +19 -19
  19. package/dist/es/pages/index.js +1 -1
  20. package/dist/es/pages/run-page/columns.js +1 -1
  21. package/dist/es/pages/run-page/detail.js +1 -1
  22. package/dist/es/pages/run-page/index.js +1 -1
  23. package/dist/es/pages/run-page/search.js +1 -1
  24. package/dist/es/pages/schedule-page/columns.js +1 -1
  25. package/dist/es/pages/schedule-page/form.js +1 -1
  26. package/dist/es/pages/schedule-page/helpers.js +1 -1
  27. package/dist/es/pages/schedule-page/index.js +1 -1
  28. package/dist/es/pages/schedule-page/model.js +1 -1
  29. package/dist/es/pages/schedule-page/search.js +1 -1
  30. package/dist/es/permissions.js +1 -1
  31. package/dist/es/types/enums.js +1 -1
  32. package/dist/es/types/index.js +1 -1
  33. package/dist/types/api/index.d.ts +1 -1
  34. package/dist/types/api/query.d.ts +8 -0
  35. package/package.json +4 -4
@@ -1 +1 @@
1
- const e=require("./query.cjs"),t=require("./run-api.cjs"),n=require("./schedule-api.cjs");exports.API_PATH=e.API_PATH,exports.splitQueryParams=e.splitQueryParams,exports.useRunApi=t.useRunApi,exports.useScheduleApi=n.useScheduleApi;
1
+ const e=require("./query.cjs"),t=require("./run-api.cjs"),n=require("./schedule-api.cjs");exports.API_PATH=e.API_PATH,exports.splitQueryParams=e.splitQueryParams,exports.toCrudReadMeta=e.toCrudReadMeta,exports.useRunApi=t.useRunApi,exports.useScheduleApi=n.useScheduleApi;
@@ -1 +1 @@
1
- let e=require("@vef-framework-react/components");var t=`/api`;function n(t){let{[e.SYMBOL_PAGINATION]:n,...r}=t;return{params:r,pagination:n}}exports.API_PATH=t,exports.splitQueryParams=n;
1
+ let e=require("@vef-framework-react/components");var t=`/api`;function n(t){let{[e.SYMBOL_PAGINATION]:n,...r}=t;return{params:r,pagination:n}}function r(e){let{params:t,pagination:r}=n(e);return{...t,...r}}exports.API_PATH=t,exports.splitQueryParams=n,exports.toCrudReadMeta=r;
@@ -1 +1 @@
1
- const e=require("./query.cjs");let t=require("@vef-framework-react/core"),n=require("react");var r=`sys/cron/run`;function i(){let i=(0,t.useApiClient)();return(0,n.useMemo)(()=>({findPage:i.createQueryFn(`cron_run_find_page`,({post:n})=>async i=>{let{params:a,pagination:o}=e.splitQueryParams(i);return(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`find_page`,a,o)})).data}),findOne:i.createQueryFn(`cron_run_find_one`,({post:n})=>async i=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`find_one`,i)})).data)}),[i])}exports.useRunApi=i;
1
+ const e=require("./query.cjs");let t=require("@vef-framework-react/core"),n=require("react");var r=`sys/cron/run`;function i(){let i=(0,t.useApiClient)();return(0,n.useMemo)(()=>({findPage:i.createQueryFn(`cron_run_find_page`,({post:n})=>async i=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`find_page`,{},e.toCrudReadMeta(i))})).data),findOne:i.createQueryFn(`cron_run_find_one`,({post:n})=>async i=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`find_one`,{},i)})).data)}),[i])}exports.useRunApi=i;
@@ -1 +1 @@
1
- const e=require("./query.cjs");let t=require("@vef-framework-react/core"),n=require("react");var r=`sys/cron/schedule`;function i(){let i=(0,t.useApiClient)();return(0,n.useMemo)(()=>({findPage:i.createQueryFn(`cron_schedule_find_page`,({post:n})=>async i=>{let{params:a,pagination:o}=e.splitQueryParams(i),{isEnabled:s,...c}=a,l=s===`true`?{...c,isEnabled:!0}:s===`false`?{...c,isEnabled:!1}:c;return(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`find_page`,l,o)})).data}),get:i.createQueryFn(`cron_schedule_get`,({post:n})=>async i=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`get`,i)})).data),listJobs:i.createQueryFn(`cron_schedule_list_jobs`,({post:n})=>async()=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`list_jobs`)})).data),previewFires:i.createQueryFn(`cron_schedule_preview_fires`,({post:n})=>async i=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`preview_fires`,i)})).data),create:i.createMutationFn(`cron_schedule_create`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`create`,i)})),update:i.createMutationFn(`cron_schedule_update`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`update`,i)})),remove:i.createMutationFn(`cron_schedule_delete`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`delete`,{name:i.name})})),pause:i.createMutationFn(`cron_schedule_pause`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`pause`,{name:i.name})})),resume:i.createMutationFn(`cron_schedule_resume`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`resume`,{name:i.name})})),triggerNow:i.createMutationFn(`cron_schedule_trigger_now`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`trigger_now`,{name:i.name})}))}),[i])}exports.useScheduleApi=i;
1
+ const e=require("./query.cjs");let t=require("@vef-framework-react/core"),n=require("react");var r=`sys/cron/schedule`;function i(){let i=(0,t.useApiClient)();return(0,n.useMemo)(()=>({findPage:i.createQueryFn(`cron_schedule_find_page`,({post:n})=>async i=>{let{params:a,pagination:o}=e.splitQueryParams(i),{isEnabled:s,...c}=a,l=s===`true`?{...c,isEnabled:!0}:s===`false`?{...c,isEnabled:!1}:c;return(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`find_page`,{},{...l,...o})})).data}),get:i.createQueryFn(`cron_schedule_get`,({post:n})=>async i=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`get`,i)})).data),listJobs:i.createQueryFn(`cron_schedule_list_jobs`,({post:n})=>async()=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`list_jobs`)})).data),previewFires:i.createQueryFn(`cron_schedule_preview_fires`,({post:n})=>async i=>(await n(e.API_PATH,{data:(0,t.createApiRequest)(r,`preview_fires`,i)})).data),create:i.createMutationFn(`cron_schedule_create`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`create`,i)})),update:i.createMutationFn(`cron_schedule_update`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`update`,i)})),remove:i.createMutationFn(`cron_schedule_delete`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`delete`,{name:i.name})})),pause:i.createMutationFn(`cron_schedule_pause`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`pause`,{name:i.name})})),resume:i.createMutationFn(`cron_schedule_resume`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`resume`,{name:i.name})})),triggerNow:i.createMutationFn(`cron_schedule_trigger_now`,({post:n})=>i=>n(e.API_PATH,{data:(0,t.createApiRequest)(r,`trigger_now`,{name:i.name})}))}),[i])}exports.useScheduleApi=i;
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./api/query.cjs"),t=require("./api/run-api.cjs"),n=require("./api/schedule-api.cjs"),r=require("./components/duration.cjs"),i=require("./components/format.cjs"),a=require("./components/status/colors.cjs"),o=require("./types/enums.cjs"),s=require("./components/status/labels.cjs"),c=require("./components/status/index.cjs"),l=require("./components/trigger-editor/helpers.cjs"),u=require("./components/trigger-editor/index.cjs"),d=require("./pages/run-page/detail.cjs"),f=require("./pages/run-page/index.cjs"),p=require("./permissions.cjs"),m=require("./pages/schedule-page/model.cjs"),h=require("./pages/schedule-page/helpers.cjs"),g=require("./pages/schedule-page/index.cjs");exports.API_PATH=e.API_PATH,exports.CONCURRENCY_POLICIES=o.CONCURRENCY_POLICIES,exports.CONCURRENCY_POLICY_LABELS=s.CONCURRENCY_POLICY_LABELS,exports.CONCURRENCY_POLICY_OPTIONS=s.CONCURRENCY_POLICY_OPTIONS,exports.CRON_PERMISSIONS=p.CRON_PERMISSIONS,exports.CronRunPage=f.CronRunPage,exports.CronSchedulePage=g.CronSchedulePage,exports.DEFAULT_TRIGGER=l.DEFAULT_TRIGGER,exports.EnabledTag=c.EnabledTag,exports.INTERVAL_UNITS=r.INTERVAL_UNITS,exports.MISFIRE_POLICIES=o.MISFIRE_POLICIES,exports.MISFIRE_POLICY_LABELS=s.MISFIRE_POLICY_LABELS,exports.MISFIRE_POLICY_OPTIONS=s.MISFIRE_POLICY_OPTIONS,exports.RUN_STATUSES=o.RUN_STATUSES,exports.RUN_STATUS_COLORS=a.RUN_STATUS_COLORS,exports.RUN_STATUS_LABELS=s.RUN_STATUS_LABELS,exports.RUN_STATUS_OPTIONS=s.RUN_STATUS_OPTIONS,exports.RunDetailDrawer=d.RunDetailDrawer,exports.RunStatusBadge=c.RunStatusBadge,exports.SCHEDULE_FORM_DEFAULTS=m.SCHEDULE_FORM_DEFAULTS,exports.TIMEOUT_UNITS=r.TIMEOUT_UNITS,exports.TIMEOUT_UNIT_OPTIONS=m.TIMEOUT_UNIT_OPTIONS,exports.TRIGGER_KINDS=o.TRIGGER_KINDS,exports.TRIGGER_KIND_LABELS=s.TRIGGER_KIND_LABELS,exports.TRIGGER_KIND_OPTIONS=s.TRIGGER_KIND_OPTIONS,exports.TriggerEditor=u.TriggerEditor,exports.combineDurationMs=r.combineDurationMs,exports.formatDuration=i.formatDuration,exports.formatTimestamp=i.formatTimestamp,exports.formatTriggerSummary=l.formatTriggerSummary,exports.isTriggerComplete=l.isTriggerComplete,exports.jsonParamsError=m.jsonParamsError,exports.parseJsonParams=m.parseJsonParams,exports.scheduleToFormValues=m.scheduleToFormValues,exports.scheduleToParams=m.scheduleToParams,exports.splitDurationMs=r.splitDurationMs,exports.splitQueryParams=e.splitQueryParams,exports.triggerFormToParams=l.triggerFormToParams,exports.triggerToFormValues=l.triggerToFormValues,exports.useJobNames=h.useJobNames,exports.useRunApi=t.useRunApi,exports.useScheduleApi=n.useScheduleApi,exports.useScheduleFormMutations=h.useScheduleFormMutations;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./api/query.cjs"),t=require("./api/run-api.cjs"),n=require("./api/schedule-api.cjs"),r=require("./components/duration.cjs"),i=require("./components/format.cjs"),a=require("./components/status/colors.cjs"),o=require("./types/enums.cjs"),s=require("./components/status/labels.cjs"),c=require("./components/status/index.cjs"),l=require("./components/trigger-editor/helpers.cjs"),u=require("./components/trigger-editor/index.cjs"),d=require("./pages/run-page/detail.cjs"),f=require("./pages/run-page/index.cjs"),p=require("./permissions.cjs"),m=require("./pages/schedule-page/model.cjs"),h=require("./pages/schedule-page/helpers.cjs"),g=require("./pages/schedule-page/index.cjs");exports.API_PATH=e.API_PATH,exports.CONCURRENCY_POLICIES=o.CONCURRENCY_POLICIES,exports.CONCURRENCY_POLICY_LABELS=s.CONCURRENCY_POLICY_LABELS,exports.CONCURRENCY_POLICY_OPTIONS=s.CONCURRENCY_POLICY_OPTIONS,exports.CRON_PERMISSIONS=p.CRON_PERMISSIONS,exports.CronRunPage=f.CronRunPage,exports.CronSchedulePage=g.CronSchedulePage,exports.DEFAULT_TRIGGER=l.DEFAULT_TRIGGER,exports.EnabledTag=c.EnabledTag,exports.INTERVAL_UNITS=r.INTERVAL_UNITS,exports.MISFIRE_POLICIES=o.MISFIRE_POLICIES,exports.MISFIRE_POLICY_LABELS=s.MISFIRE_POLICY_LABELS,exports.MISFIRE_POLICY_OPTIONS=s.MISFIRE_POLICY_OPTIONS,exports.RUN_STATUSES=o.RUN_STATUSES,exports.RUN_STATUS_COLORS=a.RUN_STATUS_COLORS,exports.RUN_STATUS_LABELS=s.RUN_STATUS_LABELS,exports.RUN_STATUS_OPTIONS=s.RUN_STATUS_OPTIONS,exports.RunDetailDrawer=d.RunDetailDrawer,exports.RunStatusBadge=c.RunStatusBadge,exports.SCHEDULE_FORM_DEFAULTS=m.SCHEDULE_FORM_DEFAULTS,exports.TIMEOUT_UNITS=r.TIMEOUT_UNITS,exports.TIMEOUT_UNIT_OPTIONS=m.TIMEOUT_UNIT_OPTIONS,exports.TRIGGER_KINDS=o.TRIGGER_KINDS,exports.TRIGGER_KIND_LABELS=s.TRIGGER_KIND_LABELS,exports.TRIGGER_KIND_OPTIONS=s.TRIGGER_KIND_OPTIONS,exports.TriggerEditor=u.TriggerEditor,exports.combineDurationMs=r.combineDurationMs,exports.formatDuration=i.formatDuration,exports.formatTimestamp=i.formatTimestamp,exports.formatTriggerSummary=l.formatTriggerSummary,exports.isTriggerComplete=l.isTriggerComplete,exports.jsonParamsError=m.jsonParamsError,exports.parseJsonParams=m.parseJsonParams,exports.scheduleToFormValues=m.scheduleToFormValues,exports.scheduleToParams=m.scheduleToParams,exports.splitDurationMs=r.splitDurationMs,exports.splitQueryParams=e.splitQueryParams,exports.toCrudReadMeta=e.toCrudReadMeta,exports.triggerFormToParams=l.triggerFormToParams,exports.triggerToFormValues=l.triggerToFormValues,exports.useJobNames=h.useJobNames,exports.useRunApi=t.useRunApi,exports.useScheduleApi=n.useScheduleApi,exports.useScheduleFormMutations=h.useScheduleFormMutations;
@@ -1,5 +1,5 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
2
- import { API_PATH as e, splitQueryParams as t } from "./query.js";
3
- import { useRunApi as n } from "./run-api.js";
4
- import { useScheduleApi as r } from "./schedule-api.js";
5
- export { e as API_PATH, t as splitQueryParams, n as useRunApi, r as useScheduleApi };
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
+ import { API_PATH as e, splitQueryParams as t, toCrudReadMeta as n } from "./query.js";
3
+ import { useRunApi as r } from "./run-api.js";
4
+ import { useScheduleApi as i } from "./schedule-api.js";
5
+ export { e as API_PATH, t as splitQueryParams, n as toCrudReadMeta, r as useRunApi, i as useScheduleApi };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { SYMBOL_PAGINATION as e } from "@vef-framework-react/components";
3
3
  //#region src/api/query.ts
4
4
  var t = "/api";
@@ -9,5 +9,12 @@ function n(t) {
9
9
  pagination: n
10
10
  };
11
11
  }
12
+ function r(e) {
13
+ let { params: t, pagination: r } = n(e);
14
+ return {
15
+ ...t,
16
+ ...r
17
+ };
18
+ }
12
19
  //#endregion
13
- export { t as API_PATH, n as splitQueryParams };
20
+ export { t as API_PATH, n as splitQueryParams, r as toCrudReadMeta };
@@ -1,5 +1,5 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
2
- import { API_PATH as e, splitQueryParams as t } from "./query.js";
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
+ import { API_PATH as e, toCrudReadMeta as t } from "./query.js";
3
3
  import { createApiRequest as n, useApiClient as r } from "@vef-framework-react/core";
4
4
  import { useMemo as i } from "react";
5
5
  //#region src/api/run-api.ts
@@ -7,11 +7,8 @@ var a = "sys/cron/run";
7
7
  function o() {
8
8
  let o = r();
9
9
  return i(() => ({
10
- findPage: o.createQueryFn("cron_run_find_page", ({ post: r }) => async (i) => {
11
- let { params: o, pagination: s } = t(i);
12
- return (await r(e, { data: n(a, "find_page", o, s) })).data;
13
- }),
14
- findOne: o.createQueryFn("cron_run_find_one", ({ post: t }) => async (r) => (await t(e, { data: n(a, "find_one", r) })).data)
10
+ findPage: o.createQueryFn("cron_run_find_page", ({ post: r }) => async (i) => (await r(e, { data: n(a, "find_page", {}, t(i)) })).data),
11
+ findOne: o.createQueryFn("cron_run_find_one", ({ post: t }) => async (r) => (await t(e, { data: n(a, "find_one", {}, r) })).data)
15
12
  }), [o]);
16
13
  }
17
14
  //#endregion
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { API_PATH as e, splitQueryParams as t } from "./query.js";
3
3
  import { createApiRequest as n, useApiClient as r } from "@vef-framework-react/core";
4
4
  import { useMemo as i } from "react";
@@ -9,13 +9,16 @@ function o() {
9
9
  return i(() => ({
10
10
  findPage: o.createQueryFn("cron_schedule_find_page", ({ post: r }) => async (i) => {
11
11
  let { params: o, pagination: s } = t(i), { isEnabled: c, ...l } = o;
12
- return (await r(e, { data: n(a, "find_page", c === "true" ? {
13
- ...l,
14
- isEnabled: !0
15
- } : c === "false" ? {
16
- ...l,
17
- isEnabled: !1
18
- } : l, s) })).data;
12
+ return (await r(e, { data: n(a, "find_page", {}, {
13
+ ...c === "true" ? {
14
+ ...l,
15
+ isEnabled: !0
16
+ } : c === "false" ? {
17
+ ...l,
18
+ isEnabled: !1
19
+ } : l,
20
+ ...s
21
+ }) })).data;
19
22
  }),
20
23
  get: o.createQueryFn("cron_schedule_get", ({ post: t }) => async (r) => (await t(e, { data: n(a, "get", r) })).data),
21
24
  listJobs: o.createQueryFn("cron_schedule_list_jobs", ({ post: t }) => async () => (await t(e, { data: n(a, "list_jobs") })).data),
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  //#region src/components/duration.ts
3
3
  var e = [
4
4
  {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import e from "dayjs";
3
3
  //#region src/components/format.ts
4
4
  function t(t) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { INTERVAL_UNITS as e, TIMEOUT_UNITS as t, combineDurationMs as n, splitDurationMs as r } from "./duration.js";
3
3
  import { formatDuration as i, formatTimestamp as a } from "./format.js";
4
4
  import { RUN_STATUS_COLORS as o } from "./status/colors.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  //#region src/components/status/colors.ts
3
3
  var e = {
4
4
  running: "processing",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { RUN_STATUS_COLORS as e } from "./colors.js";
3
3
  import { RUN_STATUS_LABELS as t } from "./labels.js";
4
4
  import { Tag as n } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { CONCURRENCY_POLICIES as e, MISFIRE_POLICIES as t, RUN_STATUSES as n, TRIGGER_KINDS as r } from "../../types/enums.js";
3
3
  //#region src/components/status/labels.ts
4
4
  var i = {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { INTERVAL_UNITS as e, combineDurationMs as t, splitDurationMs as n } from "../duration.js";
3
3
  //#region src/components/trigger-editor/helpers.ts
4
4
  var r = {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { useScheduleApi as e } from "../../api/schedule-api.js";
3
3
  import { INTERVAL_UNITS as t } from "../duration.js";
4
4
  import { TRIGGER_KIND_OPTIONS as n } from "../status/labels.js";
package/dist/es/index.js CHANGED
@@ -1,19 +1,19 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
2
- import { API_PATH as e, splitQueryParams as t } from "./api/query.js";
3
- import { useRunApi as n } from "./api/run-api.js";
4
- import { useScheduleApi as r } from "./api/schedule-api.js";
5
- import { INTERVAL_UNITS as i, TIMEOUT_UNITS as a, combineDurationMs as o, splitDurationMs as s } from "./components/duration.js";
6
- import { formatDuration as c, formatTimestamp as l } from "./components/format.js";
7
- import { RUN_STATUS_COLORS as u } from "./components/status/colors.js";
8
- import { CONCURRENCY_POLICIES as d, MISFIRE_POLICIES as f, RUN_STATUSES as p, TRIGGER_KINDS as m } from "./types/enums.js";
9
- import { CONCURRENCY_POLICY_LABELS as h, CONCURRENCY_POLICY_OPTIONS as g, MISFIRE_POLICY_LABELS as _, MISFIRE_POLICY_OPTIONS as v, RUN_STATUS_LABELS as y, RUN_STATUS_OPTIONS as b, TRIGGER_KIND_LABELS as x, TRIGGER_KIND_OPTIONS as S } from "./components/status/labels.js";
10
- import { EnabledTag as C, RunStatusBadge as w } from "./components/status/index.js";
11
- import { DEFAULT_TRIGGER as T, formatTriggerSummary as E, isTriggerComplete as D, triggerFormToParams as O, triggerToFormValues as k } from "./components/trigger-editor/helpers.js";
12
- import { TriggerEditor as A } from "./components/trigger-editor/index.js";
13
- import { RunDetailDrawer as j } from "./pages/run-page/detail.js";
14
- import { CronRunPage as M } from "./pages/run-page/index.js";
15
- import { CRON_PERMISSIONS as N } from "./permissions.js";
16
- import { SCHEDULE_FORM_DEFAULTS as P, TIMEOUT_UNIT_OPTIONS as F, jsonParamsError as I, parseJsonParams as L, scheduleToFormValues as R, scheduleToParams as z } from "./pages/schedule-page/model.js";
17
- import { useJobNames as B, useScheduleFormMutations as V } from "./pages/schedule-page/helpers.js";
18
- import { CronSchedulePage as H } from "./pages/schedule-page/index.js";
19
- export { e as API_PATH, d as CONCURRENCY_POLICIES, h as CONCURRENCY_POLICY_LABELS, g as CONCURRENCY_POLICY_OPTIONS, N as CRON_PERMISSIONS, M as CronRunPage, H as CronSchedulePage, T as DEFAULT_TRIGGER, C as EnabledTag, i as INTERVAL_UNITS, f as MISFIRE_POLICIES, _ as MISFIRE_POLICY_LABELS, v as MISFIRE_POLICY_OPTIONS, p as RUN_STATUSES, u as RUN_STATUS_COLORS, y as RUN_STATUS_LABELS, b as RUN_STATUS_OPTIONS, j as RunDetailDrawer, w as RunStatusBadge, P as SCHEDULE_FORM_DEFAULTS, a as TIMEOUT_UNITS, F as TIMEOUT_UNIT_OPTIONS, m as TRIGGER_KINDS, x as TRIGGER_KIND_LABELS, S as TRIGGER_KIND_OPTIONS, A as TriggerEditor, o as combineDurationMs, c as formatDuration, l as formatTimestamp, E as formatTriggerSummary, D as isTriggerComplete, I as jsonParamsError, L as parseJsonParams, R as scheduleToFormValues, z as scheduleToParams, s as splitDurationMs, t as splitQueryParams, O as triggerFormToParams, k as triggerToFormValues, B as useJobNames, n as useRunApi, r as useScheduleApi, V as useScheduleFormMutations };
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
+ import { API_PATH as e, splitQueryParams as t, toCrudReadMeta as n } from "./api/query.js";
3
+ import { useRunApi as r } from "./api/run-api.js";
4
+ import { useScheduleApi as i } from "./api/schedule-api.js";
5
+ import { INTERVAL_UNITS as a, TIMEOUT_UNITS as o, combineDurationMs as s, splitDurationMs as c } from "./components/duration.js";
6
+ import { formatDuration as l, formatTimestamp as u } from "./components/format.js";
7
+ import { RUN_STATUS_COLORS as d } from "./components/status/colors.js";
8
+ import { CONCURRENCY_POLICIES as f, MISFIRE_POLICIES as p, RUN_STATUSES as m, TRIGGER_KINDS as h } from "./types/enums.js";
9
+ import { CONCURRENCY_POLICY_LABELS as g, CONCURRENCY_POLICY_OPTIONS as _, MISFIRE_POLICY_LABELS as v, MISFIRE_POLICY_OPTIONS as y, RUN_STATUS_LABELS as b, RUN_STATUS_OPTIONS as x, TRIGGER_KIND_LABELS as S, TRIGGER_KIND_OPTIONS as C } from "./components/status/labels.js";
10
+ import { EnabledTag as w, RunStatusBadge as T } from "./components/status/index.js";
11
+ import { DEFAULT_TRIGGER as E, formatTriggerSummary as D, isTriggerComplete as O, triggerFormToParams as k, triggerToFormValues as A } from "./components/trigger-editor/helpers.js";
12
+ import { TriggerEditor as j } from "./components/trigger-editor/index.js";
13
+ import { RunDetailDrawer as M } from "./pages/run-page/detail.js";
14
+ import { CronRunPage as N } from "./pages/run-page/index.js";
15
+ import { CRON_PERMISSIONS as P } from "./permissions.js";
16
+ import { SCHEDULE_FORM_DEFAULTS as F, TIMEOUT_UNIT_OPTIONS as I, jsonParamsError as L, parseJsonParams as R, scheduleToFormValues as z, scheduleToParams as B } from "./pages/schedule-page/model.js";
17
+ import { useJobNames as V, useScheduleFormMutations as H } from "./pages/schedule-page/helpers.js";
18
+ import { CronSchedulePage as U } from "./pages/schedule-page/index.js";
19
+ export { e as API_PATH, f as CONCURRENCY_POLICIES, g as CONCURRENCY_POLICY_LABELS, _ as CONCURRENCY_POLICY_OPTIONS, P as CRON_PERMISSIONS, N as CronRunPage, U as CronSchedulePage, E as DEFAULT_TRIGGER, w as EnabledTag, a as INTERVAL_UNITS, p as MISFIRE_POLICIES, v as MISFIRE_POLICY_LABELS, y as MISFIRE_POLICY_OPTIONS, m as RUN_STATUSES, d as RUN_STATUS_COLORS, b as RUN_STATUS_LABELS, x as RUN_STATUS_OPTIONS, M as RunDetailDrawer, T as RunStatusBadge, F as SCHEDULE_FORM_DEFAULTS, o as TIMEOUT_UNITS, I as TIMEOUT_UNIT_OPTIONS, h as TRIGGER_KINDS, S as TRIGGER_KIND_LABELS, C as TRIGGER_KIND_OPTIONS, j as TriggerEditor, s as combineDurationMs, l as formatDuration, u as formatTimestamp, D as formatTriggerSummary, O as isTriggerComplete, L as jsonParamsError, R as parseJsonParams, z as scheduleToFormValues, B as scheduleToParams, c as splitDurationMs, t as splitQueryParams, n as toCrudReadMeta, k as triggerFormToParams, A as triggerToFormValues, V as useJobNames, r as useRunApi, i as useScheduleApi, H as useScheduleFormMutations };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { RunDetailDrawer as e } from "./run-page/detail.js";
3
3
  import { CronRunPage as t } from "./run-page/index.js";
4
4
  import { SCHEDULE_FORM_DEFAULTS as n, TIMEOUT_UNIT_OPTIONS as r, jsonParamsError as i, parseJsonParams as a, scheduleToFormValues as o, scheduleToParams as s } from "./schedule-page/model.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { formatDuration as e, formatTimestamp as t } from "../../components/format.js";
3
3
  import { RunStatusBadge as n } from "../../components/status/index.js";
4
4
  import { Text as r } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { useRunApi as e } from "../../api/run-api.js";
3
3
  import { formatDuration as t, formatTimestamp as n } from "../../components/format.js";
4
4
  import { RunStatusBadge as r } from "../../components/status/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { useRunApi as e } from "../../api/run-api.js";
3
3
  import { runColumns as t } from "./columns.js";
4
4
  import { RunDetailDrawer as n } from "./detail.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { RUN_STATUS_OPTIONS as e } from "../../components/status/labels.js";
3
3
  import { Col as t, Row as n, useFormContext as r } from "@vef-framework-react/components";
4
4
  import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { formatTimestamp as e } from "../../components/format.js";
3
3
  import { TRIGGER_KIND_LABELS as t } from "../../components/status/labels.js";
4
4
  import { EnabledTag as n } from "../../components/status/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { CONCURRENCY_POLICY_OPTIONS as e, MISFIRE_POLICY_OPTIONS as t } from "../../components/status/labels.js";
3
3
  import { isTriggerComplete as n } from "../../components/trigger-editor/helpers.js";
4
4
  import { TriggerEditor as r } from "../../components/trigger-editor/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { API_PATH as e } from "../../api/query.js";
3
3
  import { useScheduleApi as t } from "../../api/schedule-api.js";
4
4
  import { scheduleToParams as n } from "./model.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { useScheduleApi as e } from "../../api/schedule-api.js";
3
3
  import { CRON_PERMISSIONS as t } from "../../permissions.js";
4
4
  import { scheduleColumns as n } from "./columns.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { TIMEOUT_UNITS as e, combineDurationMs as t, splitDurationMs as n } from "../../components/duration.js";
3
3
  import { DEFAULT_TRIGGER as r, triggerFormToParams as i, triggerToFormValues as a } from "../../components/trigger-editor/helpers.js";
4
4
  //#region src/pages/schedule-page/model.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { TRIGGER_KIND_OPTIONS as e } from "../../components/status/labels.js";
3
3
  import { useJobNames as t } from "./helpers.js";
4
4
  import { Col as n, Row as r, filterOptionByLabel as i, useFormContext as a } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  //#region src/permissions.ts
3
3
  var e = {
4
4
  schedule: {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  //#region src/types/enums.ts
3
3
  var e = [
4
4
  "cron",
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/cron v2.24.1 made by Venus | 2026-09-28T10:43:02.517Z */
1
+ /*! @vef-framework-react/cron v2.26.0 made by Venus | 2026-10-13T17:03:48.214Z */
2
2
  import { CONCURRENCY_POLICIES as e, MISFIRE_POLICIES as t, RUN_STATUSES as n, TRIGGER_KINDS as r } from "./enums.js";
3
3
  export { e as CONCURRENCY_POLICIES, t as MISFIRE_POLICIES, n as RUN_STATUSES, r as TRIGGER_KINDS };
@@ -1,3 +1,3 @@
1
- export { API_PATH, splitQueryParams } from './query';
1
+ export { API_PATH, splitQueryParams, toCrudReadMeta } from './query';
2
2
  export { useRunApi, type RunApi } from './run-api';
3
3
  export { useScheduleApi, type ScheduleApi } from './schedule-api';
@@ -14,3 +14,11 @@ export declare function splitQueryParams<TSearch extends AnyObject>(queryParams:
14
14
  params: Omit<PaginatedQueryParams<TSearch>, typeof SYMBOL_PAGINATION>;
15
15
  pagination: PaginationParams | undefined;
16
16
  };
17
+ /**
18
+ * Fold ProTable's symbol-keyed query params into the `meta` of a CRUD read
19
+ * (`find_page`, `find_all`, …). The backend decodes a CRUD search struct
20
+ * (`crud.Sortable`) from the request's `meta`, beside `page` / `size`, and
21
+ * never from `params`, where the filters would be dropped. The sort symbol is
22
+ * left on the spread copy; JSON serialization drops it.
23
+ */
24
+ export declare function toCrudReadMeta<TSearch extends AnyObject>(queryParams: PaginatedQueryParams<TSearch>): Omit<PaginatedQueryParams<TSearch>, typeof SYMBOL_PAGINATION> & Partial<PaginationParams>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vef-framework-react/cron",
3
- "version": "2.24.1",
3
+ "version": "2.26.0",
4
4
  "private": false,
5
5
  "description": "Durable cron schedule management pages for VEF framework",
6
6
  "keywords": [
@@ -42,9 +42,9 @@
42
42
  "@emotion/react": "^11.14.0",
43
43
  "dayjs": "^1.11.0",
44
44
  "lucide-react": "^1.23.0",
45
- "@vef-framework-react/components": "2.24.1",
46
- "@vef-framework-react/shared": "2.24.1",
47
- "@vef-framework-react/core": "2.24.1"
45
+ "@vef-framework-react/components": "2.26.0",
46
+ "@vef-framework-react/core": "2.26.0",
47
+ "@vef-framework-react/shared": "2.26.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "react": "^19.2.7"