@capgo/cli 8.34.0 → 8.36.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 +610 -608
- package/dist/package.json +1 -1
- package/dist/src/api/app.d.ts +12 -0
- package/dist/src/api/channels.d.ts +1 -0
- package/dist/src/init/mcp/engine.d.ts +1 -0
- package/dist/src/init/onboarding-report.d.ts +13 -0
- package/dist/src/init/onboarding-source.d.ts +3 -0
- package/dist/src/init/onboarding-steps.d.ts +9 -0
- package/dist/src/init/ui.d.ts +2 -6
- package/dist/src/schemas/build.d.ts +1 -1
- package/dist/src/schemas/channel.d.ts +7 -0
- package/dist/src/schemas/sdk.d.ts +16 -2
- package/dist/src/sdk.js +281 -280
- package/dist/src/types/supabase.types.d.ts +5 -0
- package/dist/src/utils.d.ts +6 -0
- package/package.json +1 -1
|
@@ -830,6 +830,7 @@ export type Database = {
|
|
|
830
830
|
rollout_percentage_bps: number;
|
|
831
831
|
rollout_version: number | null;
|
|
832
832
|
rbac_id: string;
|
|
833
|
+
update_package: Database["public"]["Enums"]["channel_update_package"];
|
|
833
834
|
updated_at: string;
|
|
834
835
|
version: number | null;
|
|
835
836
|
};
|
|
@@ -869,6 +870,7 @@ export type Database = {
|
|
|
869
870
|
rollout_percentage_bps?: number;
|
|
870
871
|
rollout_version?: number | null;
|
|
871
872
|
rbac_id?: string;
|
|
873
|
+
update_package?: Database["public"]["Enums"]["channel_update_package"];
|
|
872
874
|
updated_at?: string;
|
|
873
875
|
version?: number | null;
|
|
874
876
|
};
|
|
@@ -908,6 +910,7 @@ export type Database = {
|
|
|
908
910
|
rollout_percentage_bps?: number;
|
|
909
911
|
rollout_version?: number | null;
|
|
910
912
|
rbac_id?: string;
|
|
913
|
+
update_package?: Database["public"]["Enums"]["channel_update_package"];
|
|
911
914
|
updated_at?: string;
|
|
912
915
|
version?: number | null;
|
|
913
916
|
};
|
|
@@ -5604,6 +5607,7 @@ export type Database = {
|
|
|
5604
5607
|
};
|
|
5605
5608
|
Enums: {
|
|
5606
5609
|
action_type: "mau" | "storage" | "bandwidth" | "build_time";
|
|
5610
|
+
channel_update_package: "all" | "zip" | "delta" | "zip_from_builtin" | "delta_from_builtin";
|
|
5607
5611
|
credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
|
|
5608
5612
|
credit_transaction_type: "grant" | "purchase" | "manual_grant" | "deduction" | "expiry" | "refund";
|
|
5609
5613
|
cron_task_type: "function" | "queue" | "function_queue";
|
|
@@ -5704,6 +5708,7 @@ export declare const Constants: {
|
|
|
5704
5708
|
readonly public: {
|
|
5705
5709
|
readonly Enums: {
|
|
5706
5710
|
readonly action_type: readonly ["mau", "storage", "bandwidth", "build_time"];
|
|
5711
|
+
readonly channel_update_package: readonly ["all", "zip", "delta", "zip_from_builtin", "delta_from_builtin"];
|
|
5707
5712
|
readonly credit_metric_type: readonly ["mau", "bandwidth", "storage", "build_time"];
|
|
5708
5713
|
readonly credit_transaction_type: readonly ["grant", "purchase", "manual_grant", "deduction", "expiry", "refund"];
|
|
5709
5714
|
readonly cron_task_type: readonly ["function", "queue", "function_queue"];
|
package/dist/src/utils.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ interface CapgoFilesConfig {
|
|
|
163
163
|
export declare function getRemoteFileConfig(): Promise<CapgoFilesConfig>;
|
|
164
164
|
export declare function normalizeSupabaseHost(host: string): string;
|
|
165
165
|
export declare function formatCapgoApiErrorBody(body: unknown): string;
|
|
166
|
+
export declare function channelUpdatePackageCliError(error: unknown): Promise<string | null>;
|
|
166
167
|
/** Capgo-managed Supabase hosts (cloud). Match hostname exactly. */
|
|
167
168
|
export declare function isCapgoManagedSupabaseHost(supaHost?: string): boolean;
|
|
168
169
|
/**
|
|
@@ -968,6 +969,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
968
969
|
rollout_percentage_bps: number;
|
|
969
970
|
rollout_version: number | null;
|
|
970
971
|
rbac_id: string;
|
|
972
|
+
update_package: Database["public"]["Enums"]["channel_update_package"];
|
|
971
973
|
updated_at: string;
|
|
972
974
|
version: number | null;
|
|
973
975
|
};
|
|
@@ -1007,6 +1009,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
1007
1009
|
rollout_percentage_bps?: number;
|
|
1008
1010
|
rollout_version?: number | null;
|
|
1009
1011
|
rbac_id?: string;
|
|
1012
|
+
update_package?: Database["public"]["Enums"]["channel_update_package"];
|
|
1010
1013
|
updated_at?: string;
|
|
1011
1014
|
version?: number | null;
|
|
1012
1015
|
};
|
|
@@ -1046,6 +1049,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
1046
1049
|
rollout_percentage_bps?: number;
|
|
1047
1050
|
rollout_version?: number | null;
|
|
1048
1051
|
rbac_id?: string;
|
|
1052
|
+
update_package?: Database["public"]["Enums"]["channel_update_package"];
|
|
1049
1053
|
updated_at?: string;
|
|
1050
1054
|
version?: number | null;
|
|
1051
1055
|
};
|
|
@@ -5654,6 +5658,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
5654
5658
|
};
|
|
5655
5659
|
Enums: {
|
|
5656
5660
|
action_type: "mau" | "storage" | "bandwidth" | "build_time";
|
|
5661
|
+
channel_update_package: "all" | "zip" | "delta" | "zip_from_builtin" | "delta_from_builtin";
|
|
5657
5662
|
credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
|
|
5658
5663
|
credit_transaction_type: "grant" | "purchase" | "manual_grant" | "deduction" | "expiry" | "refund";
|
|
5659
5664
|
cron_task_type: "function" | "queue" | "function_queue";
|
|
@@ -5798,6 +5803,7 @@ export declare function updateOrCreateChannel(supabase: SupabaseClient<Database>
|
|
|
5798
5803
|
rollout_percentage_bps: number;
|
|
5799
5804
|
rollout_version: number | null;
|
|
5800
5805
|
rbac_id: string;
|
|
5806
|
+
update_package: Database["public"]["Enums"]["channel_update_package"];
|
|
5801
5807
|
updated_at: string;
|
|
5802
5808
|
version: number | null;
|
|
5803
5809
|
}>>;
|