@env-hopper/frontend-core 2.0.1-alpha.4 → 2.0.1-alpha.6
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/esm/__tests__/integration/factories/BackendMagazine.d.ts +190 -102
- package/dist/esm/__tests__/integration/factories/simpleDSL.d.ts +190 -102
- package/dist/esm/api/infra/trpc.d.ts +285 -153
- package/dist/esm/modules/appCatalog/admin/ApproverFormFields.d.ts +8 -0
- package/dist/esm/modules/appCatalog/admin/ApproverFormFields.js +266 -0
- package/dist/esm/modules/appCatalog/admin/ApproverFormFields.js.map +1 -0
- package/dist/esm/modules/appCatalog/ui/components/AppDetailModal.js +75 -58
- package/dist/esm/modules/appCatalog/ui/components/AppDetailModal.js.map +1 -1
- package/dist/esm/modules/appCatalog/ui/components/ApproverDisplay.d.ts +6 -0
- package/dist/esm/modules/appCatalog/ui/components/ApproverDisplay.js +138 -0
- package/dist/esm/modules/appCatalog/ui/components/ApproverDisplay.js.map +1 -0
- package/dist/esm/modules/auth/authClient.d.ts +2 -2
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/classic/schemas.js +13 -3
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/classic/schemas.js.map +1 -1
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.js +8 -0
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.js.map +1 -1
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema-processors.js +4 -0
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema-processors.js.map +1 -1
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/regexes.js +2 -0
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/regexes.js.map +1 -1
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.js +23 -1
- package/dist/esm/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.js.map +1 -1
- package/dist/esm/routes/admin/app-for-catalog/_id.js +20 -9
- package/dist/esm/routes/admin/app-for-catalog/_id.js.map +1 -1
- package/dist/esm/routes/admin/app-for-catalog/_id2.js +110 -13
- package/dist/esm/routes/admin/app-for-catalog/_id2.js.map +1 -1
- package/package.json +4 -4
- package/src/modules/appCatalog/admin/ApproverFormFields.tsx +296 -0
- package/src/modules/appCatalog/ui/components/AppDetailModal.tsx +38 -16
- package/src/modules/appCatalog/ui/components/ApproverDisplay.tsx +226 -0
- package/src/routes/admin/app-for-catalog/$id.tsx +196 -21
|
@@ -77,13 +77,8 @@ export declare const BackendMagazine: {
|
|
|
77
77
|
id: string;
|
|
78
78
|
createdAt: Date;
|
|
79
79
|
updatedAt: Date;
|
|
80
|
-
assetType: import("@prisma/client").$Enums.AssetType;
|
|
81
|
-
content: import('@prisma/client/runtime/library').Bytes;
|
|
82
|
-
checksum: string;
|
|
83
80
|
mimeType: string;
|
|
84
81
|
fileSize: number;
|
|
85
|
-
width: number | null;
|
|
86
|
-
height: number | null;
|
|
87
82
|
} | null;
|
|
88
83
|
meta: {};
|
|
89
84
|
}>;
|
|
@@ -165,6 +160,7 @@ export declare const BackendMagazine: {
|
|
|
165
160
|
output: {
|
|
166
161
|
content: string;
|
|
167
162
|
mimeType: string;
|
|
163
|
+
name: string;
|
|
168
164
|
};
|
|
169
165
|
meta: {};
|
|
170
166
|
}>;
|
|
@@ -250,14 +246,12 @@ export declare const BackendMagazine: {
|
|
|
250
246
|
id: string;
|
|
251
247
|
createdAt: Date;
|
|
252
248
|
updatedAt: Date;
|
|
253
|
-
|
|
249
|
+
description: string;
|
|
254
250
|
slug: string;
|
|
255
251
|
displayName: string;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
approverName: string | null;
|
|
260
|
-
approverEmail: string | null;
|
|
252
|
+
access: PrismaJson.AccessMethod | null;
|
|
253
|
+
teams: string[];
|
|
254
|
+
approver: PrismaJson.Approver | null;
|
|
261
255
|
notes: string | null;
|
|
262
256
|
tags: string[];
|
|
263
257
|
appUrl: string | null;
|
|
@@ -275,14 +269,12 @@ export declare const BackendMagazine: {
|
|
|
275
269
|
id: string;
|
|
276
270
|
createdAt: Date;
|
|
277
271
|
updatedAt: Date;
|
|
278
|
-
|
|
272
|
+
description: string;
|
|
279
273
|
slug: string;
|
|
280
274
|
displayName: string;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
approverName: string | null;
|
|
285
|
-
approverEmail: string | null;
|
|
275
|
+
access: PrismaJson.AccessMethod | null;
|
|
276
|
+
teams: string[];
|
|
277
|
+
approver: PrismaJson.Approver | null;
|
|
286
278
|
notes: string | null;
|
|
287
279
|
tags: string[];
|
|
288
280
|
appUrl: string | null;
|
|
@@ -297,19 +289,48 @@ export declare const BackendMagazine: {
|
|
|
297
289
|
slug: string;
|
|
298
290
|
displayName: string;
|
|
299
291
|
description: string;
|
|
300
|
-
access
|
|
292
|
+
access?: {
|
|
301
293
|
[x: string]: unknown;
|
|
302
294
|
type: "email" | "bot" | "ticketing" | "self-service" | "documentation" | "manual";
|
|
303
|
-
};
|
|
295
|
+
} | undefined;
|
|
304
296
|
teams?: string[] | undefined;
|
|
305
|
-
roles?: {
|
|
306
|
-
id: string;
|
|
307
|
-
name: string;
|
|
308
|
-
description?: string | undefined;
|
|
309
|
-
}[] | undefined;
|
|
310
297
|
approver?: {
|
|
311
|
-
|
|
312
|
-
|
|
298
|
+
type: "bot";
|
|
299
|
+
comment?: string | undefined;
|
|
300
|
+
roles?: {
|
|
301
|
+
name: string;
|
|
302
|
+
description?: string | undefined;
|
|
303
|
+
}[] | undefined;
|
|
304
|
+
approvalPolicy?: string | undefined;
|
|
305
|
+
postApprovalInstructions?: string | undefined;
|
|
306
|
+
seeMoreUrls?: string[] | undefined;
|
|
307
|
+
url?: string | undefined;
|
|
308
|
+
prompt?: string | undefined;
|
|
309
|
+
} | {
|
|
310
|
+
type: "ticket";
|
|
311
|
+
comment?: string | undefined;
|
|
312
|
+
roles?: {
|
|
313
|
+
name: string;
|
|
314
|
+
description?: string | undefined;
|
|
315
|
+
}[] | undefined;
|
|
316
|
+
approvalPolicy?: string | undefined;
|
|
317
|
+
postApprovalInstructions?: string | undefined;
|
|
318
|
+
seeMoreUrls?: string[] | undefined;
|
|
319
|
+
url?: string | undefined;
|
|
320
|
+
requestFormTemplate?: string | undefined;
|
|
321
|
+
} | {
|
|
322
|
+
type: "person";
|
|
323
|
+
comment?: string | undefined;
|
|
324
|
+
roles?: {
|
|
325
|
+
name: string;
|
|
326
|
+
description?: string | undefined;
|
|
327
|
+
}[] | undefined;
|
|
328
|
+
approvalPolicy?: string | undefined;
|
|
329
|
+
postApprovalInstructions?: string | undefined;
|
|
330
|
+
seeMoreUrls?: string[] | undefined;
|
|
331
|
+
email?: string | undefined;
|
|
332
|
+
url?: string | undefined;
|
|
333
|
+
description?: string | undefined;
|
|
313
334
|
} | undefined;
|
|
314
335
|
notes?: string | undefined;
|
|
315
336
|
tags?: string[] | undefined;
|
|
@@ -325,14 +346,12 @@ export declare const BackendMagazine: {
|
|
|
325
346
|
id: string;
|
|
326
347
|
createdAt: Date;
|
|
327
348
|
updatedAt: Date;
|
|
328
|
-
|
|
349
|
+
description: string;
|
|
329
350
|
slug: string;
|
|
330
351
|
displayName: string;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
approverName: string | null;
|
|
335
|
-
approverEmail: string | null;
|
|
352
|
+
access: PrismaJson.AccessMethod | null;
|
|
353
|
+
teams: string[];
|
|
354
|
+
approver: PrismaJson.Approver | null;
|
|
336
355
|
notes: string | null;
|
|
337
356
|
tags: string[];
|
|
338
357
|
appUrl: string | null;
|
|
@@ -353,14 +372,43 @@ export declare const BackendMagazine: {
|
|
|
353
372
|
type: "email" | "bot" | "ticketing" | "self-service" | "documentation" | "manual";
|
|
354
373
|
} | undefined;
|
|
355
374
|
teams?: string[] | undefined;
|
|
356
|
-
roles?: {
|
|
357
|
-
id: string;
|
|
358
|
-
name: string;
|
|
359
|
-
description?: string | undefined;
|
|
360
|
-
}[] | undefined;
|
|
361
375
|
approver?: {
|
|
362
|
-
|
|
363
|
-
|
|
376
|
+
type: "bot";
|
|
377
|
+
comment?: string | undefined;
|
|
378
|
+
roles?: {
|
|
379
|
+
name: string;
|
|
380
|
+
description?: string | undefined;
|
|
381
|
+
}[] | undefined;
|
|
382
|
+
approvalPolicy?: string | undefined;
|
|
383
|
+
postApprovalInstructions?: string | undefined;
|
|
384
|
+
seeMoreUrls?: string[] | undefined;
|
|
385
|
+
url?: string | undefined;
|
|
386
|
+
prompt?: string | undefined;
|
|
387
|
+
} | {
|
|
388
|
+
type: "ticket";
|
|
389
|
+
comment?: string | undefined;
|
|
390
|
+
roles?: {
|
|
391
|
+
name: string;
|
|
392
|
+
description?: string | undefined;
|
|
393
|
+
}[] | undefined;
|
|
394
|
+
approvalPolicy?: string | undefined;
|
|
395
|
+
postApprovalInstructions?: string | undefined;
|
|
396
|
+
seeMoreUrls?: string[] | undefined;
|
|
397
|
+
url?: string | undefined;
|
|
398
|
+
requestFormTemplate?: string | undefined;
|
|
399
|
+
} | {
|
|
400
|
+
type: "person";
|
|
401
|
+
comment?: string | undefined;
|
|
402
|
+
roles?: {
|
|
403
|
+
name: string;
|
|
404
|
+
description?: string | undefined;
|
|
405
|
+
}[] | undefined;
|
|
406
|
+
approvalPolicy?: string | undefined;
|
|
407
|
+
postApprovalInstructions?: string | undefined;
|
|
408
|
+
seeMoreUrls?: string[] | undefined;
|
|
409
|
+
email?: string | undefined;
|
|
410
|
+
url?: string | undefined;
|
|
411
|
+
description?: string | undefined;
|
|
364
412
|
} | undefined;
|
|
365
413
|
notes?: string | undefined;
|
|
366
414
|
tags?: string[] | undefined;
|
|
@@ -376,14 +424,12 @@ export declare const BackendMagazine: {
|
|
|
376
424
|
id: string;
|
|
377
425
|
createdAt: Date;
|
|
378
426
|
updatedAt: Date;
|
|
379
|
-
|
|
427
|
+
description: string;
|
|
380
428
|
slug: string;
|
|
381
429
|
displayName: string;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
approverName: string | null;
|
|
386
|
-
approverEmail: string | null;
|
|
430
|
+
access: PrismaJson.AccessMethod | null;
|
|
431
|
+
teams: string[];
|
|
432
|
+
approver: PrismaJson.Approver | null;
|
|
387
433
|
notes: string | null;
|
|
388
434
|
tags: string[];
|
|
389
435
|
appUrl: string | null;
|
|
@@ -401,14 +447,12 @@ export declare const BackendMagazine: {
|
|
|
401
447
|
id: string;
|
|
402
448
|
createdAt: Date;
|
|
403
449
|
updatedAt: Date;
|
|
404
|
-
|
|
450
|
+
description: string;
|
|
405
451
|
slug: string;
|
|
406
452
|
displayName: string;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
approverName: string | null;
|
|
411
|
-
approverEmail: string | null;
|
|
453
|
+
access: PrismaJson.AccessMethod | null;
|
|
454
|
+
teams: string[];
|
|
455
|
+
approver: PrismaJson.Approver | null;
|
|
412
456
|
notes: string | null;
|
|
413
457
|
tags: string[];
|
|
414
458
|
appUrl: string | null;
|
|
@@ -510,13 +554,8 @@ export declare const BackendMagazine: {
|
|
|
510
554
|
id: string;
|
|
511
555
|
createdAt: Date;
|
|
512
556
|
updatedAt: Date;
|
|
513
|
-
assetType: import("@prisma/client").$Enums.AssetType;
|
|
514
|
-
content: import('@prisma/client/runtime/library').Bytes;
|
|
515
|
-
checksum: string;
|
|
516
557
|
mimeType: string;
|
|
517
558
|
fileSize: number;
|
|
518
|
-
width: number | null;
|
|
519
|
-
height: number | null;
|
|
520
559
|
} | null;
|
|
521
560
|
meta: {};
|
|
522
561
|
}>;
|
|
@@ -598,6 +637,7 @@ export declare const BackendMagazine: {
|
|
|
598
637
|
output: {
|
|
599
638
|
content: string;
|
|
600
639
|
mimeType: string;
|
|
640
|
+
name: string;
|
|
601
641
|
};
|
|
602
642
|
meta: {};
|
|
603
643
|
}>;
|
|
@@ -683,14 +723,12 @@ export declare const BackendMagazine: {
|
|
|
683
723
|
id: string;
|
|
684
724
|
createdAt: Date;
|
|
685
725
|
updatedAt: Date;
|
|
686
|
-
|
|
726
|
+
description: string;
|
|
687
727
|
slug: string;
|
|
688
728
|
displayName: string;
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
approverName: string | null;
|
|
693
|
-
approverEmail: string | null;
|
|
729
|
+
access: PrismaJson.AccessMethod | null;
|
|
730
|
+
teams: string[];
|
|
731
|
+
approver: PrismaJson.Approver | null;
|
|
694
732
|
notes: string | null;
|
|
695
733
|
tags: string[];
|
|
696
734
|
appUrl: string | null;
|
|
@@ -708,14 +746,12 @@ export declare const BackendMagazine: {
|
|
|
708
746
|
id: string;
|
|
709
747
|
createdAt: Date;
|
|
710
748
|
updatedAt: Date;
|
|
711
|
-
|
|
749
|
+
description: string;
|
|
712
750
|
slug: string;
|
|
713
751
|
displayName: string;
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
approverName: string | null;
|
|
718
|
-
approverEmail: string | null;
|
|
752
|
+
access: PrismaJson.AccessMethod | null;
|
|
753
|
+
teams: string[];
|
|
754
|
+
approver: PrismaJson.Approver | null;
|
|
719
755
|
notes: string | null;
|
|
720
756
|
tags: string[];
|
|
721
757
|
appUrl: string | null;
|
|
@@ -730,19 +766,48 @@ export declare const BackendMagazine: {
|
|
|
730
766
|
slug: string;
|
|
731
767
|
displayName: string;
|
|
732
768
|
description: string;
|
|
733
|
-
access
|
|
769
|
+
access?: {
|
|
734
770
|
[x: string]: unknown;
|
|
735
771
|
type: "email" | "bot" | "ticketing" | "self-service" | "documentation" | "manual";
|
|
736
|
-
};
|
|
772
|
+
} | undefined;
|
|
737
773
|
teams?: string[] | undefined;
|
|
738
|
-
roles?: {
|
|
739
|
-
id: string;
|
|
740
|
-
name: string;
|
|
741
|
-
description?: string | undefined;
|
|
742
|
-
}[] | undefined;
|
|
743
774
|
approver?: {
|
|
744
|
-
|
|
745
|
-
|
|
775
|
+
type: "bot";
|
|
776
|
+
comment?: string | undefined;
|
|
777
|
+
roles?: {
|
|
778
|
+
name: string;
|
|
779
|
+
description?: string | undefined;
|
|
780
|
+
}[] | undefined;
|
|
781
|
+
approvalPolicy?: string | undefined;
|
|
782
|
+
postApprovalInstructions?: string | undefined;
|
|
783
|
+
seeMoreUrls?: string[] | undefined;
|
|
784
|
+
url?: string | undefined;
|
|
785
|
+
prompt?: string | undefined;
|
|
786
|
+
} | {
|
|
787
|
+
type: "ticket";
|
|
788
|
+
comment?: string | undefined;
|
|
789
|
+
roles?: {
|
|
790
|
+
name: string;
|
|
791
|
+
description?: string | undefined;
|
|
792
|
+
}[] | undefined;
|
|
793
|
+
approvalPolicy?: string | undefined;
|
|
794
|
+
postApprovalInstructions?: string | undefined;
|
|
795
|
+
seeMoreUrls?: string[] | undefined;
|
|
796
|
+
url?: string | undefined;
|
|
797
|
+
requestFormTemplate?: string | undefined;
|
|
798
|
+
} | {
|
|
799
|
+
type: "person";
|
|
800
|
+
comment?: string | undefined;
|
|
801
|
+
roles?: {
|
|
802
|
+
name: string;
|
|
803
|
+
description?: string | undefined;
|
|
804
|
+
}[] | undefined;
|
|
805
|
+
approvalPolicy?: string | undefined;
|
|
806
|
+
postApprovalInstructions?: string | undefined;
|
|
807
|
+
seeMoreUrls?: string[] | undefined;
|
|
808
|
+
email?: string | undefined;
|
|
809
|
+
url?: string | undefined;
|
|
810
|
+
description?: string | undefined;
|
|
746
811
|
} | undefined;
|
|
747
812
|
notes?: string | undefined;
|
|
748
813
|
tags?: string[] | undefined;
|
|
@@ -758,14 +823,12 @@ export declare const BackendMagazine: {
|
|
|
758
823
|
id: string;
|
|
759
824
|
createdAt: Date;
|
|
760
825
|
updatedAt: Date;
|
|
761
|
-
|
|
826
|
+
description: string;
|
|
762
827
|
slug: string;
|
|
763
828
|
displayName: string;
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
approverName: string | null;
|
|
768
|
-
approverEmail: string | null;
|
|
829
|
+
access: PrismaJson.AccessMethod | null;
|
|
830
|
+
teams: string[];
|
|
831
|
+
approver: PrismaJson.Approver | null;
|
|
769
832
|
notes: string | null;
|
|
770
833
|
tags: string[];
|
|
771
834
|
appUrl: string | null;
|
|
@@ -786,14 +849,43 @@ export declare const BackendMagazine: {
|
|
|
786
849
|
type: "email" | "bot" | "ticketing" | "self-service" | "documentation" | "manual";
|
|
787
850
|
} | undefined;
|
|
788
851
|
teams?: string[] | undefined;
|
|
789
|
-
roles?: {
|
|
790
|
-
id: string;
|
|
791
|
-
name: string;
|
|
792
|
-
description?: string | undefined;
|
|
793
|
-
}[] | undefined;
|
|
794
852
|
approver?: {
|
|
795
|
-
|
|
796
|
-
|
|
853
|
+
type: "bot";
|
|
854
|
+
comment?: string | undefined;
|
|
855
|
+
roles?: {
|
|
856
|
+
name: string;
|
|
857
|
+
description?: string | undefined;
|
|
858
|
+
}[] | undefined;
|
|
859
|
+
approvalPolicy?: string | undefined;
|
|
860
|
+
postApprovalInstructions?: string | undefined;
|
|
861
|
+
seeMoreUrls?: string[] | undefined;
|
|
862
|
+
url?: string | undefined;
|
|
863
|
+
prompt?: string | undefined;
|
|
864
|
+
} | {
|
|
865
|
+
type: "ticket";
|
|
866
|
+
comment?: string | undefined;
|
|
867
|
+
roles?: {
|
|
868
|
+
name: string;
|
|
869
|
+
description?: string | undefined;
|
|
870
|
+
}[] | undefined;
|
|
871
|
+
approvalPolicy?: string | undefined;
|
|
872
|
+
postApprovalInstructions?: string | undefined;
|
|
873
|
+
seeMoreUrls?: string[] | undefined;
|
|
874
|
+
url?: string | undefined;
|
|
875
|
+
requestFormTemplate?: string | undefined;
|
|
876
|
+
} | {
|
|
877
|
+
type: "person";
|
|
878
|
+
comment?: string | undefined;
|
|
879
|
+
roles?: {
|
|
880
|
+
name: string;
|
|
881
|
+
description?: string | undefined;
|
|
882
|
+
}[] | undefined;
|
|
883
|
+
approvalPolicy?: string | undefined;
|
|
884
|
+
postApprovalInstructions?: string | undefined;
|
|
885
|
+
seeMoreUrls?: string[] | undefined;
|
|
886
|
+
email?: string | undefined;
|
|
887
|
+
url?: string | undefined;
|
|
888
|
+
description?: string | undefined;
|
|
797
889
|
} | undefined;
|
|
798
890
|
notes?: string | undefined;
|
|
799
891
|
tags?: string[] | undefined;
|
|
@@ -809,14 +901,12 @@ export declare const BackendMagazine: {
|
|
|
809
901
|
id: string;
|
|
810
902
|
createdAt: Date;
|
|
811
903
|
updatedAt: Date;
|
|
812
|
-
|
|
904
|
+
description: string;
|
|
813
905
|
slug: string;
|
|
814
906
|
displayName: string;
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
approverName: string | null;
|
|
819
|
-
approverEmail: string | null;
|
|
907
|
+
access: PrismaJson.AccessMethod | null;
|
|
908
|
+
teams: string[];
|
|
909
|
+
approver: PrismaJson.Approver | null;
|
|
820
910
|
notes: string | null;
|
|
821
911
|
tags: string[];
|
|
822
912
|
appUrl: string | null;
|
|
@@ -834,14 +924,12 @@ export declare const BackendMagazine: {
|
|
|
834
924
|
id: string;
|
|
835
925
|
createdAt: Date;
|
|
836
926
|
updatedAt: Date;
|
|
837
|
-
|
|
927
|
+
description: string;
|
|
838
928
|
slug: string;
|
|
839
929
|
displayName: string;
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
approverName: string | null;
|
|
844
|
-
approverEmail: string | null;
|
|
930
|
+
access: PrismaJson.AccessMethod | null;
|
|
931
|
+
teams: string[];
|
|
932
|
+
approver: PrismaJson.Approver | null;
|
|
845
933
|
notes: string | null;
|
|
846
934
|
tags: string[];
|
|
847
935
|
appUrl: string | null;
|