@mestra-dev/contract 0.0.280 → 0.0.281

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 +42 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1243,6 +1243,48 @@ declare const routes: import("hono/hono-base").HonoBase<{
1243
1243
  status: 200;
1244
1244
  };
1245
1245
  };
1246
+ } & {
1247
+ "/invite/:workspace/:token/reject": {
1248
+ $post: {
1249
+ input: {
1250
+ param: {
1251
+ workspace: string;
1252
+ token: string;
1253
+ };
1254
+ };
1255
+ output: {
1256
+ success: false;
1257
+ error: string;
1258
+ };
1259
+ outputFormat: "json";
1260
+ status: 409;
1261
+ } | {
1262
+ input: {
1263
+ param: {
1264
+ workspace: string;
1265
+ token: string;
1266
+ };
1267
+ };
1268
+ output: {
1269
+ success: false;
1270
+ error: string;
1271
+ };
1272
+ outputFormat: "json";
1273
+ status: 400;
1274
+ } | {
1275
+ input: {
1276
+ param: {
1277
+ workspace: string;
1278
+ token: string;
1279
+ };
1280
+ };
1281
+ output: {
1282
+ success: true;
1283
+ };
1284
+ outputFormat: "json";
1285
+ status: 200;
1286
+ };
1287
+ };
1246
1288
  } & {
1247
1289
  "/policies": {
1248
1290
  $post: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.280",
3
+ "version": "0.0.281",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,