@capgo/cli 7.95.5 → 7.95.6
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/dist/index.js +171 -171
- package/dist/package.json +11 -11
- package/dist/src/api/channels.d.ts +31 -117
- package/dist/src/sdk.js +133 -133
- package/dist/src/types/supabase.types.d.ts +17 -84
- package/dist/src/utils.d.ts +14 -57
- package/package.json +11 -11
|
@@ -2,30 +2,8 @@ export type Json = string | number | boolean | null | {
|
|
|
2
2
|
[key: string]: Json | undefined;
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[_ in never]: never;
|
|
8
|
-
};
|
|
9
|
-
Views: {
|
|
10
|
-
[_ in never]: never;
|
|
11
|
-
};
|
|
12
|
-
Functions: {
|
|
13
|
-
graphql: {
|
|
14
|
-
Args: {
|
|
15
|
-
extensions?: Json;
|
|
16
|
-
operationName?: string;
|
|
17
|
-
query?: string;
|
|
18
|
-
variables?: Json;
|
|
19
|
-
};
|
|
20
|
-
Returns: Json;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
Enums: {
|
|
24
|
-
[_ in never]: never;
|
|
25
|
-
};
|
|
26
|
-
CompositeTypes: {
|
|
27
|
-
[_ in never]: never;
|
|
28
|
-
};
|
|
5
|
+
__InternalSupabase: {
|
|
6
|
+
PostgrestVersion: "14.1";
|
|
29
7
|
};
|
|
30
8
|
public: {
|
|
31
9
|
Tables: {
|
|
@@ -471,6 +449,13 @@ export type Database = {
|
|
|
471
449
|
isOneToOne: false;
|
|
472
450
|
referencedRelation: "apps";
|
|
473
451
|
referencedColumns: ["app_id"];
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
foreignKeyName: "build_logs_org_id_fkey";
|
|
455
|
+
columns: ["org_id"];
|
|
456
|
+
isOneToOne: false;
|
|
457
|
+
referencedRelation: "orgs";
|
|
458
|
+
referencedColumns: ["id"];
|
|
474
459
|
}
|
|
475
460
|
];
|
|
476
461
|
};
|
|
@@ -1230,7 +1215,7 @@ export type Database = {
|
|
|
1230
1215
|
paying: number | null;
|
|
1231
1216
|
paying_monthly: number | null;
|
|
1232
1217
|
paying_yearly: number | null;
|
|
1233
|
-
plan_enterprise: number;
|
|
1218
|
+
plan_enterprise: number | null;
|
|
1234
1219
|
plan_enterprise_monthly: number;
|
|
1235
1220
|
plan_enterprise_yearly: number;
|
|
1236
1221
|
plan_maker: number | null;
|
|
@@ -1299,7 +1284,7 @@ export type Database = {
|
|
|
1299
1284
|
paying?: number | null;
|
|
1300
1285
|
paying_monthly?: number | null;
|
|
1301
1286
|
paying_yearly?: number | null;
|
|
1302
|
-
plan_enterprise?: number;
|
|
1287
|
+
plan_enterprise?: number | null;
|
|
1303
1288
|
plan_enterprise_monthly?: number;
|
|
1304
1289
|
plan_enterprise_yearly?: number;
|
|
1305
1290
|
plan_maker?: number | null;
|
|
@@ -1368,7 +1353,7 @@ export type Database = {
|
|
|
1368
1353
|
paying?: number | null;
|
|
1369
1354
|
paying_monthly?: number | null;
|
|
1370
1355
|
paying_yearly?: number | null;
|
|
1371
|
-
plan_enterprise?: number;
|
|
1356
|
+
plan_enterprise?: number | null;
|
|
1372
1357
|
plan_enterprise_monthly?: number;
|
|
1373
1358
|
plan_enterprise_yearly?: number;
|
|
1374
1359
|
plan_maker?: number | null;
|
|
@@ -3702,24 +3687,18 @@ export type Database = {
|
|
|
3702
3687
|
app_count: number;
|
|
3703
3688
|
can_use_more: boolean;
|
|
3704
3689
|
created_by: string;
|
|
3705
|
-
credit_available: number;
|
|
3706
|
-
credit_next_expiration: string;
|
|
3707
|
-
credit_total: number;
|
|
3708
3690
|
gid: string;
|
|
3709
3691
|
is_canceled: boolean;
|
|
3710
3692
|
is_yearly: boolean;
|
|
3711
3693
|
logo: string;
|
|
3712
3694
|
management_email: string;
|
|
3713
|
-
max_apikey_expiration_days: number;
|
|
3714
3695
|
name: string;
|
|
3715
|
-
next_stats_update_at: string;
|
|
3716
3696
|
paying: boolean;
|
|
3717
|
-
require_apikey_expiration: boolean;
|
|
3718
3697
|
role: string;
|
|
3719
|
-
stats_updated_at: string;
|
|
3720
3698
|
subscription_end: string;
|
|
3721
3699
|
subscription_start: string;
|
|
3722
3700
|
trial_left: number;
|
|
3701
|
+
use_new_rbac: boolean;
|
|
3723
3702
|
}[];
|
|
3724
3703
|
} | {
|
|
3725
3704
|
Args: {
|
|
@@ -3729,24 +3708,18 @@ export type Database = {
|
|
|
3729
3708
|
app_count: number;
|
|
3730
3709
|
can_use_more: boolean;
|
|
3731
3710
|
created_by: string;
|
|
3732
|
-
credit_available: number;
|
|
3733
|
-
credit_next_expiration: string;
|
|
3734
|
-
credit_total: number;
|
|
3735
3711
|
gid: string;
|
|
3736
3712
|
is_canceled: boolean;
|
|
3737
3713
|
is_yearly: boolean;
|
|
3738
3714
|
logo: string;
|
|
3739
3715
|
management_email: string;
|
|
3740
|
-
max_apikey_expiration_days: number;
|
|
3741
3716
|
name: string;
|
|
3742
|
-
next_stats_update_at: string;
|
|
3743
3717
|
paying: boolean;
|
|
3744
|
-
require_apikey_expiration: boolean;
|
|
3745
3718
|
role: string;
|
|
3746
|
-
stats_updated_at: string;
|
|
3747
3719
|
subscription_end: string;
|
|
3748
3720
|
subscription_start: string;
|
|
3749
3721
|
trial_left: number;
|
|
3722
|
+
use_new_rbac: boolean;
|
|
3750
3723
|
}[];
|
|
3751
3724
|
};
|
|
3752
3725
|
get_orgs_v7: {
|
|
@@ -4270,7 +4243,7 @@ export type Database = {
|
|
|
4270
4243
|
};
|
|
4271
4244
|
is_recent_email_otp_verified: {
|
|
4272
4245
|
Args: {
|
|
4273
|
-
|
|
4246
|
+
user_id: string;
|
|
4274
4247
|
};
|
|
4275
4248
|
Returns: boolean;
|
|
4276
4249
|
};
|
|
@@ -5059,43 +5032,6 @@ export type Database = {
|
|
|
5059
5032
|
};
|
|
5060
5033
|
Returns: string;
|
|
5061
5034
|
};
|
|
5062
|
-
reset_and_seed_app_data: {
|
|
5063
|
-
Args: {
|
|
5064
|
-
p_admin_user_id?: string;
|
|
5065
|
-
p_app_id: string;
|
|
5066
|
-
p_org_id?: string;
|
|
5067
|
-
p_plan_product_id?: string;
|
|
5068
|
-
p_stripe_customer_id?: string;
|
|
5069
|
-
p_user_id?: string;
|
|
5070
|
-
};
|
|
5071
|
-
Returns: undefined;
|
|
5072
|
-
};
|
|
5073
|
-
reset_and_seed_app_stats_data: {
|
|
5074
|
-
Args: {
|
|
5075
|
-
p_app_id: string;
|
|
5076
|
-
};
|
|
5077
|
-
Returns: undefined;
|
|
5078
|
-
};
|
|
5079
|
-
reset_and_seed_data: {
|
|
5080
|
-
Args: never;
|
|
5081
|
-
Returns: undefined;
|
|
5082
|
-
};
|
|
5083
|
-
reset_and_seed_stats_data: {
|
|
5084
|
-
Args: never;
|
|
5085
|
-
Returns: undefined;
|
|
5086
|
-
};
|
|
5087
|
-
reset_app_data: {
|
|
5088
|
-
Args: {
|
|
5089
|
-
p_app_id: string;
|
|
5090
|
-
};
|
|
5091
|
-
Returns: undefined;
|
|
5092
|
-
};
|
|
5093
|
-
reset_app_stats_data: {
|
|
5094
|
-
Args: {
|
|
5095
|
-
p_app_id: string;
|
|
5096
|
-
};
|
|
5097
|
-
Returns: undefined;
|
|
5098
|
-
};
|
|
5099
5035
|
restore_deleted_account: {
|
|
5100
5036
|
Args: never;
|
|
5101
5037
|
Returns: undefined;
|
|
@@ -5285,7 +5221,7 @@ export type Database = {
|
|
|
5285
5221
|
disable_update: "major" | "minor" | "patch" | "version_number" | "none";
|
|
5286
5222
|
key_mode: "read" | "write" | "all" | "upload";
|
|
5287
5223
|
platform_os: "ios" | "android" | "electron";
|
|
5288
|
-
stats_action: "delete" | "reset" | "set" | "get" | "set_fail" | "update_fail" | "download_fail" | "windows_path_fail" | "canonical_path_fail" | "directory_path_fail" | "unzip_fail" | "low_mem_fail" | "download_10" | "download_20" | "download_30" | "download_40" | "download_50" | "download_60" | "download_70" | "download_80" | "download_90" | "download_complete" | "decrypt_fail" | "app_moved_to_foreground" | "app_moved_to_background" | "uninstall" | "needPlanUpgrade" | "missingBundle" | "noNew" | "disablePlatformIos" | "disablePlatformAndroid" | "disableAutoUpdateToMajor" | "cannotUpdateViaPrivateChannel" | "disableAutoUpdateToMinor" | "disableAutoUpdateToPatch" | "channelMisconfigured" | "disableAutoUpdateMetadata" | "disableAutoUpdateUnderNative" | "disableDevBuild" | "
|
|
5224
|
+
stats_action: "delete" | "reset" | "set" | "get" | "set_fail" | "update_fail" | "download_fail" | "windows_path_fail" | "canonical_path_fail" | "directory_path_fail" | "unzip_fail" | "low_mem_fail" | "download_10" | "download_20" | "download_30" | "download_40" | "download_50" | "download_60" | "download_70" | "download_80" | "download_90" | "download_complete" | "decrypt_fail" | "app_moved_to_foreground" | "app_moved_to_background" | "uninstall" | "needPlanUpgrade" | "missingBundle" | "noNew" | "disablePlatformIos" | "disablePlatformAndroid" | "disableAutoUpdateToMajor" | "cannotUpdateViaPrivateChannel" | "disableAutoUpdateToMinor" | "disableAutoUpdateToPatch" | "channelMisconfigured" | "disableAutoUpdateMetadata" | "disableAutoUpdateUnderNative" | "disableDevBuild" | "disableEmulator" | "cannotGetBundle" | "checksum_fail" | "NoChannelOrOverride" | "setChannel" | "getChannel" | "rateLimited" | "disableAutoUpdate" | "keyMismatch" | "ping" | "InvalidIp" | "blocked_by_server_url" | "download_manifest_start" | "download_manifest_complete" | "download_zip_start" | "download_zip_complete" | "download_manifest_file_fail" | "download_manifest_checksum_fail" | "download_manifest_brotli_fail" | "backend_refusal" | "download_0" | "disableProdBuild" | "disableDevice" | "disablePlatformElectron" | "customIdBlocked";
|
|
5289
5225
|
stripe_status: "created" | "succeeded" | "updated" | "failed" | "deleted" | "canceled";
|
|
5290
5226
|
user_min_right: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";
|
|
5291
5227
|
user_role: "read" | "upload" | "write" | "admin";
|
|
@@ -5375,9 +5311,6 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
|
|
|
5375
5311
|
schema: keyof DatabaseWithoutInternals;
|
|
5376
5312
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
5377
5313
|
export declare const Constants: {
|
|
5378
|
-
readonly graphql_public: {
|
|
5379
|
-
readonly Enums: {};
|
|
5380
|
-
};
|
|
5381
5314
|
readonly public: {
|
|
5382
5315
|
readonly Enums: {
|
|
5383
5316
|
readonly action_type: readonly ["mau", "storage", "bandwidth", "build_time"];
|
|
@@ -5387,7 +5320,7 @@ export declare const Constants: {
|
|
|
5387
5320
|
readonly disable_update: readonly ["major", "minor", "patch", "version_number", "none"];
|
|
5388
5321
|
readonly key_mode: readonly ["read", "write", "all", "upload"];
|
|
5389
5322
|
readonly platform_os: readonly ["ios", "android", "electron"];
|
|
5390
|
-
readonly stats_action: readonly ["delete", "reset", "set", "get", "set_fail", "update_fail", "download_fail", "windows_path_fail", "canonical_path_fail", "directory_path_fail", "unzip_fail", "low_mem_fail", "download_10", "download_20", "download_30", "download_40", "download_50", "download_60", "download_70", "download_80", "download_90", "download_complete", "decrypt_fail", "app_moved_to_foreground", "app_moved_to_background", "uninstall", "needPlanUpgrade", "missingBundle", "noNew", "disablePlatformIos", "disablePlatformAndroid", "disableAutoUpdateToMajor", "cannotUpdateViaPrivateChannel", "disableAutoUpdateToMinor", "disableAutoUpdateToPatch", "channelMisconfigured", "disableAutoUpdateMetadata", "disableAutoUpdateUnderNative", "disableDevBuild", "
|
|
5323
|
+
readonly stats_action: readonly ["delete", "reset", "set", "get", "set_fail", "update_fail", "download_fail", "windows_path_fail", "canonical_path_fail", "directory_path_fail", "unzip_fail", "low_mem_fail", "download_10", "download_20", "download_30", "download_40", "download_50", "download_60", "download_70", "download_80", "download_90", "download_complete", "decrypt_fail", "app_moved_to_foreground", "app_moved_to_background", "uninstall", "needPlanUpgrade", "missingBundle", "noNew", "disablePlatformIos", "disablePlatformAndroid", "disableAutoUpdateToMajor", "cannotUpdateViaPrivateChannel", "disableAutoUpdateToMinor", "disableAutoUpdateToPatch", "channelMisconfigured", "disableAutoUpdateMetadata", "disableAutoUpdateUnderNative", "disableDevBuild", "disableEmulator", "cannotGetBundle", "checksum_fail", "NoChannelOrOverride", "setChannel", "getChannel", "rateLimited", "disableAutoUpdate", "keyMismatch", "ping", "InvalidIp", "blocked_by_server_url", "download_manifest_start", "download_manifest_complete", "download_zip_start", "download_zip_complete", "download_manifest_file_fail", "download_manifest_checksum_fail", "download_manifest_brotli_fail", "backend_refusal", "download_0", "disableProdBuild", "disableDevice", "disablePlatformElectron", "customIdBlocked"];
|
|
5391
5324
|
readonly stripe_status: readonly ["created", "succeeded", "updated", "failed", "deleted", "canceled"];
|
|
5392
5325
|
readonly user_min_right: readonly ["invite_read", "invite_upload", "invite_write", "invite_admin", "invite_super_admin", "read", "upload", "write", "admin", "super_admin"];
|
|
5393
5326
|
readonly user_role: readonly ["read", "upload", "write", "admin"];
|
package/dist/src/utils.d.ts
CHANGED
|
@@ -566,6 +566,12 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
566
566
|
isOneToOne: false;
|
|
567
567
|
referencedRelation: "apps";
|
|
568
568
|
referencedColumns: ["app_id"];
|
|
569
|
+
}, {
|
|
570
|
+
foreignKeyName: "build_logs_org_id_fkey";
|
|
571
|
+
columns: ["org_id"];
|
|
572
|
+
isOneToOne: false;
|
|
573
|
+
referencedRelation: "orgs";
|
|
574
|
+
referencedColumns: ["id"];
|
|
569
575
|
}];
|
|
570
576
|
};
|
|
571
577
|
build_requests: {
|
|
@@ -1301,7 +1307,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
1301
1307
|
paying: number | null;
|
|
1302
1308
|
paying_monthly: number | null;
|
|
1303
1309
|
paying_yearly: number | null;
|
|
1304
|
-
plan_enterprise: number;
|
|
1310
|
+
plan_enterprise: number | null;
|
|
1305
1311
|
plan_enterprise_monthly: number;
|
|
1306
1312
|
plan_enterprise_yearly: number;
|
|
1307
1313
|
plan_maker: number | null;
|
|
@@ -1370,7 +1376,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
1370
1376
|
paying?: number | null;
|
|
1371
1377
|
paying_monthly?: number | null;
|
|
1372
1378
|
paying_yearly?: number | null;
|
|
1373
|
-
plan_enterprise?: number;
|
|
1379
|
+
plan_enterprise?: number | null;
|
|
1374
1380
|
plan_enterprise_monthly?: number;
|
|
1375
1381
|
plan_enterprise_yearly?: number;
|
|
1376
1382
|
plan_maker?: number | null;
|
|
@@ -1439,7 +1445,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
1439
1445
|
paying?: number | null;
|
|
1440
1446
|
paying_monthly?: number | null;
|
|
1441
1447
|
paying_yearly?: number | null;
|
|
1442
|
-
plan_enterprise?: number;
|
|
1448
|
+
plan_enterprise?: number | null;
|
|
1443
1449
|
plan_enterprise_monthly?: number;
|
|
1444
1450
|
plan_enterprise_yearly?: number;
|
|
1445
1451
|
plan_maker?: number | null;
|
|
@@ -3710,24 +3716,18 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
3710
3716
|
app_count: number;
|
|
3711
3717
|
can_use_more: boolean;
|
|
3712
3718
|
created_by: string;
|
|
3713
|
-
credit_available: number;
|
|
3714
|
-
credit_next_expiration: string;
|
|
3715
|
-
credit_total: number;
|
|
3716
3719
|
gid: string;
|
|
3717
3720
|
is_canceled: boolean;
|
|
3718
3721
|
is_yearly: boolean;
|
|
3719
3722
|
logo: string;
|
|
3720
3723
|
management_email: string;
|
|
3721
|
-
max_apikey_expiration_days: number;
|
|
3722
3724
|
name: string;
|
|
3723
|
-
next_stats_update_at: string;
|
|
3724
3725
|
paying: boolean;
|
|
3725
|
-
require_apikey_expiration: boolean;
|
|
3726
3726
|
role: string;
|
|
3727
|
-
stats_updated_at: string;
|
|
3728
3727
|
subscription_end: string;
|
|
3729
3728
|
subscription_start: string;
|
|
3730
3729
|
trial_left: number;
|
|
3730
|
+
use_new_rbac: boolean;
|
|
3731
3731
|
}[];
|
|
3732
3732
|
} | {
|
|
3733
3733
|
Args: {
|
|
@@ -3737,24 +3737,18 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
3737
3737
|
app_count: number;
|
|
3738
3738
|
can_use_more: boolean;
|
|
3739
3739
|
created_by: string;
|
|
3740
|
-
credit_available: number;
|
|
3741
|
-
credit_next_expiration: string;
|
|
3742
|
-
credit_total: number;
|
|
3743
3740
|
gid: string;
|
|
3744
3741
|
is_canceled: boolean;
|
|
3745
3742
|
is_yearly: boolean;
|
|
3746
3743
|
logo: string;
|
|
3747
3744
|
management_email: string;
|
|
3748
|
-
max_apikey_expiration_days: number;
|
|
3749
3745
|
name: string;
|
|
3750
|
-
next_stats_update_at: string;
|
|
3751
3746
|
paying: boolean;
|
|
3752
|
-
require_apikey_expiration: boolean;
|
|
3753
3747
|
role: string;
|
|
3754
|
-
stats_updated_at: string;
|
|
3755
3748
|
subscription_end: string;
|
|
3756
3749
|
subscription_start: string;
|
|
3757
3750
|
trial_left: number;
|
|
3751
|
+
use_new_rbac: boolean;
|
|
3758
3752
|
}[];
|
|
3759
3753
|
};
|
|
3760
3754
|
get_orgs_v7: {
|
|
@@ -4278,7 +4272,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
4278
4272
|
};
|
|
4279
4273
|
is_recent_email_otp_verified: {
|
|
4280
4274
|
Args: {
|
|
4281
|
-
|
|
4275
|
+
user_id: string;
|
|
4282
4276
|
};
|
|
4283
4277
|
Returns: boolean;
|
|
4284
4278
|
};
|
|
@@ -5067,43 +5061,6 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
5067
5061
|
};
|
|
5068
5062
|
Returns: string;
|
|
5069
5063
|
};
|
|
5070
|
-
reset_and_seed_app_data: {
|
|
5071
|
-
Args: {
|
|
5072
|
-
p_admin_user_id?: string;
|
|
5073
|
-
p_app_id: string;
|
|
5074
|
-
p_org_id?: string;
|
|
5075
|
-
p_plan_product_id?: string;
|
|
5076
|
-
p_stripe_customer_id?: string;
|
|
5077
|
-
p_user_id?: string;
|
|
5078
|
-
};
|
|
5079
|
-
Returns: undefined;
|
|
5080
|
-
};
|
|
5081
|
-
reset_and_seed_app_stats_data: {
|
|
5082
|
-
Args: {
|
|
5083
|
-
p_app_id: string;
|
|
5084
|
-
};
|
|
5085
|
-
Returns: undefined;
|
|
5086
|
-
};
|
|
5087
|
-
reset_and_seed_data: {
|
|
5088
|
-
Args: never;
|
|
5089
|
-
Returns: undefined;
|
|
5090
|
-
};
|
|
5091
|
-
reset_and_seed_stats_data: {
|
|
5092
|
-
Args: never;
|
|
5093
|
-
Returns: undefined;
|
|
5094
|
-
};
|
|
5095
|
-
reset_app_data: {
|
|
5096
|
-
Args: {
|
|
5097
|
-
p_app_id: string;
|
|
5098
|
-
};
|
|
5099
|
-
Returns: undefined;
|
|
5100
|
-
};
|
|
5101
|
-
reset_app_stats_data: {
|
|
5102
|
-
Args: {
|
|
5103
|
-
p_app_id: string;
|
|
5104
|
-
};
|
|
5105
|
-
Returns: undefined;
|
|
5106
|
-
};
|
|
5107
5064
|
restore_deleted_account: {
|
|
5108
5065
|
Args: never;
|
|
5109
5066
|
Returns: undefined;
|
|
@@ -5293,7 +5250,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
5293
5250
|
disable_update: "major" | "minor" | "patch" | "version_number" | "none";
|
|
5294
5251
|
key_mode: "read" | "write" | "all" | "upload";
|
|
5295
5252
|
platform_os: "ios" | "android" | "electron";
|
|
5296
|
-
stats_action: "delete" | "reset" | "set" | "get" | "set_fail" | "update_fail" | "download_fail" | "windows_path_fail" | "canonical_path_fail" | "directory_path_fail" | "unzip_fail" | "low_mem_fail" | "download_10" | "download_20" | "download_30" | "download_40" | "download_50" | "download_60" | "download_70" | "download_80" | "download_90" | "download_complete" | "decrypt_fail" | "app_moved_to_foreground" | "app_moved_to_background" | "uninstall" | "needPlanUpgrade" | "missingBundle" | "noNew" | "disablePlatformIos" | "disablePlatformAndroid" | "disableAutoUpdateToMajor" | "cannotUpdateViaPrivateChannel" | "disableAutoUpdateToMinor" | "disableAutoUpdateToPatch" | "channelMisconfigured" | "disableAutoUpdateMetadata" | "disableAutoUpdateUnderNative" | "disableDevBuild" | "
|
|
5253
|
+
stats_action: "delete" | "reset" | "set" | "get" | "set_fail" | "update_fail" | "download_fail" | "windows_path_fail" | "canonical_path_fail" | "directory_path_fail" | "unzip_fail" | "low_mem_fail" | "download_10" | "download_20" | "download_30" | "download_40" | "download_50" | "download_60" | "download_70" | "download_80" | "download_90" | "download_complete" | "decrypt_fail" | "app_moved_to_foreground" | "app_moved_to_background" | "uninstall" | "needPlanUpgrade" | "missingBundle" | "noNew" | "disablePlatformIos" | "disablePlatformAndroid" | "disableAutoUpdateToMajor" | "cannotUpdateViaPrivateChannel" | "disableAutoUpdateToMinor" | "disableAutoUpdateToPatch" | "channelMisconfigured" | "disableAutoUpdateMetadata" | "disableAutoUpdateUnderNative" | "disableDevBuild" | "disableEmulator" | "cannotGetBundle" | "checksum_fail" | "NoChannelOrOverride" | "setChannel" | "getChannel" | "rateLimited" | "disableAutoUpdate" | "keyMismatch" | "ping" | "InvalidIp" | "blocked_by_server_url" | "download_manifest_start" | "download_manifest_complete" | "download_zip_start" | "download_zip_complete" | "download_manifest_file_fail" | "download_manifest_checksum_fail" | "download_manifest_brotli_fail" | "backend_refusal" | "download_0" | "disableProdBuild" | "disableDevice" | "disablePlatformElectron" | "customIdBlocked";
|
|
5297
5254
|
stripe_status: "created" | "succeeded" | "updated" | "failed" | "deleted" | "canceled";
|
|
5298
5255
|
user_min_right: "invite_read" | "invite_upload" | "invite_write" | "invite_admin" | "invite_super_admin" | "read" | "upload" | "write" | "admin" | "super_admin";
|
|
5299
5256
|
user_role: "read" | "upload" | "write" | "admin";
|
|
@@ -5332,7 +5289,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
5332
5289
|
};
|
|
5333
5290
|
};
|
|
5334
5291
|
}, {
|
|
5335
|
-
PostgrestVersion: "
|
|
5292
|
+
PostgrestVersion: "14.1";
|
|
5336
5293
|
}>>;
|
|
5337
5294
|
export declare function isPayingOrg(supabase: SupabaseClient<Database>, orgId: string): Promise<boolean>;
|
|
5338
5295
|
export declare function isTrialOrg(supabase: SupabaseClient<Database>, orgId: string): Promise<number>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.95.
|
|
4
|
+
"version": "7.95.6",
|
|
5
5
|
"description": "A CLI to upload to capgo servers",
|
|
6
6
|
"author": "Martin martin@capgo.app",
|
|
7
7
|
"license": "Apache 2.0",
|
|
@@ -88,9 +88,18 @@
|
|
|
88
88
|
"test:payload-split": "bun test/test-payload-split.mjs",
|
|
89
89
|
"test": "bun run build && bun run test:version-detection:setup && bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:onboarding-recovery && bun run test:onboarding-run-targets && bun run test:run-device-command && bun run test:init-app-conflict && bun run test:init-guardrails && bun run test:prompt-preferences && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split"
|
|
90
90
|
},
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"@inkjs/ui": "^2.0.0",
|
|
93
|
+
"ink": "^5.2.1",
|
|
94
|
+
"ink-spinner": "^5.0.0",
|
|
95
|
+
"jsonwebtoken": "^9.0.3",
|
|
96
|
+
"node-forge": "^1.3.3",
|
|
97
|
+
"qrcode": "^1.5.4",
|
|
98
|
+
"react": "^18.3.1"
|
|
99
|
+
},
|
|
91
100
|
"devDependencies": {
|
|
92
101
|
"@antfu/eslint-config": "^7.0.0",
|
|
93
|
-
"@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client@0.9.
|
|
102
|
+
"@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client@0.9.6",
|
|
94
103
|
"@capacitor/cli": "^8.0.0",
|
|
95
104
|
"@capgo/find-package-manager": "^0.0.18",
|
|
96
105
|
"@clack/prompts": "^1.0.0",
|
|
@@ -125,14 +134,5 @@
|
|
|
125
134
|
"typescript": "^5.9.3",
|
|
126
135
|
"ws": "^8.18.3",
|
|
127
136
|
"zod": "^4.3.6"
|
|
128
|
-
},
|
|
129
|
-
"dependencies": {
|
|
130
|
-
"@inkjs/ui": "^2.0.0",
|
|
131
|
-
"ink": "^5.2.1",
|
|
132
|
-
"ink-spinner": "^5.0.0",
|
|
133
|
-
"jsonwebtoken": "^9.0.3",
|
|
134
|
-
"node-forge": "^1.3.3",
|
|
135
|
-
"qrcode": "^1.5.4",
|
|
136
|
-
"react": "^18.3.1"
|
|
137
137
|
}
|
|
138
138
|
}
|