infinity-forge 10.6.0 → 10.6.1

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.
@@ -10,6 +10,6 @@ export declare const client: <Url extends keyof Swagger, Method extends keyof Sw
10
10
  url: Url;
11
11
  method: Method;
12
12
  body?: import("../ui/index.js").DeepPartial<Omit<Swagger[Url][Method], "result">>;
13
- } & Partial<Omit<import("../ui/index.js").useQueryProps<any>, "queryFn">>) => Required<import("../ui/hooks/use-query/use-query/index.js").QueryState<Awaited<Swagger[Url][Method] extends {
13
+ } & Partial<Omit<import("../ui/index.js").useQueryProps<any>, "queryFn">>) => Required<import("../ui/index.js").QueryState<Awaited<Swagger[Url][Method] extends {
14
14
  result: infer R;
15
15
  } ? R : never>>>;
@@ -2,7 +2,7 @@ import { Option } from '../../../../../ui/index.js';
2
2
  import { CitieIBGE } from './interfaces.js';
3
3
  export declare function useLoadCities({ uf }: {
4
4
  uf: string;
5
- }): Required<import("../../../../../ui/hooks/use-query/use-query/index.js").QueryState<{
5
+ }): Required<import("../../../../../ui/index.js").QueryState<{
6
6
  citiesIBGE: CitieIBGE[];
7
7
  options: Option[];
8
8
  }>>;
@@ -1,4 +1,4 @@
1
- export declare function useLoadStates(): Required<import("../../../../ui/hooks/use-query/use-query/index.js").QueryState<{
1
+ export declare function useLoadStates(): Required<import("../../../../ui/index.js").QueryState<{
2
2
  label: string;
3
3
  value: string;
4
4
  }[]>>;
@@ -8,4 +8,4 @@ export type Menu = {
8
8
  items?: Menu[];
9
9
  role?: string[];
10
10
  };
11
- export declare function useLoadMenu(props: Partial<Pick<useQueryProps<any>, "enabled">>): Required<import("../../../ui/hooks/use-query/use-query/index.js").QueryState<List<Menu>>>;
11
+ export declare function useLoadMenu(props: Partial<Pick<useQueryProps<any>, "enabled">>): Required<import("../../../ui/index.js").QueryState<List<Menu>>>;
@@ -1,2 +1,2 @@
1
1
  import { INotification } from '../../../../system/index.js';
2
- export declare function useLoadAllNotifications(): Required<import("../../../../ui/hooks/use-query/use-query/index.js").QueryState<INotification[]>>;
2
+ export declare function useLoadAllNotifications(): Required<import("../../../../ui/index.js").QueryState<INotification[]>>;
@@ -1,3 +1,3 @@
1
- export declare function useLoadNoReadNotifications(): Required<import("../../../../ui/hooks/use-query/use-query/index.js").QueryState<{
1
+ export declare function useLoadNoReadNotifications(): Required<import("../../../../ui/index.js").QueryState<{
2
2
  number: number;
3
3
  }>>;
@@ -11,6 +11,6 @@ export declare const useCodieDynamicSwagger: <Url extends keyof Swagger, Method
11
11
  url: Url;
12
12
  method: Method;
13
13
  body?: import("../../hooks/use-swagger/client/index.js").DeepPartial<Omit<Swagger[Url][Method], "result">>;
14
- } & Partial<Omit<import("../../index.js").useQueryProps<any>, "queryFn">>) => Required<import("../../hooks/use-query/use-query/index.js").QueryState<Awaited<Swagger[Url][Method] extends {
14
+ } & Partial<Omit<import("../../index.js").useQueryProps<any>, "queryFn">>) => Required<import("../../index.js").QueryState<Awaited<Swagger[Url][Method] extends {
15
15
  result: infer R;
16
16
  } ? R : never>>>;
@@ -20,5 +20,5 @@ export type SourceFilterHeaderType = {
20
20
  }>;
21
21
  };
22
22
  export declare function SourceFilterHeader({ filters }: SourceFilterHeaderType): import("react/jsx-runtime").JSX.Element;
23
- export declare function useLocales(): Required<import("../../../../hooks/use-query/use-query/index.js").QueryState<any>>;
24
- export declare function useCategories(): Required<import("../../../../hooks/use-query/use-query/index.js").QueryState<any>>;
23
+ export declare function useLocales(): Required<import("../../../../../ui/index.js").QueryState<any>>;
24
+ export declare function useCategories(): Required<import("../../../../../ui/index.js").QueryState<any>>;
@@ -1,7 +1,7 @@
1
1
  import { IEvaluationsProps } from "../component.js";
2
2
  export declare function useInteractions(props: IEvaluationsProps): {
3
- interactionConfiguration: Required<import("../../../../hooks/use-query/use-query/index.js").QueryState<import("../../../client/swagger_client.js").InteractionConfigResponseApiResponse>>;
3
+ interactionConfiguration: Required<import("../../../../index.js").QueryState<import("../../../client/swagger_client.js").InteractionConfigResponseApiResponse>>;
4
4
  data: import("../../../client/swagger_client.js").InteractionDetailResponseApiResponse;
5
- mutate: (params?: import("../../../../hooks/use-query/use-query/index.js").FetcherParams & any) => void;
5
+ mutate: (params?: import("../../../../index.js").FetcherParams & any) => void;
6
6
  isLoading: boolean;
7
7
  };
@@ -1,3 +1 @@
1
- export * from "./use-query/hook.js";
2
- export * from "./use-query/use-mutation.js";
3
- export * from "./use-query/context.js";
1
+ export * from "./use-query/index.js";
@@ -14,7 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./use-query/hook.js"), exports);
18
- __exportStar(require("./use-query/use-mutation.js"), exports);
19
- __exportStar(require("./use-query/context.js"), exports);
17
+ __exportStar(require("./use-query/index.js"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,mDAAgC;AAChC,2DAAwC;AACxC,sDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,8CAA2B"}
@@ -23,7 +23,7 @@ export declare function createClient<Swagger>({ fetcher, defaultHeaders, }: {
23
23
  url: Url;
24
24
  method: Method;
25
25
  body?: DeepPartial<Omit<Swagger[Url][Method], "result">>;
26
- } & Partial<Omit<useQueryProps<any>, "queryFn">>) => Required<import("../../use-query/use-query/index.js").QueryState<Awaited<Swagger[Url][Method] extends {
26
+ } & Partial<Omit<useQueryProps<any>, "queryFn">>) => Required<import("../../../../ui/index.js").QueryState<Awaited<Swagger[Url][Method] extends {
27
27
  result: infer R;
28
28
  } ? R : never>>>;
29
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "10.6.0",
3
+ "version": "10.6.1",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",