@appwrite.io/console 0.4.0 → 0.4.2
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/.github/workflows/publish.yml +2 -2
- package/README.md +1 -1
- package/dist/cjs/sdk.js +1 -1
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +1 -1
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/models.ts +35 -2
- package/types/models.d.ts +35 -2
package/dist/iife/sdk.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@appwrite.io/console",
|
|
3
3
|
"homepage": "https://appwrite.io/support",
|
|
4
4
|
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
|
|
5
|
-
"version": "0.4.
|
|
5
|
+
"version": "0.4.2",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/cjs/sdk.js",
|
|
8
8
|
"exports": {
|
package/src/client.ts
CHANGED
package/src/models.ts
CHANGED
|
@@ -2573,6 +2573,23 @@ export namespace Models {
|
|
|
2573
2573
|
*/
|
|
2574
2574
|
date: string;
|
|
2575
2575
|
}
|
|
2576
|
+
/**
|
|
2577
|
+
* Metric Breakdown
|
|
2578
|
+
*/
|
|
2579
|
+
export type MetricBreakdown = {
|
|
2580
|
+
/**
|
|
2581
|
+
* Resource ID.
|
|
2582
|
+
*/
|
|
2583
|
+
resourceId: string;
|
|
2584
|
+
/**
|
|
2585
|
+
* Resource name.
|
|
2586
|
+
*/
|
|
2587
|
+
name: string;
|
|
2588
|
+
/**
|
|
2589
|
+
* The value of this metric at the timestamp.
|
|
2590
|
+
*/
|
|
2591
|
+
value: number;
|
|
2592
|
+
}
|
|
2576
2593
|
/**
|
|
2577
2594
|
* UsageDatabases
|
|
2578
2595
|
*/
|
|
@@ -2835,11 +2852,27 @@ export namespace Models {
|
|
|
2835
2852
|
/**
|
|
2836
2853
|
* Aggregated number of requests per period.
|
|
2837
2854
|
*/
|
|
2838
|
-
requests:
|
|
2855
|
+
requests: Metric[];
|
|
2839
2856
|
/**
|
|
2840
2857
|
* Aggregated number of consumed bandwidth per period.
|
|
2841
2858
|
*/
|
|
2842
|
-
network:
|
|
2859
|
+
network: Metric[];
|
|
2860
|
+
/**
|
|
2861
|
+
* Aggregated number of users per period.
|
|
2862
|
+
*/
|
|
2863
|
+
users: Metric[];
|
|
2864
|
+
/**
|
|
2865
|
+
* Aggregated number of executions per period.
|
|
2866
|
+
*/
|
|
2867
|
+
executions: Metric[];
|
|
2868
|
+
/**
|
|
2869
|
+
* Aggregated breakdown in totals of executions by functions.
|
|
2870
|
+
*/
|
|
2871
|
+
executionsBreakdown: MetricBreakdown[];
|
|
2872
|
+
/**
|
|
2873
|
+
* Aggregated breakdown in totals of usage by buckets.
|
|
2874
|
+
*/
|
|
2875
|
+
bucketsBreakdown: MetricBreakdown[];
|
|
2843
2876
|
}
|
|
2844
2877
|
/**
|
|
2845
2878
|
* Headers
|
package/types/models.d.ts
CHANGED
|
@@ -2573,6 +2573,23 @@ export declare namespace Models {
|
|
|
2573
2573
|
*/
|
|
2574
2574
|
date: string;
|
|
2575
2575
|
};
|
|
2576
|
+
/**
|
|
2577
|
+
* Metric Breakdown
|
|
2578
|
+
*/
|
|
2579
|
+
type MetricBreakdown = {
|
|
2580
|
+
/**
|
|
2581
|
+
* Resource ID.
|
|
2582
|
+
*/
|
|
2583
|
+
resourceId: string;
|
|
2584
|
+
/**
|
|
2585
|
+
* Resource name.
|
|
2586
|
+
*/
|
|
2587
|
+
name: string;
|
|
2588
|
+
/**
|
|
2589
|
+
* The value of this metric at the timestamp.
|
|
2590
|
+
*/
|
|
2591
|
+
value: number;
|
|
2592
|
+
};
|
|
2576
2593
|
/**
|
|
2577
2594
|
* UsageDatabases
|
|
2578
2595
|
*/
|
|
@@ -2835,11 +2852,27 @@ export declare namespace Models {
|
|
|
2835
2852
|
/**
|
|
2836
2853
|
* Aggregated number of requests per period.
|
|
2837
2854
|
*/
|
|
2838
|
-
requests:
|
|
2855
|
+
requests: Metric[];
|
|
2839
2856
|
/**
|
|
2840
2857
|
* Aggregated number of consumed bandwidth per period.
|
|
2841
2858
|
*/
|
|
2842
|
-
network:
|
|
2859
|
+
network: Metric[];
|
|
2860
|
+
/**
|
|
2861
|
+
* Aggregated number of users per period.
|
|
2862
|
+
*/
|
|
2863
|
+
users: Metric[];
|
|
2864
|
+
/**
|
|
2865
|
+
* Aggregated number of executions per period.
|
|
2866
|
+
*/
|
|
2867
|
+
executions: Metric[];
|
|
2868
|
+
/**
|
|
2869
|
+
* Aggregated breakdown in totals of executions by functions.
|
|
2870
|
+
*/
|
|
2871
|
+
executionsBreakdown: MetricBreakdown[];
|
|
2872
|
+
/**
|
|
2873
|
+
* Aggregated breakdown in totals of usage by buckets.
|
|
2874
|
+
*/
|
|
2875
|
+
bucketsBreakdown: MetricBreakdown[];
|
|
2843
2876
|
};
|
|
2844
2877
|
/**
|
|
2845
2878
|
* Headers
|