Skip to content

Commit

Permalink
[sitecore-jss] Export cache-client functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
art-alexeyenko committed Oct 17, 2024
1 parent 57b83de commit eab559f
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/sitecore-jss-angular/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export {
enableDebug,
ClientError,
HTMLLink,
CacheClient,
CacheOptions,
MemoryCacheClient,
} from '@sitecore-jss/sitecore-jss';
export { isServer } from '@sitecore-jss/sitecore-jss/utils';
export {
Expand Down
3 changes: 3 additions & 0 deletions packages/sitecore-jss-nextjs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export {
HTMLLink,
enableDebug,
debug,
CacheClient,
CacheOptions,
MemoryCacheClient,
} from '@sitecore-jss/sitecore-jss';

export {
Expand Down
9 changes: 8 additions & 1 deletion packages/sitecore-jss-react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
export { constants, enableDebug, ClientError } from '@sitecore-jss/sitecore-jss';
export {
constants,
enableDebug,
ClientError,
CacheClient,
CacheOptions,
MemoryCacheClient,
} from '@sitecore-jss/sitecore-jss';
export { EnhancedOmit } from '@sitecore-jss/sitecore-jss/utils';
export {
isEditorActive,
Expand Down
9 changes: 8 additions & 1 deletion packages/sitecore-jss-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ export {
WebEditButton,
EditButtonTypes,
} from '@sitecore-jss/sitecore-jss/editing';
export { constants, enableDebug, ClientError } from '@sitecore-jss/sitecore-jss';
export {
constants,
enableDebug,
ClientError,
CacheClient,
CacheOptions,
MemoryCacheClient,
} from '@sitecore-jss/sitecore-jss';
export {
trackingApi,
TrackingRequestOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/sitecore-jss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export {
GraphQLRequestClientFactoryConfig,
} from './graphql-request-client';
export { AxiosDataFetcher, AxiosDataFetcherConfig } from './axios-fetcher';
export { CacheClient, CacheOptions, MemoryCacheClient } from './cache-client';
export { AxiosResponse } from 'axios';
export { ClientError } from 'graphql-request';
export { NativeDataFetcher, NativeDataFetcherConfig } from './native-fetcher';
Expand Down

0 comments on commit eab559f

Please sign in to comment.