@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.
@@ -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"];
@@ -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
  }>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "8.34.0",
4
+ "version": "8.36.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",