@raystack/proton 0.1.0-00c55b6ba2a3f425eca16ca3d36e172952e4824d

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 (278) hide show
  1. package/README.md +113 -0
  2. package/google/api/annotations_pb.d.ts +34 -0
  3. package/google/api/annotations_pb.js +36 -0
  4. package/google/api/annotations_pb.ts +39 -0
  5. package/google/api/field_behavior_pb.d.ts +134 -0
  6. package/google/api/field_behavior_pb.js +65 -0
  7. package/google/api/field_behavior_pb.ts +139 -0
  8. package/google/api/http_pb.d.ts +477 -0
  9. package/google/api/http_pb.js +47 -0
  10. package/google/api/http_pb.ts +482 -0
  11. package/google/api/httpbody_pb.d.ts +104 -0
  12. package/google/api/httpbody_pb.js +34 -0
  13. package/google/api/httpbody_pb.ts +108 -0
  14. package/index.d.ts +10 -0
  15. package/index.js +10 -0
  16. package/index.ts +10 -0
  17. package/package.json +94 -0
  18. package/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
  19. package/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
  20. package/protoc-gen-openapiv2/options/annotations_pb.ts +72 -0
  21. package/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
  22. package/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
  23. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1525 -0
  24. package/raystack/assets/index.d.ts +29 -0
  25. package/raystack/assets/index.js +29 -0
  26. package/raystack/assets/index.ts +29 -0
  27. package/raystack/assets/v1beta1/bucket_pb.d.ts +180 -0
  28. package/raystack/assets/v1beta1/bucket_pb.js +32 -0
  29. package/raystack/assets/v1beta1/bucket_pb.ts +190 -0
  30. package/raystack/assets/v1beta1/dashboard_pb.d.ts +217 -0
  31. package/raystack/assets/v1beta1/dashboard_pb.js +32 -0
  32. package/raystack/assets/v1beta1/dashboard_pb.ts +227 -0
  33. package/raystack/assets/v1beta1/event_pb.d.ts +52 -0
  34. package/raystack/assets/v1beta1/event_pb.js +20 -0
  35. package/raystack/assets/v1beta1/event_pb.ts +56 -0
  36. package/raystack/assets/v1beta1/group_pb.d.ts +105 -0
  37. package/raystack/assets/v1beta1/group_pb.js +30 -0
  38. package/raystack/assets/v1beta1/group_pb.ts +113 -0
  39. package/raystack/assets/v1beta1/job_pb.d.ts +78 -0
  40. package/raystack/assets/v1beta1/job_pb.js +25 -0
  41. package/raystack/assets/v1beta1/job_pb.ts +87 -0
  42. package/raystack/assets/v1beta1/lineage_pb.d.ts +43 -0
  43. package/raystack/assets/v1beta1/lineage_pb.js +20 -0
  44. package/raystack/assets/v1beta1/lineage_pb.ts +47 -0
  45. package/raystack/assets/v1beta1/ownership_pb.d.ts +78 -0
  46. package/raystack/assets/v1beta1/ownership_pb.js +26 -0
  47. package/raystack/assets/v1beta1/ownership_pb.ts +82 -0
  48. package/raystack/assets/v1beta1/preview_pb.d.ts +41 -0
  49. package/raystack/assets/v1beta1/preview_pb.js +20 -0
  50. package/raystack/assets/v1beta1/preview_pb.ts +45 -0
  51. package/raystack/assets/v1beta1/properties_pb.d.ts +44 -0
  52. package/raystack/assets/v1beta1/properties_pb.js +20 -0
  53. package/raystack/assets/v1beta1/properties_pb.ts +48 -0
  54. package/raystack/assets/v1beta1/resource_pb.d.ts +74 -0
  55. package/raystack/assets/v1beta1/resource_pb.js +19 -0
  56. package/raystack/assets/v1beta1/resource_pb.ts +77 -0
  57. package/raystack/assets/v1beta1/schema_pb.d.ts +169 -0
  58. package/raystack/assets/v1beta1/schema_pb.js +41 -0
  59. package/raystack/assets/v1beta1/schema_pb.ts +176 -0
  60. package/raystack/assets/v1beta1/table_pb.d.ts +192 -0
  61. package/raystack/assets/v1beta1/table_pb.js +41 -0
  62. package/raystack/assets/v1beta1/table_pb.ts +205 -0
  63. package/raystack/assets/v1beta1/timestamp_pb.d.ts +68 -0
  64. package/raystack/assets/v1beta1/timestamp_pb.js +27 -0
  65. package/raystack/assets/v1beta1/timestamp_pb.ts +73 -0
  66. package/raystack/assets/v1beta1/topic_pb.d.ts +125 -0
  67. package/raystack/assets/v1beta1/topic_pb.js +33 -0
  68. package/raystack/assets/v1beta1/topic_pb.ts +136 -0
  69. package/raystack/assets/v1beta1/user_pb.d.ts +216 -0
  70. package/raystack/assets/v1beta1/user_pb.js +37 -0
  71. package/raystack/assets/v1beta1/user_pb.ts +225 -0
  72. package/raystack/assets/v1beta2/application_pb.d.ts +59 -0
  73. package/raystack/assets/v1beta2/application_pb.js +20 -0
  74. package/raystack/assets/v1beta2/application_pb.ts +63 -0
  75. package/raystack/assets/v1beta2/asset_pb.d.ts +129 -0
  76. package/raystack/assets/v1beta2/asset_pb.js +21 -0
  77. package/raystack/assets/v1beta2/asset_pb.ts +134 -0
  78. package/raystack/assets/v1beta2/bucket_pb.d.ts +163 -0
  79. package/raystack/assets/v1beta2/bucket_pb.js +28 -0
  80. package/raystack/assets/v1beta2/bucket_pb.ts +169 -0
  81. package/raystack/assets/v1beta2/common_pb.d.ts +170 -0
  82. package/raystack/assets/v1beta2/common_pb.js +41 -0
  83. package/raystack/assets/v1beta2/common_pb.ts +177 -0
  84. package/raystack/assets/v1beta2/dashboard_pb.d.ts +192 -0
  85. package/raystack/assets/v1beta2/dashboard_pb.js +28 -0
  86. package/raystack/assets/v1beta2/dashboard_pb.ts +198 -0
  87. package/raystack/assets/v1beta2/experiment_pb.d.ts +134 -0
  88. package/raystack/assets/v1beta2/experiment_pb.js +27 -0
  89. package/raystack/assets/v1beta2/experiment_pb.ts +139 -0
  90. package/raystack/assets/v1beta2/feature_table_pb.d.ts +167 -0
  91. package/raystack/assets/v1beta2/feature_table_pb.js +34 -0
  92. package/raystack/assets/v1beta2/feature_table_pb.ts +173 -0
  93. package/raystack/assets/v1beta2/group_pb.d.ts +77 -0
  94. package/raystack/assets/v1beta2/group_pb.js +27 -0
  95. package/raystack/assets/v1beta2/group_pb.ts +82 -0
  96. package/raystack/assets/v1beta2/job_pb.d.ts +47 -0
  97. package/raystack/assets/v1beta2/job_pb.js +20 -0
  98. package/raystack/assets/v1beta2/job_pb.ts +51 -0
  99. package/raystack/assets/v1beta2/metric_pb.d.ts +83 -0
  100. package/raystack/assets/v1beta2/metric_pb.js +20 -0
  101. package/raystack/assets/v1beta2/metric_pb.ts +87 -0
  102. package/raystack/assets/v1beta2/model_pb.d.ts +227 -0
  103. package/raystack/assets/v1beta2/model_pb.js +41 -0
  104. package/raystack/assets/v1beta2/model_pb.ts +234 -0
  105. package/raystack/assets/v1beta2/table_pb.d.ts +283 -0
  106. package/raystack/assets/v1beta2/table_pb.js +48 -0
  107. package/raystack/assets/v1beta2/table_pb.ts +291 -0
  108. package/raystack/assets/v1beta2/topic_pb.d.ts +117 -0
  109. package/raystack/assets/v1beta2/topic_pb.js +34 -0
  110. package/raystack/assets/v1beta2/topic_pb.ts +123 -0
  111. package/raystack/assets/v1beta2/user_pb.d.ts +203 -0
  112. package/raystack/assets/v1beta2/user_pb.js +34 -0
  113. package/raystack/assets/v1beta2/user_pb.ts +209 -0
  114. package/raystack/common/index.d.ts +2 -0
  115. package/raystack/common/index.js +2 -0
  116. package/raystack/common/index.ts +2 -0
  117. package/raystack/common/v1/service-CommonService_connectquery.d.ts +10 -0
  118. package/raystack/common/v1/service-CommonService_connectquery.js +10 -0
  119. package/raystack/common/v1/service-CommonService_connectquery.ts +10 -0
  120. package/raystack/common/v1/service_pb.d.ts +100 -0
  121. package/raystack/common/v1/service_pb.js +42 -0
  122. package/raystack/common/v1/service_pb.ts +109 -0
  123. package/raystack/compass/index.d.ts +2 -0
  124. package/raystack/compass/index.js +2 -0
  125. package/raystack/compass/index.ts +2 -0
  126. package/raystack/compass/v1beta1/service-CompassService_connectquery.d.ts +184 -0
  127. package/raystack/compass/v1beta1/service-CompassService_connectquery.js +225 -0
  128. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +225 -0
  129. package/raystack/compass/v1beta1/service_pb.d.ts +2994 -0
  130. package/raystack/compass/v1beta1/service_pb.js +745 -0
  131. package/raystack/compass/v1beta1/service_pb.ts +3104 -0
  132. package/raystack/entropy/index.d.ts +4 -0
  133. package/raystack/entropy/index.js +4 -0
  134. package/raystack/entropy/index.ts +4 -0
  135. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.d.ts +26 -0
  136. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.js +30 -0
  137. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +30 -0
  138. package/raystack/entropy/v1beta1/module_pb.d.ts +261 -0
  139. package/raystack/entropy/v1beta1/module_pb.js +97 -0
  140. package/raystack/entropy/v1beta1/module_pb.ts +277 -0
  141. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.d.ts +34 -0
  142. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.js +40 -0
  143. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +40 -0
  144. package/raystack/entropy/v1beta1/resource_pb.d.ts +636 -0
  145. package/raystack/entropy/v1beta1/resource_pb.js +200 -0
  146. package/raystack/entropy/v1beta1/resource_pb.ts +666 -0
  147. package/raystack/frontier/index.d.ts +5 -0
  148. package/raystack/frontier/index.js +5 -0
  149. package/raystack/frontier/index.ts +5 -0
  150. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.d.ts +263 -0
  151. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.js +316 -0
  152. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +316 -0
  153. package/raystack/frontier/v1beta1/admin_pb.d.ts +3550 -0
  154. package/raystack/frontier/v1beta1/admin_pb.js +914 -0
  155. package/raystack/frontier/v1beta1/admin_pb.ts +3687 -0
  156. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.d.ts +746 -0
  157. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.js +915 -0
  158. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +915 -0
  159. package/raystack/frontier/v1beta1/frontier_pb.d.ts +8883 -0
  160. package/raystack/frontier/v1beta1/frontier_pb.js +2635 -0
  161. package/raystack/frontier/v1beta1/frontier_pb.ts +9265 -0
  162. package/raystack/frontier/v1beta1/models_pb.d.ts +2861 -0
  163. package/raystack/frontier/v1beta1/models_pb.js +450 -0
  164. package/raystack/frontier/v1beta1/models_pb.ts +2928 -0
  165. package/raystack/guardian/index.d.ts +2 -0
  166. package/raystack/guardian/index.js +2 -0
  167. package/raystack/guardian/index.ts +2 -0
  168. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.d.ts +168 -0
  169. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.js +207 -0
  170. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +207 -0
  171. package/raystack/guardian/v1beta1/guardian_pb.d.ts +3537 -0
  172. package/raystack/guardian/v1beta1/guardian_pb.js +823 -0
  173. package/raystack/guardian/v1beta1/guardian_pb.ts +3659 -0
  174. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.d.ts +18 -0
  175. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.js +20 -0
  176. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +20 -0
  177. package/raystack/optimus/core/v1beta1/backup_pb.d.ts +256 -0
  178. package/raystack/optimus/core/v1beta1/backup_pb.js +77 -0
  179. package/raystack/optimus/core/v1beta1/backup_pb.ts +270 -0
  180. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.d.ts +30 -0
  181. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.js +33 -0
  182. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +33 -0
  183. package/raystack/optimus/core/v1beta1/job_run_pb.d.ts +410 -0
  184. package/raystack/optimus/core/v1beta1/job_run_pb.js +127 -0
  185. package/raystack/optimus/core/v1beta1/job_run_pb.ts +430 -0
  186. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.d.ts +98 -0
  187. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.js +112 -0
  188. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +112 -0
  189. package/raystack/optimus/core/v1beta1/job_spec_pb.d.ts +1953 -0
  190. package/raystack/optimus/core/v1beta1/job_spec_pb.js +487 -0
  191. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +2025 -0
  192. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.d.ts +24 -0
  193. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.js +26 -0
  194. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +26 -0
  195. package/raystack/optimus/core/v1beta1/namespace_pb.d.ts +180 -0
  196. package/raystack/optimus/core/v1beta1/namespace_pb.js +69 -0
  197. package/raystack/optimus/core/v1beta1/namespace_pb.ts +192 -0
  198. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.d.ts +24 -0
  199. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.js +26 -0
  200. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +26 -0
  201. package/raystack/optimus/core/v1beta1/project_pb.d.ts +166 -0
  202. package/raystack/optimus/core/v1beta1/project_pb.js +69 -0
  203. package/raystack/optimus/core/v1beta1/project_pb.ts +178 -0
  204. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.d.ts +22 -0
  205. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.js +25 -0
  206. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +25 -0
  207. package/raystack/optimus/core/v1beta1/replay_pb.d.ts +331 -0
  208. package/raystack/optimus/core/v1beta1/replay_pb.js +91 -0
  209. package/raystack/optimus/core/v1beta1/replay_pb.ts +347 -0
  210. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.d.ts +43 -0
  211. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.js +48 -0
  212. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +48 -0
  213. package/raystack/optimus/core/v1beta1/resource_pb.d.ts +507 -0
  214. package/raystack/optimus/core/v1beta1/resource_pb.js +134 -0
  215. package/raystack/optimus/core/v1beta1/resource_pb.ts +530 -0
  216. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.d.ts +12 -0
  217. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.js +12 -0
  218. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +12 -0
  219. package/raystack/optimus/core/v1beta1/runtime_pb.d.ts +62 -0
  220. package/raystack/optimus/core/v1beta1/runtime_pb.js +36 -0
  221. package/raystack/optimus/core/v1beta1/runtime_pb.ts +69 -0
  222. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.d.ts +30 -0
  223. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.js +33 -0
  224. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +33 -0
  225. package/raystack/optimus/core/v1beta1/secret_pb.d.ts +250 -0
  226. package/raystack/optimus/core/v1beta1/secret_pb.js +84 -0
  227. package/raystack/optimus/core/v1beta1/secret_pb.ts +265 -0
  228. package/raystack/optimus/core/v1beta1/status_pb.d.ts +78 -0
  229. package/raystack/optimus/core/v1beta1/status_pb.js +31 -0
  230. package/raystack/optimus/core/v1beta1/status_pb.ts +82 -0
  231. package/raystack/optimus/integration/v1beta1/event_pb.d.ts +239 -0
  232. package/raystack/optimus/integration/v1beta1/event_pb.js +62 -0
  233. package/raystack/optimus/integration/v1beta1/event_pb.ts +250 -0
  234. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.d.ts +31 -0
  235. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.js +34 -0
  236. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +34 -0
  237. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.d.ts +353 -0
  238. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.js +120 -0
  239. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +371 -0
  240. package/raystack/predator/index.d.ts +2 -0
  241. package/raystack/predator/index.js +2 -0
  242. package/raystack/predator/index.ts +2 -0
  243. package/raystack/predator/v1beta1/metrics_log_pb.d.ts +163 -0
  244. package/raystack/predator/v1beta1/metrics_log_pb.js +48 -0
  245. package/raystack/predator/v1beta1/metrics_log_pb.ts +171 -0
  246. package/raystack/predator/v1beta1/result_log_pb.d.ts +143 -0
  247. package/raystack/predator/v1beta1/result_log_pb.js +42 -0
  248. package/raystack/predator/v1beta1/result_log_pb.ts +151 -0
  249. package/raystack/raccoon/index.d.ts +2 -0
  250. package/raystack/raccoon/index.js +2 -0
  251. package/raystack/raccoon/index.ts +2 -0
  252. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.d.ts +10 -0
  253. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.js +10 -0
  254. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +10 -0
  255. package/raystack/raccoon/v1beta1/raccoon_pb.d.ts +268 -0
  256. package/raystack/raccoon/v1beta1/raccoon_pb.js +64 -0
  257. package/raystack/raccoon/v1beta1/raccoon_pb.ts +277 -0
  258. package/raystack/siren/index.d.ts +2 -0
  259. package/raystack/siren/index.js +2 -0
  260. package/raystack/siren/index.ts +2 -0
  261. package/raystack/siren/v1beta1/siren-SirenService_connectquery.d.ts +146 -0
  262. package/raystack/siren/v1beta1/siren-SirenService_connectquery.js +180 -0
  263. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +180 -0
  264. package/raystack/siren/v1beta1/siren_pb.d.ts +2281 -0
  265. package/raystack/siren/v1beta1/siren_pb.js +603 -0
  266. package/raystack/siren/v1beta1/siren_pb.ts +2371 -0
  267. package/raystack/stencil/index.d.ts +2 -0
  268. package/raystack/stencil/index.js +2 -0
  269. package/raystack/stencil/index.ts +2 -0
  270. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.d.ts +70 -0
  271. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.js +85 -0
  272. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +85 -0
  273. package/raystack/stencil/v1beta1/stencil_pb.d.ts +1057 -0
  274. package/raystack/stencil/v1beta1/stencil_pb.js +298 -0
  275. package/raystack/stencil/v1beta1/stencil_pb.ts +1102 -0
  276. package/validate/validate_pb.d.ts +1953 -0
  277. package/validate/validate_pb.js +223 -0
  278. package/validate/validate_pb.ts +1984 -0
package/README.md ADDED
@@ -0,0 +1,113 @@
1
+ # @raystack/proton
2
+
3
+ TypeScript/JavaScript client library for Raystack APIs generated from Protocol Buffer definitions.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @raystack/proton
9
+ ```
10
+
11
+ For browser applications using TanStack Query:
12
+ ```bash
13
+ npm install @raystack/proton @tanstack/react-query
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ### Browser (React)
19
+
20
+ ```typescript
21
+ import { FrontierService } from '@raystack/proton/frontier';
22
+ import { createConnectTransport } from '@connectrpc/connect-web';
23
+ import { createPromiseClient } from '@connectrpc/connect';
24
+
25
+ const transport = createConnectTransport({
26
+ baseUrl: 'https://api.example.com'
27
+ });
28
+
29
+ const client = createPromiseClient(FrontierService, transport);
30
+
31
+ const users = await client.listUsers({ pageSize: 10 });
32
+ ```
33
+
34
+ ### Node.js
35
+
36
+ ```typescript
37
+ import { FrontierService } from '@raystack/proton/frontier';
38
+ import { createConnectTransport } from '@connectrpc/connect-node';
39
+ import { createPromiseClient } from '@connectrpc/connect';
40
+
41
+ const transport = createConnectTransport({
42
+ baseUrl: 'https://api.example.com',
43
+ httpVersion: '2'
44
+ });
45
+
46
+ const client = createPromiseClient(FrontierService, transport);
47
+
48
+ const users = await client.listUsers({ pageSize: 10 });
49
+ ```
50
+
51
+ ### With TanStack Query
52
+
53
+ ```typescript
54
+ import { FrontierServiceQueries } from '@raystack/proton/frontier';
55
+ import { useQuery } from '@tanstack/react-query';
56
+
57
+ function UsersList() {
58
+ const { data, isLoading } = useQuery(
59
+ FrontierServiceQueries.listUsers(transport, { pageSize: 10 })
60
+ );
61
+
62
+ if (isLoading) return <div>Loading...</div>;
63
+
64
+ return (
65
+ <ul>
66
+ {data?.users?.map(user => (
67
+ <li key={user.id}>{user.name}</li>
68
+ ))}
69
+ </ul>
70
+ );
71
+ }
72
+ ```
73
+
74
+ ## Available Services
75
+
76
+ - `@raystack/proton/frontier` - Frontier API
77
+ - `@raystack/proton/compass` - Compass API
78
+ - `@raystack/proton/assets` - Assets API
79
+ - `@raystack/proton/guardian` - Guardian API
80
+ - `@raystack/proton/entropy` - Entropy API
81
+ - `@raystack/proton/optimus` - Optimus API
82
+ - `@raystack/proton/predator` - Predator API
83
+ - `@raystack/proton/raccoon` - Raccoon API
84
+ - `@raystack/proton/siren` - Siren API
85
+ - `@raystack/proton/stencil` - Stencil API
86
+ - `@raystack/proton/common` - Common utilities
87
+
88
+ Each service export includes:
89
+ - Service client (e.g., `FrontierService`)
90
+ - TanStack Query helpers (e.g., `FrontierServiceQueries`) - optional
91
+ - TypeScript types and interfaces
92
+
93
+ ## Dependencies
94
+
95
+ This package requires:
96
+ - `@bufbuild/protobuf` - Protocol Buffer runtime
97
+ - `@connectrpc/connect` - Connect RPC library
98
+ - `@connectrpc/connect-query` - Connect Query integration
99
+
100
+ Optional peer dependencies:
101
+ - `@tanstack/react-query` - For query hooks (browser only)
102
+
103
+ ## Documentation
104
+
105
+ For complete API documentation, visit the [Raystack Documentation](https://raystack.org/).
106
+
107
+ ## Repository
108
+
109
+ Source code and protobuf definitions: [raystack/proton](https://github.com/raystack/proton)
110
+
111
+ ## License
112
+
113
+ Apache 2.0
@@ -0,0 +1,34 @@
1
+ // Copyright 2015 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/annotations.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
20
+ import type { MethodOptions } from "@bufbuild/protobuf/wkt";
21
+ import type { HttpRule } from "./http_pb";
22
+
23
+ /**
24
+ * Describes the file google/api/annotations.proto.
25
+ */
26
+ export declare const file_google_api_annotations: GenFile;
27
+
28
+ /**
29
+ * See `HttpRule`.
30
+ *
31
+ * @generated from extension: google.api.HttpRule http = 72295728;
32
+ */
33
+ export declare const http: GenExtension<MethodOptions, HttpRule>;
34
+
@@ -0,0 +1,36 @@
1
+ // Copyright 2015 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/annotations.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
20
+ import { file_google_api_http } from "./http_pb";
21
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
22
+
23
+ /**
24
+ * Describes the file google/api/annotations.proto.
25
+ */
26
+ export const file_google_api_annotations = /*@__PURE__*/
27
+ fileDesc("Chxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvEgpnb29nbGUuYXBpOksKBGh0dHASHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiwyrwiIAEoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGVSBGh0dHBCbgoOY29tLmdvb2dsZS5hcGlCEEFubm90YXRpb25zUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [file_google_api_http, file_google_protobuf_descriptor]);
28
+
29
+ /**
30
+ * See `HttpRule`.
31
+ *
32
+ * @generated from extension: google.api.HttpRule http = 72295728;
33
+ */
34
+ export const http = /*@__PURE__*/
35
+ extDesc(file_google_api_annotations, 0);
36
+
@@ -0,0 +1,39 @@
1
+ // Copyright 2015 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/annotations.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
20
+ import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { HttpRule } from "./http_pb";
22
+ import { file_google_api_http } from "./http_pb";
23
+ import type { MethodOptions } from "@bufbuild/protobuf/wkt";
24
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
25
+
26
+ /**
27
+ * Describes the file google/api/annotations.proto.
28
+ */
29
+ export const file_google_api_annotations: GenFile = /*@__PURE__*/
30
+ fileDesc("Chxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvEgpnb29nbGUuYXBpOksKBGh0dHASHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiwyrwiIAEoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGVSBGh0dHBCbgoOY29tLmdvb2dsZS5hcGlCEEFubm90YXRpb25zUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [file_google_api_http, file_google_protobuf_descriptor]);
31
+
32
+ /**
33
+ * See `HttpRule`.
34
+ *
35
+ * @generated from extension: google.api.HttpRule http = 72295728;
36
+ */
37
+ export const http: GenExtension<MethodOptions, HttpRule> = /*@__PURE__*/
38
+ extDesc(file_google_api_annotations, 0);
39
+
@@ -0,0 +1,134 @@
1
+ // Copyright 2023 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/field_behavior.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
20
+ import type { FieldOptions } from "@bufbuild/protobuf/wkt";
21
+
22
+ /**
23
+ * Describes the file google/api/field_behavior.proto.
24
+ */
25
+ export declare const file_google_api_field_behavior: GenFile;
26
+
27
+ /**
28
+ * An indicator of the behavior of a given field (for example, that a field
29
+ * is required in requests, or given as output but ignored as input).
30
+ * This **does not** change the behavior in protocol buffers itself; it only
31
+ * denotes the behavior and may affect how API tooling handles the field.
32
+ *
33
+ * Note: This enum **may** receive new values in the future.
34
+ *
35
+ * @generated from enum google.api.FieldBehavior
36
+ */
37
+ export enum FieldBehavior {
38
+ /**
39
+ * Conventional default for enums. Do not use this.
40
+ *
41
+ * @generated from enum value: FIELD_BEHAVIOR_UNSPECIFIED = 0;
42
+ */
43
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
44
+
45
+ /**
46
+ * Specifically denotes a field as optional.
47
+ * While all fields in protocol buffers are optional, this may be specified
48
+ * for emphasis if appropriate.
49
+ *
50
+ * @generated from enum value: OPTIONAL = 1;
51
+ */
52
+ OPTIONAL = 1,
53
+
54
+ /**
55
+ * Denotes a field as required.
56
+ * This indicates that the field **must** be provided as part of the request,
57
+ * and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
58
+ *
59
+ * @generated from enum value: REQUIRED = 2;
60
+ */
61
+ REQUIRED = 2,
62
+
63
+ /**
64
+ * Denotes a field as output only.
65
+ * This indicates that the field is provided in responses, but including the
66
+ * field in a request does nothing (the server *must* ignore it and
67
+ * *must not* throw an error as a result of the field's presence).
68
+ *
69
+ * @generated from enum value: OUTPUT_ONLY = 3;
70
+ */
71
+ OUTPUT_ONLY = 3,
72
+
73
+ /**
74
+ * Denotes a field as input only.
75
+ * This indicates that the field is provided in requests, and the
76
+ * corresponding field is not included in output.
77
+ *
78
+ * @generated from enum value: INPUT_ONLY = 4;
79
+ */
80
+ INPUT_ONLY = 4,
81
+
82
+ /**
83
+ * Denotes a field as immutable.
84
+ * This indicates that the field may be set once in a request to create a
85
+ * resource, but may not be changed thereafter.
86
+ *
87
+ * @generated from enum value: IMMUTABLE = 5;
88
+ */
89
+ IMMUTABLE = 5,
90
+
91
+ /**
92
+ * Denotes that a (repeated) field is an unordered list.
93
+ * This indicates that the service may provide the elements of the list
94
+ * in any arbitrary order, rather than the order the user originally
95
+ * provided. Additionally, the list's order may or may not be stable.
96
+ *
97
+ * @generated from enum value: UNORDERED_LIST = 6;
98
+ */
99
+ UNORDERED_LIST = 6,
100
+
101
+ /**
102
+ * Denotes that this field returns a non-empty default value if not set.
103
+ * This indicates that if the user provides the empty value in a request,
104
+ * a non-empty value will be returned. The user will not be aware of what
105
+ * non-empty value to expect.
106
+ *
107
+ * @generated from enum value: NON_EMPTY_DEFAULT = 7;
108
+ */
109
+ NON_EMPTY_DEFAULT = 7,
110
+ }
111
+
112
+ /**
113
+ * Describes the enum google.api.FieldBehavior.
114
+ */
115
+ export declare const FieldBehaviorSchema: GenEnum<FieldBehavior>;
116
+
117
+ /**
118
+ * A designation of a specific field behavior (required, output only, etc.)
119
+ * in protobuf messages.
120
+ *
121
+ * Examples:
122
+ *
123
+ * string name = 1 [(google.api.field_behavior) = REQUIRED];
124
+ * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
125
+ * google.protobuf.Duration ttl = 1
126
+ * [(google.api.field_behavior) = INPUT_ONLY];
127
+ * google.protobuf.Timestamp expire_time = 1
128
+ * [(google.api.field_behavior) = OUTPUT_ONLY,
129
+ * (google.api.field_behavior) = IMMUTABLE];
130
+ *
131
+ * @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052;
132
+ */
133
+ export declare const field_behavior: GenExtension<FieldOptions, FieldBehavior[]>;
134
+
@@ -0,0 +1,65 @@
1
+ // Copyright 2023 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/field_behavior.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { enumDesc, extDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
20
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
21
+
22
+ /**
23
+ * Describes the file google/api/field_behavior.proto.
24
+ */
25
+ export const file_google_api_field_behavior = /*@__PURE__*/
26
+ fileDesc("Ch9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvEgpnb29nbGUuYXBpKqYBCg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0KCUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBzpgCg5maWVsZF9iZWhhdmlvchIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMYnAggAygOMhkuZ29vZ2xlLmFwaS5GaWVsZEJlaGF2aW9yUg1maWVsZEJlaGF2aW9yQnAKDmNvbS5nb29nbGUuYXBpQhJGaWVsZEJlaGF2aW9yUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [file_google_protobuf_descriptor]);
27
+
28
+ /**
29
+ * Describes the enum google.api.FieldBehavior.
30
+ */
31
+ export const FieldBehaviorSchema = /*@__PURE__*/
32
+ enumDesc(file_google_api_field_behavior, 0);
33
+
34
+ /**
35
+ * An indicator of the behavior of a given field (for example, that a field
36
+ * is required in requests, or given as output but ignored as input).
37
+ * This **does not** change the behavior in protocol buffers itself; it only
38
+ * denotes the behavior and may affect how API tooling handles the field.
39
+ *
40
+ * Note: This enum **may** receive new values in the future.
41
+ *
42
+ * @generated from enum google.api.FieldBehavior
43
+ */
44
+ export const FieldBehavior = /*@__PURE__*/
45
+ tsEnum(FieldBehaviorSchema);
46
+
47
+ /**
48
+ * A designation of a specific field behavior (required, output only, etc.)
49
+ * in protobuf messages.
50
+ *
51
+ * Examples:
52
+ *
53
+ * string name = 1 [(google.api.field_behavior) = REQUIRED];
54
+ * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
55
+ * google.protobuf.Duration ttl = 1
56
+ * [(google.api.field_behavior) = INPUT_ONLY];
57
+ * google.protobuf.Timestamp expire_time = 1
58
+ * [(google.api.field_behavior) = OUTPUT_ONLY,
59
+ * (google.api.field_behavior) = IMMUTABLE];
60
+ *
61
+ * @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052;
62
+ */
63
+ export const field_behavior = /*@__PURE__*/
64
+ extDesc(file_google_api_field_behavior, 0);
65
+
@@ -0,0 +1,139 @@
1
+ // Copyright 2023 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
16
+ // @generated from file google/api/field_behavior.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
20
+ import { enumDesc, extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { FieldOptions } from "@bufbuild/protobuf/wkt";
22
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
23
+
24
+ /**
25
+ * Describes the file google/api/field_behavior.proto.
26
+ */
27
+ export const file_google_api_field_behavior: GenFile = /*@__PURE__*/
28
+ fileDesc("Ch9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvEgpnb29nbGUuYXBpKqYBCg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0KCUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBzpgCg5maWVsZF9iZWhhdmlvchIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMYnAggAygOMhkuZ29vZ2xlLmFwaS5GaWVsZEJlaGF2aW9yUg1maWVsZEJlaGF2aW9yQnAKDmNvbS5nb29nbGUuYXBpQhJGaWVsZEJlaGF2aW9yUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [file_google_protobuf_descriptor]);
29
+
30
+ /**
31
+ * An indicator of the behavior of a given field (for example, that a field
32
+ * is required in requests, or given as output but ignored as input).
33
+ * This **does not** change the behavior in protocol buffers itself; it only
34
+ * denotes the behavior and may affect how API tooling handles the field.
35
+ *
36
+ * Note: This enum **may** receive new values in the future.
37
+ *
38
+ * @generated from enum google.api.FieldBehavior
39
+ */
40
+ export enum FieldBehavior {
41
+ /**
42
+ * Conventional default for enums. Do not use this.
43
+ *
44
+ * @generated from enum value: FIELD_BEHAVIOR_UNSPECIFIED = 0;
45
+ */
46
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
47
+
48
+ /**
49
+ * Specifically denotes a field as optional.
50
+ * While all fields in protocol buffers are optional, this may be specified
51
+ * for emphasis if appropriate.
52
+ *
53
+ * @generated from enum value: OPTIONAL = 1;
54
+ */
55
+ OPTIONAL = 1,
56
+
57
+ /**
58
+ * Denotes a field as required.
59
+ * This indicates that the field **must** be provided as part of the request,
60
+ * and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
61
+ *
62
+ * @generated from enum value: REQUIRED = 2;
63
+ */
64
+ REQUIRED = 2,
65
+
66
+ /**
67
+ * Denotes a field as output only.
68
+ * This indicates that the field is provided in responses, but including the
69
+ * field in a request does nothing (the server *must* ignore it and
70
+ * *must not* throw an error as a result of the field's presence).
71
+ *
72
+ * @generated from enum value: OUTPUT_ONLY = 3;
73
+ */
74
+ OUTPUT_ONLY = 3,
75
+
76
+ /**
77
+ * Denotes a field as input only.
78
+ * This indicates that the field is provided in requests, and the
79
+ * corresponding field is not included in output.
80
+ *
81
+ * @generated from enum value: INPUT_ONLY = 4;
82
+ */
83
+ INPUT_ONLY = 4,
84
+
85
+ /**
86
+ * Denotes a field as immutable.
87
+ * This indicates that the field may be set once in a request to create a
88
+ * resource, but may not be changed thereafter.
89
+ *
90
+ * @generated from enum value: IMMUTABLE = 5;
91
+ */
92
+ IMMUTABLE = 5,
93
+
94
+ /**
95
+ * Denotes that a (repeated) field is an unordered list.
96
+ * This indicates that the service may provide the elements of the list
97
+ * in any arbitrary order, rather than the order the user originally
98
+ * provided. Additionally, the list's order may or may not be stable.
99
+ *
100
+ * @generated from enum value: UNORDERED_LIST = 6;
101
+ */
102
+ UNORDERED_LIST = 6,
103
+
104
+ /**
105
+ * Denotes that this field returns a non-empty default value if not set.
106
+ * This indicates that if the user provides the empty value in a request,
107
+ * a non-empty value will be returned. The user will not be aware of what
108
+ * non-empty value to expect.
109
+ *
110
+ * @generated from enum value: NON_EMPTY_DEFAULT = 7;
111
+ */
112
+ NON_EMPTY_DEFAULT = 7,
113
+ }
114
+
115
+ /**
116
+ * Describes the enum google.api.FieldBehavior.
117
+ */
118
+ export const FieldBehaviorSchema: GenEnum<FieldBehavior> = /*@__PURE__*/
119
+ enumDesc(file_google_api_field_behavior, 0);
120
+
121
+ /**
122
+ * A designation of a specific field behavior (required, output only, etc.)
123
+ * in protobuf messages.
124
+ *
125
+ * Examples:
126
+ *
127
+ * string name = 1 [(google.api.field_behavior) = REQUIRED];
128
+ * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
129
+ * google.protobuf.Duration ttl = 1
130
+ * [(google.api.field_behavior) = INPUT_ONLY];
131
+ * google.protobuf.Timestamp expire_time = 1
132
+ * [(google.api.field_behavior) = OUTPUT_ONLY,
133
+ * (google.api.field_behavior) = IMMUTABLE];
134
+ *
135
+ * @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052;
136
+ */
137
+ export const field_behavior: GenExtension<FieldOptions, FieldBehavior[]> = /*@__PURE__*/
138
+ extDesc(file_google_api_field_behavior, 0);
139
+