@serik_lav/api-fe 0.80.0 → 0.82.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.
- package/CHANGELOG.md +10 -0
- package/dist/entities/ad/api/adApi.d.ts +3 -3
- package/dist/entities/auth/api/authApi.d.ts +6 -6
- package/dist/entities/buyer-statistics/api/buyerStatisticsApi.d.ts +81 -81
- package/dist/entities/cart/api/cartApi.d.ts +11 -11
- package/dist/entities/category/api/categoryApi.d.ts +5 -5
- package/dist/entities/chat/api/chatApi.d.ts +12 -12
- package/dist/entities/country/api/countryApi.d.ts +2 -2
- package/dist/entities/creatives/api/creativesApi.d.ts +2 -2
- package/dist/entities/customer/api/customerApi.d.ts +3 -3
- package/dist/entities/faq/api/faqApi.d.ts +17 -17
- package/dist/entities/favorite/api/favoriteApi.d.ts +31 -31
- package/dist/entities/looks/api/looksApi.d.ts +18 -18
- package/dist/entities/notification/api/notificationApi.d.ts +9 -9
- package/dist/entities/novaposhta/api/novaposhtaApi.d.ts +5 -5
- package/dist/entities/order/api/orderApi.d.ts +16 -16
- package/dist/entities/premium/api/premiumApi.d.ts +21 -21
- package/dist/entities/premium-addons/api/premiumAddonsApi.d.ts +21 -21
- package/dist/entities/product/api/productApi.d.ts +26 -26
- package/dist/entities/product/model/store-product.d.ts +2 -0
- package/dist/entities/product/model/store-product.d.ts.map +1 -1
- package/dist/entities/product/model/types.d.ts +10 -0
- package/dist/entities/product/model/types.d.ts.map +1 -1
- package/dist/entities/product/model/types.js +1 -0
- package/dist/entities/product/model/types.js.map +1 -1
- package/dist/entities/referral/api/referralApi.d.ts +4 -4
- package/dist/entities/store/api/storeApi.d.ts +17 -17
- package/dist/entities/storefront/model/types.d.ts +2 -0
- package/dist/entities/storefront/model/types.d.ts.map +1 -1
- package/dist/entities/stories/api/storiesApi.d.ts +9 -9
- package/dist/entities/supplier/api/supplierApi.d.ts +16 -16
- package/dist/entities/system/api/systemApi.d.ts +4 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/shared/api/api.d.ts +13 -2
- package/dist/shared/api/api.d.ts.map +1 -1
- package/dist/shared/api/api.js +27 -10
- package/dist/shared/api/api.js.map +1 -1
- package/dist/shared/lib/apiHosts.d.ts +25 -0
- package/dist/shared/lib/apiHosts.d.ts.map +1 -0
- package/dist/shared/lib/apiHosts.js +48 -0
- package/dist/shared/lib/apiHosts.js.map +1 -0
- package/dist/shared/lib/index.d.ts +1 -0
- package/dist/shared/lib/index.d.ts.map +1 -1
- package/dist/shared/lib/index.js +1 -0
- package/dist/shared/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { GetStoreDomainsResponse, GetStoreRequest, GetStoreResponse, GetStorePlatformsResponse, PayStoreCreationRequest, PayStoreCreationResponse, ValidateStoreDomainRequest, ValidateStoreDomainResponse, CreateStoreResponse, CreateStoreRequest, UpdateStoreWizardResponse, UpdateStoreWizardRequest, UpdateStoreAnalyticsResponse, UpdateStoreAnalyticsRequest, UpdateStoreSettingsResponse, UpdateStoreSettingsRequest, UpdateStoreLandingRequest, UpdateStoreLandingResponse, UploadStoreLandingMediaRequest, UploadStoreLandingMediaResponse, GenerateLandingReviewsRequest, GenerateLandingReviewsResponse, GenerateLandingBulletsRequest, GenerateLandingBulletsResponse, GenerateLandingTextRequest, GenerateLandingTextResponse, GetStoresResponse, GetStoresRequest, DeleteStoreResponse, DeleteStoreRequest } from '../model/types';
|
|
2
|
-
export declare const storeApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").
|
|
3
|
-
getStores: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetStoresRequest, number, import("@reduxjs/toolkit/query").
|
|
4
|
-
getStore: import("@reduxjs/toolkit/query").QueryDefinition<GetStoreRequest, import("@reduxjs/toolkit/query").
|
|
5
|
-
getStoreDomains: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").
|
|
6
|
-
validateStoreDomain: import("@reduxjs/toolkit/query").MutationDefinition<ValidateStoreDomainRequest, import("@reduxjs/toolkit/query").
|
|
7
|
-
getStorePlatforms: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").
|
|
8
|
-
payStoreCreation: import("@reduxjs/toolkit/query").MutationDefinition<PayStoreCreationRequest, import("@reduxjs/toolkit/query").
|
|
9
|
-
createStore: import("@reduxjs/toolkit/query").MutationDefinition<CreateStoreRequest, import("@reduxjs/toolkit/query").
|
|
10
|
-
updateStoreWizard: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreWizardRequest, import("@reduxjs/toolkit/query").
|
|
11
|
-
updateStoreAnalytics: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreAnalyticsRequest, import("@reduxjs/toolkit/query").
|
|
12
|
-
updateStoreSettings: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreSettingsRequest, import("@reduxjs/toolkit/query").
|
|
13
|
-
updateStoreLanding: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreLandingRequest, import("@reduxjs/toolkit/query").
|
|
14
|
-
uploadStoreLandingMedia: import("@reduxjs/toolkit/query").MutationDefinition<UploadStoreLandingMediaRequest, import("@reduxjs/toolkit/query").
|
|
15
|
-
generateLandingReviews: import("@reduxjs/toolkit/query").MutationDefinition<GenerateLandingReviewsRequest, import("@reduxjs/toolkit/query").
|
|
16
|
-
generateLandingBullets: import("@reduxjs/toolkit/query").MutationDefinition<GenerateLandingBulletsRequest, import("@reduxjs/toolkit/query").
|
|
17
|
-
generateLandingText: import("@reduxjs/toolkit/query").MutationDefinition<GenerateLandingTextRequest, import("@reduxjs/toolkit/query").
|
|
18
|
-
deleteStore: import("@reduxjs/toolkit/query").MutationDefinition<DeleteStoreRequest, import("@reduxjs/toolkit/query").
|
|
2
|
+
export declare const storeApi: import("@reduxjs/toolkit/query").Api<(args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, import("@reduxjs/toolkit/query").UpdateDefinitions<{
|
|
3
|
+
getStores: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetStoresRequest, number, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetStoresResponse, "buymeuaApi", unknown>;
|
|
4
|
+
getStore: import("@reduxjs/toolkit/query").QueryDefinition<GetStoreRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetStoreResponse, "buymeuaApi", unknown>;
|
|
5
|
+
getStoreDomains: import("@reduxjs/toolkit/query").QueryDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetStoreDomainsResponse, "buymeuaApi", unknown>;
|
|
6
|
+
validateStoreDomain: import("@reduxjs/toolkit/query").MutationDefinition<ValidateStoreDomainRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, ValidateStoreDomainResponse, "buymeuaApi", unknown>;
|
|
7
|
+
getStorePlatforms: import("@reduxjs/toolkit/query").QueryDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetStorePlatformsResponse, "buymeuaApi", unknown>;
|
|
8
|
+
payStoreCreation: import("@reduxjs/toolkit/query").MutationDefinition<PayStoreCreationRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, PayStoreCreationResponse, "buymeuaApi", unknown>;
|
|
9
|
+
createStore: import("@reduxjs/toolkit/query").MutationDefinition<CreateStoreRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, CreateStoreResponse, "buymeuaApi", unknown>;
|
|
10
|
+
updateStoreWizard: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreWizardRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, UpdateStoreWizardResponse, "buymeuaApi", unknown>;
|
|
11
|
+
updateStoreAnalytics: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreAnalyticsRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, UpdateStoreAnalyticsResponse, "buymeuaApi", unknown>;
|
|
12
|
+
updateStoreSettings: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreSettingsRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, UpdateStoreSettingsResponse, "buymeuaApi", unknown>;
|
|
13
|
+
updateStoreLanding: import("@reduxjs/toolkit/query").MutationDefinition<UpdateStoreLandingRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, UpdateStoreLandingResponse, "buymeuaApi", unknown>;
|
|
14
|
+
uploadStoreLandingMedia: import("@reduxjs/toolkit/query").MutationDefinition<UploadStoreLandingMediaRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, UploadStoreLandingMediaResponse, "buymeuaApi", unknown>;
|
|
15
|
+
generateLandingReviews: import("@reduxjs/toolkit/query").MutationDefinition<GenerateLandingReviewsRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GenerateLandingReviewsResponse, "buymeuaApi", unknown>;
|
|
16
|
+
generateLandingBullets: import("@reduxjs/toolkit/query").MutationDefinition<GenerateLandingBulletsRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GenerateLandingBulletsResponse, "buymeuaApi", unknown>;
|
|
17
|
+
generateLandingText: import("@reduxjs/toolkit/query").MutationDefinition<GenerateLandingTextRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GenerateLandingTextResponse, "buymeuaApi", unknown>;
|
|
18
|
+
deleteStore: import("@reduxjs/toolkit/query").MutationDefinition<DeleteStoreRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, DeleteStoreResponse, "buymeuaApi", unknown>;
|
|
19
19
|
}, "Store", never>, "buymeuaApi", "Store", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
20
20
|
//# sourceMappingURL=storeApi.d.ts.map
|
|
@@ -75,6 +75,8 @@ export interface StoreProduct {
|
|
|
75
75
|
product_type?: string | null;
|
|
76
76
|
/** true — digital good (downloadable files after purchase, no delivery). */
|
|
77
77
|
is_digital?: boolean | null;
|
|
78
|
+
/** true — товар без розмірів (єдина синтетична опція «Один розмір»): не показувати вибір розміру, підставляти самому. */
|
|
79
|
+
is_one_size?: boolean | null;
|
|
78
80
|
price_recommended?: string | null;
|
|
79
81
|
price?: string | number | null;
|
|
80
82
|
special?: string | number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/entities/storefront/model/types.ts"],"names":[],"mappings":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,CAAC;IAC7B,MAAM,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED,iEAAiE;AACjE,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,yEAAyE;AACzE,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/entities/storefront/model/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,iHAAiH;IACjH,OAAO,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAA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G,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED,iEAAiE;AACjE,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,yEAAyE;AACzE,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { GetSuppliersWithStoriesRequest, GetPaginatedSuppliersWithStoriesRequest, GetStoriesRequest, GetStoriesResponse, GetSupplierStoryGroupsRequest, GetSupplierStoryGroupsResponse, GetSupplierStoryGroupStoriesRequest, GetSupplierStoryGroupStoriesResponse, GetSuppliersWithStoriesResponse, IncreaseStoryViewsRequest, IncreaseStoryViewsResponse, SaveSupplierStoryStatisticsRequest, GetSupplierStoriesResponse, GetSupplierStoriesRequest } from '../model/types';
|
|
2
|
-
export declare const storiesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").
|
|
3
|
-
getStories: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetStoriesRequest, number, import("@reduxjs/toolkit/query").
|
|
4
|
-
increaseStoryViews: import("@reduxjs/toolkit/query").MutationDefinition<IncreaseStoryViewsRequest, import("@reduxjs/toolkit/query").
|
|
5
|
-
getSuppliersWithStories: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetSuppliersWithStoriesRequest, number, import("@reduxjs/toolkit/query").
|
|
6
|
-
getPaginatedSuppliersWithStories: import("@reduxjs/toolkit/query").QueryDefinition<void | GetPaginatedSuppliersWithStoriesRequest, import("@reduxjs/toolkit/query").
|
|
7
|
-
getSupplierStoryGroups: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierStoryGroupsRequest, import("@reduxjs/toolkit/query").
|
|
8
|
-
getSupplierStories: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierStoriesRequest, import("@reduxjs/toolkit/query").
|
|
9
|
-
getSupplierStoryGroupStories: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierStoryGroupStoriesRequest, import("@reduxjs/toolkit/query").
|
|
10
|
-
saveSupplierStoryStatistics: import("@reduxjs/toolkit/query").MutationDefinition<SaveSupplierStoryStatisticsRequest, import("@reduxjs/toolkit/query").
|
|
2
|
+
export declare const storiesApi: import("@reduxjs/toolkit/query").Api<(args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, import("@reduxjs/toolkit/query").UpdateDefinitions<{
|
|
3
|
+
getStories: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetStoriesRequest, number, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetStoriesResponse, "buymeuaApi", unknown>;
|
|
4
|
+
increaseStoryViews: import("@reduxjs/toolkit/query").MutationDefinition<IncreaseStoryViewsRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, IncreaseStoryViewsResponse, "buymeuaApi", unknown>;
|
|
5
|
+
getSuppliersWithStories: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetSuppliersWithStoriesRequest, number, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetSuppliersWithStoriesResponse, "buymeuaApi", unknown>;
|
|
6
|
+
getPaginatedSuppliersWithStories: import("@reduxjs/toolkit/query").QueryDefinition<void | GetPaginatedSuppliersWithStoriesRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetSuppliersWithStoriesResponse, "buymeuaApi", unknown>;
|
|
7
|
+
getSupplierStoryGroups: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierStoryGroupsRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetSupplierStoryGroupsResponse, "buymeuaApi", unknown>;
|
|
8
|
+
getSupplierStories: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierStoriesRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetSupplierStoriesResponse, "buymeuaApi", unknown>;
|
|
9
|
+
getSupplierStoryGroupStories: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierStoryGroupStoriesRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetSupplierStoryGroupStoriesResponse, "buymeuaApi", unknown>;
|
|
10
|
+
saveSupplierStoryStatistics: import("@reduxjs/toolkit/query").MutationDefinition<SaveSupplierStoryStatisticsRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, undefined, "buymeuaApi", unknown>;
|
|
11
11
|
}, "Story" | "SupplierWithStories" | "SupplierStoryGroup" | "SupplierStory", never>, "buymeuaApi", "Story" | "SupplierWithStories" | "SupplierStoryGroup" | "SupplierStory", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
12
12
|
//# sourceMappingURL=storiesApi.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { AddSupplierReviewRequest, AddSupplierReviewResponse, GetSupplierArticlesRequest, GetSupplierArticlesResponse, GetSupplierInfoRequest, GetSupplierInfoResponse, GetSupplierReviewsRequest, GetSupplierReviewsResponse, GetSuppliersRequest, GetSuppliersResponse, MarkSupplierAsOldRequest, ReplyToSupplierReviewRequest, ReplyToSupplierReviewResponse } from '../model/types';
|
|
2
|
-
export declare const supplierApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").
|
|
3
|
-
getNotifications: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | import("../../notification").GetNotificationsRequest, number, import("@reduxjs/toolkit/query").
|
|
4
|
-
getNotification: import("@reduxjs/toolkit/query").QueryDefinition<import("../../notification").GetNotificationRequest, import("@reduxjs/toolkit/query").
|
|
5
|
-
getNotificationsCount: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").
|
|
6
|
-
getNewSuppliersCount: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").
|
|
7
|
-
markAllNotificationsAsRead: import("@reduxjs/toolkit/query").MutationDefinition<void, import("@reduxjs/toolkit/query").
|
|
8
|
-
markNotificationAsRead: import("@reduxjs/toolkit/query").MutationDefinition<import("../../notification").MarkNotificationAsReadRequest, import("@reduxjs/toolkit/query").
|
|
9
|
-
deleteAllNotifications: import("@reduxjs/toolkit/query").MutationDefinition<void, import("@reduxjs/toolkit/query").
|
|
10
|
-
deleteNotification: import("@reduxjs/toolkit/query").MutationDefinition<import("../../notification").DeleteNotificationRequest, import("@reduxjs/toolkit/query").
|
|
2
|
+
export declare const supplierApi: import("@reduxjs/toolkit/query").Api<(args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, import("@reduxjs/toolkit/query").UpdateDefinitions<import("@reduxjs/toolkit/query").UpdateDefinitions<{
|
|
3
|
+
getNotifications: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | import("../../notification").GetNotificationsRequest, number, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").GetNotificationsResponse, "buymeuaApi", unknown>;
|
|
4
|
+
getNotification: import("@reduxjs/toolkit/query").QueryDefinition<import("../../notification").GetNotificationRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").Notification, "buymeuaApi", unknown>;
|
|
5
|
+
getNotificationsCount: import("@reduxjs/toolkit/query").QueryDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").GetNotificationsCountResponse, "buymeuaApi", unknown>;
|
|
6
|
+
getNewSuppliersCount: import("@reduxjs/toolkit/query").QueryDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").GetNewSuppliersCountResponse, "buymeuaApi", unknown>;
|
|
7
|
+
markAllNotificationsAsRead: import("@reduxjs/toolkit/query").MutationDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").MarkAllNotificationsAsReadResponse, "buymeuaApi", unknown>;
|
|
8
|
+
markNotificationAsRead: import("@reduxjs/toolkit/query").MutationDefinition<import("../../notification").MarkNotificationAsReadRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").MarkNotificationAsReadResponse, "buymeuaApi", unknown>;
|
|
9
|
+
deleteAllNotifications: import("@reduxjs/toolkit/query").MutationDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").DeleteAllNotificationsResponse, "buymeuaApi", unknown>;
|
|
10
|
+
deleteNotification: import("@reduxjs/toolkit/query").MutationDefinition<import("../../notification").DeleteNotificationRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, import("../../notification").DeleteNotificationResponse, "buymeuaApi", unknown>;
|
|
11
11
|
}, "Notification" | "NotificationsCount" | "NewSuppliersCount", never> & {
|
|
12
|
-
getSuppliers: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetSuppliersRequest, number, import("@reduxjs/toolkit/query").
|
|
13
|
-
getSupplierInfo: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierInfoRequest, import("@reduxjs/toolkit/query").
|
|
14
|
-
getSupplierArticles: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetSupplierArticlesRequest, number, import("@reduxjs/toolkit/query").
|
|
15
|
-
getSupplierReviews: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetSupplierReviewsRequest, number, import("@reduxjs/toolkit/query").
|
|
16
|
-
addSupplierReview: import("@reduxjs/toolkit/query").MutationDefinition<AddSupplierReviewRequest, import("@reduxjs/toolkit/query").
|
|
17
|
-
replyToSupplierReview: import("@reduxjs/toolkit/query").MutationDefinition<ReplyToSupplierReviewRequest, import("@reduxjs/toolkit/query").
|
|
18
|
-
markSupplierAsOld: import("@reduxjs/toolkit/query").MutationDefinition<MarkSupplierAsOldRequest, import("@reduxjs/toolkit/query").
|
|
12
|
+
getSuppliers: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetSuppliersRequest, number, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetSuppliersResponse, "buymeuaApi", unknown>;
|
|
13
|
+
getSupplierInfo: import("@reduxjs/toolkit/query").QueryDefinition<GetSupplierInfoRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetSupplierInfoResponse, "buymeuaApi", unknown>;
|
|
14
|
+
getSupplierArticles: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetSupplierArticlesRequest, number, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetSupplierArticlesResponse, "buymeuaApi", unknown>;
|
|
15
|
+
getSupplierReviews: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetSupplierReviewsRequest, number, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "Notification" | "NotificationsCount" | "NewSuppliersCount", GetSupplierReviewsResponse, "buymeuaApi", unknown>;
|
|
16
|
+
addSupplierReview: import("@reduxjs/toolkit/query").MutationDefinition<AddSupplierReviewRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "Notification" | "NotificationsCount" | "NewSuppliersCount", AddSupplierReviewResponse, "buymeuaApi", unknown>;
|
|
17
|
+
replyToSupplierReview: import("@reduxjs/toolkit/query").MutationDefinition<ReplyToSupplierReviewRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "Notification" | "NotificationsCount" | "NewSuppliersCount", ReplyToSupplierReviewResponse, "buymeuaApi", unknown>;
|
|
18
|
+
markSupplierAsOld: import("@reduxjs/toolkit/query").MutationDefinition<MarkSupplierAsOldRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "Notification" | "NotificationsCount" | "NewSuppliersCount", undefined, "buymeuaApi", unknown>;
|
|
19
19
|
}, "Notification" | "NotificationsCount" | "NewSuppliersCount" | "Supplier" | "SupplierInfo" | "SupplierReview", never>, "buymeuaApi", "Notification" | "NotificationsCount" | "NewSuppliersCount" | "Supplier" | "SupplierInfo" | "SupplierReview", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
20
20
|
//# sourceMappingURL=supplierApi.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CheckTelegramUserRequest, CheckTelegramUserResponse, GetMaintenanceStatusResponse, GetVersionCheckResponse } from '../model/types';
|
|
2
|
-
export declare const systemApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").
|
|
3
|
-
getMaintenanceStatus: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").
|
|
4
|
-
getVersionCheck: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").
|
|
5
|
-
checkTelegramUser: import("@reduxjs/toolkit/query").QueryDefinition<CheckTelegramUserRequest, import("@reduxjs/toolkit/query").
|
|
2
|
+
export declare const systemApi: import("@reduxjs/toolkit/query").Api<(args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, {
|
|
3
|
+
getMaintenanceStatus: import("@reduxjs/toolkit/query").QueryDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetMaintenanceStatusResponse, "buymeuaApi", unknown>;
|
|
4
|
+
getVersionCheck: import("@reduxjs/toolkit/query").QueryDefinition<void, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, GetVersionCheckResponse, "buymeuaApi", unknown>;
|
|
5
|
+
checkTelegramUser: import("@reduxjs/toolkit/query").QueryDefinition<CheckTelegramUserRequest, (args: string | import("@reduxjs/toolkit/query").FetchArgs, api: import("@reduxjs/toolkit/query").BaseQueryApi, extraOptions: {}) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, never, CheckTelegramUserResponse, "buymeuaApi", unknown>;
|
|
6
6
|
}, "buymeuaApi", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
7
7
|
//# sourceMappingURL=systemApi.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './entities/storefront';
|
|
|
22
22
|
export * from './entities/stories';
|
|
23
23
|
export * from './entities/supplier';
|
|
24
24
|
export * from './entities/system';
|
|
25
|
-
export { type ApiConfig, configureBuymeuaApi, getPusher, type ValidationError, isValidationError, } from './shared/api';
|
|
25
|
+
export { type ApiConfig, configureBuymeuaApi, getActiveBaseUrl, getPusher, type ValidationError, isValidationError, } from './shared/api';
|
|
26
26
|
export * from './shared/model';
|
|
27
|
+
export * from './shared/lib/apiHosts';
|
|
27
28
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAElC,OAAO,EACL,KAAK,SAAS,EACd,mBAAmB,EACnB,SAAS,EACT,KAAK,eAAe,EACpB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAElC,OAAO,EACL,KAAK,SAAS,EACd,mBAAmB,EACnB,gBAAgB,EAChB,SAAS,EACT,KAAK,eAAe,EACpB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export * from './entities/storefront';
|
|
|
23
23
|
export * from './entities/stories';
|
|
24
24
|
export * from './entities/supplier';
|
|
25
25
|
export * from './entities/system';
|
|
26
|
-
export { configureBuymeuaApi, getPusher, isValidationError, } from './shared/api';
|
|
26
|
+
export { configureBuymeuaApi, getActiveBaseUrl, getPusher, isValidationError, } from './shared/api';
|
|
27
27
|
export * from './shared/model';
|
|
28
|
+
export * from './shared/lib/apiHosts';
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAEhB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAEL,mBAAmB,EACnB,SAAS,EAET,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAEhB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAEL,mBAAmB,EACnB,gBAAgB,EAChB,SAAS,EAET,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
|
package/dist/shared/api/api.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ import { type BaseQueryApi, type BaseQueryFn, type FetchArgs, type FetchBaseQuer
|
|
|
2
2
|
import Pusher from 'pusher-js';
|
|
3
3
|
export interface ApiConfig {
|
|
4
4
|
baseUrl: string;
|
|
5
|
+
/**
|
|
6
|
+
* Alternate API base URLs (same backend under other domains, e.g. buymeua.org
|
|
7
|
+
* for buymeua.shop). Tried in order when a request fails at the network level
|
|
8
|
+
* (DNS/TLS/connection — `FETCH_ERROR`/`TIMEOUT_ERROR`); the first one that
|
|
9
|
+
* answers becomes the active base URL for the rest of the session.
|
|
10
|
+
*/
|
|
11
|
+
fallbackBaseUrls?: string[];
|
|
5
12
|
pusher: {
|
|
6
13
|
appKey: string;
|
|
7
14
|
cluster: string;
|
|
@@ -12,7 +19,11 @@ export interface ApiConfig {
|
|
|
12
19
|
}) => Promise<void> | void;
|
|
13
20
|
onUnauthorized?: (args: string | FetchArgs, api: BaseQueryApi, extraOptions: unknown) => void;
|
|
14
21
|
}
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
type BaseQuery = BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>;
|
|
23
|
+
/** Base URL requests currently go to — the configured one, or a fallback that took over after a network failure. */
|
|
24
|
+
export declare const getActiveBaseUrl: () => string | null;
|
|
25
|
+
export declare const buymeuaApi: import("@reduxjs/toolkit/query").Api<BaseQuery, {}, "buymeuaApi", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
26
|
+
export declare const configureBuymeuaApi: (config: ApiConfig) => import("@reduxjs/toolkit/query").Api<BaseQuery, {}, "buymeuaApi", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
17
27
|
export declare const getPusher: () => Promise<Pusher>;
|
|
28
|
+
export {};
|
|
18
29
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/shared/api/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,WAAW,SAAS;IAExB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,cAAc,EAAE,CACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,IAAI,CACP,YAAY,EACZ,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CACtD,GAAG;QACF,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;QACxB,YAAY,EAAE,OAAO,CAAC;KACvB,KACE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,CACf,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,GAAG,EAAE,YAAY,EACjB,YAAY,EAAE,OAAO,KAClB,IAAI,CAAC;CACX;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/shared/api/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,WAAW,SAAS;IAExB,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,cAAc,EAAE,CACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,IAAI,CACP,YAAY,EACZ,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CACtD,GAAG;QACF,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;QACxB,YAAY,EAAE,OAAO,CAAC;KACvB,KACE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,CACf,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,GAAG,EAAE,YAAY,EACjB,YAAY,EAAE,OAAO,KAClB,IAAI,CAAC;CACX;AASD,KAAK,SAAS,GAAG,WAAW,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,mBAAmB,CAAC,CAAC;AAiB/E,oHAAoH;AACpH,eAAO,MAAM,gBAAgB,QAAO,MAAM,GAAG,IAAuD,CAAC;AA4BrG,eAAO,MAAM,UAAU,uMASrB,CAAC;AAEH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,SAAS,0MAOpD,CAAC;AAMF,eAAO,MAAM,SAAS,QAAa,OAAO,CAAC,MAAM,CAmChD,CAAC"}
|
package/dist/shared/api/api.js
CHANGED
|
@@ -5,17 +5,34 @@ let resolveConfig = null;
|
|
|
5
5
|
const configReady = new Promise((res) => {
|
|
6
6
|
resolveConfig = res;
|
|
7
7
|
});
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
const baseQueriesByUrl = new Map();
|
|
9
|
+
let activeBaseUrl = null;
|
|
10
|
+
const getBaseQueryFor = (config, baseUrl) => {
|
|
11
|
+
let query = baseQueriesByUrl.get(baseUrl);
|
|
12
|
+
if (!query) {
|
|
13
|
+
query = fetchBaseQuery({ ...config, baseUrl });
|
|
14
|
+
baseQueriesByUrl.set(baseUrl, query);
|
|
15
|
+
}
|
|
16
|
+
return query;
|
|
15
17
|
};
|
|
18
|
+
const isNetworkError = (error) => error?.status === 'FETCH_ERROR' || error?.status === 'TIMEOUT_ERROR';
|
|
19
|
+
/** Base URL requests currently go to — the configured one, or a fallback that took over after a network failure. */
|
|
20
|
+
export const getActiveBaseUrl = () => activeBaseUrl ?? currentConfig?.baseUrl ?? null;
|
|
16
21
|
const baseQueryWithReauth = async (args, api, extraOptions) => {
|
|
17
|
-
const
|
|
18
|
-
const
|
|
22
|
+
const config = await configReady;
|
|
23
|
+
const primary = activeBaseUrl ?? config.baseUrl;
|
|
24
|
+
let result = await getBaseQueryFor(config, primary)(args, api, extraOptions);
|
|
25
|
+
if (isNetworkError(result.error)) {
|
|
26
|
+
const candidates = [config.baseUrl, ...(config.fallbackBaseUrls ?? [])].filter((url) => url !== primary);
|
|
27
|
+
for (const candidate of candidates) {
|
|
28
|
+
const attempt = await getBaseQueryFor(config, candidate)(args, api, extraOptions);
|
|
29
|
+
if (isNetworkError(attempt.error))
|
|
30
|
+
continue;
|
|
31
|
+
activeBaseUrl = candidate;
|
|
32
|
+
result = attempt;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
19
36
|
if (result.error?.status === 401 && currentConfig?.onUnauthorized) {
|
|
20
37
|
currentConfig.onUnauthorized(args, api, extraOptions);
|
|
21
38
|
}
|
|
@@ -62,7 +79,7 @@ export const getPusher = async () => {
|
|
|
62
79
|
pusherToken = authorization;
|
|
63
80
|
pusherInstance = new Pusher(apiConfig.pusher.appKey, {
|
|
64
81
|
cluster: apiConfig.pusher.cluster,
|
|
65
|
-
authEndpoint: `${apiConfig.baseUrl}broadcasting/auth`,
|
|
82
|
+
authEndpoint: `${getActiveBaseUrl() ?? apiConfig.baseUrl}broadcasting/auth`,
|
|
66
83
|
auth: {
|
|
67
84
|
headers: {
|
|
68
85
|
Authorization: authorization ?? '',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/shared/api/api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,cAAc,GAKf,MAAM,8BAA8B,CAAC;AACtC,OAAO,MAAM,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/shared/api/api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,cAAc,GAKf,MAAM,8BAA8B,CAAC;AACtC,OAAO,MAAM,MAAM,WAAW,CAAC;AAiC/B,IAAI,aAAa,GAAqB,IAAI,CAAC;AAC3C,IAAI,aAAa,GAAyC,IAAI,CAAC;AAE/D,MAAM,WAAW,GAAG,IAAI,OAAO,CAAY,CAAC,GAAG,EAAE,EAAE;IACjD,aAAa,GAAG,GAAG,CAAC;AACtB,CAAC,CAAC,CAAC;AAIH,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAAqB,CAAC;AACtD,IAAI,aAAa,GAAkB,IAAI,CAAC;AAExC,MAAM,eAAe,GAAG,CAAC,MAAiB,EAAE,OAAe,EAAa,EAAE;IACxE,IAAI,KAAK,GAAG,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1C,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,KAAK,GAAG,cAAc,CAAC,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,CAAC,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E,aAAa;QACvB,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,EAAE;QACP,YAAY,EAAE,EAAE;KACjB,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAEnD,IAAI,cAAc,IAAI,WAAW,KAAK,aAAa,EAAE,CAAC;QACpD,cAAc,GAAG,IAAI,CAAC;IACxB,CAAC;IAED,IAAI,cAAc;QAAE,OAAO,cAAc,CAAC;IAE1C,WAAW,GAAG,aAAa,CAAC;IAE5B,cAAc,GAAG,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE;QACnD,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO;QACjC,YAAY,EAAE,GAAG,gBAAgB,EAAE,IAAI,SAAS,CAAC,OAAO,mBAAmB;QAC3E,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,aAAa,EAAE,aAAa,IAAI,EAAE;aACnC;SACF;KACF,CAAC,CAAC;IAEH,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers for running the same API under several top-level domains
|
|
3
|
+
* (e.g. buymeua.shop with buymeua.org as a registry-outage backup).
|
|
4
|
+
*/
|
|
5
|
+
/** `https://buymeua.shop/api/` + ('.shop' → '.org') = `https://buymeua.org/api/`. Only the host part is touched. */
|
|
6
|
+
export declare const swapApiUrlTld: (url: string, fromTld: string, toTld: string) => string;
|
|
7
|
+
export interface ResolveApiUrlsOptions {
|
|
8
|
+
/** API URL the build was configured with (usually the primary TLD). */
|
|
9
|
+
primary: string;
|
|
10
|
+
/** TLD pairs served by the same backend, e.g. `[['.shop', '.org']]`. */
|
|
11
|
+
tldPairs: Array<[string, string]>;
|
|
12
|
+
/** Hostname the app is currently served from (browser only). When it sits on a backup TLD, that TLD becomes the preferred API host. */
|
|
13
|
+
pageHost?: string | null;
|
|
14
|
+
}
|
|
15
|
+
export interface ResolvedApiUrls {
|
|
16
|
+
baseUrl: string;
|
|
17
|
+
fallbackBaseUrls: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Builds the ordered list of API base URLs: the one matching the page's TLD first,
|
|
21
|
+
* then every sibling TLD. A page opened on the backup domain talks to the backup API
|
|
22
|
+
* straight away; a page on the primary domain falls back only when the primary fails.
|
|
23
|
+
*/
|
|
24
|
+
export declare const resolveApiUrls: ({ primary, tldPairs, pageHost }: ResolveApiUrlsOptions) => ResolvedApiUrls;
|
|
25
|
+
//# sourceMappingURL=apiHosts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiHosts.d.ts","sourceRoot":"","sources":["../../../src/shared/lib/apiHosts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oHAAoH;AACpH,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,EAAE,SAAS,MAAM,EAAE,OAAO,MAAM,KAAG,MAS3E,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,uEAAuE;IACvE,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,QAAQ,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClC,uIAAuI;IACvI,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,iCAAiC,qBAAqB,KAAG,eAwBvF,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers for running the same API under several top-level domains
|
|
3
|
+
* (e.g. buymeua.shop with buymeua.org as a registry-outage backup).
|
|
4
|
+
*/
|
|
5
|
+
/** `https://buymeua.shop/api/` + ('.shop' → '.org') = `https://buymeua.org/api/`. Only the host part is touched. */
|
|
6
|
+
export const swapApiUrlTld = (url, fromTld, toTld) => {
|
|
7
|
+
try {
|
|
8
|
+
const parsed = new URL(url);
|
|
9
|
+
if (!parsed.hostname.endsWith(fromTld))
|
|
10
|
+
return url;
|
|
11
|
+
parsed.hostname = parsed.hostname.slice(0, -fromTld.length) + toTld;
|
|
12
|
+
return parsed.toString();
|
|
13
|
+
}
|
|
14
|
+
catch {
|
|
15
|
+
return url;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Builds the ordered list of API base URLs: the one matching the page's TLD first,
|
|
20
|
+
* then every sibling TLD. A page opened on the backup domain talks to the backup API
|
|
21
|
+
* straight away; a page on the primary domain falls back only when the primary fails.
|
|
22
|
+
*/
|
|
23
|
+
export const resolveApiUrls = ({ primary, tldPairs, pageHost }) => {
|
|
24
|
+
const candidates = [primary];
|
|
25
|
+
for (const [a, b] of tldPairs) {
|
|
26
|
+
for (const url of [...candidates]) {
|
|
27
|
+
for (const [from, to] of [[a, b], [b, a]]) {
|
|
28
|
+
const swapped = swapApiUrlTld(url, from, to);
|
|
29
|
+
if (!candidates.includes(swapped))
|
|
30
|
+
candidates.push(swapped);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const preferred = pageHost
|
|
35
|
+
? candidates.find((url) => {
|
|
36
|
+
try {
|
|
37
|
+
const host = new URL(url).hostname;
|
|
38
|
+
return tldPairs.some(([a, b]) => [a, b].some((tld) => host.endsWith(tld) && pageHost.endsWith(tld)));
|
|
39
|
+
}
|
|
40
|
+
catch {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
})
|
|
44
|
+
: undefined;
|
|
45
|
+
const baseUrl = preferred ?? primary;
|
|
46
|
+
return { baseUrl, fallbackBaseUrls: candidates.filter((url) => url !== baseUrl) };
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=apiHosts.js.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O,CAAC;oBAAE,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC9D,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,SAAS,GAAG,QAAQ;QACxB,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YACtB,IAAI,CAAC;gBACH,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC;gBACnC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACvG,CAAC;YAAC,MAAM,CAAC;gBACP,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC,CAAC;QACJ,CAAC,CAAC,SAAS,CAAC;IAEd,MAAM,OAAO,GAAG,SAAS,IAAI,OAAO,CAAC;IACrC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,OAAO,CAAC,EAAE,CAAC;AACpF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC"}
|
package/dist/shared/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC"}
|