@capgo/cli 7.63.0 → 7.64.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/README.md +131 -14
- package/dist/index.js +413 -392
- package/dist/package.json +2 -3
- package/dist/src/api/app.d.ts +2 -2
- package/dist/src/api/channels.d.ts +952 -63
- package/dist/src/api/cryptoV2.d.ts +0 -1
- package/dist/src/api/update.d.ts +0 -1
- package/dist/src/api/versions.d.ts +0 -1
- package/dist/src/app/add.d.ts +0 -1
- package/dist/src/app/debug.d.ts +0 -1
- package/dist/src/app/delete.d.ts +0 -1
- package/dist/src/app/info.d.ts +0 -1
- package/dist/src/app/list.d.ts +0 -1
- package/dist/src/app/set.d.ts +0 -1
- package/dist/src/app/setting.d.ts +0 -1
- package/dist/src/build/credentials-command.d.ts +0 -1
- package/dist/src/build/credentials.d.ts +0 -1
- package/dist/src/build/request.d.ts +0 -1
- package/dist/src/bundle/check.d.ts +0 -1
- package/dist/src/bundle/cleanup.d.ts +0 -1
- package/dist/src/bundle/compatibility.d.ts +0 -1
- package/dist/src/bundle/decryptV2.d.ts +0 -1
- package/dist/src/bundle/delete.d.ts +0 -1
- package/dist/src/bundle/encryptV2.d.ts +0 -1
- package/dist/src/bundle/list.d.ts +0 -1
- package/dist/src/bundle/partial.d.ts +0 -1
- package/dist/src/bundle/unlink.d.ts +0 -1
- package/dist/src/bundle/upload.d.ts +0 -1
- package/dist/src/bundle/upload_interface.d.ts +0 -1
- package/dist/src/bundle/zip.d.ts +0 -1
- package/dist/src/channel/add.d.ts +0 -1
- package/dist/src/channel/currentBundle.d.ts +0 -1
- package/dist/src/channel/delete.d.ts +0 -1
- package/dist/src/channel/list.d.ts +0 -1
- package/dist/src/channel/set.d.ts +0 -1
- package/dist/src/checksum.d.ts +0 -1
- package/dist/src/config/index.d.ts +0 -1
- package/dist/src/docs.d.ts +0 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/init.d.ts +0 -1
- package/dist/src/keyV2.d.ts +0 -1
- package/dist/src/login.d.ts +0 -1
- package/dist/src/mcp/server.d.ts +0 -1
- package/dist/src/{organisation → organization}/add.d.ts +3 -1
- package/dist/src/{organisation → organization}/delete.d.ts +0 -1
- package/dist/src/{organisation → organization}/index.d.ts +1 -1
- package/dist/src/{organisation → organization}/list.d.ts +4 -1
- package/dist/src/organization/members.d.ts +11 -0
- package/dist/src/{organisation → organization}/set.d.ts +2 -1
- package/dist/src/sdk.d.ts +6 -1
- package/dist/src/sdk.js +319 -308
- package/dist/src/types/supabase.types.d.ts +508 -29
- package/dist/src/user/account.d.ts +0 -1
- package/dist/src/utils/latest-version.d.ts +0 -1
- package/dist/src/utils/security_policy_errors.d.ts +50 -0
- package/dist/src/utils.d.ts +477 -27
- package/dist/src/versionHelpers.d.ts +0 -1
- package/package.json +2 -3
- package/dist/src/api/app.d.ts.map +0 -1
- package/dist/src/api/channels.d.ts.map +0 -1
- package/dist/src/api/cryptoV2.d.ts.map +0 -1
- package/dist/src/api/update.d.ts.map +0 -1
- package/dist/src/api/versions.d.ts.map +0 -1
- package/dist/src/app/add.d.ts.map +0 -1
- package/dist/src/app/debug.d.ts.map +0 -1
- package/dist/src/app/delete.d.ts.map +0 -1
- package/dist/src/app/info.d.ts.map +0 -1
- package/dist/src/app/list.d.ts.map +0 -1
- package/dist/src/app/set.d.ts.map +0 -1
- package/dist/src/app/setting.d.ts.map +0 -1
- package/dist/src/build/credentials-command.d.ts.map +0 -1
- package/dist/src/build/credentials.d.ts.map +0 -1
- package/dist/src/build/request.d.ts.map +0 -1
- package/dist/src/bundle/check.d.ts.map +0 -1
- package/dist/src/bundle/cleanup.d.ts.map +0 -1
- package/dist/src/bundle/compatibility.d.ts.map +0 -1
- package/dist/src/bundle/decryptV2.d.ts.map +0 -1
- package/dist/src/bundle/delete.d.ts.map +0 -1
- package/dist/src/bundle/encryptV2.d.ts.map +0 -1
- package/dist/src/bundle/list.d.ts.map +0 -1
- package/dist/src/bundle/partial.d.ts.map +0 -1
- package/dist/src/bundle/unlink.d.ts.map +0 -1
- package/dist/src/bundle/upload.d.ts.map +0 -1
- package/dist/src/bundle/upload_interface.d.ts.map +0 -1
- package/dist/src/bundle/zip.d.ts.map +0 -1
- package/dist/src/channel/add.d.ts.map +0 -1
- package/dist/src/channel/currentBundle.d.ts.map +0 -1
- package/dist/src/channel/delete.d.ts.map +0 -1
- package/dist/src/channel/list.d.ts.map +0 -1
- package/dist/src/channel/set.d.ts.map +0 -1
- package/dist/src/checksum.d.ts.map +0 -1
- package/dist/src/config/index.d.ts.map +0 -1
- package/dist/src/docs.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/init.d.ts.map +0 -1
- package/dist/src/keyV2.d.ts.map +0 -1
- package/dist/src/login.d.ts.map +0 -1
- package/dist/src/mcp/server.d.ts.map +0 -1
- package/dist/src/organisation/add.d.ts.map +0 -1
- package/dist/src/organisation/delete.d.ts.map +0 -1
- package/dist/src/organisation/index.d.ts.map +0 -1
- package/dist/src/organisation/list.d.ts.map +0 -1
- package/dist/src/organisation/set.d.ts.map +0 -1
- package/dist/src/sdk.d.ts.map +0 -1
- package/dist/src/types/supabase.types.d.ts.map +0 -1
- package/dist/src/user/account.d.ts.map +0 -1
- package/dist/src/utils/latest-version.d.ts.map +0 -1
- package/dist/src/utils.d.ts.map +0 -1
- package/dist/src/versionHelpers.d.ts.map +0 -1
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.64.1",
|
|
4
4
|
"description": "A CLI to upload to capgo servers",
|
|
5
5
|
"author": "Martin martin@capgo.app",
|
|
6
6
|
"license": "Apache 2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"node": ">=20.0.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "tsc &&
|
|
48
|
+
"build": "tsc && bun build.mjs",
|
|
49
49
|
"dev": "NODE_ENV=development ncc build",
|
|
50
50
|
"no-debug": "node dist/index.js",
|
|
51
51
|
"dev-build": "SUPA_DB=development ncc build",
|
|
@@ -85,7 +85,6 @@
|
|
|
85
85
|
"adm-zip": "^0.5.16",
|
|
86
86
|
"ci-info": "^4.3.1",
|
|
87
87
|
"commander": "^14.0.2",
|
|
88
|
-
"esbuild": "^0.27.0",
|
|
89
88
|
"eslint": "^9.38.0",
|
|
90
89
|
"git-format-staged": "3.1.1",
|
|
91
90
|
"husky": "^9.1.7",
|
package/dist/src/api/app.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import type { Database } from '../types/supabase.types';
|
|
|
3
3
|
import type { OptionsBase } from '../utils';
|
|
4
4
|
import { OrganizationPerm } from '../utils';
|
|
5
5
|
export declare function checkAppExists(supabase: SupabaseClient<Database>, appid: string): Promise<boolean>;
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function check2FAComplianceForApp(supabase: SupabaseClient<Database>, appid: string, silent?: boolean): Promise<void>;
|
|
7
|
+
export declare function checkAppExistsAndHasPermissionOrgErr(supabase: SupabaseClient<Database>, apikey: string, appid: string, requiredPermission: OrganizationPerm, silent?: boolean, skip2FACheck?: boolean): Promise<OrganizationPerm>;
|
|
7
8
|
export interface Options extends OptionsBase {
|
|
8
9
|
name?: string;
|
|
9
10
|
icon?: string;
|
|
@@ -11,4 +12,3 @@ export interface Options extends OptionsBase {
|
|
|
11
12
|
exposeMetadata?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export declare const newIconPath = "assets/icon.png";
|
|
14
|
-
//# sourceMappingURL=app.d.ts.map
|