@capgo/cli 8.72.1 → 8.75.0
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/README.md +1 -0
- package/dist/index.js +822 -821
- package/dist/notify-app-ready-worker.js +135 -134
- package/dist/onboarding-worker.js +173 -172
- package/dist/package.json +2 -3
- package/dist/src/bundle/manifest-upload.d.ts +75 -0
- package/dist/src/bundle/partial.d.ts +13 -6
- package/dist/src/schemas/bundle.d.ts +1 -0
- package/dist/src/sdk.js +382 -381
- package/dist/src/types/supabase.types.d.ts +80 -0
- package/dist/src/utils.d.ts +5798 -15
- package/dist/updater-installed-worker.js +107 -106
- package/package.json +2 -3
|
@@ -32,6 +32,81 @@ export type Database = {
|
|
|
32
32
|
};
|
|
33
33
|
public: {
|
|
34
34
|
Tables: {
|
|
35
|
+
r2_inventory_checkpoints: {
|
|
36
|
+
Row: {
|
|
37
|
+
bucket_name: string;
|
|
38
|
+
job_name: string;
|
|
39
|
+
partition_key: string;
|
|
40
|
+
accepted_event_floor: string | null;
|
|
41
|
+
checkpoint: Json;
|
|
42
|
+
updated_at: string;
|
|
43
|
+
};
|
|
44
|
+
Insert: {
|
|
45
|
+
bucket_name: string;
|
|
46
|
+
job_name: string;
|
|
47
|
+
partition_key?: string;
|
|
48
|
+
accepted_event_floor?: string | null;
|
|
49
|
+
checkpoint?: Json;
|
|
50
|
+
updated_at?: string;
|
|
51
|
+
};
|
|
52
|
+
Update: {
|
|
53
|
+
bucket_name?: string;
|
|
54
|
+
job_name?: string;
|
|
55
|
+
partition_key?: string;
|
|
56
|
+
accepted_event_floor?: string | null;
|
|
57
|
+
checkpoint?: Json;
|
|
58
|
+
updated_at?: string;
|
|
59
|
+
};
|
|
60
|
+
Relationships: [];
|
|
61
|
+
};
|
|
62
|
+
r2_objects: {
|
|
63
|
+
Row: {
|
|
64
|
+
bucket_name: string;
|
|
65
|
+
r2_key: string;
|
|
66
|
+
r2_state: Database["public"]["Enums"]["r2_object_state"];
|
|
67
|
+
size_bytes: number | null;
|
|
68
|
+
etag: string | null;
|
|
69
|
+
r2_last_modified_at: string | null;
|
|
70
|
+
last_event_at: string | null;
|
|
71
|
+
last_reconciled_at: string | null;
|
|
72
|
+
tombstone_expires_at: string | null;
|
|
73
|
+
cleanup_requested_at: string | null;
|
|
74
|
+
first_seen_at: string;
|
|
75
|
+
updated_at: string;
|
|
76
|
+
revision: number;
|
|
77
|
+
};
|
|
78
|
+
Insert: {
|
|
79
|
+
bucket_name: string;
|
|
80
|
+
r2_key: string;
|
|
81
|
+
r2_state: Database["public"]["Enums"]["r2_object_state"];
|
|
82
|
+
size_bytes?: number | null;
|
|
83
|
+
etag?: string | null;
|
|
84
|
+
r2_last_modified_at?: string | null;
|
|
85
|
+
last_event_at?: string | null;
|
|
86
|
+
last_reconciled_at?: string | null;
|
|
87
|
+
tombstone_expires_at?: string | null;
|
|
88
|
+
cleanup_requested_at?: string | null;
|
|
89
|
+
first_seen_at?: string;
|
|
90
|
+
updated_at?: string;
|
|
91
|
+
revision?: number;
|
|
92
|
+
};
|
|
93
|
+
Update: {
|
|
94
|
+
bucket_name?: string;
|
|
95
|
+
r2_key?: string;
|
|
96
|
+
r2_state?: Database["public"]["Enums"]["r2_object_state"];
|
|
97
|
+
size_bytes?: number | null;
|
|
98
|
+
etag?: string | null;
|
|
99
|
+
r2_last_modified_at?: string | null;
|
|
100
|
+
last_event_at?: string | null;
|
|
101
|
+
last_reconciled_at?: string | null;
|
|
102
|
+
tombstone_expires_at?: string | null;
|
|
103
|
+
cleanup_requested_at?: string | null;
|
|
104
|
+
first_seen_at?: string;
|
|
105
|
+
updated_at?: string;
|
|
106
|
+
revision?: number;
|
|
107
|
+
};
|
|
108
|
+
Relationships: [];
|
|
109
|
+
};
|
|
35
110
|
apikey_global_permissions: {
|
|
36
111
|
Row: {
|
|
37
112
|
apikey_rbac_id: string;
|
|
@@ -2638,6 +2713,7 @@ export type Database = {
|
|
|
2638
2713
|
created_at: string;
|
|
2639
2714
|
customer_country: string | null;
|
|
2640
2715
|
customer_id: string;
|
|
2716
|
+
extra_mau: number;
|
|
2641
2717
|
id: number;
|
|
2642
2718
|
is_good_plan: boolean | null;
|
|
2643
2719
|
last_stripe_event_at: string | null;
|
|
@@ -2665,6 +2741,7 @@ export type Database = {
|
|
|
2665
2741
|
created_at?: string;
|
|
2666
2742
|
customer_country?: string | null;
|
|
2667
2743
|
customer_id: string;
|
|
2744
|
+
extra_mau?: number;
|
|
2668
2745
|
id?: number;
|
|
2669
2746
|
is_good_plan?: boolean | null;
|
|
2670
2747
|
last_stripe_event_at?: string | null;
|
|
@@ -2692,6 +2769,7 @@ export type Database = {
|
|
|
2692
2769
|
created_at?: string;
|
|
2693
2770
|
customer_country?: string | null;
|
|
2694
2771
|
customer_id?: string;
|
|
2772
|
+
extra_mau?: number;
|
|
2695
2773
|
id?: number;
|
|
2696
2774
|
is_good_plan?: boolean | null;
|
|
2697
2775
|
last_stripe_event_at?: string | null;
|
|
@@ -5676,6 +5754,7 @@ export type Database = {
|
|
|
5676
5754
|
};
|
|
5677
5755
|
};
|
|
5678
5756
|
Enums: {
|
|
5757
|
+
r2_object_state: "to_be_uploaded" | "present" | "to_be_deleted" | "deleted";
|
|
5679
5758
|
action_type: "mau" | "storage" | "bandwidth" | "build_time";
|
|
5680
5759
|
channel_update_package: "all" | "zip" | "delta" | "zip_from_builtin" | "delta_from_builtin";
|
|
5681
5760
|
credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
|
|
@@ -5777,6 +5856,7 @@ export declare const Constants: {
|
|
|
5777
5856
|
};
|
|
5778
5857
|
readonly public: {
|
|
5779
5858
|
readonly Enums: {
|
|
5859
|
+
readonly r2_object_state: readonly ["to_be_uploaded", "present", "to_be_deleted", "deleted"];
|
|
5780
5860
|
readonly action_type: readonly ["mau", "storage", "bandwidth", "build_time"];
|
|
5781
5861
|
readonly channel_update_package: readonly ["all", "zip", "delta", "zip_from_builtin", "delta_from_builtin"];
|
|
5782
5862
|
readonly credit_metric_type: readonly ["mau", "bandwidth", "storage", "build_time"];
|