@infrab4a/connect 5.5.2 → 5.5.3
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/index.cjs.js +39 -0
- package/index.esm.js +37 -1
- package/package.json +1 -1
- package/src/domain/catalog/models/index.d.ts +1 -0
- package/src/domain/catalog/models/product-stock-entry.d.ts +16 -0
- package/src/domain/catalog/repositories/index.d.ts +1 -0
- package/src/domain/catalog/repositories/product-stock-entry.repository.d.ts +4 -0
- package/src/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +1 -1
- package/src/infra/hasura-graphql/models/index.d.ts +1 -0
- package/src/infra/hasura-graphql/models/product-stock-entry-hasura-graphql.d.ts +3 -0
- package/src/infra/hasura-graphql/repositories/catalog/index.d.ts +1 -0
- package/src/infra/hasura-graphql/repositories/catalog/product-stock-entry-hasura-graphql.repository.d.ts +8 -0
package/index.cjs.js
CHANGED
|
@@ -939,6 +939,12 @@ tslib.__decorate([
|
|
|
939
939
|
tslib.__metadata("design:type", Object)
|
|
940
940
|
], ProductErrors.prototype, "product", void 0);
|
|
941
941
|
|
|
942
|
+
class ProductStockEntry extends BaseModel {
|
|
943
|
+
static get identifiersFields() {
|
|
944
|
+
return ['id'];
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
|
|
942
948
|
class ProductStockNotification extends BaseModel {
|
|
943
949
|
static get identifiersFields() {
|
|
944
950
|
return ['id'];
|
|
@@ -6012,6 +6018,9 @@ tslib.__decorate([
|
|
|
6012
6018
|
tslib.__metadata("design:type", Object)
|
|
6013
6019
|
], ProductErrorsHasuraGraphQL.prototype, "product", void 0);
|
|
6014
6020
|
|
|
6021
|
+
class ProductStockEntryHasuraGraphQL extends ProductStockEntry {
|
|
6022
|
+
}
|
|
6023
|
+
|
|
6015
6024
|
class CategoryCollectionChildrenHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
|
|
6016
6025
|
constructor({ endpoint, authOptions, interceptors, cache, }) {
|
|
6017
6026
|
super({
|
|
@@ -8672,6 +8681,33 @@ tslib.__decorate([
|
|
|
8672
8681
|
tslib.__metadata("design:returntype", void 0)
|
|
8673
8682
|
], ProductReviewHasuraGraphQLRepository.prototype, "disaproveReview", null);
|
|
8674
8683
|
|
|
8684
|
+
class ProductStockEntryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
|
|
8685
|
+
constructor({ endpoint, authOptions, interceptors, cache, }) {
|
|
8686
|
+
super({
|
|
8687
|
+
tableName: 'product_millenium_stock_entry',
|
|
8688
|
+
model: ProductStockEntry,
|
|
8689
|
+
endpoint,
|
|
8690
|
+
authOptions,
|
|
8691
|
+
interceptors,
|
|
8692
|
+
cache,
|
|
8693
|
+
fields: [
|
|
8694
|
+
'id',
|
|
8695
|
+
{ productId: { columnName: 'product_id' } },
|
|
8696
|
+
{ codProduct: { columnName: 'cod_product' } },
|
|
8697
|
+
{ productDescription: { columnName: 'product_description' } },
|
|
8698
|
+
{ eventDescription: { columnName: 'event_description' } },
|
|
8699
|
+
{ invoiceValue: { columnName: 'invoice_value' } },
|
|
8700
|
+
'price',
|
|
8701
|
+
'quantity',
|
|
8702
|
+
{ invoiceId: { columnName: 'invoice_id' } },
|
|
8703
|
+
{ nfeKey: { columnName: 'nfe_key' } },
|
|
8704
|
+
'batch',
|
|
8705
|
+
{ createdAt: { columnName: 'created_at' } },
|
|
8706
|
+
],
|
|
8707
|
+
});
|
|
8708
|
+
}
|
|
8709
|
+
}
|
|
8710
|
+
|
|
8675
8711
|
class ProductStockNotificationHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
|
|
8676
8712
|
constructor({ endpoint, authOptions, interceptors, cache, }) {
|
|
8677
8713
|
super({
|
|
@@ -11263,6 +11299,9 @@ exports.ProductHasuraGraphQL = ProductHasuraGraphQL;
|
|
|
11263
11299
|
exports.ProductHasuraGraphQLRepository = ProductHasuraGraphQLRepository;
|
|
11264
11300
|
exports.ProductReview = ProductReview;
|
|
11265
11301
|
exports.ProductReviewHasuraGraphQLRepository = ProductReviewHasuraGraphQLRepository;
|
|
11302
|
+
exports.ProductStockEntry = ProductStockEntry;
|
|
11303
|
+
exports.ProductStockEntryHasuraGraphQL = ProductStockEntryHasuraGraphQL;
|
|
11304
|
+
exports.ProductStockEntryHasuraGraphQLRepository = ProductStockEntryHasuraGraphQLRepository;
|
|
11266
11305
|
exports.ProductStockNotification = ProductStockNotification;
|
|
11267
11306
|
exports.ProductStockNotificationHasuraGraphQLRepository = ProductStockNotificationHasuraGraphQLRepository;
|
|
11268
11307
|
exports.ProductVariantFirestoreRepository = ProductVariantFirestoreRepository;
|
package/index.esm.js
CHANGED
|
@@ -915,6 +915,12 @@ __decorate([
|
|
|
915
915
|
__metadata("design:type", Object)
|
|
916
916
|
], ProductErrors.prototype, "product", void 0);
|
|
917
917
|
|
|
918
|
+
class ProductStockEntry extends BaseModel {
|
|
919
|
+
static get identifiersFields() {
|
|
920
|
+
return ['id'];
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
|
|
918
924
|
class ProductStockNotification extends BaseModel {
|
|
919
925
|
static get identifiersFields() {
|
|
920
926
|
return ['id'];
|
|
@@ -5988,6 +5994,9 @@ __decorate([
|
|
|
5988
5994
|
__metadata("design:type", Object)
|
|
5989
5995
|
], ProductErrorsHasuraGraphQL.prototype, "product", void 0);
|
|
5990
5996
|
|
|
5997
|
+
class ProductStockEntryHasuraGraphQL extends ProductStockEntry {
|
|
5998
|
+
}
|
|
5999
|
+
|
|
5991
6000
|
class CategoryCollectionChildrenHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
|
|
5992
6001
|
constructor({ endpoint, authOptions, interceptors, cache, }) {
|
|
5993
6002
|
super({
|
|
@@ -8648,6 +8657,33 @@ __decorate([
|
|
|
8648
8657
|
__metadata("design:returntype", void 0)
|
|
8649
8658
|
], ProductReviewHasuraGraphQLRepository.prototype, "disaproveReview", null);
|
|
8650
8659
|
|
|
8660
|
+
class ProductStockEntryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
|
|
8661
|
+
constructor({ endpoint, authOptions, interceptors, cache, }) {
|
|
8662
|
+
super({
|
|
8663
|
+
tableName: 'product_millenium_stock_entry',
|
|
8664
|
+
model: ProductStockEntry,
|
|
8665
|
+
endpoint,
|
|
8666
|
+
authOptions,
|
|
8667
|
+
interceptors,
|
|
8668
|
+
cache,
|
|
8669
|
+
fields: [
|
|
8670
|
+
'id',
|
|
8671
|
+
{ productId: { columnName: 'product_id' } },
|
|
8672
|
+
{ codProduct: { columnName: 'cod_product' } },
|
|
8673
|
+
{ productDescription: { columnName: 'product_description' } },
|
|
8674
|
+
{ eventDescription: { columnName: 'event_description' } },
|
|
8675
|
+
{ invoiceValue: { columnName: 'invoice_value' } },
|
|
8676
|
+
'price',
|
|
8677
|
+
'quantity',
|
|
8678
|
+
{ invoiceId: { columnName: 'invoice_id' } },
|
|
8679
|
+
{ nfeKey: { columnName: 'nfe_key' } },
|
|
8680
|
+
'batch',
|
|
8681
|
+
{ createdAt: { columnName: 'created_at' } },
|
|
8682
|
+
],
|
|
8683
|
+
});
|
|
8684
|
+
}
|
|
8685
|
+
}
|
|
8686
|
+
|
|
8651
8687
|
class ProductStockNotificationHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
|
|
8652
8688
|
constructor({ endpoint, authOptions, interceptors, cache, }) {
|
|
8653
8689
|
super({
|
|
@@ -10999,4 +11035,4 @@ class ProductsVertexSearch {
|
|
|
10999
11035
|
}
|
|
11000
11036
|
}
|
|
11001
11037
|
|
|
11002
|
-
export { AccessoryImportances, Address, AdyenCardAxiosAdapter, AdyenPaymentMethodFactory, AntifraudBankSlipService, AntifraudCardService, AntifraudGlampointsService, AntifraudPixService, AntifraudProviderFactory, AntifraudProviders, Area, Authentication, AuthenticationFirebaseAuthService, AxiosAdapter, Base, BaseModel, BeardProblems, BeardSizes, BeautyProductImportances, BeautyProfile, BeautyQuestionsHelper, BillingStatus, BodyProblems, BodyShapes, BodyTattoos, BrandCategory, BrandCategoryFirestoreRepository, BrandEquityOptions, BusinessError, BusinessUnitEnum, Buy2Win, Buy2WinFirestoreRepository, Campaign, CampaignBanner, CampaignDashboard, CampaignDashboardFirestoreRepository, CampaignHashtag, CampaignHashtagFirestoreRepository, Category, CategoryCollectionChildren, CategoryCollectionChildrenHasuraGraphQLRepository, CategoryFilter, CategoryFilterHasuraGraphQLRepository, CategoryFirestoreRepository, CategoryHasuraGraphQL, CategoryHasuraGraphQLRepository, CategoryProduct, CategoryProductHasuraGraphQLRepository, Checkout, CheckoutFirestoreRepository, CheckoutSubscription, CheckoutSubscriptionFirestoreRepository, CheckoutTypes, ClassNameHelper, ConnectBaseDocumentSnapshot, ConnectCollectionService, ConnectDocumentService, ConnectFirestoreService, Coupon, CouponCategories, CouponCategory, CouponChannels, CouponFirestoreRepository, CouponOldCategories, CouponSubtypes, CouponTypes, Debug, DebugDecoratorHelper, DebugHelper, DebugNamespaces, DuplicatedResultsError, Edition, EditionStatus, ErrorsCode, Exclusivities, FaceSkinOilinesses, FaceSkinProblems, FaceSkinTones, FamilyIncomes, Filter, FilterHasuraGraphQLRepository, FilterOption, FilterOptionHasuraGraphQLRepository, FilterType, FirebaseFileUploaderService, FragranceImportances, FraudValidationError, GenderDestination, GlampointsPaymentMethodFactory, GlampointsPaymentService, Group, GroupFirestoreRepository, HairColors, HairProblems, HairStrands, HairTypes, Home, HomeFirestoreRepository, InvalidArgumentError, InvalidCheckoutError, KitProduct, KitProductHasuraGraphQL, Lead, LeadFirestoreRepository, LegacyOrderFirestoreRepository, LineItem, Log, LogDocument, LogFirestoreRepository, Logger, MercadoPagoBankSlipAxiosAdapter, MercadoPagoCardAxiosAdapter, MercadoPagoErrorHelper, MercadoPagoPaymentMethodFactory, MercadoPagoPixAxiosAdapter, MercadoPagoRequestHelper, MercadoPagoResponseHelper, MercadoPagoStatusDetailEnum, MercadoPagoStatusEnum, NotFoundError, ObsEmitter, OfficePosition, Order, OrderBlocked, OrderBlockedFirestoreRepository, OrderBlockedType, OrderFirestoreRepository, OrderPaymentStatus, OrderStatus, PagarMeV5OrderStatus, PagarMeV5PaymentStatus, PagarmeBankSlipAxiosAdapter, PagarmeCardAxiosAdapter, PagarmePaymentMethodFactory, PagarmePaymentStatus, PagarmePixAxiosAdapter, PagarmeV5BankSlipAxiosAdapter, PagarmeV5CardAxiosAdapter, PagarmeV5PixAxiosAdapter, Payment, PaymentError, PaymentFirestoreRepository, PaymentMethods, PaymentProviderFactory, PaymentProviders, PaymentTransaction, PaymentType, PersonTypes, Plans, Product, ProductCatalogHasuraGraphQL, ProductCatalogHasuraGraphQLRepository, ProductErrors, ProductErrorsHasuraGraphQL, ProductErrorsHasuraGraphQLRepository, ProductFirestoreRepository, ProductHasuraGraphQL, ProductHasuraGraphQLRepository, ProductLabelEnum, ProductReview, ProductReviewHasuraGraphQLRepository, ProductSpents, ProductStockNotification, ProductStockNotificationHasuraGraphQLRepository, ProductVariantFirestoreRepository, ProductsIndex, ProductsVertexSearch, QuestionsFilters, RecoveryPassword, ReflectHelper, Register, RegisterFirebaseAuthService, RequiredArgumentError, RestCacheAdapter, RoundProductPricesHelper, Sequence, SequenceFirestoreRepository, ShippingMethod, ShopConfigs, ShopConfigsFirestoreRepository, ShopMenu, ShopMenuFirestoreRepository, ShopPageName, ShopSettings, ShopSettingsFirestoreRepository, Shops, SignInMethods, SignOut, Status, StockLimitError, StockOutError, Subscription, SubscriptionEditionFirestoreRepository, SubscriptionFirestoreRepository, SubscriptionMaterialization, SubscriptionMaterializationFirestoreRepository, SubscriptionPayment, SubscriptionPaymentFirestoreRepository, SubscriptionPlan, SubscriptionPlanFirestoreRepository, SubscriptionProductFirestoreRepository, SubscriptionSummary, SubscriptionSummaryFirestoreRepository, Trace, TransactionPaymentMethods, UnauthorizedError, UpdateOptionActions, UpdateUserImage, User, UserAddress, UserAddressFirestoreRepository, UserAlreadyRegisteredError, UserBeautyProfileFirestoreRepository, UserFirestoreRepository, UserPaymentMethod, UserPaymentMethodFirestoreRepository, UserType, Variant, VariantHasuraGraphQL, VariantHasuraGraphQLRepository, VertexAxiosAdapter, WeakPasswordError, Where, Wishlist, WishlistHasuraGraphQLRepository, WishlistLogType, deserialize, getClass, is, isDebuggable, isUUID, parseDateTime, registerClass, resolveClass, serialize, withCreateFirestore, withCreateHasuraGraphQL, withCrudFirestore, withCrudHasuraGraphQL, withDeleteFirestore, withDeleteHasuraGraphQL, withFindFirestore, withFindHasuraGraphQL, withFirestore, withGetFirestore, withGetHasuraGraphQL, withHasuraGraphQL, withHelpers, withSubCollection, withUpdateFirestore, withUpdateHasuraGraphQL };
|
|
11038
|
+
export { AccessoryImportances, Address, AdyenCardAxiosAdapter, AdyenPaymentMethodFactory, AntifraudBankSlipService, AntifraudCardService, AntifraudGlampointsService, AntifraudPixService, AntifraudProviderFactory, AntifraudProviders, Area, Authentication, AuthenticationFirebaseAuthService, AxiosAdapter, Base, BaseModel, BeardProblems, BeardSizes, BeautyProductImportances, BeautyProfile, BeautyQuestionsHelper, BillingStatus, BodyProblems, BodyShapes, BodyTattoos, BrandCategory, BrandCategoryFirestoreRepository, BrandEquityOptions, BusinessError, BusinessUnitEnum, Buy2Win, Buy2WinFirestoreRepository, Campaign, CampaignBanner, CampaignDashboard, CampaignDashboardFirestoreRepository, CampaignHashtag, CampaignHashtagFirestoreRepository, Category, CategoryCollectionChildren, CategoryCollectionChildrenHasuraGraphQLRepository, CategoryFilter, CategoryFilterHasuraGraphQLRepository, CategoryFirestoreRepository, CategoryHasuraGraphQL, CategoryHasuraGraphQLRepository, CategoryProduct, CategoryProductHasuraGraphQLRepository, Checkout, CheckoutFirestoreRepository, CheckoutSubscription, CheckoutSubscriptionFirestoreRepository, CheckoutTypes, ClassNameHelper, ConnectBaseDocumentSnapshot, ConnectCollectionService, ConnectDocumentService, ConnectFirestoreService, Coupon, CouponCategories, CouponCategory, CouponChannels, CouponFirestoreRepository, CouponOldCategories, CouponSubtypes, CouponTypes, Debug, DebugDecoratorHelper, DebugHelper, DebugNamespaces, DuplicatedResultsError, Edition, EditionStatus, ErrorsCode, Exclusivities, FaceSkinOilinesses, FaceSkinProblems, FaceSkinTones, FamilyIncomes, Filter, FilterHasuraGraphQLRepository, FilterOption, FilterOptionHasuraGraphQLRepository, FilterType, FirebaseFileUploaderService, FragranceImportances, FraudValidationError, GenderDestination, GlampointsPaymentMethodFactory, GlampointsPaymentService, Group, GroupFirestoreRepository, HairColors, HairProblems, HairStrands, HairTypes, Home, HomeFirestoreRepository, InvalidArgumentError, InvalidCheckoutError, KitProduct, KitProductHasuraGraphQL, Lead, LeadFirestoreRepository, LegacyOrderFirestoreRepository, LineItem, Log, LogDocument, LogFirestoreRepository, Logger, MercadoPagoBankSlipAxiosAdapter, MercadoPagoCardAxiosAdapter, MercadoPagoErrorHelper, MercadoPagoPaymentMethodFactory, MercadoPagoPixAxiosAdapter, MercadoPagoRequestHelper, MercadoPagoResponseHelper, MercadoPagoStatusDetailEnum, MercadoPagoStatusEnum, NotFoundError, ObsEmitter, OfficePosition, Order, OrderBlocked, OrderBlockedFirestoreRepository, OrderBlockedType, OrderFirestoreRepository, OrderPaymentStatus, OrderStatus, PagarMeV5OrderStatus, PagarMeV5PaymentStatus, PagarmeBankSlipAxiosAdapter, PagarmeCardAxiosAdapter, PagarmePaymentMethodFactory, PagarmePaymentStatus, PagarmePixAxiosAdapter, PagarmeV5BankSlipAxiosAdapter, PagarmeV5CardAxiosAdapter, PagarmeV5PixAxiosAdapter, Payment, PaymentError, PaymentFirestoreRepository, PaymentMethods, PaymentProviderFactory, PaymentProviders, PaymentTransaction, PaymentType, PersonTypes, Plans, Product, ProductCatalogHasuraGraphQL, ProductCatalogHasuraGraphQLRepository, ProductErrors, ProductErrorsHasuraGraphQL, ProductErrorsHasuraGraphQLRepository, ProductFirestoreRepository, ProductHasuraGraphQL, ProductHasuraGraphQLRepository, ProductLabelEnum, ProductReview, ProductReviewHasuraGraphQLRepository, ProductSpents, ProductStockEntry, ProductStockEntryHasuraGraphQL, ProductStockEntryHasuraGraphQLRepository, ProductStockNotification, ProductStockNotificationHasuraGraphQLRepository, ProductVariantFirestoreRepository, ProductsIndex, ProductsVertexSearch, QuestionsFilters, RecoveryPassword, ReflectHelper, Register, RegisterFirebaseAuthService, RequiredArgumentError, RestCacheAdapter, RoundProductPricesHelper, Sequence, SequenceFirestoreRepository, ShippingMethod, ShopConfigs, ShopConfigsFirestoreRepository, ShopMenu, ShopMenuFirestoreRepository, ShopPageName, ShopSettings, ShopSettingsFirestoreRepository, Shops, SignInMethods, SignOut, Status, StockLimitError, StockOutError, Subscription, SubscriptionEditionFirestoreRepository, SubscriptionFirestoreRepository, SubscriptionMaterialization, SubscriptionMaterializationFirestoreRepository, SubscriptionPayment, SubscriptionPaymentFirestoreRepository, SubscriptionPlan, SubscriptionPlanFirestoreRepository, SubscriptionProductFirestoreRepository, SubscriptionSummary, SubscriptionSummaryFirestoreRepository, Trace, TransactionPaymentMethods, UnauthorizedError, UpdateOptionActions, UpdateUserImage, User, UserAddress, UserAddressFirestoreRepository, UserAlreadyRegisteredError, UserBeautyProfileFirestoreRepository, UserFirestoreRepository, UserPaymentMethod, UserPaymentMethodFirestoreRepository, UserType, Variant, VariantHasuraGraphQL, VariantHasuraGraphQLRepository, VertexAxiosAdapter, WeakPasswordError, Where, Wishlist, WishlistHasuraGraphQLRepository, WishlistLogType, deserialize, getClass, is, isDebuggable, isUUID, parseDateTime, registerClass, resolveClass, serialize, withCreateFirestore, withCreateHasuraGraphQL, withCrudFirestore, withCrudHasuraGraphQL, withDeleteFirestore, withDeleteHasuraGraphQL, withFindFirestore, withFindHasuraGraphQL, withFirestore, withGetFirestore, withGetHasuraGraphQL, withHasuraGraphQL, withHelpers, withSubCollection, withUpdateFirestore, withUpdateHasuraGraphQL };
|
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@ export * from './kit-product';
|
|
|
11
11
|
export * from './product';
|
|
12
12
|
export * from './product-errors';
|
|
13
13
|
export * from './product-review';
|
|
14
|
+
export * from './product-stock-entry';
|
|
14
15
|
export * from './product-stock-notification';
|
|
15
16
|
export * from './types';
|
|
16
17
|
export * from './variant';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
+
export declare class ProductStockEntry extends BaseModel<ProductStockEntry> {
|
|
3
|
+
id: number;
|
|
4
|
+
productId: string;
|
|
5
|
+
codProduct: string;
|
|
6
|
+
productDescription: string;
|
|
7
|
+
eventDescription: string;
|
|
8
|
+
invoiceValue: number;
|
|
9
|
+
price: number;
|
|
10
|
+
quantity: number;
|
|
11
|
+
invoiceId: number;
|
|
12
|
+
nfeKey: string;
|
|
13
|
+
batch: string;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
16
|
+
}
|
|
@@ -9,6 +9,7 @@ export * from './group.repository';
|
|
|
9
9
|
export * from './product-catalog.repository';
|
|
10
10
|
export * from './product-errors.repository';
|
|
11
11
|
export * from './product-reviews.repository';
|
|
12
|
+
export * from './product-stock-entry.repository';
|
|
12
13
|
export * from './product-stock-notification.repository';
|
|
13
14
|
export * from './product.repository';
|
|
14
15
|
export * from './subscription-product.repository';
|
|
@@ -5,7 +5,7 @@ import { FirestoreRepository, FirestoreSubRepository } from '../types';
|
|
|
5
5
|
export declare const withHelpers: <TMixinBase extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: MixinCtor<any, any[]> & TMixinBase) => {
|
|
6
6
|
new (...args: any[]): {
|
|
7
7
|
[x: string]: any;
|
|
8
|
-
toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T
|
|
8
|
+
toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T> | QueryDocumentSnapshot<T>[]): T[];
|
|
9
9
|
isSubCollection<T_1 extends ModelBaseStructure<T_1, T_1["identifiersFields"][number]>, E extends ModelBaseStructure<E, E["identifiersFields"][number]>>(repository: FirestoreRepository<T_1> | FirestoreSubRepository<T_1, E>): repository is FirestoreSubRepository<T_1, E>;
|
|
10
10
|
};
|
|
11
11
|
} & TMixinBase;
|
|
@@ -3,4 +3,5 @@ export * from './kit-product-hasura-graphql';
|
|
|
3
3
|
export * from './product-catalog-hasura-graphql';
|
|
4
4
|
export * from './product-errors-hasura-graphql';
|
|
5
5
|
export * from './product-hasura-graphql';
|
|
6
|
+
export * from './product-stock-entry-hasura-graphql';
|
|
6
7
|
export * from './variant-hasura-graphql';
|
|
@@ -8,6 +8,7 @@ export * from './product-catalog-hasura-graphql.repository';
|
|
|
8
8
|
export * from './product-errors-hasura-graphql.repository';
|
|
9
9
|
export * from './product-hasura-graphql.repository';
|
|
10
10
|
export * from './product-review-hasura-graphql.repository';
|
|
11
|
+
export * from './product-stock-entry-hasura-graphql.repository';
|
|
11
12
|
export * from './product-stock-notification-hasura-graphql.repository';
|
|
12
13
|
export * from './variant-hasura-graphql.repository';
|
|
13
14
|
export * from './wishlist-hasura-graphql.repository';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ProductStockEntry } from '../../../../domain';
|
|
2
|
+
import { ProductStockEntryRepository } from '../../../../domain/catalog/repositories';
|
|
3
|
+
import { HasuraConstructorParams } from '../../mixins';
|
|
4
|
+
declare const ProductStockEntryHasuraGraphQLRepository_base: import("../../../../utils").MixinCtor<import("../..").GraphQLRepository<ProductStockEntry> & import("../../../../domain").CrudRepository<ProductStockEntry, import("../../../../domain").CrudParams<ProductStockEntry>> & import("../../mixins").UpdateHasuraGraphQLRepositoryType<ProductStockEntry>, [HasuraConstructorParams<ProductStockEntry> & import("../../mixins/factories").CreateConstructorParams & import("../../mixins/factories").DeleteConstructorParams & import("../../mixins/factories").GetConstructorParams & import("../../mixins").UpdateConstructorParams, ...any[]]>;
|
|
5
|
+
export declare class ProductStockEntryHasuraGraphQLRepository extends ProductStockEntryHasuraGraphQLRepository_base implements ProductStockEntryRepository {
|
|
6
|
+
constructor({ endpoint, authOptions, interceptors, cache, }: Pick<HasuraConstructorParams<ProductStockEntry>, 'endpoint' | 'authOptions' | 'interceptors' | 'cache'>);
|
|
7
|
+
}
|
|
8
|
+
export {};
|