sahab-utils 1.8.3 → 1.8.4
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/dist/ts/push.d.ts +7 -0
- package/package.json +1 -1
package/dist/ts/push.d.ts
CHANGED
|
@@ -56,6 +56,13 @@ export type TestPushResult = {
|
|
|
56
56
|
devices: number;
|
|
57
57
|
accepted: number;
|
|
58
58
|
};
|
|
59
|
+
/** The customer app sends nothing. The provider app names who it is, so the server can check that it is that person. */
|
|
60
|
+
export type TestPushBody = {
|
|
61
|
+
app?: PushApp;
|
|
62
|
+
role?: 'owner' | 'driver';
|
|
63
|
+
uid?: string;
|
|
64
|
+
providerUid?: string;
|
|
65
|
+
};
|
|
59
66
|
export declare const TEST_PUSH_COOLDOWN_S = 30;
|
|
60
67
|
export declare const TEST_PUSH_DAILY_LIMIT = 20;
|
|
61
68
|
export declare const PUSH_TOKENS_COLLECTION = "pushTokens";
|