@geins/core 0.3.0-canary
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/.turbo/turbo-build.log +7 -0
- package/CHANGELOG.md +13 -0
- package/README.md +1 -0
- package/__tests__/Channel.test.ts +34 -0
- package/__tests__/EventService.test.ts +32 -0
- package/__tests__/GeinsCore.test.ts +69 -0
- package/__tests__/Graphql.test.ts +43 -0
- package/dist/api-client/endpointClient.d.ts +8 -0
- package/dist/api-client/index.d.ts +4 -0
- package/dist/api-client/managementApiClient.d.ts +10 -0
- package/dist/api-client/merchantApiClient.d.ts +46 -0
- package/dist/base/baseApiService.d.ts +14 -0
- package/dist/base/basePackage.d.ts +12 -0
- package/dist/base/baseStore.d.ts +14 -0
- package/dist/base/index.d.ts +3 -0
- package/dist/constants/cookies.d.ts +11 -0
- package/dist/constants/endpoints.d.ts +14 -0
- package/dist/constants/headerNames.d.ts +3 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/geinsCore.d.ts +88 -0
- package/dist/graphql/index.d.ts +1 -0
- package/dist/graphql/queries.d.ts +5 -0
- package/dist/index.cjs +21783 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.esm.js +21749 -0
- package/dist/logic/channel.d.ts +17 -0
- package/dist/logic/index.d.ts +1 -0
- package/dist/parsers/channelParser.d.ts +8 -0
- package/dist/services/channelService.d.ts +8 -0
- package/dist/services/channelsService.d.ts +8 -0
- package/dist/services/cookieService.d.ts +88 -0
- package/dist/services/eventService.d.ts +51 -0
- package/dist/services/graphQLService.d.ts +23 -0
- package/dist/services/index.d.ts +7 -0
- package/dist/services/logService.d.ts +19 -0
- package/dist/services/routingService.d.ts +74 -0
- package/dist/stores/channelStore.d.ts +11 -0
- package/dist/stores/index.d.ts +2 -0
- package/dist/stores/routingStore.d.ts +32 -0
- package/dist/utils/helpers.d.ts +21 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/simpleCache.d.ts +9 -0
- package/eslint.config.js +3 -0
- package/jest.config.js +8 -0
- package/package.json +32 -0
- package/rollup.config.js +26 -0
- package/src/api-client/endpointClient.ts +52 -0
- package/src/api-client/index.ts +4 -0
- package/src/api-client/managementApiClient.ts +41 -0
- package/src/api-client/merchantApiClient.ts +153 -0
- package/src/base/baseApiService.ts +96 -0
- package/src/base/basePackage.ts +39 -0
- package/src/base/baseStore.ts +21 -0
- package/src/base/index.ts +3 -0
- package/src/constants/cookies.ts +12 -0
- package/src/constants/endpoints.ts +27 -0
- package/src/constants/headerNames.ts +3 -0
- package/src/constants/index.ts +3 -0
- package/src/geinsCore.ts +214 -0
- package/src/graphql/channel.gql +16 -0
- package/src/graphql/channels.gql +16 -0
- package/src/graphql/fragments/channelFields.gql +8 -0
- package/src/graphql/fragments/countryFields.gql +4 -0
- package/src/graphql/fragments/currencyFields.gql +4 -0
- package/src/graphql/fragments/languageFields.gql +5 -0
- package/src/graphql/fragments/marketFields.gql +19 -0
- package/src/graphql/graphql.d.ts +4 -0
- package/src/graphql/index.ts +1 -0
- package/src/graphql/queries.ts +9 -0
- package/src/index.ts +10 -0
- package/src/logic/channel.ts +102 -0
- package/src/logic/index.ts +1 -0
- package/src/parsers/channelParser.ts +91 -0
- package/src/services/channelService.ts +33 -0
- package/src/services/channelsService.ts +35 -0
- package/src/services/cookieService.ts +168 -0
- package/src/services/eventService.ts +89 -0
- package/src/services/graphQLService.ts +55 -0
- package/src/services/index.ts +7 -0
- package/src/services/logService.ts +434 -0
- package/src/services/routingService.ts +196 -0
- package/src/stores/channelStore.ts +34 -0
- package/src/stores/index.ts +2 -0
- package/src/stores/routingStore.ts +56 -0
- package/src/utils/helpers.ts +39 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/simpleCache.ts +27 -0
- package/tsconfig.json +19 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from '@geins/types';
|
|
2
|
+
export * from './api-client';
|
|
3
|
+
export * from './base';
|
|
4
|
+
export * from './constants';
|
|
5
|
+
export * from './geinsCore';
|
|
6
|
+
export * from './services';
|
|
7
|
+
export * from './stores';
|
|
8
|
+
export * from './utils';
|
|
9
|
+
export * from './logic';
|
|
10
|
+
export { gql } from '@apollo/client/core';
|