@rebasepro/types 0.23.0 → 0.24.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/dist/controllers/client.d.ts +48 -17
- package/dist/controllers/collection_registry.d.ts +17 -0
- package/dist/controllers/data.d.ts +161 -49
- package/dist/controllers/storage.d.ts +132 -13
- package/dist/errors.d.ts +15 -1
- package/dist/index.es.js +1094 -37
- package/dist/index.es.js.map +1 -1
- package/dist/types/admin_block.d.ts +1 -1
- package/dist/types/api_keys.d.ts +68 -36
- package/dist/types/auth_adapter.d.ts +65 -1
- package/dist/types/backend.d.ts +177 -6
- package/dist/types/backup.d.ts +83 -0
- package/dist/types/collection_patch.d.ts +74 -0
- package/dist/types/collections.d.ts +23 -0
- package/dist/types/cron.d.ts +39 -3
- package/dist/types/database_adapter.d.ts +2 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/types/project_manifest.d.ts +65 -1
- package/dist/types/properties.d.ts +11 -0
- package/dist/types/schema_editing.d.ts +39 -13
- package/dist/types/scopes.d.ts +272 -0
- package/dist/types/storage_authorize.d.ts +5 -1
- package/dist/users/user.d.ts +7 -0
- package/package.json +1 -1
|
@@ -22,7 +22,11 @@ export interface StorageAuthorizeContext {
|
|
|
22
22
|
operation: StorageOperation;
|
|
23
23
|
/** Null when the route allows unauthenticated access. */
|
|
24
24
|
user: StorageAuthorizeUser | null;
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Named backend the request targeted, when one was given — as its canonical
|
|
27
|
+
* key, the one the request is served from (`" media "` arrives as
|
|
28
|
+
* `"media"`). Absent for the default source, however the request named it.
|
|
29
|
+
*/
|
|
26
30
|
storageId?: string;
|
|
27
31
|
/**
|
|
28
32
|
* Trusted, RLS-bypassing data access, so the hook can answer the question it
|
package/dist/users/user.d.ts
CHANGED
|
@@ -45,6 +45,13 @@ export type User = {
|
|
|
45
45
|
* Whether the user's email address has been verified.
|
|
46
46
|
*/
|
|
47
47
|
readonly emailVerified?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The address this account is moving to, while the link mailed there is
|
|
50
|
+
* waiting to be followed (`client.auth.changeEmail`). `email` stays the
|
|
51
|
+
* account's address until then. `null` or absent when no change is
|
|
52
|
+
* waiting.
|
|
53
|
+
*/
|
|
54
|
+
readonly pendingEmail?: string | null;
|
|
48
55
|
/**
|
|
49
56
|
* Role IDs assigned to this user (e.g. `["admin", "editor"]`).
|
|
50
57
|
*/
|