@mestra-dev/contract 0.0.242 → 0.0.243

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +22 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1113,6 +1113,28 @@ declare const routes: import("hono/hono-base").HonoBase<{
1113
1113
  status: 200;
1114
1114
  };
1115
1115
  };
1116
+ } & {
1117
+ "/invite/:workspace/:token/status": {
1118
+ $get: {
1119
+ input: {
1120
+ param: {
1121
+ workspace: string;
1122
+ token: string;
1123
+ };
1124
+ };
1125
+ output: {
1126
+ status: "valid";
1127
+ email: string;
1128
+ forCurrentUser: boolean;
1129
+ success: true;
1130
+ } | {
1131
+ status: "expired" | "canceled" | "accepted" | "not_found";
1132
+ success: true;
1133
+ };
1134
+ outputFormat: "json";
1135
+ status: 200;
1136
+ };
1137
+ };
1116
1138
  } & {
1117
1139
  "/invite/:workspace/:token": {
1118
1140
  $get: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.242",
3
+ "version": "0.0.243",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,