Merge branch 'main' of github.com:appwrite/console into billing

This commit is contained in:
Arman committed 2023-10-11 15:07:43 +02:00
commit 8a9d6a0bc5
65 files changed
+186 -116

No files matched your search

+9
View File
@@ -23,6 +23,7 @@
"echarts": "^5.4.3",
"logrocket": "^5.0.1",
"nanoid": "^4.0.2",
"plausible-tracker": "^0.3.8",
"pretty-bytes": "^6.1.1",
"prismjs": "^1.29.0",
"svelte-confetti": "^1.3.0",
@@ -7238,6 +7239,14 @@
"pathe": "^1.1.0"
}
},
"node_modules/plausible-tracker": {
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/plausible-tracker/-/plausible-tracker-0.3.8.tgz",
"integrity": "sha512-lmOWYQ7s9KOUJ1R+YTOR3HrjdbxIS2Z4de0P/Jx2dQPteznJl2eX3tXxKClpvbfyGP59B5bbhW8ftN59HbbFSg==",
"engines": {
"node": ">=10"
}
},
"node_modules/playwright": {
"version": "1.38.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.38.1.tgz",
+1
View File
@@ -35,6 +35,7 @@
"echarts": "^5.4.3",
"logrocket": "^5.0.1",
"nanoid": "^4.0.2",
"plausible-tracker": "^0.3.8",
"pretty-bytes": "^6.1.1",
"prismjs": "^1.29.0",
"svelte-confetti": "^1.3.0",
+43 -11
View File
@@ -1,26 +1,58 @@
import Analytics, { type AnalyticsPlugin } from 'analytics';
import googleAnalytics from '@analytics/google-analytics';
import googleTagManager from '@analytics/google-tag-manager';
import Plausible from 'plausible-tracker';
import { get } from 'svelte/store';
import { page } from '$app/stores';
import { user } from '$lib/stores/user';
import { ENV, MODE, VARS, isCloud } from '$lib/system';
import googleAnalytics from '@analytics/google-analytics';
import { AppwriteException } from '@appwrite.io/console';
import googleTagManager from '@analytics/google-tag-manager';
import Analytics from 'analytics';
import { get } from 'svelte/store';
import { browser } from '$app/environment';
function plausible(domain: string): AnalyticsPlugin {
const instance = Plausible({
domain
});
return {
name: 'analytics-plugin-plausible',
page: ({ payload }) => {
instance.trackPageview({
url: payload.properties.path,
referrer: payload.properties.referrer,
deviceWidth: payload.properties.width
});
},
track: ({ payload }) => {
instance.trackEvent(
payload.event,
{
props: payload.properties
},
{
url: payload.properties.path,
deviceWidth: payload.properties.width
}
);
},
loaded: () => true
};
}
const analytics = Analytics({
app: 'appwrite',
plugins: [
googleAnalytics({
measurementIds: [VARS.GOOGLE_ANALYTICS || 'G-R4YJ9JN8L4']
}),
...(isCloud
plugins:
isCloud && browser
? [
plausible('cloud.appwrite.io'),
googleTagManager({
containerId: [VARS.GOOGLE_TAG || 'GTM-P3T9TBV']
})
]
: [])
]
: [
googleAnalytics({
measurementIds: [VARS.GOOGLE_ANALYTICS || 'G-R4YJ9JN8L4']
})
]
});
export function trackEvent(name: string, data: object = null): void {
+2 -2
View File
@@ -119,7 +119,7 @@
<p>There are no teams that match your search.</p>
</div>
<div class="u-flex u-gap-16 common-section u-main-center">
<Button external href="https://appwrite.io/docs/client/teams" text
<Button external href="https://appwrite.io/docs/products/auth/teams" text
>Documentation</Button>
<Button secondary on:click={() => (search = '')}>Clear search</Button>
</div>
@@ -134,7 +134,7 @@
</p>
<p class="text u-line-height-1-5">
Need a hand? Learn more in our <a
href="https://appwrite.io/docs/client/teams"
href="https://appwrite.io/docs/products/auth/teams"
target="_blank"
rel="noopener noreferrer">
documentation</a
+2 -2
View File
@@ -138,7 +138,7 @@
<p>There are no Users that match your search.</p>
</div>
<div class="u-flex u-gap-16 common-section u-main-center">
<Button external href="https://appwrite.io/docs/server/users" text
<Button external href="https://appwrite.io/docs/products/auth/accounts" text
>Documentation</Button>
<Button secondary on:click={() => (search = '')}>Clear search</Button>
</div>
@@ -153,7 +153,7 @@
</p>
<p class="text u-line-height-1-5">
Need a hand? Learn more in our <a
href="https://appwrite.io/docs/server/users"
href="https://appwrite.io/docs/products/auth/quick-start"
target="_blank"
rel="noopener noreferrer">
documentation</a
+5 -5
View File
@@ -215,7 +215,7 @@
use
<b>context.log()</b>.
<a
href="https://appwrite.io/docs/functions-develop#logging"
href="https://appwrite.io/docs/products/functions/development#logging"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
@@ -253,7 +253,7 @@
header data in the Logs tab, use
<b>context.log()</b>.
<a
href="https://appwrite.io/docs/functions-develop#logging"
href="https://appwrite.io/docs/products/functions/development#logging"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
@@ -265,7 +265,7 @@
and privacy. To display body data in the Logs tab, use
<b>context.log()</b>.
<a
href="https://appwrite.io/docs/functions-develop#logging"
href="https://appwrite.io/docs/products/functions/development#logging"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
@@ -355,7 +355,7 @@
header data in the Logs tab, use
<b>context.log()</b>.
<a
href="https://appwrite.io/docs/functions-develop#logging"
href="https://appwrite.io/docs/products/functions/development#logging"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
@@ -367,7 +367,7 @@
and privacy. To display body data in the Logs tab, use
<b>context.log()</b>.
<a
href="https://appwrite.io/docs/functions-develop#logging"
href="https://appwrite.io/docs/products/functions/development#logging"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
+1 -1
View File
@@ -178,7 +178,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/custom-domains"
href="https://appwrite.io/docs/advanced/platform/custom-domains"
target="domain"
on:click={openWizard} />
{/if}
+3 -3
View File
@@ -37,7 +37,7 @@
<svelte:fragment slot="title">Add function domain</svelte:fragment>
<svelte:fragment slot="subtitle">
Use your self-owned domain as the endpoint of your Appwrite API. <a
href="https://appwrite.io/docs/custom-domains"
href="https://appwrite.io/docs/advanced/platform/custom-domains"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
@@ -58,7 +58,7 @@
<p>
You can find a list of domain providers and their DNS setting documentation <a
class="link"
href="https://appwrite.io/docs/custom-domains#addCNAME"
href="https://appwrite.io/docs/advanced/platform/custom-domains#cname-record"
target="_blank"
rel="noreferrer">here</a
>. If your domain provider isn't listed, please contact us, and we'll include their
@@ -75,7 +75,7 @@
domain.
<svelte:fragment slot="buttons">
<Button
href="https://appwrite.io/docs/environment-variables#vcs_(version_control_system)"
href="https://appwrite.io/docs/advanced/self-hosting/functions#git"
external
text>
Learn more
+19 -19
View File
@@ -69,7 +69,7 @@ export const marketplace: MarketplaceTemplate[] = [
variables: [
{
name: 'APPWRITE_API_KEY',
description: `The API Key to talk to Appwrite backend APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The API Key to authenticate against Appwrite's Server APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/advanced/platform/api-keys">Learn more</a>.`,
value: '',
placeholder: 'd1efb...aec35',
required: false,
@@ -363,7 +363,7 @@ export const marketplace: MarketplaceTemplate[] = [
variables: [
{
name: 'APPWRITE_API_KEY',
description: `The API Key to talk to Appwrite backend APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The API Key to authenticate against Appwrite's Server APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/advanced/platform/api-keys">Learn more</a>.`,
value: '',
placeholder: 'd1efb...aec35',
required: true,
@@ -371,7 +371,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_ENDPOINT',
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The API endpoint of the Appwrite. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/references#api">Learn more</a>.`,
value: 'https://cloud.appwrite.io/v1',
placeholder: 'https://cloud.appwrite.io/v1',
required: false,
@@ -379,7 +379,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_DATABASE_ID',
description: `The ID of the database to store the short URLs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/databases">Learn more</a>.`,
description: `The ID of the database to store the short URLs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/databases">Learn more</a>.`,
value: 'urlShortener',
placeholder: 'urlShortener',
required: false,
@@ -387,7 +387,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_COLLECTION_ID',
description: `The ID of the collection to store the short URLs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/collections">Learn more</a>.`,
description: `The ID of the collection to store the short URLs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/collections">Learn more</a>.`,
value: 'urls',
placeholder: 'urls',
required: false,
@@ -441,7 +441,7 @@ export const marketplace: MarketplaceTemplate[] = [
variables: [
{
name: 'APPWRITE_API_KEY',
description: `The API Key to talk to Appwrite backend APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The API Key to authenticate against Appwrite's Server APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/advanced/platform/api-keys">Learn more</a>.`,
value: '',
placeholder: 'd1efb...aec35',
required: true,
@@ -449,14 +449,14 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_DATABASE_ID',
description: `The ID of the Appwrite database that contains the collection to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/databases">Learn more</a>.`,
description: `The ID of the Appwrite database that contains the collection to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/databases">Learn more</a>.`,
placeholder: '64a55...7b912',
required: true,
type: 'text'
},
{
name: 'APPWRITE_COLLECTION_ID',
description: `The ID of the collection in the Appwrite database to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/collections">Learn more</a>.`,
description: `The ID of the collection in the Appwrite database to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/collections">Learn more</a>.`,
placeholder: '7c3e8...2a9f1',
required: true,
type: 'text'
@@ -484,7 +484,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_ENDPOINT',
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/references#api">Learn more</a>.`,
value: 'https://cloud.appwrite.io/v1',
placeholder: 'https://cloud.appwrite.io/v1',
required: false,
@@ -518,7 +518,7 @@ export const marketplace: MarketplaceTemplate[] = [
variables: [
{
name: 'APPWRITE_API_KEY',
description: `The API Key to talk to Appwrite backend APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The API Key to authenticate against Appwrite's Server APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/advanced/platform/api-keys">Learn more</a>.`,
value: '',
placeholder: 'd1efb...aec35',
required: true,
@@ -526,14 +526,14 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_DATABASE_ID',
description: `The ID of the Appwrite database that contains the collection to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/databases">Learn more</a>.`,
description: `The ID of the Appwrite database that contains the collection to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/databases">Learn more</a>.`,
placeholder: '64a55...7b912',
required: true,
type: 'text'
},
{
name: 'APPWRITE_COLLECTION_ID',
description: `The ID of the collection in the Appwrite database to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/collections">Learn more</a>.`,
description: `The ID of the collection in the Appwrite database to sync. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/collections">Learn more</a>.`,
placeholder: '7c3e8...2a9f1',
required: true,
type: 'text'
@@ -568,7 +568,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_ENDPOINT',
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/references#api">Learn more</a>.`,
value: 'https://cloud.appwrite.io/v1',
placeholder: 'https://cloud.appwrite.io/v1',
required: false,
@@ -794,7 +794,7 @@ export const marketplace: MarketplaceTemplate[] = [
variables: [
{
name: 'APPWRITE_API_KEY',
description: `The API Key to talk to Appwrite backend APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The API Key to authenticate against Appwrite's Server APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/advanced/platform/api-keys">Learn more</a>.`,
value: '',
placeholder: 'd1efb...aec35',
required: true,
@@ -802,7 +802,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_ENDPOINT',
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/references#api">Learn more</a>.`,
value: 'https://cloud.appwrite.io/v1',
placeholder: 'https://cloud.appwrite.io/v1',
required: false,
@@ -850,7 +850,7 @@ export const marketplace: MarketplaceTemplate[] = [
variables: [
{
name: 'APPWRITE_API_KEY',
description: `The API Key to talk to Appwrite backend APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The API Key to authenticate against Appwrite's Server APIs. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/advanced/platform/api-keys">Learn more</a>.`,
value: '',
placeholder: 'd1efb...aec35',
required: true,
@@ -858,7 +858,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_ENDPOINT',
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/getting-started-for-server">Learn more</a>.`,
description: `The URL endpoint of the Appwrite server. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/references#api">Learn more</a>.`,
value: 'https://cloud.appwrite.io/v1',
placeholder: 'https://cloud.appwrite.io/v1',
required: false,
@@ -880,7 +880,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_DATABASE_ID',
description: `The ID of the database to store paid orders. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/databases">Learn more</a>.`,
description: `The ID of the database to store paid orders. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/databases">Learn more</a>.`,
value: 'orders',
placeholder: 'orders',
required: false,
@@ -888,7 +888,7 @@ export const marketplace: MarketplaceTemplate[] = [
},
{
name: 'APPWRITE_COLLECTION_ID',
description: `The ID of the collection to store paid orders. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/collections">Learn more</a>.`,
description: `The ID of the collection to store paid orders. <a class="u-bold" target="_blank" href="https://appwrite.io/docs/products/databases/collections">Learn more</a>.`,
value: 'orders',
placeholder: 'orders',
required: false,
@@ -20,7 +20,7 @@
disabled={!!$templateConfig.generateKey} />
<Helper type="neutral">
This API key will allow you to interact with the Appwrite server APIs. <a
href="https://appwrite.io/docs/keys"
href="https://appwrite.io/docs/advanced/platform/api-keys"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
+2 -2
View File
@@ -104,7 +104,7 @@
Connect your function to a Git repository or use a pre-made template<br />after
configuring your self-hosted instance. Learn more in our
<a
href="https://appwrite.io/docs/configuration#git"
href="https://appwrite.io/docs/advanced/self-hosting/functions#git"
target="_blank"
rel="noopener noreferrer"
class="link">documentation</a
@@ -271,7 +271,7 @@
on:click={() => wizard.start(CreateManual)}>manually</button>
or using the CLI.
<a
href="https://appwrite.io/docs/functions-deploy"
href="https://appwrite.io/docs/products/functions/deployment"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more</a
@@ -9,7 +9,7 @@
<svelte:fragment slot="subtitle">
Choose who can execute this function using the client API. For more information, check out
the <a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
+1 -1
View File
@@ -25,7 +25,7 @@
<Heading tag="h1" size="1">Missing Redirect URL</Heading>
<p>
Your Magic URL login flow is missing a proper redirect URL. Please check the
<a href="https://appwrite.io/docs/client/account?sdk=web#createMagicURLSession"
<a href="https://appwrite.io/docs/references/cloud/client-web/account#createMagicURLSession"
>Magic URL docs</a>
and send request for new session with a valid redirect URL.
</p>
+1 -1
View File
@@ -38,7 +38,7 @@
Your OAuth login flow is missing a proper redirect URL. Please check the
<a
class="link"
href="https://appwrite.io/docs/client/account?sdk=web#createOAuth2Session"
href="https://appwrite.io/docs/references/cloud/client-web/account#createOAuth2Session"
>OAuth docs</a>
and send request for new session with a valid callback URL.
</p>
+1 -1
View File
@@ -38,7 +38,7 @@
Your OAuth login flow is missing a proper redirect URL. Please check the
<a
class="link"
href="https://appwrite.io/docs/client/account?sdk=web#createOAuth2Session"
href="https://appwrite.io/docs/references/cloud/client-web/account#createOAuth2Session"
>OAuth docs</a>
and send request for new session with a valid callback URL.
</p>
@@ -12,7 +12,7 @@
Select the resources you need to migrate to Appwrite. Some resources can be migrated, but
with limitations. <a
class="link"
href="https://appwrite.io/docs/migrations"
href="https://appwrite.io/docs/advanced/migrations"
target="_blank"
rel="noopener noreferrer">
Learn about which resources are supported</a
@@ -116,7 +116,7 @@
<Button
external
secondary
href="https://appwrite.io/docs/client/account#accountCreateEmailSession">
href="https://appwrite.io/docs/references/cloud/client-web/account#createEmailSession">
Documentation
</Button>
</div>
@@ -138,7 +138,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/server/users"
href="https://appwrite.io/docs/references/cloud/server-nodejs/users"
target="user"
on:click={() => showCreateUser.set(true)} />
{/if}
@@ -105,7 +105,7 @@
<Empty
single
on:click={() => ($showCreateTeam = true)}
href="https://appwrite.io/docs/client/teams"
href="https://appwrite.io/docs/references/cloud/client-web/teams"
target="team" />
{/if}
</Container>
@@ -100,7 +100,7 @@
</div>
<Button
external
href="https://appwrite.io/docs/client/teams?sdk=web-default#teamsCreateMembership"
href="https://appwrite.io/docs/products/auth/teams#create-membership"
text>
Documentation
</Button>
@@ -109,7 +109,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/client/teams?sdk=web-default#teamsCreateMembership"
href="https://appwrite.io/docs/products/auth/teams"
target="membership"
on:click={() => (showCreate = true)} />
{/if}
@@ -110,7 +110,7 @@
<Heading size="7" tag="h3">Email templates</Heading>
<p class="text">
Use templates to send and process account management emails. <a
href="https://appwrite.io/docs/email-and-sms-templates"
href="https://appwrite.io/docs/advanced/platform/message-templates"
class="link">
Learn more about email templates.
</a>
@@ -188,7 +188,7 @@
<Heading size="7" tag="h3">SMS templates</Heading>
<p class="text">
Use templates to send and process account management mobile messages. <a
href="https://appwrite.io/docs"
href="https://appwrite.io/docs/advanced/platform/message-templates"
class="link">
Learn more about SMS templates</a
</p>
@@ -112,7 +112,8 @@
<p class="text">
Click to copy variables for the fields below. Learn more <a
class="link"
href="https://appwrite.io/docs/email-and-sms-templates">here</a
href="https://appwrite.io/docs/advanced/platform/message-templates"
>here</a
>.
</p>
<div class="u-margin-block-start-16 u-flex u-gap-8">
@@ -70,7 +70,10 @@
<EmptySearch>
<div class="u-flex u-flex-vertical u-cross-center u-gap-24">
<p class="text u-line-height-1-5">No memberships available</p>
<Button external secondary href="https://appwrite.io/docs/client/teams">
<Button
external
secondary
href="https://appwrite.io/docs/products/auth/teams#create-membership">
Documentation
</Button>
</div>
@@ -101,7 +101,7 @@
<Button
external
secondary
href="https://appwrite.io/docs/client/account#accountCreateEmailSession">
href="https://appwrite.io/docs/products/auth/email-password">
Documentation
</Button>
</div>
@@ -80,7 +80,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/databases"
href="https://appwrite.io/docs/products/databases/databases"
target="database"
on:click={() => (showCreate = true)} />
{/if}
@@ -38,7 +38,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/databases#collection"
href="https://appwrite.io/docs/products/databases/collections"
target="collection"
on:click={() => ($showCreate = true)} />
{/if}
@@ -107,7 +107,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/databases#create-documents"
href="https://appwrite.io/docs/products/databases/documents"
target="document"
on:click={openWizard} />
{/if}
@@ -122,7 +122,7 @@
<div class="u-flex u-gap-16 u-main-center">
<Button
external
href="https://appwrite.io/docs/databases#attributes"
href="https://appwrite.io/docs/products/databases/collections#attributes"
text
event="empty_documentation"
ariaLabel={`create {target}`}>Documentation</Button>
@@ -188,7 +188,7 @@
<div class="u-flex u-gap-16 u-main-center">
<Button
external
href="https://appwrite.io/docs/databases#attributes"
href="https://appwrite.io/docs/products/databases/collections#attributes"
text
event="empty_documentation"
ariaLabel={`create {target}`}>Documentation</Button>
@@ -117,7 +117,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/databases#indexes"
href="https://appwrite.io/docs/products/databases/collections#indexes"
target="index"
on:click={() => (showCreateIndex = true)} />
{/if}
@@ -132,7 +132,7 @@
<div class="u-flex u-gap-16 u-main-center">
<Button
external
href="https://appwrite.io/docs/databases#attributes"
href="https://appwrite.io/docs/products/databases/collections#attributes"
text
event="empty_documentation"
ariaLabel={`create {target}`}>Documentation</Button>
@@ -59,7 +59,7 @@
<Heading tag="h6" size="7">Permissions</Heading>
<p class="text">
Choose who can access your collection and documents. For more information, check out the <a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/products/databases/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -10,7 +10,7 @@
<svelte:fragment slot="title">Permissions</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose who can access your collection and documents. For more information, check out the <a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/products/databases/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -122,7 +122,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/functions#deployFunction"
href="https://appwrite.io/docs/products/functions/deployment"
target="function"
on:click={openWizard} />
{/if}
@@ -171,7 +171,7 @@
<div class="u-flex u-gap-16 u-main-center">
<Button
external
href="https://appwrite.io/docs/functions#createFunction"
href="https://appwrite.io/docs/products/functions/deployment"
text
event="empty_documentation"
ariaLabel={`create {target}`}>Documentation</Button>
@@ -300,7 +300,7 @@
<div class="u-flex u-gap-16 u-main-center">
<Button
external
href="https://appwrite.io/docs/functions#createFunction"
href="https://appwrite.io/docs/products/functions/deployment"
text
event="empty_documentation"
ariaLabel={`create {target}`}>Documentation</Button>
@@ -319,7 +319,7 @@
<div class="u-flex u-gap-16 u-main-center">
<Button
external
href="https://appwrite.io/docs/functions#createFunction"
href="https://appwrite.io/docs/products/functions/deployment"
text
event="empty_documentation"
ariaLabel={`create {target}`}>Documentation</Button>
@@ -91,7 +91,7 @@
<Alert dismissible={false} type="warning">
If you did not create your function using the CLI, initialize your function by following our <a
href="https://appwrite.io/docs/command-line"
href="https://appwrite.io/docs/tooling/command-line/installation"
target="_blank"
rel="noopener noreferrer"
class="link">documentation</a
@@ -13,7 +13,7 @@
<p class="text">
Deploy your function from the Git provider of your choice by following the steps below.
Learn more in our <a
href="https://appwrite.io/docs/functions-deployment"
href="https://appwrite.io/docs/products/functions/deployment"
target="_blank"
rel="noopener noreferrer"
class="link">documentation</a
@@ -74,7 +74,10 @@
you push to that repository, your function will be deployed.
</p>
<div class="alert-buttons u-flex u-margin-inline-start-auto">
<Button text href="https://appwrite.io/docs/functions-deploy#vcs" external>
<Button
text
href="https://appwrite.io/docs/products/functions/deployment"
external>
Learn more
</Button>
<Button
@@ -59,7 +59,7 @@
Manually deploy a function by uploading a zip file containing the source code and a relative
path to the entry point.
<a
href="https://appwrite.io/docs/functions#deployFunction"
href="https://appwrite.io/docs/products/functions/deployment"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about function deployments</a
@@ -83,8 +83,10 @@
</svelte:fragment>
Update your function version to make use of new features including build commands.
<svelte:fragment slot="buttons">
<Button href="https://appwrite.io/docs/functions-develop#upgrade" external text
>Learn more</Button>
<Button
href="https://appwrite.io/docs/products/functions/development"
external
text>Learn more</Button>
</svelte:fragment>
</Alert>
{:else}
@@ -97,7 +97,7 @@
<p class="text">
Manually execute your function. <a
class="link"
href="https://appwrite.io/docs/functions#execute"
href="https://appwrite.io/docs/products/functions/execution"
target="_blank"
rel="noopener noreferrer">
Learn more
@@ -113,7 +113,10 @@
Update your function version to make use of new features including customizable HTTP
data in your executions.
<svelte:fragment slot="buttons">
<Button href="https://appwrite.io/docs/functions-develop#upgrade" external text>
<Button
href="https://appwrite.io/docs/products/functions/development"
external
text>
Learn more
</Button>
</svelte:fragment>
@@ -164,7 +164,7 @@
<p class="text u-line-height-1-5">Need a hand? Learn more in our documentation</p>
</div>
<div class="u-flex u-gap-16">
<Button text external href="https://appwrite.io/docs/functions#execute">
<Button text external href="https://appwrite.io/docs/products/functions/execution">
Documentation
</Button>
<Create secondary />
@@ -53,13 +53,16 @@
Update your function version to make use of new features including build commands and HTTP
data in your executions. To update, follow the steps outlined in our
<a
href="https://appwrite.io/docs/functions-develop#upgrade"
href="https://appwrite.io/docs/products/functions/development"
target="_blank"
rel="noopener noreferrer"
class="link">documentation</a
>.
<svelte:fragment slot="buttons">
<Button href="https://appwrite.io/docs/functions-develop#upgrade" external text>
<Button
href="https://appwrite.io/docs/products/functions/development"
external
text>
Learn more
</Button>
</svelte:fragment>
@@ -209,7 +209,7 @@
<div class="u-flex u-gap-16 common-section u-main-center">
<Button
external
href="https://appwrite.io/docs/functions-deploy#vcs"
href="https://appwrite.io/docs/products/functions/deployment"
text>Documentation</Button>
<Button secondary on:click={() => (search = '')}>Clear search</Button>
</div>
@@ -222,7 +222,7 @@
<p class="text u-line-height-1-5">You have no repositories.</p>
<p class="text u-line-height-1-5">
Need a hand? Learn more in our <a
href="https://appwrite.io/docs/functions-deploy#vcs"
href="https://appwrite.io/docs/products/functions/deployment"
target="_blank"
rel="noopener noreferrer">
documentation</a
@@ -281,7 +281,7 @@
first configure your environment variables.
<svelte:fragment slot="buttons">
<Button
href="https://appwrite.io/docs/configuration#git"
href="https://appwrite.io/docs/advanced/self-hosting/functions"
external
text>
Learn more
@@ -154,7 +154,7 @@
<EventModal bind:show={showEvents} initialValue={eventValue} on:created={handleEvent}>
<p class="text">
Select events in your Appwrite project that will trigger your function. <a
href="https://appwrite.io/docs/events"
href="https://appwrite.io/docs/advanced/platform/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
@@ -69,7 +69,7 @@
<p>
Choose who can execute this function using the client API. For more information, check
out the <a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -58,7 +58,7 @@
<Heading tag="h6" size="7" id="schedule">Schedule</Heading>
<p>
Set a Cron schedule to trigger your function. Leave blank for no schedule. <a
href="https://appwrite.io/docs/functions#scheduled-execution"
href="https://appwrite.io/docs/products/functions/execution"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -73,7 +73,10 @@
In order to clone a template to a locally hosted Appwrite project, you must set
up a Git integration and configure your environment variables.
<svelte:fragment slot="buttons">
<Button href="https://appwrite.io/docs/configuration#git" external text>
<Button
href="https://appwrite.io/docs/advanced/self-hosting/functions"
external
text>
Learn more
</Button>
</svelte:fragment>
@@ -9,7 +9,7 @@
<svelte:fragment slot="subtitle">
Choose which users have permission to execute this function using Client SDKs. For more
information, check out the <a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -20,7 +20,7 @@
<svelte:fragment slot="title">Events</svelte:fragment>
<svelte:fragment slot="subtitle">
Set the events that will trigger your function. Maximum 100 events allowed.<a
href="https://appwrite.io/docs/events"
href="https://appwrite.io/docs/advanced/platform/events"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -64,7 +64,7 @@
<EventModal bind:show={showCreate} on:created={handleCreated}>
<p class="text">
Select events in your Appwrite project that will trigger your function. <a
href="https://appwrite.io/docs/events"
href="https://appwrite.io/docs/advanced/platform/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
@@ -8,7 +8,7 @@
<svelte:fragment slot="title">Schedule</svelte:fragment>
<svelte:fragment slot="subtitle">
Set a Cron schedule to trigger your function. Leave blank for no schedule. <a
href="https://appwrite.io/docs/functions#createFunction"
href="https://appwrite.io/docs/products/functions/quick-start"
target="_blank"
rel="noopener noreferrer"
class="link">More details on Cron syntax here</a
@@ -46,7 +46,7 @@
<svelte:fragment slot="title">Variables</svelte:fragment>
<svelte:fragment slot="subtitle">
Create the environment variables or secret keys that will be passed to your function. <a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -61,5 +61,9 @@
</TableBody>
</Table>
{:else}
<Empty single href="https://appwrite.io/docs/keys" target="API key" on:click={createApiKey} />
<Empty
single
href="https://appwrite.io/docs/advanced/platform/api-keys"
target="API key"
on:click={createApiKey} />
{/if}
@@ -37,7 +37,7 @@
<p class="u-bold">No data to show</p>
<a
class="link"
href="https://appwrite.io/docs/realtime"
href="https://appwrite.io/docs/apis/realtime"
target="_blank"
rel="noopener noreferrer">Get started with Realtime</a>
</div>
@@ -57,7 +57,7 @@
<svelte:fragment slot="subtitle">
Select a source platform with the project you want to migrate. <a
class="link"
href="https://appwrite.io/docs/migrations"
href="https://appwrite.io/docs/advanced/migrations"
target="_blank"
rel="noopener noreferrer">
Learn about which platforms are supported</a
@@ -12,7 +12,7 @@
Select the resources you need to migrate to Appwrite. Some resources can be migrated, but
with limitations. <a
class="link"
href="https://appwrite.io/docs/migrations"
href="https://appwrite.io/docs/advanced/migrations"
target="_blank"
rel="noopener noreferrer">
Learn about which resources are supported</a
@@ -144,7 +144,7 @@
<p class="text">
Import data from another platform or from a different Appwrite instance. <a
class="link"
href="https://appwrite.io/docs/migrations"
href="https://appwrite.io/docs/advanced/migrations"
target="_blank"
rel="noopener noreferrer">
Learn about which platforms are supported</a
@@ -236,7 +236,7 @@
<p class="text">
Export data from your project to Appwrite Cloud. <a
class="link"
href="https://appwrite.io/docs/migrations-self-hosted-to-cloud"
href="https://appwrite.io/docs/advanced/migrations/self-hosted"
target="_blank"
rel="noopener noreferrer">
Learn more in our documentation.</a>
@@ -264,7 +264,7 @@
<p class="text">
Export data from your project to a self-hosted instance. <a
class="link"
href="https://appwrite.io/docs/migrations-cloud-to-self-hosted"
href="https://appwrite.io/docs/advanced/migrations/self-hosted"
target="_blank"
rel="noopener noreferrer">
Learn more in our documentation.</a>
@@ -189,7 +189,10 @@
When installing Git in a locally hosted Appwrite project, you must first configure
your environment variables.
<svelte:fragment slot="buttons">
<Button href="https://appwrite.io/docs/configuration#git" external text>
<Button
href="https://appwrite.io/docs/advanced/self-hosting/functions"
external
text>
Learn more
</Button>
</svelte:fragment>
@@ -75,7 +75,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/webhooks"
href="https://appwrite.io/docs/advanced/platform/webhooks"
target="webhook"
on:click={openWizard} />
{/if}
@@ -112,7 +112,7 @@
<EventModal bind:show={showCreateEvent} on:created={handleEvent}>
<p class="text">
Select events in your Appwrite project that will trigger your webhook. <a
href="https://appwrite.io/docs/events"
href="https://appwrite.io/docs/advanced/platform/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
@@ -89,7 +89,7 @@
<span class="u-color-text-danger">Warning:</span> Untrusted or self-signed
certificates may not be secure.
<a
href="https://appwrite.io/docs/custom-domains#enjoySSLCert"
href="https://appwrite.io/docs/advanced/self-hosting/tls-certificates"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -11,7 +11,7 @@
<Heading tag="h2" size="7">Signature Key</Heading>
<p>
Add the Signature Key to the X-Appwrite-Webhook-Signature header to validate your webhooks. <a
href="https://appwrite.io/docs/webhooks#verification"
href="https://appwrite.io/docs/advanced/platform/webhooks#verification"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about webhook validation.</a>
@@ -58,7 +58,7 @@
<EventModal bind:show={showCreate} on:created={handleCreated}>
<p class="text">
Select events in your Appwrite project that will trigger your webhook. <a
href="https://appwrite.io/docs/events"
href="https://appwrite.io/docs/advanced/platform/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
@@ -35,7 +35,7 @@
<span class="u-color-text-danger">Warning:</span> Untrusted or self-signed certificates
may not be secure.
<a
href="https://appwrite.io/docs/custom-domains#enjoySSLCert"
href="https://appwrite.io/docs/advanced/self-hosting/tls-certificates"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -89,7 +89,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/storage"
href="https://appwrite.io/docs/products/storage"
target="bucket"
on:click={() => ($showCreateBucket = true)} />
{/if}
@@ -240,7 +240,10 @@
<p>There are no files that match your search.</p>
</div>
<div class="u-flex u-gap-16">
<Button external href="https://appwrite.io/docs/storage#createFile" text>
<Button
external
href="https://appwrite.io/docs/products/storage/upload-download"
text>
Documentation
</Button>
<Button
@@ -253,7 +256,7 @@
{:else}
<Empty
single
href="https://appwrite.io/docs/storage#createFile"
href="https://appwrite.io/docs/products/storage/upload-download"
target="file"
on:click={() => ($showCreate = true)} />
{/if}
@@ -72,7 +72,7 @@
<p class="text">
Choose who can access your buckets and files. For more information, check out the
<a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
@@ -269,7 +269,7 @@
<p class="text">
Choose who can access your buckets and files. For more information, check out
the <a
href="https://appwrite.io/docs/permissions"
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">