@marcoappio/marco-config 2.0.493 → 2.0.495
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 -0
- package/dist/types/Zero.d.ts.map +1 -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 +322 -38
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/index.js +2 -1
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts +88 -9
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -1
- package/dist/zero/mutators/accountMutators/accountMutators.js +100 -99
- package/dist/zero/mutators/accountMutators/index.d.ts +1 -1
- package/dist/zero/mutators/accountMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/accountMutators/index.js +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts +121 -9
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.js +97 -97
- package/dist/zero/mutators/draftMutators/index.d.ts +1 -1
- package/dist/zero/mutators/draftMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/index.js +1 -1
- package/dist/zero/mutators/index.d.ts +224 -1
- package/dist/zero/mutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/index.js +10 -1
- package/dist/zero/mutators/mutators.d.ts +90 -31
- package/dist/zero/mutators/mutators.d.ts.map +1 -1
- package/dist/zero/mutators/mutators.js +0 -1
- package/dist/zero/mutators/threadMutators/index.d.ts +1 -1
- package/dist/zero/mutators/threadMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/index.js +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts +81 -12
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +82 -70
- package/dist/zero/mutators/userMutators/index.d.ts +1 -1
- package/dist/zero/mutators/userMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/userMutators/index.js +1 -1
- package/dist/zero/mutators/userMutators/userMutators.d.ts +28 -3
- package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -1
- package/dist/zero/mutators/userMutators/userMutators.js +29 -29
- package/dist/zero/queries/getAccounts.d.ts +1 -1
- package/dist/zero/queries/getContacts.d.ts +1 -1
- package/dist/zero/queries/getDrafts.d.ts +1 -1
- package/dist/zero/queries/getThread.d.ts +1 -1
- package/dist/zero/queries/getThreadList.d.ts +1 -1
- package/dist/zero/queries/getThreads.d.ts +1 -1
- package/dist/zero/queries/getUser.d.ts +1 -1
- package/dist/zero/queries/index.d.ts +1 -1
- package/dist/zero/schema.d.ts +1 -1
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +0 -1
- package/package.json +2 -2
- package/dist/zero/mutators/defineMutator.d.ts +0 -16
- package/dist/zero/mutators/defineMutator.d.ts.map +0 -1
- package/dist/zero/mutators/defineMutator.js +0 -7
|
@@ -1,4 +1,227 @@
|
|
|
1
|
-
export { defineMutator, type MarcoZeroContext } from './defineMutator';
|
|
2
1
|
export type { MarcoZeroMutators } from './mutators';
|
|
3
2
|
export { mutators } from './mutators';
|
|
3
|
+
export declare const mutatorSchemas: {
|
|
4
|
+
account: {
|
|
5
|
+
createAccount: import("valibot").ObjectSchema<{
|
|
6
|
+
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
createAlias: import("valibot").ObjectSchema<{
|
|
12
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
13
|
+
readonly alias: import("valibot").ObjectSchema<{
|
|
14
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
15
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
16
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
deleteAccount: import("valibot").ObjectSchema<{
|
|
20
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
deleteAlias: import("valibot").ObjectSchema<{
|
|
23
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
|
+
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
25
|
+
}, undefined>;
|
|
26
|
+
setAliasName: import("valibot").ObjectSchema<{
|
|
27
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
|
+
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
|
+
readonly displayName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
setAliasPrimary: import("valibot").ObjectSchema<{
|
|
32
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
33
|
+
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
34
|
+
}, undefined>;
|
|
35
|
+
setConnectionConfigImapRaw: import("valibot").ObjectSchema<{
|
|
36
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
37
|
+
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>;
|
|
38
|
+
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>;
|
|
39
|
+
readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
40
|
+
readonly imapSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
|
|
41
|
+
readonly imapUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
|
+
readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
|
+
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
45
|
+
readonly smtpSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
|
|
46
|
+
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>;
|
|
47
|
+
}, undefined>;
|
|
48
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
49
|
+
}, undefined>;
|
|
50
|
+
setConnectionConfigOauth: import("valibot").ObjectSchema<{
|
|
51
|
+
readonly connectionConfig: import("valibot").ObjectSchema<{
|
|
52
|
+
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>;
|
|
53
|
+
readonly provider: import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
|
|
54
|
+
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>;
|
|
55
|
+
}, undefined>;
|
|
56
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
57
|
+
}, undefined>;
|
|
58
|
+
setSettings: import("valibot").ObjectSchema<{
|
|
59
|
+
readonly color: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
60
|
+
readonly displayName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
61
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
62
|
+
}, undefined>;
|
|
63
|
+
};
|
|
64
|
+
draft: {
|
|
65
|
+
cancelSend: import("valibot").ObjectSchema<{
|
|
66
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
67
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
68
|
+
}, undefined>;
|
|
69
|
+
createAttachment: import("valibot").ObjectSchema<{
|
|
70
|
+
readonly attachment: import("valibot").ObjectSchema<{
|
|
71
|
+
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>;
|
|
72
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
73
|
+
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
74
|
+
readonly status: import("valibot").PicklistSchema<readonly ["PENDING", "COMPLETE", "FAILED"], undefined>;
|
|
75
|
+
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
76
|
+
}, undefined>;
|
|
77
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
78
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
79
|
+
}, undefined>;
|
|
80
|
+
deleteAttachment: import("valibot").ObjectSchema<{
|
|
81
|
+
readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
82
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
83
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
84
|
+
}, undefined>;
|
|
85
|
+
deleteDraft: import("valibot").ObjectSchema<{
|
|
86
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
87
|
+
}, undefined>;
|
|
88
|
+
setContent: import("valibot").ObjectSchema<{
|
|
89
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
90
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
91
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
92
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
93
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
94
|
+
}, undefined>, undefined>;
|
|
95
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
96
|
+
}, undefined>;
|
|
97
|
+
setEnvelope: import("valibot").ObjectSchema<{
|
|
98
|
+
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
99
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
100
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
101
|
+
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
102
|
+
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
103
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
104
|
+
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
105
|
+
readonly entries: Omit<{
|
|
106
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
107
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
108
|
+
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
109
|
+
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
110
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
111
|
+
}, "content">;
|
|
112
|
+
readonly '~standard': import("valibot").StandardProps<{
|
|
113
|
+
bcc: string[];
|
|
114
|
+
cc: string[];
|
|
115
|
+
to: string[];
|
|
116
|
+
subject: string | null;
|
|
117
|
+
}, {
|
|
118
|
+
bcc: string[];
|
|
119
|
+
cc: string[];
|
|
120
|
+
to: string[];
|
|
121
|
+
subject: string | null;
|
|
122
|
+
}>;
|
|
123
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
124
|
+
bcc: string[];
|
|
125
|
+
cc: string[];
|
|
126
|
+
to: string[];
|
|
127
|
+
subject: string | null;
|
|
128
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue>;
|
|
129
|
+
readonly '~types'?: {
|
|
130
|
+
readonly input: {
|
|
131
|
+
bcc: string[];
|
|
132
|
+
cc: string[];
|
|
133
|
+
to: string[];
|
|
134
|
+
subject: string | null;
|
|
135
|
+
};
|
|
136
|
+
readonly output: {
|
|
137
|
+
bcc: string[];
|
|
138
|
+
cc: string[];
|
|
139
|
+
to: string[];
|
|
140
|
+
subject: string | null;
|
|
141
|
+
};
|
|
142
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue;
|
|
143
|
+
} | undefined;
|
|
144
|
+
};
|
|
145
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
146
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
147
|
+
}, undefined>;
|
|
148
|
+
setFrom: import("valibot").ObjectSchema<{
|
|
149
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
150
|
+
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
151
|
+
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
152
|
+
readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
153
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
154
|
+
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
155
|
+
}, undefined>;
|
|
156
|
+
};
|
|
157
|
+
thread: {
|
|
158
|
+
addLabel: import("valibot").ObjectSchema<{
|
|
159
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
160
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
161
|
+
}, undefined>, undefined>;
|
|
162
|
+
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
163
|
+
}, undefined>;
|
|
164
|
+
delete: import("valibot").ObjectSchema<{
|
|
165
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
166
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
167
|
+
}, undefined>, undefined>;
|
|
168
|
+
}, undefined>;
|
|
169
|
+
removeLabel: import("valibot").ObjectSchema<{
|
|
170
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
171
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
172
|
+
}, undefined>, undefined>;
|
|
173
|
+
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
174
|
+
}, undefined>;
|
|
175
|
+
setArchive: import("valibot").ObjectSchema<{
|
|
176
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
177
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
178
|
+
}, undefined>, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
setFlagged: import("valibot").ObjectSchema<{
|
|
181
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
182
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
183
|
+
}, undefined>, undefined>;
|
|
184
|
+
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
185
|
+
}, undefined>;
|
|
186
|
+
setInbox: import("valibot").ObjectSchema<{
|
|
187
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
188
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
189
|
+
}, undefined>, undefined>;
|
|
190
|
+
}, undefined>;
|
|
191
|
+
setSeen: import("valibot").ObjectSchema<{
|
|
192
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
193
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
194
|
+
}, undefined>, undefined>;
|
|
195
|
+
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
196
|
+
}, undefined>;
|
|
197
|
+
setSpam: import("valibot").ObjectSchema<{
|
|
198
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
199
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
200
|
+
}, undefined>, undefined>;
|
|
201
|
+
}, undefined>;
|
|
202
|
+
setTrash: import("valibot").ObjectSchema<{
|
|
203
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
204
|
+
readonly threadIds: 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>]>, undefined>, undefined>;
|
|
205
|
+
}, undefined>, undefined>;
|
|
206
|
+
}, undefined>;
|
|
207
|
+
};
|
|
208
|
+
user: {
|
|
209
|
+
deleteSettingsPushNotificationToken: import("valibot").ObjectSchema<{
|
|
210
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
211
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
212
|
+
}, undefined>;
|
|
213
|
+
setSettingsName: import("valibot").ObjectSchema<{
|
|
214
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
215
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
216
|
+
}, undefined>;
|
|
217
|
+
setSettingsPushNotificationToken: import("valibot").ObjectSchema<{
|
|
218
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
219
|
+
readonly pushNotificationToken: import("valibot").ObjectSchema<{
|
|
220
|
+
readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
221
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
222
|
+
readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
223
|
+
}, undefined>;
|
|
224
|
+
}, undefined>;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
4
227
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/mutators/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/mutators/index.ts"],"names":[],"mappings":"AAKA,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1B,CAAA"}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { accountMutatorSchemas } from './accountMutators';
|
|
2
|
+
import { draftMutatorSchemas } from './draftMutators';
|
|
3
|
+
import { threadMutatorSchemas } from './threadMutators';
|
|
4
|
+
import { userMutatorSchemas } from './userMutators';
|
|
2
5
|
export { mutators } from './mutators';
|
|
6
|
+
export const mutatorSchemas = {
|
|
7
|
+
account: accountMutatorSchemas,
|
|
8
|
+
draft: draftMutatorSchemas,
|
|
9
|
+
thread: threadMutatorSchemas,
|
|
10
|
+
user: userMutatorSchemas,
|
|
11
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { defineMutator, type MarcoZeroContext } from './defineMutator';
|
|
2
1
|
export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
3
2
|
readonly account: {
|
|
4
3
|
createAccount: import("@rocicorp/zero").MutatorDefinition<{
|
|
@@ -11,7 +10,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
11
10
|
color: string;
|
|
12
11
|
emailAddress: string;
|
|
13
12
|
id: string;
|
|
14
|
-
},
|
|
13
|
+
}, {
|
|
14
|
+
readonly userId: string;
|
|
15
|
+
}, unknown>;
|
|
15
16
|
createAlias: import("@rocicorp/zero").MutatorDefinition<{
|
|
16
17
|
accountId: string;
|
|
17
18
|
alias: {
|
|
@@ -26,19 +27,25 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
26
27
|
id: string;
|
|
27
28
|
name: string | null;
|
|
28
29
|
};
|
|
29
|
-
},
|
|
30
|
+
}, {
|
|
31
|
+
readonly userId: string;
|
|
32
|
+
}, unknown>;
|
|
30
33
|
deleteAccount: import("@rocicorp/zero").MutatorDefinition<{
|
|
31
34
|
id: string;
|
|
32
35
|
}, {
|
|
33
36
|
id: string;
|
|
34
|
-
},
|
|
37
|
+
}, {
|
|
38
|
+
readonly userId: string;
|
|
39
|
+
}, unknown>;
|
|
35
40
|
deleteAlias: import("@rocicorp/zero").MutatorDefinition<{
|
|
36
41
|
accountId: string;
|
|
37
42
|
aliasId: string;
|
|
38
43
|
}, {
|
|
39
44
|
accountId: string;
|
|
40
45
|
aliasId: string;
|
|
41
|
-
},
|
|
46
|
+
}, {
|
|
47
|
+
readonly userId: string;
|
|
48
|
+
}, unknown>;
|
|
42
49
|
setAliasName: import("@rocicorp/zero").MutatorDefinition<{
|
|
43
50
|
accountId: string;
|
|
44
51
|
aliasId: string;
|
|
@@ -47,14 +54,18 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
47
54
|
accountId: string;
|
|
48
55
|
aliasId: string;
|
|
49
56
|
displayName: string | null;
|
|
50
|
-
},
|
|
57
|
+
}, {
|
|
58
|
+
readonly userId: string;
|
|
59
|
+
}, unknown>;
|
|
51
60
|
setAliasPrimary: import("@rocicorp/zero").MutatorDefinition<{
|
|
52
61
|
accountId: string;
|
|
53
62
|
aliasId: string;
|
|
54
63
|
}, {
|
|
55
64
|
accountId: string;
|
|
56
65
|
aliasId: string;
|
|
57
|
-
},
|
|
66
|
+
}, {
|
|
67
|
+
readonly userId: string;
|
|
68
|
+
}, unknown>;
|
|
58
69
|
setConnectionConfigImapRaw: import("@rocicorp/zero").MutatorDefinition<{
|
|
59
70
|
connectionConfig: {
|
|
60
71
|
imapHost: string;
|
|
@@ -83,7 +94,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
83
94
|
smtpUser: string;
|
|
84
95
|
};
|
|
85
96
|
id: string;
|
|
86
|
-
},
|
|
97
|
+
}, {
|
|
98
|
+
readonly userId: string;
|
|
99
|
+
}, unknown>;
|
|
87
100
|
setConnectionConfigOauth: import("@rocicorp/zero").MutatorDefinition<{
|
|
88
101
|
connectionConfig: {
|
|
89
102
|
code: string;
|
|
@@ -98,7 +111,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
98
111
|
user: string;
|
|
99
112
|
};
|
|
100
113
|
id: string;
|
|
101
|
-
},
|
|
114
|
+
}, {
|
|
115
|
+
readonly userId: string;
|
|
116
|
+
}, unknown>;
|
|
102
117
|
setSettings: import("@rocicorp/zero").MutatorDefinition<{
|
|
103
118
|
color?: string | null | undefined;
|
|
104
119
|
displayName?: string | null | undefined;
|
|
@@ -107,7 +122,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
107
122
|
color?: string | null | undefined;
|
|
108
123
|
displayName?: string | null | undefined;
|
|
109
124
|
id: string;
|
|
110
|
-
},
|
|
125
|
+
}, {
|
|
126
|
+
readonly userId: string;
|
|
127
|
+
}, unknown>;
|
|
111
128
|
};
|
|
112
129
|
readonly draft: {
|
|
113
130
|
cancelSend: import("@rocicorp/zero").MutatorDefinition<{
|
|
@@ -116,7 +133,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
116
133
|
}, {
|
|
117
134
|
id: string;
|
|
118
135
|
updatedAt: number;
|
|
119
|
-
},
|
|
136
|
+
}, {
|
|
137
|
+
readonly userId: string;
|
|
138
|
+
}, unknown>;
|
|
120
139
|
createAttachment: import("@rocicorp/zero").MutatorDefinition<{
|
|
121
140
|
attachment: {
|
|
122
141
|
fileName: string;
|
|
@@ -137,7 +156,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
137
156
|
};
|
|
138
157
|
id: string;
|
|
139
158
|
updatedAt: number;
|
|
140
|
-
},
|
|
159
|
+
}, {
|
|
160
|
+
readonly userId: string;
|
|
161
|
+
}, unknown>;
|
|
141
162
|
createDraft: import("@rocicorp/zero").MutatorDefinition<{
|
|
142
163
|
accountId: string;
|
|
143
164
|
attachments: {
|
|
@@ -188,7 +209,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
188
209
|
status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
|
|
189
210
|
type: "NEW" | "REPLY" | "FORWARD";
|
|
190
211
|
updatedAt: number;
|
|
191
|
-
},
|
|
212
|
+
}, {
|
|
213
|
+
readonly userId: string;
|
|
214
|
+
}, unknown>;
|
|
192
215
|
deleteAttachment: import("@rocicorp/zero").MutatorDefinition<{
|
|
193
216
|
attachmentId: string;
|
|
194
217
|
id: string;
|
|
@@ -197,12 +220,16 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
197
220
|
attachmentId: string;
|
|
198
221
|
id: string;
|
|
199
222
|
updatedAt: number;
|
|
200
|
-
},
|
|
223
|
+
}, {
|
|
224
|
+
readonly userId: string;
|
|
225
|
+
}, unknown>;
|
|
201
226
|
deleteDraft: import("@rocicorp/zero").MutatorDefinition<{
|
|
202
227
|
id: string;
|
|
203
228
|
}, {
|
|
204
229
|
id: string;
|
|
205
|
-
},
|
|
230
|
+
}, {
|
|
231
|
+
readonly userId: string;
|
|
232
|
+
}, unknown>;
|
|
206
233
|
scheduleSend: import("@rocicorp/zero").MutatorDefinition<{
|
|
207
234
|
id: string;
|
|
208
235
|
kind: "IMMEDIATE";
|
|
@@ -223,7 +250,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
223
250
|
kind: "SCHEDULED";
|
|
224
251
|
scheduledFor: number;
|
|
225
252
|
updatedAt: number;
|
|
226
|
-
},
|
|
253
|
+
}, {
|
|
254
|
+
readonly userId: string;
|
|
255
|
+
}, unknown>;
|
|
227
256
|
setContent: import("@rocicorp/zero").MutatorDefinition<{
|
|
228
257
|
id: string;
|
|
229
258
|
patch: {
|
|
@@ -240,7 +269,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
240
269
|
value: string;
|
|
241
270
|
}[];
|
|
242
271
|
updatedAt: number;
|
|
243
|
-
},
|
|
272
|
+
}, {
|
|
273
|
+
readonly userId: string;
|
|
274
|
+
}, unknown>;
|
|
244
275
|
setEnvelope: import("@rocicorp/zero").MutatorDefinition<{
|
|
245
276
|
envelope: {
|
|
246
277
|
bcc: string[];
|
|
@@ -259,7 +290,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
259
290
|
};
|
|
260
291
|
id: string;
|
|
261
292
|
updatedAt: number;
|
|
262
|
-
},
|
|
293
|
+
}, {
|
|
294
|
+
readonly userId: string;
|
|
295
|
+
}, unknown>;
|
|
263
296
|
setFrom: import("@rocicorp/zero").MutatorDefinition<{
|
|
264
297
|
accountId: string;
|
|
265
298
|
aliasId: string;
|
|
@@ -274,7 +307,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
274
307
|
fromName: string | null;
|
|
275
308
|
id: string;
|
|
276
309
|
updatedAt: number;
|
|
277
|
-
},
|
|
310
|
+
}, {
|
|
311
|
+
readonly userId: string;
|
|
312
|
+
}, unknown>;
|
|
278
313
|
};
|
|
279
314
|
readonly thread: {
|
|
280
315
|
addLabel: import("@rocicorp/zero").MutatorDefinition<{
|
|
@@ -291,7 +326,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
291
326
|
};
|
|
292
327
|
};
|
|
293
328
|
labelPath: string;
|
|
294
|
-
},
|
|
329
|
+
}, {
|
|
330
|
+
readonly userId: string;
|
|
331
|
+
}, unknown>;
|
|
295
332
|
delete: import("@rocicorp/zero").MutatorDefinition<{
|
|
296
333
|
accounts: {
|
|
297
334
|
[x: string]: {
|
|
@@ -304,7 +341,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
304
341
|
threadIds: string[];
|
|
305
342
|
};
|
|
306
343
|
};
|
|
307
|
-
},
|
|
344
|
+
}, {
|
|
345
|
+
readonly userId: string;
|
|
346
|
+
}, unknown>;
|
|
308
347
|
removeLabel: import("@rocicorp/zero").MutatorDefinition<{
|
|
309
348
|
accounts: {
|
|
310
349
|
[x: string]: {
|
|
@@ -319,7 +358,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
319
358
|
};
|
|
320
359
|
};
|
|
321
360
|
labelPath: string;
|
|
322
|
-
},
|
|
361
|
+
}, {
|
|
362
|
+
readonly userId: string;
|
|
363
|
+
}, unknown>;
|
|
323
364
|
setArchive: import("@rocicorp/zero").MutatorDefinition<{
|
|
324
365
|
accounts: {
|
|
325
366
|
[x: string]: {
|
|
@@ -332,7 +373,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
332
373
|
threadIds: string[];
|
|
333
374
|
};
|
|
334
375
|
};
|
|
335
|
-
},
|
|
376
|
+
}, {
|
|
377
|
+
readonly userId: string;
|
|
378
|
+
}, unknown>;
|
|
336
379
|
setFlagged: import("@rocicorp/zero").MutatorDefinition<{
|
|
337
380
|
accounts: {
|
|
338
381
|
[x: string]: {
|
|
@@ -347,7 +390,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
347
390
|
};
|
|
348
391
|
};
|
|
349
392
|
flagged: boolean;
|
|
350
|
-
},
|
|
393
|
+
}, {
|
|
394
|
+
readonly userId: string;
|
|
395
|
+
}, unknown>;
|
|
351
396
|
setInbox: import("@rocicorp/zero").MutatorDefinition<{
|
|
352
397
|
accounts: {
|
|
353
398
|
[x: string]: {
|
|
@@ -360,7 +405,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
360
405
|
threadIds: string[];
|
|
361
406
|
};
|
|
362
407
|
};
|
|
363
|
-
},
|
|
408
|
+
}, {
|
|
409
|
+
readonly userId: string;
|
|
410
|
+
}, unknown>;
|
|
364
411
|
setSeen: import("@rocicorp/zero").MutatorDefinition<{
|
|
365
412
|
accounts: {
|
|
366
413
|
[x: string]: {
|
|
@@ -375,7 +422,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
375
422
|
};
|
|
376
423
|
};
|
|
377
424
|
seen: boolean;
|
|
378
|
-
},
|
|
425
|
+
}, {
|
|
426
|
+
readonly userId: string;
|
|
427
|
+
}, unknown>;
|
|
379
428
|
setSpam: import("@rocicorp/zero").MutatorDefinition<{
|
|
380
429
|
accounts: {
|
|
381
430
|
[x: string]: {
|
|
@@ -388,7 +437,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
388
437
|
threadIds: string[];
|
|
389
438
|
};
|
|
390
439
|
};
|
|
391
|
-
},
|
|
440
|
+
}, {
|
|
441
|
+
readonly userId: string;
|
|
442
|
+
}, unknown>;
|
|
392
443
|
setTrash: import("@rocicorp/zero").MutatorDefinition<{
|
|
393
444
|
accounts: {
|
|
394
445
|
[x: string]: {
|
|
@@ -401,7 +452,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
401
452
|
threadIds: string[];
|
|
402
453
|
};
|
|
403
454
|
};
|
|
404
|
-
},
|
|
455
|
+
}, {
|
|
456
|
+
readonly userId: string;
|
|
457
|
+
}, unknown>;
|
|
405
458
|
};
|
|
406
459
|
readonly user: {
|
|
407
460
|
deleteSettingsPushNotificationToken: import("@rocicorp/zero").MutatorDefinition<{
|
|
@@ -410,14 +463,18 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
410
463
|
}, {
|
|
411
464
|
id: string;
|
|
412
465
|
token: string;
|
|
413
|
-
},
|
|
466
|
+
}, {
|
|
467
|
+
readonly userId: string;
|
|
468
|
+
}, unknown>;
|
|
414
469
|
setSettingsName: import("@rocicorp/zero").MutatorDefinition<{
|
|
415
470
|
id: string;
|
|
416
471
|
name: string | null;
|
|
417
472
|
}, {
|
|
418
473
|
id: string;
|
|
419
474
|
name: string | null;
|
|
420
|
-
},
|
|
475
|
+
}, {
|
|
476
|
+
readonly userId: string;
|
|
477
|
+
}, unknown>;
|
|
421
478
|
setSettingsPushNotificationToken: import("@rocicorp/zero").MutatorDefinition<{
|
|
422
479
|
id: string;
|
|
423
480
|
pushNotificationToken: {
|
|
@@ -432,7 +489,9 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
|
|
|
432
489
|
id: string;
|
|
433
490
|
token: string;
|
|
434
491
|
};
|
|
435
|
-
},
|
|
492
|
+
}, {
|
|
493
|
+
readonly userId: string;
|
|
494
|
+
}, unknown>;
|
|
436
495
|
};
|
|
437
496
|
}, import("@rocicorp/zero").Schema>;
|
|
438
497
|
export type MarcoZeroMutators = typeof mutators;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutators.d.ts","sourceRoot":"","sources":["../../../src/zero/mutators/mutators.ts"],"names":[],"mappings":"AAOA,
|
|
1
|
+
{"version":3,"file":"mutators.d.ts","sourceRoot":"","sources":["../../../src/zero/mutators/mutators.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAKnB,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,QAAQ,CAAA"}
|
|
@@ -3,7 +3,6 @@ import { accountMutators } from './accountMutators';
|
|
|
3
3
|
import { draftMutators } from './draftMutators';
|
|
4
4
|
import { threadMutators } from './threadMutators';
|
|
5
5
|
import { userMutators } from './userMutators';
|
|
6
|
-
export { defineMutator } from './defineMutator';
|
|
7
6
|
export const mutators = defineMutators({
|
|
8
7
|
account: accountMutators,
|
|
9
8
|
draft: draftMutators,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { threadMutatorSchemas, threadMutators } from './threadMutators';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/threadMutators/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/threadMutators/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { threadMutatorSchemas, threadMutators } from './threadMutators';
|