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.
- package/dist/client/client.d.ts +1 -1
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/hook.d.ts +1 -1
- package/dist/system/hooks/locales/use-load-cities/index.d.ts +1 -1
- package/dist/system/hooks/menu/use-load-menu.d.ts +1 -1
- package/dist/system/hooks/notifications/use-load-all/index.d.ts +1 -1
- package/dist/system/hooks/notifications/use-load-no-read/index.d.ts +1 -1
- package/dist/ui/codie-dynamic/client/client.d.ts +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/index.d.ts +2 -2
- package/dist/ui/codie-dynamic/components/interactions/hook/use-interactions.d.ts +2 -2
- package/dist/ui/hooks/use-query/index.d.ts +1 -3
- package/dist/ui/hooks/use-query/index.js +1 -3
- package/dist/ui/hooks/use-query/index.js.map +1 -1
- package/dist/ui/hooks/use-swagger/client/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/client/client.d.ts
CHANGED
|
@@ -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/
|
|
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/
|
|
5
|
+
}): Required<import("../../../../../ui/index.js").QueryState<{
|
|
6
6
|
citiesIBGE: CitieIBGE[];
|
|
7
7
|
options: Option[];
|
|
8
8
|
}>>;
|
|
@@ -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/
|
|
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/
|
|
2
|
+
export declare function useLoadAllNotifications(): Required<import("../../../../ui/index.js").QueryState<INotification[]>>;
|
|
@@ -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("../../
|
|
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("
|
|
24
|
-
export declare function useCategories(): Required<import("
|
|
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("../../../../
|
|
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("../../../../
|
|
5
|
+
mutate: (params?: import("../../../../index.js").FetcherParams & any) => void;
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
};
|
|
@@ -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/
|
|
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,
|
|
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("
|
|
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
|
};
|