@marcoappio/marco-config 2.0.520 → 2.0.521
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 +0 -38
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/queries.d.ts +0 -36
- package/dist/zero/queries.d.ts.map +1 -1
- package/dist/zero/queries.js +0 -1
- package/package.json +1 -1
package/dist/zero/index.d.ts
CHANGED
|
@@ -1779,44 +1779,6 @@ export declare const marcoZero: {
|
|
|
1779
1779
|
enableLegacyMutators: false;
|
|
1780
1780
|
}>;
|
|
1781
1781
|
readonly queries: import("@rocicorp/zero").QueryRegistry<{
|
|
1782
|
-
readonly getAccounts: import("@rocicorp/zero").QueryDefinition<"account", import("@rocicorp/zero").ReadonlyJSONValue | undefined, import("@rocicorp/zero").ReadonlyJSONValue | undefined, {
|
|
1783
|
-
readonly color: string;
|
|
1784
|
-
readonly displayName: string | null;
|
|
1785
|
-
readonly id: string;
|
|
1786
|
-
readonly imapConnectionStatus: "AWAITING_CONNECTION" | "CONNECTED" | "CONNECTION_FAILED_AUTHENTICATION_ERROR" | "CONNECTION_FAILED_CONNECTION_ERROR" | "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR" | "CONNECTION_FAILED_QUOTA_ERROR" | "CONNECTION_FAILED_UNKNOWN_ERROR";
|
|
1787
|
-
readonly mailProcessedCount: number;
|
|
1788
|
-
readonly mailTotalCount: number;
|
|
1789
|
-
readonly primaryAliasId: string | null;
|
|
1790
|
-
readonly userId: string;
|
|
1791
|
-
} & {
|
|
1792
|
-
readonly aliases: readonly {
|
|
1793
|
-
readonly accountId: string;
|
|
1794
|
-
readonly emailAddress: string;
|
|
1795
|
-
readonly id: string;
|
|
1796
|
-
readonly isPrimary: boolean;
|
|
1797
|
-
readonly name: string | null;
|
|
1798
|
-
}[];
|
|
1799
|
-
} & {
|
|
1800
|
-
readonly primaryAlias: {
|
|
1801
|
-
readonly accountId: string;
|
|
1802
|
-
readonly emailAddress: string;
|
|
1803
|
-
readonly id: string;
|
|
1804
|
-
readonly isPrimary: boolean;
|
|
1805
|
-
readonly name: string | null;
|
|
1806
|
-
} | undefined;
|
|
1807
|
-
} & {
|
|
1808
|
-
readonly labels: readonly {
|
|
1809
|
-
readonly accountId: string;
|
|
1810
|
-
readonly id: string;
|
|
1811
|
-
readonly name: string | null;
|
|
1812
|
-
readonly path: string;
|
|
1813
|
-
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
1814
|
-
readonly uidValidity: number;
|
|
1815
|
-
readonly unreadCount: number;
|
|
1816
|
-
}[];
|
|
1817
|
-
}, {
|
|
1818
|
-
userId: string;
|
|
1819
|
-
}>;
|
|
1820
1782
|
readonly getContacts: import("@rocicorp/zero").QueryDefinition<"contact", {
|
|
1821
1783
|
limit?: number | undefined;
|
|
1822
1784
|
search?: string | undefined;
|
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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMZ,CAAA"}
|
package/dist/zero/queries.d.ts
CHANGED
|
@@ -2,42 +2,6 @@ type Context = {
|
|
|
2
2
|
userId: string;
|
|
3
3
|
};
|
|
4
4
|
export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
5
|
-
readonly getAccounts: import("@rocicorp/zero").QueryDefinition<"account", import("@rocicorp/zero").ReadonlyJSONValue | undefined, import("@rocicorp/zero").ReadonlyJSONValue | undefined, {
|
|
6
|
-
readonly color: string;
|
|
7
|
-
readonly displayName: string | null;
|
|
8
|
-
readonly id: string;
|
|
9
|
-
readonly imapConnectionStatus: "AWAITING_CONNECTION" | "CONNECTED" | "CONNECTION_FAILED_AUTHENTICATION_ERROR" | "CONNECTION_FAILED_CONNECTION_ERROR" | "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR" | "CONNECTION_FAILED_QUOTA_ERROR" | "CONNECTION_FAILED_UNKNOWN_ERROR";
|
|
10
|
-
readonly mailProcessedCount: number;
|
|
11
|
-
readonly mailTotalCount: number;
|
|
12
|
-
readonly primaryAliasId: string | null;
|
|
13
|
-
readonly userId: string;
|
|
14
|
-
} & {
|
|
15
|
-
readonly aliases: readonly {
|
|
16
|
-
readonly accountId: string;
|
|
17
|
-
readonly emailAddress: string;
|
|
18
|
-
readonly id: string;
|
|
19
|
-
readonly isPrimary: boolean;
|
|
20
|
-
readonly name: string | null;
|
|
21
|
-
}[];
|
|
22
|
-
} & {
|
|
23
|
-
readonly primaryAlias: {
|
|
24
|
-
readonly accountId: string;
|
|
25
|
-
readonly emailAddress: string;
|
|
26
|
-
readonly id: string;
|
|
27
|
-
readonly isPrimary: boolean;
|
|
28
|
-
readonly name: string | null;
|
|
29
|
-
} | undefined;
|
|
30
|
-
} & {
|
|
31
|
-
readonly labels: readonly {
|
|
32
|
-
readonly accountId: string;
|
|
33
|
-
readonly id: string;
|
|
34
|
-
readonly name: string | null;
|
|
35
|
-
readonly path: string;
|
|
36
|
-
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
37
|
-
readonly uidValidity: number;
|
|
38
|
-
readonly unreadCount: number;
|
|
39
|
-
}[];
|
|
40
|
-
}, Context>;
|
|
41
5
|
readonly getContacts: import("@rocicorp/zero").QueryDefinition<"contact", {
|
|
42
6
|
limit?: number | undefined;
|
|
43
7
|
search?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/zero/queries.ts"],"names":[],"mappings":"AAOA,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AAQjC,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/zero/queries.ts"],"names":[],"mappings":"AAOA,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AAQjC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoOlB,CAAA"}
|
package/dist/zero/queries.js
CHANGED
|
@@ -8,7 +8,6 @@ const defineQuery = defineQueryWithType();
|
|
|
8
8
|
const MAX_LIMIT = 1000;
|
|
9
9
|
const DEFAULT_LIMIT = 50;
|
|
10
10
|
export const queries = defineQueries({
|
|
11
|
-
getAccounts: defineQuery(({ ctx }) => zql.account.where('userId', ctx.userId).related('aliases').related('primaryAlias').related('labels')),
|
|
12
11
|
getContacts: defineQuery(v.object({
|
|
13
12
|
limit: v.optional(v.pipe(v.number(), v.minValue(0), v.maxValue(MAX_LIMIT)), DEFAULT_LIMIT),
|
|
14
13
|
search: v.optional(v.string()),
|