@marcoappio/marco-config 4.0.8 → 4.0.10
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/appwrite/appwrite.d.ts +1215 -1017
- package/dist/appwrite/appwrite.d.ts.map +1 -1
- package/dist/appwrite/appwrite.js +11 -375
- package/dist/appwrite/appwrite.test.js +75 -1
- package/dist/appwrite/index.d.ts +1 -1
- package/dist/appwrite/index.d.ts.map +1 -1
- package/dist/appwrite/index.js +1 -1
- package/dist/appwrite/tableContract/identity.d.ts +442 -0
- package/dist/appwrite/tableContract/identity.d.ts.map +1 -0
- package/dist/appwrite/tableContract/identity.js +158 -0
- package/dist/appwrite/tableContract/index.d.ts +2194 -0
- package/dist/appwrite/tableContract/index.d.ts.map +1 -0
- package/dist/appwrite/tableContract/index.js +77 -0
- package/dist/appwrite/tableContract/index.test.d.ts +2 -0
- package/dist/appwrite/tableContract/index.test.d.ts.map +1 -0
- package/dist/appwrite/tableContract/index.test.js +48 -0
- package/dist/appwrite/tableContract/mailbox.d.ts +622 -0
- package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -0
- package/dist/appwrite/tableContract/mailbox.js +191 -0
- package/dist/appwrite/tableContract/operational.d.ts +522 -0
- package/dist/appwrite/tableContract/operational.d.ts.map +1 -0
- package/dist/appwrite/tableContract/operational.js +191 -0
- package/dist/appwrite/tableContract/shared.d.ts +145 -0
- package/dist/appwrite/tableContract/shared.d.ts.map +1 -0
- package/dist/appwrite/tableContract/shared.js +89 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const mailboxSyncCandidatesTable: {
|
|
3
|
+
readonly fields: {
|
|
4
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
5
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
6
|
+
readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
7
|
+
readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
8
|
+
readonly labelId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
9
|
+
readonly mailboxPath: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
10
|
+
readonly mailboxPriority: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
11
|
+
readonly mailboxSortKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
|
|
12
|
+
readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
13
|
+
readonly receivedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
14
|
+
readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
15
|
+
readonly uid: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
16
|
+
readonly uidValidity: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
17
|
+
readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
18
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
19
|
+
}, undefined>, v.TransformAction<{
|
|
20
|
+
$id: string;
|
|
21
|
+
}, string>]>], undefined>>;
|
|
22
|
+
readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
23
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
24
|
+
}, undefined>, v.TransformAction<{
|
|
25
|
+
$id: string;
|
|
26
|
+
}, string>]>], undefined>>;
|
|
27
|
+
};
|
|
28
|
+
readonly id: "mailbox_sync_candidates_v2";
|
|
29
|
+
readonly indexes: readonly [{
|
|
30
|
+
readonly attributes: readonly ["lane"];
|
|
31
|
+
readonly name: "lane";
|
|
32
|
+
readonly type: "key";
|
|
33
|
+
}, {
|
|
34
|
+
readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
|
|
35
|
+
readonly name: "account_lane_generation_order";
|
|
36
|
+
readonly type: "key";
|
|
37
|
+
}];
|
|
38
|
+
readonly key: "mailboxSyncCandidates";
|
|
39
|
+
readonly name: "Mailbox sync candidates";
|
|
40
|
+
};
|
|
41
|
+
export declare const mailboxSyncLanesTable: {
|
|
42
|
+
readonly fields: {
|
|
43
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
44
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
45
|
+
readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
46
|
+
readonly cursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
47
|
+
readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
48
|
+
readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
49
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
|
|
50
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
51
|
+
readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
52
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
53
|
+
}, undefined>, v.TransformAction<{
|
|
54
|
+
$id: string;
|
|
55
|
+
}, string>]>], undefined>>;
|
|
56
|
+
};
|
|
57
|
+
readonly id: "mailbox_sync_lanes";
|
|
58
|
+
readonly indexes: readonly [{
|
|
59
|
+
readonly attributes: readonly ["accountId", "lane"];
|
|
60
|
+
readonly name: "account_lane_unique";
|
|
61
|
+
readonly type: "unique";
|
|
62
|
+
}, {
|
|
63
|
+
readonly attributes: readonly ["lane", "state"];
|
|
64
|
+
readonly name: "lane_state";
|
|
65
|
+
readonly type: "key";
|
|
66
|
+
}];
|
|
67
|
+
readonly key: "mailboxSyncLanes";
|
|
68
|
+
readonly name: "Mailbox sync lanes";
|
|
69
|
+
readonly wirePermissions: "empty";
|
|
70
|
+
};
|
|
71
|
+
export declare const pollShardCoordinatorsTable: {
|
|
72
|
+
readonly fields: {
|
|
73
|
+
readonly accountCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
74
|
+
};
|
|
75
|
+
readonly id: "poll_shard_coordinators";
|
|
76
|
+
readonly indexes: readonly [];
|
|
77
|
+
readonly key: "pollShardCoordinators";
|
|
78
|
+
readonly name: "Poll shard coordinators";
|
|
79
|
+
readonly wirePermissions: "empty";
|
|
80
|
+
};
|
|
81
|
+
export declare const mailboxSyncStatesTable: {
|
|
82
|
+
readonly fields: {
|
|
83
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
84
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
85
|
+
readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
86
|
+
readonly providerCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
87
|
+
readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
88
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
|
|
89
|
+
readonly nextPollAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
90
|
+
readonly lastEventAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
91
|
+
readonly lastSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
92
|
+
readonly materialisationLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
93
|
+
readonly materialisationLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
94
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
95
|
+
};
|
|
96
|
+
readonly id: "mailbox_sync_states";
|
|
97
|
+
readonly indexes: readonly [{
|
|
98
|
+
readonly attributes: readonly ["state", "nextPollAt"];
|
|
99
|
+
readonly name: "state_next_poll";
|
|
100
|
+
readonly type: "key";
|
|
101
|
+
}, {
|
|
102
|
+
readonly attributes: readonly ["accountId"];
|
|
103
|
+
readonly name: "account_unique";
|
|
104
|
+
readonly type: "unique";
|
|
105
|
+
}];
|
|
106
|
+
readonly key: "mailboxSyncStates";
|
|
107
|
+
readonly name: "Mailbox sync states";
|
|
108
|
+
};
|
|
109
|
+
export declare const commandsTable: {
|
|
110
|
+
readonly fields: {
|
|
111
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
112
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
113
|
+
readonly draftId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
114
|
+
readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
115
|
+
readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
116
|
+
readonly payloadHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
117
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
118
|
+
readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
119
|
+
readonly canonicalRevision: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
120
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
121
|
+
readonly submittedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
122
|
+
readonly account: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
123
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
124
|
+
}, undefined>, v.TransformAction<{
|
|
125
|
+
$id: string;
|
|
126
|
+
}, string>]>], undefined>, undefined>>;
|
|
127
|
+
readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
128
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
129
|
+
}, undefined>, v.TransformAction<{
|
|
130
|
+
$id: string;
|
|
131
|
+
}, string>]>], undefined>>;
|
|
132
|
+
};
|
|
133
|
+
readonly id: "commands_v2";
|
|
134
|
+
readonly indexes: readonly [{
|
|
135
|
+
readonly attributes: readonly ["userId"];
|
|
136
|
+
readonly name: "user";
|
|
137
|
+
readonly type: "key";
|
|
138
|
+
}, {
|
|
139
|
+
readonly attributes: readonly ["userId", "submittedAt"];
|
|
140
|
+
readonly name: "user_submitted";
|
|
141
|
+
readonly type: "key";
|
|
142
|
+
}, {
|
|
143
|
+
readonly attributes: readonly ["accountId", "state"];
|
|
144
|
+
readonly name: "account_state";
|
|
145
|
+
readonly type: "key";
|
|
146
|
+
}, {
|
|
147
|
+
readonly attributes: readonly ["draftId", "canonicalRevision"];
|
|
148
|
+
readonly name: "draft_sequence";
|
|
149
|
+
readonly type: "key";
|
|
150
|
+
}, {
|
|
151
|
+
readonly attributes: readonly ["state", "submittedAt"];
|
|
152
|
+
readonly name: "state_submitted";
|
|
153
|
+
readonly type: "key";
|
|
154
|
+
}];
|
|
155
|
+
readonly key: "commands";
|
|
156
|
+
readonly name: "Commands";
|
|
157
|
+
};
|
|
158
|
+
export declare const jobsTable: {
|
|
159
|
+
readonly fields: {
|
|
160
|
+
readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
161
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
162
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
163
|
+
readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
164
|
+
readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
165
|
+
readonly dedupeKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
166
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
|
|
167
|
+
readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
168
|
+
readonly maxAttempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
169
|
+
readonly nextRunAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
170
|
+
readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
171
|
+
readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
172
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
173
|
+
};
|
|
174
|
+
readonly id: "jobs_v2";
|
|
175
|
+
readonly indexes: readonly [{
|
|
176
|
+
readonly attributes: readonly ["state", "nextRunAt"];
|
|
177
|
+
readonly name: "state_next_run";
|
|
178
|
+
readonly type: "key";
|
|
179
|
+
}, {
|
|
180
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
181
|
+
readonly name: "lease_expiry";
|
|
182
|
+
readonly type: "key";
|
|
183
|
+
}, {
|
|
184
|
+
readonly attributes: readonly ["state", "leaseExpiresAt"];
|
|
185
|
+
readonly name: "state_lease_expiry";
|
|
186
|
+
readonly type: "key";
|
|
187
|
+
}, {
|
|
188
|
+
readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
|
|
189
|
+
readonly name: "user_state_lease_expiry";
|
|
190
|
+
readonly type: "key";
|
|
191
|
+
}, {
|
|
192
|
+
readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
|
|
193
|
+
readonly name: "recovery_fence";
|
|
194
|
+
readonly type: "key";
|
|
195
|
+
}, {
|
|
196
|
+
readonly attributes: readonly ["commandId"];
|
|
197
|
+
readonly name: "command";
|
|
198
|
+
readonly type: "key";
|
|
199
|
+
}, {
|
|
200
|
+
readonly attributes: readonly ["dedupeKey"];
|
|
201
|
+
readonly name: "dedupe_key_unique";
|
|
202
|
+
readonly type: "unique";
|
|
203
|
+
}, {
|
|
204
|
+
readonly attributes: readonly ["userId"];
|
|
205
|
+
readonly name: "user";
|
|
206
|
+
readonly type: "key";
|
|
207
|
+
}];
|
|
208
|
+
readonly key: "jobs";
|
|
209
|
+
readonly name: "Jobs";
|
|
210
|
+
};
|
|
211
|
+
export declare const pollShardsTable: {
|
|
212
|
+
readonly fields: {
|
|
213
|
+
readonly accountIds: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
|
|
214
|
+
readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
215
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
|
|
216
|
+
readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
217
|
+
readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
218
|
+
readonly lastStartedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
219
|
+
readonly nextStartAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
220
|
+
readonly pollingSnapshot: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
221
|
+
readonly scheduledExecutionId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
222
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
223
|
+
};
|
|
224
|
+
readonly id: "poll_shards";
|
|
225
|
+
readonly indexes: readonly [{
|
|
226
|
+
readonly attributes: readonly ["state", "nextStartAt"];
|
|
227
|
+
readonly name: "state_next_start";
|
|
228
|
+
readonly type: "key";
|
|
229
|
+
}, {
|
|
230
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
231
|
+
readonly name: "lease_expiry";
|
|
232
|
+
readonly type: "key";
|
|
233
|
+
}];
|
|
234
|
+
readonly key: "pollShards";
|
|
235
|
+
readonly name: "Poll shards";
|
|
236
|
+
readonly wirePermissions: "empty";
|
|
237
|
+
};
|
|
238
|
+
export declare const pushNotificationTokensTable: {
|
|
239
|
+
readonly fields: {
|
|
240
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
241
|
+
readonly token: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
242
|
+
readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
243
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
244
|
+
}, undefined>, v.TransformAction<{
|
|
245
|
+
$id: string;
|
|
246
|
+
}, string>]>], undefined>>;
|
|
247
|
+
};
|
|
248
|
+
readonly id: "push_notification_tokens";
|
|
249
|
+
readonly indexes: readonly [{
|
|
250
|
+
readonly attributes: readonly ["userId"];
|
|
251
|
+
readonly name: "user";
|
|
252
|
+
readonly type: "key";
|
|
253
|
+
}, {
|
|
254
|
+
readonly attributes: readonly ["token"];
|
|
255
|
+
readonly name: "token_unique";
|
|
256
|
+
readonly type: "unique";
|
|
257
|
+
}];
|
|
258
|
+
readonly key: "pushNotificationTokens";
|
|
259
|
+
readonly name: "Push notification tokens";
|
|
260
|
+
};
|
|
261
|
+
export declare const operationalTableInputs: {
|
|
262
|
+
readonly commands: {
|
|
263
|
+
readonly fields: {
|
|
264
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
265
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
266
|
+
readonly draftId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
267
|
+
readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
268
|
+
readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
269
|
+
readonly payloadHash: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
270
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
|
|
271
|
+
readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
272
|
+
readonly canonicalRevision: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
|
|
273
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
274
|
+
readonly submittedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
275
|
+
readonly account: import("./shared").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
276
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
277
|
+
}, undefined>, v.TransformAction<{
|
|
278
|
+
$id: string;
|
|
279
|
+
}, string>]>], undefined>, undefined>>;
|
|
280
|
+
readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
281
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
282
|
+
}, undefined>, v.TransformAction<{
|
|
283
|
+
$id: string;
|
|
284
|
+
}, string>]>], undefined>>;
|
|
285
|
+
};
|
|
286
|
+
readonly id: "commands_v2";
|
|
287
|
+
readonly indexes: readonly [{
|
|
288
|
+
readonly attributes: readonly ["userId"];
|
|
289
|
+
readonly name: "user";
|
|
290
|
+
readonly type: "key";
|
|
291
|
+
}, {
|
|
292
|
+
readonly attributes: readonly ["userId", "submittedAt"];
|
|
293
|
+
readonly name: "user_submitted";
|
|
294
|
+
readonly type: "key";
|
|
295
|
+
}, {
|
|
296
|
+
readonly attributes: readonly ["accountId", "state"];
|
|
297
|
+
readonly name: "account_state";
|
|
298
|
+
readonly type: "key";
|
|
299
|
+
}, {
|
|
300
|
+
readonly attributes: readonly ["draftId", "canonicalRevision"];
|
|
301
|
+
readonly name: "draft_sequence";
|
|
302
|
+
readonly type: "key";
|
|
303
|
+
}, {
|
|
304
|
+
readonly attributes: readonly ["state", "submittedAt"];
|
|
305
|
+
readonly name: "state_submitted";
|
|
306
|
+
readonly type: "key";
|
|
307
|
+
}];
|
|
308
|
+
readonly key: "commands";
|
|
309
|
+
readonly name: "Commands";
|
|
310
|
+
};
|
|
311
|
+
readonly jobs: {
|
|
312
|
+
readonly fields: {
|
|
313
|
+
readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
314
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
315
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
316
|
+
readonly kind: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
317
|
+
readonly payload: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
318
|
+
readonly dedupeKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
319
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
|
|
320
|
+
readonly attempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
321
|
+
readonly maxAttempts: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
322
|
+
readonly nextRunAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
323
|
+
readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
324
|
+
readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
325
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
326
|
+
};
|
|
327
|
+
readonly id: "jobs_v2";
|
|
328
|
+
readonly indexes: readonly [{
|
|
329
|
+
readonly attributes: readonly ["state", "nextRunAt"];
|
|
330
|
+
readonly name: "state_next_run";
|
|
331
|
+
readonly type: "key";
|
|
332
|
+
}, {
|
|
333
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
334
|
+
readonly name: "lease_expiry";
|
|
335
|
+
readonly type: "key";
|
|
336
|
+
}, {
|
|
337
|
+
readonly attributes: readonly ["state", "leaseExpiresAt"];
|
|
338
|
+
readonly name: "state_lease_expiry";
|
|
339
|
+
readonly type: "key";
|
|
340
|
+
}, {
|
|
341
|
+
readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
|
|
342
|
+
readonly name: "user_state_lease_expiry";
|
|
343
|
+
readonly type: "key";
|
|
344
|
+
}, {
|
|
345
|
+
readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
|
|
346
|
+
readonly name: "recovery_fence";
|
|
347
|
+
readonly type: "key";
|
|
348
|
+
}, {
|
|
349
|
+
readonly attributes: readonly ["commandId"];
|
|
350
|
+
readonly name: "command";
|
|
351
|
+
readonly type: "key";
|
|
352
|
+
}, {
|
|
353
|
+
readonly attributes: readonly ["dedupeKey"];
|
|
354
|
+
readonly name: "dedupe_key_unique";
|
|
355
|
+
readonly type: "unique";
|
|
356
|
+
}, {
|
|
357
|
+
readonly attributes: readonly ["userId"];
|
|
358
|
+
readonly name: "user";
|
|
359
|
+
readonly type: "key";
|
|
360
|
+
}];
|
|
361
|
+
readonly key: "jobs";
|
|
362
|
+
readonly name: "Jobs";
|
|
363
|
+
};
|
|
364
|
+
readonly mailboxSyncCandidates: {
|
|
365
|
+
readonly fields: {
|
|
366
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
367
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
368
|
+
readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
369
|
+
readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
370
|
+
readonly labelId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
371
|
+
readonly mailboxPath: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
372
|
+
readonly mailboxPriority: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
373
|
+
readonly mailboxSortKey: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
|
|
374
|
+
readonly providerId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
375
|
+
readonly receivedAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
376
|
+
readonly specialUse: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
|
|
377
|
+
readonly uid: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
378
|
+
readonly uidValidity: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
|
|
379
|
+
readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
380
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
381
|
+
}, undefined>, v.TransformAction<{
|
|
382
|
+
$id: string;
|
|
383
|
+
}, string>]>], undefined>>;
|
|
384
|
+
readonly label: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
385
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
386
|
+
}, undefined>, v.TransformAction<{
|
|
387
|
+
$id: string;
|
|
388
|
+
}, string>]>], undefined>>;
|
|
389
|
+
};
|
|
390
|
+
readonly id: "mailbox_sync_candidates_v2";
|
|
391
|
+
readonly indexes: readonly [{
|
|
392
|
+
readonly attributes: readonly ["lane"];
|
|
393
|
+
readonly name: "lane";
|
|
394
|
+
readonly type: "key";
|
|
395
|
+
}, {
|
|
396
|
+
readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
|
|
397
|
+
readonly name: "account_lane_generation_order";
|
|
398
|
+
readonly type: "key";
|
|
399
|
+
}];
|
|
400
|
+
readonly key: "mailboxSyncCandidates";
|
|
401
|
+
readonly name: "Mailbox sync candidates";
|
|
402
|
+
};
|
|
403
|
+
readonly mailboxSyncLanes: {
|
|
404
|
+
readonly fields: {
|
|
405
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
406
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
407
|
+
readonly commandId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
408
|
+
readonly cursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
409
|
+
readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
410
|
+
readonly lane: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
|
|
411
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
|
|
412
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
413
|
+
readonly account: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
414
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
415
|
+
}, undefined>, v.TransformAction<{
|
|
416
|
+
$id: string;
|
|
417
|
+
}, string>]>], undefined>>;
|
|
418
|
+
};
|
|
419
|
+
readonly id: "mailbox_sync_lanes";
|
|
420
|
+
readonly indexes: readonly [{
|
|
421
|
+
readonly attributes: readonly ["accountId", "lane"];
|
|
422
|
+
readonly name: "account_lane_unique";
|
|
423
|
+
readonly type: "unique";
|
|
424
|
+
}, {
|
|
425
|
+
readonly attributes: readonly ["lane", "state"];
|
|
426
|
+
readonly name: "lane_state";
|
|
427
|
+
readonly type: "key";
|
|
428
|
+
}];
|
|
429
|
+
readonly key: "mailboxSyncLanes";
|
|
430
|
+
readonly name: "Mailbox sync lanes";
|
|
431
|
+
readonly wirePermissions: "empty";
|
|
432
|
+
};
|
|
433
|
+
readonly mailboxSyncStates: {
|
|
434
|
+
readonly fields: {
|
|
435
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
436
|
+
readonly accountId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
437
|
+
readonly provider: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
|
|
438
|
+
readonly providerCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
439
|
+
readonly uidValidity: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
|
|
440
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
|
|
441
|
+
readonly nextPollAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
442
|
+
readonly lastEventAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
443
|
+
readonly lastSyncAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
444
|
+
readonly materialisationLeaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
445
|
+
readonly materialisationLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
446
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
447
|
+
};
|
|
448
|
+
readonly id: "mailbox_sync_states";
|
|
449
|
+
readonly indexes: readonly [{
|
|
450
|
+
readonly attributes: readonly ["state", "nextPollAt"];
|
|
451
|
+
readonly name: "state_next_poll";
|
|
452
|
+
readonly type: "key";
|
|
453
|
+
}, {
|
|
454
|
+
readonly attributes: readonly ["accountId"];
|
|
455
|
+
readonly name: "account_unique";
|
|
456
|
+
readonly type: "unique";
|
|
457
|
+
}];
|
|
458
|
+
readonly key: "mailboxSyncStates";
|
|
459
|
+
readonly name: "Mailbox sync states";
|
|
460
|
+
};
|
|
461
|
+
readonly pollShardCoordinators: {
|
|
462
|
+
readonly fields: {
|
|
463
|
+
readonly accountCursor: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
464
|
+
};
|
|
465
|
+
readonly id: "poll_shard_coordinators";
|
|
466
|
+
readonly indexes: readonly [];
|
|
467
|
+
readonly key: "pollShardCoordinators";
|
|
468
|
+
readonly name: "Poll shard coordinators";
|
|
469
|
+
readonly wirePermissions: "empty";
|
|
470
|
+
};
|
|
471
|
+
readonly pollShards: {
|
|
472
|
+
readonly fields: {
|
|
473
|
+
readonly accountIds: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
|
|
474
|
+
readonly generation: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
|
|
475
|
+
readonly state: import("./shared").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
|
|
476
|
+
readonly leaseId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
477
|
+
readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
478
|
+
readonly lastStartedAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
|
|
479
|
+
readonly nextStartAt: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
|
|
480
|
+
readonly pollingSnapshot: import("./shared").AppwriteColumnSchema<v.StringSchema<undefined>>;
|
|
481
|
+
readonly scheduledExecutionId: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
482
|
+
readonly errorCode: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
|
|
483
|
+
};
|
|
484
|
+
readonly id: "poll_shards";
|
|
485
|
+
readonly indexes: readonly [{
|
|
486
|
+
readonly attributes: readonly ["state", "nextStartAt"];
|
|
487
|
+
readonly name: "state_next_start";
|
|
488
|
+
readonly type: "key";
|
|
489
|
+
}, {
|
|
490
|
+
readonly attributes: readonly ["leaseExpiresAt"];
|
|
491
|
+
readonly name: "lease_expiry";
|
|
492
|
+
readonly type: "key";
|
|
493
|
+
}];
|
|
494
|
+
readonly key: "pollShards";
|
|
495
|
+
readonly name: "Poll shards";
|
|
496
|
+
readonly wirePermissions: "empty";
|
|
497
|
+
};
|
|
498
|
+
readonly pushNotificationTokens: {
|
|
499
|
+
readonly fields: {
|
|
500
|
+
readonly userId: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
501
|
+
readonly token: import("./shared").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
|
|
502
|
+
readonly profile: import("./shared").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
503
|
+
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
504
|
+
}, undefined>, v.TransformAction<{
|
|
505
|
+
$id: string;
|
|
506
|
+
}, string>]>], undefined>>;
|
|
507
|
+
};
|
|
508
|
+
readonly id: "push_notification_tokens";
|
|
509
|
+
readonly indexes: readonly [{
|
|
510
|
+
readonly attributes: readonly ["userId"];
|
|
511
|
+
readonly name: "user";
|
|
512
|
+
readonly type: "key";
|
|
513
|
+
}, {
|
|
514
|
+
readonly attributes: readonly ["token"];
|
|
515
|
+
readonly name: "token_unique";
|
|
516
|
+
readonly type: "unique";
|
|
517
|
+
}];
|
|
518
|
+
readonly key: "pushNotificationTokens";
|
|
519
|
+
readonly name: "Push notification tokens";
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
//# sourceMappingURL=operational.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operational.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/operational.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA2B5B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BrC,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;CASrC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBjC,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BxB,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BpB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB1B,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;CAatC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASzB,CAAA"}
|