@zauru-sdk/redux 2.0.204 → 2.0.208
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.
|
@@ -20,6 +20,7 @@ const initialState = {
|
|
|
20
20
|
bookings: createLoadingState([]),
|
|
21
21
|
motivosRechazo: createLoadingState([]),
|
|
22
22
|
ccPorcentajesDeRechazo: createLoadingState([]),
|
|
23
|
+
authorizationUpdateDiscountPO: createLoadingState([]),
|
|
23
24
|
bitacoraRechazoMasivo: createLoadingState([]),
|
|
24
25
|
items: createLoadingState([]),
|
|
25
26
|
itemsByReception: createLoadingState([]),
|
package/dist/esm/store.js
CHANGED
|
@@ -15,7 +15,7 @@ const templates_slice_js_1 = __importDefault(require("./slices/templates.slice.j
|
|
|
15
15
|
const automaticNumbers_slice_js_1 = __importDefault(require("./slices/automaticNumbers.slice.js"));
|
|
16
16
|
const tables_slice_js_1 = __importDefault(require("./slices/tables.slice.js"));
|
|
17
17
|
const formsSavedData_slice_js_1 = __importDefault(require("./slices/formsSavedData.slice.js"));
|
|
18
|
-
exports.LOCAL_STORAGE_REDUX_NAME = "___redux__state__v5";
|
|
18
|
+
exports.LOCAL_STORAGE_REDUX_NAME = "___redux__state__v5.1";
|
|
19
19
|
const persistanceLocalStorageMiddleware = (store) => (next) => (action) => {
|
|
20
20
|
const result = next(action);
|
|
21
21
|
if (!(typeof document === "undefined")) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AgencyGraphQL, BitacoraPOMassive, BundleGraphQL, CaseGraphQL, CurrencyGraphQL, EmployeeGraphQL, FormGraphQL, FormSubmissionGraphQL, InvoiceGraphQL, ItemCategoryGraphQL, ItemGraphQL, LotStockGraphQL, MotivoRechazo, CCPorcentajeRechazo, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL } from "@zauru-sdk/types";
|
|
2
|
-
export type CATALOGS_NAMES = "agencies" | "suggestedPrices" | "providers" | "providerCategories" | "receptionTypes" | "tiposDeMuestra" | "motivosRechazo" | "ccPorcentajesDeRechazo" | "bitacoraRechazoMasivo" | "items" | "itemsByReception" | "itemsByLab" | "itemServicesByLab" | "itemCategoriesForLab" | "payees" | "payeesForLab" | "payeeCategoriesLabPrices" | "payeeCategories" | "clientCategories" | "bundlesRecipForLab" | "currencies" | "paymentTerms" | "employeesByLab" | "employeesByCurrentAgency" | "invoicesByLab" | "invoicesByCurrentAgency" | "invoiceForms" | "caseForms" | "invoiceFormSubmissions" | "cases" | "myCaseFormSubmissions" | "allForms" | "shipmentsToMyAgency" | "myAgencyLotStocks" | "shipments" | "bookings" | "templates" | "bundlesForLab" | "paymentMethods" | "employees" | "printTemplates" | "caseFormSubmissionsByCaseId" | "invoiceFormSubmissionsByInvoiceId" | "invoiceFormSubmissionsByAgencyId";
|
|
1
|
+
import type { AgencyGraphQL, BitacoraPOMassive, BundleGraphQL, CaseGraphQL, CurrencyGraphQL, EmployeeGraphQL, FormGraphQL, FormSubmissionGraphQL, InvoiceGraphQL, ItemCategoryGraphQL, ItemGraphQL, LotStockGraphQL, MotivoRechazo, CCPorcentajeRechazo, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL, AuthorizationUpdateDiscountPO } from "@zauru-sdk/types";
|
|
2
|
+
export type CATALOGS_NAMES = "agencies" | "suggestedPrices" | "providers" | "providerCategories" | "receptionTypes" | "tiposDeMuestra" | "motivosRechazo" | "ccPorcentajesDeRechazo" | "authorizationUpdateDiscountPO" | "bitacoraRechazoMasivo" | "items" | "itemsByReception" | "itemsByLab" | "itemServicesByLab" | "itemCategoriesForLab" | "payees" | "payeesForLab" | "payeeCategoriesLabPrices" | "payeeCategories" | "clientCategories" | "bundlesRecipForLab" | "currencies" | "paymentTerms" | "employeesByLab" | "employeesByCurrentAgency" | "invoicesByLab" | "invoicesByCurrentAgency" | "invoiceForms" | "caseForms" | "invoiceFormSubmissions" | "cases" | "myCaseFormSubmissions" | "allForms" | "shipmentsToMyAgency" | "myAgencyLotStocks" | "shipments" | "bookings" | "templates" | "bundlesForLab" | "paymentMethods" | "employees" | "printTemplates" | "caseFormSubmissionsByCaseId" | "invoiceFormSubmissionsByInvoiceId" | "invoiceFormSubmissionsByAgencyId";
|
|
3
3
|
type LoadingState<T> = {
|
|
4
4
|
data: T;
|
|
5
5
|
loading: boolean;
|
|
@@ -22,6 +22,7 @@ type CatalogState = {
|
|
|
22
22
|
bookings: LoadingState<ShipmentGraphQL[]>;
|
|
23
23
|
motivosRechazo: LoadingState<WebAppRowGraphQL<MotivoRechazo>[]>;
|
|
24
24
|
ccPorcentajesDeRechazo: LoadingState<WebAppRowGraphQL<CCPorcentajeRechazo>[]>;
|
|
25
|
+
authorizationUpdateDiscountPO: LoadingState<WebAppRowGraphQL<AuthorizationUpdateDiscountPO>[]>;
|
|
25
26
|
bitacoraRechazoMasivo: LoadingState<WebAppRowGraphQL<BitacoraPOMassive>[]>;
|
|
26
27
|
items: LoadingState<ItemGraphQL[]>;
|
|
27
28
|
itemsByReception: LoadingState<ItemGraphQL[]>;
|
package/dist/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TypedUseSelectorHook } from "react-redux";
|
|
2
2
|
import { Tuple } from "@reduxjs/toolkit";
|
|
3
|
-
export declare const LOCAL_STORAGE_REDUX_NAME = "___redux__state__v5";
|
|
3
|
+
export declare const LOCAL_STORAGE_REDUX_NAME = "___redux__state__v5.1";
|
|
4
4
|
type Whitelist = {
|
|
5
5
|
[K in keyof RootState]?: string[];
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/redux",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.208",
|
|
4
4
|
"description": "Estructura de Redux propuesta para el desarrollo de webapps en Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@reduxjs/toolkit": "^2.2.1",
|
|
28
|
-
"@zauru-sdk/types": "^2.0.
|
|
28
|
+
"@zauru-sdk/types": "^2.0.208",
|
|
29
29
|
"react": "^18.2.0",
|
|
30
30
|
"react-dom": "^18.2.0",
|
|
31
31
|
"react-redux": "^9.1.0",
|
|
32
32
|
"react-select": "^5.8.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "12a01ef8632fa8bbabdd6240c449ecdbda608f6d"
|
|
35
35
|
}
|