@zauru-sdk/redux 2.27.0 → 2.31.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.
|
@@ -18,6 +18,7 @@ const initialState = {
|
|
|
18
18
|
templates: createLoadingState([]),
|
|
19
19
|
shipments: createLoadingState([]),
|
|
20
20
|
bookings: createLoadingState([]),
|
|
21
|
+
programaciones4pinos: createLoadingState([]),
|
|
21
22
|
motivosRechazo: createLoadingState([]),
|
|
22
23
|
ccPorcentajesDeRechazo: createLoadingState([]),
|
|
23
24
|
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 } from "@zauru-sdk/types";
|
|
2
|
-
export type CATALOGS_NAMES = "agencies" | "suggestedPrices" | "providers" | "providerCategories" | "receptionTypes" | "tiposDeMuestra" | "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 } 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";
|
|
3
3
|
type LoadingState<T> = {
|
|
4
4
|
data: T;
|
|
5
5
|
loading: boolean;
|
|
@@ -20,6 +20,7 @@ type CatalogState = {
|
|
|
20
20
|
templates: LoadingState<WebAppRowGraphQL<Template>[]>;
|
|
21
21
|
shipments: LoadingState<ShipmentGraphQL[]>;
|
|
22
22
|
bookings: LoadingState<ShipmentGraphQL[]>;
|
|
23
|
+
programaciones4pinos: LoadingState<WebAppRowGraphQL<Programacion>[]>;
|
|
23
24
|
motivosRechazo: LoadingState<WebAppRowGraphQL<MotivoRechazo>[]>;
|
|
24
25
|
ccPorcentajesDeRechazo: LoadingState<WebAppRowGraphQL<CCPorcentajeRechazo>[]>;
|
|
25
26
|
solicitudesEliminacionPO: LoadingState<WebAppRowGraphQL<SolicitudEliminacionPO>[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/redux",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.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",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@reduxjs/toolkit": "^2.2.1",
|
|
28
|
-
"@zauru-sdk/types": "^2.
|
|
28
|
+
"@zauru-sdk/types": "^2.30.0",
|
|
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": "2f9ee02a1ef76fbf71637b8455e4840786489628"
|
|
35
35
|
}
|