@mestra-dev/contract 0.0.260 → 0.0.262

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 +45 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2029,6 +2029,51 @@ declare const routes: import("hono/hono-base").HonoBase<{
2029
2029
  status: 200;
2030
2030
  };
2031
2031
  };
2032
+ } & {
2033
+ "/history/:workspace/:taskId": {
2034
+ $get: {
2035
+ input: {
2036
+ param: {
2037
+ workspace: string;
2038
+ } & {
2039
+ taskId: string;
2040
+ };
2041
+ };
2042
+ output: {
2043
+ success: false;
2044
+ error: string;
2045
+ };
2046
+ outputFormat: "json";
2047
+ status: 404;
2048
+ } | {
2049
+ input: {
2050
+ param: {
2051
+ workspace: string;
2052
+ } & {
2053
+ taskId: string;
2054
+ };
2055
+ };
2056
+ output: {
2057
+ success: true;
2058
+ history: {
2059
+ id: string;
2060
+ field: string;
2061
+ target: string | null;
2062
+ oldValue: string | null;
2063
+ newValue: string | null;
2064
+ createdAt: string;
2065
+ actor: {
2066
+ id: string;
2067
+ firstName: string | null;
2068
+ lastName: string | null;
2069
+ profilePicture: string | null;
2070
+ } | null;
2071
+ }[];
2072
+ };
2073
+ outputFormat: "json";
2074
+ status: 200;
2075
+ };
2076
+ };
2032
2077
  } & {
2033
2078
  "/update": {
2034
2079
  $post: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.260",
3
+ "version": "0.0.262",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,