@marcoappio/marco-config 2.0.444 → 2.0.446
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/constants/index.d.ts +3 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +2 -0
- package/dist/constants/zero.d.ts +4 -0
- package/dist/constants/zero.d.ts.map +1 -0
- package/dist/constants/zero.js +3 -0
- package/dist/marcoPublicConfig.d.ts +0 -1
- package/dist/marcoPublicConfig.d.ts.map +1 -1
- package/dist/marcoPublicConfig.js +0 -3
- package/dist/zero/queries/getThreads.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1B,CAAA"}
|
package/dist/constants/index.js
CHANGED
|
@@ -3,10 +3,12 @@ import { emailAccounts } from './emailAccounts';
|
|
|
3
3
|
import { emailProvider } from './emailProvider';
|
|
4
4
|
import { messages } from './messages';
|
|
5
5
|
import { oauth } from './oauth';
|
|
6
|
+
import { zero } from './zero';
|
|
6
7
|
export const marcoConstants = {
|
|
7
8
|
api,
|
|
8
9
|
emailAccounts,
|
|
9
10
|
emailProvider,
|
|
10
11
|
messages,
|
|
11
12
|
oauth,
|
|
13
|
+
zero,
|
|
12
14
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero.d.ts","sourceRoot":"","sources":["../../src/constants/zero.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;CAEhB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAGP,CAAA;AAEf,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAGP,CAAA;AAEf,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AA+FD,eAAO,MAAM,iBAAiB,SAAS,gBAAgB,sBAAmC,CAAA"}
|
|
@@ -30,7 +30,6 @@ const configMap = {
|
|
|
30
30
|
},
|
|
31
31
|
zero: {
|
|
32
32
|
cacheUrl: 'https://zero.staging.marcoapp.io',
|
|
33
|
-
pushUrl: 'https://api.staging.marcoapp.io/v1/pv/zero/push',
|
|
34
33
|
},
|
|
35
34
|
},
|
|
36
35
|
production: {
|
|
@@ -61,7 +60,6 @@ const configMap = {
|
|
|
61
60
|
},
|
|
62
61
|
zero: {
|
|
63
62
|
cacheUrl: 'https://zero.marcoapp.io',
|
|
64
|
-
pushUrl: 'https://api.marcoapp.io/v1/pv/zero/push',
|
|
65
63
|
},
|
|
66
64
|
},
|
|
67
65
|
staging: {
|
|
@@ -92,7 +90,6 @@ const configMap = {
|
|
|
92
90
|
},
|
|
93
91
|
zero: {
|
|
94
92
|
cacheUrl: 'https://zero.staging.marcoapp.io',
|
|
95
|
-
pushUrl: 'https://api.staging.marcoapp.io/v1/pv/zero/push',
|
|
96
93
|
},
|
|
97
94
|
},
|
|
98
95
|
};
|
|
@@ -21,7 +21,7 @@ const parseArgs = (args) => {
|
|
|
21
21
|
export const getThreads = syncedQueryWithContext('getThreads', parseArgs, ({ userId }, { search, limit, where }) => {
|
|
22
22
|
let query = z.thread
|
|
23
23
|
.where('userId', userId)
|
|
24
|
-
.related('messages', x => x.related('recipients').related('attachments'))
|
|
24
|
+
.related('messages', x => x.related('recipients').related('attachments').orderBy('envelopeDate', 'desc'))
|
|
25
25
|
.related('labels')
|
|
26
26
|
.orderBy('latestMessageDate', 'desc');
|
|
27
27
|
if (where?.id) {
|