@marcoappio/marco-config 4.0.14 → 4.0.16
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 +4957 -267
- package/dist/appwrite/commands.d.ts.map +1 -1
- package/dist/appwrite/commands.js +72 -111
- package/dist/appwrite/commands.test.js +36 -1
- package/dist/appwrite/functions.d.ts +2427 -226
- package/dist/appwrite/functions.d.ts.map +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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/appwrite/functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,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,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,KAAK,uBAAuB,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAA;AAgMlF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AS,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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export { type AppwriteCommandError, type AppwriteCommandKind, type AppwriteComma
|
|
|
2
2
|
export { marcoConstants } from './constants';
|
|
3
3
|
export { type Account, type AccountAlias, type AccountId, type AccountLabel, type AliasId, type AttachmentId, type Contact, type ContactId, type Draft, type DraftAttachment, type DraftBody, type DraftId, type JobId, type LabelId, type MessageId, marcoSchemas, type PushNotificationTokenId, type RecipientId, type Thread, type ThreadId, type ThreadMessage, type ThreadMessageAttachment, type ThreadMessageRecipient, type UserId, type UserView, type ViewId, } from './schemas';
|
|
4
4
|
export * from './types';
|
|
5
|
-
export {
|
|
5
|
+
export { generateAccountColor, labelSpecialUseOrdering, parseLabelIdList, processSearchTerm } from './utils';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,aAAa,EACb,QAAQ,EACR,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,UAAU,EACV,SAAS,EACT,gBAAgB,E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X,KAAK,QAAQ,EACb,KAAK,MAAM,GACZ,MAAM,WAAW,CAAA;AAClB,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -2,4 +2,4 @@ export { accountProviders, accountStates, appwrite, appwriteAvatar, appwriteComm
|
|
|
2
2
|
export { marcoConstants } from './constants';
|
|
3
3
|
export { marcoSchemas, } from './schemas';
|
|
4
4
|
export * from './types';
|
|
5
|
-
export {
|
|
5
|
+
export { generateAccountColor, labelSpecialUseOrdering, parseLabelIdList, processSearchTerm } from './utils';
|
package/dist/index.test.js
CHANGED
|
@@ -32,6 +32,17 @@ describe('public exports', () => {
|
|
|
32
32
|
expect('enum' in config.marcoSchemas.string).toBe(false);
|
|
33
33
|
expect('matches' in config.marcoSchemas.string).toBe(false);
|
|
34
34
|
expect('optional' in config.marcoSchemas.string).toBe(false);
|
|
35
|
+
expect('threadListSchema' in config.marcoSchemas.models).toBe(false);
|
|
36
|
+
});
|
|
37
|
+
it('exports utility functions directly without wrapper objects', async () => {
|
|
38
|
+
const config = await import('./index');
|
|
39
|
+
expect(config.generateAccountColor).toBeTypeOf('function');
|
|
40
|
+
expect(config.labelSpecialUseOrdering).toEqual(['INBOX', 'SENT', 'SPAM', 'TRASH', 'ARCHIVE']);
|
|
41
|
+
expect(config.parseLabelIdList).toBeTypeOf('function');
|
|
42
|
+
expect(config.processSearchTerm).toBeTypeOf('function');
|
|
43
|
+
expect('accountUtils' in config).toBe(false);
|
|
44
|
+
expect('labelUtils' in config).toBe(false);
|
|
45
|
+
expect('threadsUtils' in config).toBe(false);
|
|
35
46
|
});
|
|
36
47
|
it('omits the Railway REST constants', async () => {
|
|
37
48
|
const config = await import('./index');
|
package/dist/schemas/app.d.ts
CHANGED
package/dist/schemas/app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export { socketTypeSchema } from './scalars';
|
|
3
3
|
export declare const emailAccount: {
|
|
4
|
-
connectionConfigImapRaw:
|
|
4
|
+
connectionConfigImapRaw: v.ObjectSchema<{
|
|
5
5
|
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
6
|
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
7
|
readonly imapPort: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, v.MaxValueAction<number, 65535, undefined>]>;
|
|
@@ -13,12 +13,12 @@ export declare const emailAccount: {
|
|
|
13
13
|
readonly smtpSocketType: v.PicklistSchema<readonly ["SSL", "STARTTLS"], undefined>;
|
|
14
14
|
readonly smtpUser: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
15
|
}, undefined>;
|
|
16
|
-
connectionConfigOauth:
|
|
16
|
+
connectionConfigOauth: v.ObjectSchema<{
|
|
17
17
|
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
18
|
readonly provider: v.PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
|
|
19
19
|
readonly user: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
20
|
}, undefined>;
|
|
21
|
-
imapConnectionStatus:
|
|
22
|
-
socketTypeSchema:
|
|
21
|
+
imapConnectionStatus: v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "CONNECTION_FAILED_AUTHENTICATION_ERROR", "CONNECTION_FAILED_CONNECTION_ERROR", "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", "CONNECTION_FAILED_QUOTA_ERROR", "CONNECTION_FAILED_UNKNOWN_ERROR"], undefined>;
|
|
22
|
+
socketTypeSchema: v.PicklistSchema<readonly ["SSL", "STARTTLS"], undefined>;
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=emailAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailAccount.d.ts","sourceRoot":"","sources":["../../src/schemas/emailAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAE5C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"emailAccount.d.ts","sourceRoot":"","sources":["../../src/schemas/emailAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAE5C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAA"}
|
|
@@ -5,7 +5,7 @@ import { portSchema, socketTypeSchema } from './scalars';
|
|
|
5
5
|
import { string } from './string';
|
|
6
6
|
export { socketTypeSchema } from './scalars';
|
|
7
7
|
export const emailAccount = {
|
|
8
|
-
connectionConfigImapRaw:
|
|
8
|
+
connectionConfigImapRaw: v.object({
|
|
9
9
|
imapHost: string.required(4096),
|
|
10
10
|
imapPassword: string.required(4096),
|
|
11
11
|
imapPort: portSchema,
|
|
@@ -17,11 +17,11 @@ export const emailAccount = {
|
|
|
17
17
|
smtpSocketType: socketTypeSchema,
|
|
18
18
|
smtpUser: string.required(4096),
|
|
19
19
|
}),
|
|
20
|
-
connectionConfigOauth:
|
|
20
|
+
connectionConfigOauth: v.object({
|
|
21
21
|
code: string.required(4096),
|
|
22
|
-
provider: oauth.provider
|
|
22
|
+
provider: oauth.provider,
|
|
23
23
|
user: string.required(4096),
|
|
24
24
|
}),
|
|
25
|
-
imapConnectionStatus:
|
|
26
|
-
socketTypeSchema
|
|
25
|
+
imapConnectionStatus: v.picklist(IMAP_CONNECTION_STATUSES),
|
|
26
|
+
socketTypeSchema,
|
|
27
27
|
};
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export type { AccountId, AliasId, AttachmentId, ContactId, DraftId, JobId, Label
|
|
|
2
2
|
export type { Account, AccountAlias, AccountLabel, Contact, Draft, DraftAttachment, DraftBody, Thread, ThreadMessage, ThreadMessageAttachment, ThreadMessageRecipient, UserView, } from './models';
|
|
3
3
|
export declare const marcoSchemas: {
|
|
4
4
|
app: {
|
|
5
|
-
platform:
|
|
5
|
+
platform: import("valibot").PicklistSchema<readonly ["ios", "osx", "web"], undefined>;
|
|
6
6
|
};
|
|
7
7
|
auth: {
|
|
8
8
|
code: import("valibot").ObjectSchema<{
|
|
@@ -12,7 +12,7 @@ export declare const marcoSchemas: {
|
|
|
12
12
|
}, undefined>;
|
|
13
13
|
};
|
|
14
14
|
emailAccount: {
|
|
15
|
-
connectionConfigImapRaw:
|
|
15
|
+
connectionConfigImapRaw: import("valibot").ObjectSchema<{
|
|
16
16
|
readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
17
|
readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
18
|
readonly imapPort: import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, import("valibot").MaxValueAction<number, 65535, undefined>]>;
|
|
@@ -24,13 +24,13 @@ export declare const marcoSchemas: {
|
|
|
24
24
|
readonly smtpSocketType: import("valibot").PicklistSchema<readonly ["SSL", "STARTTLS"], undefined>;
|
|
25
25
|
readonly smtpUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
26
|
}, undefined>;
|
|
27
|
-
connectionConfigOauth:
|
|
27
|
+
connectionConfigOauth: import("valibot").ObjectSchema<{
|
|
28
28
|
readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
29
|
readonly provider: import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
|
|
30
30
|
readonly user: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
31
31
|
}, undefined>;
|
|
32
|
-
imapConnectionStatus:
|
|
33
|
-
socketTypeSchema:
|
|
32
|
+
imapConnectionStatus: import("valibot").PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "CONNECTION_FAILED_AUTHENTICATION_ERROR", "CONNECTION_FAILED_CONNECTION_ERROR", "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", "CONNECTION_FAILED_QUOTA_ERROR", "CONNECTION_FAILED_UNKNOWN_ERROR"], undefined>;
|
|
33
|
+
socketTypeSchema: import("valibot").PicklistSchema<readonly ["SSL", "STARTTLS"], undefined>;
|
|
34
34
|
};
|
|
35
35
|
id: {
|
|
36
36
|
accountId: {
|
|
@@ -231,24 +231,6 @@ export declare const marcoSchemas: {
|
|
|
231
231
|
readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
|
|
232
232
|
readonly words: import("valibot").StringSchema<undefined>;
|
|
233
233
|
}, undefined>;
|
|
234
|
-
threadListSchema: import("valibot").ObjectSchema<{
|
|
235
|
-
accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
|
|
236
|
-
flagged: import("valibot").BooleanSchema<undefined>;
|
|
237
|
-
hasAttachments: import("valibot").BooleanSchema<undefined>;
|
|
238
|
-
id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
|
|
239
|
-
labelIdList: import("valibot").StringSchema<undefined>;
|
|
240
|
-
latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
241
|
-
latestMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
|
|
242
|
-
messageCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
243
|
-
previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
244
|
-
seen: import("valibot").BooleanSchema<undefined>;
|
|
245
|
-
senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
246
|
-
senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
247
|
-
snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
248
|
-
subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
249
|
-
userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
|
|
250
|
-
words: import("valibot").StringSchema<undefined>;
|
|
251
|
-
}, undefined>;
|
|
252
234
|
threadMessageAttachmentSchema: import("valibot").ObjectSchema<{
|
|
253
235
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
254
236
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AttachmentId">]>, undefined>;
|
|
@@ -308,7 +290,7 @@ export declare const marcoSchemas: {
|
|
|
308
290
|
}, undefined>;
|
|
309
291
|
userViewSchema: import("valibot").ObjectSchema<{
|
|
310
292
|
readonly aliasIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>, undefined>;
|
|
311
|
-
readonly icon: import("valibot").PicklistSchema<readonly
|
|
293
|
+
readonly icon: import("valibot").PicklistSchema<readonly import("..").CustomViewIcon[], undefined>;
|
|
312
294
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ViewId">]>, undefined>;
|
|
313
295
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
314
296
|
}, undefined>;
|
|
@@ -319,16 +301,16 @@ export declare const marcoSchemas: {
|
|
|
319
301
|
positiveInteger: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
320
302
|
};
|
|
321
303
|
oauth: {
|
|
322
|
-
provider:
|
|
304
|
+
provider: import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
|
|
323
305
|
};
|
|
324
306
|
pushNotifications: {
|
|
325
|
-
payload: import("valibot").
|
|
307
|
+
payload: import("valibot").ObjectSchema<{
|
|
326
308
|
readonly data: import("valibot").ObjectSchema<{
|
|
327
309
|
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
|
|
328
310
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
|
|
329
311
|
}, undefined>;
|
|
330
312
|
readonly event: import("valibot").LiteralSchema<"EMAIL_RECEIVED", undefined>;
|
|
331
|
-
}, undefined
|
|
313
|
+
}, undefined>;
|
|
332
314
|
};
|
|
333
315
|
string: {
|
|
334
316
|
email: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAwBA,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAC3K,YAAY,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,QAAQ,GACT,MAAM,UAAU,CAAA;AAEjB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBxB,CAAA"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { app } from './app';
|
|
|
2
2
|
import { auth } from './auth';
|
|
3
3
|
import { emailAccount } from './emailAccount';
|
|
4
4
|
import { id } from './id';
|
|
5
|
-
import { accountAliasSchema, accountLabelSchema, accountSchema, contactSchema, draftAttachmentSchema, draftBodySchema, draftSchema, threadFullSchema,
|
|
5
|
+
import { accountAliasSchema, accountLabelSchema, accountSchema, contactSchema, draftAttachmentSchema, draftBodySchema, draftSchema, threadFullSchema, threadMessageAttachmentSchema, threadMessageRecipientSchema, threadMessageSchema, threadSchema, userViewSchema, } from './models';
|
|
6
6
|
import { number } from './number';
|
|
7
7
|
import { oauth } from './oauth';
|
|
8
8
|
import { pushNotifications } from './pushNotifications';
|
|
@@ -21,7 +21,6 @@ export const marcoSchemas = {
|
|
|
21
21
|
draftBodySchema,
|
|
22
22
|
draftSchema,
|
|
23
23
|
threadFullSchema,
|
|
24
|
-
threadListSchema,
|
|
25
24
|
threadMessageAttachmentSchema,
|
|
26
25
|
threadMessageRecipientSchema,
|
|
27
26
|
threadMessageSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { type Account, type AccountAlias, type AccountLabel, accountAliasSchema, accountLabelSchema, accountSchema } from './account';
|
|
2
2
|
export { type Contact, contactSchema } from './contact';
|
|
3
3
|
export { type Draft, type DraftAttachment, type DraftBody, draftAttachmentSchema, draftBodySchema, draftSchema } from './draft';
|
|
4
|
-
export { type Thread, type ThreadMessage, type ThreadMessageAttachment, type ThreadMessageRecipient, threadFullSchema,
|
|
4
|
+
export { type Thread, type ThreadMessage, type ThreadMessageAttachment, type ThreadMessageRecipient, threadFullSchema, threadMessageAttachmentSchema, threadMessageRecipientSchema, threadMessageSchema, threadSchema, } from './thread';
|
|
5
5
|
export { type UserView, userViewSchema } from './user';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACrI,OAAO,EAAE,KAAK,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,qBAAqB,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC/H,OAAO,EACL,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACrI,OAAO,EAAE,KAAK,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,qBAAqB,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC/H,OAAO,EACL,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,gBAAgB,EAChB,6BAA6B,EAC7B,4BAA4B,EAC5B,mBAAmB,EACnB,YAAY,GACb,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,KAAK,QAAQ,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { accountAliasSchema, accountLabelSchema, accountSchema } from './account';
|
|
2
2
|
export { contactSchema } from './contact';
|
|
3
3
|
export { draftAttachmentSchema, draftBodySchema, draftSchema } from './draft';
|
|
4
|
-
export { threadFullSchema,
|
|
4
|
+
export { threadFullSchema, threadMessageAttachmentSchema, threadMessageRecipientSchema, threadMessageSchema, threadSchema, } from './thread';
|
|
5
5
|
export { userViewSchema } from './user';
|
|
@@ -56,24 +56,6 @@ export declare const threadSchema: v.ObjectSchema<{
|
|
|
56
56
|
userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
57
57
|
words: v.StringSchema<undefined>;
|
|
58
58
|
}, undefined>;
|
|
59
|
-
export declare const threadListSchema: v.ObjectSchema<{
|
|
60
|
-
accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
61
|
-
flagged: v.BooleanSchema<undefined>;
|
|
62
|
-
hasAttachments: v.BooleanSchema<undefined>;
|
|
63
|
-
id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
64
|
-
labelIdList: v.StringSchema<undefined>;
|
|
65
|
-
latestMessageDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
66
|
-
latestMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
67
|
-
messageCount: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
68
|
-
previewText: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
69
|
-
seen: v.BooleanSchema<undefined>;
|
|
70
|
-
senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>;
|
|
71
|
-
senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
72
|
-
snoozedUntil: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
73
|
-
subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
74
|
-
userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
75
|
-
words: v.StringSchema<undefined>;
|
|
76
|
-
}, undefined>;
|
|
77
59
|
export declare const threadFullSchema: v.ObjectSchema<{
|
|
78
60
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
79
61
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
@@ -118,7 +100,7 @@ export declare const threadFullSchema: v.ObjectSchema<{
|
|
|
118
100
|
readonly words: v.StringSchema<undefined>;
|
|
119
101
|
}, undefined>;
|
|
120
102
|
export type Thread = v.InferOutput<typeof threadFullSchema>;
|
|
121
|
-
export type ThreadListItem = v.InferOutput<typeof
|
|
103
|
+
export type ThreadListItem = v.InferOutput<typeof threadSchema>;
|
|
122
104
|
export type ThreadMessage = v.InferOutput<typeof threadMessageSchema>;
|
|
123
105
|
export type ThreadMessageAttachment = v.InferOutput<typeof threadMessageAttachmentSchema>;
|
|
124
106
|
export type ThreadMessageRecipient = v.InferOutput<typeof threadMessageRecipientSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,eAAO,MAAM,6BAA6B;;;;;;aAMxC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;aAMvC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;aAY9B,CAAA;AAqBF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;aAA8B,CAAA;AAEvD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,eAAO,MAAM,6BAA6B;;;;;;aAMxC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;aAMvC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;aAY9B,CAAA;AAqBF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;aAA8B,CAAA;AAEvD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAG3B,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAC3D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,YAAY,CAAC,CAAA;AAC/D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACrE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA;AACzF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
|
|
@@ -50,7 +50,6 @@ const threadBaseEntries = {
|
|
|
50
50
|
words: v.string(),
|
|
51
51
|
};
|
|
52
52
|
export const threadSchema = v.object(threadBaseEntries);
|
|
53
|
-
export const threadListSchema = threadSchema;
|
|
54
53
|
export const threadFullSchema = v.object({
|
|
55
54
|
...threadBaseEntries,
|
|
56
55
|
messages: v.array(threadMessageSchema),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const userViewSchema: v.ObjectSchema<{
|
|
3
3
|
readonly aliasIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>, undefined>;
|
|
4
|
-
readonly icon: v.PicklistSchema<readonly
|
|
4
|
+
readonly icon: v.PicklistSchema<readonly import("../../types").CustomViewIcon[], undefined>;
|
|
5
5
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ViewId">]>, undefined>;
|
|
6
6
|
readonly name: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
7
|
}, undefined>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { describe, expect, it } from 'bun:test';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
+
import { CustomViewIcon, USER_SETTINGS_CUSTOM_VIEW_ICONS } from '../../types';
|
|
3
4
|
import { userViewSchema } from './user';
|
|
4
5
|
describe('userViewSchema', () => {
|
|
5
6
|
it('keys saved views by stable alias IDs', () => {
|
|
@@ -8,4 +9,10 @@ describe('userViewSchema', () => {
|
|
|
8
9
|
expect(v.safeParse(userViewSchema, view).success).toBe(true);
|
|
9
10
|
expect(v.safeParse(userViewSchema, legacyView).success).toBe(false);
|
|
10
11
|
});
|
|
12
|
+
it('derives the ordered custom-view icon collection from enum-style values', () => {
|
|
13
|
+
expect(CustomViewIcon.STAR).toBe('STAR');
|
|
14
|
+
expect(USER_SETTINGS_CUSTOM_VIEW_ICONS).toEqual(['AIRPLANE', 'BELL', 'BRIEFCASE', 'CLOCK', 'CREDIT_CARD', 'HEART', 'HOME', 'KEY', 'MOON', 'PERSON', 'SHOPPING_CART', 'STAR']);
|
|
15
|
+
expect(USER_SETTINGS_CUSTOM_VIEW_ICONS).toEqual(Object.values(CustomViewIcon));
|
|
16
|
+
expect(Object.isFrozen(USER_SETTINGS_CUSTOM_VIEW_ICONS)).toBe(true);
|
|
17
|
+
});
|
|
11
18
|
});
|
package/dist/schemas/oauth.d.ts
CHANGED
package/dist/schemas/oauth.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const pushNotifications: {
|
|
3
|
-
payload: v.
|
|
3
|
+
payload: v.ObjectSchema<{
|
|
4
4
|
readonly data: v.ObjectSchema<{
|
|
5
5
|
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
6
6
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
7
7
|
}, undefined>;
|
|
8
8
|
readonly event: v.LiteralSchema<"EMAIL_RECEIVED", undefined>;
|
|
9
|
-
}, undefined
|
|
9
|
+
}, undefined>;
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=pushNotifications.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pushNotifications.d.ts","sourceRoot":"","sources":["../../src/schemas/pushNotifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"pushNotifications.d.ts","sourceRoot":"","sources":["../../src/schemas/pushNotifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,iBAAiB;;;;;;;;CAE7B,CAAA"}
|
|
@@ -7,7 +7,6 @@ const pushNotificationEmailReceivedPayload = v.object({
|
|
|
7
7
|
}),
|
|
8
8
|
event: v.literal('EMAIL_RECEIVED'),
|
|
9
9
|
});
|
|
10
|
-
const pushNotificationPayload = v.union([pushNotificationEmailReceivedPayload]);
|
|
11
10
|
export const pushNotifications = {
|
|
12
|
-
payload:
|
|
11
|
+
payload: pushNotificationEmailReceivedPayload,
|
|
13
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemaValues.test.d.ts","sourceRoot":"","sources":["../../src/schemas/schemaValues.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { describe, expect, it } from 'bun:test';
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { marcoSchemas } from './index';
|
|
4
|
+
describe('immutable schema values', () => {
|
|
5
|
+
it('publishes parameterless schemas as reusable values', () => {
|
|
6
|
+
expect(v.safeParse(marcoSchemas.app.platform, 'ios').success).toBe(true);
|
|
7
|
+
expect(v.safeParse(marcoSchemas.oauth.provider, 'GOOGLE').success).toBe(true);
|
|
8
|
+
expect(v.safeParse(marcoSchemas.emailAccount.imapConnectionStatus, 'CONNECTED').success).toBe(true);
|
|
9
|
+
expect(v.safeParse(marcoSchemas.emailAccount.socketTypeSchema, 'SSL').success).toBe(true);
|
|
10
|
+
expect(marcoSchemas.app.platform.type).toBe('picklist');
|
|
11
|
+
expect(marcoSchemas.oauth.provider.type).toBe('picklist');
|
|
12
|
+
expect(marcoSchemas.emailAccount.connectionConfigImapRaw.type).toBe('object');
|
|
13
|
+
expect(marcoSchemas.emailAccount.connectionConfigOauth.type).toBe('object');
|
|
14
|
+
});
|
|
15
|
+
it('parses the single supported push payload without a wrapper union', () => {
|
|
16
|
+
const payload = { data: { messageId: 'message-1', threadId: 'thread-1' }, event: 'EMAIL_RECEIVED' };
|
|
17
|
+
expect(v.safeParse(marcoSchemas.pushNotifications.payload, payload).success).toBe(true);
|
|
18
|
+
expect(v.safeParse(marcoSchemas.pushNotifications.payload, { ...payload, event: 'UNKNOWN' }).success).toBe(false);
|
|
19
|
+
expect(marcoSchemas.pushNotifications.payload.type).toBe('object');
|
|
20
|
+
});
|
|
21
|
+
});
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
AIRPLANE
|
|
3
|
-
BELL
|
|
4
|
-
BRIEFCASE
|
|
5
|
-
CLOCK
|
|
6
|
-
CREDIT_CARD
|
|
7
|
-
HEART
|
|
8
|
-
HOME
|
|
9
|
-
KEY
|
|
10
|
-
MOON
|
|
11
|
-
PERSON
|
|
12
|
-
SHOPPING_CART
|
|
13
|
-
STAR
|
|
14
|
-
}
|
|
15
|
-
export
|
|
1
|
+
export declare const CustomViewIcon: {
|
|
2
|
+
readonly AIRPLANE: "AIRPLANE";
|
|
3
|
+
readonly BELL: "BELL";
|
|
4
|
+
readonly BRIEFCASE: "BRIEFCASE";
|
|
5
|
+
readonly CLOCK: "CLOCK";
|
|
6
|
+
readonly CREDIT_CARD: "CREDIT_CARD";
|
|
7
|
+
readonly HEART: "HEART";
|
|
8
|
+
readonly HOME: "HOME";
|
|
9
|
+
readonly KEY: "KEY";
|
|
10
|
+
readonly MOON: "MOON";
|
|
11
|
+
readonly PERSON: "PERSON";
|
|
12
|
+
readonly SHOPPING_CART: "SHOPPING_CART";
|
|
13
|
+
readonly STAR: "STAR";
|
|
14
|
+
};
|
|
15
|
+
export type CustomViewIcon = (typeof CustomViewIcon)[keyof typeof CustomViewIcon];
|
|
16
|
+
export declare const USER_SETTINGS_CUSTOM_VIEW_ICONS: readonly CustomViewIcon[];
|
|
16
17
|
export type UserSettingsCustomViewIcon = (typeof USER_SETTINGS_CUSTOM_VIEW_ICONS)[number];
|
|
17
18
|
//# sourceMappingURL=UserSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSettings.d.ts","sourceRoot":"","sources":["../../src/types/UserSettings.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"UserSettings.d.ts","sourceRoot":"","sources":["../../src/types/UserSettings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAajB,CAAA;AAEV,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAA;AAEjF,eAAO,MAAM,+BAA+B,EAAE,SAAS,cAAc,EAAiD,CAAA;AAEtH,MAAM,MAAM,0BAA0B,GAAG,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -1,29 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export const USER_SETTINGS_CUSTOM_VIEW_ICONS = [
|
|
17
|
-
CustomViewIcon.AIRPLANE,
|
|
18
|
-
CustomViewIcon.BELL,
|
|
19
|
-
CustomViewIcon.BRIEFCASE,
|
|
20
|
-
CustomViewIcon.CLOCK,
|
|
21
|
-
CustomViewIcon.CREDIT_CARD,
|
|
22
|
-
CustomViewIcon.HEART,
|
|
23
|
-
CustomViewIcon.HOME,
|
|
24
|
-
CustomViewIcon.KEY,
|
|
25
|
-
CustomViewIcon.MOON,
|
|
26
|
-
CustomViewIcon.PERSON,
|
|
27
|
-
CustomViewIcon.SHOPPING_CART,
|
|
28
|
-
CustomViewIcon.STAR,
|
|
29
|
-
];
|
|
1
|
+
export const CustomViewIcon = {
|
|
2
|
+
AIRPLANE: 'AIRPLANE',
|
|
3
|
+
BELL: 'BELL',
|
|
4
|
+
BRIEFCASE: 'BRIEFCASE',
|
|
5
|
+
CLOCK: 'CLOCK',
|
|
6
|
+
CREDIT_CARD: 'CREDIT_CARD',
|
|
7
|
+
HEART: 'HEART',
|
|
8
|
+
HOME: 'HOME',
|
|
9
|
+
KEY: 'KEY',
|
|
10
|
+
MOON: 'MOON',
|
|
11
|
+
PERSON: 'PERSON',
|
|
12
|
+
SHOPPING_CART: 'SHOPPING_CART',
|
|
13
|
+
STAR: 'STAR',
|
|
14
|
+
};
|
|
15
|
+
export const USER_SETTINGS_CUSTOM_VIEW_ICONS = Object.freeze(Object.values(CustomViewIcon));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/accounts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/accounts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { generateAccountColor } from './accounts';
|
|
2
|
+
export { labelSpecialUseOrdering } from './labels';
|
|
3
|
+
export { parseLabelIdList, processSearchTerm } from './threads';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA"}
|
package/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { generateAccountColor } from './accounts';
|
|
2
|
+
export { labelSpecialUseOrdering } from './labels';
|
|
3
|
+
export { parseLabelIdList, processSearchTerm } from './threads';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import type { LabelSpecialUse } from '../../types';
|
|
2
|
+
export declare const labelSpecialUseOrdering: readonly LabelSpecialUse[];
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|