@marcoappio/marco-config 2.0.437 → 2.0.439
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 +8 -1
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.d.ts +1 -1
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.js +3 -3
- package/dist/zero/queries/getUser.d.ts +7 -0
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/getUser.js +2 -1
- package/package.json +1 -1
package/dist/zero/index.d.ts
CHANGED
|
@@ -1266,7 +1266,7 @@ export declare const marcoZero: {
|
|
|
1266
1266
|
search?: string;
|
|
1267
1267
|
where?: {
|
|
1268
1268
|
emailAddress?: string;
|
|
1269
|
-
|
|
1269
|
+
ids?: string[];
|
|
1270
1270
|
name?: string;
|
|
1271
1271
|
};
|
|
1272
1272
|
}], import("@rocicorp/zero").Query<{
|
|
@@ -5011,6 +5011,13 @@ export declare const marcoZero: {
|
|
|
5011
5011
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
5012
5012
|
}[];
|
|
5013
5013
|
})[];
|
|
5014
|
+
} & {
|
|
5015
|
+
readonly pushNotificationTokens: readonly {
|
|
5016
|
+
readonly createdAt: number;
|
|
5017
|
+
readonly id: string;
|
|
5018
|
+
readonly token: string;
|
|
5019
|
+
readonly userId: string;
|
|
5020
|
+
}[];
|
|
5014
5021
|
}>>;
|
|
5015
5022
|
};
|
|
5016
5023
|
readonly schema: {
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
|
|
@@ -9,7 +9,7 @@ const parseArgs = (args) => {
|
|
|
9
9
|
search: v.optional(v.string()),
|
|
10
10
|
where: v.optional(v.object({
|
|
11
11
|
emailAddress: v.optional(v.string()),
|
|
12
|
-
|
|
12
|
+
ids: v.optional(v.array(v.string())),
|
|
13
13
|
name: v.optional(v.string()),
|
|
14
14
|
})),
|
|
15
15
|
});
|
|
@@ -17,8 +17,8 @@ const parseArgs = (args) => {
|
|
|
17
17
|
};
|
|
18
18
|
export const getContacts = syncedQueryWithContext('getContacts', parseArgs, ({ userId }, { search, limit, where }) => {
|
|
19
19
|
let query = z.contact.where('userId', userId).orderBy('emailAddress', 'asc');
|
|
20
|
-
if (where?.
|
|
21
|
-
query = query.where('id', where.
|
|
20
|
+
if (where?.ids && where.ids.length > 0) {
|
|
21
|
+
query = query.where('id', 'IN', where.ids);
|
|
22
22
|
}
|
|
23
23
|
if (where?.emailAddress) {
|
|
24
24
|
query = query.where('emailAddress', 'ILIKE', where.emailAddress);
|
|
@@ -938,5 +938,12 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
938
938
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
939
939
|
}[];
|
|
940
940
|
})[];
|
|
941
|
+
} & {
|
|
942
|
+
readonly pushNotificationTokens: readonly {
|
|
943
|
+
readonly createdAt: number;
|
|
944
|
+
readonly id: string;
|
|
945
|
+
readonly token: string;
|
|
946
|
+
readonly userId: string;
|
|
947
|
+
}[];
|
|
941
948
|
}>>;
|
|
942
949
|
//# sourceMappingURL=getUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,CAAA"}
|
|
@@ -3,4 +3,5 @@ import { z } from '../../zero/queries';
|
|
|
3
3
|
export const getUser = syncedQueryWithContext('getUser', undefined, ({ userId }) => z.user
|
|
4
4
|
.where('id', userId)
|
|
5
5
|
.limit(1)
|
|
6
|
-
.related('accounts', x => x.related('aliases').related('primaryAlias').related('labels'))
|
|
6
|
+
.related('accounts', x => x.related('aliases').related('primaryAlias').related('labels'))
|
|
7
|
+
.related('pushNotificationTokens'));
|