@zauru-sdk/redux 6.7.1 → 6.8.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.
|
@@ -19,6 +19,8 @@ const initialState = {
|
|
|
19
19
|
shipments: createLoadingState([]),
|
|
20
20
|
bookings: createLoadingState([]),
|
|
21
21
|
programaciones4pinos: createLoadingState([]),
|
|
22
|
+
providerReceptionBlockRules: createLoadingState([]),
|
|
23
|
+
providerReceptionExceptions: createLoadingState([]),
|
|
22
24
|
motivosRechazo: createLoadingState([]),
|
|
23
25
|
ccPorcentajesDeRechazo: createLoadingState([]),
|
|
24
26
|
solicitudesEliminacionPO: createLoadingState([]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AgencyGraphQL, BitacoraPOMassive, BundleGraphQL, CaseGraphQL, CurrencyGraphQL, EmployeeGraphQL, FormGraphQL, FormSubmissionGraphQL, InvoiceGraphQL, ItemCategoryGraphQL, ItemGraphQL, LotStockGraphQL, MotivoRechazo, CCPorcentajeRechazo, SolicitudEliminacionPO, PesoMaximoPorCanasta, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL, AuthorizationUpdateDiscountPO, PoDiscountHistory, Programacion } from "@zauru-sdk/types";
|
|
2
|
-
export type CATALOGS_NAMES = "agencies" | "suggestedPrices" | "providers" | "providerCategories" | "receptionTypes" | "tiposDeMuestra" | "programaciones4pinos" | "motivosRechazo" | "ccPorcentajesDeRechazo" | "solicitudesEliminacionPO" | "poDiscountHistory" | "authorizationUpdateDiscountPO" | "bitacoraRechazoMasivo" | "pesoMaximoPorCanasta" | "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, SolicitudEliminacionPO, PesoMaximoPorCanasta, PayeeCategoryGraphQL, PayeeGraphQL, PaymentTermGraphQL, ReceptionType, ShipmentGraphQL, SuggestedPriceGraphQL, Template, TipoMuestra, WebAppRowGraphQL, PrintTemplateGraphQL, PaymentMethodGraphQL, AuthorizationUpdateDiscountPO, PoDiscountHistory, Programacion, ProviderReceptionBlockRule, ProviderReceptionException } from "@zauru-sdk/types";
|
|
2
|
+
export type CATALOGS_NAMES = "agencies" | "suggestedPrices" | "providers" | "providerCategories" | "receptionTypes" | "tiposDeMuestra" | "programaciones4pinos" | "providerReceptionBlockRules" | "providerReceptionExceptions" | "motivosRechazo" | "ccPorcentajesDeRechazo" | "solicitudesEliminacionPO" | "poDiscountHistory" | "authorizationUpdateDiscountPO" | "bitacoraRechazoMasivo" | "pesoMaximoPorCanasta" | "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;
|
|
@@ -21,6 +21,8 @@ type CatalogState = {
|
|
|
21
21
|
shipments: LoadingState<ShipmentGraphQL[]>;
|
|
22
22
|
bookings: LoadingState<ShipmentGraphQL[]>;
|
|
23
23
|
programaciones4pinos: LoadingState<WebAppRowGraphQL<Programacion>[]>;
|
|
24
|
+
providerReceptionBlockRules: LoadingState<WebAppRowGraphQL<ProviderReceptionBlockRule>[]>;
|
|
25
|
+
providerReceptionExceptions: LoadingState<WebAppRowGraphQL<ProviderReceptionException>[]>;
|
|
24
26
|
motivosRechazo: LoadingState<WebAppRowGraphQL<MotivoRechazo>[]>;
|
|
25
27
|
ccPorcentajesDeRechazo: LoadingState<WebAppRowGraphQL<CCPorcentajeRechazo>[]>;
|
|
26
28
|
solicitudesEliminacionPO: LoadingState<WebAppRowGraphQL<SolicitudEliminacionPO>[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/redux",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.8.0",
|
|
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",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@reduxjs/toolkit": "^2.2.1",
|
|
29
|
-
"@zauru-sdk/types": "^6.
|
|
29
|
+
"@zauru-sdk/types": "^6.28.0",
|
|
30
30
|
"react": "^18.2.0",
|
|
31
31
|
"react-dom": "^18.2.0",
|
|
32
32
|
"react-redux": "^9.1.0",
|
|
33
33
|
"react-select": "^5.8.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "34f97528fce5cce75e12b18732bdccd7f172a927"
|
|
36
36
|
}
|