@pushwoosh/rpc-gateway-statistics-api 1.3.689
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/commonTypes.d.ts +18 -0
- package/commonTypes.js +3 -0
- package/data.d.ts +2 -0
- package/data.js +4192 -0
- package/index.d.ts +13 -0
- package/index.js +3 -0
- package/package.json +19 -0
- package/pushwoosh_statistics_statistics_v1.d.ts +796 -0
- package/pushwoosh_statistics_statistics_v1.js +3 -0
- package/pushwoosh_statistics_statistics_v2.d.ts +189 -0
- package/pushwoosh_statistics_statistics_v2.js +3 -0
- package/pushwoosh_statistics_statistics_v2_dashboards.d.ts +143 -0
- package/pushwoosh_statistics_statistics_v2_dashboards.js +3 -0
- package/pushwoosh_statistics_statistics_v2_overview.d.ts +59 -0
- package/pushwoosh_statistics_statistics_v2_overview.js +3 -0
- package/pushwoosh_statistics_statistics_v2_statistics.d.ts +706 -0
- package/pushwoosh_statistics_statistics_v2_statistics.js +3 -0
- package/pushwoosh_statistics_types.d.ts +23 -0
- package/pushwoosh_statistics_types.js +3 -0
- package/types.d.ts +59 -0
- package/types.js +3 -0
package/commonTypes.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type Duration = number;
|
|
2
|
+
/** Arbitrary JSON value (google.protobuf.Value). */
|
|
3
|
+
export type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
4
|
+
[key: string]: JsonValue;
|
|
5
|
+
};
|
|
6
|
+
/** Arbitrary JSON object (google.protobuf.Struct). */
|
|
7
|
+
export type JsonObject = {
|
|
8
|
+
[key: string]: JsonValue;
|
|
9
|
+
};
|
|
10
|
+
export type RpcMethod<Req, Res> = ((request: Req) => Promise<Res>) & {
|
|
11
|
+
safe(request: Req): Promise<[{
|
|
12
|
+
error: unknown;
|
|
13
|
+
}, null] | [null, Res]>;
|
|
14
|
+
};
|
|
15
|
+
export type RpcMethodV3<Req, Res, Err> = ((request: Req) => Promise<Res>) & {
|
|
16
|
+
safe(request: Req): Promise<[Err, null] | [null, Res]>;
|
|
17
|
+
parseError(e: unknown): Err;
|
|
18
|
+
};
|
package/commonTypes.js
ADDED
package/data.d.ts
ADDED