appwrite-cli 22.1.1 → 22.1.2

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 CHANGED
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
29
29
 
30
30
  ```sh
31
31
  $ appwrite -v
32
- 22.1.1
32
+ 22.1.2
33
33
  ```
34
34
 
35
35
  ### Install using prebuilt binaries
@@ -83,7 +83,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
83
83
  Once the installation completes, you can verify your install using
84
84
  ```
85
85
  $ appwrite -v
86
- 22.1.1
86
+ 22.1.2
87
87
  ```
88
88
 
89
89
  ## Getting Started
package/dist/cli.cjs CHANGED
@@ -86099,7 +86099,7 @@ var package_default = {
86099
86099
  type: "module",
86100
86100
  homepage: "https://appwrite.io/support",
86101
86101
  description: "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
86102
- version: "22.1.1",
86102
+ version: "22.1.2",
86103
86103
  license: "BSD-3-Clause",
86104
86104
  main: "dist/index.cjs",
86105
86105
  module: "dist/index.js",
@@ -100830,7 +100830,7 @@ var validateCrossDatabase = (data, ctx) => {
100830
100830
  // lib/constants.ts
100831
100831
  var SDK_TITLE = "Appwrite";
100832
100832
  var SDK_TITLE_LOWER = "appwrite";
100833
- var SDK_VERSION = "22.1.1";
100833
+ var SDK_VERSION = "22.1.2";
100834
100834
  var SDK_NAME = "Command Line";
100835
100835
  var SDK_PLATFORM = "console";
100836
100836
  var SDK_LANGUAGE = "cli";
@@ -100845,7 +100845,7 @@ var GITHUB_REPO = "appwrite/sdk-for-cli";
100845
100845
  var GITHUB_RELEASES_URL = `https://github.com/${GITHUB_REPO}/releases`;
100846
100846
  var DEFAULT_ENDPOINT = "https://cloud.appwrite.io/v1";
100847
100847
  var OAUTH2_CLIENT_ID = "appwrite-cli";
100848
- var OAUTH2_SCOPES = "openid email profile";
100848
+ var OAUTH2_SCOPES = "openid email profile account.admin";
100849
100849
  var CONFIG_RESOURCE_KEYS = [
100850
100850
  "databases",
100851
100851
  "functions",
@@ -136347,7 +136347,7 @@ var removeCurrentSession = () => {
136347
136347
  var deleteServerSession = async (sessionId) => {
136348
136348
  const session = getSession(sessionId);
136349
136349
  if (!session?.endpoint) {
136350
- return false;
136350
+ return { deleted: false };
136351
136351
  }
136352
136352
  try {
136353
136353
  if (session.refreshToken) {
@@ -136356,7 +136356,7 @@ var deleteServerSession = async (sessionId) => {
136356
136356
  session.refreshToken,
136357
136357
  session.clientId || OAUTH2_CLIENT_ID
136358
136358
  );
136359
- return true;
136359
+ return { deleted: true };
136360
136360
  }
136361
136361
  if (session.cookie) {
136362
136362
  const legacyClient = createLegacyConsoleClient(
@@ -136367,31 +136367,38 @@ var deleteServerSession = async (sessionId) => {
136367
136367
  await legacyClient.call("DELETE", "/account/sessions/current", {
136368
136368
  "content-type": "application/json"
136369
136369
  });
136370
- return true;
136370
+ return { deleted: true };
136371
136371
  }
136372
- return false;
136373
- } catch (_e2) {
136374
- return false;
136372
+ return { deleted: false };
136373
+ } catch (e) {
136374
+ return {
136375
+ deleted: false,
136376
+ error: e instanceof Error ? e.message : String(e)
136377
+ };
136375
136378
  }
136376
136379
  };
136377
136380
  var logoutSessions = async (sessionIds) => {
136378
136381
  let failed = 0;
136379
136382
  const failedIds = [];
136383
+ const errors = [];
136380
136384
  for (const sessionId of sessionIds) {
136381
136385
  if (isLocalOnlySession(sessionId)) {
136382
136386
  globalConfig2.removeSession(sessionId);
136383
136387
  continue;
136384
136388
  }
136385
136389
  globalConfig2.setCurrentSession(sessionId);
136386
- const serverDeleted = await deleteServerSession(sessionId);
136387
- if (serverDeleted) {
136390
+ const result = await deleteServerSession(sessionId);
136391
+ if (result.deleted) {
136388
136392
  globalConfig2.removeSession(sessionId);
136389
136393
  } else {
136390
136394
  failed++;
136391
136395
  failedIds.push(sessionId);
136396
+ if (result.error) {
136397
+ errors.push(result.error);
136398
+ }
136392
136399
  }
136393
136400
  }
136394
- return { failed, failedIds };
136401
+ return { failed, failedIds, errors };
136395
136402
  };
136396
136403
  var removeLegacySessionsExcept = async (sessionIdToKeep) => {
136397
136404
  let removed = 0;
@@ -136400,8 +136407,8 @@ var removeLegacySessionsExcept = async (sessionIdToKeep) => {
136400
136407
  if (sessionId === sessionIdToKeep || !isLegacySession(sessionId)) {
136401
136408
  continue;
136402
136409
  }
136403
- const serverDeleted = await deleteServerSession(sessionId);
136404
- if (serverDeleted) {
136410
+ const result = await deleteServerSession(sessionId);
136411
+ if (result.deleted) {
136405
136412
  globalConfig2.removeSession(sessionId);
136406
136413
  removed++;
136407
136414
  } else {
@@ -136761,6 +136768,16 @@ var loginCommand = async ({
136761
136768
  };
136762
136769
 
136763
136770
  // lib/commands/generic.ts
136771
+ var logMessages = {
136772
+ noActiveSessions: "No active sessions found.",
136773
+ logoutFailure: (errors = []) => {
136774
+ const uniqueErrors = [...new Set(errors)];
136775
+ const details = uniqueErrors.length ? `: ${uniqueErrors.join("; ")}` : "";
136776
+ return `Could not log out because the server session could not be revoked${details}. Kept local session data.`;
136777
+ },
136778
+ logoutSuccess: "Logged out successfully",
136779
+ clientConfigUpdated: "Client configuration updated"
136780
+ };
136764
136781
  var whoami = new Command("whoami").description(commandDescriptions["whoami"]).action(
136765
136782
  actionRunner(async () => {
136766
136783
  if (globalConfig2.getEndpoint() === "" || !hasAuthSession()) {
@@ -136810,33 +136827,32 @@ var logout = new Command("logout").description(commandDescriptions["logout"]).co
136810
136827
  const current = globalConfig2.getCurrentSession();
136811
136828
  const originalCurrent = current;
136812
136829
  if (current === "" || !sessions.length) {
136813
- log("No active sessions found.");
136830
+ log(logMessages.noActiveSessions);
136814
136831
  return;
136815
136832
  }
136816
136833
  if (sessions.length === 1) {
136817
- const { failed, failedIds } = await logoutSessions(
136834
+ const { failed, failedIds, errors } = await logoutSessions(
136818
136835
  planSessionLogout([current])
136819
136836
  );
136820
136837
  if (failed > 0) {
136821
136838
  restoreCurrentSessionFallback(originalCurrent, failedIds);
136822
- hint(
136823
- "Could not reach server for all sessions; kept local session data"
136824
- );
136839
+ error51(logMessages.logoutFailure(errors));
136840
+ return;
136825
136841
  } else {
136826
136842
  globalConfig2.setCurrentSession("");
136827
136843
  }
136828
- success2("Logged out successfully");
136844
+ success2(logMessages.logoutSuccess);
136829
136845
  return;
136830
136846
  }
136831
136847
  const answers = await import_inquirer2.default.prompt(questionsLogout);
136848
+ let logoutFailed = false;
136832
136849
  if (answers.accounts?.length) {
136833
- const { failed } = await logoutSessions(
136850
+ const { failed, errors } = await logoutSessions(
136834
136851
  planSessionLogout(answers.accounts)
136835
136852
  );
136836
136853
  if (failed > 0) {
136837
- hint(
136838
- "Could not reach server for all sessions; kept local session data"
136839
- );
136854
+ logoutFailed = true;
136855
+ error51(logMessages.logoutFailure(errors));
136840
136856
  }
136841
136857
  }
136842
136858
  const remainingSessions = globalConfig2.getSessions();
@@ -136848,13 +136864,17 @@ var logout = new Command("logout").description(commandDescriptions["logout"]).co
136848
136864
  } else if (remainingSessions.length > 0) {
136849
136865
  const nextSession = remainingSessions.find((session) => session.email) ?? remainingSessions[0];
136850
136866
  globalConfig2.setCurrentSession(nextSession.id);
136851
- success2(
136852
- nextSession.email ? `Switched to ${nextSession.email}` : `Switched to session at ${nextSession.endpoint}`
136853
- );
136867
+ if (!logoutFailed) {
136868
+ success2(
136869
+ nextSession.email ? `Switched to ${nextSession.email}` : `Switched to session at ${nextSession.endpoint}`
136870
+ );
136871
+ }
136854
136872
  } else if (remainingSessions.length === 0) {
136855
136873
  globalConfig2.setCurrentSession("");
136856
136874
  }
136857
- success2("Logged out successfully");
136875
+ if (!logoutFailed) {
136876
+ success2(logMessages.logoutSuccess);
136877
+ }
136858
136878
  })
136859
136879
  );
136860
136880
  var client = new Command("client").description(commandDescriptions["client"]).configureHelp({
@@ -136941,20 +136961,19 @@ var client = new Command("client").description(commandDescriptions["client"]).co
136941
136961
  }
136942
136962
  if (reset !== void 0) {
136943
136963
  const originalCurrent = globalConfig2.getCurrentSession();
136944
- const { failed, failedIds } = await logoutSessions(
136964
+ const { failed, failedIds, errors } = await logoutSessions(
136945
136965
  globalConfig2.getSessionIds()
136946
136966
  );
136947
136967
  if (failed > 0) {
136948
136968
  restoreCurrentSessionFallback(originalCurrent, failedIds);
136949
- hint(
136950
- "Could not reach server for all sessions; kept local session data"
136951
- );
136969
+ error51(logMessages.logoutFailure(errors));
136970
+ return;
136952
136971
  } else {
136953
136972
  globalConfig2.setCurrentSession("");
136954
136973
  }
136955
136974
  }
136956
136975
  if (!debug) {
136957
- success2("Setting client");
136976
+ success2(logMessages.clientConfigUpdated);
136958
136977
  }
136959
136978
  }
136960
136979
  )
package/dist/index.cjs CHANGED
@@ -65125,7 +65125,7 @@ var id_default = ID;
65125
65125
  // lib/constants.ts
65126
65126
  var SDK_TITLE = "Appwrite";
65127
65127
  var SDK_TITLE_LOWER = "appwrite";
65128
- var SDK_VERSION = "22.1.1";
65128
+ var SDK_VERSION = "22.1.2";
65129
65129
  var SDK_LOGO = "\n _ _ _ ___ __ _____\n /_\\ _ __ _ ____ ___ __(_) |_ ___ / __\\ / / \\_ \\\n //_\\\\| '_ \\| '_ \\ \\ /\\ / / '__| | __/ _ \\ / / / / / /\\/\n / _ \\ |_) | |_) \\ V V /| | | | || __/ / /___/ /___/\\/ /_\n \\_/ \\_/ .__/| .__/ \\_/\\_/ |_| |_|\\__\\___| \\____/\\____/\\____/\n |_| |_|\n\n";
65130
65130
  var EXECUTABLE_NAME = "appwrite";
65131
65131
  var UPDATE_CHECK_INTERVAL_MS = 24 * 60 * 60 * 1e3;
@@ -104431,7 +104431,7 @@ var package_default = {
104431
104431
  type: "module",
104432
104432
  homepage: "https://appwrite.io/support",
104433
104433
  description: "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
104434
- version: "22.1.1",
104434
+ version: "22.1.2",
104435
104435
  license: "BSD-3-Clause",
104436
104436
  main: "dist/index.cjs",
104437
104437
  module: "dist/index.js",
package/dist/index.js CHANGED
@@ -65105,7 +65105,7 @@ var id_default = ID;
65105
65105
  // lib/constants.ts
65106
65106
  var SDK_TITLE = "Appwrite";
65107
65107
  var SDK_TITLE_LOWER = "appwrite";
65108
- var SDK_VERSION = "22.1.1";
65108
+ var SDK_VERSION = "22.1.2";
65109
65109
  var SDK_LOGO = "\n _ _ _ ___ __ _____\n /_\\ _ __ _ ____ ___ __(_) |_ ___ / __\\ / / \\_ \\\n //_\\\\| '_ \\| '_ \\ \\ /\\ / / '__| | __/ _ \\ / / / / / /\\/\n / _ \\ |_) | |_) \\ V V /| | | | || __/ / /___/ /___/\\/ /_\n \\_/ \\_/ .__/| .__/ \\_/\\_/ |_| |_|\\__\\___| \\____/\\____/\\____/\n |_| |_|\n\n";
65110
65110
  var EXECUTABLE_NAME = "appwrite";
65111
65111
  var UPDATE_CHECK_INTERVAL_MS = 24 * 60 * 60 * 1e3;
@@ -104411,7 +104411,7 @@ var package_default = {
104411
104411
  type: "module",
104412
104412
  homepage: "https://appwrite.io/support",
104413
104413
  description: "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
104414
- version: "22.1.1",
104414
+ version: "22.1.2",
104415
104415
  license: "BSD-3-Clause",
104416
104416
  main: "dist/index.cjs",
104417
104417
  module: "dist/index.js",
@@ -24,7 +24,10 @@ export declare const removeCurrentSession: () => void;
24
24
  * legacy cookie sessions delete the current server session. Returns whether
25
25
  * the server-side cleanup succeeded.
26
26
  */
27
- export declare const deleteServerSession: (sessionId: string) => Promise<boolean>;
27
+ export declare const deleteServerSession: (sessionId: string) => Promise<{
28
+ deleted: boolean;
29
+ error?: string;
30
+ }>;
28
31
  /**
29
32
  * Log out a set of session IDs: local-only sessions are removed locally;
30
33
  * the rest are revoked server-side and removed locally on success. Returns
@@ -33,6 +36,7 @@ export declare const deleteServerSession: (sessionId: string) => Promise<boolean
33
36
  export declare const logoutSessions: (sessionIds: string[]) => Promise<{
34
37
  failed: number;
35
38
  failedIds: string[];
39
+ errors: string[];
36
40
  }>;
37
41
  export declare const removeLegacySessionsExcept: (sessionIdToKeep: string) => Promise<{
38
42
  removed: number;
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../lib/auth/session.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,YAAY,MAAM,cAAc,CAAC;AAIxC;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,WAAW,MAAM,KAAG,WAAW,GAAG,SACL,CAAC;AAEzD,eAAO,MAAM,yBAAyB,GACpC,UAAU,MAAM,EAChB,aAAY,OAAsC,KACjD,YAQF,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,OACuC,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,WAAW,MAAM,KAAG,OAGtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,WAAW,MAAM,KAAG,OAGnD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,WAAW,MAAM,KAAG,MAAM,GAAG,SAMjE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,MAAM,KAAG,IAIzD,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,oBAAoB,MAAM,EAC1B,oBAAoB,MAAM,EAAE,KAC3B,IAOF,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,IAIvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAC9B,WAAW,MAAM,KAChB,OAAO,CAAC,OAAO,CAmCjB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GACzB,YAAY,MAAM,EAAE,KACnB,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAqBjD,CAAC;AAEF,eAAO,MAAM,0BAA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,YAAY,MAAM,EAAE,KACnB,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAyBnE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,iBAAiB,MAAM,KACtB,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAmB7C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,oBAAoB,MAAM,EAAE,KAAG,MAAM,EAwBtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generic.d.ts","sourceRoot":"","sources":["../../../lib/commands/generic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBpC,OAAO,EAAqB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAQnE,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,eAAO,MAAM,MAAM,SAgChB,CAAC;AAEJ,eAAO,MAAM,QAAQ,SAMlB,CAAC;AAEJ,eAAO,MAAM,KAAK,SAkBmB,CAAC;AAEtC,eAAO,MAAM,MAAM,SAuEhB,CAAC;AAWJ,eAAO,MAAM,MAAM,SAwIhB,CAAC;AAEJ,eAAO,MAAM,OAAO,QAAa,OAAO,CAAC,IAAI,CAmB5C,CAAC"}
1
+ {"version":3,"file":"generic.d.ts","sourceRoot":"","sources":["../../../lib/commands/generic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,OAAO,EAAqB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAQnE,OAAO,EAAE,YAAY,EAAE,CAAC;AAaxB,eAAO,MAAM,MAAM,SAgChB,CAAC;AAEJ,eAAO,MAAM,QAAQ,SAMlB,CAAC;AAEJ,eAAO,MAAM,KAAK,SAkBmB,CAAC;AAEtC,eAAO,MAAM,MAAM,SA0EhB,CAAC;AAWJ,eAAO,MAAM,MAAM,SAuIhB,CAAC;AAEJ,eAAO,MAAM,OAAO,QAAa,OAAO,CAAC,IAAI,CAmB5C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export declare const SDK_TITLE = "Appwrite";
2
2
  export declare const SDK_TITLE_LOWER = "appwrite";
3
- export declare const SDK_VERSION = "22.1.1";
3
+ export declare const SDK_VERSION = "22.1.2";
4
4
  export declare const SDK_NAME = "Command Line";
5
5
  export declare const SDK_PLATFORM = "console";
6
6
  export declare const SDK_LANGUAGE = "cli";
@@ -15,7 +15,7 @@ export declare const GITHUB_REPO = "appwrite/sdk-for-cli";
15
15
  export declare const GITHUB_RELEASES_URL = "https://github.com/appwrite/sdk-for-cli/releases";
16
16
  export declare const DEFAULT_ENDPOINT = "https://cloud.appwrite.io/v1";
17
17
  export declare const OAUTH2_CLIENT_ID = "appwrite-cli";
18
- export declare const OAUTH2_SCOPES = "openid email profile";
18
+ export declare const OAUTH2_SCOPES = "openid email profile account.admin";
19
19
  export declare const CONFIG_RESOURCE_KEYS: readonly ["databases", "functions", "topics", "messages", "sites", "buckets", "tablesDB", "tables", "teams", "webhooks", "collections"];
20
20
  export declare const TOP_LEVEL_RESOURCE_ARRAY_KEYS: Set<string>;
21
21
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../lib/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,SAAS,aAAa,CAAC;AACpC,eAAO,MAAM,eAAe,aAAa,CAAC;AAC1C,eAAO,MAAM,WAAW,WAAW,CAAC;AACpC,eAAO,MAAM,QAAQ,iBAAiB,CAAC;AACvC,eAAO,MAAM,YAAY,YAAY,CAAC;AACtC,eAAO,MAAM,YAAY,QAAQ,CAAC;AAClC,eAAO,MAAM,QAAQ,wXAA4Z,CAAC;AAGlb,eAAO,MAAM,eAAe,aAAa,CAAC;AAE1C,eAAO,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O,MAAM,aAAa,uCAAuC,CAAC;AAGlE,eAAO,MAAM,oBAAoB,yIAYvB,CAAC;AAEX,eAAO,MAAM,6BAA6B,aAEzC,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "homepage": "https://appwrite.io/support",
5
5
  "description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
6
- "version": "22.1.1",
6
+ "version": "22.1.2",
7
7
  "license": "BSD-3-Clause",
8
8
  "main": "dist/index.cjs",
9
9
  "module": "dist/index.js",