@judo/actions 0.33.0 → 0.40.0

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.
@@ -1,26 +1,26 @@
1
1
  import { type ReactNode } from "react";
2
- import type { JudoRestApi } from "../api/judo-rest-api";
2
+ import type { IJudoRestApi } from "../api/i-judo-rest-api";
3
3
  /**
4
4
  * API context type.
5
5
  */
6
6
  export interface ApiContextType {
7
7
  /** JUDO REST API client */
8
- api: JudoRestApi;
8
+ api: IJudoRestApi;
9
9
  }
10
10
  /**
11
11
  * Hook to access the JUDO REST API client.
12
12
  *
13
- * @returns JudoRestApi
13
+ * @returns IJudoRestApi
14
14
  * @throws Error if used outside ApiProvider
15
15
  */
16
- export declare function useApi(): JudoRestApi;
16
+ export declare function useApi(): IJudoRestApi;
17
17
  /**
18
18
  * Props for ApiProvider.
19
19
  */
20
20
  export interface ApiProviderProps {
21
21
  children: ReactNode;
22
22
  /** JUDO REST API client instance */
23
- api: JudoRestApi;
23
+ api: IJudoRestApi;
24
24
  }
25
25
  /**
26
26
  * Provider for JUDO REST API client.
@@ -1 +1 @@
1
- {"version":3,"file":"api-context.d.ts","sourceRoot":"","sources":["../../src/provider/api-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,2BAA2B;IAC3B,GAAG,EAAE,WAAW,CAAC;CACjB;AAID;;;;;GAKG;AACH,wBAAgB,MAAM,IAAI,WAAW,CAMpC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,oCAAoC;IACpC,GAAG,EAAE,WAAW,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,gBAAgB,2CAG9D"}
1
+ {"version":3,"file":"api-context.d.ts","sourceRoot":"","sources":["../../src/provider/api-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,2BAA2B;IAC3B,GAAG,EAAE,YAAY,CAAC;CAClB;AAID;;;;;GAKG;AACH,wBAAgB,MAAM,IAAI,YAAY,CAMrC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,oCAAoC;IACpC,GAAG,EAAE,YAAY,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,gBAAgB,2CAG9D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@judo/actions",
3
- "version": "0.33.0",
3
+ "version": "0.40.0",
4
4
  "license": "EPL-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@judo/model-api": "0.33.0"
29
+ "@judo/model-api": "0.40.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@testing-library/react": "^16.3.2",