@askdb/core 1.0.0-beta.21 → 1.0.0-beta.36

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.
@@ -6,158 +6,52 @@ export declare const tenantRootSchema: z.ZodObject<{
6
6
  parent: z.ZodOptional<z.ZodObject<{
7
7
  root: z.ZodString;
8
8
  foreignKey: z.ZodString;
9
- }, "strict", z.ZodTypeAny, {
10
- root: string;
11
- foreignKey: string;
12
- }, {
13
- root: string;
14
- foreignKey: string;
15
- }>>;
16
- }, "strict", z.ZodTypeAny, {
17
- id: string;
18
- label: string;
19
- tenantIdColumn: string;
20
- parent?: {
21
- root: string;
22
- foreignKey: string;
23
- } | undefined;
24
- }, {
25
- id: string;
26
- label: string;
27
- tenantIdColumn: string;
28
- parent?: {
29
- root: string;
30
- foreignKey: string;
31
- } | undefined;
32
- }>;
9
+ }, z.core.$strict>>;
10
+ }, z.core.$strict>;
33
11
  export declare const hierarchyEdgeSchema: z.ZodObject<{
34
12
  parent: z.ZodString;
35
13
  child: z.ZodString;
36
14
  foreignKey: z.ZodString;
37
- }, "strict", z.ZodTypeAny, {
38
- foreignKey: string;
39
- parent: string;
40
- child: string;
41
- }, {
42
- foreignKey: string;
43
- parent: string;
44
- child: string;
45
- }>;
46
- declare const scopeThroughSchema: z.ZodUnion<[z.ZodObject<{
15
+ }, z.core.$strict>;
16
+ declare const scopeThroughSchema: z.ZodUnion<readonly [z.ZodObject<{
47
17
  root: z.ZodString;
48
18
  column: z.ZodString;
49
- }, "strict", z.ZodTypeAny, {
50
- root: string;
51
- column: string;
52
- }, {
53
- root: string;
54
- column: string;
55
- }>, z.ZodObject<{
19
+ }, z.core.$strict>, z.ZodObject<{
56
20
  root: z.ZodString;
57
21
  join: z.ZodArray<z.ZodObject<{
58
22
  from: z.ZodString;
59
23
  to: z.ZodString;
60
- }, "strict", z.ZodTypeAny, {
61
- from: string;
62
- to: string;
63
- }, {
64
- from: string;
65
- to: string;
66
- }>, "many">;
67
- }, "strict", z.ZodTypeAny, {
68
- join: {
69
- from: string;
70
- to: string;
71
- }[];
72
- root: string;
73
- }, {
74
- join: {
75
- from: string;
76
- to: string;
77
- }[];
78
- root: string;
79
- }>]>;
24
+ }, z.core.$strict>>;
25
+ }, z.core.$strict>]>;
80
26
  export declare const scopedTableSchema: z.ZodObject<{
81
27
  id: z.ZodString;
82
- scopeThrough: z.ZodArray<z.ZodUnion<[z.ZodObject<{
28
+ scopeThrough: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
83
29
  root: z.ZodString;
84
30
  column: z.ZodString;
85
- }, "strict", z.ZodTypeAny, {
86
- root: string;
87
- column: string;
88
- }, {
89
- root: string;
90
- column: string;
91
- }>, z.ZodObject<{
31
+ }, z.core.$strict>, z.ZodObject<{
92
32
  root: z.ZodString;
93
33
  join: z.ZodArray<z.ZodObject<{
94
34
  from: z.ZodString;
95
35
  to: z.ZodString;
96
- }, "strict", z.ZodTypeAny, {
97
- from: string;
98
- to: string;
99
- }, {
100
- from: string;
101
- to: string;
102
- }>, "many">;
103
- }, "strict", z.ZodTypeAny, {
104
- join: {
105
- from: string;
106
- to: string;
107
- }[];
108
- root: string;
109
- }, {
110
- join: {
111
- from: string;
112
- to: string;
113
- }[];
114
- root: string;
115
- }>]>, "many">;
116
- }, "strict", z.ZodTypeAny, {
117
- id: string;
118
- scopeThrough: ({
119
- root: string;
120
- column: string;
121
- } | {
122
- join: {
123
- from: string;
124
- to: string;
125
- }[];
126
- root: string;
127
- })[];
128
- }, {
129
- id: string;
130
- scopeThrough: ({
131
- root: string;
132
- column: string;
133
- } | {
134
- join: {
135
- from: string;
136
- to: string;
137
- }[];
138
- root: string;
139
- })[];
140
- }>;
36
+ }, z.core.$strict>>;
37
+ }, z.core.$strict>]>>;
38
+ }, z.core.$strict>;
141
39
  export declare const polymorphicTableSchema: z.ZodObject<{
142
40
  id: z.ZodString;
143
41
  typeColumn: z.ZodString;
144
42
  idColumn: z.ZodString;
145
43
  mapping: z.ZodRecord<z.ZodString, z.ZodString>;
146
- }, "strict", z.ZodTypeAny, {
147
- id: string;
148
- typeColumn: string;
149
- idColumn: string;
150
- mapping: Record<string, string>;
151
- }, {
152
- id: string;
153
- typeColumn: string;
154
- idColumn: string;
155
- mapping: Record<string, string>;
44
+ }, z.core.$strict>;
45
+ export declare const enforcementModeSchema: z.ZodEnum<{
46
+ strict: "strict";
47
+ warn: "warn";
156
48
  }>;
157
- export declare const enforcementModeSchema: z.ZodEnum<["strict", "warn"]>;
158
49
  export declare const tenantPolicyFrontmatterSchema: z.ZodObject<{
159
50
  schemaId: z.ZodString;
160
- enforcement: z.ZodEnum<["strict", "warn"]>;
51
+ enforcement: z.ZodEnum<{
52
+ strict: "strict";
53
+ warn: "warn";
54
+ }>;
161
55
  roots: z.ZodArray<z.ZodObject<{
162
56
  id: z.ZodString;
163
57
  tenantIdColumn: z.ZodString;
@@ -165,196 +59,34 @@ export declare const tenantPolicyFrontmatterSchema: z.ZodObject<{
165
59
  parent: z.ZodOptional<z.ZodObject<{
166
60
  root: z.ZodString;
167
61
  foreignKey: z.ZodString;
168
- }, "strict", z.ZodTypeAny, {
169
- root: string;
170
- foreignKey: string;
171
- }, {
172
- root: string;
173
- foreignKey: string;
174
- }>>;
175
- }, "strict", z.ZodTypeAny, {
176
- id: string;
177
- label: string;
178
- tenantIdColumn: string;
179
- parent?: {
180
- root: string;
181
- foreignKey: string;
182
- } | undefined;
183
- }, {
184
- id: string;
185
- label: string;
186
- tenantIdColumn: string;
187
- parent?: {
188
- root: string;
189
- foreignKey: string;
190
- } | undefined;
191
- }>, "many">;
62
+ }, z.core.$strict>>;
63
+ }, z.core.$strict>>;
192
64
  hierarchy: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
65
  parent: z.ZodString;
194
66
  child: z.ZodString;
195
67
  foreignKey: z.ZodString;
196
- }, "strict", z.ZodTypeAny, {
197
- foreignKey: string;
198
- parent: string;
199
- child: string;
200
- }, {
201
- foreignKey: string;
202
- parent: string;
203
- child: string;
204
- }>, "many">>;
68
+ }, z.core.$strict>>>;
205
69
  scopedTables: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
70
  id: z.ZodString;
207
- scopeThrough: z.ZodArray<z.ZodUnion<[z.ZodObject<{
71
+ scopeThrough: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
208
72
  root: z.ZodString;
209
73
  column: z.ZodString;
210
- }, "strict", z.ZodTypeAny, {
211
- root: string;
212
- column: string;
213
- }, {
214
- root: string;
215
- column: string;
216
- }>, z.ZodObject<{
74
+ }, z.core.$strict>, z.ZodObject<{
217
75
  root: z.ZodString;
218
76
  join: z.ZodArray<z.ZodObject<{
219
77
  from: z.ZodString;
220
78
  to: z.ZodString;
221
- }, "strict", z.ZodTypeAny, {
222
- from: string;
223
- to: string;
224
- }, {
225
- from: string;
226
- to: string;
227
- }>, "many">;
228
- }, "strict", z.ZodTypeAny, {
229
- join: {
230
- from: string;
231
- to: string;
232
- }[];
233
- root: string;
234
- }, {
235
- join: {
236
- from: string;
237
- to: string;
238
- }[];
239
- root: string;
240
- }>]>, "many">;
241
- }, "strict", z.ZodTypeAny, {
242
- id: string;
243
- scopeThrough: ({
244
- root: string;
245
- column: string;
246
- } | {
247
- join: {
248
- from: string;
249
- to: string;
250
- }[];
251
- root: string;
252
- })[];
253
- }, {
254
- id: string;
255
- scopeThrough: ({
256
- root: string;
257
- column: string;
258
- } | {
259
- join: {
260
- from: string;
261
- to: string;
262
- }[];
263
- root: string;
264
- })[];
265
- }>, "many">>;
79
+ }, z.core.$strict>>;
80
+ }, z.core.$strict>]>>;
81
+ }, z.core.$strict>>>;
266
82
  polymorphicTables: z.ZodOptional<z.ZodArray<z.ZodObject<{
267
83
  id: z.ZodString;
268
84
  typeColumn: z.ZodString;
269
85
  idColumn: z.ZodString;
270
86
  mapping: z.ZodRecord<z.ZodString, z.ZodString>;
271
- }, "strict", z.ZodTypeAny, {
272
- id: string;
273
- typeColumn: string;
274
- idColumn: string;
275
- mapping: Record<string, string>;
276
- }, {
277
- id: string;
278
- typeColumn: string;
279
- idColumn: string;
280
- mapping: Record<string, string>;
281
- }>, "many">>;
282
- globalTables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
283
- }, "strict", z.ZodTypeAny, {
284
- schemaId: string;
285
- enforcement: "strict" | "warn";
286
- roots: {
287
- id: string;
288
- label: string;
289
- tenantIdColumn: string;
290
- parent?: {
291
- root: string;
292
- foreignKey: string;
293
- } | undefined;
294
- }[];
295
- hierarchy?: {
296
- foreignKey: string;
297
- parent: string;
298
- child: string;
299
- }[] | undefined;
300
- scopedTables?: {
301
- id: string;
302
- scopeThrough: ({
303
- root: string;
304
- column: string;
305
- } | {
306
- join: {
307
- from: string;
308
- to: string;
309
- }[];
310
- root: string;
311
- })[];
312
- }[] | undefined;
313
- polymorphicTables?: {
314
- id: string;
315
- typeColumn: string;
316
- idColumn: string;
317
- mapping: Record<string, string>;
318
- }[] | undefined;
319
- globalTables?: string[] | undefined;
320
- }, {
321
- schemaId: string;
322
- enforcement: "strict" | "warn";
323
- roots: {
324
- id: string;
325
- label: string;
326
- tenantIdColumn: string;
327
- parent?: {
328
- root: string;
329
- foreignKey: string;
330
- } | undefined;
331
- }[];
332
- hierarchy?: {
333
- foreignKey: string;
334
- parent: string;
335
- child: string;
336
- }[] | undefined;
337
- scopedTables?: {
338
- id: string;
339
- scopeThrough: ({
340
- root: string;
341
- column: string;
342
- } | {
343
- join: {
344
- from: string;
345
- to: string;
346
- }[];
347
- root: string;
348
- })[];
349
- }[] | undefined;
350
- polymorphicTables?: {
351
- id: string;
352
- typeColumn: string;
353
- idColumn: string;
354
- mapping: Record<string, string>;
355
- }[] | undefined;
356
- globalTables?: string[] | undefined;
357
- }>;
87
+ }, z.core.$strict>>>;
88
+ globalTables: z.ZodOptional<z.ZodArray<z.ZodString>>;
89
+ }, z.core.$strict>;
358
90
  export type TenantRoot = z.infer<typeof tenantRootSchema>;
359
91
  export type HierarchyEdge = z.infer<typeof hierarchyEdgeSchema>;
360
92
  export type ScopeThrough = z.infer<typeof scopeThroughSchema>;
@@ -413,156 +145,57 @@ export type TenantScope = {
413
145
  tenantFilters?: Record<string, TenantFilter>;
414
146
  context?: TenantScopeContext;
415
147
  };
416
- export declare const tenantAccessSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
148
+ export declare const tenantAccessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
417
149
  kind: z.ZodLiteral<"ids">;
418
150
  tenantRoot: z.ZodString;
419
- ids: z.ZodArray<z.ZodString, "many">;
420
- }, "strip", z.ZodTypeAny, {
421
- ids: string[];
422
- kind: "ids";
423
- tenantRoot: string;
424
- }, {
425
- ids: string[];
426
- kind: "ids";
427
- tenantRoot: string;
428
- }>, z.ZodObject<{
151
+ ids: z.ZodArray<z.ZodString>;
152
+ }, z.core.$strip>, z.ZodObject<{
429
153
  kind: z.ZodLiteral<"subtree">;
430
154
  tenantRoot: z.ZodString;
431
- rootIds: z.ZodArray<z.ZodString, "many">;
155
+ rootIds: z.ZodArray<z.ZodString>;
432
156
  includeDescendants: z.ZodLiteral<true>;
433
- }, "strip", z.ZodTypeAny, {
434
- kind: "subtree";
435
- tenantRoot: string;
436
- rootIds: string[];
437
- includeDescendants: true;
438
- }, {
439
- kind: "subtree";
440
- tenantRoot: string;
441
- rootIds: string[];
442
- includeDescendants: true;
443
- }>, z.ZodObject<{
157
+ }, z.core.$strip>, z.ZodObject<{
444
158
  kind: z.ZodLiteral<"multi_root">;
445
159
  scopes: z.ZodArray<z.ZodObject<{
446
160
  tenantRoot: z.ZodString;
447
- ids: z.ZodArray<z.ZodString, "many">;
448
- }, "strip", z.ZodTypeAny, {
449
- ids: string[];
450
- tenantRoot: string;
451
- }, {
452
- ids: string[];
453
- tenantRoot: string;
454
- }>, "many">;
455
- }, "strip", z.ZodTypeAny, {
456
- kind: "multi_root";
457
- scopes: {
458
- ids: string[];
459
- tenantRoot: string;
460
- }[];
461
- }, {
462
- kind: "multi_root";
463
- scopes: {
464
- ids: string[];
465
- tenantRoot: string;
466
- }[];
467
- }>, z.ZodObject<{
161
+ ids: z.ZodArray<z.ZodString>;
162
+ }, z.core.$strip>>;
163
+ }, z.core.$strip>, z.ZodObject<{
468
164
  kind: z.ZodLiteral<"global">;
469
165
  reason: z.ZodString;
470
- }, "strip", z.ZodTypeAny, {
471
- kind: "global";
472
- reason: string;
473
- }, {
474
- kind: "global";
475
- reason: string;
476
- }>]>;
166
+ }, z.core.$strip>], "kind">;
477
167
  export declare const tenantScopeSchema: z.ZodObject<{
478
- access: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
168
+ access: z.ZodDiscriminatedUnion<[z.ZodObject<{
479
169
  kind: z.ZodLiteral<"ids">;
480
170
  tenantRoot: z.ZodString;
481
- ids: z.ZodArray<z.ZodString, "many">;
482
- }, "strip", z.ZodTypeAny, {
483
- ids: string[];
484
- kind: "ids";
485
- tenantRoot: string;
486
- }, {
487
- ids: string[];
488
- kind: "ids";
489
- tenantRoot: string;
490
- }>, z.ZodObject<{
171
+ ids: z.ZodArray<z.ZodString>;
172
+ }, z.core.$strip>, z.ZodObject<{
491
173
  kind: z.ZodLiteral<"subtree">;
492
174
  tenantRoot: z.ZodString;
493
- rootIds: z.ZodArray<z.ZodString, "many">;
175
+ rootIds: z.ZodArray<z.ZodString>;
494
176
  includeDescendants: z.ZodLiteral<true>;
495
- }, "strip", z.ZodTypeAny, {
496
- kind: "subtree";
497
- tenantRoot: string;
498
- rootIds: string[];
499
- includeDescendants: true;
500
- }, {
501
- kind: "subtree";
502
- tenantRoot: string;
503
- rootIds: string[];
504
- includeDescendants: true;
505
- }>, z.ZodObject<{
177
+ }, z.core.$strip>, z.ZodObject<{
506
178
  kind: z.ZodLiteral<"multi_root">;
507
179
  scopes: z.ZodArray<z.ZodObject<{
508
180
  tenantRoot: z.ZodString;
509
- ids: z.ZodArray<z.ZodString, "many">;
510
- }, "strip", z.ZodTypeAny, {
511
- ids: string[];
512
- tenantRoot: string;
513
- }, {
514
- ids: string[];
515
- tenantRoot: string;
516
- }>, "many">;
517
- }, "strip", z.ZodTypeAny, {
518
- kind: "multi_root";
519
- scopes: {
520
- ids: string[];
521
- tenantRoot: string;
522
- }[];
523
- }, {
524
- kind: "multi_root";
525
- scopes: {
526
- ids: string[];
527
- tenantRoot: string;
528
- }[];
529
- }>, z.ZodObject<{
181
+ ids: z.ZodArray<z.ZodString>;
182
+ }, z.core.$strip>>;
183
+ }, z.core.$strip>, z.ZodObject<{
530
184
  kind: z.ZodLiteral<"global">;
531
185
  reason: z.ZodString;
532
- }, "strip", z.ZodTypeAny, {
533
- kind: "global";
534
- reason: string;
535
- }, {
536
- kind: "global";
537
- reason: string;
538
- }>]>;
186
+ }, z.core.$strip>], "kind">;
539
187
  tenantFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
540
188
  conditions: z.ZodArray<z.ZodObject<{
541
189
  column: z.ZodString;
542
- operator: z.ZodEnum<["=", "IN", "!=", "NOT IN"]>;
543
- value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
544
- }, "strip", z.ZodTypeAny, {
545
- value: string | string[];
546
- column: string;
547
- operator: "=" | "IN" | "!=" | "NOT IN";
548
- }, {
549
- value: string | string[];
550
- column: string;
551
- operator: "=" | "IN" | "!=" | "NOT IN";
552
- }>, "many">;
553
- }, "strip", z.ZodTypeAny, {
554
- conditions: {
555
- value: string | string[];
556
- column: string;
557
- operator: "=" | "IN" | "!=" | "NOT IN";
558
- }[];
559
- }, {
560
- conditions: {
561
- value: string | string[];
562
- column: string;
563
- operator: "=" | "IN" | "!=" | "NOT IN";
564
- }[];
565
- }>>>;
190
+ operator: z.ZodEnum<{
191
+ "=": "=";
192
+ IN: "IN";
193
+ "!=": "!=";
194
+ "NOT IN": "NOT IN";
195
+ }>;
196
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
197
+ }, z.core.$strip>>;
198
+ }, z.core.$strip>>>;
566
199
  context: z.ZodOptional<z.ZodObject<{
567
200
  role: z.ZodOptional<z.ZodString>;
568
201
  label: z.ZodOptional<z.ZodString>;
@@ -570,92 +203,8 @@ export declare const tenantScopeSchema: z.ZodObject<{
570
203
  region: z.ZodOptional<z.ZodString>;
571
204
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
572
205
  description: z.ZodOptional<z.ZodString>;
573
- }, "strict", z.ZodTypeAny, {
574
- description?: string | undefined;
575
- label?: string | undefined;
576
- role?: string | undefined;
577
- department?: string | undefined;
578
- region?: string | undefined;
579
- attributes?: Record<string, string> | undefined;
580
- }, {
581
- description?: string | undefined;
582
- label?: string | undefined;
583
- role?: string | undefined;
584
- department?: string | undefined;
585
- region?: string | undefined;
586
- attributes?: Record<string, string> | undefined;
587
- }>>;
588
- }, "strip", z.ZodTypeAny, {
589
- access: {
590
- ids: string[];
591
- kind: "ids";
592
- tenantRoot: string;
593
- } | {
594
- kind: "subtree";
595
- tenantRoot: string;
596
- rootIds: string[];
597
- includeDescendants: true;
598
- } | {
599
- kind: "multi_root";
600
- scopes: {
601
- ids: string[];
602
- tenantRoot: string;
603
- }[];
604
- } | {
605
- kind: "global";
606
- reason: string;
607
- };
608
- tenantFilters?: Record<string, {
609
- conditions: {
610
- value: string | string[];
611
- column: string;
612
- operator: "=" | "IN" | "!=" | "NOT IN";
613
- }[];
614
- }> | undefined;
615
- context?: {
616
- description?: string | undefined;
617
- label?: string | undefined;
618
- role?: string | undefined;
619
- department?: string | undefined;
620
- region?: string | undefined;
621
- attributes?: Record<string, string> | undefined;
622
- } | undefined;
623
- }, {
624
- access: {
625
- ids: string[];
626
- kind: "ids";
627
- tenantRoot: string;
628
- } | {
629
- kind: "subtree";
630
- tenantRoot: string;
631
- rootIds: string[];
632
- includeDescendants: true;
633
- } | {
634
- kind: "multi_root";
635
- scopes: {
636
- ids: string[];
637
- tenantRoot: string;
638
- }[];
639
- } | {
640
- kind: "global";
641
- reason: string;
642
- };
643
- tenantFilters?: Record<string, {
644
- conditions: {
645
- value: string | string[];
646
- column: string;
647
- operator: "=" | "IN" | "!=" | "NOT IN";
648
- }[];
649
- }> | undefined;
650
- context?: {
651
- description?: string | undefined;
652
- label?: string | undefined;
653
- role?: string | undefined;
654
- department?: string | undefined;
655
- region?: string | undefined;
656
- attributes?: Record<string, string> | undefined;
657
- } | undefined;
658
- }>;
206
+ }, z.core.$strict>>;
207
+ }, z.core.$strip>;
659
208
  export type TableTenantClassification = "scoped" | "inherited" | "polymorphic" | "global" | "root" | "unknown";
660
209
  export type TableCoverageEntry = {
661
210
  tableId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tenant-policy.d.ts","sourceRoot":"","sources":["../../../src/schema/v2/tenant-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlB,CAAC;AAEZ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAMrB,CAAC;AAuBZ,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA8D,CAAC;AAEvF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnB,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAOxB,CAAC;AAEZ,eAAO,MAAM,qBAAqB,+BAA6B,CAAC;AAEhE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU/B,CAAC;AAMZ,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