@appwrite.io/console 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +1 -1
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/dist/cjs/sdk.js +12 -1
- package/package.json +1 -1
- package/src/client.ts +13 -1
- package/src/models.ts +122 -0
- package/src/services/vcs.ts +10 -10
- package/dist/cjs/sdk.js.map +0 -1
- package/dist/esm/sdk.js +0 -29694
- package/dist/esm/sdk.js.map +0 -1
- package/dist/iife/sdk.js +0 -33504
- package/types/channel.d.ts +0 -74
- package/types/client.d.ts +0 -293
- package/types/enums/adapter.d.ts +0 -4
- package/types/enums/api-service.d.ts +0 -15
- package/types/enums/api.d.ts +0 -5
- package/types/enums/appwrite-migration-resource.d.ts +0 -27
- package/types/enums/attribute-status.d.ts +0 -7
- package/types/enums/auth-method.d.ts +0 -9
- package/types/enums/authentication-factor.d.ts +0 -6
- package/types/enums/authenticator-type.d.ts +0 -3
- package/types/enums/backup-services.d.ts +0 -8
- package/types/enums/billing-plan-group.d.ts +0 -5
- package/types/enums/browser-permission.d.ts +0 -22
- package/types/enums/browser.d.ts +0 -16
- package/types/enums/build-runtime.d.ts +0 -88
- package/types/enums/column-status.d.ts +0 -7
- package/types/enums/compression.d.ts +0 -5
- package/types/enums/console-resource-type.d.ts +0 -3
- package/types/enums/credit-card.d.ts +0 -19
- package/types/enums/database-type.d.ts +0 -6
- package/types/enums/databases-index-type.d.ts +0 -6
- package/types/enums/deployment-download-type.d.ts +0 -4
- package/types/enums/deployment-status.d.ts +0 -8
- package/types/enums/domain-purchase-status.d.ts +0 -6
- package/types/enums/domain-transfer-status-enum.d.ts +0 -10
- package/types/enums/email-template-locale.d.ts +0 -133
- package/types/enums/email-template-type.d.ts +0 -9
- package/types/enums/execution-method.d.ts +0 -9
- package/types/enums/execution-status.d.ts +0 -7
- package/types/enums/execution-trigger.d.ts +0 -5
- package/types/enums/filter-type.d.ts +0 -4
- package/types/enums/firebase-migration-resource.d.ts +0 -12
- package/types/enums/flag.d.ts +0 -197
- package/types/enums/framework.d.ts +0 -17
- package/types/enums/frameworks.d.ts +0 -17
- package/types/enums/health-antivirus-status.d.ts +0 -5
- package/types/enums/health-check-status.d.ts +0 -4
- package/types/enums/image-format.d.ts +0 -9
- package/types/enums/image-gravity.d.ts +0 -11
- package/types/enums/index-status.d.ts +0 -7
- package/types/enums/message-priority.d.ts +0 -4
- package/types/enums/message-status.d.ts +0 -7
- package/types/enums/messaging-provider-type.d.ts +0 -5
- package/types/enums/n-host-migration-resource.d.ts +0 -13
- package/types/enums/name.d.ts +0 -15
- package/types/enums/o-auth-provider.d.ts +0 -41
- package/types/enums/order-by.d.ts +0 -4
- package/types/enums/password-hash.d.ts +0 -13
- package/types/enums/platform-type.d.ts +0 -17
- package/types/enums/platform.d.ts +0 -4
- package/types/enums/project-usage-range.d.ts +0 -4
- package/types/enums/proxy-resource-type.d.ts +0 -4
- package/types/enums/proxy-rule-deployment-resource-type.d.ts +0 -4
- package/types/enums/proxy-rule-status.d.ts +0 -6
- package/types/enums/region.d.ts +0 -8
- package/types/enums/registration-type.d.ts +0 -6
- package/types/enums/relation-mutate.d.ts +0 -5
- package/types/enums/relationship-type.d.ts +0 -6
- package/types/enums/resource-type.d.ts +0 -6
- package/types/enums/runtime.d.ts +0 -88
- package/types/enums/runtimes.d.ts +0 -88
- package/types/enums/scopes.d.ts +0 -81
- package/types/enums/sms-template-locale.d.ts +0 -133
- package/types/enums/sms-template-type.d.ts +0 -6
- package/types/enums/smtp-encryption.d.ts +0 -5
- package/types/enums/smtp-secure.d.ts +0 -4
- package/types/enums/status-code.d.ts +0 -6
- package/types/enums/status.d.ts +0 -3
- package/types/enums/supabase-migration-resource.d.ts +0 -13
- package/types/enums/tables-db-index-type.d.ts +0 -6
- package/types/enums/template-reference-type.d.ts +0 -5
- package/types/enums/theme.d.ts +0 -4
- package/types/enums/timezone.d.ts +0 -421
- package/types/enums/usage-range.d.ts +0 -5
- package/types/enums/use-cases.d.ts +0 -16
- package/types/enums/vcs-detection-type.d.ts +0 -4
- package/types/enums/vcs-reference-type.d.ts +0 -5
- package/types/id.d.ts +0 -20
- package/types/index.d.ts +0 -118
- package/types/models.d.ts +0 -9120
- package/types/operator.d.ts +0 -180
- package/types/permission.d.ts +0 -43
- package/types/query.d.ts +0 -442
- package/types/role.d.ts +0 -70
- package/types/service.d.ts +0 -11
- package/types/services/account.d.ts +0 -1536
- package/types/services/activities.d.ts +0 -46
- package/types/services/assistant.d.ts +0 -24
- package/types/services/avatars.d.ts +0 -320
- package/types/services/backups.d.ts +0 -277
- package/types/services/console.d.ts +0 -248
- package/types/services/databases.d.ts +0 -2435
- package/types/services/domains.d.ts +0 -1527
- package/types/services/functions.d.ts +0 -842
- package/types/services/graphql.d.ts +0 -43
- package/types/services/health.d.ts +0 -475
- package/types/services/locale.d.ts +0 -64
- package/types/services/messaging.d.ts +0 -1989
- package/types/services/migrations.d.ts +0 -417
- package/types/services/organizations.d.ts +0 -1009
- package/types/services/project.d.ts +0 -148
- package/types/services/projects.d.ts +0 -1626
- package/types/services/proxy.d.ts +0 -190
- package/types/services/realtime.d.ts +0 -134
- package/types/services/sites.d.ts +0 -800
- package/types/services/storage.d.ts +0 -467
- package/types/services/tables-db.d.ts +0 -2352
- package/types/services/teams.d.ts +0 -366
- package/types/services/tokens.d.ts +0 -119
- package/types/services/users.d.ts +0 -1208
- package/types/services/vcs.d.ts +0 -252
- package/types/services/webhooks.d.ts +0 -165
package/types/role.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helper class to generate role strings for `Permission`.
|
|
3
|
-
*/
|
|
4
|
-
export declare class Role {
|
|
5
|
-
/**
|
|
6
|
-
* Grants access to anyone.
|
|
7
|
-
*
|
|
8
|
-
* This includes authenticated and unauthenticated users.
|
|
9
|
-
*
|
|
10
|
-
* @returns {string}
|
|
11
|
-
*/
|
|
12
|
-
static any(): string;
|
|
13
|
-
/**
|
|
14
|
-
* Grants access to a specific user by user ID.
|
|
15
|
-
*
|
|
16
|
-
* You can optionally pass verified or unverified for
|
|
17
|
-
* `status` to target specific types of users.
|
|
18
|
-
*
|
|
19
|
-
* @param {string} id
|
|
20
|
-
* @param {string} status
|
|
21
|
-
* @returns {string}
|
|
22
|
-
*/
|
|
23
|
-
static user(id: string, status?: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* Grants access to any authenticated or anonymous user.
|
|
26
|
-
*
|
|
27
|
-
* You can optionally pass verified or unverified for
|
|
28
|
-
* `status` to target specific types of users.
|
|
29
|
-
*
|
|
30
|
-
* @param {string} status
|
|
31
|
-
* @returns {string}
|
|
32
|
-
*/
|
|
33
|
-
static users(status?: string): string;
|
|
34
|
-
/**
|
|
35
|
-
* Grants access to any guest user without a session.
|
|
36
|
-
*
|
|
37
|
-
* Authenticated users don't have access to this role.
|
|
38
|
-
*
|
|
39
|
-
* @returns {string}
|
|
40
|
-
*/
|
|
41
|
-
static guests(): string;
|
|
42
|
-
/**
|
|
43
|
-
* Grants access to a team by team ID.
|
|
44
|
-
*
|
|
45
|
-
* You can optionally pass a role for `role` to target
|
|
46
|
-
* team members with the specified role.
|
|
47
|
-
*
|
|
48
|
-
* @param {string} id
|
|
49
|
-
* @param {string} role
|
|
50
|
-
* @returns {string}
|
|
51
|
-
*/
|
|
52
|
-
static team(id: string, role?: string): string;
|
|
53
|
-
/**
|
|
54
|
-
* Grants access to a specific member of a team.
|
|
55
|
-
*
|
|
56
|
-
* When the member is removed from the team, they will
|
|
57
|
-
* no longer have access.
|
|
58
|
-
*
|
|
59
|
-
* @param {string} id
|
|
60
|
-
* @returns {string}
|
|
61
|
-
*/
|
|
62
|
-
static member(id: string): string;
|
|
63
|
-
/**
|
|
64
|
-
* Grants access to a user with the specified label.
|
|
65
|
-
*
|
|
66
|
-
* @param {string} name
|
|
67
|
-
* @returns {string}
|
|
68
|
-
*/
|
|
69
|
-
static label(name: string): string;
|
|
70
|
-
}
|
package/types/service.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Client } from './client';
|
|
2
|
-
import type { Payload } from './client';
|
|
3
|
-
export declare class Service {
|
|
4
|
-
/**
|
|
5
|
-
* The size for chunked uploads in bytes.
|
|
6
|
-
*/
|
|
7
|
-
static CHUNK_SIZE: number;
|
|
8
|
-
client: Client;
|
|
9
|
-
constructor(client: Client);
|
|
10
|
-
static flatten(data: Payload, prefix?: string): Payload;
|
|
11
|
-
}
|