@frontera-sdk/functions 1.50.82 → 1.50.84
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/package.json +2 -2
- package/src/types.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/functions",
|
|
3
|
-
"version": "1.50.
|
|
3
|
+
"version": "1.50.84",
|
|
4
4
|
"description": "Author Frontera functions: manifest, triggers and the typed handler contract.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"frontera",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "^5.9.3"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@frontera-sdk/blueprint": "1.50.
|
|
45
|
+
"@frontera-sdk/blueprint": "1.50.84",
|
|
46
46
|
"cron-parser": "^5.0.6"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/src/types.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// `AutomationContext` needs it to resolve. See the packaging note in
|
|
5
5
|
// docs/superpowers/specs/2026-07-29-automations-ctx-blueprint-query-design.md —
|
|
6
6
|
// a subset install that cannot resolve it aborts `bun install` outright.
|
|
7
|
-
import type { WhereNode } from '@frontera-sdk/blueprint/types'
|
|
7
|
+
import type { NearestRequest, WhereNode } from '@frontera-sdk/blueprint/types'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Cron, manual, and agent for now; event and webhook land with Event Triggers.
|
|
@@ -608,6 +608,10 @@ export interface BlueprintQueryOptions {
|
|
|
608
608
|
* first page. Cursor-based, so a scan stays correct while the table moves
|
|
609
609
|
* underneath it — which a cron-driven automation's table always does. */
|
|
610
610
|
pageToken?: string
|
|
611
|
+
/** Closest first from `nearest.from`, with `_distanceMeters` on each row.
|
|
612
|
+
* `where` must also hold a `nearby` or `withinBbox` on the same location,
|
|
613
|
+
* and `orderBy` must be omitted. */
|
|
614
|
+
nearest?: NearestRequest
|
|
611
615
|
}
|
|
612
616
|
|
|
613
617
|
export interface BlueprintQueryResult<T = Record<string, unknown>> {
|