Skip to content

Commit

Permalink
Hide documentation for in-app feedback (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaibolay committed Sep 30, 2022
1 parent cc6e28e commit 3c5392d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/v2/providers/alerts/appDistribution.ts
Expand Up @@ -53,6 +53,8 @@ export interface NewTesterDevicePayload {
/**
* The internal payload object for receiving in-app feedback from a tester.
* Payload is wrapped inside a `FirebaseAlertData` object.
*
* @alpha
*/
export interface InAppFeedbackPayload {
['@type']: 'type.googleapis.com/google.events.firebase.firebasealerts.v1.AppDistroInAppFeedbackPayload';
Expand Down Expand Up @@ -272,6 +274,8 @@ export function onNewTesterIosDevicePublished(
* Declares a function that can handle receiving new in-app feedback from a tester.
* @param handler - Event handler which is run every time new feedback is received.
* @returns A function that you can export and deploy.
*
* @alpha
*/
export function onInAppFeedbackPublished(
handler: (
Expand All @@ -284,6 +288,8 @@ export function onInAppFeedbackPublished(
* @param appId - A specific application the handler will trigger on.
* @param handler - Event handler which is run every time new feedback is received.
* @returns A function that you can export and deploy.
*
* @alpha
*/
export function onInAppFeedbackPublished(
appId: string,
Expand All @@ -297,6 +303,8 @@ export function onInAppFeedbackPublished(
* @param opts - Options that can be set on the function.
* @param handler - Event handler which is run every time new feedback is received.
* @returns A function that you can export and deploy.
*
* @alpha
*/
export function onInAppFeedbackPublished(
opts: AppDistributionOptions,
Expand All @@ -310,6 +318,8 @@ export function onInAppFeedbackPublished(
* @param appIdOrOptsOrHandler - A specific application, options, or an event-handling function.
* @param handler - Event handler which is run every time new feedback is received.
* @returns A function that you can export and deploy.
*
* @alpha
*/
export function onInAppFeedbackPublished(
appIdOrOptsOrHandler:
Expand Down

0 comments on commit 3c5392d

Please sign in to comment.