@livetiles/reach-plugin-types 0.4.0-preview.545 → 0.4.0-preview.546
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/lib/index.d.ts +7 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2277,6 +2277,7 @@ declare module "libs/reach/util/common/src/user/useChannelsApi" {
|
|
|
2277
2277
|
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
2278
2278
|
export function useChannelsApi(): {
|
|
2279
2279
|
getChannels: () => Promise<Channel[]>;
|
|
2280
|
+
getChannelsByItemId: (id: string) => Promise<Channel[]>;
|
|
2280
2281
|
};
|
|
2281
2282
|
}
|
|
2282
2283
|
declare module "libs/reach/util/common/src/user/content-languages-util" {
|
|
@@ -2949,6 +2950,7 @@ declare module "libs/reach/util/common/src/keywords/useKeywordsApi" {
|
|
|
2949
2950
|
getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
|
|
2950
2951
|
getAllKeywordsByGroupIds: () => Promise<KeywordsByGroupId>;
|
|
2951
2952
|
getSelectedGroups: () => Promise<KeywordGroup[]>;
|
|
2953
|
+
getKeywordGroupsByItemId: (id: string) => Promise<KeywordGroup[]>;
|
|
2952
2954
|
};
|
|
2953
2955
|
}
|
|
2954
2956
|
declare module "libs/reach/util/common/src/content/content-keyword-utils" {
|
|
@@ -3139,6 +3141,11 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
3139
3141
|
refreshSubscription: () => void;
|
|
3140
3142
|
}>;
|
|
3141
3143
|
export const LazySubscriptionContextProvider: FC;
|
|
3144
|
+
export const LazySubscriptionContextProviderBase: FC<{
|
|
3145
|
+
getChannels: () => Promise<Channel[]>;
|
|
3146
|
+
getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
|
|
3147
|
+
getSelectedGroups: () => Promise<KeywordGroup[]>;
|
|
3148
|
+
}>;
|
|
3142
3149
|
}
|
|
3143
3150
|
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
3144
3151
|
import { SubscriptionInfo, TermsAndConditions } from "libs/reach/util/common/src/user/Subscription";
|