@marcoappio/marco-config 2.0.473 → 2.0.475
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/zero/index.d.ts +64 -1060
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/index.js +2 -1
- package/dist/zero/queries/getThread.d.ts +1014 -0
- package/dist/zero/queries/getThread.d.ts.map +1 -0
- package/dist/zero/queries/getThread.js +14 -0
- package/dist/zero/queries/getThreadList.d.ts +1 -1000
- package/dist/zero/queries/getThreadList.d.ts.map +1 -1
- package/dist/zero/queries/getThreadList.js +37 -69
- package/dist/zero/queries/getThreads.d.ts +1 -1008
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.js +37 -69
- package/dist/zero/queries/index.d.ts +1 -0
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/queries/index.js +1 -0
- package/package.json +1 -1
package/dist/zero/index.d.ts
CHANGED
|
@@ -3337,1023 +3337,9 @@ export declare const marcoZero: {
|
|
|
3337
3337
|
readonly totalSize: number;
|
|
3338
3338
|
}[];
|
|
3339
3339
|
}>>;
|
|
3340
|
-
readonly
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
where?: {
|
|
3344
|
-
flagged?: boolean;
|
|
3345
|
-
id?: string;
|
|
3346
|
-
labelIds?: string[];
|
|
3347
|
-
messageIds?: string[];
|
|
3348
|
-
participants?: string[];
|
|
3349
|
-
seen?: boolean;
|
|
3350
|
-
};
|
|
3351
|
-
}], import("@rocicorp/zero").Query<{
|
|
3352
|
-
tables: {
|
|
3353
|
-
readonly user: {
|
|
3354
|
-
name: "user";
|
|
3355
|
-
columns: {
|
|
3356
|
-
readonly id: {
|
|
3357
|
-
type: "string";
|
|
3358
|
-
optional: false;
|
|
3359
|
-
customType: string;
|
|
3360
|
-
};
|
|
3361
|
-
readonly name: Omit<{
|
|
3362
|
-
type: "string";
|
|
3363
|
-
optional: false;
|
|
3364
|
-
customType: string;
|
|
3365
|
-
}, "optional"> & {
|
|
3366
|
-
optional: true;
|
|
3367
|
-
};
|
|
3368
|
-
readonly profilePicture: Omit<{
|
|
3369
|
-
type: "string";
|
|
3370
|
-
optional: false;
|
|
3371
|
-
customType: string;
|
|
3372
|
-
}, "optional"> & {
|
|
3373
|
-
optional: true;
|
|
3374
|
-
} & {
|
|
3375
|
-
serverName: string;
|
|
3376
|
-
};
|
|
3377
|
-
readonly undoSendEnabled: {
|
|
3378
|
-
type: "boolean";
|
|
3379
|
-
optional: false;
|
|
3380
|
-
customType: boolean;
|
|
3381
|
-
} & {
|
|
3382
|
-
serverName: string;
|
|
3383
|
-
};
|
|
3384
|
-
};
|
|
3385
|
-
primaryKey: readonly [string, ...string[]];
|
|
3386
|
-
} & {
|
|
3387
|
-
primaryKey: ["id"];
|
|
3388
|
-
};
|
|
3389
|
-
readonly userPushNotificationToken: {
|
|
3390
|
-
name: "userPushNotificationToken";
|
|
3391
|
-
columns: {
|
|
3392
|
-
readonly createdAt: {
|
|
3393
|
-
type: "number";
|
|
3394
|
-
optional: false;
|
|
3395
|
-
customType: number;
|
|
3396
|
-
} & {
|
|
3397
|
-
serverName: string;
|
|
3398
|
-
};
|
|
3399
|
-
readonly id: {
|
|
3400
|
-
type: "string";
|
|
3401
|
-
optional: false;
|
|
3402
|
-
customType: string;
|
|
3403
|
-
};
|
|
3404
|
-
readonly token: {
|
|
3405
|
-
type: "string";
|
|
3406
|
-
optional: false;
|
|
3407
|
-
customType: string;
|
|
3408
|
-
};
|
|
3409
|
-
readonly userId: {
|
|
3410
|
-
type: "string";
|
|
3411
|
-
optional: false;
|
|
3412
|
-
customType: string;
|
|
3413
|
-
} & {
|
|
3414
|
-
serverName: string;
|
|
3415
|
-
};
|
|
3416
|
-
};
|
|
3417
|
-
primaryKey: readonly [string, ...string[]];
|
|
3418
|
-
} & {
|
|
3419
|
-
primaryKey: ["id"];
|
|
3420
|
-
};
|
|
3421
|
-
readonly contact: {
|
|
3422
|
-
name: "contact";
|
|
3423
|
-
columns: {
|
|
3424
|
-
readonly emailAddress: {
|
|
3425
|
-
type: "string";
|
|
3426
|
-
optional: false;
|
|
3427
|
-
customType: string;
|
|
3428
|
-
} & {
|
|
3429
|
-
serverName: string;
|
|
3430
|
-
};
|
|
3431
|
-
readonly id: {
|
|
3432
|
-
type: "string";
|
|
3433
|
-
optional: false;
|
|
3434
|
-
customType: string;
|
|
3435
|
-
};
|
|
3436
|
-
readonly name: Omit<{
|
|
3437
|
-
type: "string";
|
|
3438
|
-
optional: false;
|
|
3439
|
-
customType: string;
|
|
3440
|
-
}, "optional"> & {
|
|
3441
|
-
optional: true;
|
|
3442
|
-
};
|
|
3443
|
-
readonly userId: {
|
|
3444
|
-
type: "string";
|
|
3445
|
-
optional: false;
|
|
3446
|
-
customType: string;
|
|
3447
|
-
} & {
|
|
3448
|
-
serverName: string;
|
|
3449
|
-
};
|
|
3450
|
-
};
|
|
3451
|
-
primaryKey: readonly [string, ...string[]];
|
|
3452
|
-
} & {
|
|
3453
|
-
primaryKey: ["id"];
|
|
3454
|
-
};
|
|
3455
|
-
readonly account: {
|
|
3456
|
-
name: "account";
|
|
3457
|
-
columns: {
|
|
3458
|
-
readonly color: {
|
|
3459
|
-
type: "string";
|
|
3460
|
-
optional: false;
|
|
3461
|
-
customType: string;
|
|
3462
|
-
};
|
|
3463
|
-
readonly displayName: Omit<{
|
|
3464
|
-
type: "string";
|
|
3465
|
-
optional: false;
|
|
3466
|
-
customType: string;
|
|
3467
|
-
}, "optional"> & {
|
|
3468
|
-
optional: true;
|
|
3469
|
-
} & {
|
|
3470
|
-
serverName: string;
|
|
3471
|
-
};
|
|
3472
|
-
readonly id: {
|
|
3473
|
-
type: "string";
|
|
3474
|
-
optional: false;
|
|
3475
|
-
customType: string;
|
|
3476
|
-
};
|
|
3477
|
-
readonly imapConnectionStatus: {
|
|
3478
|
-
type: "string";
|
|
3479
|
-
optional: false;
|
|
3480
|
-
customType: "AWAITING_CONNECTION" | "CONNECTED" | "CONNECTION_FAILED_AUTHENTICATION_ERROR" | "CONNECTION_FAILED_CONNECTION_ERROR" | "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR" | "CONNECTION_FAILED_QUOTA_ERROR" | "CONNECTION_FAILED_UNKNOWN_ERROR";
|
|
3481
|
-
} & {
|
|
3482
|
-
serverName: string;
|
|
3483
|
-
};
|
|
3484
|
-
readonly mailProcessedCount: {
|
|
3485
|
-
type: "number";
|
|
3486
|
-
optional: false;
|
|
3487
|
-
customType: number;
|
|
3488
|
-
} & {
|
|
3489
|
-
serverName: string;
|
|
3490
|
-
};
|
|
3491
|
-
readonly mailTotalCount: {
|
|
3492
|
-
type: "number";
|
|
3493
|
-
optional: false;
|
|
3494
|
-
customType: number;
|
|
3495
|
-
} & {
|
|
3496
|
-
serverName: string;
|
|
3497
|
-
};
|
|
3498
|
-
readonly primaryAliasId: Omit<{
|
|
3499
|
-
type: "string";
|
|
3500
|
-
optional: false;
|
|
3501
|
-
customType: string;
|
|
3502
|
-
}, "optional"> & {
|
|
3503
|
-
optional: true;
|
|
3504
|
-
} & {
|
|
3505
|
-
serverName: string;
|
|
3506
|
-
};
|
|
3507
|
-
readonly userId: {
|
|
3508
|
-
type: "string";
|
|
3509
|
-
optional: false;
|
|
3510
|
-
customType: string;
|
|
3511
|
-
} & {
|
|
3512
|
-
serverName: string;
|
|
3513
|
-
};
|
|
3514
|
-
};
|
|
3515
|
-
primaryKey: readonly [string, ...string[]];
|
|
3516
|
-
} & {
|
|
3517
|
-
primaryKey: ["id"];
|
|
3518
|
-
};
|
|
3519
|
-
readonly accountAlias: {
|
|
3520
|
-
name: "accountAlias";
|
|
3521
|
-
columns: {
|
|
3522
|
-
readonly accountId: {
|
|
3523
|
-
type: "string";
|
|
3524
|
-
optional: false;
|
|
3525
|
-
customType: string;
|
|
3526
|
-
} & {
|
|
3527
|
-
serverName: string;
|
|
3528
|
-
};
|
|
3529
|
-
readonly emailAddress: {
|
|
3530
|
-
type: "string";
|
|
3531
|
-
optional: false;
|
|
3532
|
-
customType: string;
|
|
3533
|
-
} & {
|
|
3534
|
-
serverName: string;
|
|
3535
|
-
};
|
|
3536
|
-
readonly id: {
|
|
3537
|
-
type: "string";
|
|
3538
|
-
optional: false;
|
|
3539
|
-
customType: string;
|
|
3540
|
-
};
|
|
3541
|
-
readonly isPrimary: {
|
|
3542
|
-
type: "boolean";
|
|
3543
|
-
optional: false;
|
|
3544
|
-
customType: boolean;
|
|
3545
|
-
} & {
|
|
3546
|
-
serverName: string;
|
|
3547
|
-
};
|
|
3548
|
-
readonly name: Omit<{
|
|
3549
|
-
type: "string";
|
|
3550
|
-
optional: false;
|
|
3551
|
-
customType: string;
|
|
3552
|
-
}, "optional"> & {
|
|
3553
|
-
optional: true;
|
|
3554
|
-
};
|
|
3555
|
-
};
|
|
3556
|
-
primaryKey: readonly [string, ...string[]];
|
|
3557
|
-
} & {
|
|
3558
|
-
primaryKey: ["id"];
|
|
3559
|
-
};
|
|
3560
|
-
readonly accountLabel: {
|
|
3561
|
-
name: "accountLabel";
|
|
3562
|
-
columns: {
|
|
3563
|
-
readonly accountId: {
|
|
3564
|
-
type: "string";
|
|
3565
|
-
optional: false;
|
|
3566
|
-
customType: string;
|
|
3567
|
-
} & {
|
|
3568
|
-
serverName: string;
|
|
3569
|
-
};
|
|
3570
|
-
readonly id: {
|
|
3571
|
-
type: "string";
|
|
3572
|
-
optional: false;
|
|
3573
|
-
customType: string;
|
|
3574
|
-
};
|
|
3575
|
-
readonly name: Omit<{
|
|
3576
|
-
type: "string";
|
|
3577
|
-
optional: false;
|
|
3578
|
-
customType: string;
|
|
3579
|
-
}, "optional"> & {
|
|
3580
|
-
optional: true;
|
|
3581
|
-
};
|
|
3582
|
-
readonly path: {
|
|
3583
|
-
type: "string";
|
|
3584
|
-
optional: false;
|
|
3585
|
-
customType: string;
|
|
3586
|
-
};
|
|
3587
|
-
readonly specialUse: Omit<{
|
|
3588
|
-
type: "string";
|
|
3589
|
-
optional: false;
|
|
3590
|
-
customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
|
|
3591
|
-
}, "optional"> & {
|
|
3592
|
-
optional: true;
|
|
3593
|
-
} & {
|
|
3594
|
-
serverName: string;
|
|
3595
|
-
};
|
|
3596
|
-
readonly uidValidity: {
|
|
3597
|
-
type: "number";
|
|
3598
|
-
optional: false;
|
|
3599
|
-
customType: number;
|
|
3600
|
-
} & {
|
|
3601
|
-
serverName: string;
|
|
3602
|
-
};
|
|
3603
|
-
readonly unreadCount: {
|
|
3604
|
-
type: "number";
|
|
3605
|
-
optional: false;
|
|
3606
|
-
customType: number;
|
|
3607
|
-
} & {
|
|
3608
|
-
serverName: string;
|
|
3609
|
-
};
|
|
3610
|
-
};
|
|
3611
|
-
primaryKey: readonly [string, ...string[]];
|
|
3612
|
-
} & {
|
|
3613
|
-
primaryKey: ["id"];
|
|
3614
|
-
};
|
|
3615
|
-
readonly draft: {
|
|
3616
|
-
name: "draft";
|
|
3617
|
-
columns: {
|
|
3618
|
-
readonly accountId: {
|
|
3619
|
-
type: "string";
|
|
3620
|
-
optional: false;
|
|
3621
|
-
customType: string;
|
|
3622
|
-
} & {
|
|
3623
|
-
serverName: string;
|
|
3624
|
-
};
|
|
3625
|
-
readonly body: {
|
|
3626
|
-
type: "json";
|
|
3627
|
-
optional: false;
|
|
3628
|
-
customType: {
|
|
3629
|
-
content: string;
|
|
3630
|
-
to: string[];
|
|
3631
|
-
cc: string[];
|
|
3632
|
-
bcc: string[];
|
|
3633
|
-
};
|
|
3634
|
-
};
|
|
3635
|
-
readonly error: Omit<{
|
|
3636
|
-
type: "string";
|
|
3637
|
-
optional: false;
|
|
3638
|
-
customType: string;
|
|
3639
|
-
}, "optional"> & {
|
|
3640
|
-
optional: true;
|
|
3641
|
-
};
|
|
3642
|
-
readonly fromAliasId: Omit<{
|
|
3643
|
-
type: "string";
|
|
3644
|
-
optional: false;
|
|
3645
|
-
customType: string;
|
|
3646
|
-
}, "optional"> & {
|
|
3647
|
-
optional: true;
|
|
3648
|
-
} & {
|
|
3649
|
-
serverName: string;
|
|
3650
|
-
};
|
|
3651
|
-
readonly fromEmail: {
|
|
3652
|
-
type: "string";
|
|
3653
|
-
optional: false;
|
|
3654
|
-
customType: string;
|
|
3655
|
-
} & {
|
|
3656
|
-
serverName: string;
|
|
3657
|
-
};
|
|
3658
|
-
readonly fromName: Omit<{
|
|
3659
|
-
type: "string";
|
|
3660
|
-
optional: false;
|
|
3661
|
-
customType: string;
|
|
3662
|
-
}, "optional"> & {
|
|
3663
|
-
optional: true;
|
|
3664
|
-
} & {
|
|
3665
|
-
serverName: string;
|
|
3666
|
-
};
|
|
3667
|
-
readonly id: {
|
|
3668
|
-
type: "string";
|
|
3669
|
-
optional: false;
|
|
3670
|
-
customType: string;
|
|
3671
|
-
};
|
|
3672
|
-
readonly referencedMessageId: Omit<{
|
|
3673
|
-
type: "string";
|
|
3674
|
-
optional: false;
|
|
3675
|
-
customType: string;
|
|
3676
|
-
}, "optional"> & {
|
|
3677
|
-
optional: true;
|
|
3678
|
-
} & {
|
|
3679
|
-
serverName: string;
|
|
3680
|
-
};
|
|
3681
|
-
readonly scheduledFor: Omit<{
|
|
3682
|
-
type: "number";
|
|
3683
|
-
optional: false;
|
|
3684
|
-
customType: number;
|
|
3685
|
-
}, "optional"> & {
|
|
3686
|
-
optional: true;
|
|
3687
|
-
} & {
|
|
3688
|
-
serverName: string;
|
|
3689
|
-
};
|
|
3690
|
-
readonly status: {
|
|
3691
|
-
type: "string";
|
|
3692
|
-
optional: false;
|
|
3693
|
-
customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
|
|
3694
|
-
};
|
|
3695
|
-
readonly subject: Omit<{
|
|
3696
|
-
type: "string";
|
|
3697
|
-
optional: false;
|
|
3698
|
-
customType: string;
|
|
3699
|
-
}, "optional"> & {
|
|
3700
|
-
optional: true;
|
|
3701
|
-
};
|
|
3702
|
-
readonly type: {
|
|
3703
|
-
type: "string";
|
|
3704
|
-
optional: false;
|
|
3705
|
-
customType: "NEW" | "REPLY" | "FORWARD";
|
|
3706
|
-
};
|
|
3707
|
-
readonly updatedAt: {
|
|
3708
|
-
type: "number";
|
|
3709
|
-
optional: false;
|
|
3710
|
-
customType: number;
|
|
3711
|
-
} & {
|
|
3712
|
-
serverName: string;
|
|
3713
|
-
};
|
|
3714
|
-
readonly userId: {
|
|
3715
|
-
type: "string";
|
|
3716
|
-
optional: false;
|
|
3717
|
-
customType: string;
|
|
3718
|
-
} & {
|
|
3719
|
-
serverName: string;
|
|
3720
|
-
};
|
|
3721
|
-
};
|
|
3722
|
-
primaryKey: readonly [string, ...string[]];
|
|
3723
|
-
} & {
|
|
3724
|
-
primaryKey: ["id"];
|
|
3725
|
-
};
|
|
3726
|
-
readonly draftAttachment: {
|
|
3727
|
-
name: "draftAttachment";
|
|
3728
|
-
columns: {
|
|
3729
|
-
readonly draftId: {
|
|
3730
|
-
type: "string";
|
|
3731
|
-
optional: false;
|
|
3732
|
-
customType: string;
|
|
3733
|
-
} & {
|
|
3734
|
-
serverName: string;
|
|
3735
|
-
};
|
|
3736
|
-
readonly fileName: {
|
|
3737
|
-
type: "string";
|
|
3738
|
-
optional: false;
|
|
3739
|
-
customType: string;
|
|
3740
|
-
} & {
|
|
3741
|
-
serverName: string;
|
|
3742
|
-
};
|
|
3743
|
-
readonly id: {
|
|
3744
|
-
type: "string";
|
|
3745
|
-
optional: false;
|
|
3746
|
-
customType: string;
|
|
3747
|
-
};
|
|
3748
|
-
readonly mimeType: {
|
|
3749
|
-
type: "string";
|
|
3750
|
-
optional: false;
|
|
3751
|
-
customType: string;
|
|
3752
|
-
} & {
|
|
3753
|
-
serverName: string;
|
|
3754
|
-
};
|
|
3755
|
-
readonly status: {
|
|
3756
|
-
type: "string";
|
|
3757
|
-
optional: false;
|
|
3758
|
-
customType: "PENDING" | "COMPLETE" | "FAILED";
|
|
3759
|
-
} & {
|
|
3760
|
-
serverName: string;
|
|
3761
|
-
};
|
|
3762
|
-
readonly totalSize: {
|
|
3763
|
-
type: "number";
|
|
3764
|
-
optional: false;
|
|
3765
|
-
customType: number;
|
|
3766
|
-
} & {
|
|
3767
|
-
serverName: string;
|
|
3768
|
-
};
|
|
3769
|
-
};
|
|
3770
|
-
primaryKey: readonly [string, ...string[]];
|
|
3771
|
-
} & {
|
|
3772
|
-
primaryKey: ["id"];
|
|
3773
|
-
};
|
|
3774
|
-
readonly thread: {
|
|
3775
|
-
name: "thread";
|
|
3776
|
-
columns: {
|
|
3777
|
-
readonly accountId: {
|
|
3778
|
-
type: "string";
|
|
3779
|
-
optional: false;
|
|
3780
|
-
customType: string;
|
|
3781
|
-
} & {
|
|
3782
|
-
serverName: string;
|
|
3783
|
-
};
|
|
3784
|
-
readonly flagged: {
|
|
3785
|
-
type: "boolean";
|
|
3786
|
-
optional: false;
|
|
3787
|
-
customType: boolean;
|
|
3788
|
-
};
|
|
3789
|
-
readonly id: {
|
|
3790
|
-
type: "string";
|
|
3791
|
-
optional: false;
|
|
3792
|
-
customType: string;
|
|
3793
|
-
};
|
|
3794
|
-
readonly labelIdList: {
|
|
3795
|
-
type: "string";
|
|
3796
|
-
optional: false;
|
|
3797
|
-
customType: string;
|
|
3798
|
-
} & {
|
|
3799
|
-
serverName: string;
|
|
3800
|
-
};
|
|
3801
|
-
readonly latestMessageDate: {
|
|
3802
|
-
type: "number";
|
|
3803
|
-
optional: false;
|
|
3804
|
-
customType: number;
|
|
3805
|
-
} & {
|
|
3806
|
-
serverName: string;
|
|
3807
|
-
};
|
|
3808
|
-
readonly seen: {
|
|
3809
|
-
type: "boolean";
|
|
3810
|
-
optional: false;
|
|
3811
|
-
customType: boolean;
|
|
3812
|
-
};
|
|
3813
|
-
readonly userId: {
|
|
3814
|
-
type: "string";
|
|
3815
|
-
optional: false;
|
|
3816
|
-
customType: string;
|
|
3817
|
-
} & {
|
|
3818
|
-
serverName: string;
|
|
3819
|
-
};
|
|
3820
|
-
readonly words: {
|
|
3821
|
-
type: "string";
|
|
3822
|
-
optional: false;
|
|
3823
|
-
customType: string;
|
|
3824
|
-
};
|
|
3825
|
-
};
|
|
3826
|
-
primaryKey: readonly [string, ...string[]];
|
|
3827
|
-
} & {
|
|
3828
|
-
primaryKey: ["id"];
|
|
3829
|
-
};
|
|
3830
|
-
readonly threadLabel: {
|
|
3831
|
-
name: "threadLabel";
|
|
3832
|
-
columns: {
|
|
3833
|
-
readonly accountId: {
|
|
3834
|
-
type: "string";
|
|
3835
|
-
optional: false;
|
|
3836
|
-
customType: string;
|
|
3837
|
-
} & {
|
|
3838
|
-
serverName: string;
|
|
3839
|
-
};
|
|
3840
|
-
readonly labelId: {
|
|
3841
|
-
type: "string";
|
|
3842
|
-
optional: false;
|
|
3843
|
-
customType: string;
|
|
3844
|
-
} & {
|
|
3845
|
-
serverName: string;
|
|
3846
|
-
};
|
|
3847
|
-
readonly lastSyncedAt: {
|
|
3848
|
-
type: "number";
|
|
3849
|
-
optional: false;
|
|
3850
|
-
customType: number;
|
|
3851
|
-
} & {
|
|
3852
|
-
serverName: string;
|
|
3853
|
-
};
|
|
3854
|
-
readonly threadId: {
|
|
3855
|
-
type: "string";
|
|
3856
|
-
optional: false;
|
|
3857
|
-
customType: string;
|
|
3858
|
-
} & {
|
|
3859
|
-
serverName: string;
|
|
3860
|
-
};
|
|
3861
|
-
readonly threadMessageId: {
|
|
3862
|
-
type: "string";
|
|
3863
|
-
optional: false;
|
|
3864
|
-
customType: string;
|
|
3865
|
-
} & {
|
|
3866
|
-
serverName: string;
|
|
3867
|
-
};
|
|
3868
|
-
readonly uid: {
|
|
3869
|
-
type: "number";
|
|
3870
|
-
optional: false;
|
|
3871
|
-
customType: number;
|
|
3872
|
-
};
|
|
3873
|
-
readonly uidValidity: {
|
|
3874
|
-
type: "number";
|
|
3875
|
-
optional: false;
|
|
3876
|
-
customType: number;
|
|
3877
|
-
} & {
|
|
3878
|
-
serverName: string;
|
|
3879
|
-
};
|
|
3880
|
-
};
|
|
3881
|
-
primaryKey: readonly [string, ...string[]];
|
|
3882
|
-
} & {
|
|
3883
|
-
primaryKey: ["accountId", "labelId", "threadMessageId"];
|
|
3884
|
-
};
|
|
3885
|
-
readonly threadByLabel: {
|
|
3886
|
-
name: "threadByLabel";
|
|
3887
|
-
columns: {
|
|
3888
|
-
readonly labelId: {
|
|
3889
|
-
type: "string";
|
|
3890
|
-
optional: false;
|
|
3891
|
-
customType: string;
|
|
3892
|
-
} & {
|
|
3893
|
-
serverName: string;
|
|
3894
|
-
};
|
|
3895
|
-
readonly latestMessageDate: {
|
|
3896
|
-
type: "number";
|
|
3897
|
-
optional: false;
|
|
3898
|
-
customType: number;
|
|
3899
|
-
} & {
|
|
3900
|
-
serverName: string;
|
|
3901
|
-
};
|
|
3902
|
-
readonly threadId: {
|
|
3903
|
-
type: "string";
|
|
3904
|
-
optional: false;
|
|
3905
|
-
customType: string;
|
|
3906
|
-
} & {
|
|
3907
|
-
serverName: string;
|
|
3908
|
-
};
|
|
3909
|
-
};
|
|
3910
|
-
primaryKey: readonly [string, ...string[]];
|
|
3911
|
-
} & {
|
|
3912
|
-
primaryKey: ["labelId", "threadId"];
|
|
3913
|
-
};
|
|
3914
|
-
readonly threadMessage: {
|
|
3915
|
-
name: "threadMessage";
|
|
3916
|
-
columns: {
|
|
3917
|
-
readonly accountId: {
|
|
3918
|
-
type: "string";
|
|
3919
|
-
optional: false;
|
|
3920
|
-
customType: string;
|
|
3921
|
-
} & {
|
|
3922
|
-
serverName: string;
|
|
3923
|
-
};
|
|
3924
|
-
readonly envelopeDate: {
|
|
3925
|
-
type: "number";
|
|
3926
|
-
optional: false;
|
|
3927
|
-
customType: number;
|
|
3928
|
-
} & {
|
|
3929
|
-
serverName: string;
|
|
3930
|
-
};
|
|
3931
|
-
readonly envelopeSubject: Omit<{
|
|
3932
|
-
type: "string";
|
|
3933
|
-
optional: false;
|
|
3934
|
-
customType: string;
|
|
3935
|
-
}, "optional"> & {
|
|
3936
|
-
optional: true;
|
|
3937
|
-
} & {
|
|
3938
|
-
serverName: string;
|
|
3939
|
-
};
|
|
3940
|
-
readonly id: {
|
|
3941
|
-
type: "string";
|
|
3942
|
-
optional: false;
|
|
3943
|
-
customType: string;
|
|
3944
|
-
};
|
|
3945
|
-
readonly previewText: {
|
|
3946
|
-
type: "string";
|
|
3947
|
-
optional: false;
|
|
3948
|
-
customType: string;
|
|
3949
|
-
} & {
|
|
3950
|
-
serverName: string;
|
|
3951
|
-
};
|
|
3952
|
-
readonly senderEmail: {
|
|
3953
|
-
type: "string";
|
|
3954
|
-
optional: false;
|
|
3955
|
-
customType: string;
|
|
3956
|
-
} & {
|
|
3957
|
-
serverName: string;
|
|
3958
|
-
};
|
|
3959
|
-
readonly senderName: Omit<{
|
|
3960
|
-
type: "string";
|
|
3961
|
-
optional: false;
|
|
3962
|
-
customType: string;
|
|
3963
|
-
}, "optional"> & {
|
|
3964
|
-
optional: true;
|
|
3965
|
-
} & {
|
|
3966
|
-
serverName: string;
|
|
3967
|
-
};
|
|
3968
|
-
readonly threadId: {
|
|
3969
|
-
type: "string";
|
|
3970
|
-
optional: false;
|
|
3971
|
-
customType: string;
|
|
3972
|
-
} & {
|
|
3973
|
-
serverName: string;
|
|
3974
|
-
};
|
|
3975
|
-
};
|
|
3976
|
-
primaryKey: readonly [string, ...string[]];
|
|
3977
|
-
} & {
|
|
3978
|
-
primaryKey: ["id"];
|
|
3979
|
-
};
|
|
3980
|
-
readonly threadMessageRecipient: {
|
|
3981
|
-
name: "threadMessageRecipient";
|
|
3982
|
-
columns: {
|
|
3983
|
-
readonly emailAddress: {
|
|
3984
|
-
type: "string";
|
|
3985
|
-
optional: false;
|
|
3986
|
-
customType: string;
|
|
3987
|
-
} & {
|
|
3988
|
-
serverName: string;
|
|
3989
|
-
};
|
|
3990
|
-
readonly id: {
|
|
3991
|
-
type: "string";
|
|
3992
|
-
optional: false;
|
|
3993
|
-
customType: string;
|
|
3994
|
-
};
|
|
3995
|
-
readonly name: Omit<{
|
|
3996
|
-
type: "string";
|
|
3997
|
-
optional: false;
|
|
3998
|
-
customType: string;
|
|
3999
|
-
}, "optional"> & {
|
|
4000
|
-
optional: true;
|
|
4001
|
-
};
|
|
4002
|
-
readonly threadMessageId: {
|
|
4003
|
-
type: "string";
|
|
4004
|
-
optional: false;
|
|
4005
|
-
customType: string;
|
|
4006
|
-
} & {
|
|
4007
|
-
serverName: string;
|
|
4008
|
-
};
|
|
4009
|
-
readonly type: {
|
|
4010
|
-
type: "string";
|
|
4011
|
-
optional: false;
|
|
4012
|
-
customType: "bcc" | "cc" | "to" | "replyTo";
|
|
4013
|
-
};
|
|
4014
|
-
};
|
|
4015
|
-
primaryKey: readonly [string, ...string[]];
|
|
4016
|
-
} & {
|
|
4017
|
-
primaryKey: ["id"];
|
|
4018
|
-
};
|
|
4019
|
-
readonly threadMessageAttachment: {
|
|
4020
|
-
name: "threadMessageAttachment";
|
|
4021
|
-
columns: {
|
|
4022
|
-
readonly fileName: {
|
|
4023
|
-
type: "string";
|
|
4024
|
-
optional: false;
|
|
4025
|
-
customType: string;
|
|
4026
|
-
} & {
|
|
4027
|
-
serverName: string;
|
|
4028
|
-
};
|
|
4029
|
-
readonly id: {
|
|
4030
|
-
type: "string";
|
|
4031
|
-
optional: false;
|
|
4032
|
-
customType: string;
|
|
4033
|
-
};
|
|
4034
|
-
readonly mimeType: {
|
|
4035
|
-
type: "string";
|
|
4036
|
-
optional: false;
|
|
4037
|
-
customType: string;
|
|
4038
|
-
} & {
|
|
4039
|
-
serverName: string;
|
|
4040
|
-
};
|
|
4041
|
-
readonly size: {
|
|
4042
|
-
type: "number";
|
|
4043
|
-
optional: false;
|
|
4044
|
-
customType: number;
|
|
4045
|
-
};
|
|
4046
|
-
readonly threadMessageId: {
|
|
4047
|
-
type: "string";
|
|
4048
|
-
optional: false;
|
|
4049
|
-
customType: string;
|
|
4050
|
-
} & {
|
|
4051
|
-
serverName: string;
|
|
4052
|
-
};
|
|
4053
|
-
};
|
|
4054
|
-
primaryKey: readonly [string, ...string[]];
|
|
4055
|
-
} & {
|
|
4056
|
-
primaryKey: ["id"];
|
|
4057
|
-
};
|
|
4058
|
-
};
|
|
4059
|
-
relationships: {
|
|
4060
|
-
readonly user: {
|
|
4061
|
-
accounts: [{
|
|
4062
|
-
readonly sourceField: string[];
|
|
4063
|
-
readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
4064
|
-
readonly destSchema: "account";
|
|
4065
|
-
readonly cardinality: "many";
|
|
4066
|
-
}];
|
|
4067
|
-
contacts: [{
|
|
4068
|
-
readonly sourceField: string[];
|
|
4069
|
-
readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
|
|
4070
|
-
readonly destSchema: "contact";
|
|
4071
|
-
readonly cardinality: "many";
|
|
4072
|
-
}];
|
|
4073
|
-
drafts: [{
|
|
4074
|
-
readonly sourceField: string[];
|
|
4075
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
4076
|
-
readonly destSchema: "draft";
|
|
4077
|
-
readonly cardinality: "many";
|
|
4078
|
-
}];
|
|
4079
|
-
pushNotificationTokens: [{
|
|
4080
|
-
readonly sourceField: string[];
|
|
4081
|
-
readonly destField: ("id" | "createdAt" | "token" | "userId")[];
|
|
4082
|
-
readonly destSchema: "userPushNotificationToken";
|
|
4083
|
-
readonly cardinality: "many";
|
|
4084
|
-
}];
|
|
4085
|
-
threads: [{
|
|
4086
|
-
readonly sourceField: string[];
|
|
4087
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
4088
|
-
readonly destSchema: "thread";
|
|
4089
|
-
readonly cardinality: "many";
|
|
4090
|
-
}];
|
|
4091
|
-
};
|
|
4092
|
-
readonly userPushNotificationToken: {
|
|
4093
|
-
user: [{
|
|
4094
|
-
readonly sourceField: string[];
|
|
4095
|
-
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
4096
|
-
readonly destSchema: "user";
|
|
4097
|
-
readonly cardinality: "one";
|
|
4098
|
-
}];
|
|
4099
|
-
};
|
|
4100
|
-
readonly contact: {
|
|
4101
|
-
user: [{
|
|
4102
|
-
readonly sourceField: string[];
|
|
4103
|
-
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
4104
|
-
readonly destSchema: "user";
|
|
4105
|
-
readonly cardinality: "one";
|
|
4106
|
-
}];
|
|
4107
|
-
};
|
|
4108
|
-
readonly account: {
|
|
4109
|
-
aliases: [{
|
|
4110
|
-
readonly sourceField: string[];
|
|
4111
|
-
readonly destField: ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
|
|
4112
|
-
readonly destSchema: "accountAlias";
|
|
4113
|
-
readonly cardinality: "many";
|
|
4114
|
-
}];
|
|
4115
|
-
drafts: [{
|
|
4116
|
-
readonly sourceField: string[];
|
|
4117
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
4118
|
-
readonly destSchema: "draft";
|
|
4119
|
-
readonly cardinality: "many";
|
|
4120
|
-
}];
|
|
4121
|
-
labels: [{
|
|
4122
|
-
readonly sourceField: string[];
|
|
4123
|
-
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4124
|
-
readonly destSchema: "accountLabel";
|
|
4125
|
-
readonly cardinality: "many";
|
|
4126
|
-
}];
|
|
4127
|
-
primaryAlias: [{
|
|
4128
|
-
readonly sourceField: string[];
|
|
4129
|
-
readonly destField: ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
|
|
4130
|
-
readonly destSchema: "accountAlias";
|
|
4131
|
-
readonly cardinality: "one";
|
|
4132
|
-
}];
|
|
4133
|
-
threads: [{
|
|
4134
|
-
readonly sourceField: string[];
|
|
4135
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
4136
|
-
readonly destSchema: "thread";
|
|
4137
|
-
readonly cardinality: "many";
|
|
4138
|
-
}];
|
|
4139
|
-
user: [{
|
|
4140
|
-
readonly sourceField: string[];
|
|
4141
|
-
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
4142
|
-
readonly destSchema: "user";
|
|
4143
|
-
readonly cardinality: "one";
|
|
4144
|
-
}];
|
|
4145
|
-
};
|
|
4146
|
-
readonly accountAlias: {
|
|
4147
|
-
account: [{
|
|
4148
|
-
readonly sourceField: string[];
|
|
4149
|
-
readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
4150
|
-
readonly destSchema: "account";
|
|
4151
|
-
readonly cardinality: "one";
|
|
4152
|
-
}];
|
|
4153
|
-
};
|
|
4154
|
-
readonly accountLabel: {
|
|
4155
|
-
account: [{
|
|
4156
|
-
readonly sourceField: string[];
|
|
4157
|
-
readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
4158
|
-
readonly destSchema: "account";
|
|
4159
|
-
readonly cardinality: "one";
|
|
4160
|
-
}];
|
|
4161
|
-
threads: [{
|
|
4162
|
-
readonly sourceField: string[];
|
|
4163
|
-
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
4164
|
-
readonly destSchema: "threadLabel";
|
|
4165
|
-
readonly cardinality: "many";
|
|
4166
|
-
}, {
|
|
4167
|
-
readonly sourceField: string[];
|
|
4168
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
4169
|
-
readonly destSchema: "thread";
|
|
4170
|
-
readonly cardinality: "many";
|
|
4171
|
-
}];
|
|
4172
|
-
};
|
|
4173
|
-
readonly draft: {
|
|
4174
|
-
account: [{
|
|
4175
|
-
readonly sourceField: string[];
|
|
4176
|
-
readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
4177
|
-
readonly destSchema: "account";
|
|
4178
|
-
readonly cardinality: "one";
|
|
4179
|
-
}];
|
|
4180
|
-
attachments: [{
|
|
4181
|
-
readonly sourceField: string[];
|
|
4182
|
-
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
4183
|
-
readonly destSchema: "draftAttachment";
|
|
4184
|
-
readonly cardinality: "many";
|
|
4185
|
-
}];
|
|
4186
|
-
user: [{
|
|
4187
|
-
readonly sourceField: string[];
|
|
4188
|
-
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
4189
|
-
readonly destSchema: "user";
|
|
4190
|
-
readonly cardinality: "one";
|
|
4191
|
-
}];
|
|
4192
|
-
};
|
|
4193
|
-
readonly draftAttachment: {
|
|
4194
|
-
draft: [{
|
|
4195
|
-
readonly sourceField: string[];
|
|
4196
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
4197
|
-
readonly destSchema: "draft";
|
|
4198
|
-
readonly cardinality: "one";
|
|
4199
|
-
}];
|
|
4200
|
-
};
|
|
4201
|
-
readonly thread: {
|
|
4202
|
-
account: [{
|
|
4203
|
-
readonly sourceField: string[];
|
|
4204
|
-
readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
4205
|
-
readonly destSchema: "account";
|
|
4206
|
-
readonly cardinality: "one";
|
|
4207
|
-
}];
|
|
4208
|
-
labels: [{
|
|
4209
|
-
readonly sourceField: string[];
|
|
4210
|
-
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
4211
|
-
readonly destSchema: "threadLabel";
|
|
4212
|
-
readonly cardinality: "many";
|
|
4213
|
-
}, {
|
|
4214
|
-
readonly sourceField: string[];
|
|
4215
|
-
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4216
|
-
readonly destSchema: "accountLabel";
|
|
4217
|
-
readonly cardinality: "many";
|
|
4218
|
-
}];
|
|
4219
|
-
messages: [{
|
|
4220
|
-
readonly sourceField: string[];
|
|
4221
|
-
readonly destField: ("id" | "accountId" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
4222
|
-
readonly destSchema: "threadMessage";
|
|
4223
|
-
readonly cardinality: "many";
|
|
4224
|
-
}];
|
|
4225
|
-
threadByLabel: [{
|
|
4226
|
-
readonly sourceField: string[];
|
|
4227
|
-
readonly destField: ("latestMessageDate" | "labelId" | "threadId")[];
|
|
4228
|
-
readonly destSchema: "threadByLabel";
|
|
4229
|
-
readonly cardinality: "many";
|
|
4230
|
-
}];
|
|
4231
|
-
user: [{
|
|
4232
|
-
readonly sourceField: string[];
|
|
4233
|
-
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
4234
|
-
readonly destSchema: "user";
|
|
4235
|
-
readonly cardinality: "one";
|
|
4236
|
-
}];
|
|
4237
|
-
};
|
|
4238
|
-
readonly threadLabel: {
|
|
4239
|
-
label: [{
|
|
4240
|
-
readonly sourceField: string[];
|
|
4241
|
-
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4242
|
-
readonly destSchema: "accountLabel";
|
|
4243
|
-
readonly cardinality: "one";
|
|
4244
|
-
}];
|
|
4245
|
-
message: [{
|
|
4246
|
-
readonly sourceField: string[];
|
|
4247
|
-
readonly destField: ("id" | "accountId" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
4248
|
-
readonly destSchema: "threadMessage";
|
|
4249
|
-
readonly cardinality: "one";
|
|
4250
|
-
}];
|
|
4251
|
-
thread: [{
|
|
4252
|
-
readonly sourceField: string[];
|
|
4253
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
4254
|
-
readonly destSchema: "thread";
|
|
4255
|
-
readonly cardinality: "one";
|
|
4256
|
-
}];
|
|
4257
|
-
};
|
|
4258
|
-
readonly threadByLabel: {
|
|
4259
|
-
label: [{
|
|
4260
|
-
readonly sourceField: string[];
|
|
4261
|
-
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4262
|
-
readonly destSchema: "accountLabel";
|
|
4263
|
-
readonly cardinality: "one";
|
|
4264
|
-
}];
|
|
4265
|
-
thread: [{
|
|
4266
|
-
readonly sourceField: string[];
|
|
4267
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
4268
|
-
readonly destSchema: "thread";
|
|
4269
|
-
readonly cardinality: "one";
|
|
4270
|
-
}];
|
|
4271
|
-
};
|
|
4272
|
-
readonly threadMessage: {
|
|
4273
|
-
attachments: [{
|
|
4274
|
-
readonly sourceField: string[];
|
|
4275
|
-
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
4276
|
-
readonly destSchema: "threadMessageAttachment";
|
|
4277
|
-
readonly cardinality: "many";
|
|
4278
|
-
}];
|
|
4279
|
-
labels: [{
|
|
4280
|
-
readonly sourceField: string[];
|
|
4281
|
-
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
4282
|
-
readonly destSchema: "threadLabel";
|
|
4283
|
-
readonly cardinality: "many";
|
|
4284
|
-
}, {
|
|
4285
|
-
readonly sourceField: string[];
|
|
4286
|
-
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4287
|
-
readonly destSchema: "accountLabel";
|
|
4288
|
-
readonly cardinality: "many";
|
|
4289
|
-
}];
|
|
4290
|
-
recipients: [{
|
|
4291
|
-
readonly sourceField: string[];
|
|
4292
|
-
readonly destField: ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
|
|
4293
|
-
readonly destSchema: "threadMessageRecipient";
|
|
4294
|
-
readonly cardinality: "many";
|
|
4295
|
-
}];
|
|
4296
|
-
thread: [{
|
|
4297
|
-
readonly sourceField: string[];
|
|
4298
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
4299
|
-
readonly destSchema: "thread";
|
|
4300
|
-
readonly cardinality: "one";
|
|
4301
|
-
}];
|
|
4302
|
-
};
|
|
4303
|
-
readonly threadMessageRecipient: {
|
|
4304
|
-
message: [{
|
|
4305
|
-
readonly sourceField: string[];
|
|
4306
|
-
readonly destField: ("id" | "accountId" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
4307
|
-
readonly destSchema: "threadMessage";
|
|
4308
|
-
readonly cardinality: "one";
|
|
4309
|
-
}];
|
|
4310
|
-
};
|
|
4311
|
-
readonly threadMessageAttachment: {
|
|
4312
|
-
message: [{
|
|
4313
|
-
readonly sourceField: string[];
|
|
4314
|
-
readonly destField: ("id" | "accountId" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
4315
|
-
readonly destSchema: "threadMessage";
|
|
4316
|
-
readonly cardinality: "one";
|
|
4317
|
-
}];
|
|
4318
|
-
};
|
|
4319
|
-
};
|
|
4320
|
-
enableLegacyQueries: boolean | undefined;
|
|
4321
|
-
enableLegacyMutators: false;
|
|
4322
|
-
}, "threadByLabel", {
|
|
4323
|
-
readonly labelId: string;
|
|
4324
|
-
readonly latestMessageDate: number;
|
|
4325
|
-
readonly threadId: string;
|
|
4326
|
-
} & {
|
|
4327
|
-
readonly thread: ({
|
|
4328
|
-
readonly accountId: string;
|
|
4329
|
-
readonly flagged: boolean;
|
|
4330
|
-
readonly id: string;
|
|
4331
|
-
readonly labelIdList: string;
|
|
4332
|
-
readonly latestMessageDate: number;
|
|
4333
|
-
readonly seen: boolean;
|
|
4334
|
-
readonly userId: string;
|
|
4335
|
-
readonly words: string;
|
|
4336
|
-
} & {
|
|
4337
|
-
readonly messages: readonly ({
|
|
4338
|
-
readonly accountId: string;
|
|
4339
|
-
readonly envelopeDate: number;
|
|
4340
|
-
readonly envelopeSubject: string | null;
|
|
4341
|
-
readonly id: string;
|
|
4342
|
-
readonly previewText: string;
|
|
4343
|
-
readonly senderEmail: string;
|
|
4344
|
-
readonly senderName: string | null;
|
|
4345
|
-
readonly threadId: string;
|
|
4346
|
-
} & {
|
|
4347
|
-
readonly attachments: readonly {
|
|
4348
|
-
readonly fileName: string;
|
|
4349
|
-
readonly id: string;
|
|
4350
|
-
readonly mimeType: string;
|
|
4351
|
-
readonly size: number;
|
|
4352
|
-
readonly threadMessageId: string;
|
|
4353
|
-
}[];
|
|
4354
|
-
})[];
|
|
4355
|
-
}) | undefined;
|
|
4356
|
-
}> | import("@rocicorp/zero").Query<{
|
|
3340
|
+
readonly getThread: import("@rocicorp/zero").SyncedQuery<"getThread", import("..").MarcoSyncedQueryContext, true, [{
|
|
3341
|
+
id: string;
|
|
3342
|
+
}], import("@rocicorp/zero").Query<{
|
|
4357
3343
|
tables: {
|
|
4358
3344
|
readonly user: {
|
|
4359
3345
|
name: "user";
|
|
@@ -5324,7 +4310,7 @@ export declare const marcoZero: {
|
|
|
5324
4310
|
};
|
|
5325
4311
|
enableLegacyQueries: boolean | undefined;
|
|
5326
4312
|
enableLegacyMutators: false;
|
|
5327
|
-
}, "thread", {
|
|
4313
|
+
}, "thread", ({
|
|
5328
4314
|
readonly accountId: string;
|
|
5329
4315
|
readonly flagged: boolean;
|
|
5330
4316
|
readonly id: string;
|
|
@@ -5343,6 +4329,14 @@ export declare const marcoZero: {
|
|
|
5343
4329
|
readonly senderEmail: string;
|
|
5344
4330
|
readonly senderName: string | null;
|
|
5345
4331
|
readonly threadId: string;
|
|
4332
|
+
} & {
|
|
4333
|
+
readonly recipients: readonly {
|
|
4334
|
+
readonly emailAddress: string;
|
|
4335
|
+
readonly id: string;
|
|
4336
|
+
readonly name: string | null;
|
|
4337
|
+
readonly threadMessageId: string;
|
|
4338
|
+
readonly type: "bcc" | "cc" | "to" | "replyTo";
|
|
4339
|
+
}[];
|
|
5346
4340
|
} & {
|
|
5347
4341
|
readonly attachments: readonly {
|
|
5348
4342
|
readonly fileName: string;
|
|
@@ -5352,14 +4346,14 @@ export declare const marcoZero: {
|
|
|
5352
4346
|
readonly threadMessageId: string;
|
|
5353
4347
|
}[];
|
|
5354
4348
|
})[];
|
|
5355
|
-
}>>;
|
|
5356
|
-
readonly
|
|
4349
|
+
}) | undefined>>;
|
|
4350
|
+
readonly getThreadList: import("@rocicorp/zero").SyncedQuery<"getThreadList", import("..").MarcoSyncedQueryContext, true, [{
|
|
4351
|
+
labelIds: [string, ...string[]];
|
|
5357
4352
|
limit: number;
|
|
5358
4353
|
search?: string;
|
|
5359
4354
|
where?: {
|
|
5360
4355
|
flagged?: boolean;
|
|
5361
4356
|
id?: string;
|
|
5362
|
-
labelIds?: string[];
|
|
5363
4357
|
messageIds?: string[];
|
|
5364
4358
|
participants?: string[];
|
|
5365
4359
|
seen?: boolean;
|
|
@@ -6359,14 +5353,6 @@ export declare const marcoZero: {
|
|
|
6359
5353
|
readonly senderEmail: string;
|
|
6360
5354
|
readonly senderName: string | null;
|
|
6361
5355
|
readonly threadId: string;
|
|
6362
|
-
} & {
|
|
6363
|
-
readonly recipients: readonly {
|
|
6364
|
-
readonly emailAddress: string;
|
|
6365
|
-
readonly id: string;
|
|
6366
|
-
readonly name: string | null;
|
|
6367
|
-
readonly threadMessageId: string;
|
|
6368
|
-
readonly type: "bcc" | "cc" | "to" | "replyTo";
|
|
6369
|
-
}[];
|
|
6370
5356
|
} & {
|
|
6371
5357
|
readonly attachments: readonly {
|
|
6372
5358
|
readonly fileName: string;
|
|
@@ -6377,7 +5363,19 @@ export declare const marcoZero: {
|
|
|
6377
5363
|
}[];
|
|
6378
5364
|
})[];
|
|
6379
5365
|
}) | undefined;
|
|
6380
|
-
}
|
|
5366
|
+
}>>;
|
|
5367
|
+
readonly getThreads: import("@rocicorp/zero").SyncedQuery<"getThreads", import("..").MarcoSyncedQueryContext, true, [{
|
|
5368
|
+
labelIds: [string, ...string[]];
|
|
5369
|
+
limit: number;
|
|
5370
|
+
search?: string;
|
|
5371
|
+
where?: {
|
|
5372
|
+
flagged?: boolean;
|
|
5373
|
+
id?: string;
|
|
5374
|
+
messageIds?: string[];
|
|
5375
|
+
participants?: string[];
|
|
5376
|
+
seen?: boolean;
|
|
5377
|
+
};
|
|
5378
|
+
}], import("@rocicorp/zero").Query<{
|
|
6381
5379
|
tables: {
|
|
6382
5380
|
readonly user: {
|
|
6383
5381
|
name: "user";
|
|
@@ -7348,42 +6346,48 @@ export declare const marcoZero: {
|
|
|
7348
6346
|
};
|
|
7349
6347
|
enableLegacyQueries: boolean | undefined;
|
|
7350
6348
|
enableLegacyMutators: false;
|
|
7351
|
-
}, "
|
|
7352
|
-
readonly
|
|
7353
|
-
readonly flagged: boolean;
|
|
7354
|
-
readonly id: string;
|
|
7355
|
-
readonly labelIdList: string;
|
|
6349
|
+
}, "threadByLabel", {
|
|
6350
|
+
readonly labelId: string;
|
|
7356
6351
|
readonly latestMessageDate: number;
|
|
7357
|
-
readonly
|
|
7358
|
-
readonly userId: string;
|
|
7359
|
-
readonly words: string;
|
|
6352
|
+
readonly threadId: string;
|
|
7360
6353
|
} & {
|
|
7361
|
-
readonly
|
|
6354
|
+
readonly thread: ({
|
|
7362
6355
|
readonly accountId: string;
|
|
7363
|
-
readonly
|
|
7364
|
-
readonly envelopeSubject: string | null;
|
|
6356
|
+
readonly flagged: boolean;
|
|
7365
6357
|
readonly id: string;
|
|
7366
|
-
readonly
|
|
7367
|
-
readonly
|
|
7368
|
-
readonly
|
|
7369
|
-
readonly
|
|
7370
|
-
|
|
7371
|
-
readonly recipients: readonly {
|
|
7372
|
-
readonly emailAddress: string;
|
|
7373
|
-
readonly id: string;
|
|
7374
|
-
readonly name: string | null;
|
|
7375
|
-
readonly threadMessageId: string;
|
|
7376
|
-
readonly type: "bcc" | "cc" | "to" | "replyTo";
|
|
7377
|
-
}[];
|
|
6358
|
+
readonly labelIdList: string;
|
|
6359
|
+
readonly latestMessageDate: number;
|
|
6360
|
+
readonly seen: boolean;
|
|
6361
|
+
readonly userId: string;
|
|
6362
|
+
readonly words: string;
|
|
7378
6363
|
} & {
|
|
7379
|
-
readonly
|
|
7380
|
-
readonly
|
|
6364
|
+
readonly messages: readonly ({
|
|
6365
|
+
readonly accountId: string;
|
|
6366
|
+
readonly envelopeDate: number;
|
|
6367
|
+
readonly envelopeSubject: string | null;
|
|
7381
6368
|
readonly id: string;
|
|
7382
|
-
readonly
|
|
7383
|
-
readonly
|
|
7384
|
-
readonly
|
|
7385
|
-
|
|
7386
|
-
|
|
6369
|
+
readonly previewText: string;
|
|
6370
|
+
readonly senderEmail: string;
|
|
6371
|
+
readonly senderName: string | null;
|
|
6372
|
+
readonly threadId: string;
|
|
6373
|
+
} & {
|
|
6374
|
+
readonly recipients: readonly {
|
|
6375
|
+
readonly emailAddress: string;
|
|
6376
|
+
readonly id: string;
|
|
6377
|
+
readonly name: string | null;
|
|
6378
|
+
readonly threadMessageId: string;
|
|
6379
|
+
readonly type: "bcc" | "cc" | "to" | "replyTo";
|
|
6380
|
+
}[];
|
|
6381
|
+
} & {
|
|
6382
|
+
readonly attachments: readonly {
|
|
6383
|
+
readonly fileName: string;
|
|
6384
|
+
readonly id: string;
|
|
6385
|
+
readonly mimeType: string;
|
|
6386
|
+
readonly size: number;
|
|
6387
|
+
readonly threadMessageId: string;
|
|
6388
|
+
}[];
|
|
6389
|
+
})[];
|
|
6390
|
+
}) | undefined;
|
|
7387
6391
|
}>>;
|
|
7388
6392
|
readonly getUser: import("@rocicorp/zero").SyncedQuery<"getUser", import("..").MarcoSyncedQueryContext, true, [], import("@rocicorp/zero").Query<{
|
|
7389
6393
|
tables: {
|