@upnextapp/core 0.17.0 → 0.17.1
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.ts +10 -10
- package/dist/index.js +8 -8
- package/dist/scheduling.d.ts +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type { ReminderStatus, ScheduledReminder, RecurrenceType, ResponsibilityDef, AppSettings, StoreSchema } from './types';
|
|
2
|
-
export { calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, HOURLY_STALE_THRESHOLD_MS } from './scheduling';
|
|
3
|
-
export { isTimeOfDayOutsideActiveHours } from './activeHours';
|
|
4
|
-
export { coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS } from './coarsenIdleTime';
|
|
5
|
-
export { formatNextTrigger } from './formatNextTrigger';
|
|
6
|
-
export { buildSignedPayload } from './integrityPayload';
|
|
7
|
-
export { versionSatisfies, isNewer } from './semver';
|
|
8
|
-
export { shouldAutoClose } from './shouldAutoClose';
|
|
9
|
-
export { validatePluginManifest, pluginManifestSchema } from './manifest';
|
|
10
|
-
export type { PluginManifest } from './manifest';
|
|
1
|
+
export type { ReminderStatus, ScheduledReminder, RecurrenceType, ResponsibilityDef, AppSettings, StoreSchema } from './types.js';
|
|
2
|
+
export { calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, HOURLY_STALE_THRESHOLD_MS } from './scheduling.js';
|
|
3
|
+
export { isTimeOfDayOutsideActiveHours } from './activeHours.js';
|
|
4
|
+
export { coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS } from './coarsenIdleTime.js';
|
|
5
|
+
export { formatNextTrigger } from './formatNextTrigger.js';
|
|
6
|
+
export { buildSignedPayload } from './integrityPayload.js';
|
|
7
|
+
export { versionSatisfies, isNewer } from './semver.js';
|
|
8
|
+
export { shouldAutoClose } from './shouldAutoClose.js';
|
|
9
|
+
export { validatePluginManifest, pluginManifestSchema } from './manifest.js';
|
|
10
|
+
export type { PluginManifest } from './manifest.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, HOURLY_STALE_THRESHOLD_MS } from './scheduling';
|
|
2
|
-
export { isTimeOfDayOutsideActiveHours } from './activeHours';
|
|
3
|
-
export { coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS } from './coarsenIdleTime';
|
|
4
|
-
export { formatNextTrigger } from './formatNextTrigger';
|
|
5
|
-
export { buildSignedPayload } from './integrityPayload';
|
|
6
|
-
export { versionSatisfies, isNewer } from './semver';
|
|
7
|
-
export { shouldAutoClose } from './shouldAutoClose';
|
|
8
|
-
export { validatePluginManifest, pluginManifestSchema } from './manifest';
|
|
1
|
+
export { calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, HOURLY_STALE_THRESHOLD_MS } from './scheduling.js';
|
|
2
|
+
export { isTimeOfDayOutsideActiveHours } from './activeHours.js';
|
|
3
|
+
export { coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS } from './coarsenIdleTime.js';
|
|
4
|
+
export { formatNextTrigger } from './formatNextTrigger.js';
|
|
5
|
+
export { buildSignedPayload } from './integrityPayload.js';
|
|
6
|
+
export { versionSatisfies, isNewer } from './semver.js';
|
|
7
|
+
export { shouldAutoClose } from './shouldAutoClose.js';
|
|
8
|
+
export { validatePluginManifest, pluginManifestSchema } from './manifest.js';
|
package/dist/scheduling.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ResponsibilityDef, type ScheduledReminder } from './types';
|
|
1
|
+
import { type ResponsibilityDef, type ScheduledReminder } from './types.js';
|
|
2
2
|
export declare const STALE_ACTIVE_THRESHOLD_MS: number;
|
|
3
3
|
export declare const HOURLY_STALE_THRESHOLD_MS: number;
|
|
4
4
|
export declare function shouldTriggerOnDay(def: ResponsibilityDef, date: Date): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upnextapp/core",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Platform-agnostic core for UpNext: domain types, scheduling math, integrity payloads",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"import": "./dist/index.js"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
+
"sideEffects": false,
|
|
21
22
|
"files": [
|
|
22
23
|
"dist"
|
|
23
24
|
],
|