@marcoappio/marco-config 2.0.318 → 2.0.319

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.
@@ -28,6 +28,9 @@ export declare const marcoConstants: {
28
28
  PREVIEW_TEXT_MAX_LENGTH: number;
29
29
  };
30
30
  oauth: {
31
+ outlook: {
32
+ scopes: string[];
33
+ };
31
34
  redirectPath: string;
32
35
  };
33
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc1B,CAAA"}
@@ -6,6 +6,13 @@ export const marcoConstants = {
6
6
  emailProvider,
7
7
  messages,
8
8
  oauth: {
9
+ outlook: {
10
+ scopes: [
11
+ 'https://outlook.office.com/IMAP.AccessAsUser.All',
12
+ 'https://outlook.office.com/SMTP.Send',
13
+ 'offline_access',
14
+ ],
15
+ },
9
16
  redirectPath: '/v1/wh/oauth/callback',
10
17
  },
11
18
  };
@@ -1,11 +1,6 @@
1
1
  export type MarcoEnvironment = 'production' | 'staging' | 'development';
2
2
  export declare const MARCO_ENV: MarcoEnvironment;
3
3
  type MarcoPublicConfig = {
4
- google: {
5
- oauth: {
6
- clientId: string;
7
- };
8
- };
9
4
  marco: {
10
5
  api: {
11
6
  baseUrl: string;
@@ -19,9 +14,13 @@ type MarcoPublicConfig = {
19
14
  key: string;
20
15
  };
21
16
  };
22
- outlook: {
23
- oauth: {
17
+ oauth: {
18
+ google: {
19
+ clientId: string;
20
+ };
21
+ outlook: {
24
22
  clientId: string;
23
+ tenantId: string;
25
24
  };
26
25
  };
27
26
  replicache: {
@@ -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,kBAA6D,CAAA;AAEnF,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE;YACL,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,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,OAAO,EAAE;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAoGD,eAAO,MAAM,iBAAiB,mBAAuB,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,kBAA6D,CAAA;AAEnF,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,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAiGD,eAAO,MAAM,iBAAiB,mBAAuB,CAAA"}
@@ -1,11 +1,6 @@
1
1
  export const MARCO_ENV = process.env.MARCO_ENV || 'development';
2
2
  const configMap = {
3
3
  development: {
4
- google: {
5
- oauth: {
6
- clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
7
- },
8
- },
9
4
  marco: {
10
5
  api: {
11
6
  baseUrl: 'https://api.staging.marcoapp.io',
@@ -19,9 +14,13 @@ const configMap = {
19
14
  key: 'IuF65Dgky1rJ2Aua',
20
15
  },
21
16
  },
22
- outlook: {
23
- oauth: {
17
+ oauth: {
18
+ google: {
19
+ clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
20
+ },
21
+ outlook: {
24
22
  clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
23
+ tenantId: 'todo',
25
24
  },
26
25
  },
27
26
  replicache: {
@@ -32,11 +31,6 @@ const configMap = {
32
31
  },
33
32
  },
34
33
  staging: {
35
- google: {
36
- oauth: {
37
- clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
38
- },
39
- },
40
34
  marco: {
41
35
  api: {
42
36
  baseUrl: 'https://api.staging.marcoapp.io',
@@ -50,10 +44,14 @@ const configMap = {
50
44
  key: 'IuF65Dgky1rJ2Aua',
51
45
  },
52
46
  },
53
- outlook: {
54
- oauth: {
47
+ oauth: {
48
+ google: {
55
49
  clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
56
50
  },
51
+ outlook: {
52
+ clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
53
+ tenantId: 'todo',
54
+ },
57
55
  },
58
56
  replicache: {
59
57
  licenseKey: 'la6cf85ee37b5495481575ecececc3e49',
@@ -64,11 +62,6 @@ const configMap = {
64
62
  },
65
63
  // eslint-disable-next-line sort-keys, sort-keys-fix/sort-keys-fix
66
64
  production: {
67
- google: {
68
- oauth: {
69
- clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
70
- },
71
- },
72
65
  marco: {
73
66
  api: {
74
67
  baseUrl: 'https://api.marcoapp.io',
@@ -82,9 +75,13 @@ const configMap = {
82
75
  key: 'O8bc4c11yHuNNS',
83
76
  },
84
77
  },
85
- outlook: {
86
- oauth: {
78
+ oauth: {
79
+ google: {
80
+ clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
81
+ },
82
+ outlook: {
87
83
  clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
84
+ tenantId: 'todo',
88
85
  },
89
86
  },
90
87
  replicache: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.318",
4
+ "version": "2.0.319",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",