@cobaltcore-dev/aurora 1.0.0 → 1.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 (205) hide show
  1. package/README.md +59 -9
  2. package/dist/client/App.d.ts +2 -1
  3. package/dist/client/AuroraApp.d.ts +45 -0
  4. package/dist/client/{AuthProvider-5TyZKZkx.mjs → AuthProvider-CVSAwW9f.mjs} +23 -9
  5. package/dist/client/AuthProvider-CVSAwW9f.mjs.map +1 -0
  6. package/dist/client/{ContentHeader-D64NtKvo.mjs → ContentHeader-CPJbgYWn.mjs} +18 -18
  7. package/dist/client/{ContentHeader-D64NtKvo.mjs.map → ContentHeader-CPJbgYWn.mjs.map} +1 -1
  8. package/dist/client/DeleteFlavorModal-V44QCJBd.mjs +773 -0
  9. package/dist/client/DeleteFlavorModal-V44QCJBd.mjs.map +1 -0
  10. package/dist/client/DynamicBreadcrumbContext-CVcUQFou.mjs +26 -0
  11. package/dist/client/DynamicBreadcrumbContext-CVcUQFou.mjs.map +1 -0
  12. package/dist/client/{FiltersInput-Bw8TFfwb.mjs → FiltersInput-CKI6zWnm.mjs} +22 -22
  13. package/dist/client/{FiltersInput-Bw8TFfwb.mjs.map → FiltersInput-CKI6zWnm.mjs.map} +1 -1
  14. package/dist/client/FloatingIpActionModals-CwEC5GR-.mjs +460 -0
  15. package/dist/client/FloatingIpActionModals-CwEC5GR-.mjs.map +1 -0
  16. package/dist/client/ImageToastNotifications-m6c3tVPb.mjs +1152 -0
  17. package/dist/client/ImageToastNotifications-m6c3tVPb.mjs.map +1 -0
  18. package/dist/client/{SortInput-DysAXpB3.mjs → SortInput-4g7nSTHW.mjs} +14 -14
  19. package/dist/client/SortInput-4g7nSTHW.mjs.map +1 -0
  20. package/dist/client/{TwoColumnDescriptionList-B3xunXmz.mjs → TwoColumnDescriptionList-NvgvErua.mjs} +6 -6
  21. package/dist/client/{TwoColumnDescriptionList-B3xunXmz.mjs.map → TwoColumnDescriptionList-NvgvErua.mjs.map} +1 -1
  22. package/dist/client/_-CAsCx-Ay.mjs +6 -0
  23. package/dist/client/_-CAsCx-Ay.mjs.map +1 -0
  24. package/dist/client/_auth-SrDjHL6j.mjs +12 -0
  25. package/dist/client/_auth-SrDjHL6j.mjs.map +1 -0
  26. package/dist/client/_flavorId-9PcBBW52.mjs +231 -0
  27. package/dist/client/_flavorId-9PcBBW52.mjs.map +1 -0
  28. package/dist/client/{_flavorId-Zj7LNL-R.mjs → _flavorId-a9Gu66R1.mjs} +3 -9
  29. package/dist/client/_flavorId-a9Gu66R1.mjs.map +1 -0
  30. package/dist/client/_floatingIpId-AE9Fu8l6.mjs +210 -0
  31. package/dist/client/_floatingIpId-AE9Fu8l6.mjs.map +1 -0
  32. package/dist/client/{_floatingIpId-DCQQpNO-.mjs → _floatingIpId-AZ11Ksmu.mjs} +3 -9
  33. package/dist/client/_floatingIpId-AZ11Ksmu.mjs.map +1 -0
  34. package/dist/client/_imageId-BtAql2Kr.mjs +570 -0
  35. package/dist/client/_imageId-BtAql2Kr.mjs.map +1 -0
  36. package/dist/client/_imageId-D76BxvFY.mjs +39 -0
  37. package/dist/client/_imageId-D76BxvFY.mjs.map +1 -0
  38. package/dist/client/_projectId-7Nl1MQTJ.mjs +99 -0
  39. package/dist/client/_projectId-7Nl1MQTJ.mjs.map +1 -0
  40. package/dist/client/_projectId-B3wmSala.mjs +281 -0
  41. package/dist/client/_projectId-B3wmSala.mjs.map +1 -0
  42. package/dist/client/_projectId-DPzv0CCp.mjs +77 -0
  43. package/dist/client/_projectId-DPzv0CCp.mjs.map +1 -0
  44. package/dist/client/_projectId-DfeVJy0G.mjs +30 -0
  45. package/dist/client/_projectId-DfeVJy0G.mjs.map +1 -0
  46. package/dist/client/_securityGroupId-C5huJNfO.mjs +1810 -0
  47. package/dist/client/_securityGroupId-C5huJNfO.mjs.map +1 -0
  48. package/dist/client/{_securityGroupId-Mj8NJT2-.mjs → _securityGroupId-D85mSigA.mjs} +3 -9
  49. package/dist/client/_securityGroupId-D85mSigA.mjs.map +1 -0
  50. package/dist/client/_serviceType-DS8DxsrP.mjs +20 -0
  51. package/dist/client/_serviceType-DS8DxsrP.mjs.map +1 -0
  52. package/dist/client/_serviceType-M8d9rOT6.mjs +6 -0
  53. package/dist/client/_serviceType-M8d9rOT6.mjs.map +1 -0
  54. package/dist/client/_storageType-BRWWJtow.mjs +14 -0
  55. package/dist/client/_storageType-BRWWJtow.mjs.map +1 -0
  56. package/dist/client/_storageType-CzZ4u9x_.mjs +12 -0
  57. package/dist/client/_storageType-CzZ4u9x_.mjs.map +1 -0
  58. package/dist/client/_storageType-Dy9uCVXr.mjs +845 -0
  59. package/dist/client/_storageType-Dy9uCVXr.mjs.map +1 -0
  60. package/dist/client/_storageType-zeSZe--V.mjs.map +1 -1
  61. package/dist/client/{about-WLyShNgE.mjs → about-BmQTyLWc.mjs} +2 -2
  62. package/dist/client/{about-WLyShNgE.mjs.map → about-BmQTyLWc.mjs.map} +1 -1
  63. package/dist/client/assets/{objectDownload.worker-BXFQIIU_.js.map → objectDownload.worker-CWWLPDyb.js.map} +1 -1
  64. package/dist/client/assets/{objectDownload.worker-ECvFtmOF.js.map → objectDownload.worker-kZlQuo3F.js.map} +1 -1
  65. package/dist/client/{aurora-IMO9HhqJ.mjs → aurora-CIml-f2f.mjs} +2 -2
  66. package/dist/client/{aurora-IMO9HhqJ.mjs.map → aurora-CIml-f2f.mjs.map} +1 -1
  67. package/dist/client/{build-DnD-T35u.mjs → build-WuxXRAqf.mjs} +2335 -2667
  68. package/dist/client/{build-DnD-T35u.mjs.map → build-WuxXRAqf.mjs.map} +1 -1
  69. package/dist/client/components/Breadcrumbs.d.ts +1 -0
  70. package/dist/client/components/ListToolbar/SortInput.d.ts +3 -0
  71. package/dist/client/context/BreadcrumbExtensionContext.d.ts +9 -0
  72. package/dist/client/context/DynamicBreadcrumbContext.d.ts +9 -0
  73. package/dist/client/{flavors-Cp0LEGOH.mjs → flavors-B0rbqffG.mjs} +3 -5
  74. package/dist/client/flavors-B0rbqffG.mjs.map +1 -0
  75. package/dist/client/flavors-DWMZ6TuJ.mjs.map +1 -1
  76. package/dist/client/flavors-Rl20bxVU.mjs +628 -0
  77. package/dist/client/flavors-Rl20bxVU.mjs.map +1 -0
  78. package/dist/client/floatingips-Cz9k80cc.mjs +8 -0
  79. package/dist/client/floatingips-Cz9k80cc.mjs.map +1 -0
  80. package/dist/client/floatingips-xbO_mu4f.mjs +576 -0
  81. package/dist/client/floatingips-xbO_mu4f.mjs.map +1 -0
  82. package/dist/client/hooks/useBreadcrumbs.d.ts +16 -0
  83. package/dist/client/hooks/usePushBreadcrumbs.d.ts +10 -0
  84. package/dist/client/hooks/useSetBreadcrumb.d.ts +11 -0
  85. package/dist/client/{hooks-CrriowRk.mjs → hooks-D0yKIumu.mjs} +2 -2
  86. package/dist/client/{hooks-CrriowRk.mjs.map → hooks-D0yKIumu.mjs.map} +1 -1
  87. package/dist/client/images-BGQv9kKT.mjs +1983 -0
  88. package/dist/client/images-BGQv9kKT.mjs.map +1 -0
  89. package/dist/client/{images-DWiM_72I.mjs → images-CPmMa4SQ.mjs} +3 -5
  90. package/dist/client/images-CPmMa4SQ.mjs.map +1 -0
  91. package/dist/client/images-NBf2bV43.mjs.map +1 -1
  92. package/dist/client/index.d.ts +9 -2
  93. package/dist/client/index.js +567 -695
  94. package/dist/client/index.js.map +1 -1
  95. package/dist/client/{md-DNzcRhmz.mjs → md-kvaGCNAK.mjs} +4 -22
  96. package/dist/client/{md-DNzcRhmz.mjs.map → md-kvaGCNAK.mjs.map} +1 -1
  97. package/dist/client/objects-BE_u5yRt.mjs +12950 -0
  98. package/dist/client/objects-BE_u5yRt.mjs.map +1 -0
  99. package/dist/client/objects-BN-59Th0.mjs +66 -0
  100. package/dist/client/objects-BN-59Th0.mjs.map +1 -0
  101. package/dist/client/objects-D9Luf9KB.mjs +66 -0
  102. package/dist/client/objects-D9Luf9KB.mjs.map +1 -0
  103. package/dist/client/projects-yiK0HGSA.mjs.map +1 -1
  104. package/dist/client/routeInfo-DP3v74Wg.mjs +19 -0
  105. package/dist/client/routeInfo-DP3v74Wg.mjs.map +1 -0
  106. package/dist/client/router.d.ts +2 -1
  107. package/dist/client/{routes-B05u5bk4.mjs → routes-CJj7SR_K.mjs} +2 -2
  108. package/dist/client/routes-CJj7SR_K.mjs.map +1 -0
  109. package/dist/client/routes-xofA3ksU.mjs +110 -0
  110. package/dist/client/routes-xofA3ksU.mjs.map +1 -0
  111. package/dist/client/securitygroups-BjhgLBHm.mjs +620 -0
  112. package/dist/client/securitygroups-BjhgLBHm.mjs.map +1 -0
  113. package/dist/client/securitygroups-CtKne8UQ.mjs +8 -0
  114. package/dist/client/securitygroups-CtKne8UQ.mjs.map +1 -0
  115. package/dist/client/{securitygroups-_7SYN2jN.mjs → securitygroups-DEJQBcxm.mjs} +3 -5
  116. package/dist/client/securitygroups-DEJQBcxm.mjs.map +1 -0
  117. package/dist/client/services-D1PbooD1.mjs +6 -0
  118. package/dist/client/services-D1PbooD1.mjs.map +1 -0
  119. package/dist/client/services-DEMVtFyn.mjs +9 -0
  120. package/dist/client/services-DEMVtFyn.mjs.map +1 -0
  121. package/dist/client/trpcClient.d.ts +153 -370
  122. package/dist/client/useBreadcrumbs-ha3IlaxX.mjs +54 -0
  123. package/dist/client/useBreadcrumbs-ha3IlaxX.mjs.map +1 -0
  124. package/dist/client/useModalTracking-BcOKTYRN.mjs +33 -0
  125. package/dist/client/useModalTracking-BcOKTYRN.mjs.map +1 -0
  126. package/dist/client/{useSecurityGroupPermissions-qPwm4mFt.mjs → useSecurityGroupPermissions-BOyLQLdC.mjs} +78 -12
  127. package/dist/client/useSecurityGroupPermissions-BOyLQLdC.mjs.map +1 -0
  128. package/dist/client/useSetBreadcrumb-tn7lBaQV.mjs +19 -0
  129. package/dist/client/useSetBreadcrumb-tn7lBaQV.mjs.map +1 -0
  130. package/dist/client/utils/formatSwiftDate.d.ts +30 -0
  131. package/dist/server/index.d.ts +179 -373
  132. package/dist/server/index.js +910 -530
  133. package/package.json +37 -38
  134. package/dist/client/AuthProvider-5TyZKZkx.mjs.map +0 -1
  135. package/dist/client/DeleteFlavorModal-C2K43ABZ.mjs +0 -732
  136. package/dist/client/DeleteFlavorModal-C2K43ABZ.mjs.map +0 -1
  137. package/dist/client/DeletePcaModal-D9v8E0Ki.mjs +0 -92
  138. package/dist/client/DeletePcaModal-D9v8E0Ki.mjs.map +0 -1
  139. package/dist/client/DetailsInfo-h7rPJ4Jf.mjs +0 -61
  140. package/dist/client/DetailsInfo-h7rPJ4Jf.mjs.map +0 -1
  141. package/dist/client/FloatingIpActionModals-BfEDfYg9.mjs +0 -417
  142. package/dist/client/FloatingIpActionModals-BfEDfYg9.mjs.map +0 -1
  143. package/dist/client/ImageToastNotifications-C0Tluzq-.mjs +0 -1125
  144. package/dist/client/ImageToastNotifications-C0Tluzq-.mjs.map +0 -1
  145. package/dist/client/RouteError-B-NPGIv7.mjs +0 -25
  146. package/dist/client/RouteError-B-NPGIv7.mjs.map +0 -1
  147. package/dist/client/SortInput-DysAXpB3.mjs.map +0 -1
  148. package/dist/client/StatusError-DX-GvLjq.mjs +0 -39
  149. package/dist/client/StatusError-DX-GvLjq.mjs.map +0 -1
  150. package/dist/client/_auth-R5H2yKFf.mjs +0 -11
  151. package/dist/client/_auth-R5H2yKFf.mjs.map +0 -1
  152. package/dist/client/_flavorId-Dit5mM8I.mjs +0 -210
  153. package/dist/client/_flavorId-Dit5mM8I.mjs.map +0 -1
  154. package/dist/client/_flavorId-Zj7LNL-R.mjs.map +0 -1
  155. package/dist/client/_floatingIpId-B0MCoqE3.mjs +0 -215
  156. package/dist/client/_floatingIpId-B0MCoqE3.mjs.map +0 -1
  157. package/dist/client/_floatingIpId-DCQQpNO-.mjs.map +0 -1
  158. package/dist/client/_imageId-CZYzBAVx.mjs +0 -558
  159. package/dist/client/_imageId-CZYzBAVx.mjs.map +0 -1
  160. package/dist/client/_pcaId-CHRRsWmO.mjs +0 -605
  161. package/dist/client/_pcaId-CHRRsWmO.mjs.map +0 -1
  162. package/dist/client/_projectId-B8wWSxPu.mjs +0 -98
  163. package/dist/client/_projectId-B8wWSxPu.mjs.map +0 -1
  164. package/dist/client/_projectId-C5DUYIjt.mjs +0 -291
  165. package/dist/client/_projectId-C5DUYIjt.mjs.map +0 -1
  166. package/dist/client/_projectId-D2pFfYIs.mjs +0 -46
  167. package/dist/client/_projectId-D2pFfYIs.mjs.map +0 -1
  168. package/dist/client/_projectId-DhSWowQo.mjs +0 -29
  169. package/dist/client/_projectId-DhSWowQo.mjs.map +0 -1
  170. package/dist/client/_securityGroupId-DZ4D4WwB.mjs +0 -1801
  171. package/dist/client/_securityGroupId-DZ4D4WwB.mjs.map +0 -1
  172. package/dist/client/_securityGroupId-Mj8NJT2-.mjs.map +0 -1
  173. package/dist/client/_storageType-C-9bNkmZ.mjs +0 -2211
  174. package/dist/client/_storageType-C-9bNkmZ.mjs.map +0 -1
  175. package/dist/client/components/Error/StatusError.d.ts +0 -11
  176. package/dist/client/components/ProjectView/ProjectInfoBox.d.ts +0 -12
  177. package/dist/client/flavors-Cp0LEGOH.mjs.map +0 -1
  178. package/dist/client/flavors-CwMbDRHm2.mjs +0 -650
  179. package/dist/client/flavors-CwMbDRHm2.mjs.map +0 -1
  180. package/dist/client/floatingips-ICwo-rV_.mjs +0 -591
  181. package/dist/client/floatingips-ICwo-rV_.mjs.map +0 -1
  182. package/dist/client/images-DOGZmr3D.mjs +0 -1937
  183. package/dist/client/images-DOGZmr3D.mjs.map +0 -1
  184. package/dist/client/images-DWiM_72I.mjs.map +0 -1
  185. package/dist/client/objects-D2MKUCxc.mjs +0 -56
  186. package/dist/client/objects-D2MKUCxc.mjs.map +0 -1
  187. package/dist/client/objects-DI1-tnKr.mjs +0 -56
  188. package/dist/client/objects-DI1-tnKr.mjs.map +0 -1
  189. package/dist/client/objects-DeK2WD5K.mjs +0 -10078
  190. package/dist/client/objects-DeK2WD5K.mjs.map +0 -1
  191. package/dist/client/pca-BokFv4Gz.mjs +0 -239
  192. package/dist/client/pca-BokFv4Gz.mjs.map +0 -1
  193. package/dist/client/pca-D5jHAl0b.mjs +0 -26
  194. package/dist/client/pca-D5jHAl0b.mjs.map +0 -1
  195. package/dist/client/pcaAccess-Br4kVjLQ.mjs +0 -9
  196. package/dist/client/pcaAccess-Br4kVjLQ.mjs.map +0 -1
  197. package/dist/client/routeInfo-CdTRlSxv.mjs +0 -32
  198. package/dist/client/routeInfo-CdTRlSxv.mjs.map +0 -1
  199. package/dist/client/routes-B05u5bk4.mjs.map +0 -1
  200. package/dist/client/routes-DOJr5onJ.mjs +0 -115
  201. package/dist/client/routes-DOJr5onJ.mjs.map +0 -1
  202. package/dist/client/securitygroups-Be2Qgmew.mjs +0 -595
  203. package/dist/client/securitygroups-Be2Qgmew.mjs.map +0 -1
  204. package/dist/client/securitygroups-_7SYN2jN.mjs.map +0 -1
  205. package/dist/client/useSecurityGroupPermissions-qPwm4mFt.mjs.map +0 -1
@@ -39,340 +39,6 @@ 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
- services: 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
- pca: {
49
- list: import('@trpc/server').TRPCQueryProcedure<{
50
- input: {
51
- project_id: string;
52
- limit?: number | undefined;
53
- next_page_marker?: string | undefined;
54
- };
55
- output: {
56
- certificate_authorities: {
57
- id: string;
58
- project_id: string;
59
- state: "FAILED" | "CREATING" | "AWAITING_CERTIFICATE" | "READY";
60
- certificate?: {
61
- pem: string;
62
- validity: {
63
- not_after: number;
64
- not_before?: number | undefined;
65
- };
66
- } | undefined;
67
- certificate_chain?: {
68
- certificates: {
69
- pem: string;
70
- }[];
71
- pem: string;
72
- } | undefined;
73
- configuration?: {
74
- subject: {
75
- named_attributes: {
76
- cn: string;
77
- c?: string[] | undefined;
78
- l?: string[] | undefined;
79
- o?: string[] | undefined;
80
- ou?: string[] | undefined;
81
- postal_code?: string[] | undefined;
82
- st?: string[] | undefined;
83
- serial_number?: string | undefined;
84
- street?: string[] | undefined;
85
- };
86
- additional_attribute?: {
87
- key: number[];
88
- value: string;
89
- }[] | undefined;
90
- };
91
- } | undefined;
92
- csr?: string | undefined;
93
- display_subject?: string | undefined;
94
- imported_certificate_chain?: string | undefined;
95
- }[];
96
- links: {
97
- href: string;
98
- rel: string;
99
- }[];
100
- next_page_marker?: string | undefined;
101
- };
102
- meta: object;
103
- }>;
104
- create: import('@trpc/server').TRPCMutationProcedure<{
105
- input: {
106
- project_id: string;
107
- configuration: {
108
- subject: {
109
- named_attributes: {
110
- cn: string;
111
- };
112
- };
113
- };
114
- };
115
- output: {
116
- id: string;
117
- project_id: string;
118
- state: "FAILED" | "CREATING" | "AWAITING_CERTIFICATE" | "READY";
119
- certificate?: {
120
- pem: string;
121
- validity: {
122
- not_after: number;
123
- not_before?: number | undefined;
124
- };
125
- } | undefined;
126
- certificate_chain?: {
127
- certificates: {
128
- pem: string;
129
- }[];
130
- pem: string;
131
- } | undefined;
132
- configuration?: {
133
- subject: {
134
- named_attributes: {
135
- cn: string;
136
- c?: string[] | undefined;
137
- l?: string[] | undefined;
138
- o?: string[] | undefined;
139
- ou?: string[] | undefined;
140
- postal_code?: string[] | undefined;
141
- st?: string[] | undefined;
142
- serial_number?: string | undefined;
143
- street?: string[] | undefined;
144
- };
145
- additional_attribute?: {
146
- key: number[];
147
- value: string;
148
- }[] | undefined;
149
- };
150
- } | undefined;
151
- csr?: string | undefined;
152
- display_subject?: string | undefined;
153
- imported_certificate_chain?: string | undefined;
154
- };
155
- meta: object;
156
- }>;
157
- getById: import('@trpc/server').TRPCQueryProcedure<{
158
- input: {
159
- project_id: string;
160
- certificate_authority_id: string;
161
- };
162
- output: {
163
- id: string;
164
- project_id: string;
165
- state: "FAILED" | "CREATING" | "AWAITING_CERTIFICATE" | "READY";
166
- certificate?: {
167
- pem: string;
168
- validity: {
169
- not_after: number;
170
- not_before?: number | undefined;
171
- };
172
- } | undefined;
173
- certificate_chain?: {
174
- certificates: {
175
- pem: string;
176
- }[];
177
- pem: string;
178
- } | undefined;
179
- configuration?: {
180
- subject: {
181
- named_attributes: {
182
- cn: string;
183
- c?: string[] | undefined;
184
- l?: string[] | undefined;
185
- o?: string[] | undefined;
186
- ou?: string[] | undefined;
187
- postal_code?: string[] | undefined;
188
- st?: string[] | undefined;
189
- serial_number?: string | undefined;
190
- street?: string[] | undefined;
191
- };
192
- additional_attribute?: {
193
- key: number[];
194
- value: string;
195
- }[] | undefined;
196
- };
197
- } | undefined;
198
- csr?: string | undefined;
199
- display_subject?: string | undefined;
200
- imported_certificate_chain?: string | undefined;
201
- };
202
- meta: object;
203
- }>;
204
- delete: import('@trpc/server').TRPCMutationProcedure<{
205
- input: {
206
- project_id: string;
207
- certificate_authority_id: string;
208
- };
209
- output: void;
210
- meta: object;
211
- }>;
212
- import: import('@trpc/server').TRPCMutationProcedure<{
213
- input: {
214
- project_id: string;
215
- certificate_authority_id: string;
216
- imported_certificate_chain: string;
217
- };
218
- output: {
219
- id: string;
220
- project_id: string;
221
- state: "FAILED" | "CREATING" | "AWAITING_CERTIFICATE" | "READY";
222
- certificate?: {
223
- pem: string;
224
- validity: {
225
- not_after: number;
226
- not_before?: number | undefined;
227
- };
228
- } | undefined;
229
- certificate_chain?: {
230
- certificates: {
231
- pem: string;
232
- }[];
233
- pem: string;
234
- } | undefined;
235
- configuration?: {
236
- subject: {
237
- named_attributes: {
238
- cn: string;
239
- c?: string[] | undefined;
240
- l?: string[] | undefined;
241
- o?: string[] | undefined;
242
- ou?: string[] | undefined;
243
- postal_code?: string[] | undefined;
244
- st?: string[] | undefined;
245
- serial_number?: string | undefined;
246
- street?: string[] | undefined;
247
- };
248
- additional_attribute?: {
249
- key: number[];
250
- value: string;
251
- }[] | undefined;
252
- };
253
- } | undefined;
254
- csr?: string | undefined;
255
- display_subject?: string | undefined;
256
- imported_certificate_chain?: string | undefined;
257
- };
258
- meta: object;
259
- }>;
260
- listCertificates: import('@trpc/server').TRPCQueryProcedure<{
261
- input: {
262
- project_id: string;
263
- certificate_authority_id: string;
264
- limit?: number | undefined;
265
- next_page_marker?: string | undefined;
266
- };
267
- output: {
268
- certificates: {
269
- certificate_authority_id: string;
270
- id: string;
271
- project_id: string;
272
- certificate?: {
273
- pem: string;
274
- validity: {
275
- not_after: number;
276
- not_before?: number | undefined;
277
- };
278
- } | undefined;
279
- certificate_chain?: {
280
- certificates: {
281
- pem: string;
282
- }[];
283
- pem: string;
284
- } | undefined;
285
- configuration?: {
286
- validity: {
287
- not_after: number;
288
- not_before?: number | undefined;
289
- };
290
- } | undefined;
291
- csr?: string | undefined;
292
- }[];
293
- links: {
294
- href: string;
295
- rel: string;
296
- }[];
297
- next_page_marker?: string | undefined;
298
- };
299
- meta: object;
300
- }>;
301
- createCertificate: import('@trpc/server').TRPCMutationProcedure<{
302
- input: {
303
- project_id: string;
304
- certificate_authority_id: string;
305
- csr: string;
306
- configuration: {
307
- validity: {
308
- not_after: number;
309
- not_before?: number | undefined;
310
- };
311
- };
312
- };
313
- output: {
314
- certificate_authority_id: string;
315
- id: string;
316
- project_id: string;
317
- certificate?: {
318
- pem: string;
319
- validity: {
320
- not_after: number;
321
- not_before?: number | undefined;
322
- };
323
- } | undefined;
324
- certificate_chain?: {
325
- certificates: {
326
- pem: string;
327
- }[];
328
- pem: string;
329
- } | undefined;
330
- configuration?: {
331
- validity: {
332
- not_after: number;
333
- not_before?: number | undefined;
334
- };
335
- } | undefined;
336
- csr?: string | undefined;
337
- };
338
- meta: object;
339
- }>;
340
- getByIdCertificate: import('@trpc/server').TRPCQueryProcedure<{
341
- input: {
342
- project_id: string;
343
- certificate_authority_id: string;
344
- certificate_id: string;
345
- };
346
- output: {
347
- certificate_authority_id: string;
348
- id: string;
349
- project_id: string;
350
- certificate?: {
351
- pem: string;
352
- validity: {
353
- not_after: number;
354
- not_before?: number | undefined;
355
- };
356
- } | undefined;
357
- certificate_chain?: {
358
- certificates: {
359
- pem: string;
360
- }[];
361
- pem: string;
362
- } | undefined;
363
- configuration?: {
364
- validity: {
365
- not_after: number;
366
- not_before?: number | undefined;
367
- };
368
- } | undefined;
369
- csr?: string | undefined;
370
- };
371
- meta: object;
372
- }>;
373
- };
374
- }>>;
375
- }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
376
42
  network: import('@trpc/server').TRPCBuiltRouter<{
377
43
  ctx: import('../server/context').AuroraPortalContext;
378
44
  meta: object;
@@ -459,7 +125,6 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
459
125
  create: import('@trpc/server').TRPCMutationProcedure<{
460
126
  input: {
461
127
  project_id: string;
462
- tenant_id: string;
463
128
  floating_network_id: string;
464
129
  fixed_ip_address?: string | undefined;
465
130
  floating_ip_address?: string | undefined;
@@ -2079,6 +1744,137 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
2079
1744
  meta: object;
2080
1745
  }>;
2081
1746
  }>>;
1747
+ lifecycle: import('@trpc/server').TRPCBuiltRouter<{
1748
+ ctx: import('../server/context').AuroraPortalContext;
1749
+ meta: object;
1750
+ errorShape: import('@trpc/server').TRPCDefaultErrorShape;
1751
+ transformer: false;
1752
+ }, import('@trpc/server').TRPCDecorateCreateRouterOptions<{
1753
+ get: import('@trpc/server').TRPCQueryProcedure<{
1754
+ input: {
1755
+ project_id: string;
1756
+ bucketName: string;
1757
+ };
1758
+ output: {
1759
+ rules: {
1760
+ Status: string;
1761
+ ID?: string | undefined;
1762
+ Prefix?: string | undefined;
1763
+ Filter?: {
1764
+ [x: string]: unknown;
1765
+ Prefix?: string | undefined;
1766
+ Tag?: {
1767
+ Key: string;
1768
+ Value: string;
1769
+ } | undefined;
1770
+ ObjectSizeGreaterThan?: number | undefined;
1771
+ ObjectSizeLessThan?: number | undefined;
1772
+ And?: {
1773
+ Prefix?: string | undefined;
1774
+ Tags?: {
1775
+ Key: string;
1776
+ Value: string;
1777
+ }[] | undefined;
1778
+ ObjectSizeGreaterThan?: number | undefined;
1779
+ ObjectSizeLessThan?: number | undefined;
1780
+ } | undefined;
1781
+ } | undefined;
1782
+ Expiration?: {
1783
+ [x: string]: unknown;
1784
+ Days?: number | undefined;
1785
+ Date?: string | Date | undefined;
1786
+ ExpiredObjectDeleteMarker?: boolean | undefined;
1787
+ } | undefined;
1788
+ Transitions?: {
1789
+ [x: string]: unknown;
1790
+ StorageClass: string;
1791
+ Days?: number | undefined;
1792
+ Date?: string | Date | undefined;
1793
+ }[] | undefined;
1794
+ NoncurrentVersionExpiration?: {
1795
+ [x: string]: unknown;
1796
+ NoncurrentDays?: number | undefined;
1797
+ NewerNoncurrentVersions?: number | undefined;
1798
+ } | undefined;
1799
+ NoncurrentVersionTransitions?: {
1800
+ [x: string]: unknown;
1801
+ StorageClass: string;
1802
+ NoncurrentDays?: number | undefined;
1803
+ NewerNoncurrentVersions?: number | undefined;
1804
+ }[] | undefined;
1805
+ AbortIncompleteMultipartUpload?: {
1806
+ [x: string]: unknown;
1807
+ DaysAfterInitiation?: number | undefined;
1808
+ } | undefined;
1809
+ }[] | null;
1810
+ skippedRuleCount: number;
1811
+ };
1812
+ meta: object;
1813
+ }>;
1814
+ set: import('@trpc/server').TRPCMutationProcedure<{
1815
+ input: {
1816
+ project_id: string;
1817
+ bucketName: string;
1818
+ lifecycleConfiguration: {
1819
+ Rules: {
1820
+ Status: "Enabled" | "Disabled";
1821
+ ID?: string | undefined;
1822
+ Prefix?: string | undefined;
1823
+ Filter?: {
1824
+ Prefix?: string | undefined;
1825
+ Tag?: {
1826
+ Key: string;
1827
+ Value: string;
1828
+ } | undefined;
1829
+ ObjectSizeGreaterThan?: number | undefined;
1830
+ ObjectSizeLessThan?: number | undefined;
1831
+ And?: {
1832
+ Prefix?: string | undefined;
1833
+ Tags?: {
1834
+ Key: string;
1835
+ Value: string;
1836
+ }[] | undefined;
1837
+ ObjectSizeGreaterThan?: number | undefined;
1838
+ ObjectSizeLessThan?: number | undefined;
1839
+ } | undefined;
1840
+ } | undefined;
1841
+ Expiration?: {
1842
+ Days?: number | undefined;
1843
+ Date?: string | undefined;
1844
+ ExpiredObjectDeleteMarker?: boolean | undefined;
1845
+ } | undefined;
1846
+ Transitions?: {
1847
+ StorageClass: string;
1848
+ Days?: number | undefined;
1849
+ Date?: string | undefined;
1850
+ }[] | undefined;
1851
+ NoncurrentVersionExpiration?: {
1852
+ NoncurrentDays: number;
1853
+ NewerNoncurrentVersions?: number | undefined;
1854
+ } | undefined;
1855
+ NoncurrentVersionTransitions?: {
1856
+ NoncurrentDays: number;
1857
+ StorageClass: string;
1858
+ NewerNoncurrentVersions?: number | undefined;
1859
+ }[] | undefined;
1860
+ AbortIncompleteMultipartUpload?: {
1861
+ DaysAfterInitiation: number;
1862
+ } | undefined;
1863
+ }[];
1864
+ };
1865
+ };
1866
+ output: boolean;
1867
+ meta: object;
1868
+ }>;
1869
+ delete: import('@trpc/server').TRPCMutationProcedure<{
1870
+ input: {
1871
+ project_id: string;
1872
+ bucketName: string;
1873
+ };
1874
+ output: boolean;
1875
+ meta: object;
1876
+ }>;
1877
+ }>>;
2082
1878
  }>>;
2083
1879
  };
2084
1880
  }> & import('@trpc/server').TRPCDecorateCreateRouterOptions<{
@@ -2215,6 +2011,7 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
2215
2011
  first?: string | undefined;
2216
2012
  next?: string | undefined;
2217
2013
  schema?: string | undefined;
2014
+ totalCount?: number | undefined;
2218
2015
  };
2219
2016
  meta: object;
2220
2017
  }>;
@@ -2298,6 +2095,7 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
2298
2095
  first?: string | undefined;
2299
2096
  next?: string | undefined;
2300
2097
  schema?: string | undefined;
2098
+ totalCount?: number | undefined;
2301
2099
  };
2302
2100
  meta: object;
2303
2101
  }>;
@@ -3013,46 +2811,36 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
3013
2811
  getCurrentUserSession: import('@trpc/server').TRPCQueryProcedure<{
3014
2812
  input: void;
3015
2813
  output: {
3016
- application_credential?: {
3017
- id: string;
3018
- name: string;
3019
- restricted: boolean;
3020
- };
3021
- audit_ids?: string[];
3022
- catalog?: {
3023
- endpoints: {
3024
- id: string;
3025
- interface: string;
3026
- region: string;
3027
- region_id: string;
3028
- url: string;
3029
- }[];
3030
- type: string;
3031
- id: string;
3032
- name: string;
3033
- }[];
3034
- expires_at: string;
3035
- issued_at: string;
3036
- methods: string[];
3037
2814
  roles: {
3038
2815
  id: string;
3039
2816
  name: string;
3040
2817
  }[];
3041
- system: {
3042
- all: boolean;
3043
- };
3044
- project?: {
2818
+ project: {
3045
2819
  domain?: {
3046
2820
  id?: string;
3047
2821
  name?: string;
3048
2822
  };
3049
2823
  id?: string;
3050
2824
  name?: string;
3051
- };
3052
- domain?: {
2825
+ } | undefined;
2826
+ domain: {
3053
2827
  id?: string;
3054
2828
  name?: string;
3055
- };
2829
+ } | undefined;
2830
+ catalog: {
2831
+ endpoints: {
2832
+ id: string;
2833
+ interface: string;
2834
+ region: string;
2835
+ region_id: string;
2836
+ url: string;
2837
+ }[];
2838
+ type: string;
2839
+ id: string;
2840
+ name: string;
2841
+ }[] | undefined;
2842
+ issued_at?: string | undefined;
2843
+ expires_at?: string | undefined;
3056
2844
  user: {
3057
2845
  domain: {
3058
2846
  id: string;
@@ -3065,11 +2853,6 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
3065
2853
  } | null;
3066
2854
  meta: object;
3067
2855
  }>;
3068
- getAuthToken: import('@trpc/server').TRPCQueryProcedure<{
3069
- input: void;
3070
- output: string | null;
3071
- meta: object;
3072
- }>;
3073
2856
  getCurrentScope: import('@trpc/server').TRPCQueryProcedure<{
3074
2857
  input: void;
3075
2858
  output: {
@@ -3104,7 +2887,7 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
3104
2887
  domain: {
3105
2888
  id?: string;
3106
2889
  name?: string;
3107
- } | undefined;
2890
+ };
3108
2891
  } | {
3109
2892
  project: {
3110
2893
  domain?: {
@@ -3113,7 +2896,7 @@ export declare const trpcReactClient: TRPCClient<import('@trpc/server').TRPCBuil
3113
2896
  };
3114
2897
  id?: string;
3115
2898
  name?: string;
3116
- } | undefined;
2899
+ };
3117
2900
  domain: {
3118
2901
  id?: string;
3119
2902
  name?: string;
@@ -0,0 +1,54 @@
1
+ import { t as e } from "./routeInfo-DP3v74Wg.mjs";
2
+ import { t } from "./DynamicBreadcrumbContext-CVcUQFou.mjs";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { createContext as r, useContext as i, useMemo as a, useState as o } from "react";
5
+ import { useMatches as s, useNavigate as c } from "@tanstack/react-router";
6
+ import { useLingui as l } from "@lingui/react";
7
+ //#region src/client/context/BreadcrumbExtensionContext.tsx
8
+ var u = /*#__PURE__*/ r({
9
+ breadcrumbs: [],
10
+ setBreadcrumbs: () => {}
11
+ });
12
+ function d({ children: e }) {
13
+ let [t, r] = o([]);
14
+ return /*#__PURE__*/ n(u.Provider, {
15
+ value: {
16
+ breadcrumbs: t,
17
+ setBreadcrumbs: r
18
+ },
19
+ children: e
20
+ });
21
+ }
22
+ //#endregion
23
+ //#region src/client/hooks/useBreadcrumbs.ts
24
+ function f() {
25
+ let { i18n: n, _: r } = l(), o = c(), u = s(), { crumbs: d } = i(t);
26
+ return a(() => {
27
+ let t = u.filter((t) => e(t.staticData) && t.staticData.crumb || d.has(t.routeId));
28
+ return t.map((r, i) => {
29
+ let a = d.get(r.routeId), s = e(r.staticData) ? r.staticData.crumb : void 0, c = a?.text ? p(a.text, n) : s?.text ? p(s.text, n) : void 0, l = a?.to ?? s?.to, u = a?.icon ?? s?.icon, f = i === t.length - 1;
30
+ return {
31
+ label: c,
32
+ icon: u,
33
+ onClick: f ? void 0 : () => o({
34
+ to: l ?? r.pathname,
35
+ params: r.params
36
+ }),
37
+ active: f
38
+ };
39
+ });
40
+ }, [
41
+ u,
42
+ d,
43
+ o,
44
+ n,
45
+ n.locale
46
+ ]);
47
+ }
48
+ function p(e, t) {
49
+ return typeof e == "string" ? e : t._(e);
50
+ }
51
+ //#endregion
52
+ export { u as n, d as r, f as t };
53
+
54
+ //# sourceMappingURL=useBreadcrumbs-ha3IlaxX.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBreadcrumbs-ha3IlaxX.mjs","names":["createContext","useState","BreadcrumbExtensionContext","breadcrumbs","setBreadcrumbs","BreadcrumbExtensionProvider","children","Provider","value","useMatches","useNavigate","useMemo","useContext","isRouteInfo","DynamicBreadcrumbContext","useBreadcrumbs","i18n","useLingui","navigate","matches","crumbs","dynamicCrumbs","crumbMatches","filter","m","staticData","crumb","has","routeId","map","match","i","dynamic","get","staticCrumb","undefined","crumbText","text","resolveCrumbText","crumbTo","to","crumbIcon","icon","isLast","length","label","onClick","pathname","params","active","locale","_"],"sources":["../../src/client/context/BreadcrumbExtensionContext.tsx","../../src/client/hooks/useBreadcrumbs.ts"],"sourcesContent":["import { createContext, useState } from \"react\"\nimport type { Dispatch, ReactNode, SetStateAction } from \"react\"\nimport type { BreadcrumbItem } from \"@/client/hooks/useBreadcrumbs\"\n\nexport const BreadcrumbExtensionContext = createContext<{\n breadcrumbs: BreadcrumbItem[]\n setBreadcrumbs: Dispatch<SetStateAction<BreadcrumbItem[]>>\n}>({ breadcrumbs: [], setBreadcrumbs: () => {} })\n\nexport function BreadcrumbExtensionProvider({ children }: { children: ReactNode }) {\n const [breadcrumbs, setBreadcrumbs] = useState<BreadcrumbItem[]>([])\n return (\n <BreadcrumbExtensionContext.Provider value={{ breadcrumbs, setBreadcrumbs }}>\n {children}\n </BreadcrumbExtensionContext.Provider>\n )\n}\n","import { useMatches, useNavigate } from \"@tanstack/react-router\"\nimport { useMemo, useContext } from \"react\"\nimport { useLingui } from \"@lingui/react/macro\"\nimport type { I18n } from \"@lingui/core\"\nimport type { MessageDescriptor } from \"@lingui/core\"\nimport { isRouteInfo, type RouteInfo } from \"@/client/routes/routeInfo\"\nimport { DynamicBreadcrumbContext } from \"@/client/context/DynamicBreadcrumbContext\"\n\n/**\n * Returns the ordered breadcrumb chain for the current route.\n * Reads static crumbs from route staticData and dynamic crumbs from useSetBreadcrumb.\n * Works with any TanStack Router instance — suitable for embedded sub-apps (e.g. SCI services).\n *\n * Requirements:\n * - Must be rendered inside DynamicBreadcrumbProvider and a lingui I18nProvider\n * - To include SCI extension crumbs in OSS, use the Breadcrumbs component which merges BreadcrumbExtensionContext\n */\nexport type BreadcrumbItem = {\n label?: string\n icon?: string\n onClick?: () => void\n active?: boolean\n}\n\nexport function useBreadcrumbs(): BreadcrumbItem[] {\n const { i18n } = useLingui()\n const navigate = useNavigate()\n const matches = useMatches()\n const { crumbs: dynamicCrumbs } = useContext(DynamicBreadcrumbContext)\n\n return useMemo(() => {\n const crumbMatches = matches.filter(\n (m) => (isRouteInfo(m.staticData) && (m.staticData as RouteInfo).crumb) || dynamicCrumbs.has(m.routeId)\n )\n\n return crumbMatches.map((match, i) => {\n const dynamic = dynamicCrumbs.get(match.routeId)\n const staticCrumb = isRouteInfo(match.staticData) ? (match.staticData as RouteInfo).crumb : undefined\n const crumbText = dynamic?.text\n ? resolveCrumbText(dynamic.text, i18n)\n : staticCrumb?.text\n ? resolveCrumbText(staticCrumb.text, i18n)\n : undefined\n const crumbTo = dynamic?.to ?? staticCrumb?.to\n const crumbIcon = dynamic?.icon ?? staticCrumb?.icon\n const isLast = i === crumbMatches.length - 1\n return {\n label: crumbText,\n icon: crumbIcon,\n onClick: isLast\n ? undefined\n : () => navigate({ to: (crumbTo ?? match.pathname) as never, params: match.params as never }),\n active: isLast,\n }\n })\n }, [matches, dynamicCrumbs, navigate, i18n, i18n.locale])\n}\n\nfunction resolveCrumbText(text: string | MessageDescriptor, i18n: I18n): string {\n return typeof text === \"string\" ? text : i18n._(text)\n}\n"],"mappings":";;;;;;;AAIA,IAAaE,IAA6BF,gBAGvC;CAAEG,aAAa,CAAA;CAAIC,sBAAgB,CAAO;AAAE,CAAA;AAE/C,SAAgBC,EAA4B,EAAEC,eAAmC;CAC/E,IAAM,CAACH,GAAaC,KAAkBH,EAA2B,CAAA,CAAE;CACnE,OACE,gBAACC,EAA2BK,UAAQ;EAACC,OAAO;GAAEL;GAAaC;EAAe;EACvEE;;AAGP;;;ACQA,SAAgBS,IAAAA;CACd,IAAM,EAAEC,SAAI,GAAA,MAAKC,EAAAA,GACXC,IAAWR,EAAAA,GACXS,IAAUV,EAAAA,GACV,EAAEW,QAAQC,MAAkBT,EAAWE,CAAAA;CAE7C,OAAOH,QAAQ;EACb,IAAMW,IAAeH,EAAQI,QAC1BC,MAAM,EAAaA,EAAEC,UAAU,KAAK,EAAGA,WAAyBC,SAAUL,EAAcM,IAAIH,EAAEI,OAAO,CAAA;EAGxG,OAAON,EAAaO,KAAKC,GAAOC,MAAAA;GAC9B,IAAMC,IAAUX,EAAcY,IAAIH,EAAMF,OAAO,GACzCM,IAAcrB,EAAYiB,EAAML,UAAU,IAAI,EAAOA,WAAyBC,QAAQS,KAAAA,GACtFC,IAAYJ,GAASK,OACvBC,EAAiBN,EAAQK,MAAMrB,CAAAA,IAC/BkB,GAAaG,OACXC,EAAiBJ,EAAYG,MAAMrB,CAAAA,IACnCmB,KAAAA,GACAI,IAAUP,GAASQ,MAAMN,GAAaM,IACtCC,IAAYT,GAASU,QAAQR,GAAaQ,MAC1CC,IAASZ,MAAMT,EAAasB,SAAS;GAC3C,OAAO;IACLC,OAAOT;IACPM,MAAMD;IACNK,SAASH,IACLR,KAAAA,UACMjB,EAAS;KAAEsB,IAAKD,KAAWT,EAAMiB;KAAoBC,QAAQlB,EAAMkB;IAAgB,CAAA;IAC7FC,QAAQN;GACV;EACF,CAAA;CACF,GAAG;EAACxB;EAASE;EAAeH;EAAUF;EAAMA,EAAKkC;CAAO,CAAA;AAC1D;AAEA,SAASZ,EAAiBD,GAAkCrB,GAAU;CACpE,OAAO,OAAOqB,KAAS,WAAWA,IAAOrB,EAAKmC,EAAEd,CAAAA;AAClD"}