@marcoappio/marco-config 4.0.15 → 4.0.17
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.map +1 -1
- package/dist/appwrite/appwrite.js +15 -23
- package/dist/appwrite/appwrite.test.js +31 -11
- package/dist/appwrite/commands.d.ts +20 -20
- package/dist/appwrite/functions.d.ts +10 -10
- package/dist/appwrite/tableContract/identity.d.ts +0 -235
- package/dist/appwrite/tableContract/identity.d.ts.map +1 -1
- package/dist/appwrite/tableContract/identity.js +122 -146
- package/dist/appwrite/tableContract/index.d.ts +0 -92
- package/dist/appwrite/tableContract/index.d.ts.map +1 -1
- package/dist/appwrite/tableContract/index.js +18 -5
- package/dist/appwrite/tableContract/index.test.js +36 -0
- package/dist/appwrite/tableContract/mailbox.d.ts +0 -323
- package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -1
- package/dist/appwrite/tableContract/mailbox.js +159 -180
- package/dist/appwrite/tableContract/operational.d.ts +0 -275
- package/dist/appwrite/tableContract/operational.d.ts.map +1 -1
- package/dist/appwrite/tableContract/operational.js +154 -178
- package/dist/appwrite/tableContract/shared.d.ts +13 -6
- package/dist/appwrite/tableContract/shared.d.ts.map +1 -1
- package/dist/appwrite/tableContract/shared.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.test.js +11 -0
- package/dist/schemas/app.d.ts +1 -1
- package/dist/schemas/app.js +1 -1
- package/dist/schemas/emailAccount.d.ts +4 -4
- package/dist/schemas/emailAccount.d.ts.map +1 -1
- package/dist/schemas/emailAccount.js +5 -5
- package/dist/schemas/index.d.ts +9 -27
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -2
- package/dist/schemas/models/index.d.ts +1 -1
- package/dist/schemas/models/index.d.ts.map +1 -1
- package/dist/schemas/models/index.js +1 -1
- package/dist/schemas/models/thread.d.ts +1 -19
- package/dist/schemas/models/thread.d.ts.map +1 -1
- package/dist/schemas/models/thread.js +0 -1
- package/dist/schemas/models/user.d.ts +1 -1
- package/dist/schemas/models/user.test.js +7 -0
- package/dist/schemas/oauth.d.ts +1 -1
- package/dist/schemas/oauth.js +1 -1
- package/dist/schemas/pushNotifications.d.ts +2 -2
- package/dist/schemas/pushNotifications.d.ts.map +1 -1
- package/dist/schemas/pushNotifications.js +1 -2
- package/dist/schemas/schemaValues.test.d.ts +2 -0
- package/dist/schemas/schemaValues.test.d.ts.map +1 -0
- package/dist/schemas/schemaValues.test.js +21 -0
- package/dist/types/UserSettings.d.ts +16 -15
- package/dist/types/UserSettings.d.ts.map +1 -1
- package/dist/types/UserSettings.js +15 -29
- package/dist/utils/accounts/index.d.ts +1 -3
- package/dist/utils/accounts/index.d.ts.map +1 -1
- package/dist/utils/accounts/index.js +1 -4
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +3 -3
- package/dist/utils/labels/index.d.ts +2 -3
- package/dist/utils/labels/index.d.ts.map +1 -1
- package/dist/utils/labels/index.js +1 -4
- package/dist/utils/threads/index.d.ts +2 -4
- package/dist/utils/threads/index.d.ts.map +1 -1
- package/dist/utils/threads/index.js +2 -6
- package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.js +1 -1
- package/package.json +1 -1
- package/dist/utils/threads/parseLabelIdList/index.d.ts +0 -2
- package/dist/utils/threads/parseLabelIdList/index.d.ts.map +0 -1
- package/dist/utils/threads/parseLabelIdList/index.js +0 -1
- package/dist/utils/threads/processSearchTerm/index.d.ts +0 -2
- package/dist/utils/threads/processSearchTerm/index.d.ts.map +0 -1
- package/dist/utils/threads/processSearchTerm/index.js +0 -1
|
@@ -1,263 +1,4 @@
|
|
|
1
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.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<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.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<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.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<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.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<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.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<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.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<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
2
|
export declare const operationalTableInputs: {
|
|
262
3
|
readonly commands: {
|
|
263
4
|
readonly fields: {
|
|
@@ -283,7 +24,6 @@ export declare const operationalTableInputs: {
|
|
|
283
24
|
$id: string;
|
|
284
25
|
}, string>]>], undefined>>;
|
|
285
26
|
};
|
|
286
|
-
readonly id: "commands_v2";
|
|
287
27
|
readonly indexes: readonly [{
|
|
288
28
|
readonly attributes: readonly ["userId"];
|
|
289
29
|
readonly name: "user";
|
|
@@ -305,7 +45,6 @@ export declare const operationalTableInputs: {
|
|
|
305
45
|
readonly name: "state_submitted";
|
|
306
46
|
readonly type: "key";
|
|
307
47
|
}];
|
|
308
|
-
readonly key: "commands";
|
|
309
48
|
readonly name: "Commands";
|
|
310
49
|
};
|
|
311
50
|
readonly jobs: {
|
|
@@ -324,7 +63,6 @@ export declare const operationalTableInputs: {
|
|
|
324
63
|
readonly leaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
325
64
|
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
65
|
};
|
|
327
|
-
readonly id: "jobs_v2";
|
|
328
66
|
readonly indexes: readonly [{
|
|
329
67
|
readonly attributes: readonly ["state", "nextRunAt"];
|
|
330
68
|
readonly name: "state_next_run";
|
|
@@ -358,7 +96,6 @@ export declare const operationalTableInputs: {
|
|
|
358
96
|
readonly name: "user";
|
|
359
97
|
readonly type: "key";
|
|
360
98
|
}];
|
|
361
|
-
readonly key: "jobs";
|
|
362
99
|
readonly name: "Jobs";
|
|
363
100
|
};
|
|
364
101
|
readonly mailboxSyncCandidates: {
|
|
@@ -387,7 +124,6 @@ export declare const operationalTableInputs: {
|
|
|
387
124
|
$id: string;
|
|
388
125
|
}, string>]>], undefined>>;
|
|
389
126
|
};
|
|
390
|
-
readonly id: "mailbox_sync_candidates_v2";
|
|
391
127
|
readonly indexes: readonly [{
|
|
392
128
|
readonly attributes: readonly ["lane"];
|
|
393
129
|
readonly name: "lane";
|
|
@@ -397,7 +133,6 @@ export declare const operationalTableInputs: {
|
|
|
397
133
|
readonly name: "account_lane_generation_order";
|
|
398
134
|
readonly type: "key";
|
|
399
135
|
}];
|
|
400
|
-
readonly key: "mailboxSyncCandidates";
|
|
401
136
|
readonly name: "Mailbox sync candidates";
|
|
402
137
|
};
|
|
403
138
|
readonly mailboxSyncLanes: {
|
|
@@ -416,7 +151,6 @@ export declare const operationalTableInputs: {
|
|
|
416
151
|
$id: string;
|
|
417
152
|
}, string>]>], undefined>>;
|
|
418
153
|
};
|
|
419
|
-
readonly id: "mailbox_sync_lanes";
|
|
420
154
|
readonly indexes: readonly [{
|
|
421
155
|
readonly attributes: readonly ["accountId", "lane"];
|
|
422
156
|
readonly name: "account_lane_unique";
|
|
@@ -426,7 +160,6 @@ export declare const operationalTableInputs: {
|
|
|
426
160
|
readonly name: "lane_state";
|
|
427
161
|
readonly type: "key";
|
|
428
162
|
}];
|
|
429
|
-
readonly key: "mailboxSyncLanes";
|
|
430
163
|
readonly name: "Mailbox sync lanes";
|
|
431
164
|
readonly wirePermissions: "empty";
|
|
432
165
|
};
|
|
@@ -445,7 +178,6 @@ export declare const operationalTableInputs: {
|
|
|
445
178
|
readonly materialisationLeaseExpiresAt: import("./shared").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
|
|
446
179
|
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
180
|
};
|
|
448
|
-
readonly id: "mailbox_sync_states";
|
|
449
181
|
readonly indexes: readonly [{
|
|
450
182
|
readonly attributes: readonly ["state", "nextPollAt"];
|
|
451
183
|
readonly name: "state_next_poll";
|
|
@@ -455,16 +187,13 @@ export declare const operationalTableInputs: {
|
|
|
455
187
|
readonly name: "account_unique";
|
|
456
188
|
readonly type: "unique";
|
|
457
189
|
}];
|
|
458
|
-
readonly key: "mailboxSyncStates";
|
|
459
190
|
readonly name: "Mailbox sync states";
|
|
460
191
|
};
|
|
461
192
|
readonly pollShardCoordinators: {
|
|
462
193
|
readonly fields: {
|
|
463
194
|
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
195
|
};
|
|
465
|
-
readonly id: "poll_shard_coordinators";
|
|
466
196
|
readonly indexes: readonly [];
|
|
467
|
-
readonly key: "pollShardCoordinators";
|
|
468
197
|
readonly name: "Poll shard coordinators";
|
|
469
198
|
readonly wirePermissions: "empty";
|
|
470
199
|
};
|
|
@@ -481,7 +210,6 @@ export declare const operationalTableInputs: {
|
|
|
481
210
|
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
211
|
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
212
|
};
|
|
484
|
-
readonly id: "poll_shards";
|
|
485
213
|
readonly indexes: readonly [{
|
|
486
214
|
readonly attributes: readonly ["state", "nextStartAt"];
|
|
487
215
|
readonly name: "state_next_start";
|
|
@@ -491,7 +219,6 @@ export declare const operationalTableInputs: {
|
|
|
491
219
|
readonly name: "lease_expiry";
|
|
492
220
|
readonly type: "key";
|
|
493
221
|
}];
|
|
494
|
-
readonly key: "pollShards";
|
|
495
222
|
readonly name: "Poll shards";
|
|
496
223
|
readonly wirePermissions: "empty";
|
|
497
224
|
};
|
|
@@ -505,7 +232,6 @@ export declare const operationalTableInputs: {
|
|
|
505
232
|
$id: string;
|
|
506
233
|
}, string>]>], undefined>>;
|
|
507
234
|
};
|
|
508
|
-
readonly id: "push_notification_tokens";
|
|
509
235
|
readonly indexes: readonly [{
|
|
510
236
|
readonly attributes: readonly ["userId"];
|
|
511
237
|
readonly name: "user";
|
|
@@ -515,7 +241,6 @@ export declare const operationalTableInputs: {
|
|
|
515
241
|
readonly name: "token_unique";
|
|
516
242
|
readonly type: "unique";
|
|
517
243
|
}];
|
|
518
|
-
readonly key: "pushNotificationTokens";
|
|
519
244
|
readonly name: "Push notification tokens";
|
|
520
245
|
};
|
|
521
246
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operational.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/operational.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
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,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKjC,CAAA"}
|