@townco/apiclient 0.0.17 → 0.0.18
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/server.d.ts +29 -0
- package/package.json +2 -2
package/dist/server.d.ts
CHANGED
|
@@ -35,6 +35,35 @@ export declare const routerBuilder: import("@trpc/server").TRPCRouterBuilder<{
|
|
|
35
35
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
36
36
|
transformer: true;
|
|
37
37
|
}>;
|
|
38
|
+
export declare const EXPECTED_SERVICES: readonly [
|
|
39
|
+
{
|
|
40
|
+
readonly name: "web";
|
|
41
|
+
readonly port: 5173;
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
readonly name: "debugger";
|
|
45
|
+
readonly port: 4000;
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
readonly name: "otlp";
|
|
49
|
+
readonly port: 4318;
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
readonly name: "acp";
|
|
53
|
+
readonly port: 3100;
|
|
54
|
+
}
|
|
55
|
+
];
|
|
56
|
+
export type FlyAppStatus = {
|
|
57
|
+
status: string | null;
|
|
58
|
+
url: string | null;
|
|
59
|
+
};
|
|
60
|
+
export declare const getFlyAppStatus: (flyAppName: string) => Promise<FlyAppStatus>;
|
|
61
|
+
export type MachineProcess = {
|
|
62
|
+
machineId: string;
|
|
63
|
+
state: string;
|
|
64
|
+
listenPorts: number[];
|
|
65
|
+
};
|
|
66
|
+
export declare const getMachineProcesses: (flyAppName: string) => Promise<MachineProcess[]>;
|
|
38
67
|
export declare const router: import("@trpc/server").TRPCBuiltRouter<{
|
|
39
68
|
ctx: {
|
|
40
69
|
user: null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@townco/apiclient",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.18",
|
|
5
5
|
"description": "apiclient",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@supabase/storage-js": "^2.87.1",
|
|
21
|
-
"@townco/tsconfig": "0.1.
|
|
21
|
+
"@townco/tsconfig": "0.1.95",
|
|
22
22
|
"@trpc/server": "^11.7.2",
|
|
23
23
|
"@typescript/native-preview": "^7.0.0-dev.20251207.1"
|
|
24
24
|
},
|