@tachybase/module-cron 0.23.8

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 (50) hide show
  1. package/.turbo/turbo-build.log +14 -0
  2. package/README.md +1 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/components/EndsByField.d.ts +5 -0
  6. package/dist/client/components/FieldsSelect.d.ts +2 -0
  7. package/dist/client/components/OnField.d.ts +5 -0
  8. package/dist/client/components/RepeatField.d.ts +5 -0
  9. package/dist/client/components/locale/Cron.zh-CN.d.ts +34 -0
  10. package/dist/client/cron-jobs-table/CronJobsTable.d.ts +7 -0
  11. package/dist/client/cron-jobs-table/CronJobsTable.schema.d.ts +1241 -0
  12. package/dist/client/index.d.ts +7 -0
  13. package/dist/client/index.js +36 -0
  14. package/dist/client/locale.d.ts +3 -0
  15. package/dist/collections/cronJobs.d.ts +3 -0
  16. package/dist/collections/cronJobs.js +200 -0
  17. package/dist/constants.d.ts +6 -0
  18. package/dist/constants.js +37 -0
  19. package/dist/externalVersion.js +11 -0
  20. package/dist/index.d.ts +2 -0
  21. package/dist/index.js +39 -0
  22. package/dist/locale/en-US.json +36 -0
  23. package/dist/locale/zh-CN.json +36 -0
  24. package/dist/node_modules/cron-parser/LICENSE +21 -0
  25. package/dist/node_modules/cron-parser/lib/date.js +252 -0
  26. package/dist/node_modules/cron-parser/lib/expression.js +1002 -0
  27. package/dist/node_modules/cron-parser/lib/field_compactor.js +70 -0
  28. package/dist/node_modules/cron-parser/lib/field_stringify.js +58 -0
  29. package/dist/node_modules/cron-parser/lib/parser.js +1 -0
  30. package/dist/node_modules/cron-parser/package.json +1 -0
  31. package/dist/node_modules/cron-parser/types/common.d.ts +131 -0
  32. package/dist/node_modules/cron-parser/types/index.d.ts +45 -0
  33. package/dist/node_modules/cron-parser/types/ts3/index.d.ts +28 -0
  34. package/dist/server/actions/cron-jobs-controller.d.ts +4 -0
  35. package/dist/server/actions/cron-jobs-controller.js +94 -0
  36. package/dist/server/collections/cronJobs.d.ts +1 -0
  37. package/dist/server/collections/cronJobs.js +33 -0
  38. package/dist/server/index.d.ts +1 -0
  39. package/dist/server/index.js +33 -0
  40. package/dist/server/model/CronJobModel.d.ts +19 -0
  41. package/dist/server/model/CronJobModel.js +29 -0
  42. package/dist/server/plugin.d.ts +11 -0
  43. package/dist/server/plugin.js +104 -0
  44. package/dist/server/service/StaticScheduleTrigger.d.ts +15 -0
  45. package/dist/server/service/StaticScheduleTrigger.js +298 -0
  46. package/dist/server/utils/index.d.ts +1 -0
  47. package/dist/server/utils/index.js +29 -0
  48. package/package.json +23 -0
  49. package/server.d.ts +2 -0
  50. package/server.js +1 -0
@@ -0,0 +1,14 @@
1
+
2
+ 
3
+ > @tachybase/module-cron@0.23.7 build /Users/seal/Documents/projects/tachybase/packages/module-cron
4
+ > tachybase-build --no-dts @tachybase/module-cron
5
+
6
+ The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
7
+ @tachybase/module-cron: module-cron build start
8
+ @tachybase/module-cron: build plugin client
9
+ @tachybase/module-cron: build plugin server source
10
+ @tachybase/module-cron: delete server files
11
+ @tachybase/module-cron: build plugin server dependencies
12
+ @tachybase/module-cron: These packages cron-parser will be bundled to dist/node_modules. These packages @tachybase/database, @tachybase/server, @tachybase/actions, @tachybase/utils, @tachybase/module-workflow will be exclude.
13
+ @tachybase/module-cron: write external version
14
+
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # @tachybase/module-cron
package/client.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './dist/client';
2
+ export { default } from './dist/client';
package/client.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/client/index.js');
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare function EndsByField({ value, onChange }: {
3
+ value: any;
4
+ onChange: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const FieldsSelect: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare function OnField({ value: propsValue, onChange }: {
3
+ value: any;
4
+ onChange: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare function RepeatField({ value, onChange }: {
3
+ value?: any;
4
+ onChange: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,34 @@
1
+ declare const _default: {
2
+ everyText: string;
3
+ emptyMonths: string;
4
+ emptyMonthDays: string;
5
+ emptyMonthDaysShort: string;
6
+ emptyWeekDays: string;
7
+ emptyWeekDaysShort: string;
8
+ emptyHours: string;
9
+ emptyMinutes: string;
10
+ emptyMinutesForHourPeriod: string;
11
+ yearOption: string;
12
+ monthOption: string;
13
+ weekOption: string;
14
+ dayOption: string;
15
+ hourOption: string;
16
+ minuteOption: string;
17
+ rebootOption: string;
18
+ prefixPeriod: string;
19
+ prefixMonths: string;
20
+ prefixMonthDays: string;
21
+ prefixWeekDays: string;
22
+ prefixWeekDaysForMonthAndYearPeriod: string;
23
+ prefixHours: string;
24
+ prefixMinutes: string;
25
+ prefixMinutesForHourPeriod: string;
26
+ suffixMinutesForHourPeriod: string;
27
+ errorInvalidCron: string;
28
+ clearButtonText: string;
29
+ weekDays: string[];
30
+ months: string[];
31
+ altWeekDays: string[];
32
+ altMonths: string[];
33
+ };
34
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export declare const ExecutionResourceProvider: ({ params, filter, ...others }: {
3
+ [x: string]: any;
4
+ params: any;
5
+ filter?: {};
6
+ }) => React.JSX.Element;
7
+ export declare const CronJobsTable: () => React.JSX.Element;