@marcoappio/marco-config 4.0.22 → 4.0.23
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 +55 -1403
- package/dist/appwrite/appwrite.d.ts.map +1 -1
- package/dist/appwrite/commands.d.ts +952 -952
- package/dist/appwrite/commands.d.ts.map +1 -1
- package/dist/appwrite/functions.d.ts +503 -503
- package/dist/appwrite/functions.d.ts.map +1 -1
- package/dist/appwrite/queryContracts/queryContracts.d.ts +165 -165
- package/dist/appwrite/queryContracts/queryContracts.d.ts.map +1 -1
- package/dist/appwrite/tableContract/identity.d.ts +62 -62
- package/dist/appwrite/tableContract/identity.d.ts.map +1 -1
- package/dist/appwrite/tableContract/index.d.ts +1214 -1214
- package/dist/appwrite/tableContract/index.d.ts.map +1 -1
- package/dist/appwrite/tableContract/mailbox.d.ts +90 -89
- package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -1
- package/dist/appwrite/tableContract/operational.d.ts +76 -76
- package/dist/appwrite/tableContract/operational.d.ts.map +1 -1
- package/dist/appwrite/tableContract/shared.d.ts +45 -46
- package/dist/appwrite/tableContract/shared.d.ts.map +1 -1
- package/dist/constants/emailAccounts.d.ts.map +1 -1
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/messages.d.ts.map +1 -1
- package/dist/constants/oauth.d.ts +2 -2
- package/dist/constants/oauth.d.ts.map +1 -1
- package/dist/constants/user.d.ts.map +1 -1
- package/dist/schemas/app.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/id.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +16 -16
- package/dist/schemas/models/thread.d.ts +16 -16
- package/dist/schemas/number.d.ts.map +1 -1
- package/dist/schemas/oauth.d.ts.map +1 -1
- package/dist/schemas/pushNotifications.d.ts.map +1 -1
- package/dist/schemas/scalars.d.ts +1 -1
- package/dist/schemas/scalars.d.ts.map +1 -1
- package/dist/schemas/string.d.ts.map +1 -1
- package/dist/types/DraftAttachmentUploadStatus.d.ts +1 -1
- package/dist/types/DraftAttachmentUploadStatus.d.ts.map +1 -1
- package/dist/types/DraftStatus.d.ts +1 -1
- package/dist/types/DraftStatus.d.ts.map +1 -1
- package/dist/types/DraftType.d.ts +1 -1
- package/dist/types/DraftType.d.ts.map +1 -1
- package/dist/types/IMAPConnectionStatus.d.ts +1 -1
- package/dist/types/IMAPConnectionStatus.d.ts.map +1 -1
- package/dist/types/LabelSpecialUse.d.ts +1 -1
- package/dist/types/LabelSpecialUse.d.ts.map +1 -1
- package/dist/types/MarcoPlatform.d.ts +1 -1
- package/dist/types/MarcoPlatform.d.ts.map +1 -1
- package/dist/types/MessageRecipientType.d.ts +1 -1
- package/dist/types/MessageRecipientType.d.ts.map +1 -1
- package/dist/types/OAuthProvider.d.ts +1 -1
- package/dist/types/OAuthProvider.d.ts.map +1 -1
- package/dist/types/UserSettings.d.ts +12 -12
- package/dist/types/UserSettings.d.ts.map +1 -1
- package/package.json +5 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/appwrite/functions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAU/C,KAAK,uBAAuB,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAA;AAgMlF,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/appwrite/functions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAU/C,KAAK,uBAAuB,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAA;AAgMlF,eAAO,MAAM,iBAAiB;aAC5B,GAAG;iBACD,EAAE;iBACF,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,GACrD,KAAK,CAAA;AACT,MAAM,MAAM,qBAAqB,CAAC,SAAS,SAAS,oBAAoB,EAAE,MAAM,SAAS,yBAAyB,CAAC,SAAS,CAAC,IAAI,SAAS,SAAS,oBAAoB,GACnK,MAAM,SAAS,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,GAClE,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,GACvD,KAAK,GACP,KAAK,CAAA;AACT,MAAM,MAAM,uBAAuB,CAAC,SAAS,SAAS,oBAAoB,EAAE,MAAM,SAAS,yBAAyB,CAAC,SAAS,CAAC,IAC7H,qBAAqB,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS;IAAE,aAAa,EAAE,MAAM,OAAO,SAAS,CAAC,CAAC,aAAa,CAAA;CAAE,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;AAC5I,MAAM,MAAM,wBAAwB,CAAC,SAAS,SAAS,oBAAoB,EAAE,MAAM,SAAS,yBAAyB,CAAC,SAAS,CAAC,IAC9H,qBAAqB,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS;IAAE,cAAc,EAAE,MAAM,OAAO,SAAS,CAAC,CAAC,aAAa,CAAA;CAAE,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AppwriteTableIndexAttributeKey, AppwriteTableKey } from '../../appwrite/tableContract/index.js';
|
|
2
|
-
export declare const appwriteQueryIndexRequirementNames: readonly [
|
|
2
|
+
export declare const appwriteQueryIndexRequirementNames: readonly ['accountsByProfileAssignmentKey', 'accountsByProfileAssignmentKeyAndState', 'accountsByState', 'accountsByStateAndPollShardAssignmentId', 'accountsByPollShardAssignmentId', 'aliasesByAccountAssignmentKey', 'aliasesByAccountAssignmentKeyAndProviderId', 'labelsByAccountAssignmentKeyAndPath', 'labelsByAccountAssignmentKeyAndSpecialUse', 'labelsByAccountAssignmentKeyAndProviderId', 'contactsByProfileAssignmentKey', 'contactsByProfileAssignmentKeyAndLastContactedAt', 'contactsByProfileAssignmentKeyAndNormalisedAddress', 'contactsBySearchText', 'draftsByAccountAssignmentKeyAndStatus', 'draftsByAccountAssignmentKey', 'draftsByScheduledAt', 'threadsByAccountAssignmentKeyAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndSeenAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndFlaggedAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndSnoozedUntilAndLatestMessageAt', 'threadsBySnoozedUntil', 'threadsByAccountAssignmentKeyAndArchivedAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndSpamAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndTrashedAndLatestMessageAt', 'threadsBySearchText', 'threadLabelsByThreadAssignmentKeyAndLabelAssignmentKey', 'threadLabelsByLabelAssignmentKeyAndLatestMessageAt', 'threadAliasesByThreadAssignmentKeyAndAliasAssignmentKey', 'threadAliasesByAliasAssignmentKeyAndLatestMessageAt', 'messagesByThreadAssignmentKeyAndSentAt', 'messagesByAccountAssignmentKeyAndProviderId', 'messagesByAccountAssignmentKeyAndRfcMessageId', 'messageLocationsByAccountAssignmentKeyAndLabelAssignmentKeyAndUidValidityAndUid', 'messageLocationsByAccountAssignmentKeyAndThreadAssignmentKey', 'messageLocationsByThreadAssignmentKeyAndLabelAssignmentKeyAndMessageAt', 'mailboxSyncCandidatesByAccountLaneGenerationPriorityReceivedLabelUidUidValidity', 'mailboxSyncCandidatesByLane', 'mailboxSyncLanesByAccountIdAndLane', 'mailboxSyncLanesByLaneAndState', 'mailboxSyncStatesByStateAndNextPollAt', 'commandsByUserIdAndSubmittedAt', 'commandsByUserId', 'commandsByAccountIdAndState', 'commandsByStateAndSubmittedAt', 'jobsByStateAndNextRunAt', 'jobsByStateAndLeaseExpiresAt', 'jobsByUserIdAndStateAndLeaseExpiresAt', 'jobsByStateAndLeaseExpiresAtAndLeaseIdAndAttempts', 'jobsByCommandId', 'jobsByDedupeKey', 'jobsByUserId', 'pollShardsByStateAndNextStartAt', 'pollShardsByLeaseExpiresAt', 'pushNotificationTokensByUserId', 'pushNotificationTokensByToken'];
|
|
3
3
|
export type AppwriteQueryIndexRequirementName = (typeof appwriteQueryIndexRequirementNames)[number];
|
|
4
4
|
export type AppwriteQueryIndexKind = 'filter' | 'fulltext';
|
|
5
5
|
type AppwriteQueryIndexRequirementForTable<TTable extends AppwriteTableKey> = Readonly<{
|
|
@@ -13,287 +13,287 @@ export type AppwriteQueryIndexRequirement = {
|
|
|
13
13
|
export declare const appwriteQueryIndexRequirements: {
|
|
14
14
|
readonly accountsByPollShardAssignmentId: {
|
|
15
15
|
readonly attributes: readonly ["pollShardAssignmentId"];
|
|
16
|
-
readonly kind:
|
|
17
|
-
readonly tableKey:
|
|
16
|
+
readonly kind: 'filter';
|
|
17
|
+
readonly tableKey: 'accounts';
|
|
18
18
|
};
|
|
19
19
|
readonly accountsByProfileAssignmentKey: {
|
|
20
20
|
readonly attributes: readonly ["profileAssignmentKey"];
|
|
21
|
-
readonly kind:
|
|
22
|
-
readonly tableKey:
|
|
21
|
+
readonly kind: 'filter';
|
|
22
|
+
readonly tableKey: 'accounts';
|
|
23
23
|
};
|
|
24
24
|
readonly accountsByProfileAssignmentKeyAndState: {
|
|
25
25
|
readonly attributes: readonly ["profileAssignmentKey", "state"];
|
|
26
|
-
readonly kind:
|
|
27
|
-
readonly tableKey:
|
|
26
|
+
readonly kind: 'filter';
|
|
27
|
+
readonly tableKey: 'accounts';
|
|
28
28
|
};
|
|
29
29
|
readonly accountsByState: {
|
|
30
30
|
readonly attributes: readonly ["state"];
|
|
31
|
-
readonly kind:
|
|
32
|
-
readonly tableKey:
|
|
31
|
+
readonly kind: 'filter';
|
|
32
|
+
readonly tableKey: 'accounts';
|
|
33
33
|
};
|
|
34
34
|
readonly accountsByStateAndPollShardAssignmentId: {
|
|
35
35
|
readonly attributes: readonly ["state", "pollShardAssignmentId"];
|
|
36
|
-
readonly kind:
|
|
37
|
-
readonly tableKey:
|
|
36
|
+
readonly kind: 'filter';
|
|
37
|
+
readonly tableKey: 'accounts';
|
|
38
38
|
};
|
|
39
39
|
readonly aliasesByAccountAssignmentKey: {
|
|
40
40
|
readonly attributes: readonly ["accountAssignmentKey"];
|
|
41
|
-
readonly kind:
|
|
42
|
-
readonly tableKey:
|
|
41
|
+
readonly kind: 'filter';
|
|
42
|
+
readonly tableKey: 'aliases';
|
|
43
43
|
};
|
|
44
44
|
readonly aliasesByAccountAssignmentKeyAndProviderId: {
|
|
45
45
|
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
46
|
-
readonly kind:
|
|
47
|
-
readonly tableKey:
|
|
46
|
+
readonly kind: 'filter';
|
|
47
|
+
readonly tableKey: 'aliases';
|
|
48
48
|
};
|
|
49
49
|
readonly commandsByAccountIdAndState: {
|
|
50
50
|
readonly attributes: readonly ["accountId", "state"];
|
|
51
|
-
readonly kind:
|
|
52
|
-
readonly tableKey:
|
|
51
|
+
readonly kind: 'filter';
|
|
52
|
+
readonly tableKey: 'commands';
|
|
53
53
|
};
|
|
54
54
|
readonly commandsByStateAndSubmittedAt: {
|
|
55
55
|
readonly attributes: readonly ["state", "submittedAt"];
|
|
56
|
-
readonly kind:
|
|
57
|
-
readonly tableKey:
|
|
56
|
+
readonly kind: 'filter';
|
|
57
|
+
readonly tableKey: 'commands';
|
|
58
58
|
};
|
|
59
59
|
readonly commandsByUserId: {
|
|
60
60
|
readonly attributes: readonly ["userId"];
|
|
61
|
-
readonly kind:
|
|
62
|
-
readonly tableKey:
|
|
61
|
+
readonly kind: 'filter';
|
|
62
|
+
readonly tableKey: 'commands';
|
|
63
63
|
};
|
|
64
64
|
readonly commandsByUserIdAndSubmittedAt: {
|
|
65
65
|
readonly attributes: readonly ["userId", "submittedAt"];
|
|
66
|
-
readonly kind:
|
|
67
|
-
readonly tableKey:
|
|
66
|
+
readonly kind: 'filter';
|
|
67
|
+
readonly tableKey: 'commands';
|
|
68
68
|
};
|
|
69
69
|
readonly contactsByProfileAssignmentKey: {
|
|
70
70
|
readonly attributes: readonly ["profileAssignmentKey"];
|
|
71
|
-
readonly kind:
|
|
72
|
-
readonly tableKey:
|
|
71
|
+
readonly kind: 'filter';
|
|
72
|
+
readonly tableKey: 'contacts';
|
|
73
73
|
};
|
|
74
74
|
readonly contactsByProfileAssignmentKeyAndLastContactedAt: {
|
|
75
75
|
readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
|
|
76
|
-
readonly kind:
|
|
77
|
-
readonly tableKey:
|
|
76
|
+
readonly kind: 'filter';
|
|
77
|
+
readonly tableKey: 'contacts';
|
|
78
78
|
};
|
|
79
79
|
readonly contactsByProfileAssignmentKeyAndNormalisedAddress: {
|
|
80
80
|
readonly attributes: readonly ["profileAssignmentKey", "normalisedAddress"];
|
|
81
|
-
readonly kind:
|
|
82
|
-
readonly tableKey:
|
|
81
|
+
readonly kind: 'filter';
|
|
82
|
+
readonly tableKey: 'contacts';
|
|
83
83
|
};
|
|
84
84
|
readonly contactsBySearchText: {
|
|
85
85
|
readonly attributes: readonly ["searchText"];
|
|
86
|
-
readonly kind:
|
|
87
|
-
readonly tableKey:
|
|
86
|
+
readonly kind: 'fulltext';
|
|
87
|
+
readonly tableKey: 'contacts';
|
|
88
88
|
};
|
|
89
89
|
readonly draftsByAccountAssignmentKey: {
|
|
90
90
|
readonly attributes: readonly ["accountAssignmentKey"];
|
|
91
|
-
readonly kind:
|
|
92
|
-
readonly tableKey:
|
|
91
|
+
readonly kind: 'filter';
|
|
92
|
+
readonly tableKey: 'drafts';
|
|
93
93
|
};
|
|
94
94
|
readonly draftsByAccountAssignmentKeyAndStatus: {
|
|
95
95
|
readonly attributes: readonly ["accountAssignmentKey", "status"];
|
|
96
|
-
readonly kind:
|
|
97
|
-
readonly tableKey:
|
|
96
|
+
readonly kind: 'filter';
|
|
97
|
+
readonly tableKey: 'drafts';
|
|
98
98
|
};
|
|
99
99
|
readonly draftsByScheduledAt: {
|
|
100
100
|
readonly attributes: readonly ["scheduledAt"];
|
|
101
|
-
readonly kind:
|
|
102
|
-
readonly tableKey:
|
|
101
|
+
readonly kind: 'filter';
|
|
102
|
+
readonly tableKey: 'drafts';
|
|
103
103
|
};
|
|
104
104
|
readonly jobsByCommandId: {
|
|
105
105
|
readonly attributes: readonly ["commandId"];
|
|
106
|
-
readonly kind:
|
|
107
|
-
readonly tableKey:
|
|
106
|
+
readonly kind: 'filter';
|
|
107
|
+
readonly tableKey: 'jobs';
|
|
108
108
|
};
|
|
109
109
|
readonly jobsByDedupeKey: {
|
|
110
110
|
readonly attributes: readonly ["dedupeKey"];
|
|
111
|
-
readonly kind:
|
|
112
|
-
readonly tableKey:
|
|
111
|
+
readonly kind: 'filter';
|
|
112
|
+
readonly tableKey: 'jobs';
|
|
113
113
|
};
|
|
114
114
|
readonly jobsByStateAndLeaseExpiresAt: {
|
|
115
115
|
readonly attributes: readonly ["state", "leaseExpiresAt"];
|
|
116
|
-
readonly kind:
|
|
117
|
-
readonly tableKey:
|
|
116
|
+
readonly kind: 'filter';
|
|
117
|
+
readonly tableKey: 'jobs';
|
|
118
118
|
};
|
|
119
119
|
readonly jobsByStateAndLeaseExpiresAtAndLeaseIdAndAttempts: {
|
|
120
120
|
readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
|
|
121
|
-
readonly kind:
|
|
122
|
-
readonly tableKey:
|
|
121
|
+
readonly kind: 'filter';
|
|
122
|
+
readonly tableKey: 'jobs';
|
|
123
123
|
};
|
|
124
124
|
readonly jobsByStateAndNextRunAt: {
|
|
125
125
|
readonly attributes: readonly ["state", "nextRunAt"];
|
|
126
|
-
readonly kind:
|
|
127
|
-
readonly tableKey:
|
|
126
|
+
readonly kind: 'filter';
|
|
127
|
+
readonly tableKey: 'jobs';
|
|
128
128
|
};
|
|
129
129
|
readonly jobsByUserId: {
|
|
130
130
|
readonly attributes: readonly ["userId"];
|
|
131
|
-
readonly kind:
|
|
132
|
-
readonly tableKey:
|
|
131
|
+
readonly kind: 'filter';
|
|
132
|
+
readonly tableKey: 'jobs';
|
|
133
133
|
};
|
|
134
134
|
readonly jobsByUserIdAndStateAndLeaseExpiresAt: {
|
|
135
135
|
readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
|
|
136
|
-
readonly kind:
|
|
137
|
-
readonly tableKey:
|
|
136
|
+
readonly kind: 'filter';
|
|
137
|
+
readonly tableKey: 'jobs';
|
|
138
138
|
};
|
|
139
139
|
readonly labelsByAccountAssignmentKeyAndPath: {
|
|
140
140
|
readonly attributes: readonly ["accountAssignmentKey", "path"];
|
|
141
|
-
readonly kind:
|
|
142
|
-
readonly tableKey:
|
|
141
|
+
readonly kind: 'filter';
|
|
142
|
+
readonly tableKey: 'labels';
|
|
143
143
|
};
|
|
144
144
|
readonly labelsByAccountAssignmentKeyAndProviderId: {
|
|
145
145
|
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
146
|
-
readonly kind:
|
|
147
|
-
readonly tableKey:
|
|
146
|
+
readonly kind: 'filter';
|
|
147
|
+
readonly tableKey: 'labels';
|
|
148
148
|
};
|
|
149
149
|
readonly labelsByAccountAssignmentKeyAndSpecialUse: {
|
|
150
150
|
readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
|
|
151
|
-
readonly kind:
|
|
152
|
-
readonly tableKey:
|
|
151
|
+
readonly kind: 'filter';
|
|
152
|
+
readonly tableKey: 'labels';
|
|
153
153
|
};
|
|
154
154
|
readonly mailboxSyncCandidatesByAccountLaneGenerationPriorityReceivedLabelUidUidValidity: {
|
|
155
155
|
readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
|
|
156
|
-
readonly kind:
|
|
157
|
-
readonly tableKey:
|
|
156
|
+
readonly kind: 'filter';
|
|
157
|
+
readonly tableKey: 'mailboxSyncCandidates';
|
|
158
158
|
};
|
|
159
159
|
readonly mailboxSyncCandidatesByLane: {
|
|
160
160
|
readonly attributes: readonly ["lane"];
|
|
161
|
-
readonly kind:
|
|
162
|
-
readonly tableKey:
|
|
161
|
+
readonly kind: 'filter';
|
|
162
|
+
readonly tableKey: 'mailboxSyncCandidates';
|
|
163
163
|
};
|
|
164
164
|
readonly mailboxSyncLanesByAccountIdAndLane: {
|
|
165
165
|
readonly attributes: readonly ["accountId", "lane"];
|
|
166
|
-
readonly kind:
|
|
167
|
-
readonly tableKey:
|
|
166
|
+
readonly kind: 'filter';
|
|
167
|
+
readonly tableKey: 'mailboxSyncLanes';
|
|
168
168
|
};
|
|
169
169
|
readonly mailboxSyncLanesByLaneAndState: {
|
|
170
170
|
readonly attributes: readonly ["lane", "state"];
|
|
171
|
-
readonly kind:
|
|
172
|
-
readonly tableKey:
|
|
171
|
+
readonly kind: 'filter';
|
|
172
|
+
readonly tableKey: 'mailboxSyncLanes';
|
|
173
173
|
};
|
|
174
174
|
readonly mailboxSyncStatesByStateAndNextPollAt: {
|
|
175
175
|
readonly attributes: readonly ["state", "nextPollAt"];
|
|
176
|
-
readonly kind:
|
|
177
|
-
readonly tableKey:
|
|
176
|
+
readonly kind: 'filter';
|
|
177
|
+
readonly tableKey: 'mailboxSyncStates';
|
|
178
178
|
};
|
|
179
179
|
readonly messageLocationsByAccountAssignmentKeyAndLabelAssignmentKeyAndUidValidityAndUid: {
|
|
180
180
|
readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
|
|
181
|
-
readonly kind:
|
|
182
|
-
readonly tableKey:
|
|
181
|
+
readonly kind: 'filter';
|
|
182
|
+
readonly tableKey: 'messageLocations';
|
|
183
183
|
};
|
|
184
184
|
readonly messageLocationsByAccountAssignmentKeyAndThreadAssignmentKey: {
|
|
185
185
|
readonly attributes: readonly ["accountAssignmentKey", "threadAssignmentKey"];
|
|
186
|
-
readonly kind:
|
|
187
|
-
readonly tableKey:
|
|
186
|
+
readonly kind: 'filter';
|
|
187
|
+
readonly tableKey: 'messageLocations';
|
|
188
188
|
};
|
|
189
189
|
readonly messageLocationsByThreadAssignmentKeyAndLabelAssignmentKeyAndMessageAt: {
|
|
190
190
|
readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey", "messageAt"];
|
|
191
|
-
readonly kind:
|
|
192
|
-
readonly tableKey:
|
|
191
|
+
readonly kind: 'filter';
|
|
192
|
+
readonly tableKey: 'messageLocations';
|
|
193
193
|
};
|
|
194
194
|
readonly messagesByAccountAssignmentKeyAndProviderId: {
|
|
195
195
|
readonly attributes: readonly ["accountAssignmentKey", "providerId"];
|
|
196
|
-
readonly kind:
|
|
197
|
-
readonly tableKey:
|
|
196
|
+
readonly kind: 'filter';
|
|
197
|
+
readonly tableKey: 'messages';
|
|
198
198
|
};
|
|
199
199
|
readonly messagesByAccountAssignmentKeyAndRfcMessageId: {
|
|
200
200
|
readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
|
|
201
|
-
readonly kind:
|
|
202
|
-
readonly tableKey:
|
|
201
|
+
readonly kind: 'filter';
|
|
202
|
+
readonly tableKey: 'messages';
|
|
203
203
|
};
|
|
204
204
|
readonly messagesByThreadAssignmentKeyAndSentAt: {
|
|
205
205
|
readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
|
|
206
|
-
readonly kind:
|
|
207
|
-
readonly tableKey:
|
|
206
|
+
readonly kind: 'filter';
|
|
207
|
+
readonly tableKey: 'messages';
|
|
208
208
|
};
|
|
209
209
|
readonly pollShardsByLeaseExpiresAt: {
|
|
210
210
|
readonly attributes: readonly ["leaseExpiresAt"];
|
|
211
|
-
readonly kind:
|
|
212
|
-
readonly tableKey:
|
|
211
|
+
readonly kind: 'filter';
|
|
212
|
+
readonly tableKey: 'pollShards';
|
|
213
213
|
};
|
|
214
214
|
readonly pollShardsByStateAndNextStartAt: {
|
|
215
215
|
readonly attributes: readonly ["state", "nextStartAt"];
|
|
216
|
-
readonly kind:
|
|
217
|
-
readonly tableKey:
|
|
216
|
+
readonly kind: 'filter';
|
|
217
|
+
readonly tableKey: 'pollShards';
|
|
218
218
|
};
|
|
219
219
|
readonly pushNotificationTokensByToken: {
|
|
220
220
|
readonly attributes: readonly ["token"];
|
|
221
|
-
readonly kind:
|
|
222
|
-
readonly tableKey:
|
|
221
|
+
readonly kind: 'filter';
|
|
222
|
+
readonly tableKey: 'pushNotificationTokens';
|
|
223
223
|
};
|
|
224
224
|
readonly pushNotificationTokensByUserId: {
|
|
225
225
|
readonly attributes: readonly ["userId"];
|
|
226
|
-
readonly kind:
|
|
227
|
-
readonly tableKey:
|
|
226
|
+
readonly kind: 'filter';
|
|
227
|
+
readonly tableKey: 'pushNotificationTokens';
|
|
228
228
|
};
|
|
229
229
|
readonly threadAliasesByAliasAssignmentKeyAndLatestMessageAt: {
|
|
230
230
|
readonly attributes: readonly ["aliasAssignmentKey", "latestMessageAt"];
|
|
231
|
-
readonly kind:
|
|
232
|
-
readonly tableKey:
|
|
231
|
+
readonly kind: 'filter';
|
|
232
|
+
readonly tableKey: 'threadAliases';
|
|
233
233
|
};
|
|
234
234
|
readonly threadAliasesByThreadAssignmentKeyAndAliasAssignmentKey: {
|
|
235
235
|
readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
|
|
236
|
-
readonly kind:
|
|
237
|
-
readonly tableKey:
|
|
236
|
+
readonly kind: 'filter';
|
|
237
|
+
readonly tableKey: 'threadAliases';
|
|
238
238
|
};
|
|
239
239
|
readonly threadLabelsByLabelAssignmentKeyAndLatestMessageAt: {
|
|
240
240
|
readonly attributes: readonly ["labelAssignmentKey", "latestMessageAt"];
|
|
241
|
-
readonly kind:
|
|
242
|
-
readonly tableKey:
|
|
241
|
+
readonly kind: 'filter';
|
|
242
|
+
readonly tableKey: 'threadLabels';
|
|
243
243
|
};
|
|
244
244
|
readonly threadLabelsByThreadAssignmentKeyAndLabelAssignmentKey: {
|
|
245
245
|
readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
|
|
246
|
-
readonly kind:
|
|
247
|
-
readonly tableKey:
|
|
246
|
+
readonly kind: 'filter';
|
|
247
|
+
readonly tableKey: 'threadLabels';
|
|
248
248
|
};
|
|
249
249
|
readonly threadsByAccountAssignmentKeyAndArchivedAndLatestMessageAt: {
|
|
250
250
|
readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
|
|
251
|
-
readonly kind:
|
|
252
|
-
readonly tableKey:
|
|
251
|
+
readonly kind: 'filter';
|
|
252
|
+
readonly tableKey: 'threads';
|
|
253
253
|
};
|
|
254
254
|
readonly threadsByAccountAssignmentKeyAndFlaggedAndLatestMessageAt: {
|
|
255
255
|
readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
|
|
256
|
-
readonly kind:
|
|
257
|
-
readonly tableKey:
|
|
256
|
+
readonly kind: 'filter';
|
|
257
|
+
readonly tableKey: 'threads';
|
|
258
258
|
};
|
|
259
259
|
readonly threadsByAccountAssignmentKeyAndLatestMessageAt: {
|
|
260
260
|
readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
|
|
261
|
-
readonly kind:
|
|
262
|
-
readonly tableKey:
|
|
261
|
+
readonly kind: 'filter';
|
|
262
|
+
readonly tableKey: 'threads';
|
|
263
263
|
};
|
|
264
264
|
readonly threadsByAccountAssignmentKeyAndSeenAndLatestMessageAt: {
|
|
265
265
|
readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
|
|
266
|
-
readonly kind:
|
|
267
|
-
readonly tableKey:
|
|
266
|
+
readonly kind: 'filter';
|
|
267
|
+
readonly tableKey: 'threads';
|
|
268
268
|
};
|
|
269
269
|
readonly threadsByAccountAssignmentKeyAndSnoozedUntilAndLatestMessageAt: {
|
|
270
270
|
readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
|
|
271
|
-
readonly kind:
|
|
272
|
-
readonly tableKey:
|
|
271
|
+
readonly kind: 'filter';
|
|
272
|
+
readonly tableKey: 'threads';
|
|
273
273
|
};
|
|
274
274
|
readonly threadsByAccountAssignmentKeyAndSpamAndLatestMessageAt: {
|
|
275
275
|
readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
|
|
276
|
-
readonly kind:
|
|
277
|
-
readonly tableKey:
|
|
276
|
+
readonly kind: 'filter';
|
|
277
|
+
readonly tableKey: 'threads';
|
|
278
278
|
};
|
|
279
279
|
readonly threadsByAccountAssignmentKeyAndTrashedAndLatestMessageAt: {
|
|
280
280
|
readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
|
|
281
|
-
readonly kind:
|
|
282
|
-
readonly tableKey:
|
|
281
|
+
readonly kind: 'filter';
|
|
282
|
+
readonly tableKey: 'threads';
|
|
283
283
|
};
|
|
284
284
|
readonly threadsBySearchText: {
|
|
285
285
|
readonly attributes: readonly ["searchText"];
|
|
286
|
-
readonly kind:
|
|
287
|
-
readonly tableKey:
|
|
286
|
+
readonly kind: 'fulltext';
|
|
287
|
+
readonly tableKey: 'threads';
|
|
288
288
|
};
|
|
289
289
|
readonly threadsBySnoozedUntil: {
|
|
290
290
|
readonly attributes: readonly ["snoozedUntil"];
|
|
291
|
-
readonly kind:
|
|
292
|
-
readonly tableKey:
|
|
291
|
+
readonly kind: 'filter';
|
|
292
|
+
readonly tableKey: 'threads';
|
|
293
293
|
};
|
|
294
294
|
};
|
|
295
295
|
export type AppwriteQueryConsumer = 'BACKEND' | 'FRONTEND';
|
|
296
|
-
export declare const appwriteQueryContractNames: readonly [
|
|
296
|
+
export declare const appwriteQueryContractNames: readonly ['accounts', 'aliases', 'labels', 'contacts', 'drafts', 'threads', 'threadLabels', 'threadAliases', 'messages', 'messageLocations', 'mailboxSyncCandidates', 'mailboxSyncLanes', 'mailboxSyncStates', 'commands', 'jobs', 'pollShards', 'pushNotificationTokens'];
|
|
297
297
|
export type AppwriteQueryContractName = (typeof appwriteQueryContractNames)[number];
|
|
298
298
|
export type AppwriteQueryContract = Readonly<{
|
|
299
299
|
consumers: readonly AppwriteQueryConsumer[];
|
|
@@ -302,89 +302,89 @@ export type AppwriteQueryContract = Readonly<{
|
|
|
302
302
|
}>;
|
|
303
303
|
export declare const appwriteQueryContracts: {
|
|
304
304
|
readonly accounts: {
|
|
305
|
-
readonly consumers: readonly [
|
|
306
|
-
readonly requirements: readonly [
|
|
307
|
-
readonly tableKey:
|
|
305
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
306
|
+
readonly requirements: readonly ['accountsByProfileAssignmentKey', 'accountsByProfileAssignmentKeyAndState', 'accountsByState', 'accountsByStateAndPollShardAssignmentId', 'accountsByPollShardAssignmentId'];
|
|
307
|
+
readonly tableKey: 'accounts';
|
|
308
308
|
};
|
|
309
309
|
readonly aliases: {
|
|
310
|
-
readonly consumers: readonly [
|
|
311
|
-
readonly requirements: readonly [
|
|
312
|
-
readonly tableKey:
|
|
310
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
311
|
+
readonly requirements: readonly ['aliasesByAccountAssignmentKey', 'aliasesByAccountAssignmentKeyAndProviderId'];
|
|
312
|
+
readonly tableKey: 'aliases';
|
|
313
313
|
};
|
|
314
314
|
readonly commands: {
|
|
315
|
-
readonly consumers: readonly [
|
|
316
|
-
readonly requirements: readonly [
|
|
317
|
-
readonly tableKey:
|
|
315
|
+
readonly consumers: readonly ['BACKEND'];
|
|
316
|
+
readonly requirements: readonly ['commandsByUserIdAndSubmittedAt', 'commandsByUserId', 'commandsByAccountIdAndState', 'commandsByStateAndSubmittedAt'];
|
|
317
|
+
readonly tableKey: 'commands';
|
|
318
318
|
};
|
|
319
319
|
readonly contacts: {
|
|
320
|
-
readonly consumers: readonly [
|
|
321
|
-
readonly requirements: readonly [
|
|
322
|
-
readonly tableKey:
|
|
320
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
321
|
+
readonly requirements: readonly ['contactsByProfileAssignmentKey', 'contactsByProfileAssignmentKeyAndLastContactedAt', 'contactsByProfileAssignmentKeyAndNormalisedAddress', 'contactsBySearchText'];
|
|
322
|
+
readonly tableKey: 'contacts';
|
|
323
323
|
};
|
|
324
324
|
readonly drafts: {
|
|
325
|
-
readonly consumers: readonly [
|
|
326
|
-
readonly requirements: readonly [
|
|
327
|
-
readonly tableKey:
|
|
325
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
326
|
+
readonly requirements: readonly ['draftsByAccountAssignmentKeyAndStatus', 'draftsByAccountAssignmentKey', 'draftsByScheduledAt'];
|
|
327
|
+
readonly tableKey: 'drafts';
|
|
328
328
|
};
|
|
329
329
|
readonly jobs: {
|
|
330
|
-
readonly consumers: readonly [
|
|
331
|
-
readonly requirements: readonly [
|
|
332
|
-
readonly tableKey:
|
|
330
|
+
readonly consumers: readonly ['BACKEND'];
|
|
331
|
+
readonly requirements: readonly ['jobsByStateAndNextRunAt', 'jobsByStateAndLeaseExpiresAt', 'jobsByUserIdAndStateAndLeaseExpiresAt', 'jobsByStateAndLeaseExpiresAtAndLeaseIdAndAttempts', 'jobsByCommandId', 'jobsByDedupeKey', 'jobsByUserId'];
|
|
332
|
+
readonly tableKey: 'jobs';
|
|
333
333
|
};
|
|
334
334
|
readonly labels: {
|
|
335
|
-
readonly consumers: readonly [
|
|
336
|
-
readonly requirements: readonly [
|
|
337
|
-
readonly tableKey:
|
|
335
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
336
|
+
readonly requirements: readonly ['labelsByAccountAssignmentKeyAndPath', 'labelsByAccountAssignmentKeyAndSpecialUse', 'labelsByAccountAssignmentKeyAndProviderId'];
|
|
337
|
+
readonly tableKey: 'labels';
|
|
338
338
|
};
|
|
339
339
|
readonly mailboxSyncCandidates: {
|
|
340
|
-
readonly consumers: readonly [
|
|
341
|
-
readonly requirements: readonly [
|
|
342
|
-
readonly tableKey:
|
|
340
|
+
readonly consumers: readonly ['BACKEND'];
|
|
341
|
+
readonly requirements: readonly ['mailboxSyncCandidatesByAccountLaneGenerationPriorityReceivedLabelUidUidValidity', 'mailboxSyncCandidatesByLane'];
|
|
342
|
+
readonly tableKey: 'mailboxSyncCandidates';
|
|
343
343
|
};
|
|
344
344
|
readonly mailboxSyncLanes: {
|
|
345
|
-
readonly consumers: readonly [
|
|
346
|
-
readonly requirements: readonly [
|
|
347
|
-
readonly tableKey:
|
|
345
|
+
readonly consumers: readonly ['BACKEND'];
|
|
346
|
+
readonly requirements: readonly ['mailboxSyncLanesByAccountIdAndLane', 'mailboxSyncLanesByLaneAndState'];
|
|
347
|
+
readonly tableKey: 'mailboxSyncLanes';
|
|
348
348
|
};
|
|
349
349
|
readonly mailboxSyncStates: {
|
|
350
|
-
readonly consumers: readonly [
|
|
351
|
-
readonly requirements: readonly [
|
|
352
|
-
readonly tableKey:
|
|
350
|
+
readonly consumers: readonly ['BACKEND'];
|
|
351
|
+
readonly requirements: readonly ['mailboxSyncStatesByStateAndNextPollAt'];
|
|
352
|
+
readonly tableKey: 'mailboxSyncStates';
|
|
353
353
|
};
|
|
354
354
|
readonly messageLocations: {
|
|
355
|
-
readonly consumers: readonly [
|
|
356
|
-
readonly requirements: readonly [
|
|
357
|
-
readonly tableKey:
|
|
355
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
356
|
+
readonly requirements: readonly ['messageLocationsByAccountAssignmentKeyAndLabelAssignmentKeyAndUidValidityAndUid', 'messageLocationsByAccountAssignmentKeyAndThreadAssignmentKey', 'messageLocationsByThreadAssignmentKeyAndLabelAssignmentKeyAndMessageAt'];
|
|
357
|
+
readonly tableKey: 'messageLocations';
|
|
358
358
|
};
|
|
359
359
|
readonly messages: {
|
|
360
|
-
readonly consumers: readonly [
|
|
361
|
-
readonly requirements: readonly [
|
|
362
|
-
readonly tableKey:
|
|
360
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
361
|
+
readonly requirements: readonly ['messagesByThreadAssignmentKeyAndSentAt', 'messagesByAccountAssignmentKeyAndProviderId', 'messagesByAccountAssignmentKeyAndRfcMessageId'];
|
|
362
|
+
readonly tableKey: 'messages';
|
|
363
363
|
};
|
|
364
364
|
readonly pollShards: {
|
|
365
|
-
readonly consumers: readonly [
|
|
366
|
-
readonly requirements: readonly [
|
|
367
|
-
readonly tableKey:
|
|
365
|
+
readonly consumers: readonly ['BACKEND'];
|
|
366
|
+
readonly requirements: readonly ['pollShardsByStateAndNextStartAt', 'pollShardsByLeaseExpiresAt'];
|
|
367
|
+
readonly tableKey: 'pollShards';
|
|
368
368
|
};
|
|
369
369
|
readonly pushNotificationTokens: {
|
|
370
|
-
readonly consumers: readonly [
|
|
371
|
-
readonly requirements: readonly [
|
|
372
|
-
readonly tableKey:
|
|
370
|
+
readonly consumers: readonly ['BACKEND'];
|
|
371
|
+
readonly requirements: readonly ['pushNotificationTokensByUserId', 'pushNotificationTokensByToken'];
|
|
372
|
+
readonly tableKey: 'pushNotificationTokens';
|
|
373
373
|
};
|
|
374
374
|
readonly threadAliases: {
|
|
375
|
-
readonly consumers: readonly [
|
|
376
|
-
readonly requirements: readonly [
|
|
377
|
-
readonly tableKey:
|
|
375
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
376
|
+
readonly requirements: readonly ['threadAliasesByThreadAssignmentKeyAndAliasAssignmentKey', 'threadAliasesByAliasAssignmentKeyAndLatestMessageAt'];
|
|
377
|
+
readonly tableKey: 'threadAliases';
|
|
378
378
|
};
|
|
379
379
|
readonly threadLabels: {
|
|
380
|
-
readonly consumers: readonly [
|
|
381
|
-
readonly requirements: readonly [
|
|
382
|
-
readonly tableKey:
|
|
380
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
381
|
+
readonly requirements: readonly ['threadLabelsByThreadAssignmentKeyAndLabelAssignmentKey', 'threadLabelsByLabelAssignmentKeyAndLatestMessageAt'];
|
|
382
|
+
readonly tableKey: 'threadLabels';
|
|
383
383
|
};
|
|
384
384
|
readonly threads: {
|
|
385
|
-
readonly consumers: readonly [
|
|
386
|
-
readonly requirements: readonly [
|
|
387
|
-
readonly tableKey:
|
|
385
|
+
readonly consumers: readonly ['BACKEND', 'FRONTEND'];
|
|
386
|
+
readonly requirements: readonly ['threadsByAccountAssignmentKeyAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndSeenAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndFlaggedAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndSnoozedUntilAndLatestMessageAt', 'threadsBySnoozedUntil', 'threadsByAccountAssignmentKeyAndArchivedAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndSpamAndLatestMessageAt', 'threadsByAccountAssignmentKeyAndTrashedAndLatestMessageAt', 'threadsBySearchText'];
|
|
387
|
+
readonly tableKey: 'threads';
|
|
388
388
|
};
|
|
389
389
|
};
|
|
390
390
|
export declare const validateAppwriteQueryContracts: () => void;
|