From c42b3075e83a9af45de479e5348e61fae17452b2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Feb 2026 10:03:13 +0000 Subject: [PATCH] fix publish --- docs/examples/account/create-anonymous-session.md | 2 ++ docs/examples/account/create-email-password-session.md | 2 ++ docs/examples/account/create-email-token.md | 2 ++ docs/examples/account/create-email-verification.md | 2 ++ docs/examples/account/create-jwt.md | 2 ++ docs/examples/account/create-magic-url-token.md | 2 ++ docs/examples/account/create-mfa-authenticator.md | 2 ++ docs/examples/account/create-mfa-challenge.md | 2 ++ docs/examples/account/create-mfa-recovery-codes.md | 2 ++ docs/examples/account/create-o-auth-2-session.md | 2 ++ docs/examples/account/create-o-auth-2-token.md | 2 ++ docs/examples/account/create-phone-token.md | 2 ++ docs/examples/account/create-phone-verification.md | 2 ++ docs/examples/account/create-push-target.md | 2 ++ docs/examples/account/create-recovery.md | 2 ++ docs/examples/account/create-session.md | 2 ++ docs/examples/account/create-verification.md | 2 ++ docs/examples/account/create.md | 2 ++ docs/examples/account/delete-identity.md | 2 ++ docs/examples/account/delete-mfa-authenticator.md | 2 ++ docs/examples/account/delete-push-target.md | 2 ++ docs/examples/account/delete-session.md | 2 ++ docs/examples/account/delete-sessions.md | 2 ++ docs/examples/account/get-mfa-recovery-codes.md | 2 ++ docs/examples/account/get-prefs.md | 2 ++ docs/examples/account/get-session.md | 2 ++ docs/examples/account/get.md | 2 ++ docs/examples/account/list-identities.md | 2 ++ docs/examples/account/list-logs.md | 2 ++ docs/examples/account/list-mfa-factors.md | 2 ++ docs/examples/account/list-sessions.md | 2 ++ docs/examples/account/update-email-verification.md | 2 ++ docs/examples/account/update-email.md | 2 ++ docs/examples/account/update-magic-url-session.md | 2 ++ docs/examples/account/update-mfa-authenticator.md | 2 ++ docs/examples/account/update-mfa-challenge.md | 2 ++ docs/examples/account/update-mfa-recovery-codes.md | 2 ++ docs/examples/account/update-mfa.md | 2 ++ docs/examples/account/update-name.md | 2 ++ docs/examples/account/update-password.md | 2 ++ docs/examples/account/update-phone-session.md | 2 ++ docs/examples/account/update-phone-verification.md | 2 ++ docs/examples/account/update-phone.md | 2 ++ docs/examples/account/update-prefs.md | 2 ++ docs/examples/account/update-push-target.md | 2 ++ docs/examples/account/update-recovery.md | 2 ++ docs/examples/account/update-session.md | 2 ++ docs/examples/account/update-status.md | 2 ++ docs/examples/account/update-verification.md | 2 ++ docs/examples/avatars/get-browser.md | 2 ++ docs/examples/avatars/get-credit-card.md | 2 ++ docs/examples/avatars/get-favicon.md | 2 ++ docs/examples/avatars/get-flag.md | 2 ++ docs/examples/avatars/get-image.md | 2 ++ docs/examples/avatars/get-initials.md | 2 ++ docs/examples/avatars/get-qr.md | 2 ++ docs/examples/avatars/get-screenshot.md | 2 ++ docs/examples/databases/create-document.md | 2 ++ docs/examples/databases/create-operations.md | 2 ++ docs/examples/databases/create-transaction.md | 2 ++ .../examples/databases/decrement-document-attribute.md | 2 ++ docs/examples/databases/delete-document.md | 2 ++ docs/examples/databases/delete-transaction.md | 2 ++ docs/examples/databases/get-document.md | 2 ++ docs/examples/databases/get-transaction.md | 2 ++ .../examples/databases/increment-document-attribute.md | 2 ++ docs/examples/databases/list-documents.md | 2 ++ docs/examples/databases/list-transactions.md | 2 ++ docs/examples/databases/update-document.md | 2 ++ docs/examples/databases/update-transaction.md | 2 ++ docs/examples/databases/upsert-document.md | 2 ++ docs/examples/functions/create-execution.md | 2 ++ docs/examples/functions/get-execution.md | 2 ++ docs/examples/functions/list-executions.md | 2 ++ docs/examples/graphql/mutation.md | 2 ++ docs/examples/graphql/query.md | 2 ++ docs/examples/locale/get.md | 2 ++ docs/examples/locale/list-codes.md | 2 ++ docs/examples/locale/list-continents.md | 2 ++ docs/examples/locale/list-countries-eu.md | 2 ++ docs/examples/locale/list-countries-phones.md | 2 ++ docs/examples/locale/list-countries.md | 2 ++ docs/examples/locale/list-currencies.md | 2 ++ docs/examples/locale/list-languages.md | 2 ++ docs/examples/messaging/create-subscriber.md | 2 ++ docs/examples/messaging/delete-subscriber.md | 2 ++ docs/examples/storage/create-file.md | 2 ++ docs/examples/storage/delete-file.md | 2 ++ docs/examples/storage/get-file-download.md | 2 ++ docs/examples/storage/get-file-preview.md | 2 ++ docs/examples/storage/get-file-view.md | 2 ++ docs/examples/storage/get-file.md | 2 ++ docs/examples/storage/list-files.md | 2 ++ docs/examples/storage/update-file.md | 2 ++ docs/examples/tablesdb/create-operations.md | 2 ++ docs/examples/tablesdb/create-row.md | 2 ++ docs/examples/tablesdb/create-transaction.md | 2 ++ docs/examples/tablesdb/decrement-row-column.md | 2 ++ docs/examples/tablesdb/delete-row.md | 2 ++ docs/examples/tablesdb/delete-transaction.md | 2 ++ docs/examples/tablesdb/get-row.md | 2 ++ docs/examples/tablesdb/get-transaction.md | 2 ++ docs/examples/tablesdb/increment-row-column.md | 2 ++ docs/examples/tablesdb/list-rows.md | 2 ++ docs/examples/tablesdb/list-transactions.md | 2 ++ docs/examples/tablesdb/update-row.md | 2 ++ docs/examples/tablesdb/update-transaction.md | 2 ++ docs/examples/tablesdb/upsert-row.md | 2 ++ docs/examples/teams/create-membership.md | 2 ++ docs/examples/teams/create.md | 2 ++ docs/examples/teams/delete-membership.md | 2 ++ docs/examples/teams/delete.md | 2 ++ docs/examples/teams/get-membership.md | 2 ++ docs/examples/teams/get-prefs.md | 2 ++ docs/examples/teams/get.md | 2 ++ docs/examples/teams/list-memberships.md | 2 ++ docs/examples/teams/list.md | 2 ++ docs/examples/teams/update-membership-status.md | 2 ++ docs/examples/teams/update-membership.md | 2 ++ docs/examples/teams/update-name.md | 2 ++ docs/examples/teams/update-prefs.md | 2 ++ rollup.config.js | 10 ---------- 122 files changed, 242 insertions(+), 10 deletions(-) diff --git a/docs/examples/account/create-anonymous-session.md b/docs/examples/account/create-anonymous-session.md index 4baad33e..49a81c6c 100644 --- a/docs/examples/account/create-anonymous-session.md +++ b/docs/examples/account/create-anonymous-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.createAnonymousSession(); console.log(result); +``` diff --git a/docs/examples/account/create-email-password-session.md b/docs/examples/account/create-email-password-session.md index 47fb5573..4b3e2002 100644 --- a/docs/examples/account/create-email-password-session.md +++ b/docs/examples/account/create-email-password-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.createEmailPasswordSession({ }); console.log(result); +``` diff --git a/docs/examples/account/create-email-token.md b/docs/examples/account/create-email-token.md index aef74a8e..9956ed4f 100644 --- a/docs/examples/account/create-email-token.md +++ b/docs/examples/account/create-email-token.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await account.createEmailToken({ }); console.log(result); +``` diff --git a/docs/examples/account/create-email-verification.md b/docs/examples/account/create-email-verification.md index 42260501..8cef78ec 100644 --- a/docs/examples/account/create-email-verification.md +++ b/docs/examples/account/create-email-verification.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.createEmailVerification({ }); console.log(result); +``` diff --git a/docs/examples/account/create-jwt.md b/docs/examples/account/create-jwt.md index fbb3f362..517a4f01 100644 --- a/docs/examples/account/create-jwt.md +++ b/docs/examples/account/create-jwt.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.createJWT({ }); console.log(result); +``` diff --git a/docs/examples/account/create-magic-url-token.md b/docs/examples/account/create-magic-url-token.md index 5c30ef53..85106b57 100644 --- a/docs/examples/account/create-magic-url-token.md +++ b/docs/examples/account/create-magic-url-token.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await account.createMagicURLToken({ }); console.log(result); +``` diff --git a/docs/examples/account/create-mfa-authenticator.md b/docs/examples/account/create-mfa-authenticator.md index d859850f..b7f6b847 100644 --- a/docs/examples/account/create-mfa-authenticator.md +++ b/docs/examples/account/create-mfa-authenticator.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.createMFAAuthenticator({ }); console.log(result); +``` diff --git a/docs/examples/account/create-mfa-challenge.md b/docs/examples/account/create-mfa-challenge.md index c7e5f621..373e3f54 100644 --- a/docs/examples/account/create-mfa-challenge.md +++ b/docs/examples/account/create-mfa-challenge.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account, AuthenticationFactor } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.createMFAChallenge({ }); console.log(result); +``` diff --git a/docs/examples/account/create-mfa-recovery-codes.md b/docs/examples/account/create-mfa-recovery-codes.md index 22d6a579..2f73900e 100644 --- a/docs/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/account/create-mfa-recovery-codes.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.createMFARecoveryCodes(); console.log(result); +``` diff --git a/docs/examples/account/create-o-auth-2-session.md b/docs/examples/account/create-o-auth-2-session.md index 4212803c..289a4c8b 100644 --- a/docs/examples/account/create-o-auth-2-session.md +++ b/docs/examples/account/create-o-auth-2-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account, OAuthProvider } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ account.createOAuth2Session({ scopes: [] // optional }); +``` diff --git a/docs/examples/account/create-o-auth-2-token.md b/docs/examples/account/create-o-auth-2-token.md index 8989e489..dda39b0d 100644 --- a/docs/examples/account/create-o-auth-2-token.md +++ b/docs/examples/account/create-o-auth-2-token.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account, OAuthProvider } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ account.createOAuth2Token({ scopes: [] // optional }); +``` diff --git a/docs/examples/account/create-phone-token.md b/docs/examples/account/create-phone-token.md index 68eaa38d..c6021381 100644 --- a/docs/examples/account/create-phone-token.md +++ b/docs/examples/account/create-phone-token.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.createPhoneToken({ }); console.log(result); +``` diff --git a/docs/examples/account/create-phone-verification.md b/docs/examples/account/create-phone-verification.md index 62bcc481..cf9c2e28 100644 --- a/docs/examples/account/create-phone-verification.md +++ b/docs/examples/account/create-phone-verification.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.createPhoneVerification(); console.log(result); +``` diff --git a/docs/examples/account/create-push-target.md b/docs/examples/account/create-push-target.md index d3fae6fd..1679c7e0 100644 --- a/docs/examples/account/create-push-target.md +++ b/docs/examples/account/create-push-target.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await account.createPushTarget({ }); console.log(result); +``` diff --git a/docs/examples/account/create-recovery.md b/docs/examples/account/create-recovery.md index 01c5c387..23a886ee 100644 --- a/docs/examples/account/create-recovery.md +++ b/docs/examples/account/create-recovery.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.createRecovery({ }); console.log(result); +``` diff --git a/docs/examples/account/create-session.md b/docs/examples/account/create-session.md index b6741518..18a0b7c0 100644 --- a/docs/examples/account/create-session.md +++ b/docs/examples/account/create-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.createSession({ }); console.log(result); +``` diff --git a/docs/examples/account/create-verification.md b/docs/examples/account/create-verification.md index f4a210be..ff15a627 100644 --- a/docs/examples/account/create-verification.md +++ b/docs/examples/account/create-verification.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.createVerification({ }); console.log(result); +``` diff --git a/docs/examples/account/create.md b/docs/examples/account/create.md index 2c6850a1..c29ddc71 100644 --- a/docs/examples/account/create.md +++ b/docs/examples/account/create.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await account.create({ }); console.log(result); +``` diff --git a/docs/examples/account/delete-identity.md b/docs/examples/account/delete-identity.md index 0d9a9712..aac71687 100644 --- a/docs/examples/account/delete-identity.md +++ b/docs/examples/account/delete-identity.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.deleteIdentity({ }); console.log(result); +``` diff --git a/docs/examples/account/delete-mfa-authenticator.md b/docs/examples/account/delete-mfa-authenticator.md index 90a6e347..626ac9a5 100644 --- a/docs/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/account/delete-mfa-authenticator.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.deleteMFAAuthenticator({ }); console.log(result); +``` diff --git a/docs/examples/account/delete-push-target.md b/docs/examples/account/delete-push-target.md index dff171b3..271b4094 100644 --- a/docs/examples/account/delete-push-target.md +++ b/docs/examples/account/delete-push-target.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.deletePushTarget({ }); console.log(result); +``` diff --git a/docs/examples/account/delete-session.md b/docs/examples/account/delete-session.md index f1ce4a0a..a21fa8e6 100644 --- a/docs/examples/account/delete-session.md +++ b/docs/examples/account/delete-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.deleteSession({ }); console.log(result); +``` diff --git a/docs/examples/account/delete-sessions.md b/docs/examples/account/delete-sessions.md index 830eb273..b1127016 100644 --- a/docs/examples/account/delete-sessions.md +++ b/docs/examples/account/delete-sessions.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.deleteSessions(); console.log(result); +``` diff --git a/docs/examples/account/get-mfa-recovery-codes.md b/docs/examples/account/get-mfa-recovery-codes.md index 94896eb7..a2016f0b 100644 --- a/docs/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/account/get-mfa-recovery-codes.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.getMFARecoveryCodes(); console.log(result); +``` diff --git a/docs/examples/account/get-prefs.md b/docs/examples/account/get-prefs.md index b26a7b09..3838731d 100644 --- a/docs/examples/account/get-prefs.md +++ b/docs/examples/account/get-prefs.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.getPrefs(); console.log(result); +``` diff --git a/docs/examples/account/get-session.md b/docs/examples/account/get-session.md index 4c0fdfc0..5462215c 100644 --- a/docs/examples/account/get-session.md +++ b/docs/examples/account/get-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.getSession({ }); console.log(result); +``` diff --git a/docs/examples/account/get.md b/docs/examples/account/get.md index 21d24016..0397f698 100644 --- a/docs/examples/account/get.md +++ b/docs/examples/account/get.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.get(); console.log(result); +``` diff --git a/docs/examples/account/list-identities.md b/docs/examples/account/list-identities.md index 5ff727ad..3a8046b7 100644 --- a/docs/examples/account/list-identities.md +++ b/docs/examples/account/list-identities.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.listIdentities({ }); console.log(result); +``` diff --git a/docs/examples/account/list-logs.md b/docs/examples/account/list-logs.md index e3109f32..b919ce24 100644 --- a/docs/examples/account/list-logs.md +++ b/docs/examples/account/list-logs.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.listLogs({ }); console.log(result); +``` diff --git a/docs/examples/account/list-mfa-factors.md b/docs/examples/account/list-mfa-factors.md index 98ba9397..4d78b709 100644 --- a/docs/examples/account/list-mfa-factors.md +++ b/docs/examples/account/list-mfa-factors.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.listMFAFactors(); console.log(result); +``` diff --git a/docs/examples/account/list-sessions.md b/docs/examples/account/list-sessions.md index 68232be2..c9868acc 100644 --- a/docs/examples/account/list-sessions.md +++ b/docs/examples/account/list-sessions.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.listSessions(); console.log(result); +``` diff --git a/docs/examples/account/update-email-verification.md b/docs/examples/account/update-email-verification.md index 4270380d..c29caaf8 100644 --- a/docs/examples/account/update-email-verification.md +++ b/docs/examples/account/update-email-verification.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updateEmailVerification({ }); console.log(result); +``` diff --git a/docs/examples/account/update-email.md b/docs/examples/account/update-email.md index 325fa472..148c6d90 100644 --- a/docs/examples/account/update-email.md +++ b/docs/examples/account/update-email.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updateEmail({ }); console.log(result); +``` diff --git a/docs/examples/account/update-magic-url-session.md b/docs/examples/account/update-magic-url-session.md index 4feaa59f..5efeda04 100644 --- a/docs/examples/account/update-magic-url-session.md +++ b/docs/examples/account/update-magic-url-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updateMagicURLSession({ }); console.log(result); +``` diff --git a/docs/examples/account/update-mfa-authenticator.md b/docs/examples/account/update-mfa-authenticator.md index 58f23295..67f30eaf 100644 --- a/docs/examples/account/update-mfa-authenticator.md +++ b/docs/examples/account/update-mfa-authenticator.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updateMFAAuthenticator({ }); console.log(result); +``` diff --git a/docs/examples/account/update-mfa-challenge.md b/docs/examples/account/update-mfa-challenge.md index c2ce59f6..d432e08e 100644 --- a/docs/examples/account/update-mfa-challenge.md +++ b/docs/examples/account/update-mfa-challenge.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updateMFAChallenge({ }); console.log(result); +``` diff --git a/docs/examples/account/update-mfa-recovery-codes.md b/docs/examples/account/update-mfa-recovery-codes.md index 1f7b4f0d..5283ebca 100644 --- a/docs/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/account/update-mfa-recovery-codes.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.updateMFARecoveryCodes(); console.log(result); +``` diff --git a/docs/examples/account/update-mfa.md b/docs/examples/account/update-mfa.md index 26d26ffe..be3e8b9a 100644 --- a/docs/examples/account/update-mfa.md +++ b/docs/examples/account/update-mfa.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.updateMFA({ }); console.log(result); +``` diff --git a/docs/examples/account/update-name.md b/docs/examples/account/update-name.md index f58f26ba..5b9182e6 100644 --- a/docs/examples/account/update-name.md +++ b/docs/examples/account/update-name.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.updateName({ }); console.log(result); +``` diff --git a/docs/examples/account/update-password.md b/docs/examples/account/update-password.md index 89f99d97..7ea08255 100644 --- a/docs/examples/account/update-password.md +++ b/docs/examples/account/update-password.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updatePassword({ }); console.log(result); +``` diff --git a/docs/examples/account/update-phone-session.md b/docs/examples/account/update-phone-session.md index b3a3ffff..1b63ed69 100644 --- a/docs/examples/account/update-phone-session.md +++ b/docs/examples/account/update-phone-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updatePhoneSession({ }); console.log(result); +``` diff --git a/docs/examples/account/update-phone-verification.md b/docs/examples/account/update-phone-verification.md index 2f1be2f3..3f25a737 100644 --- a/docs/examples/account/update-phone-verification.md +++ b/docs/examples/account/update-phone-verification.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updatePhoneVerification({ }); console.log(result); +``` diff --git a/docs/examples/account/update-phone.md b/docs/examples/account/update-phone.md index 4e123547..5206263a 100644 --- a/docs/examples/account/update-phone.md +++ b/docs/examples/account/update-phone.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updatePhone({ }); console.log(result); +``` diff --git a/docs/examples/account/update-prefs.md b/docs/examples/account/update-prefs.md index b4a8e0ab..510d038a 100644 --- a/docs/examples/account/update-prefs.md +++ b/docs/examples/account/update-prefs.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -15,3 +16,4 @@ const result = await account.updatePrefs({ }); console.log(result); +``` diff --git a/docs/examples/account/update-push-target.md b/docs/examples/account/update-push-target.md index c61f6561..3ca599f1 100644 --- a/docs/examples/account/update-push-target.md +++ b/docs/examples/account/update-push-target.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updatePushTarget({ }); console.log(result); +``` diff --git a/docs/examples/account/update-recovery.md b/docs/examples/account/update-recovery.md index 9e0c4397..faebfc46 100644 --- a/docs/examples/account/update-recovery.md +++ b/docs/examples/account/update-recovery.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await account.updateRecovery({ }); console.log(result); +``` diff --git a/docs/examples/account/update-session.md b/docs/examples/account/update-session.md index 948514d6..7c99dfaf 100644 --- a/docs/examples/account/update-session.md +++ b/docs/examples/account/update-session.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await account.updateSession({ }); console.log(result); +``` diff --git a/docs/examples/account/update-status.md b/docs/examples/account/update-status.md index 8d3a2b06..0e079e44 100644 --- a/docs/examples/account/update-status.md +++ b/docs/examples/account/update-status.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const account = new Account(client); const result = await account.updateStatus(); console.log(result); +``` diff --git a/docs/examples/account/update-verification.md b/docs/examples/account/update-verification.md index 287a7fea..efba6786 100644 --- a/docs/examples/account/update-verification.md +++ b/docs/examples/account/update-verification.md @@ -1,3 +1,4 @@ +```javascript import { Client, Account } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await account.updateVerification({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-browser.md b/docs/examples/avatars/get-browser.md index 6506f2e7..ff14a8c9 100644 --- a/docs/examples/avatars/get-browser.md +++ b/docs/examples/avatars/get-browser.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars, Browser } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = avatars.getBrowser({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-credit-card.md b/docs/examples/avatars/get-credit-card.md index 05d3a53b..1c83c95b 100644 --- a/docs/examples/avatars/get-credit-card.md +++ b/docs/examples/avatars/get-credit-card.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars, CreditCard } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = avatars.getCreditCard({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-favicon.md b/docs/examples/avatars/get-favicon.md index d3931e3e..c0820921 100644 --- a/docs/examples/avatars/get-favicon.md +++ b/docs/examples/avatars/get-favicon.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = avatars.getFavicon({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-flag.md b/docs/examples/avatars/get-flag.md index 651771a0..dd0fb734 100644 --- a/docs/examples/avatars/get-flag.md +++ b/docs/examples/avatars/get-flag.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars, Flag } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = avatars.getFlag({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-image.md b/docs/examples/avatars/get-image.md index e3b89c31..da107482 100644 --- a/docs/examples/avatars/get-image.md +++ b/docs/examples/avatars/get-image.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = avatars.getImage({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-initials.md b/docs/examples/avatars/get-initials.md index 3abc399a..fbcf43ed 100644 --- a/docs/examples/avatars/get-initials.md +++ b/docs/examples/avatars/get-initials.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = avatars.getInitials({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-qr.md b/docs/examples/avatars/get-qr.md index 3cbe72a9..b73c6215 100644 --- a/docs/examples/avatars/get-qr.md +++ b/docs/examples/avatars/get-qr.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = avatars.getQR({ }); console.log(result); +``` diff --git a/docs/examples/avatars/get-screenshot.md b/docs/examples/avatars/get-screenshot.md index 8e216803..9cb1f990 100644 --- a/docs/examples/avatars/get-screenshot.md +++ b/docs/examples/avatars/get-screenshot.md @@ -1,3 +1,4 @@ +```javascript import { Client, Avatars, Theme, Timezone, BrowserPermission, ImageFormat } from "react-native-appwrite"; const client = new Client() @@ -33,3 +34,4 @@ const result = avatars.getScreenshot({ }); console.log(result); +``` diff --git a/docs/examples/databases/create-document.md b/docs/examples/databases/create-document.md index 58ea6ee1..0b5c538b 100644 --- a/docs/examples/databases/create-document.md +++ b/docs/examples/databases/create-document.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await databases.createDocument({ }); console.log(result); +``` diff --git a/docs/examples/databases/create-operations.md b/docs/examples/databases/create-operations.md index bf02fd2c..c4495a24 100644 --- a/docs/examples/databases/create-operations.md +++ b/docs/examples/databases/create-operations.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await databases.createOperations({ }); console.log(result); +``` diff --git a/docs/examples/databases/create-transaction.md b/docs/examples/databases/create-transaction.md index 07a2103e..a1c4d328 100644 --- a/docs/examples/databases/create-transaction.md +++ b/docs/examples/databases/create-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await databases.createTransaction({ }); console.log(result); +``` diff --git a/docs/examples/databases/decrement-document-attribute.md b/docs/examples/databases/decrement-document-attribute.md index 5edce7b0..19a8742b 100644 --- a/docs/examples/databases/decrement-document-attribute.md +++ b/docs/examples/databases/decrement-document-attribute.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -17,3 +18,4 @@ const result = await databases.decrementDocumentAttribute({ }); console.log(result); +``` diff --git a/docs/examples/databases/delete-document.md b/docs/examples/databases/delete-document.md index 6cad3f95..c8db1b21 100644 --- a/docs/examples/databases/delete-document.md +++ b/docs/examples/databases/delete-document.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await databases.deleteDocument({ }); console.log(result); +``` diff --git a/docs/examples/databases/delete-transaction.md b/docs/examples/databases/delete-transaction.md index 9ad26613..30f149d9 100644 --- a/docs/examples/databases/delete-transaction.md +++ b/docs/examples/databases/delete-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await databases.deleteTransaction({ }); console.log(result); +``` diff --git a/docs/examples/databases/get-document.md b/docs/examples/databases/get-document.md index c61d396d..1dcfc2b2 100644 --- a/docs/examples/databases/get-document.md +++ b/docs/examples/databases/get-document.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -15,3 +16,4 @@ const result = await databases.getDocument({ }); console.log(result); +``` diff --git a/docs/examples/databases/get-transaction.md b/docs/examples/databases/get-transaction.md index 47f93691..839712a9 100644 --- a/docs/examples/databases/get-transaction.md +++ b/docs/examples/databases/get-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await databases.getTransaction({ }); console.log(result); +``` diff --git a/docs/examples/databases/increment-document-attribute.md b/docs/examples/databases/increment-document-attribute.md index 259a184e..95123e83 100644 --- a/docs/examples/databases/increment-document-attribute.md +++ b/docs/examples/databases/increment-document-attribute.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -17,3 +18,4 @@ const result = await databases.incrementDocumentAttribute({ }); console.log(result); +``` diff --git a/docs/examples/databases/list-documents.md b/docs/examples/databases/list-documents.md index 6a9959ab..0641381b 100644 --- a/docs/examples/databases/list-documents.md +++ b/docs/examples/databases/list-documents.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -15,3 +16,4 @@ const result = await databases.listDocuments({ }); console.log(result); +``` diff --git a/docs/examples/databases/list-transactions.md b/docs/examples/databases/list-transactions.md index 23396738..0ca57bac 100644 --- a/docs/examples/databases/list-transactions.md +++ b/docs/examples/databases/list-transactions.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await databases.listTransactions({ }); console.log(result); +``` diff --git a/docs/examples/databases/update-document.md b/docs/examples/databases/update-document.md index 2be12b1a..44ff772e 100644 --- a/docs/examples/databases/update-document.md +++ b/docs/examples/databases/update-document.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await databases.updateDocument({ }); console.log(result); +``` diff --git a/docs/examples/databases/update-transaction.md b/docs/examples/databases/update-transaction.md index c3338506..fa1a745c 100644 --- a/docs/examples/databases/update-transaction.md +++ b/docs/examples/databases/update-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await databases.updateTransaction({ }); console.log(result); +``` diff --git a/docs/examples/databases/upsert-document.md b/docs/examples/databases/upsert-document.md index fcf1fb48..9552a9d2 100644 --- a/docs/examples/databases/upsert-document.md +++ b/docs/examples/databases/upsert-document.md @@ -1,3 +1,4 @@ +```javascript import { Client, Databases, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await databases.upsertDocument({ }); console.log(result); +``` diff --git a/docs/examples/functions/create-execution.md b/docs/examples/functions/create-execution.md index b9e6682f..015bbedd 100644 --- a/docs/examples/functions/create-execution.md +++ b/docs/examples/functions/create-execution.md @@ -1,3 +1,4 @@ +```javascript import { Client, Functions, ExecutionMethod } from "react-native-appwrite"; const client = new Client() @@ -17,3 +18,4 @@ const result = await functions.createExecution({ }); console.log(result); +``` diff --git a/docs/examples/functions/get-execution.md b/docs/examples/functions/get-execution.md index 2ef4e9f8..9393fc30 100644 --- a/docs/examples/functions/get-execution.md +++ b/docs/examples/functions/get-execution.md @@ -1,3 +1,4 @@ +```javascript import { Client, Functions } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await functions.getExecution({ }); console.log(result); +``` diff --git a/docs/examples/functions/list-executions.md b/docs/examples/functions/list-executions.md index e832293e..405fbe77 100644 --- a/docs/examples/functions/list-executions.md +++ b/docs/examples/functions/list-executions.md @@ -1,3 +1,4 @@ +```javascript import { Client, Functions } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await functions.listExecutions({ }); console.log(result); +``` diff --git a/docs/examples/graphql/mutation.md b/docs/examples/graphql/mutation.md index dbc27ff1..3b7b3dc1 100644 --- a/docs/examples/graphql/mutation.md +++ b/docs/examples/graphql/mutation.md @@ -1,3 +1,4 @@ +```javascript import { Client, Graphql } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await graphql.mutation({ }); console.log(result); +``` diff --git a/docs/examples/graphql/query.md b/docs/examples/graphql/query.md index 560b7e5c..fe3afbf9 100644 --- a/docs/examples/graphql/query.md +++ b/docs/examples/graphql/query.md @@ -1,3 +1,4 @@ +```javascript import { Client, Graphql } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await graphql.query({ }); console.log(result); +``` diff --git a/docs/examples/locale/get.md b/docs/examples/locale/get.md index 34c1672c..81f04e18 100644 --- a/docs/examples/locale/get.md +++ b/docs/examples/locale/get.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.get(); console.log(result); +``` diff --git a/docs/examples/locale/list-codes.md b/docs/examples/locale/list-codes.md index 29cec5a5..efea7971 100644 --- a/docs/examples/locale/list-codes.md +++ b/docs/examples/locale/list-codes.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.listCodes(); console.log(result); +``` diff --git a/docs/examples/locale/list-continents.md b/docs/examples/locale/list-continents.md index c98ba19a..aa3eba82 100644 --- a/docs/examples/locale/list-continents.md +++ b/docs/examples/locale/list-continents.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.listContinents(); console.log(result); +``` diff --git a/docs/examples/locale/list-countries-eu.md b/docs/examples/locale/list-countries-eu.md index 7fb71a54..92447251 100644 --- a/docs/examples/locale/list-countries-eu.md +++ b/docs/examples/locale/list-countries-eu.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.listCountriesEU(); console.log(result); +``` diff --git a/docs/examples/locale/list-countries-phones.md b/docs/examples/locale/list-countries-phones.md index 612debc5..c09816b0 100644 --- a/docs/examples/locale/list-countries-phones.md +++ b/docs/examples/locale/list-countries-phones.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.listCountriesPhones(); console.log(result); +``` diff --git a/docs/examples/locale/list-countries.md b/docs/examples/locale/list-countries.md index 8b1f636f..bf607a4e 100644 --- a/docs/examples/locale/list-countries.md +++ b/docs/examples/locale/list-countries.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.listCountries(); console.log(result); +``` diff --git a/docs/examples/locale/list-currencies.md b/docs/examples/locale/list-currencies.md index 4b96a5fd..ade09501 100644 --- a/docs/examples/locale/list-currencies.md +++ b/docs/examples/locale/list-currencies.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.listCurrencies(); console.log(result); +``` diff --git a/docs/examples/locale/list-languages.md b/docs/examples/locale/list-languages.md index 54166afb..12e603f7 100644 --- a/docs/examples/locale/list-languages.md +++ b/docs/examples/locale/list-languages.md @@ -1,3 +1,4 @@ +```javascript import { Client, Locale } from "react-native-appwrite"; const client = new Client() @@ -9,3 +10,4 @@ const locale = new Locale(client); const result = await locale.listLanguages(); console.log(result); +``` diff --git a/docs/examples/messaging/create-subscriber.md b/docs/examples/messaging/create-subscriber.md index 2057f1da..ae78a134 100644 --- a/docs/examples/messaging/create-subscriber.md +++ b/docs/examples/messaging/create-subscriber.md @@ -1,3 +1,4 @@ +```javascript import { Client, Messaging } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await messaging.createSubscriber({ }); console.log(result); +``` diff --git a/docs/examples/messaging/delete-subscriber.md b/docs/examples/messaging/delete-subscriber.md index 38545f62..da6370c1 100644 --- a/docs/examples/messaging/delete-subscriber.md +++ b/docs/examples/messaging/delete-subscriber.md @@ -1,3 +1,4 @@ +```javascript import { Client, Messaging } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await messaging.deleteSubscriber({ }); console.log(result); +``` diff --git a/docs/examples/storage/create-file.md b/docs/examples/storage/create-file.md index c1a383d5..c1ca26ae 100644 --- a/docs/examples/storage/create-file.md +++ b/docs/examples/storage/create-file.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await storage.createFile({ }); console.log(result); +``` diff --git a/docs/examples/storage/delete-file.md b/docs/examples/storage/delete-file.md index 776ec7fa..f4c109fb 100644 --- a/docs/examples/storage/delete-file.md +++ b/docs/examples/storage/delete-file.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await storage.deleteFile({ }); console.log(result); +``` diff --git a/docs/examples/storage/get-file-download.md b/docs/examples/storage/get-file-download.md index 317141c8..52f602b9 100644 --- a/docs/examples/storage/get-file-download.md +++ b/docs/examples/storage/get-file-download.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = storage.getFileDownload({ }); console.log(result); +``` diff --git a/docs/examples/storage/get-file-preview.md b/docs/examples/storage/get-file-preview.md index 94623fb0..d3c944ad 100644 --- a/docs/examples/storage/get-file-preview.md +++ b/docs/examples/storage/get-file-preview.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage, ImageGravity, ImageFormat } from "react-native-appwrite"; const client = new Client() @@ -24,3 +25,4 @@ const result = storage.getFilePreview({ }); console.log(result); +``` diff --git a/docs/examples/storage/get-file-view.md b/docs/examples/storage/get-file-view.md index bacd1088..28e6e43a 100644 --- a/docs/examples/storage/get-file-view.md +++ b/docs/examples/storage/get-file-view.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = storage.getFileView({ }); console.log(result); +``` diff --git a/docs/examples/storage/get-file.md b/docs/examples/storage/get-file.md index f2841824..d587547c 100644 --- a/docs/examples/storage/get-file.md +++ b/docs/examples/storage/get-file.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await storage.getFile({ }); console.log(result); +``` diff --git a/docs/examples/storage/list-files.md b/docs/examples/storage/list-files.md index 38569ad9..ac21eadb 100644 --- a/docs/examples/storage/list-files.md +++ b/docs/examples/storage/list-files.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await storage.listFiles({ }); console.log(result); +``` diff --git a/docs/examples/storage/update-file.md b/docs/examples/storage/update-file.md index dd98cdbb..82fc4d26 100644 --- a/docs/examples/storage/update-file.md +++ b/docs/examples/storage/update-file.md @@ -1,3 +1,4 @@ +```javascript import { Client, Storage, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await storage.updateFile({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/create-operations.md b/docs/examples/tablesdb/create-operations.md index 1c76de77..c061f76c 100644 --- a/docs/examples/tablesdb/create-operations.md +++ b/docs/examples/tablesdb/create-operations.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await tablesDB.createOperations({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/create-row.md b/docs/examples/tablesdb/create-row.md index 33f1c8d4..18e1777d 100644 --- a/docs/examples/tablesdb/create-row.md +++ b/docs/examples/tablesdb/create-row.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await tablesDB.createRow({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/create-transaction.md b/docs/examples/tablesdb/create-transaction.md index c2eca276..4d73a3e2 100644 --- a/docs/examples/tablesdb/create-transaction.md +++ b/docs/examples/tablesdb/create-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await tablesDB.createTransaction({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/decrement-row-column.md b/docs/examples/tablesdb/decrement-row-column.md index 7bf6d77a..3d036ad6 100644 --- a/docs/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/tablesdb/decrement-row-column.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -17,3 +18,4 @@ const result = await tablesDB.decrementRowColumn({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/delete-row.md b/docs/examples/tablesdb/delete-row.md index 3ab81237..a7b94e27 100644 --- a/docs/examples/tablesdb/delete-row.md +++ b/docs/examples/tablesdb/delete-row.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await tablesDB.deleteRow({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/delete-transaction.md b/docs/examples/tablesdb/delete-transaction.md index 121e6b3f..4fb82043 100644 --- a/docs/examples/tablesdb/delete-transaction.md +++ b/docs/examples/tablesdb/delete-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await tablesDB.deleteTransaction({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/get-row.md b/docs/examples/tablesdb/get-row.md index a3a8775b..7fa742ef 100644 --- a/docs/examples/tablesdb/get-row.md +++ b/docs/examples/tablesdb/get-row.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -15,3 +16,4 @@ const result = await tablesDB.getRow({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/get-transaction.md b/docs/examples/tablesdb/get-transaction.md index 475e2d83..2c5d350f 100644 --- a/docs/examples/tablesdb/get-transaction.md +++ b/docs/examples/tablesdb/get-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await tablesDB.getTransaction({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/increment-row-column.md b/docs/examples/tablesdb/increment-row-column.md index 4bda1efb..6c924ad9 100644 --- a/docs/examples/tablesdb/increment-row-column.md +++ b/docs/examples/tablesdb/increment-row-column.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -17,3 +18,4 @@ const result = await tablesDB.incrementRowColumn({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/list-rows.md b/docs/examples/tablesdb/list-rows.md index 85e50b54..5d270d6b 100644 --- a/docs/examples/tablesdb/list-rows.md +++ b/docs/examples/tablesdb/list-rows.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -15,3 +16,4 @@ const result = await tablesDB.listRows({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/list-transactions.md b/docs/examples/tablesdb/list-transactions.md index 9d3004a9..008ed3de 100644 --- a/docs/examples/tablesdb/list-transactions.md +++ b/docs/examples/tablesdb/list-transactions.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await tablesDB.listTransactions({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/update-row.md b/docs/examples/tablesdb/update-row.md index 9ba5054f..0916853f 100644 --- a/docs/examples/tablesdb/update-row.md +++ b/docs/examples/tablesdb/update-row.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await tablesDB.updateRow({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/update-transaction.md b/docs/examples/tablesdb/update-transaction.md index de29a5bd..d94c24a0 100644 --- a/docs/examples/tablesdb/update-transaction.md +++ b/docs/examples/tablesdb/update-transaction.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await tablesDB.updateTransaction({ }); console.log(result); +``` diff --git a/docs/examples/tablesdb/upsert-row.md b/docs/examples/tablesdb/upsert-row.md index bea81ba4..e578cccb 100644 --- a/docs/examples/tablesdb/upsert-row.md +++ b/docs/examples/tablesdb/upsert-row.md @@ -1,3 +1,4 @@ +```javascript import { Client, TablesDB, Permission, Role } from "react-native-appwrite"; const client = new Client() @@ -22,3 +23,4 @@ const result = await tablesDB.upsertRow({ }); console.log(result); +``` diff --git a/docs/examples/teams/create-membership.md b/docs/examples/teams/create-membership.md index 665fffab..41c726c7 100644 --- a/docs/examples/teams/create-membership.md +++ b/docs/examples/teams/create-membership.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams, Roles } from "react-native-appwrite"; const client = new Client() @@ -17,3 +18,4 @@ const result = await teams.createMembership({ }); console.log(result); +``` diff --git a/docs/examples/teams/create.md b/docs/examples/teams/create.md index 6c8dbbba..c6338930 100644 --- a/docs/examples/teams/create.md +++ b/docs/examples/teams/create.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await teams.create({ }); console.log(result); +``` diff --git a/docs/examples/teams/delete-membership.md b/docs/examples/teams/delete-membership.md index b881c5ac..1cdb4baf 100644 --- a/docs/examples/teams/delete-membership.md +++ b/docs/examples/teams/delete-membership.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await teams.deleteMembership({ }); console.log(result); +``` diff --git a/docs/examples/teams/delete.md b/docs/examples/teams/delete.md index 8c98139c..81a4fa64 100644 --- a/docs/examples/teams/delete.md +++ b/docs/examples/teams/delete.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await teams.delete({ }); console.log(result); +``` diff --git a/docs/examples/teams/get-membership.md b/docs/examples/teams/get-membership.md index 46cdc412..41e96e22 100644 --- a/docs/examples/teams/get-membership.md +++ b/docs/examples/teams/get-membership.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await teams.getMembership({ }); console.log(result); +``` diff --git a/docs/examples/teams/get-prefs.md b/docs/examples/teams/get-prefs.md index 0e3b4894..505703d3 100644 --- a/docs/examples/teams/get-prefs.md +++ b/docs/examples/teams/get-prefs.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await teams.getPrefs({ }); console.log(result); +``` diff --git a/docs/examples/teams/get.md b/docs/examples/teams/get.md index 63053656..2b0131e1 100644 --- a/docs/examples/teams/get.md +++ b/docs/examples/teams/get.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -11,3 +12,4 @@ const result = await teams.get({ }); console.log(result); +``` diff --git a/docs/examples/teams/list-memberships.md b/docs/examples/teams/list-memberships.md index 5c017378..6b7fc155 100644 --- a/docs/examples/teams/list-memberships.md +++ b/docs/examples/teams/list-memberships.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await teams.listMemberships({ }); console.log(result); +``` diff --git a/docs/examples/teams/list.md b/docs/examples/teams/list.md index 36fdcfbd..a7fa1ec2 100644 --- a/docs/examples/teams/list.md +++ b/docs/examples/teams/list.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await teams.list({ }); console.log(result); +``` diff --git a/docs/examples/teams/update-membership-status.md b/docs/examples/teams/update-membership-status.md index 0aba8065..83a52c32 100644 --- a/docs/examples/teams/update-membership-status.md +++ b/docs/examples/teams/update-membership-status.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -14,3 +15,4 @@ const result = await teams.updateMembershipStatus({ }); console.log(result); +``` diff --git a/docs/examples/teams/update-membership.md b/docs/examples/teams/update-membership.md index 4e352616..a5109fcb 100644 --- a/docs/examples/teams/update-membership.md +++ b/docs/examples/teams/update-membership.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams, Roles } from "react-native-appwrite"; const client = new Client() @@ -13,3 +14,4 @@ const result = await teams.updateMembership({ }); console.log(result); +``` diff --git a/docs/examples/teams/update-name.md b/docs/examples/teams/update-name.md index 251ff26a..d362b2cb 100644 --- a/docs/examples/teams/update-name.md +++ b/docs/examples/teams/update-name.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await teams.updateName({ }); console.log(result); +``` diff --git a/docs/examples/teams/update-prefs.md b/docs/examples/teams/update-prefs.md index 49045021..f603ac96 100644 --- a/docs/examples/teams/update-prefs.md +++ b/docs/examples/teams/update-prefs.md @@ -1,3 +1,4 @@ +```javascript import { Client, Teams } from "react-native-appwrite"; const client = new Client() @@ -12,3 +13,4 @@ const result = await teams.updatePrefs({ }); console.log(result); +``` diff --git a/rollup.config.js b/rollup.config.js index 8b8b474b..cfcba7da 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -19,15 +19,5 @@ export default { file: pkg.module, sourcemap: true, }, - { - format: "iife", - file: pkg.jsdelivr, - name: "Appwrite", - extend: true, - globals: { - "json-bigint": "JSONbig", - "bignumber.js": "BigNumber", - }, - }, ], };