@astrale-os/cli 1.0.0-beta.44 → 1.0.0-beta.46
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/CHANGELOG.md +15 -0
- package/dist/astrale.js +720 -455
- package/dist/types/admin/graph/nodes.d.ts +2 -0
- package/dist/types/lib/idempotency.d.ts +6 -0
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ export interface ReadAllNodesOptions {
|
|
|
7
7
|
readonly label: string;
|
|
8
8
|
readonly maximum: number;
|
|
9
9
|
readonly maximumPages: number;
|
|
10
|
+
/** Stop before one suffix boundary guaranteed by the Query's explicit total order. */
|
|
11
|
+
readonly orderedBoundary?: (node: Node) => boolean;
|
|
10
12
|
}
|
|
11
13
|
/** Collect one explicitly bounded Node-value projection without hiding cursors. */
|
|
12
14
|
export declare function readAllNodes(graph: AdminGraphQueryApi, ast: QueryAST, options: ReadAllNodesOptions): Promise<readonly Node[]>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Build one protocol-compatible key for an operation that may cross nested Kernel calls. */
|
|
2
|
+
export declare function idempotencyKey(...segments: readonly string[]): string;
|
|
3
|
+
/** Generate a fresh operation id while retaining a short diagnostic namespace. */
|
|
4
|
+
export declare function randomOperationId(...namespace: readonly string[]): string;
|
|
5
|
+
/** Derive one stable bounded key from caller-controlled material without normalizing collisions. */
|
|
6
|
+
export declare function derivedIdempotencyKey(namespace: string, material: string): Promise<string>;
|