@capgo/cli 8.29.2 → 8.29.3
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 +525 -525
- package/dist/package.json +1 -1
- package/dist/src/api/app.d.ts +4 -1
- package/dist/src/organization/set.d.ts +2 -7
- package/dist/src/schemas/auth.d.ts +2 -2
- package/dist/src/sdk.js +278 -278
- package/dist/src/utils.d.ts +11 -0
- package/package.json +1 -1
package/dist/src/utils.d.ts
CHANGED
|
@@ -144,6 +144,17 @@ interface CapgoFilesConfig {
|
|
|
144
144
|
}
|
|
145
145
|
export declare function getRemoteFileConfig(): Promise<CapgoFilesConfig>;
|
|
146
146
|
export declare function normalizeSupabaseHost(host: string): string;
|
|
147
|
+
export declare function formatCapgoApiErrorBody(body: unknown): string;
|
|
148
|
+
/** Resolve Capgo public API base URL for CLI mutations (app create/update, etc.). */
|
|
149
|
+
export declare function resolveConfiguredCapgoPublicApiHost(config: {
|
|
150
|
+
hostApi: string;
|
|
151
|
+
supaHost?: string;
|
|
152
|
+
supaKey?: string;
|
|
153
|
+
}): string;
|
|
154
|
+
export declare function resolveCapgoPublicApiHost(options?: {
|
|
155
|
+
supaHost?: string;
|
|
156
|
+
supaAnon?: string;
|
|
157
|
+
}, silent?: boolean): Promise<string>;
|
|
147
158
|
export declare function createSupabaseClient(apikey: string, supaHost?: string, supaKey?: string, silent?: boolean, instrument?: boolean, signal?: AbortSignal): Promise<SupabaseClient<Database, "public", "public", {
|
|
148
159
|
Tables: {
|
|
149
160
|
apikey_global_permissions: {
|