@capgo/cli 8.6.0 → 8.7.1
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 +391 -391
- package/dist/package.json +1 -1
- package/dist/src/analytics/global-props.d.ts +22 -0
- package/dist/src/analytics/track.d.ts +2 -14
- package/dist/src/sdk.js +225 -225
- package/dist/src/utils.d.ts +27 -6
- package/package.json +1 -1
package/dist/src/utils.d.ts
CHANGED
|
@@ -433,7 +433,31 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
433
433
|
build_timeout_seconds?: number;
|
|
434
434
|
build_timeout_updated_at?: string;
|
|
435
435
|
channel_device_count?: number;
|
|
436
|
-
created_at
|
|
436
|
+
created_at
|
|
437
|
+
/**
|
|
438
|
+
* Get the actual installed version of a package from node_modules (not from package.json)
|
|
439
|
+
* Uses multiple resolution strategies to find the installed version:
|
|
440
|
+
* 1. require.resolve - Works with all package managers
|
|
441
|
+
* 2. Walk up node_modules - Handles hoisted dependencies in monorepos
|
|
442
|
+
* 3. Native config files (iOS/Android) - For @capgo/capacitor-updater only
|
|
443
|
+
* 4. Fallback to declared version in package.json
|
|
444
|
+
*
|
|
445
|
+
* @param packageName - The package name to check
|
|
446
|
+
* @param rootDir - The root directory of the project
|
|
447
|
+
* @param packageJsonPath - Optional custom package.json path provided by user (takes priority if provided)
|
|
448
|
+
*/
|
|
449
|
+
? /**
|
|
450
|
+
* Get the actual installed version of a package from node_modules (not from package.json)
|
|
451
|
+
* Uses multiple resolution strategies to find the installed version:
|
|
452
|
+
* 1. require.resolve - Works with all package managers
|
|
453
|
+
* 2. Walk up node_modules - Handles hoisted dependencies in monorepos
|
|
454
|
+
* 3. Native config files (iOS/Android) - For @capgo/capacitor-updater only
|
|
455
|
+
* 4. Fallback to declared version in package.json
|
|
456
|
+
*
|
|
457
|
+
* @param packageName - The package name to check
|
|
458
|
+
* @param rootDir - The root directory of the project
|
|
459
|
+
* @param packageJsonPath - Optional custom package.json path provided by user (takes priority if provided)
|
|
460
|
+
*/: string | null;
|
|
437
461
|
default_upload_channel?: string;
|
|
438
462
|
existing_app?: boolean;
|
|
439
463
|
expose_metadata?: boolean;
|
|
@@ -2034,11 +2058,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
2034
2058
|
};
|
|
2035
2059
|
Update: {
|
|
2036
2060
|
child_role_id?: string;
|
|
2037
|
-
parent_role_id
|
|
2038
|
-
/**
|
|
2039
|
-
* Read directory recursively and return full paths for all files
|
|
2040
|
-
*/
|
|
2041
|
-
?: string;
|
|
2061
|
+
parent_role_id?: string;
|
|
2042
2062
|
};
|
|
2043
2063
|
Relationships: [{
|
|
2044
2064
|
foreignKeyName: "role_hierarchy_child_role_id_fkey";
|
|
@@ -5349,6 +5369,7 @@ export declare function updateOrCreateChannel(supabase: SupabaseClient<Database>
|
|
|
5349
5369
|
}>>;
|
|
5350
5370
|
export declare function sendEvent(capgkey: string, payload: TrackOptions & {
|
|
5351
5371
|
notifyConsole?: boolean;
|
|
5372
|
+
nonPersonTags?: Record<string, string | number | boolean>;
|
|
5352
5373
|
}, verbose?: boolean, signal?: AbortSignal): Promise<void>;
|
|
5353
5374
|
export declare function show2FADeniedError(organizationName?: string): never;
|
|
5354
5375
|
export declare function filterOrgsByPermission(supabase: SupabaseClient<Database>, apikey: string, orgs: Organization[], permissionKey: string): Promise<Organization[]>;
|