Skip to content

Commit 57bfb9b

Browse files
committed
chore: drop orphan-repair proof harness from PR tip
Remove throwaway proof seed/script and restore Convex generated files to match origin/main so the #3401 tip stays publishable.
1 parent 8c312d8 commit 57bfb9b

5 files changed

Lines changed: 27 additions & 1008 deletions

File tree

convex/_generated/api.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ import type * as lib_workerTextRedaction from "../lib/workerTextRedaction.js";
167167
import type * as maintenance from "../maintenance.js";
168168
import type * as managementDevSeed from "../managementDevSeed.js";
169169
import type * as migrations from "../migrations.js";
170-
import type * as orphanRepairProofDevSeed from "../orphanRepairProofDevSeed.js";
171170
import type * as packageInspectorHttp from "../packageInspectorHttp.js";
172171
import type * as packageInspectorNode from "../packageInspectorNode.js";
173172
import type * as packageLeaderboards from "../packageLeaderboards.js";
@@ -384,7 +383,6 @@ declare const fullApi: ApiFromModules<{
384383
maintenance: typeof maintenance;
385384
managementDevSeed: typeof managementDevSeed;
386385
migrations: typeof migrations;
387-
orphanRepairProofDevSeed: typeof orphanRepairProofDevSeed;
388386
packageInspectorHttp: typeof packageInspectorHttp;
389387
packageInspectorNode: typeof packageInspectorNode;
390388
packageLeaderboards: typeof packageLeaderboards;

convex/_generated/server.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ import {
2121
} from "convex/server";
2222
import type { DataModel } from "./dataModel.js";
2323

24+
/**
25+
* Typesafe environment variables.
26+
*
27+
* This includes platform-provided env vars and any variables declared in
28+
* `convex.config.ts`.
29+
*/
30+
type Env = {
31+
readonly CONVEX_CLOUD_URL: string;
32+
readonly CONVEX_SITE_URL: string;
33+
};
34+
2435
/**
2536
* Define a query in this Convex app's public API.
2637
*
@@ -95,6 +106,14 @@ export declare const internalAction: ActionBuilder<DataModel, "internal">;
95106
*/
96107
export declare const httpAction: HttpActionBuilder;
97108

109+
/**
110+
* Typesafe environment variables.
111+
*
112+
* This includes platform-provided env vars and any variables declared in
113+
* `convex.config.ts`.
114+
*/
115+
export declare const env: Env;
116+
98117
/**
99118
* A set of services for use within Convex query functions.
100119
*

convex/_generated/server.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,11 @@ export const internalAction = internalActionGeneric;
9191
* @returns The wrapped function. Import this function from `convex/http.js` and route it to hook it up.
9292
*/
9393
export const httpAction = httpActionGeneric;
94+
95+
/**
96+
* Typesafe environment variables.
97+
*
98+
* This includes platform-provided env vars and any variables declared in
99+
* `convex.config.ts`.
100+
*/
101+
export const env = process.env;

0 commit comments

Comments
 (0)