@cobaltcore-dev/aurora 2.1.1 → 2.2.0

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.
Files changed (173) hide show
  1. package/README.md +31 -25
  2. package/dist/client/AuroraApp.d.ts +9 -2
  3. package/dist/client/context/AppConfigContext.d.ts +44 -0
  4. package/dist/client/index.d.ts +2 -0
  5. package/dist/client/index.js +41221 -845
  6. package/dist/client/index.js.map +1 -1
  7. package/dist/client/trpcClient.d.ts +314 -0
  8. package/dist/client/utils/appConfigGating.d.ts +21 -0
  9. package/dist/server/index.d.ts +694 -3
  10. package/dist/server/index.js +1748 -722
  11. package/package.json +3 -3
  12. package/dist/client/AuthProvider-CVSAwW9f.mjs +0 -83
  13. package/dist/client/AuthProvider-CVSAwW9f.mjs.map +0 -1
  14. package/dist/client/ContentHeader-fKKZVu-o.mjs +0 -116
  15. package/dist/client/ContentHeader-fKKZVu-o.mjs.map +0 -1
  16. package/dist/client/DeleteFlavorModal-C4nAi7gY.mjs +0 -724
  17. package/dist/client/DeleteFlavorModal-C4nAi7gY.mjs.map +0 -1
  18. package/dist/client/DynamicBreadcrumbContext-CVcUQFou.mjs +0 -26
  19. package/dist/client/DynamicBreadcrumbContext-CVcUQFou.mjs.map +0 -1
  20. package/dist/client/FiltersInput-Becwxo_J.mjs +0 -85
  21. package/dist/client/FiltersInput-Becwxo_J.mjs.map +0 -1
  22. package/dist/client/FloatingIpActionModals-Cq10WljB.mjs +0 -466
  23. package/dist/client/FloatingIpActionModals-Cq10WljB.mjs.map +0 -1
  24. package/dist/client/RouteIdLevelDefaultError-DPF_x2tG.mjs +0 -26
  25. package/dist/client/RouteIdLevelDefaultError-DPF_x2tG.mjs.map +0 -1
  26. package/dist/client/Slot-CWb612-_.mjs +0 -28
  27. package/dist/client/Slot-CWb612-_.mjs.map +0 -1
  28. package/dist/client/SortInput-4g7nSTHW.mjs +0 -34
  29. package/dist/client/SortInput-4g7nSTHW.mjs.map +0 -1
  30. package/dist/client/StorageNotFound-B-zVinVD.mjs +0 -30
  31. package/dist/client/StorageNotFound-B-zVinVD.mjs.map +0 -1
  32. package/dist/client/TwoColumnDescriptionList-DKS42RKa.mjs +0 -28
  33. package/dist/client/TwoColumnDescriptionList-DKS42RKa.mjs.map +0 -1
  34. package/dist/client/_-CAsCx-Ay.mjs +0 -6
  35. package/dist/client/_-CAsCx-Ay.mjs.map +0 -1
  36. package/dist/client/_auth-SrDjHL6j.mjs +0 -12
  37. package/dist/client/_auth-SrDjHL6j.mjs.map +0 -1
  38. package/dist/client/_flavorId-BPvssEzn.mjs +0 -277
  39. package/dist/client/_flavorId-BPvssEzn.mjs.map +0 -1
  40. package/dist/client/_flavorId-CFUBcU-l.mjs +0 -27
  41. package/dist/client/_flavorId-CFUBcU-l.mjs.map +0 -1
  42. package/dist/client/_flavorId-CZcIp0Ih.mjs +0 -22
  43. package/dist/client/_flavorId-CZcIp0Ih.mjs.map +0 -1
  44. package/dist/client/_floatingIpId-B8r64AL9.mjs +0 -196
  45. package/dist/client/_floatingIpId-B8r64AL9.mjs.map +0 -1
  46. package/dist/client/_floatingIpId-lEobpOER.mjs +0 -26
  47. package/dist/client/_floatingIpId-lEobpOER.mjs.map +0 -1
  48. package/dist/client/_imageId-BAezmV0Y.mjs +0 -526
  49. package/dist/client/_imageId-BAezmV0Y.mjs.map +0 -1
  50. package/dist/client/_imageId-D-jqz3e3.mjs +0 -40
  51. package/dist/client/_imageId-D-jqz3e3.mjs.map +0 -1
  52. package/dist/client/_imageId-gMdrdnVt.mjs +0 -22
  53. package/dist/client/_imageId-gMdrdnVt.mjs.map +0 -1
  54. package/dist/client/_projectId-BYccdAtX.mjs +0 -77
  55. package/dist/client/_projectId-BYccdAtX.mjs.map +0 -1
  56. package/dist/client/_projectId-CBjZC1tv.mjs +0 -283
  57. package/dist/client/_projectId-CBjZC1tv.mjs.map +0 -1
  58. package/dist/client/_projectId-CLEa1zgw.mjs +0 -30
  59. package/dist/client/_projectId-CLEa1zgw.mjs.map +0 -1
  60. package/dist/client/_projectId-D3VOH5lN.mjs +0 -94
  61. package/dist/client/_projectId-D3VOH5lN.mjs.map +0 -1
  62. package/dist/client/_securityGroupId-BwgZnoiR.mjs +0 -29
  63. package/dist/client/_securityGroupId-BwgZnoiR.mjs.map +0 -1
  64. package/dist/client/_securityGroupId-Cz2NUHdB.mjs +0 -1819
  65. package/dist/client/_securityGroupId-Cz2NUHdB.mjs.map +0 -1
  66. package/dist/client/_serviceType-DS8DxsrP.mjs +0 -20
  67. package/dist/client/_serviceType-DS8DxsrP.mjs.map +0 -1
  68. package/dist/client/_serviceType-M8d9rOT6.mjs +0 -6
  69. package/dist/client/_serviceType-M8d9rOT6.mjs.map +0 -1
  70. package/dist/client/_storageType-BNpP1A2N.mjs +0 -13
  71. package/dist/client/_storageType-BNpP1A2N.mjs.map +0 -1
  72. package/dist/client/_storageType-BxSGKhAI.mjs +0 -15
  73. package/dist/client/_storageType-BxSGKhAI.mjs.map +0 -1
  74. package/dist/client/_storageType-DZYCmiLt.mjs +0 -30
  75. package/dist/client/_storageType-DZYCmiLt.mjs.map +0 -1
  76. package/dist/client/_storageType-UqAMP-8d.mjs +0 -859
  77. package/dist/client/_storageType-UqAMP-8d.mjs.map +0 -1
  78. package/dist/client/_storageType-u51_7OwJ.mjs +0 -7
  79. package/dist/client/_storageType-u51_7OwJ.mjs.map +0 -1
  80. package/dist/client/about-BmQTyLWc.mjs +0 -92
  81. package/dist/client/about-BmQTyLWc.mjs.map +0 -1
  82. package/dist/client/assets/__mocks__/svgMock.d.ts +0 -3
  83. package/dist/client/aurora-CIml-f2f.mjs +0 -19
  84. package/dist/client/aurora-CIml-f2f.mjs.map +0 -1
  85. package/dist/client/build-WuxXRAqf.mjs +0 -14530
  86. package/dist/client/build-WuxXRAqf.mjs.map +0 -1
  87. package/dist/client/cn-DM4Cy3jv.mjs +0 -10
  88. package/dist/client/cn-DM4Cy3jv.mjs.map +0 -1
  89. package/dist/client/flavors-CJVSNz6R.mjs +0 -15
  90. package/dist/client/flavors-CJVSNz6R.mjs.map +0 -1
  91. package/dist/client/flavors-CflJDIEH.mjs +0 -667
  92. package/dist/client/flavors-CflJDIEH.mjs.map +0 -1
  93. package/dist/client/flavors-DWMZ6TuJ.mjs +0 -8
  94. package/dist/client/flavors-DWMZ6TuJ.mjs.map +0 -1
  95. package/dist/client/floatingips-Cz9k80cc.mjs +0 -8
  96. package/dist/client/floatingips-Cz9k80cc.mjs.map +0 -1
  97. package/dist/client/floatingips-DXnRlLvV.mjs +0 -551
  98. package/dist/client/floatingips-DXnRlLvV.mjs.map +0 -1
  99. package/dist/client/floatingips-HRbuLxiN.mjs +0 -22
  100. package/dist/client/floatingips-HRbuLxiN.mjs.map +0 -1
  101. package/dist/client/floatingips-nN1kQmsu.mjs +0 -14
  102. package/dist/client/floatingips-nN1kQmsu.mjs.map +0 -1
  103. package/dist/client/formatBytes-CZv_XyCY.mjs +0 -38
  104. package/dist/client/formatBytes-CZv_XyCY.mjs.map +0 -1
  105. package/dist/client/helpers-1PpYf-fC.mjs +0 -6
  106. package/dist/client/helpers-1PpYf-fC.mjs.map +0 -1
  107. package/dist/client/hooks-D0yKIumu.mjs +0 -22
  108. package/dist/client/hooks-D0yKIumu.mjs.map +0 -1
  109. package/dist/client/imageHelpers-DBhL2ebL.mjs +0 -1272
  110. package/dist/client/imageHelpers-DBhL2ebL.mjs.map +0 -1
  111. package/dist/client/images-BsylWUiH.mjs +0 -2011
  112. package/dist/client/images-BsylWUiH.mjs.map +0 -1
  113. package/dist/client/images-NBf2bV43.mjs +0 -8
  114. package/dist/client/images-NBf2bV43.mjs.map +0 -1
  115. package/dist/client/images-zQq1nSVv.mjs +0 -15
  116. package/dist/client/images-zQq1nSVv.mjs.map +0 -1
  117. package/dist/client/md-kvaGCNAK.mjs +0 -336
  118. package/dist/client/md-kvaGCNAK.mjs.map +0 -1
  119. package/dist/client/network-DuZm76BZ.mjs +0 -8
  120. package/dist/client/network-DuZm76BZ.mjs.map +0 -1
  121. package/dist/client/objects-BudUAfWY.mjs +0 -12909
  122. package/dist/client/objects-BudUAfWY.mjs.map +0 -1
  123. package/dist/client/objects-Dc7sKUr8.mjs +0 -67
  124. package/dist/client/objects-Dc7sKUr8.mjs.map +0 -1
  125. package/dist/client/objects-Dw7oeTq2.mjs +0 -80
  126. package/dist/client/objects-Dw7oeTq2.mjs.map +0 -1
  127. package/dist/client/objects-_g7nGIn5.mjs +0 -25
  128. package/dist/client/objects-_g7nGIn5.mjs.map +0 -1
  129. package/dist/client/objects-eBxvY6_n.mjs +0 -78
  130. package/dist/client/objects-eBxvY6_n.mjs.map +0 -1
  131. package/dist/client/projects-yiK0HGSA.mjs +0 -7
  132. package/dist/client/projects-yiK0HGSA.mjs.map +0 -1
  133. package/dist/client/routeInfo-DP3v74Wg.mjs +0 -19
  134. package/dist/client/routeInfo-DP3v74Wg.mjs.map +0 -1
  135. package/dist/client/routes-CJj7SR_K.mjs +0 -10
  136. package/dist/client/routes-CJj7SR_K.mjs.map +0 -1
  137. package/dist/client/routes-xofA3ksU.mjs +0 -110
  138. package/dist/client/routes-xofA3ksU.mjs.map +0 -1
  139. package/dist/client/securitygroups-CSmsBzUb.mjs +0 -581
  140. package/dist/client/securitygroups-CSmsBzUb.mjs.map +0 -1
  141. package/dist/client/securitygroups-CtKne8UQ.mjs +0 -8
  142. package/dist/client/securitygroups-CtKne8UQ.mjs.map +0 -1
  143. package/dist/client/securitygroups-T7kaNFEp.mjs +0 -15
  144. package/dist/client/securitygroups-T7kaNFEp.mjs.map +0 -1
  145. package/dist/client/securitygroups-WLB1_IM6.mjs +0 -22
  146. package/dist/client/securitygroups-WLB1_IM6.mjs.map +0 -1
  147. package/dist/client/securitygroups-o0IXZM6S.mjs +0 -14
  148. package/dist/client/securitygroups-o0IXZM6S.mjs.map +0 -1
  149. package/dist/client/serviceCatalog-B3lKWC9V.mjs +0 -6
  150. package/dist/client/serviceCatalog-B3lKWC9V.mjs.map +0 -1
  151. package/dist/client/services-D1PbooD1.mjs +0 -6
  152. package/dist/client/services-D1PbooD1.mjs.map +0 -1
  153. package/dist/client/services-DEMVtFyn.mjs +0 -9
  154. package/dist/client/services-DEMVtFyn.mjs.map +0 -1
  155. package/dist/client/storageProviders-CJ5rOh13.mjs +0 -15
  156. package/dist/client/storageProviders-CJ5rOh13.mjs.map +0 -1
  157. package/dist/client/trpcClient-D7gpR7YG.mjs +0 -71
  158. package/dist/client/trpcClient-D7gpR7YG.mjs.map +0 -1
  159. package/dist/client/useBreadcrumbs-ha3IlaxX.mjs +0 -54
  160. package/dist/client/useBreadcrumbs-ha3IlaxX.mjs.map +0 -1
  161. package/dist/client/useErrorTranslation-Dc0eE8Zt.mjs +0 -83
  162. package/dist/client/useErrorTranslation-Dc0eE8Zt.mjs.map +0 -1
  163. package/dist/client/useModal-DCs1OJh7.mjs +0 -12
  164. package/dist/client/useModal-DCs1OJh7.mjs.map +0 -1
  165. package/dist/client/useModalTracking-BYd37pXm.mjs +0 -37
  166. package/dist/client/useModalTracking-BYd37pXm.mjs.map +0 -1
  167. package/dist/client/useProjectId-DBc5lpoU.mjs +0 -11
  168. package/dist/client/useProjectId-DBc5lpoU.mjs.map +0 -1
  169. package/dist/client/useSecurityGroupPermissions--hK4aR8Y.mjs +0 -294
  170. package/dist/client/useSecurityGroupPermissions--hK4aR8Y.mjs.map +0 -1
  171. package/dist/client/useSetBreadcrumb-tn7lBaQV.mjs +0 -19
  172. package/dist/client/useSetBreadcrumb-tn7lBaQV.mjs.map +0 -1
  173. package/dist/client/utils/trpcErrors.d.ts +0 -13
@@ -39,6 +39,19 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
39
39
  errorShape: import('@trpc/server').TRPCDefaultErrorShape;
40
40
  transformer: false;
41
41
  }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
42
+ appConfig: import('@trpc/server').TRPCBuiltRouter<{
43
+ ctx: import('../server/context').AuroraPortalContext;
44
+ meta: object;
45
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
46
+ transformer: false;
47
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
48
+ get: import('@trpc/server').TRPCQueryProcedure<{
49
+ input: void;
50
+ output: import('.').ResolvedAppConfig;
51
+ meta: object;
52
+ }>;
53
+ }>>;
54
+ }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
42
55
  network: import('@trpc/server').TRPCBuiltRouter<{
43
56
  ctx: import('../server/context').AuroraPortalContext;
44
57
  meta: object;
@@ -617,6 +630,292 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
617
630
  meta: object;
618
631
  }>;
619
632
  };
633
+ routers: {
634
+ list: import('@trpc/server').TRPCQueryProcedure<{
635
+ input: {
636
+ project_id: string;
637
+ name?: string | undefined;
638
+ description?: string | undefined;
639
+ admin_state_up?: boolean | undefined;
640
+ sort_key?: "name" | "id" | "project_id" | "status" | "tenant_id" | "admin_state_up" | "flavor_id" | undefined;
641
+ sort_dir?: "asc" | "desc" | undefined;
642
+ tags?: string | undefined;
643
+ tags_any?: string | undefined;
644
+ not_tags?: string | undefined;
645
+ not_tags_any?: string | undefined;
646
+ searchTerm?: string | undefined;
647
+ status?: string | undefined;
648
+ has_gateway?: boolean | undefined;
649
+ };
650
+ output: import('../server/Network/types/router').RouterListItem[];
651
+ meta: object;
652
+ }>;
653
+ getById: import('@trpc/server').TRPCQueryProcedure<{
654
+ input: {
655
+ project_id: string;
656
+ router_id: string;
657
+ };
658
+ output: import('../server/Network/types/router').RouterDetails;
659
+ meta: object;
660
+ }>;
661
+ create: import('@trpc/server').TRPCMutationProcedure<{
662
+ input: {
663
+ project_id: string;
664
+ name: string;
665
+ description?: string | undefined;
666
+ admin_state_up?: boolean | undefined;
667
+ external_gateway_info?: {
668
+ network_id: string;
669
+ enable_snat?: boolean | undefined;
670
+ external_fixed_ips?: {
671
+ subnet_id?: string | undefined;
672
+ ip_address?: string | undefined;
673
+ }[] | undefined;
674
+ } | undefined;
675
+ distributed?: boolean | undefined;
676
+ ha?: boolean | undefined;
677
+ availability_zone_hints?: string[] | undefined;
678
+ enable_ndp_proxy?: boolean | undefined;
679
+ };
680
+ output: {
681
+ id: string;
682
+ name: string;
683
+ description: string;
684
+ status: string;
685
+ admin_state_up: boolean;
686
+ routes: {
687
+ destination: string;
688
+ nexthop: string;
689
+ }[];
690
+ project_id: string;
691
+ external_gateway_info?: {
692
+ network_id: string;
693
+ enable_snat?: boolean | undefined;
694
+ external_fixed_ips?: {
695
+ subnet_id: string;
696
+ ip_address: string;
697
+ }[] | undefined;
698
+ qos_policy_id?: string | null | undefined;
699
+ } | null | undefined;
700
+ distributed?: boolean | null | undefined;
701
+ ha?: boolean | null | undefined;
702
+ enable_ndp_proxy?: boolean | null | undefined;
703
+ enable_default_route_bfd?: boolean | null | undefined;
704
+ enable_default_route_ecmp?: boolean | null | undefined;
705
+ availability_zone_hints?: string[] | undefined;
706
+ availability_zones?: string[] | undefined;
707
+ flavor_id?: string | null | undefined;
708
+ tenant_id?: string | undefined;
709
+ revision_number?: number | undefined;
710
+ tags?: string[] | undefined;
711
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
712
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
713
+ };
714
+ meta: object;
715
+ }>;
716
+ update: import('@trpc/server').TRPCMutationProcedure<{
717
+ input: {
718
+ project_id: string;
719
+ router_id: string;
720
+ name?: string | undefined;
721
+ description?: string | undefined;
722
+ admin_state_up?: boolean | undefined;
723
+ routes?: {
724
+ destination: string;
725
+ nexthop: string;
726
+ }[] | undefined;
727
+ distributed?: boolean | undefined;
728
+ ha?: boolean | undefined;
729
+ enable_ndp_proxy?: boolean | undefined;
730
+ };
731
+ output: {
732
+ id: string;
733
+ name: string;
734
+ description: string;
735
+ status: string;
736
+ admin_state_up: boolean;
737
+ routes: {
738
+ destination: string;
739
+ nexthop: string;
740
+ }[];
741
+ project_id: string;
742
+ external_gateway_info?: {
743
+ network_id: string;
744
+ enable_snat?: boolean | undefined;
745
+ external_fixed_ips?: {
746
+ subnet_id: string;
747
+ ip_address: string;
748
+ }[] | undefined;
749
+ qos_policy_id?: string | null | undefined;
750
+ } | null | undefined;
751
+ distributed?: boolean | null | undefined;
752
+ ha?: boolean | null | undefined;
753
+ enable_ndp_proxy?: boolean | null | undefined;
754
+ enable_default_route_bfd?: boolean | null | undefined;
755
+ enable_default_route_ecmp?: boolean | null | undefined;
756
+ availability_zone_hints?: string[] | undefined;
757
+ availability_zones?: string[] | undefined;
758
+ flavor_id?: string | null | undefined;
759
+ tenant_id?: string | undefined;
760
+ revision_number?: number | undefined;
761
+ tags?: string[] | undefined;
762
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
763
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
764
+ };
765
+ meta: object;
766
+ }>;
767
+ setGateway: import('@trpc/server').TRPCMutationProcedure<{
768
+ input: {
769
+ project_id: string;
770
+ router_id: string;
771
+ external_gateway_info: {
772
+ network_id: string;
773
+ enable_snat?: boolean | undefined;
774
+ external_fixed_ips?: {
775
+ subnet_id?: string | undefined;
776
+ ip_address?: string | undefined;
777
+ }[] | undefined;
778
+ };
779
+ };
780
+ output: {
781
+ id: string;
782
+ name: string;
783
+ description: string;
784
+ status: string;
785
+ admin_state_up: boolean;
786
+ routes: {
787
+ destination: string;
788
+ nexthop: string;
789
+ }[];
790
+ project_id: string;
791
+ external_gateway_info?: {
792
+ network_id: string;
793
+ enable_snat?: boolean | undefined;
794
+ external_fixed_ips?: {
795
+ subnet_id: string;
796
+ ip_address: string;
797
+ }[] | undefined;
798
+ qos_policy_id?: string | null | undefined;
799
+ } | null | undefined;
800
+ distributed?: boolean | null | undefined;
801
+ ha?: boolean | null | undefined;
802
+ enable_ndp_proxy?: boolean | null | undefined;
803
+ enable_default_route_bfd?: boolean | null | undefined;
804
+ enable_default_route_ecmp?: boolean | null | undefined;
805
+ availability_zone_hints?: string[] | undefined;
806
+ availability_zones?: string[] | undefined;
807
+ flavor_id?: string | null | undefined;
808
+ tenant_id?: string | undefined;
809
+ revision_number?: number | undefined;
810
+ tags?: string[] | undefined;
811
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
812
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
813
+ };
814
+ meta: object;
815
+ }>;
816
+ clearGateway: import('@trpc/server').TRPCMutationProcedure<{
817
+ input: {
818
+ project_id: string;
819
+ router_id: string;
820
+ };
821
+ output: {
822
+ id: string;
823
+ name: string;
824
+ description: string;
825
+ status: string;
826
+ admin_state_up: boolean;
827
+ routes: {
828
+ destination: string;
829
+ nexthop: string;
830
+ }[];
831
+ project_id: string;
832
+ external_gateway_info?: {
833
+ network_id: string;
834
+ enable_snat?: boolean | undefined;
835
+ external_fixed_ips?: {
836
+ subnet_id: string;
837
+ ip_address: string;
838
+ }[] | undefined;
839
+ qos_policy_id?: string | null | undefined;
840
+ } | null | undefined;
841
+ distributed?: boolean | null | undefined;
842
+ ha?: boolean | null | undefined;
843
+ enable_ndp_proxy?: boolean | null | undefined;
844
+ enable_default_route_bfd?: boolean | null | undefined;
845
+ enable_default_route_ecmp?: boolean | null | undefined;
846
+ availability_zone_hints?: string[] | undefined;
847
+ availability_zones?: string[] | undefined;
848
+ flavor_id?: string | null | undefined;
849
+ tenant_id?: string | undefined;
850
+ revision_number?: number | undefined;
851
+ tags?: string[] | undefined;
852
+ created_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
853
+ updated_at?: (string & import('zod').$brand<"ISO8601Timestamp">) | undefined;
854
+ };
855
+ meta: object;
856
+ }>;
857
+ addInterface: import('@trpc/server').TRPCMutationProcedure<{
858
+ input: {
859
+ project_id: string;
860
+ router_id: string;
861
+ subnet_id?: string | undefined;
862
+ port_id?: string | undefined;
863
+ };
864
+ output: {
865
+ id: string;
866
+ port_id: string;
867
+ subnet_id?: string | undefined;
868
+ subnet_ids?: string[] | undefined;
869
+ network_id?: string | undefined;
870
+ project_id?: string | undefined;
871
+ tenant_id?: string | undefined;
872
+ tags?: string[] | undefined;
873
+ };
874
+ meta: object;
875
+ }>;
876
+ removeInterface: import('@trpc/server').TRPCMutationProcedure<{
877
+ input: {
878
+ project_id: string;
879
+ router_id: string;
880
+ subnet_id?: string | undefined;
881
+ port_id?: string | undefined;
882
+ };
883
+ output: {
884
+ id: string;
885
+ port_id: string;
886
+ subnet_id?: string | undefined;
887
+ subnet_ids?: string[] | undefined;
888
+ network_id?: string | undefined;
889
+ project_id?: string | undefined;
890
+ tenant_id?: string | undefined;
891
+ tags?: string[] | undefined;
892
+ };
893
+ meta: object;
894
+ }>;
895
+ delete: import('@trpc/server').TRPCMutationProcedure<{
896
+ input: {
897
+ project_id: string;
898
+ router_id: string;
899
+ };
900
+ output: boolean;
901
+ meta: object;
902
+ }>;
903
+ listInterfaces: import('@trpc/server').TRPCQueryProcedure<{
904
+ input: {
905
+ project_id: string;
906
+ router_id: string;
907
+ };
908
+ output: import('../server/Network/types/router').RouterInterface[];
909
+ meta: object;
910
+ }>;
911
+ listExtensions: import('@trpc/server').TRPCQueryProcedure<{
912
+ input: {
913
+ project_id: string;
914
+ };
915
+ output: import('../server/Network/types/router').RouterExtensionFlags;
916
+ meta: object;
917
+ }>;
918
+ };
620
919
  }>>;
621
920
  }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
622
921
  project: import('@trpc/server').TRPCBuiltRouter<{
@@ -1257,6 +1556,19 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
1257
1556
  input: {
1258
1557
  project_id: string;
1259
1558
  };
1559
+ output: {
1560
+ id: string;
1561
+ access: string;
1562
+ user_id: string;
1563
+ project_id: string;
1564
+ };
1565
+ meta: object;
1566
+ }>;
1567
+ reveal: import('@trpc/server').TRPCMutationProcedure<{
1568
+ input: {
1569
+ project_id: string;
1570
+ credentialId: string;
1571
+ };
1260
1572
  output: {
1261
1573
  id: string;
1262
1574
  access: string;
@@ -1289,6 +1601,8 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
1289
1601
  };
1290
1602
  output: {
1291
1603
  hasCredentials: boolean;
1604
+ endpoint: string;
1605
+ region: string;
1292
1606
  };
1293
1607
  meta: object;
1294
1608
  }>;
@@ -0,0 +1,21 @@
1
+ import { Slots } from '../AuroraApp';
2
+ import { SlotName, Visibility } from '../../types/appConfig';
3
+ /**
4
+ * Filter the registered slot components through the resolved slot visibility.
5
+ * - allowlist: only slots whose name is in `allow` render.
6
+ * - denylist: every slot renders except those in `deny`.
7
+ * - no visibility (default-open): all registered slots pass through unchanged.
8
+ */
9
+ export declare function gateSlots(slots: Slots | undefined, visibility: Visibility<SlotName> | undefined): Slots | undefined;
10
+ /**
11
+ * Turn the resolved service visibility into the `enabledServices`/`deniedServices` signals
12
+ * the router context exposes to the project routes.
13
+ * - allowlist: `enabledServices` is the allow list (only those show).
14
+ * - denylist: `deniedServices` is the deny list (everything else shows).
15
+ * - no visibility (default-open): fall back to the legacy `enabledServices` prop, which is
16
+ * superseded by appConfig and will be removed once all consumers migrate.
17
+ */
18
+ export declare function resolveServiceVisibility(fallbackEnabled: string[] | undefined, visibility: Visibility<string> | undefined): {
19
+ enabledServices?: string[];
20
+ deniedServices?: string[];
21
+ };