@orion-js/dogs 4.0.6 → 4.0.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.
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _orion_js_schema from '@orion-js/schema';
|
|
2
2
|
import { SchemaInAnyOrionForm, Blackbox, InferSchemaType } from '@orion-js/schema';
|
|
3
3
|
import { OrionLogger } from '@orion-js/logger';
|
|
4
|
-
import
|
|
4
|
+
import { StringValue } from 'ms';
|
|
5
5
|
import { Collection, MongoDB } from '@orion-js/mongodb';
|
|
6
6
|
|
|
7
7
|
type ScheduleJobOptionsBase<TParamsSchema extends SchemaInAnyOrionForm> = {
|
|
@@ -232,7 +232,7 @@ interface EventJobDefinition<TParamsSchema extends SchemaInAnyOrionForm = any> e
|
|
|
232
232
|
}
|
|
233
233
|
type CreateEventJobOptions<TParamsSchema extends SchemaInAnyOrionForm = any> = Omit<EventJobDefinition<TParamsSchema>, 'type' | 'schedule'>;
|
|
234
234
|
type CreateRecurrentJobOptions = Omit<RecurrentJobDefinition, 'type' | 'runEvery'> & {
|
|
235
|
-
runEvery: number |
|
|
235
|
+
runEvery: number | StringValue;
|
|
236
236
|
};
|
|
237
237
|
type CreateJobOptions<TParamsSchema extends SchemaInAnyOrionForm = any> = CreateEventJobOptions<TParamsSchema> | CreateRecurrentJobOptions;
|
|
238
238
|
type JobDefinition<TParamsSchema extends SchemaInAnyOrionForm = any> = RecurrentJobDefinition | EventJobDefinition<TParamsSchema>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _orion_js_schema from '@orion-js/schema';
|
|
2
2
|
import { SchemaInAnyOrionForm, Blackbox, InferSchemaType } from '@orion-js/schema';
|
|
3
3
|
import { OrionLogger } from '@orion-js/logger';
|
|
4
|
-
import
|
|
4
|
+
import { StringValue } from 'ms';
|
|
5
5
|
import { Collection, MongoDB } from '@orion-js/mongodb';
|
|
6
6
|
|
|
7
7
|
type ScheduleJobOptionsBase<TParamsSchema extends SchemaInAnyOrionForm> = {
|
|
@@ -232,7 +232,7 @@ interface EventJobDefinition<TParamsSchema extends SchemaInAnyOrionForm = any> e
|
|
|
232
232
|
}
|
|
233
233
|
type CreateEventJobOptions<TParamsSchema extends SchemaInAnyOrionForm = any> = Omit<EventJobDefinition<TParamsSchema>, 'type' | 'schedule'>;
|
|
234
234
|
type CreateRecurrentJobOptions = Omit<RecurrentJobDefinition, 'type' | 'runEvery'> & {
|
|
235
|
-
runEvery: number |
|
|
235
|
+
runEvery: number | StringValue;
|
|
236
236
|
};
|
|
237
237
|
type CreateJobOptions<TParamsSchema extends SchemaInAnyOrionForm = any> = CreateEventJobOptions<TParamsSchema> | CreateRecurrentJobOptions;
|
|
238
238
|
type JobDefinition<TParamsSchema extends SchemaInAnyOrionForm = any> = RecurrentJobDefinition | EventJobDefinition<TParamsSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-js/dogs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dot-object": "^2.1.5",
|
|
22
22
|
"ms": "^2.1.3",
|
|
23
23
|
"@orion-js/helpers": "4.0.0",
|
|
24
|
+
"@orion-js/mongodb": "4.0.7",
|
|
25
|
+
"@orion-js/typed-model": "4.0.4",
|
|
24
26
|
"@orion-js/schema": "4.0.3",
|
|
25
|
-
"@orion-js/mongodb": "4.0.6",
|
|
26
|
-
"@orion-js/typed-model": "4.0.3",
|
|
27
27
|
"@orion-js/services": "4.0.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|