@rizom/ops 0.2.0-alpha.730 → 0.2.0-alpha.732
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/brains-ops.js +144 -144
- package/dist/deploy.js +21 -21
- package/dist/fetch-with-timeout.d.ts +3 -0
- package/dist/fs-paths.d.ts +4 -0
- package/dist/index.js +140 -140
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FetchLike } from "@brains/utils/fetch-like";
|
|
2
|
+
/** A fetch that gives up, aborting the request, once it has taken too long. */
|
|
3
|
+
export declare function fetchWithTimeout(fetchImpl: FetchLike, input: string, init: RequestInit, timeoutMs: number): Promise<Response>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Whether a path can be reached; any failure to reach it counts as absent. */
|
|
2
|
+
export declare function fileExists(path: string): Promise<boolean>;
|
|
3
|
+
/** A path with forward slashes, as the registry and its reports write one. */
|
|
4
|
+
export declare function normalizePath(path: string): string;
|