@apolitical/component-library 5.1.1 → 5.1.2-SW.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.
@@ -1,5 +1,5 @@
1
1
  import type { ICache, ICacheItem, ICacheItems } from './cache.interface';
2
2
  export declare function addItem(item: ICacheItem, cache?: ICache, replace?: boolean): ICache;
3
- export declare function findItem(itemId: string, cache?: ICache): import("../../../shared").IActivity | undefined;
3
+ export declare function findItem(itemId: string, cache?: ICache): import("../../..").IActivity | undefined;
4
4
  export declare function removeItem(itemId: string, cache: ICache): ICache;
5
5
  export declare function flattenCache(cache?: ICache): ICacheItems;
@@ -6,11 +6,11 @@ interface IAdditionOptions {
6
6
  export declare function addItem(item: ICacheItem, cache?: ICache, opts?: IAdditionOptions): {
7
7
  pages: {
8
8
  next: string;
9
- results: import("../../../shared").IReaction[];
9
+ results: import("../../..").IReaction[];
10
10
  }[];
11
11
  pageParams: string[];
12
12
  };
13
- export declare function findItem(itemId: string, cache?: ICache): import("../../../shared").IReaction | undefined;
13
+ export declare function findItem(itemId: string, cache?: ICache): import("../../..").IReaction | undefined;
14
14
  export declare function removeItem(itemId: string, cache: ICache): ICache;
15
15
  export declare function flattenCache(cache?: ICache): ICacheItems;
16
16
  export {};
@@ -1,4 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './feeds';
3
3
  export * from './sections';
4
- export type { IMentionData, IMentions, IListMemberData } from './discussion.d';
4
+ export type { IActivity, IListMemberData, IMentionData, IMentions, IReaction, IUser, } from './discussion.d';
@@ -5,7 +5,7 @@ export interface IReadActivityArgs {
5
5
  queryKey: QueryKey;
6
6
  }
7
7
  export declare function useReadActivity({ queryFn, queryKey }: IReadActivityArgs): {
8
- activity: import("../../../../../shared").IActivity | undefined;
8
+ activity: import("../../../../..").IActivity | undefined;
9
9
  error: Error | null;
10
10
  isLoading: boolean;
11
11
  isFetching: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "5.1.1",
3
+ "version": "5.1.2-SW.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {