@driveflux/config 1.6.3 → 1.6.4

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/backend.d.ts CHANGED
@@ -270,19 +270,6 @@ export declare const ConfigValidation: z.ZodObject<{
270
270
  postalCode: string;
271
271
  };
272
272
  }>;
273
- graphCms: z.ZodObject<{
274
- devAuthToken: z.ZodString;
275
- prodAuthToken: z.ZodString;
276
- projectApi: z.ZodString;
277
- }, "strip", z.ZodTypeAny, {
278
- devAuthToken: string;
279
- prodAuthToken: string;
280
- projectApi: string;
281
- }, {
282
- devAuthToken: string;
283
- prodAuthToken: string;
284
- projectApi: string;
285
- }>;
286
273
  html2pdfKey: z.ZodString;
287
274
  cmsPreviewSecret: z.ZodString | z.ZodOptional<z.ZodString>;
288
275
  search: z.ZodObject<{
@@ -390,13 +377,6 @@ export declare const ConfigValidation: z.ZodObject<{
390
377
  token: string;
391
378
  url: string;
392
379
  }>;
393
- glitchTip: z.ZodObject<{
394
- dsn: z.ZodOptional<z.ZodString>;
395
- }, "strip", z.ZodTypeAny, {
396
- dsn?: string | undefined;
397
- }, {
398
- dsn?: string | undefined;
399
- }>;
400
380
  sentryAuthToken: z.ZodOptional<z.ZodString>;
401
381
  sendSMSOutsideOfProd: z.ZodOptional<z.ZodBoolean>;
402
382
  vercel: z.ZodOptional<z.ZodObject<{
@@ -495,11 +475,6 @@ export declare const ConfigValidation: z.ZodObject<{
495
475
  postalCode: string;
496
476
  };
497
477
  };
498
- graphCms: {
499
- devAuthToken: string;
500
- prodAuthToken: string;
501
- projectApi: string;
502
- };
503
478
  html2pdfKey: string;
504
479
  search: {
505
480
  noIdOptimization: boolean;
@@ -530,9 +505,6 @@ export declare const ConfigValidation: z.ZodObject<{
530
505
  token: string;
531
506
  url: string;
532
507
  };
533
- glitchTip: {
534
- dsn?: string | undefined;
535
- };
536
508
  appEnv?: string | undefined;
537
509
  tunnelUrl?: string | undefined;
538
510
  twilio?: {
@@ -635,11 +607,6 @@ export declare const ConfigValidation: z.ZodObject<{
635
607
  postalCode: string;
636
608
  };
637
609
  };
638
- graphCms: {
639
- devAuthToken: string;
640
- prodAuthToken: string;
641
- projectApi: string;
642
- };
643
610
  html2pdfKey: string;
644
611
  search: {
645
612
  noIdOptimization: boolean;
@@ -670,9 +637,6 @@ export declare const ConfigValidation: z.ZodObject<{
670
637
  token: string;
671
638
  url: string;
672
639
  };
673
- glitchTip: {
674
- dsn?: string | undefined;
675
- };
676
640
  appEnv?: string | undefined;
677
641
  tunnelUrl?: string | undefined;
678
642
  twilio?: {
@@ -776,11 +740,6 @@ export declare const resetConfig: () => {
776
740
  postalCode: string;
777
741
  };
778
742
  };
779
- graphCms: {
780
- devAuthToken: string;
781
- prodAuthToken: string;
782
- projectApi: string;
783
- };
784
743
  html2pdfKey: string;
785
744
  search: {
786
745
  noIdOptimization: boolean;
@@ -811,9 +770,6 @@ export declare const resetConfig: () => {
811
770
  token: string;
812
771
  url: string;
813
772
  };
814
- glitchTip: {
815
- dsn?: string | undefined;
816
- };
817
773
  appEnv?: string | undefined;
818
774
  tunnelUrl?: string | undefined;
819
775
  twilio?: {
@@ -1 +1 @@
1
- {"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,CAAC,MAAM,CAAC;IACd,IAAI,qBAAqB,EAAE,MAAM,CAAA;CACjC;AAED,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AASrD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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js CHANGED
@@ -110,11 +110,6 @@ export var ConfigValidation = z.object({
110
110
  postalCode: z.string()
111
111
  })
112
112
  }),
113
- graphCms: z.object({
114
- devAuthToken: z.string(),
115
- prodAuthToken: z.string(),
116
- projectApi: z.string()
117
- }),
118
113
  html2pdfKey: z.string(),
119
114
  cmsPreviewSecret: requiredStringIfProdValidation,
120
115
  search: z.object({
@@ -146,9 +141,6 @@ export var ConfigValidation = z.object({
146
141
  token: z.string(),
147
142
  apiUrl: z.string()
148
143
  }),
149
- glitchTip: z.object({
150
- dsn: z.string().optional()
151
- }),
152
144
  sentryAuthToken: z.string().optional(),
153
145
  sendSMSOutsideOfProd: z.boolean().optional(),
154
146
  vercel: z.object({
@@ -288,10 +280,7 @@ var getConfig = function() {
288
280
  token: process.env.KV_REST_API_TOKEN,
289
281
  apiUrl: process.env.KV_REST_API_URL
290
282
  },
291
- sentryAuthToken: process.env.SENTRY_AUTH_TOKEN,
292
- glitchTip: {
293
- dsn: process.env.GLITCHTIP_DSN
294
- }
283
+ sentryAuthToken: process.env.SENTRY_AUTH_TOKEN
295
284
  };
296
285
  };
297
286
  export var resetConfig = function() {
@@ -90,24 +90,24 @@ export declare const ConfigValidation: z.ZodObject<{
90
90
  connectClientId: string;
91
91
  };
92
92
  noStaticGenerating: boolean;
93
- graphCms: {
94
- devAuthToken: string;
95
- prodAuthToken: string;
96
- projectApi: string;
97
- };
98
93
  secureCookies: boolean;
99
94
  kv: {
100
95
  apiUrl: string;
101
96
  token: string;
102
97
  url: string;
103
98
  };
104
- glitchTip: {
105
- dsn?: string | undefined;
106
- };
107
99
  taxRate: number;
108
100
  currency: string;
101
+ graphCms: {
102
+ devAuthToken: string;
103
+ prodAuthToken: string;
104
+ projectApi: string;
105
+ };
109
106
  metaPixelId: string;
110
107
  waNumber: string;
108
+ glitchTip: {
109
+ dsn?: string | undefined;
110
+ };
111
111
  sentryAuthToken?: string | undefined;
112
112
  gtmCode?: string | undefined;
113
113
  gtmCodeOld?: string | undefined;
@@ -127,24 +127,24 @@ export declare const ConfigValidation: z.ZodObject<{
127
127
  connectClientId: string;
128
128
  };
129
129
  noStaticGenerating: boolean;
130
- graphCms: {
131
- devAuthToken: string;
132
- prodAuthToken: string;
133
- projectApi: string;
134
- };
135
130
  secureCookies: boolean;
136
131
  kv: {
137
132
  apiUrl: string;
138
133
  token: string;
139
134
  url: string;
140
135
  };
141
- glitchTip: {
142
- dsn?: string | undefined;
143
- };
144
136
  taxRate: number;
145
137
  currency: string;
138
+ graphCms: {
139
+ devAuthToken: string;
140
+ prodAuthToken: string;
141
+ projectApi: string;
142
+ };
146
143
  metaPixelId: string;
147
144
  waNumber: string;
145
+ glitchTip: {
146
+ dsn?: string | undefined;
147
+ };
148
148
  sentryAuthToken?: string | undefined;
149
149
  gtmCode?: string | undefined;
150
150
  gtmCodeOld?: string | undefined;
@@ -165,24 +165,24 @@ export declare const resetConfig: () => {
165
165
  connectClientId: string;
166
166
  };
167
167
  noStaticGenerating: boolean;
168
- graphCms: {
169
- devAuthToken: string;
170
- prodAuthToken: string;
171
- projectApi: string;
172
- };
173
168
  secureCookies: boolean;
174
169
  kv: {
175
170
  apiUrl: string;
176
171
  token: string;
177
172
  url: string;
178
173
  };
179
- glitchTip: {
180
- dsn?: string | undefined;
181
- };
182
174
  taxRate: number;
183
175
  currency: string;
176
+ graphCms: {
177
+ devAuthToken: string;
178
+ prodAuthToken: string;
179
+ projectApi: string;
180
+ };
184
181
  metaPixelId: string;
185
182
  waNumber: string;
183
+ glitchTip: {
184
+ dsn?: string | undefined;
185
+ };
186
186
  sentryAuthToken?: string | undefined;
187
187
  gtmCode?: string | undefined;
188
188
  gtmCodeOld?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/config",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./backend": {