@marcoappio/marco-config 2.0.492 → 2.0.494
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/types/Zero.d.ts +8 -14
- package/dist/types/Zero.d.ts.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -1
- package/dist/zero/crud.d.ts +1024 -0
- package/dist/zero/crud.d.ts.map +1 -0
- package/dist/zero/crud.js +3 -0
- package/dist/zero/index.d.ts +1621 -1447
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/index.js +2 -4
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts +127 -3
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -1
- package/dist/zero/mutators/accountMutators/accountMutators.js +88 -53
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts +185 -3
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.js +124 -51
- package/dist/zero/mutators/index.d.ts +1 -1
- package/dist/zero/mutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/index.js +1 -1
- package/dist/zero/mutators/mutators.d.ts +497 -17
- package/dist/zero/mutators/mutators.d.ts.map +1 -1
- package/dist/zero/mutators/mutators.js +10 -38
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts +147 -6
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +79 -59
- package/dist/zero/mutators/userMutators/userMutators.d.ts +37 -3
- package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -1
- package/dist/zero/mutators/userMutators/userMutators.js +32 -14
- package/dist/zero/queries/getAccounts.d.ts +135 -135
- package/dist/zero/queries/getContacts.d.ts +135 -135
- package/dist/zero/queries/getDrafts.d.ts +135 -135
- package/dist/zero/queries/getThread.d.ts +135 -135
- package/dist/zero/queries/getThreadList.d.ts +135 -135
- package/dist/zero/queries/getThreads.d.ts +135 -135
- package/dist/zero/queries/getUser.d.ts +135 -135
- package/dist/zero/queries/index.d.ts +133 -133
- package/dist/zero/schema.d.ts +133 -133
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +0 -1
- package/package.json +2 -2
- package/dist/types/AuthData.d.ts +0 -4
- package/dist/types/AuthData.d.ts.map +0 -1
- package/dist/types/AuthData.js +0 -1
- package/dist/zero/mutatorSchemas/account.d.ts +0 -80
- package/dist/zero/mutatorSchemas/account.d.ts.map +0 -1
- package/dist/zero/mutatorSchemas/account.js +0 -66
- package/dist/zero/mutatorSchemas/draft.d.ts +0 -150
- package/dist/zero/mutatorSchemas/draft.d.ts.map +0 -1
- package/dist/zero/mutatorSchemas/draft.js +0 -104
- package/dist/zero/mutatorSchemas/index.d.ts +0 -323
- package/dist/zero/mutatorSchemas/index.d.ts.map +0 -1
- package/dist/zero/mutatorSchemas/index.js +0 -10
- package/dist/zero/mutatorSchemas/thread.d.ts +0 -71
- package/dist/zero/mutatorSchemas/thread.d.ts.map +0 -1
- package/dist/zero/mutatorSchemas/thread.js +0 -47
- package/dist/zero/mutatorSchemas/user.d.ts +0 -26
- package/dist/zero/mutatorSchemas/user.d.ts.map +0 -1
- package/dist/zero/mutatorSchemas/user.js +0 -27
- package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts +0 -2
- package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts.map +0 -1
- package/dist/zero/mutators/accountMutators/accountMutators.test.js +0 -372
- package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts +0 -2
- package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts.map +0 -1
- package/dist/zero/mutators/draftMutators/draftMutators.test.js +0 -416
- package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts +0 -2
- package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts.map +0 -1
- package/dist/zero/mutators/threadMutators/threadMutators.test.js +0 -755
- package/dist/zero/mutators/userMutators/userMutators.test.d.ts +0 -2
- package/dist/zero/mutators/userMutators/userMutators.test.d.ts.map +0 -1
- package/dist/zero/mutators/userMutators/userMutators.test.js +0 -84
package/dist/zero/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAH9B,CAAA;AAEV,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA"}
|
package/dist/zero/index.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createMutators } from './mutators';
|
|
1
|
+
import { mutators } from './mutators';
|
|
3
2
|
import { getAccounts, getContacts, getDrafts, getThread, getThreadList, getThreads, getUser } from './queries';
|
|
4
3
|
import { schema, zeroTables } from './schema';
|
|
5
4
|
export const marcoZero = {
|
|
6
|
-
|
|
7
|
-
mutatorSchemas: zeroMutatorSchemas,
|
|
5
|
+
mutators,
|
|
8
6
|
queries: {
|
|
9
7
|
getAccounts,
|
|
10
8
|
getContacts,
|
|
@@ -1,4 +1,128 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
export declare const accountMutators: {
|
|
2
|
+
createAccount: import("@rocicorp/zero").MutatorDefinition<{
|
|
3
|
+
aliasId: string;
|
|
4
|
+
color: string;
|
|
5
|
+
emailAddress: string;
|
|
6
|
+
id: string;
|
|
7
|
+
}, {
|
|
8
|
+
aliasId: string;
|
|
9
|
+
color: string;
|
|
10
|
+
emailAddress: string;
|
|
11
|
+
id: string;
|
|
12
|
+
}, {
|
|
13
|
+
readonly userId: string;
|
|
14
|
+
}, unknown>;
|
|
15
|
+
createAlias: import("@rocicorp/zero").MutatorDefinition<{
|
|
16
|
+
accountId: string;
|
|
17
|
+
alias: {
|
|
18
|
+
emailAddress: string;
|
|
19
|
+
id: string;
|
|
20
|
+
name: string | null;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
accountId: string;
|
|
24
|
+
alias: {
|
|
25
|
+
emailAddress: string;
|
|
26
|
+
id: string;
|
|
27
|
+
name: string | null;
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
readonly userId: string;
|
|
31
|
+
}, unknown>;
|
|
32
|
+
deleteAccount: import("@rocicorp/zero").MutatorDefinition<{
|
|
33
|
+
id: string;
|
|
34
|
+
}, {
|
|
35
|
+
id: string;
|
|
36
|
+
}, {
|
|
37
|
+
readonly userId: string;
|
|
38
|
+
}, unknown>;
|
|
39
|
+
deleteAlias: import("@rocicorp/zero").MutatorDefinition<{
|
|
40
|
+
accountId: string;
|
|
41
|
+
aliasId: string;
|
|
42
|
+
}, {
|
|
43
|
+
accountId: string;
|
|
44
|
+
aliasId: string;
|
|
45
|
+
}, {
|
|
46
|
+
readonly userId: string;
|
|
47
|
+
}, unknown>;
|
|
48
|
+
setAliasName: import("@rocicorp/zero").MutatorDefinition<{
|
|
49
|
+
accountId: string;
|
|
50
|
+
aliasId: string;
|
|
51
|
+
displayName: string | null;
|
|
52
|
+
}, {
|
|
53
|
+
accountId: string;
|
|
54
|
+
aliasId: string;
|
|
55
|
+
displayName: string | null;
|
|
56
|
+
}, {
|
|
57
|
+
readonly userId: string;
|
|
58
|
+
}, unknown>;
|
|
59
|
+
setAliasPrimary: import("@rocicorp/zero").MutatorDefinition<{
|
|
60
|
+
accountId: string;
|
|
61
|
+
aliasId: string;
|
|
62
|
+
}, {
|
|
63
|
+
accountId: string;
|
|
64
|
+
aliasId: string;
|
|
65
|
+
}, {
|
|
66
|
+
readonly userId: string;
|
|
67
|
+
}, unknown>;
|
|
68
|
+
setConnectionConfigImapRaw: import("@rocicorp/zero").MutatorDefinition<{
|
|
69
|
+
connectionConfig: {
|
|
70
|
+
imapHost: string;
|
|
71
|
+
imapPassword: string;
|
|
72
|
+
imapPort: number;
|
|
73
|
+
imapSocketType: "STARTTLS" | "SSL";
|
|
74
|
+
imapUser: string;
|
|
75
|
+
smtpHost: string;
|
|
76
|
+
smtpPassword: string;
|
|
77
|
+
smtpPort: number;
|
|
78
|
+
smtpSocketType: "STARTTLS" | "SSL";
|
|
79
|
+
smtpUser: string;
|
|
80
|
+
};
|
|
81
|
+
id: string;
|
|
82
|
+
}, {
|
|
83
|
+
connectionConfig: {
|
|
84
|
+
imapHost: string;
|
|
85
|
+
imapPassword: string;
|
|
86
|
+
imapPort: number;
|
|
87
|
+
imapSocketType: "STARTTLS" | "SSL";
|
|
88
|
+
imapUser: string;
|
|
89
|
+
smtpHost: string;
|
|
90
|
+
smtpPassword: string;
|
|
91
|
+
smtpPort: number;
|
|
92
|
+
smtpSocketType: "STARTTLS" | "SSL";
|
|
93
|
+
smtpUser: string;
|
|
94
|
+
};
|
|
95
|
+
id: string;
|
|
96
|
+
}, {
|
|
97
|
+
readonly userId: string;
|
|
98
|
+
}, unknown>;
|
|
99
|
+
setConnectionConfigOauth: import("@rocicorp/zero").MutatorDefinition<{
|
|
100
|
+
connectionConfig: {
|
|
101
|
+
code: string;
|
|
102
|
+
provider: "GOOGLE" | "OUTLOOK";
|
|
103
|
+
user: string;
|
|
104
|
+
};
|
|
105
|
+
id: string;
|
|
106
|
+
}, {
|
|
107
|
+
connectionConfig: {
|
|
108
|
+
code: string;
|
|
109
|
+
provider: "GOOGLE" | "OUTLOOK";
|
|
110
|
+
user: string;
|
|
111
|
+
};
|
|
112
|
+
id: string;
|
|
113
|
+
}, {
|
|
114
|
+
readonly userId: string;
|
|
115
|
+
}, unknown>;
|
|
116
|
+
setSettings: import("@rocicorp/zero").MutatorDefinition<{
|
|
117
|
+
color?: string | null | undefined;
|
|
118
|
+
displayName?: string | null | undefined;
|
|
119
|
+
id: string;
|
|
120
|
+
}, {
|
|
121
|
+
color?: string | null | undefined;
|
|
122
|
+
displayName?: string | null | undefined;
|
|
123
|
+
id: string;
|
|
124
|
+
}, {
|
|
125
|
+
readonly userId: string;
|
|
126
|
+
}, unknown>;
|
|
127
|
+
};
|
|
4
128
|
//# sourceMappingURL=accountMutators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/accountMutators/accountMutators.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accountMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/accountMutators/accountMutators.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6L3B,CAAA"}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineMutator } from '@rocicorp/zero';
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { marcoSchemas } from '../../../schemas';
|
|
4
|
+
import { zeroCRUD } from '../../../zero/crud';
|
|
5
|
+
const accountAliasSchema = v.object({
|
|
6
|
+
emailAddress: marcoSchemas.string.email(),
|
|
7
|
+
id: marcoSchemas.string.required(),
|
|
8
|
+
name: marcoSchemas.string.nullable(),
|
|
9
|
+
});
|
|
10
|
+
export const accountMutators = {
|
|
11
|
+
createAccount: defineMutator(v.object({
|
|
12
|
+
aliasId: marcoSchemas.string.required(),
|
|
13
|
+
color: marcoSchemas.string.required(),
|
|
14
|
+
emailAddress: marcoSchemas.string.email(),
|
|
15
|
+
id: marcoSchemas.string.required(),
|
|
16
|
+
}), async ({ tx, ctx: { userId }, args }) => {
|
|
17
|
+
await tx.mutate(zeroCRUD.account.insert({
|
|
8
18
|
color: args.color,
|
|
9
19
|
displayName: null,
|
|
10
20
|
id: args.id,
|
|
@@ -12,92 +22,117 @@ export const createAccountMutators = (authData) => ({
|
|
|
12
22
|
mailProcessedCount: 0,
|
|
13
23
|
mailTotalCount: 0,
|
|
14
24
|
primaryAliasId: args.aliasId,
|
|
15
|
-
userId
|
|
16
|
-
});
|
|
17
|
-
await tx.mutate.accountAlias.insert({
|
|
25
|
+
userId,
|
|
26
|
+
}));
|
|
27
|
+
await tx.mutate(zeroCRUD.accountAlias.insert({
|
|
18
28
|
accountId: args.id,
|
|
19
29
|
emailAddress: args.emailAddress,
|
|
20
30
|
id: args.aliasId,
|
|
21
31
|
isPrimary: true,
|
|
22
32
|
name: null,
|
|
23
|
-
});
|
|
24
|
-
},
|
|
25
|
-
createAlias:
|
|
26
|
-
|
|
33
|
+
}));
|
|
34
|
+
}),
|
|
35
|
+
createAlias: defineMutator(v.object({
|
|
36
|
+
accountId: marcoSchemas.string.required(),
|
|
37
|
+
alias: accountAliasSchema,
|
|
38
|
+
}), async ({ tx, args }) => {
|
|
39
|
+
await tx.mutate(zeroCRUD.accountAlias.insert({
|
|
27
40
|
accountId: args.accountId,
|
|
28
41
|
emailAddress: args.alias.emailAddress,
|
|
29
42
|
id: args.alias.id,
|
|
30
43
|
isPrimary: false,
|
|
31
44
|
name: args.alias.name ?? null,
|
|
32
|
-
});
|
|
33
|
-
},
|
|
34
|
-
deleteAccount:
|
|
35
|
-
|
|
45
|
+
}));
|
|
46
|
+
}),
|
|
47
|
+
deleteAccount: defineMutator(v.object({
|
|
48
|
+
id: marcoSchemas.string.required(),
|
|
49
|
+
}), async ({ tx, args }) => {
|
|
50
|
+
await tx.mutate(zeroCRUD.account.delete({
|
|
36
51
|
id: args.id,
|
|
37
|
-
});
|
|
38
|
-
},
|
|
39
|
-
deleteAlias:
|
|
52
|
+
}));
|
|
53
|
+
}),
|
|
54
|
+
deleteAlias: defineMutator(v.object({
|
|
55
|
+
accountId: marcoSchemas.string.required(),
|
|
56
|
+
aliasId: marcoSchemas.string.required(),
|
|
57
|
+
}), async ({ tx, args }) => {
|
|
40
58
|
const alias = await tx.query.accountAlias.where('id', args.aliasId).one().run();
|
|
41
|
-
await tx.mutate.accountAlias.delete({
|
|
59
|
+
await tx.mutate(zeroCRUD.accountAlias.delete({
|
|
42
60
|
id: args.aliasId,
|
|
43
|
-
});
|
|
61
|
+
}));
|
|
44
62
|
if (alias?.isPrimary) {
|
|
45
63
|
const remainingAliases = await tx.query.accountAlias.where('accountId', args.accountId).run();
|
|
46
64
|
if (remainingAliases.length > 0) {
|
|
47
65
|
const newPrimaryAlias = remainingAliases[0];
|
|
48
|
-
await tx.mutate.accountAlias.update({
|
|
66
|
+
await tx.mutate(zeroCRUD.accountAlias.update({
|
|
49
67
|
id: newPrimaryAlias.id,
|
|
50
68
|
isPrimary: true,
|
|
51
|
-
});
|
|
52
|
-
await tx.mutate.account.update({
|
|
69
|
+
}));
|
|
70
|
+
await tx.mutate(zeroCRUD.account.update({
|
|
53
71
|
id: args.accountId,
|
|
54
72
|
primaryAliasId: newPrimaryAlias.id,
|
|
55
|
-
});
|
|
73
|
+
}));
|
|
56
74
|
}
|
|
57
75
|
else {
|
|
58
|
-
await tx.mutate.account.update({
|
|
76
|
+
await tx.mutate(zeroCRUD.account.update({
|
|
59
77
|
id: args.accountId,
|
|
60
78
|
primaryAliasId: null,
|
|
61
|
-
});
|
|
79
|
+
}));
|
|
62
80
|
}
|
|
63
81
|
}
|
|
64
|
-
},
|
|
65
|
-
setAliasName:
|
|
66
|
-
|
|
82
|
+
}),
|
|
83
|
+
setAliasName: defineMutator(v.object({
|
|
84
|
+
accountId: marcoSchemas.string.required(),
|
|
85
|
+
aliasId: marcoSchemas.string.required(),
|
|
86
|
+
displayName: marcoSchemas.string.nullable(),
|
|
87
|
+
}), async ({ tx, args }) => {
|
|
88
|
+
await tx.mutate(zeroCRUD.accountAlias.update({
|
|
67
89
|
id: args.aliasId,
|
|
68
90
|
name: args.displayName,
|
|
69
|
-
});
|
|
70
|
-
},
|
|
71
|
-
setAliasPrimary:
|
|
91
|
+
}));
|
|
92
|
+
}),
|
|
93
|
+
setAliasPrimary: defineMutator(v.object({
|
|
94
|
+
accountId: marcoSchemas.string.required(),
|
|
95
|
+
aliasId: marcoSchemas.string.required(),
|
|
96
|
+
}), async ({ tx, args }) => {
|
|
72
97
|
const aliases = await tx.query.accountAlias.where('accountId', args.accountId).run();
|
|
73
98
|
for (const alias of aliases) {
|
|
74
|
-
await tx.mutate.accountAlias.update({
|
|
99
|
+
await tx.mutate(zeroCRUD.accountAlias.update({
|
|
75
100
|
id: alias.id,
|
|
76
101
|
isPrimary: alias.id === args.aliasId,
|
|
77
|
-
});
|
|
102
|
+
}));
|
|
78
103
|
}
|
|
79
|
-
await tx.mutate.account.update({
|
|
104
|
+
await tx.mutate(zeroCRUD.account.update({
|
|
80
105
|
id: args.accountId,
|
|
81
106
|
primaryAliasId: args.aliasId,
|
|
82
|
-
});
|
|
83
|
-
},
|
|
84
|
-
setConnectionConfigImapRaw:
|
|
85
|
-
|
|
107
|
+
}));
|
|
108
|
+
}),
|
|
109
|
+
setConnectionConfigImapRaw: defineMutator(v.object({
|
|
110
|
+
connectionConfig: marcoSchemas.emailAccount.connectionConfigImapRaw(),
|
|
111
|
+
id: marcoSchemas.string.required(),
|
|
112
|
+
}), async ({ tx, args }) => {
|
|
113
|
+
await tx.mutate(zeroCRUD.account.update({
|
|
86
114
|
id: args.id,
|
|
87
115
|
imapConnectionStatus: 'AWAITING_CONNECTION',
|
|
88
|
-
});
|
|
89
|
-
},
|
|
90
|
-
setConnectionConfigOauth:
|
|
91
|
-
|
|
116
|
+
}));
|
|
117
|
+
}),
|
|
118
|
+
setConnectionConfigOauth: defineMutator(v.object({
|
|
119
|
+
connectionConfig: marcoSchemas.emailAccount.connectionConfigOauth(),
|
|
120
|
+
id: marcoSchemas.string.required(),
|
|
121
|
+
}), async ({ tx, args }) => {
|
|
122
|
+
await tx.mutate(zeroCRUD.account.update({
|
|
92
123
|
id: args.id,
|
|
93
124
|
imapConnectionStatus: 'AWAITING_CONNECTION',
|
|
94
|
-
});
|
|
95
|
-
},
|
|
96
|
-
setSettings:
|
|
97
|
-
|
|
125
|
+
}));
|
|
126
|
+
}),
|
|
127
|
+
setSettings: defineMutator(v.object({
|
|
128
|
+
color: v.optional(marcoSchemas.string.nullable()),
|
|
129
|
+
displayName: v.optional(marcoSchemas.string.nullable()),
|
|
130
|
+
id: marcoSchemas.string.required(),
|
|
131
|
+
}), async ({ tx, args }) => {
|
|
132
|
+
await tx.mutate(zeroCRUD.account.update({
|
|
98
133
|
color: args.color ? args.color : undefined,
|
|
99
134
|
displayName: args.displayName ? args.displayName : undefined,
|
|
100
135
|
id: args.id,
|
|
101
|
-
});
|
|
102
|
-
},
|
|
103
|
-
}
|
|
136
|
+
}));
|
|
137
|
+
}),
|
|
138
|
+
};
|
|
@@ -1,4 +1,186 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
export declare const draftMutators: {
|
|
2
|
+
cancelSend: import("@rocicorp/zero").MutatorDefinition<{
|
|
3
|
+
id: string;
|
|
4
|
+
updatedAt: number;
|
|
5
|
+
}, {
|
|
6
|
+
id: string;
|
|
7
|
+
updatedAt: number;
|
|
8
|
+
}, {
|
|
9
|
+
readonly userId: string;
|
|
10
|
+
}, unknown>;
|
|
11
|
+
createAttachment: import("@rocicorp/zero").MutatorDefinition<{
|
|
12
|
+
attachment: {
|
|
13
|
+
fileName: string;
|
|
14
|
+
id: string;
|
|
15
|
+
mimeType: string;
|
|
16
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
17
|
+
totalSize: number;
|
|
18
|
+
};
|
|
19
|
+
id: string;
|
|
20
|
+
updatedAt: number;
|
|
21
|
+
}, {
|
|
22
|
+
attachment: {
|
|
23
|
+
fileName: string;
|
|
24
|
+
id: string;
|
|
25
|
+
mimeType: string;
|
|
26
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
27
|
+
totalSize: number;
|
|
28
|
+
};
|
|
29
|
+
id: string;
|
|
30
|
+
updatedAt: number;
|
|
31
|
+
}, {
|
|
32
|
+
readonly userId: string;
|
|
33
|
+
}, unknown>;
|
|
34
|
+
createDraft: import("@rocicorp/zero").MutatorDefinition<{
|
|
35
|
+
accountId: string;
|
|
36
|
+
attachments: {
|
|
37
|
+
fileName: string;
|
|
38
|
+
id: string;
|
|
39
|
+
mimeType: string;
|
|
40
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
41
|
+
totalSize: number;
|
|
42
|
+
}[];
|
|
43
|
+
body: {
|
|
44
|
+
bcc: string[];
|
|
45
|
+
cc: string[];
|
|
46
|
+
content: string;
|
|
47
|
+
subject: string | null;
|
|
48
|
+
to: string[];
|
|
49
|
+
};
|
|
50
|
+
error: string | null;
|
|
51
|
+
from: string;
|
|
52
|
+
fromName: string | null;
|
|
53
|
+
id: string;
|
|
54
|
+
referencedMessageId: string | null;
|
|
55
|
+
scheduledFor: number | null;
|
|
56
|
+
status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
|
|
57
|
+
type: "NEW" | "REPLY" | "FORWARD";
|
|
58
|
+
updatedAt: number;
|
|
59
|
+
}, {
|
|
60
|
+
accountId: string;
|
|
61
|
+
attachments: {
|
|
62
|
+
fileName: string;
|
|
63
|
+
id: string;
|
|
64
|
+
mimeType: string;
|
|
65
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
66
|
+
totalSize: number;
|
|
67
|
+
}[];
|
|
68
|
+
body: {
|
|
69
|
+
bcc: string[];
|
|
70
|
+
cc: string[];
|
|
71
|
+
content: string;
|
|
72
|
+
subject: string | null;
|
|
73
|
+
to: string[];
|
|
74
|
+
};
|
|
75
|
+
error: string | null;
|
|
76
|
+
from: string;
|
|
77
|
+
fromName: string | null;
|
|
78
|
+
id: string;
|
|
79
|
+
referencedMessageId: string | null;
|
|
80
|
+
scheduledFor: number | null;
|
|
81
|
+
status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
|
|
82
|
+
type: "NEW" | "REPLY" | "FORWARD";
|
|
83
|
+
updatedAt: number;
|
|
84
|
+
}, {
|
|
85
|
+
readonly userId: string;
|
|
86
|
+
}, unknown>;
|
|
87
|
+
deleteAttachment: import("@rocicorp/zero").MutatorDefinition<{
|
|
88
|
+
attachmentId: string;
|
|
89
|
+
id: string;
|
|
90
|
+
updatedAt: number;
|
|
91
|
+
}, {
|
|
92
|
+
attachmentId: string;
|
|
93
|
+
id: string;
|
|
94
|
+
updatedAt: number;
|
|
95
|
+
}, {
|
|
96
|
+
readonly userId: string;
|
|
97
|
+
}, unknown>;
|
|
98
|
+
deleteDraft: import("@rocicorp/zero").MutatorDefinition<{
|
|
99
|
+
id: string;
|
|
100
|
+
}, {
|
|
101
|
+
id: string;
|
|
102
|
+
}, {
|
|
103
|
+
readonly userId: string;
|
|
104
|
+
}, unknown>;
|
|
105
|
+
scheduleSend: import("@rocicorp/zero").MutatorDefinition<{
|
|
106
|
+
id: string;
|
|
107
|
+
kind: "IMMEDIATE";
|
|
108
|
+
undoMs: number;
|
|
109
|
+
updatedAt: number;
|
|
110
|
+
} | {
|
|
111
|
+
id: string;
|
|
112
|
+
kind: "SCHEDULED";
|
|
113
|
+
scheduledFor: number;
|
|
114
|
+
updatedAt: number;
|
|
115
|
+
}, {
|
|
116
|
+
id: string;
|
|
117
|
+
kind: "IMMEDIATE";
|
|
118
|
+
undoMs: number;
|
|
119
|
+
updatedAt: number;
|
|
120
|
+
} | {
|
|
121
|
+
id: string;
|
|
122
|
+
kind: "SCHEDULED";
|
|
123
|
+
scheduledFor: number;
|
|
124
|
+
updatedAt: number;
|
|
125
|
+
}, {
|
|
126
|
+
readonly userId: string;
|
|
127
|
+
}, unknown>;
|
|
128
|
+
setContent: import("@rocicorp/zero").MutatorDefinition<{
|
|
129
|
+
id: string;
|
|
130
|
+
patch: {
|
|
131
|
+
index: number;
|
|
132
|
+
type: "INSERTION" | "DELETION";
|
|
133
|
+
value: string;
|
|
134
|
+
}[];
|
|
135
|
+
updatedAt: number;
|
|
136
|
+
}, {
|
|
137
|
+
id: string;
|
|
138
|
+
patch: {
|
|
139
|
+
index: number;
|
|
140
|
+
type: "INSERTION" | "DELETION";
|
|
141
|
+
value: string;
|
|
142
|
+
}[];
|
|
143
|
+
updatedAt: number;
|
|
144
|
+
}, {
|
|
145
|
+
readonly userId: string;
|
|
146
|
+
}, unknown>;
|
|
147
|
+
setEnvelope: import("@rocicorp/zero").MutatorDefinition<{
|
|
148
|
+
envelope: {
|
|
149
|
+
bcc: string[];
|
|
150
|
+
cc: string[];
|
|
151
|
+
to: string[];
|
|
152
|
+
subject: string | null;
|
|
153
|
+
};
|
|
154
|
+
id: string;
|
|
155
|
+
updatedAt: number;
|
|
156
|
+
}, {
|
|
157
|
+
envelope: {
|
|
158
|
+
bcc: string[];
|
|
159
|
+
cc: string[];
|
|
160
|
+
to: string[];
|
|
161
|
+
subject: string | null;
|
|
162
|
+
};
|
|
163
|
+
id: string;
|
|
164
|
+
updatedAt: number;
|
|
165
|
+
}, {
|
|
166
|
+
readonly userId: string;
|
|
167
|
+
}, unknown>;
|
|
168
|
+
setFrom: import("@rocicorp/zero").MutatorDefinition<{
|
|
169
|
+
accountId: string;
|
|
170
|
+
aliasId: string;
|
|
171
|
+
from: string;
|
|
172
|
+
fromName: string | null;
|
|
173
|
+
id: string;
|
|
174
|
+
updatedAt: number;
|
|
175
|
+
}, {
|
|
176
|
+
accountId: string;
|
|
177
|
+
aliasId: string;
|
|
178
|
+
from: string;
|
|
179
|
+
fromName: string | null;
|
|
180
|
+
id: string;
|
|
181
|
+
updatedAt: number;
|
|
182
|
+
}, {
|
|
183
|
+
readonly userId: string;
|
|
184
|
+
}, unknown>;
|
|
185
|
+
};
|
|
4
186
|
//# sourceMappingURL=draftMutators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draftMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/draftMutators/draftMutators.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"draftMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/draftMutators/draftMutators.ts"],"names":[],"mappings":"AAyDA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgOzB,CAAA"}
|