@spine-event-engine/proto 2.0.0-snapshot.10

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 (344) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +142 -0
  3. package/REFERENCE.md +83 -0
  4. package/dist/generated/grpc/health/v1/health_pb.d.ts +115 -0
  5. package/dist/generated/grpc/health/v1/health_pb.d.ts.map +1 -0
  6. package/dist/generated/grpc/health/v1/health_pb.js +58 -0
  7. package/dist/generated/grpc/health/v1/health_pb.js.map +1 -0
  8. package/dist/generated/proto-module.d.ts +61 -0
  9. package/dist/generated/proto-module.d.ts.map +1 -0
  10. package/dist/generated/proto-module.js +315 -0
  11. package/dist/generated/proto-module.js.map +1 -0
  12. package/dist/generated/spine/auth/authenticated_subscription_pb.d.ts +47 -0
  13. package/dist/generated/spine/auth/authenticated_subscription_pb.d.ts.map +1 -0
  14. package/dist/generated/spine/auth/authenticated_subscription_pb.js +20 -0
  15. package/dist/generated/spine/auth/authenticated_subscription_pb.js.map +1 -0
  16. package/dist/generated/spine/auth/authentication_service_pb.d.ts +79 -0
  17. package/dist/generated/spine/auth/authentication_service_pb.d.ts.map +1 -0
  18. package/dist/generated/spine/auth/authentication_service_pb.js +34 -0
  19. package/dist/generated/spine/auth/authentication_service_pb.js.map +1 -0
  20. package/dist/generated/spine/base/error_pb.d.ts +69 -0
  21. package/dist/generated/spine/base/error_pb.d.ts.map +1 -0
  22. package/dist/generated/spine/base/error_pb.js +19 -0
  23. package/dist/generated/spine/base/error_pb.js.map +1 -0
  24. package/dist/generated/spine/base/field_path_pb.d.ts +50 -0
  25. package/dist/generated/spine/base/field_path_pb.d.ts.map +1 -0
  26. package/dist/generated/spine/base/field_path_pb.js +18 -0
  27. package/dist/generated/spine/base/field_path_pb.js.map +1 -0
  28. package/dist/generated/spine/client/command_service_pb.d.ts +46 -0
  29. package/dist/generated/spine/client/command_service_pb.d.ts.map +1 -0
  30. package/dist/generated/spine/client/command_service_pb.js +21 -0
  31. package/dist/generated/spine/client/command_service_pb.js.map +1 -0
  32. package/dist/generated/spine/client/entities_pb.d.ts +37 -0
  33. package/dist/generated/spine/client/entities_pb.d.ts.map +1 -0
  34. package/dist/generated/spine/client/entities_pb.js +19 -0
  35. package/dist/generated/spine/client/entities_pb.js.map +1 -0
  36. package/dist/generated/spine/client/filters_pb.d.ts +279 -0
  37. package/dist/generated/spine/client/filters_pb.d.ts.map +1 -0
  38. package/dist/generated/spine/client/filters_pb.js +126 -0
  39. package/dist/generated/spine/client/filters_pb.js.map +1 -0
  40. package/dist/generated/spine/client/query_pb.d.ts +293 -0
  41. package/dist/generated/spine/client/query_pb.d.ts.map +1 -0
  42. package/dist/generated/spine/client/query_pb.js +132 -0
  43. package/dist/generated/spine/client/query_pb.js.map +1 -0
  44. package/dist/generated/spine/client/query_service_pb.d.ts +31 -0
  45. package/dist/generated/spine/client/query_service_pb.d.ts.map +1 -0
  46. package/dist/generated/spine/client/query_service_pb.js +21 -0
  47. package/dist/generated/spine/client/query_service_pb.js.map +1 -0
  48. package/dist/generated/spine/client/subscription_pb.d.ts +361 -0
  49. package/dist/generated/spine/client/subscription_pb.d.ts.map +1 -0
  50. package/dist/generated/spine/client/subscription_pb.js +137 -0
  51. package/dist/generated/spine/client/subscription_pb.js.map +1 -0
  52. package/dist/generated/spine/client/subscription_record_pb.d.ts +90 -0
  53. package/dist/generated/spine/client/subscription_record_pb.d.ts.map +1 -0
  54. package/dist/generated/spine/client/subscription_record_pb.js +52 -0
  55. package/dist/generated/spine/client/subscription_record_pb.js.map +1 -0
  56. package/dist/generated/spine/client/subscription_service_pb.d.ts +86 -0
  57. package/dist/generated/spine/client/subscription_service_pb.d.ts.map +1 -0
  58. package/dist/generated/spine/client/subscription_service_pb.js +36 -0
  59. package/dist/generated/spine/client/subscription_service_pb.js.map +1 -0
  60. package/dist/generated/spine/core/ack_pb.d.ts +47 -0
  61. package/dist/generated/spine/core/ack_pb.d.ts.map +1 -0
  62. package/dist/generated/spine/core/ack_pb.js +20 -0
  63. package/dist/generated/spine/core/ack_pb.js.map +1 -0
  64. package/dist/generated/spine/core/actor_context_pb.d.ts +74 -0
  65. package/dist/generated/spine/core/actor_context_pb.d.ts.map +1 -0
  66. package/dist/generated/spine/core/actor_context_pb.js +23 -0
  67. package/dist/generated/spine/core/actor_context_pb.js.map +1 -0
  68. package/dist/generated/spine/core/bounded_context_pb.d.ts +35 -0
  69. package/dist/generated/spine/core/bounded_context_pb.d.ts.map +1 -0
  70. package/dist/generated/spine/core/bounded_context_pb.js +18 -0
  71. package/dist/generated/spine/core/bounded_context_pb.js.map +1 -0
  72. package/dist/generated/spine/core/command_pb.d.ts +245 -0
  73. package/dist/generated/spine/core/command_pb.d.ts.map +1 -0
  74. package/dist/generated/spine/core/command_pb.js +106 -0
  75. package/dist/generated/spine/core/command_pb.js.map +1 -0
  76. package/dist/generated/spine/core/diagnostics_pb.d.ts +97 -0
  77. package/dist/generated/spine/core/diagnostics_pb.d.ts.map +1 -0
  78. package/dist/generated/spine/core/diagnostics_pb.js +27 -0
  79. package/dist/generated/spine/core/diagnostics_pb.js.map +1 -0
  80. package/dist/generated/spine/core/enrichment_pb.d.ts +85 -0
  81. package/dist/generated/spine/core/enrichment_pb.d.ts.map +1 -0
  82. package/dist/generated/spine/core/enrichment_pb.js +25 -0
  83. package/dist/generated/spine/core/enrichment_pb.js.map +1 -0
  84. package/dist/generated/spine/core/event_pb.d.ts +307 -0
  85. package/dist/generated/spine/core/event_pb.d.ts.map +1 -0
  86. package/dist/generated/spine/core/event_pb.js +80 -0
  87. package/dist/generated/spine/core/event_pb.js.map +1 -0
  88. package/dist/generated/spine/core/response_pb.d.ts +87 -0
  89. package/dist/generated/spine/core/response_pb.d.ts.map +1 -0
  90. package/dist/generated/spine/core/response_pb.js +27 -0
  91. package/dist/generated/spine/core/response_pb.js.map +1 -0
  92. package/dist/generated/spine/core/tenant_id_pb.d.ts +64 -0
  93. package/dist/generated/spine/core/tenant_id_pb.d.ts.map +1 -0
  94. package/dist/generated/spine/core/tenant_id_pb.js +20 -0
  95. package/dist/generated/spine/core/tenant_id_pb.js.map +1 -0
  96. package/dist/generated/spine/core/user_id_pb.d.ts +33 -0
  97. package/dist/generated/spine/core/user_id_pb.d.ts.map +1 -0
  98. package/dist/generated/spine/core/user_id_pb.js +18 -0
  99. package/dist/generated/spine/core/user_id_pb.js.map +1 -0
  100. package/dist/generated/spine/core/version_pb.d.ts +44 -0
  101. package/dist/generated/spine/core/version_pb.d.ts.map +1 -0
  102. package/dist/generated/spine/core/version_pb.js +19 -0
  103. package/dist/generated/spine/core/version_pb.js.map +1 -0
  104. package/dist/generated/spine/delivery/admin/admin_service_pb.d.ts +219 -0
  105. package/dist/generated/spine/delivery/admin/admin_service_pb.d.ts.map +1 -0
  106. package/dist/generated/spine/delivery/admin/admin_service_pb.js +75 -0
  107. package/dist/generated/spine/delivery/admin/admin_service_pb.js.map +1 -0
  108. package/dist/generated/spine/delivery/commands_pb.d.ts +181 -0
  109. package/dist/generated/spine/delivery/commands_pb.d.ts.map +1 -0
  110. package/dist/generated/spine/delivery/commands_pb.js +57 -0
  111. package/dist/generated/spine/delivery/commands_pb.js.map +1 -0
  112. package/dist/generated/spine/delivery/events_pb.d.ts +230 -0
  113. package/dist/generated/spine/delivery/events_pb.d.ts.map +1 -0
  114. package/dist/generated/spine/delivery/events_pb.js +63 -0
  115. package/dist/generated/spine/delivery/events_pb.js.map +1 -0
  116. package/dist/generated/spine/delivery/message_delivery_pb.d.ts +205 -0
  117. package/dist/generated/spine/delivery/message_delivery_pb.d.ts.map +1 -0
  118. package/dist/generated/spine/delivery/message_delivery_pb.js +50 -0
  119. package/dist/generated/spine/delivery/message_delivery_pb.js.map +1 -0
  120. package/dist/generated/spine/delivery/pick_up_outcome_pb.d.ts +58 -0
  121. package/dist/generated/spine/delivery/pick_up_outcome_pb.d.ts.map +1 -0
  122. package/dist/generated/spine/delivery/pick_up_outcome_pb.js +20 -0
  123. package/dist/generated/spine/delivery/pick_up_outcome_pb.js.map +1 -0
  124. package/dist/generated/spine/delivery/rejections_pb.d.ts +95 -0
  125. package/dist/generated/spine/delivery/rejections_pb.d.ts.map +1 -0
  126. package/dist/generated/spine/delivery/rejections_pb.js +32 -0
  127. package/dist/generated/spine/delivery/rejections_pb.js.map +1 -0
  128. package/dist/generated/spine/deployment/node_discovery_pb.d.ts +102 -0
  129. package/dist/generated/spine/deployment/node_discovery_pb.d.ts.map +1 -0
  130. package/dist/generated/spine/deployment/node_discovery_pb.js +32 -0
  131. package/dist/generated/spine/deployment/node_discovery_pb.js.map +1 -0
  132. package/dist/generated/spine/net/email_address_pb.d.ts +37 -0
  133. package/dist/generated/spine/net/email_address_pb.d.ts.map +1 -0
  134. package/dist/generated/spine/net/email_address_pb.js +18 -0
  135. package/dist/generated/spine/net/email_address_pb.js.map +1 -0
  136. package/dist/generated/spine/net/internet_domain_pb.d.ts +35 -0
  137. package/dist/generated/spine/net/internet_domain_pb.d.ts.map +1 -0
  138. package/dist/generated/spine/net/internet_domain_pb.js +18 -0
  139. package/dist/generated/spine/net/internet_domain_pb.js.map +1 -0
  140. package/dist/generated/spine/options_pb.d.ts +1932 -0
  141. package/dist/generated/spine/options_pb.d.ts.map +1 -0
  142. package/dist/generated/spine/options_pb.js +960 -0
  143. package/dist/generated/spine/options_pb.js.map +1 -0
  144. package/dist/generated/spine/server/catchup/catch_up_pb.d.ts +185 -0
  145. package/dist/generated/spine/server/catchup/catch_up_pb.d.ts.map +1 -0
  146. package/dist/generated/spine/server/catchup/catch_up_pb.js +77 -0
  147. package/dist/generated/spine/server/catchup/catch_up_pb.js.map +1 -0
  148. package/dist/generated/spine/server/delivery/delivery_events_pb.d.ts +79 -0
  149. package/dist/generated/spine/server/delivery/delivery_events_pb.d.ts.map +1 -0
  150. package/dist/generated/spine/server/delivery/delivery_events_pb.js +27 -0
  151. package/dist/generated/spine/server/delivery/delivery_events_pb.js.map +1 -0
  152. package/dist/generated/spine/server/delivery/delivery_pb.d.ts +265 -0
  153. package/dist/generated/spine/server/delivery/delivery_pb.d.ts.map +1 -0
  154. package/dist/generated/spine/server/delivery/delivery_pb.js +63 -0
  155. package/dist/generated/spine/server/delivery/delivery_pb.js.map +1 -0
  156. package/dist/generated/spine/server/delivery/inbox_pb.d.ts +272 -0
  157. package/dist/generated/spine/server/delivery/inbox_pb.d.ts.map +1 -0
  158. package/dist/generated/spine/server/delivery/inbox_pb.js +139 -0
  159. package/dist/generated/spine/server/delivery/inbox_pb.js.map +1 -0
  160. package/dist/generated/spine/server/entity/entity_pb.d.ts +146 -0
  161. package/dist/generated/spine/server/entity/entity_pb.d.ts.map +1 -0
  162. package/dist/generated/spine/server/entity/entity_pb.js +62 -0
  163. package/dist/generated/spine/server/entity/entity_pb.js.map +1 -0
  164. package/dist/generated/spine/server/entity/state_key_pb.d.ts +46 -0
  165. package/dist/generated/spine/server/entity/state_key_pb.d.ts.map +1 -0
  166. package/dist/generated/spine/server/entity/state_key_pb.js +19 -0
  167. package/dist/generated/spine/server/entity/state_key_pb.js.map +1 -0
  168. package/dist/generated/spine/server/integration/broker_pb.d.ts +152 -0
  169. package/dist/generated/spine/server/integration/broker_pb.d.ts.map +1 -0
  170. package/dist/generated/spine/server/integration/broker_pb.js +65 -0
  171. package/dist/generated/spine/server/integration/broker_pb.js.map +1 -0
  172. package/dist/generated/spine/server/server_environment_pb.d.ts +65 -0
  173. package/dist/generated/spine/server/server_environment_pb.d.ts.map +1 -0
  174. package/dist/generated/spine/server/server_environment_pb.js +53 -0
  175. package/dist/generated/spine/server/server_environment_pb.js.map +1 -0
  176. package/dist/generated/spine/server/transport/transport_pb.d.ts +33 -0
  177. package/dist/generated/spine/server/transport/transport_pb.d.ts.map +1 -0
  178. package/dist/generated/spine/server/transport/transport_pb.js +18 -0
  179. package/dist/generated/spine/server/transport/transport_pb.js.map +1 -0
  180. package/dist/generated/spine/string/template_string_pb.d.ts +66 -0
  181. package/dist/generated/spine/string/template_string_pb.d.ts.map +1 -0
  182. package/dist/generated/spine/string/template_string_pb.js +18 -0
  183. package/dist/generated/spine/string/template_string_pb.js.map +1 -0
  184. package/dist/generated/spine/system/server/entity_log_events_pb.d.ts +505 -0
  185. package/dist/generated/spine/system/server/entity_log_events_pb.d.ts.map +1 -0
  186. package/dist/generated/spine/system/server/entity_log_events_pb.js +84 -0
  187. package/dist/generated/spine/system/server/entity_log_events_pb.js.map +1 -0
  188. package/dist/generated/spine/system/server/entity_type_pb.d.ts +46 -0
  189. package/dist/generated/spine/system/server/entity_type_pb.d.ts.map +1 -0
  190. package/dist/generated/spine/system/server/entity_type_pb.js +18 -0
  191. package/dist/generated/spine/system/server/entity_type_pb.js.map +1 -0
  192. package/dist/generated/spine/time/time_pb.d.ts +393 -0
  193. package/dist/generated/spine/time/time_pb.d.ts.map +1 -0
  194. package/dist/generated/spine/time/time_pb.js +184 -0
  195. package/dist/generated/spine/time/time_pb.js.map +1 -0
  196. package/dist/generated/spine/time_options_pb.d.ts +106 -0
  197. package/dist/generated/spine/time_options_pb.d.ts.map +1 -0
  198. package/dist/generated/spine/time_options_pb.js +58 -0
  199. package/dist/generated/spine/time_options_pb.js.map +1 -0
  200. package/dist/generated/spine/ui/language_pb.d.ts +1140 -0
  201. package/dist/generated/spine/ui/language_pb.d.ts.map +1 -0
  202. package/dist/generated/spine/ui/language_pb.js +1141 -0
  203. package/dist/generated/spine/ui/language_pb.js.map +1 -0
  204. package/dist/generated/spine/validation/validation_error_pb.d.ts +156 -0
  205. package/dist/generated/spine/validation/validation_error_pb.d.ts.map +1 -0
  206. package/dist/generated/spine/validation/validation_error_pb.js +27 -0
  207. package/dist/generated/spine/validation/validation_error_pb.js.map +1 -0
  208. package/dist/src/auth/index.d.ts +6 -0
  209. package/dist/src/auth/index.d.ts.map +1 -0
  210. package/dist/src/auth/index.js +19 -0
  211. package/dist/src/auth/index.js.map +1 -0
  212. package/dist/src/client/index.d.ts +12 -0
  213. package/dist/src/client/index.d.ts.map +1 -0
  214. package/dist/src/client/index.js +25 -0
  215. package/dist/src/client/index.js.map +1 -0
  216. package/dist/src/delivery/index.d.ts +7 -0
  217. package/dist/src/delivery/index.d.ts.map +1 -0
  218. package/dist/src/delivery/index.js +20 -0
  219. package/dist/src/delivery/index.js.map +1 -0
  220. package/dist/src/delivery-server/index.d.ts +11 -0
  221. package/dist/src/delivery-server/index.d.ts.map +1 -0
  222. package/dist/src/delivery-server/index.js +24 -0
  223. package/dist/src/delivery-server/index.js.map +1 -0
  224. package/dist/src/deployment/index.d.ts +5 -0
  225. package/dist/src/deployment/index.d.ts.map +1 -0
  226. package/dist/src/deployment/index.js +18 -0
  227. package/dist/src/deployment/index.js.map +1 -0
  228. package/dist/src/index.d.ts +333 -0
  229. package/dist/src/index.d.ts.map +1 -0
  230. package/dist/src/index.js +310 -0
  231. package/dist/src/index.js.map +1 -0
  232. package/dist/src/model/proto-module.d.ts +20 -0
  233. package/dist/src/model/proto-module.d.ts.map +1 -0
  234. package/dist/src/model/proto-module.js +15 -0
  235. package/dist/src/model/proto-module.js.map +1 -0
  236. package/dist/tsconfig.tsbuildinfo +1 -0
  237. package/generated/.spine-proto-generation.json +1 -0
  238. package/generated/grpc/health/v1/health_pb.ts +141 -0
  239. package/generated/proto-module.ts +320 -0
  240. package/generated/spine/auth/authenticated_subscription_pb.ts +64 -0
  241. package/generated/spine/auth/authentication_service_pb.ts +103 -0
  242. package/generated/spine/base/error_pb.ts +86 -0
  243. package/generated/spine/base/field_path_pb.ts +63 -0
  244. package/generated/spine/client/command_service_pb.ts +60 -0
  245. package/generated/spine/client/entities_pb.ts +51 -0
  246. package/generated/spine/client/filters_pb.ts +322 -0
  247. package/generated/spine/client/query_pb.ts +345 -0
  248. package/generated/spine/client/query_service_pb.ts +45 -0
  249. package/generated/spine/client/subscription_pb.ts +414 -0
  250. package/generated/spine/client/subscription_record_pb.ts +114 -0
  251. package/generated/spine/client/subscription_service_pb.ts +100 -0
  252. package/generated/spine/core/ack_pb.ts +63 -0
  253. package/generated/spine/core/actor_context_pb.ts +96 -0
  254. package/generated/spine/core/bounded_context_pb.ts +48 -0
  255. package/generated/spine/core/command_pb.ts +287 -0
  256. package/generated/spine/core/diagnostics_pb.ts +120 -0
  257. package/generated/spine/core/enrichment_pb.ts +97 -0
  258. package/generated/spine/core/event_pb.ts +347 -0
  259. package/generated/spine/core/response_pb.ts +103 -0
  260. package/generated/spine/core/tenant_id_pb.ts +76 -0
  261. package/generated/spine/core/user_id_pb.ts +46 -0
  262. package/generated/spine/core/version_pb.ts +59 -0
  263. package/generated/spine/delivery/admin/admin_service_pb.ts +253 -0
  264. package/generated/spine/delivery/commands_pb.ts +219 -0
  265. package/generated/spine/delivery/events_pb.ts +276 -0
  266. package/generated/spine/delivery/message_delivery_pb.ts +236 -0
  267. package/generated/spine/delivery/pick_up_outcome_pb.ts +70 -0
  268. package/generated/spine/delivery/rejections_pb.ts +120 -0
  269. package/generated/spine/deployment/node_discovery_pb.ts +127 -0
  270. package/generated/spine/net/email_address_pb.ts +50 -0
  271. package/generated/spine/net/internet_domain_pb.ts +48 -0
  272. package/generated/spine/options_pb.ts +2104 -0
  273. package/generated/spine/server/catchup/catch_up_pb.ts +224 -0
  274. package/generated/spine/server/delivery/delivery_events_pb.ts +102 -0
  275. package/generated/spine/server/delivery/delivery_pb.ts +305 -0
  276. package/generated/spine/server/delivery/inbox_pb.ts +321 -0
  277. package/generated/spine/server/entity/entity_pb.ts +176 -0
  278. package/generated/spine/server/entity/state_key_pb.ts +61 -0
  279. package/generated/spine/server/integration/broker_pb.ts +183 -0
  280. package/generated/spine/server/server_environment_pb.ts +83 -0
  281. package/generated/spine/server/transport/transport_pb.ts +46 -0
  282. package/generated/spine/string/template_string_pb.ts +78 -0
  283. package/generated/spine/system/server/entity_log_events_pb.ts +587 -0
  284. package/generated/spine/system/server/entity_type_pb.ts +56 -0
  285. package/generated/spine/time/time_pb.ts +465 -0
  286. package/generated/spine/time_options_pb.ts +129 -0
  287. package/generated/spine/ui/language_pb.ts +1337 -0
  288. package/generated/spine/validation/validation_error_pb.ts +181 -0
  289. package/package.json +64 -0
  290. package/proto/README.md +81 -0
  291. package/proto/frozen-descriptor-set.sha256 +3 -0
  292. package/proto/grpc/health/v1/health.proto +63 -0
  293. package/proto/spine/auth/authenticated_subscription.proto +36 -0
  294. package/proto/spine/auth/authentication_service.proto +47 -0
  295. package/proto/spine/base/error.proto +68 -0
  296. package/proto/spine/base/field_path.proto +59 -0
  297. package/proto/spine/client/command_service.proto +62 -0
  298. package/proto/spine/client/entities.proto +48 -0
  299. package/proto/spine/client/filters.proto +170 -0
  300. package/proto/spine/client/query.proto +186 -0
  301. package/proto/spine/client/query_service.proto +46 -0
  302. package/proto/spine/client/subscription.proto +220 -0
  303. package/proto/spine/client/subscription_record.proto +55 -0
  304. package/proto/spine/client/subscription_service.proto +86 -0
  305. package/proto/spine/core/ack.proto +55 -0
  306. package/proto/spine/core/actor_context.proto +76 -0
  307. package/proto/spine/core/bounded_context.proto +47 -0
  308. package/proto/spine/core/command.proto +170 -0
  309. package/proto/spine/core/diagnostics.proto +86 -0
  310. package/proto/spine/core/enrichment.proto +70 -0
  311. package/proto/spine/core/event.proto +197 -0
  312. package/proto/spine/core/response.proto +71 -0
  313. package/proto/spine/core/tenant_id.proto +61 -0
  314. package/proto/spine/core/user_id.proto +42 -0
  315. package/proto/spine/core/version.proto +63 -0
  316. package/proto/spine/delivery/admin/admin_service.proto +110 -0
  317. package/proto/spine/delivery/commands.proto +86 -0
  318. package/proto/spine/delivery/events.proto +107 -0
  319. package/proto/spine/delivery/message_delivery.proto +90 -0
  320. package/proto/spine/delivery/pick_up_outcome.proto +40 -0
  321. package/proto/spine/delivery/rejections.proto +49 -0
  322. package/proto/spine/deployment/node_discovery.proto +59 -0
  323. package/proto/spine/net/email_address.proto +46 -0
  324. package/proto/spine/net/internet_domain.proto +43 -0
  325. package/proto/spine/options.proto +1628 -0
  326. package/proto/spine/server/catchup/catch_up.proto +123 -0
  327. package/proto/spine/server/delivery/delivery.proto +166 -0
  328. package/proto/spine/server/delivery/delivery_events.proto +72 -0
  329. package/proto/spine/server/delivery/inbox.proto +169 -0
  330. package/proto/spine/server/entity/entity.proto +105 -0
  331. package/proto/spine/server/entity/state_key.proto +55 -0
  332. package/proto/spine/server/integration/broker.proto +112 -0
  333. package/proto/spine/server/server_environment.proto +57 -0
  334. package/proto/spine/server/transport/transport.proto +42 -0
  335. package/proto/spine/string/template_string.proto +70 -0
  336. package/proto/spine/system/server/entity_log_events.proto +280 -0
  337. package/proto/spine/system/server/entity_type.proto +49 -0
  338. package/proto/spine/time/time.proto +221 -0
  339. package/proto/spine/time_options.proto +106 -0
  340. package/proto/spine/ui/language.proto +417 -0
  341. package/proto/spine/validation/validation_error.proto +133 -0
  342. package/proto/spine-sources.json +438 -0
  343. package/spine-proto-manifest.json +112 -0
  344. package/spine-proto.json +10 -0
@@ -0,0 +1,960 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/options.proto
4
+ */
5
+ import { enumDesc, extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
7
+ /**
8
+ * Describes the file spine/options.proto.
9
+ * Generated from Proto: spine/options.proto.
10
+ */
11
+ export const file_spine_options = /*@__PURE__*/ fileDesc("ChNzcGluZS9vcHRpb25zLnByb3RvIqUBCg9JZk1pc3NpbmdPcHRpb24SFgoKbXNnX2Zvcm1hdBgBIAEoCUICGAESEQoJZXJyb3JfbXNnGAIgASgJOmfqiiRjVGhlIGZpZWxkIGAke3BhcmVudC50eXBlfS4ke2ZpZWxkLnBhdGh9YCBvZiB0aGUgdHlwZSBgJHtmaWVsZC50eXBlfWAgbXVzdCBoYXZlIGEgbm9uLWRlZmF1bHQgdmFsdWUuItABCglNaW5PcHRpb24SDQoFdmFsdWUYASABKAkSEQoJZXhjbHVzaXZlGAIgASgIEhYKCm1zZ19mb3JtYXQYAyABKAlC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90b2J1Zi5GaWxlT3B0aW9ucxjYwQQgASgIUg9leHBlcmltZW50YWxBbGw6OQoIYmV0YV9hbGwSHC5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlvbnMY2cEEIAEoCFIHYmV0YUFsbDpJCghldmVyeV9pcxIcLmdvb2dsZS5wcm90b2J1Zi5GaWxlT3B0aW9ucxjawQQgASgLMg4uRXZlcnlJc09wdGlvblIHZXZlcnlJczpCCgtTUElfc2VydmljZRIfLmdvb2dsZS5wcm90b2J1Zi5TZXJ2aWNlT3B0aW9ucxjzwQQgASgIUgpTUElTZXJ2aWNlQjIKD2lvLnNwaW5lLm9wdGlvbkIMT3B0aW9uc1Byb3RvUAGqjSQNdHlwZS5zcGluZS5pb2IGcHJvdG8z", [file_google_protobuf_descriptor]);
12
+ /**
13
+ * Describes the message IfMissingOption.
14
+ * Use `create(IfMissingOptionSchema)` to create a new message.
15
+ * Generated from Proto: spine/options.proto.
16
+ */
17
+ export const IfMissingOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 0);
18
+ /**
19
+ * Describes the message MinOption.
20
+ * Use `create(MinOptionSchema)` to create a new message.
21
+ * Generated from Proto: spine/options.proto.
22
+ */
23
+ export const MinOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 1);
24
+ /**
25
+ * Describes the message MaxOption.
26
+ * Use `create(MaxOptionSchema)` to create a new message.
27
+ * Generated from Proto: spine/options.proto.
28
+ */
29
+ export const MaxOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 2);
30
+ /**
31
+ * Describes the message PatternOption.
32
+ * Use `create(PatternOptionSchema)` to create a new message.
33
+ * Generated from Proto: spine/options.proto.
34
+ */
35
+ export const PatternOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 3);
36
+ /**
37
+ * Describes the message PatternOption.Modifier.
38
+ * Use `create(PatternOption_ModifierSchema)` to create a new message.
39
+ * Generated from Proto: spine/options.proto.
40
+ */
41
+ export const PatternOption_ModifierSchema = /*@__PURE__*/ messageDesc(file_spine_options, 3, 0);
42
+ /**
43
+ * Describes the message IfInvalidOption.
44
+ * Use `create(IfInvalidOptionSchema)` to create a new message.
45
+ * @deprecated
46
+ * Generated from Proto: spine/options.proto.
47
+ */
48
+ export const IfInvalidOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 4);
49
+ /**
50
+ * Describes the message GoesOption.
51
+ * Use `create(GoesOptionSchema)` to create a new message.
52
+ * Generated from Proto: spine/options.proto.
53
+ */
54
+ export const GoesOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 5);
55
+ /**
56
+ * Describes the message EntityOption.
57
+ * Use `create(EntityOptionSchema)` to create a new message.
58
+ * Generated from Proto: spine/options.proto.
59
+ */
60
+ export const EntityOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 6);
61
+ /**
62
+ * A type of an entity for state of which the message is defined.
63
+ *
64
+ * @generated from enum EntityOption.Kind
65
+ * Generated from Proto: spine/options.proto.
66
+ */
67
+ export var EntityOption_Kind;
68
+ (function (EntityOption_Kind) {
69
+ /**
70
+ * Reserved for errors.
71
+ *
72
+ * @generated from enum value: KIND_UNKNOWN = 0;
73
+ */
74
+ EntityOption_Kind[EntityOption_Kind["KIND_UNKNOWN"] = 0] = "KIND_UNKNOWN";
75
+ /**
76
+ * The message is an aggregate state.
77
+ *
78
+ * @generated from enum value: AGGREGATE = 1;
79
+ */
80
+ EntityOption_Kind[EntityOption_Kind["AGGREGATE"] = 1] = "AGGREGATE";
81
+ /**
82
+ * The message is a state of a projection (same as "view").
83
+ *
84
+ * @generated from enum value: PROJECTION = 2;
85
+ */
86
+ EntityOption_Kind[EntityOption_Kind["PROJECTION"] = 2] = "PROJECTION";
87
+ /**
88
+ * The message is a state of a view (same as "projection").
89
+ *
90
+ * @generated from enum value: VIEW = 2;
91
+ */
92
+ EntityOption_Kind[EntityOption_Kind["VIEW"] = 2] = "VIEW";
93
+ /**
94
+ * The message is a state of a process manager.
95
+ *
96
+ * @generated from enum value: PROCESS_MANAGER = 3;
97
+ */
98
+ EntityOption_Kind[EntityOption_Kind["PROCESS_MANAGER"] = 3] = "PROCESS_MANAGER";
99
+ /**
100
+ * The message is a state of an entity, which is not of the type
101
+ * defined by other members of this enumeration.
102
+ *
103
+ * @generated from enum value: ENTITY = 4;
104
+ */
105
+ EntityOption_Kind[EntityOption_Kind["ENTITY"] = 4] = "ENTITY";
106
+ })(EntityOption_Kind || (EntityOption_Kind = {}));
107
+ /**
108
+ * Describes the enum EntityOption.Kind.
109
+ * Generated from Proto: spine/options.proto.
110
+ */
111
+ export const EntityOption_KindSchema = /*@__PURE__*/ enumDesc(file_spine_options, 6, 0);
112
+ /**
113
+ * The level of visibility of the entity to queries.
114
+ *
115
+ * @generated from enum EntityOption.Visibility
116
+ * Generated from Proto: spine/options.proto.
117
+ */
118
+ export var EntityOption_Visibility;
119
+ (function (EntityOption_Visibility) {
120
+ /**
121
+ * Default visibility is different for different types of entities:
122
+ * - for projections, "FULL" is default;
123
+ * - for aggregates, process managers, and other entities, "NONE" is default.
124
+ *
125
+ *
126
+ * @generated from enum value: DEFAULT = 0;
127
+ */
128
+ EntityOption_Visibility[EntityOption_Visibility["DEFAULT"] = 0] = "DEFAULT";
129
+ /**
130
+ * The entity is not visible to queries.
131
+ *
132
+ * @generated from enum value: NONE = 1;
133
+ */
134
+ EntityOption_Visibility[EntityOption_Visibility["NONE"] = 1] = "NONE";
135
+ /**
136
+ * Client-side applications can subscribe to updates of entities of this type.
137
+ *
138
+ * @generated from enum value: SUBSCRIBE = 2;
139
+ */
140
+ EntityOption_Visibility[EntityOption_Visibility["SUBSCRIBE"] = 2] = "SUBSCRIBE";
141
+ /**
142
+ * Client-side applications can query this type of entities.
143
+ *
144
+ * @generated from enum value: QUERY = 3;
145
+ */
146
+ EntityOption_Visibility[EntityOption_Visibility["QUERY"] = 3] = "QUERY";
147
+ /**
148
+ * Client-side applications can subscribe and query this type of entity.
149
+ *
150
+ * @generated from enum value: FULL = 4;
151
+ */
152
+ EntityOption_Visibility[EntityOption_Visibility["FULL"] = 4] = "FULL";
153
+ })(EntityOption_Visibility || (EntityOption_Visibility = {}));
154
+ /**
155
+ * Describes the enum EntityOption.Visibility.
156
+ * Generated from Proto: spine/options.proto.
157
+ */
158
+ export const EntityOption_VisibilitySchema = /*@__PURE__*/ enumDesc(file_spine_options, 6, 1);
159
+ /**
160
+ * Describes the message EveryIsOption.
161
+ * Use `create(EveryIsOptionSchema)` to create a new message.
162
+ * Generated from Proto: spine/options.proto.
163
+ */
164
+ export const EveryIsOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 7);
165
+ /**
166
+ * Describes the message IsOption.
167
+ * Use `create(IsOptionSchema)` to create a new message.
168
+ * Generated from Proto: spine/options.proto.
169
+ */
170
+ export const IsOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 8);
171
+ /**
172
+ * Describes the message CompareByOption.
173
+ * Use `create(CompareByOptionSchema)` to create a new message.
174
+ * Generated from Proto: spine/options.proto.
175
+ */
176
+ export const CompareByOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 9);
177
+ /**
178
+ * Describes the message IfSetAgainOption.
179
+ * Use `create(IfSetAgainOptionSchema)` to create a new message.
180
+ * Generated from Proto: spine/options.proto.
181
+ */
182
+ export const IfSetAgainOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 10);
183
+ /**
184
+ * Describes the message IfHasDuplicatesOption.
185
+ * Use `create(IfHasDuplicatesOptionSchema)` to create a new message.
186
+ * Generated from Proto: spine/options.proto.
187
+ */
188
+ export const IfHasDuplicatesOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 11);
189
+ /**
190
+ * Describes the message RangeOption.
191
+ * Use `create(RangeOptionSchema)` to create a new message.
192
+ * Generated from Proto: spine/options.proto.
193
+ */
194
+ export const RangeOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 12);
195
+ /**
196
+ * Describes the message ChoiceOption.
197
+ * Use `create(ChoiceOptionSchema)` to create a new message.
198
+ * Generated from Proto: spine/options.proto.
199
+ */
200
+ export const ChoiceOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 13);
201
+ /**
202
+ * Describes the message RequireOption.
203
+ * Use `create(RequireOptionSchema)` to create a new message.
204
+ * Generated from Proto: spine/options.proto.
205
+ */
206
+ export const RequireOptionSchema = /*@__PURE__*/ messageDesc(file_spine_options, 14);
207
+ /**
208
+ * The option to mark a field as required.
209
+ *
210
+ * When this option is set:
211
+ *
212
+ * 1. For message fields, the field must not be set to the default instance
213
+ * (a message with all fields unset).
214
+ * 2. For enum fields, the field must not be set to the constant whose numeric
215
+ * value is zero — the first constant declared, as required by proto3.
216
+ * 3. For `string` and `bytes` fields, the value must be a non-empty string or
217
+ * a non-empty byte sequence, respectively.
218
+ * 4. For `repeated` and `map` fields, the field is considered missing when it is
219
+ * empty, or when any of its elements (for `map`, any of its values) is itself
220
+ * "missing". A per-element "missing" check is applied as follows:
221
+ *
222
+ * - `string` elements/values: an empty string is treated as missing — analogously
223
+ * to how an empty string is rejected for a singular `(required) string` field.
224
+ * - `bytes` elements/values: an empty byte sequence is treated as missing —
225
+ * analogously to how an empty payload is rejected for a singular
226
+ * `(required) bytes` field.
227
+ * - message elements/values: the default instance is treated as missing —
228
+ * analogously to a singular `(required)` message field.
229
+ * - enum elements/values: a constant whose numeric value is zero is treated as
230
+ * missing — analogously to a singular `(required)` enum field.
231
+ * - Numeric and `bool` elements/values: no per-element check is performed; only
232
+ * the presence of at least one element is required. The notion of "missing" is
233
+ * not meaningful for these types in a collection context.
234
+ *
235
+ * For `map` fields, only values are inspected; keys are not checked. Keys
236
+ * identify entries and are structurally present whenever an entry exists, so
237
+ * `(required)` — which constrains field *content* — applies only to the value
238
+ * side of each entry. Consequently, an empty-string key is allowed as long as
239
+ * its associated value is not missing.
240
+ *
241
+ * Other field types are not supported by the option.
242
+ *
243
+ * Unlike the `required` keyword in Protobuf 2, this option does not affect message
244
+ * serialization or deserialization. Even if a message content violates the requirement
245
+ * set by the option, it would still be a valid message for the Protobuf library.
246
+ *
247
+ * Example: Using `(required)` field validation constraint.
248
+ *
249
+ * message MyOuterMessage {
250
+ * MyMessage field = 1 [(required) = true];
251
+ * }
252
+ *
253
+ *
254
+ * @generated from extension: bool required = 73812;
255
+ * Generated from Proto: spine/options.proto.
256
+ */
257
+ export const required = /*@__PURE__*/ extDesc(file_spine_options, 0);
258
+ /**
259
+ * See `IfMissingOption`
260
+ *
261
+ * @generated from extension: IfMissingOption if_missing = 73813;
262
+ * Generated from Proto: spine/options.proto.
263
+ */
264
+ export const if_missing = /*@__PURE__*/ extDesc(file_spine_options, 1);
265
+ /**
266
+ * A higher boundary to the range of values of a number.
267
+ *
268
+ * @generated from extension: MaxOption max = 73816;
269
+ * Generated from Proto: spine/options.proto.
270
+ */
271
+ export const max = /*@__PURE__*/ extDesc(file_spine_options, 2);
272
+ /**
273
+ * A lower boundary to the range of values of a number.
274
+ *
275
+ * @generated from extension: MinOption min = 73817;
276
+ * Generated from Proto: spine/options.proto.
277
+ */
278
+ export const min = /*@__PURE__*/ extDesc(file_spine_options, 3);
279
+ /**
280
+ * See `PatternOption`.
281
+ *
282
+ * @generated from extension: PatternOption pattern = 73820;
283
+ * Generated from Proto: spine/options.proto.
284
+ */
285
+ export const pattern = /*@__PURE__*/ extDesc(file_spine_options, 4);
286
+ /**
287
+ * Enables in-depth validation for fields that refer to a message.
288
+ *
289
+ * This option applies only to fields that reference a message:
290
+ *
291
+ * 1. Singular message fields.
292
+ * 2. Repeated fields of message types.
293
+ * 3. Map fields with message types as values.
294
+ *
295
+ * When set to `true`, the field is valid only if its value satisfies the validation
296
+ * constraints defined in the corresponding message type:
297
+ *
298
+ * 1. For singular message fields: the message must meet its constraints.
299
+ *
300
+ * Note: default instances are considered valid even if the message has required fields.
301
+ * In such cases, it is unclear whether the field is set with an invalid instance or
302
+ * simply unset.
303
+ *
304
+ * Example:
305
+ *
306
+ * ```
307
+ * // Note that the default instance of `Address` is not valid because the `value` field
308
+ * // is mandatory.
309
+ * message Address {
310
+ * string value = 1 [(required) = true];
311
+ * }
312
+ *
313
+ * // However, the default instance of `Address` in `Student.address` is valid, despite
314
+ * // having `(validate)` constraint that forces the message to meet its constraints.
315
+ * // Since the `address` field is optional for `Student`, `(validate)` would allow
316
+ * // default instances for this field treating them as "no value set".
317
+ * message Student {
318
+ * Address address = 1 [(validate) = true]; // implicit `(required) = false`.
319
+ * }
320
+ *
321
+ * // Make the validated field required to avoid this behavior. In this case, `(validate)`
322
+ * // continues to bypass default instances, but the `(required)` option will report them.
323
+ * message Student {
324
+ * Address address = 1 [(validate) = true, (required) = true];
325
+ * }
326
+ * ```
327
+ *
328
+ * 2. For repeated fields: every element in the repeated field must meet the constraints
329
+ * of its message type.
330
+ *
331
+ * Example:
332
+ *
333
+ * ```
334
+ * // Note that the default instance of `PhoneNumber` is not valid because the `value`
335
+ * // field is mandatory.
336
+ * message PhoneNumber {
337
+ * string value = 1 [(required) = true, (pattern).regex = "^\+?[0-9\s\-()]{1,30}$"];
338
+ * }
339
+ *
340
+ * // In contrast to singular fields, the default instances in `repeated` will also be
341
+ * // reported by the `(validate)` constraint, with those that do not match the pattern.
342
+ * message Student {
343
+ * repeated PhoneNumber number = 1 [(validate) = true];
344
+ * }
345
+ * ```
346
+ *
347
+ * 3. For map fields: each value in the map must meet the constraints of its message type.
348
+ * Note: Protobuf does not allow messages to be used as map keys.
349
+ *
350
+ * Example:
351
+ *
352
+ * ```
353
+ * // Note that the default instance of `PhoneNumber` is not valid because the `value`
354
+ * // field is mandatory.
355
+ * message PhoneNumber {
356
+ * string value = 1 [(required) = true, (pattern).regex = "^\+?[0-9\s\-()]{1,30}$"];
357
+ * }
358
+ *
359
+ * // In contrast to singular fields, the default instances in `map` values will also be
360
+ * // reported by the `(validate)` constraint, with those that do not match the pattern.
361
+ * message Contacts {
362
+ * map<string, PhoneNumber> map = 1 [(validate) = true];
363
+ * }
364
+ * ```
365
+ *
366
+ * If the field contains `google.protobuf.Any`, the option will first attempt to unpack
367
+ * the enclosed message, and only then validate it. However, unpacking is not always possible:
368
+ *
369
+ * 1. The default instance of `Any` is always valid because there is nothing to unpack
370
+ * and validate.
371
+ * 2. Instances with type URLs that are unknown to the application are also valid.
372
+ *
373
+ * Unpacking requires a corresponding Java class to deserialize the message, but if
374
+ * the application does not recognize the type URL, it has no way to determine which
375
+ * class to use.
376
+ *
377
+ * Such may happen when the packed message comes from a newer app version, an external
378
+ * system, or is simply not included in the application’s dependencies.
379
+ *
380
+ *
381
+ * @generated from extension: bool validate = 73821;
382
+ * Generated from Proto: spine/options.proto.
383
+ */
384
+ export const validate = /*@__PURE__*/ extDesc(file_spine_options, 5);
385
+ /**
386
+ * See `IfInvalidOption`.
387
+ *
388
+ * @generated from extension: IfInvalidOption if_invalid = 73822 [deprecated = true];
389
+ * @deprecated
390
+ * Generated from Proto: spine/options.proto.
391
+ */
392
+ export const if_invalid = /*@__PURE__*/ extDesc(file_spine_options, 6);
393
+ /**
394
+ * See `GoesOption`.
395
+ *
396
+ * @generated from extension: GoesOption goes = 73823;
397
+ * Generated from Proto: spine/options.proto.
398
+ */
399
+ export const goes = /*@__PURE__*/ extDesc(file_spine_options, 7);
400
+ /**
401
+ * Indicates that a field can only be set once.
402
+ *
403
+ * This option allows the target field to accept assignments only if one of the following
404
+ * conditions is met:
405
+ *
406
+ * 1. The current field value is the default for its type.
407
+ * Refer to the official docs on default values: https://protobuf.dev/programming-guides/proto3/#default.
408
+ * 2. The current field value equals to the proposed new value.
409
+ *
410
+ * The option can be applied to the following singular field types:
411
+ *
412
+ * - any message or enum type;
413
+ * - any numeric type;
414
+ * - `bool`, `string` and `bytes`.
415
+ *
416
+ * Repeated fields, maps, and fields with explicit `optional` cardinality are not supported.
417
+ * Such declarations will lead to build-time errors. For more information on field cardinality,
418
+ * refer to the official docs: https://protobuf.dev/programming-guides/proto3/#field-labels.
419
+ *
420
+ * Assigning a value to a message field can be done in various ways in the generated code.
421
+ * It depends on the target language and specific implementation of `protoc`. This option
422
+ * doesn't enforce field immutability at the binary representation level. Also, it does not
423
+ * prevent the use of Protobuf utilities that can construct new messages without using field
424
+ * setters or properties. The primary purpose of this option is to support standard use cases,
425
+ * such as assigning values through setters or retrieving them during data merging.
426
+ *
427
+ * For example, let's take a look on how it works for the generated Java code. The following
428
+ * use cases are supported and validated by the option:
429
+ *
430
+ * 1. Assigning a field value using the field setter.
431
+ * 2. Assigning a field value using the field descriptor.
432
+ * 3. Merging data from another instance of the message class.
433
+ * 4. Merging data from a message's binary representation.
434
+ * 5. Merging specific fields (available for Message fields).
435
+ *
436
+ * Unsupported Java use cases include:
437
+ *
438
+ * 1. Constructing a message using the `DynamicMessage` class.
439
+ * 2. Merging data from messages provided by third-party Protobuf implementations.
440
+ * 3. Clearing a specific field or an entire message.
441
+ *
442
+ * For unsupported scenarios, the option performs no validation. It does not throw errors
443
+ * or print warnings.
444
+ *
445
+ * A typical use case involves a field, such as an ID, which remains constant throughout
446
+ * the lifecycle of an entity.
447
+ *
448
+ * Example: using `(set_once)` field validation constraint.
449
+ *
450
+ * message User {
451
+ * UserId id = 1 [(set_once) = true];
452
+ * }
453
+ *
454
+ * Once set, the `id` field cannot be changed.
455
+ *
456
+ * Use the `(if_set_again).error_msg` option to specify a custom error message that will be used for
457
+ * composing the error upon attempting to re-assign the field value. Refer to the documentation
458
+ * for the corresponding option for an example of its usage.
459
+ *
460
+ *
461
+ * @generated from extension: bool set_once = 73824;
462
+ * Generated from Proto: spine/options.proto.
463
+ */
464
+ export const set_once = /*@__PURE__*/ extDesc(file_spine_options, 8);
465
+ /**
466
+ * The option to enforce uniqueness for collection fields.
467
+ *
468
+ * When the option is set to `true`, the behavior is as follows:
469
+ *
470
+ * 1. For `repeated` fields: all elements must be unique.
471
+ * 2. For `map` fields: while the map keys are inherently unique, all associated values
472
+ * must also be unique.
473
+ *
474
+ * Other field types are not supported.
475
+ *
476
+ * Uniqueness is determined by comparing the elements themselves, using their full equality.
477
+ * For example, in Java, it is defined by the `equals()` method. No special cases are applied,
478
+ * such as comparing only specific fields like IDs.
479
+ *
480
+ * Example: using `(distinct)` constraint for a `repeated` field.
481
+ *
482
+ * message Blizzard {
483
+ *
484
+ * // All snowflakes must be unique in this blizzard.
485
+ * //
486
+ * // Attempting to add a snowflake that is equal to an existing one would result
487
+ * // in a constraint violation error.
488
+ * //
489
+ * repeated Snowflake snowflakes = 1 [(distinct) = true];
490
+ * }
491
+ *
492
+ * Example: using `(distinct)` constraint for a `map` field.
493
+ *
494
+ * message UniqueEmails {
495
+ *
496
+ * // The associated email values must be unique.
497
+ * //
498
+ * // Attempting to add a key/value pair where the `Email` value duplicates
499
+ * // an existing one would result in a constraint violation error.
500
+ * //
501
+ * map<string, Email> emails = 1 [(distinct) = true];
502
+ * }
503
+ *
504
+ *
505
+ * @generated from extension: bool distinct = 73825;
506
+ * Generated from Proto: spine/options.proto.
507
+ */
508
+ export const distinct = /*@__PURE__*/ extDesc(file_spine_options, 9);
509
+ /**
510
+ * Defines the error message used if a `set_once` field is set again.
511
+ *
512
+ * Applies only to the fields marked as `set_once`.
513
+ *
514
+ *
515
+ * @generated from extension: IfSetAgainOption if_set_again = 73827;
516
+ * Generated from Proto: spine/options.proto.
517
+ */
518
+ export const if_set_again = /*@__PURE__*/ extDesc(file_spine_options, 10);
519
+ /**
520
+ * Defines the error message used if a `distinct` field has duplicates.
521
+ *
522
+ * Applies only to the repeated fields marked as `distinct`.
523
+ *
524
+ *
525
+ * @generated from extension: IfHasDuplicatesOption if_has_duplicates = 73828;
526
+ * Generated from Proto: spine/options.proto.
527
+ */
528
+ export const if_has_duplicates = /*@__PURE__*/ extDesc(file_spine_options, 11);
529
+ /**
530
+ * The option to indicate that a numeric field is required to have a value that belongs
531
+ * to the specified bounded range.
532
+ *
533
+ * For unbounded ranges, please use `(min)` and `(max)` options.
534
+ *
535
+ *
536
+ * @generated from extension: RangeOption range = 73829;
537
+ * Generated from Proto: spine/options.proto.
538
+ */
539
+ export const range = /*@__PURE__*/ extDesc(file_spine_options, 12);
540
+ /**
541
+ * Indicates a field that is internal to Spine, not part of the public API, and should not be
542
+ * used by users of the framework.
543
+ *
544
+ * If you plan to implement an extension of the framework, which is going to be
545
+ * wired into the framework, you may use the internal parts. Please consult with the Spine
546
+ * team, as the internal APIs do not have the same stability API guarantee as public ones.
547
+ *
548
+ *
549
+ * @generated from extension: bool internal = 73850;
550
+ * Generated from Proto: spine/options.proto.
551
+ */
552
+ export const internal = /*@__PURE__*/ extDesc(file_spine_options, 13);
553
+ /**
554
+ * Indicates a field that can change at any time, and has no guarantee of API stability and
555
+ * backward-compatibility.
556
+ *
557
+ * Usage guidelines:
558
+ * 1. This annotation is used only on public API. Internal interfaces should not use it.
559
+ * 2. This annotation can only be added to new API. Adding it to an existing API is considered
560
+ * API-breaking.
561
+ * 3. Removing this annotation from an API gives it stable status.
562
+ *
563
+ *
564
+ * @generated from extension: bool experimental = 73852;
565
+ * Generated from Proto: spine/options.proto.
566
+ */
567
+ export const experimental = /*@__PURE__*/ extDesc(file_spine_options, 14);
568
+ /**
569
+ * Signifies that a public API is subject to incompatible changes, or even removal, in a future
570
+ * release.
571
+ *
572
+ * An API bearing this annotation is exempt from any compatibility guarantees made by its
573
+ * containing library. Note that the presence of this annotation implies nothing about the
574
+ * quality of the API in question, only the fact that it is not "API-frozen."
575
+ * It is generally safe for applications to depend on beta APIs, at the cost of
576
+ * some extra work during upgrades.
577
+ *
578
+ *
579
+ * @generated from extension: bool beta = 73853;
580
+ * Generated from Proto: spine/options.proto.
581
+ */
582
+ export const beta = /*@__PURE__*/ extDesc(file_spine_options, 15);
583
+ /**
584
+ * Marks an entity state field as a column.
585
+ *
586
+ * The column fields are stored separately from the entity record and can be specified as
587
+ * filtering criteria during entity querying.
588
+ *
589
+ * The column field should be declared as follows:
590
+ *
591
+ * message UserProfile {
592
+ * ...
593
+ * int32 year_of_registration = 8 [(column) = true];
594
+ * }
595
+ *
596
+ * The `year_of_registration` field value can then be used as a query parameter when reading
597
+ * entities of `UserProfile` type from the server side.
598
+ *
599
+ * The value of a column field can be updated in two ways:
600
+ *
601
+ * 1. In the receptors of the entity, just like any other part of entity state.
602
+ * 2. Using the language-specific tools like the `EntityWithColumns` interface in Java.
603
+ *
604
+ * All column fields are considered optional by the framework.
605
+ *
606
+ * Currently, only entities of projection and process manager type are
607
+ * eligible for having columns (see `EntityOption`).
608
+ * For all other message types the column declarations are ignored.
609
+ *
610
+ * The `repeated` and `map` fields cannot be columns.
611
+ *
612
+ *
613
+ * @generated from extension: bool column = 73854;
614
+ * Generated from Proto: spine/options.proto.
615
+ */
616
+ export const column = /*@__PURE__*/ extDesc(file_spine_options, 16);
617
+ /**
618
+ * Deprecated: use the `(choice)` option instead.
619
+ *
620
+ * @generated from extension: bool is_required = 73891 [deprecated = true];
621
+ * @deprecated
622
+ * Generated from Proto: spine/options.proto.
623
+ */
624
+ export const is_required = /*@__PURE__*/ extDesc(file_spine_options, 17);
625
+ /**
626
+ * Controls whether a `oneof` group must always have one of its fields set.
627
+ *
628
+ * @generated from extension: ChoiceOption choice = 73892;
629
+ * Generated from Proto: spine/options.proto.
630
+ */
631
+ export const choice = /*@__PURE__*/ extDesc(file_spine_options, 18);
632
+ /**
633
+ * The default validation error message.
634
+ *
635
+ * Please note, this option is intended for INTERNAL USE only. It applies to message types
636
+ * that extend `FieldOptions` and is not intended for external usage.
637
+ *
638
+ * If a validation option detects a constraint violation and no custom error message is defined
639
+ * for that specific option, it will fall back to the message specified by `(default_message)`.
640
+ *
641
+ * For example, here is how to declare the default message for `(goes)` option:
642
+ *
643
+ * ```
644
+ * message GoesOption {
645
+ * // The default error message.
646
+ * option (default_message) = "The field `${goes.companion}` must also be set when `${field.path}` is set.";
647
+ * }
648
+ * ```
649
+ *
650
+ * Note: The placeholders available within `(default_message)` depend solely on the particular
651
+ * validation option that uses it. Each option may define its own set of placeholders, or none.
652
+ *
653
+ *
654
+ * @generated from extension: string default_message = 73901;
655
+ * Generated from Proto: spine/options.proto.
656
+ */
657
+ export const default_message = /*@__PURE__*/ extDesc(file_spine_options, 19);
658
+ /**
659
+ * Deprecated: use the `(require)` option instead.
660
+ *
661
+ * @generated from extension: string required_field = 73902 [deprecated = true];
662
+ * @deprecated
663
+ * Generated from Proto: spine/options.proto.
664
+ */
665
+ export const required_field = /*@__PURE__*/ extDesc(file_spine_options, 20);
666
+ /**
667
+ * See `EntityOption`.
668
+ *
669
+ * @generated from extension: EntityOption entity = 73903;
670
+ * Generated from Proto: spine/options.proto.
671
+ */
672
+ export const entity = /*@__PURE__*/ extDesc(file_spine_options, 21);
673
+ /**
674
+ * An external validation constraint for a field.
675
+ *
676
+ * WARNING: This option is deprecated and is scheduled for removal in Spine v2.0.0.
677
+ *
678
+ * Allows re-defining validation constraints for a message when its usage as a field of
679
+ * another type requires alternative constraints. This includes definition of constraints for
680
+ * a message that does not have them defined within the type.
681
+ *
682
+ * A target field of an external constraint should be specified using a fully-qualified
683
+ * field name (e.g. `mypackage.MessageName.field_name`).
684
+ *
685
+ * Example: defining external validation constraint.
686
+ *
687
+ * package io.spine.example;
688
+ *
689
+ * // Defines a change in a string value.
690
+ * //
691
+ * // Both of the fields of this message are not `required` to be able to describe
692
+ * // a change from empty value to non-empty value, or from a non-empty value to
693
+ * // an empty string.
694
+ * //
695
+ * message StringChange {
696
+ *
697
+ * // The value of the field that's changing.
698
+ * string previous_value = 1;
699
+ *
700
+ * // The new value of the field.
701
+ * string new_value = 2;
702
+ * }
703
+ *
704
+ * // A command to change a name of a task.
705
+ * //
706
+ * // The task has a non-empty name. A new name cannot be empty.
707
+ * //
708
+ * message RenameTask {
709
+ *
710
+ * // The ID of the task to rename.
711
+ * string task_id = 1;
712
+ *
713
+ * // Instruction for changing the name.
714
+ * //
715
+ * // The value of `change.previous_value` is the current name of the task.
716
+ * // It cannot be empty.
717
+ * //
718
+ * // The value of `change.new_value` is the new name of the task.
719
+ * // It cannot be empty either.
720
+ * //
721
+ * StringChange change = 1 [(validate) = true];
722
+ * }
723
+ *
724
+ * // External validation constraint for both fields of the `StringChange` message
725
+ * // in the scope of the `RenameTask` command.
726
+ * //
727
+ * message RequireTaskNames {
728
+ * option (constraint_for) = "spine.example.RenameTask.change";
729
+ *
730
+ * string previous_value = 1 [(required) = true];
731
+ * string new_value = 2 [(required) = true];
732
+ * }
733
+ *
734
+ * NOTE: A target field for an external validation constraint must have the option `(validate)`
735
+ * set to `true`. See the definition of the `RenameTask.change` field in the example
736
+ * above. If there is no such option defined, or it is set to `false`, the external
737
+ * constraint will not be applied.
738
+ *
739
+ * External validation constraints can be applied to fields of several types.
740
+ * To do so, separate fully-qualified references to these fields with comma.
741
+ *
742
+ * Example: external validation constraints for multiple fields.
743
+ *
744
+ * // External validation constraint for requiring a new value in renaming commands.
745
+ * message RequireNewName {
746
+ * option (constraint_for) = "spine.example.RenameTask.change,"
747
+ * "spine.example.RenameProject.change,";
748
+ * "spine.example.UpdateComment.text_change;
749
+ *
750
+ * string new_value = 1 [(required) = true];
751
+ * }
752
+ *
753
+ * NOTE: An external validation constraint for a field must be defined only once.
754
+ * Spine Model Compiler does not check such an "overwriting".
755
+ * See the issue: https://github.com/SpineEventEngine/base/issues/318.
756
+ *
757
+ *
758
+ * @generated from extension: string constraint_for = 73904 [deprecated = true];
759
+ * @deprecated
760
+ * Generated from Proto: spine/options.proto.
761
+ */
762
+ export const constraint_for = /*@__PURE__*/ extDesc(file_spine_options, 22);
763
+ /**
764
+ * Indicates a type usage of which is restricted in one of the following ways.
765
+ *
766
+ * 1. This type is internal to the Spine Event Engine framework. It is not a part of
767
+ * the public API, and must not be used by framework users.
768
+ *
769
+ * 2. The type is internal to a bounded context, artifact of which exposes the type to
770
+ * the outside world (presumably for historical reasons).
771
+ *
772
+ * The type with such an option can be used only inside the bounded context that declares it.
773
+ *
774
+ * The type must not be used neither for inbound (i.e. being sent to the bounded context
775
+ * that declares this type) nor for outbound communication (i.e. being sent by this
776
+ * bounded context outside).
777
+ *
778
+ * An attempt to violate these usage restrictions will result in a runtime error.
779
+ *
780
+ *
781
+ * @generated from extension: bool internal_type = 73911;
782
+ * Generated from Proto: spine/options.proto.
783
+ */
784
+ export const internal_type = /*@__PURE__*/ extDesc(file_spine_options, 23);
785
+ /**
786
+ * Indicates a file that contains elements of Service Provider Interface (SPI).
787
+ *
788
+ * @generated from extension: bool SPI_type = 73912;
789
+ * Generated from Proto: spine/options.proto.
790
+ */
791
+ export const SPI_type = /*@__PURE__*/ extDesc(file_spine_options, 24);
792
+ /**
793
+ * Indicates a public API that can change at any time, and has no guarantee of
794
+ * API stability and backward-compatibility.
795
+ *
796
+ * @generated from extension: bool experimental_type = 73913;
797
+ * Generated from Proto: spine/options.proto.
798
+ */
799
+ export const experimental_type = /*@__PURE__*/ extDesc(file_spine_options, 25);
800
+ /**
801
+ * Signifies that a public API is subject to incompatible changes, or even removal,
802
+ * in a future release.
803
+ *
804
+ * @generated from extension: bool beta_type = 73914;
805
+ * Generated from Proto: spine/options.proto.
806
+ */
807
+ export const beta_type = /*@__PURE__*/ extDesc(file_spine_options, 26);
808
+ /**
809
+ * Specifies a characteristic inherent in the given message type.
810
+ *
811
+ * Example: using `(is)` message option.
812
+ *
813
+ * message CreateProject {
814
+ * option (is).java_type = "ProjectCommand";
815
+ *
816
+ * // Remainder omitted.
817
+ * }
818
+ *
819
+ * In the example above, `CreateProject` message is a `ProjectCommand`.
820
+ *
821
+ * To specify a characteristic for every message in a `.proto` file,
822
+ * please use the `(every_is)` file option.
823
+ *
824
+ * If both `(is)` and `(every_is)` options are applicable for a type, both are applied.
825
+ *
826
+ * When targeting Java, specify the name of a Java interface to be implemented by this
827
+ * message via `(is).java_type`.
828
+ *
829
+ * When targeting TypeScript, specify the name of a TypeScript interface to be
830
+ * implemented by this message via `(is).ts_type`.
831
+ *
832
+ *
833
+ * @generated from extension: IsOption is = 73915;
834
+ * Generated from Proto: spine/options.proto.
835
+ */
836
+ export const is = /*@__PURE__*/ extDesc(file_spine_options, 27);
837
+ /**
838
+ * Specifies the natural ordering strategy for this type.
839
+ *
840
+ * Code generators should generate language-specific comparisons based on the field paths.
841
+ *
842
+ * Runtime comparators may use the reflection API to compare field values.
843
+ *
844
+ *
845
+ * @generated from extension: CompareByOption compare_by = 73923;
846
+ * Generated from Proto: spine/options.proto.
847
+ */
848
+ export const compare_by = /*@__PURE__*/ extDesc(file_spine_options, 28);
849
+ /**
850
+ * The constraint to require at least one of the fields or combinations of fields.
851
+ *
852
+ * @generated from extension: RequireOption require = 73924;
853
+ * Generated from Proto: spine/options.proto.
854
+ */
855
+ export const require = /*@__PURE__*/ extDesc(file_spine_options, 29);
856
+ /**
857
+ * Specifies a type URL prefix for all types within a file.
858
+ *
859
+ * This type URL will be used when packing messages into `Any`.
860
+ * See `any.proto` for more details.
861
+ *
862
+ *
863
+ * @generated from extension: string type_url_prefix = 73941;
864
+ * Generated from Proto: spine/options.proto.
865
+ */
866
+ export const type_url_prefix = /*@__PURE__*/ extDesc(file_spine_options, 30);
867
+ /**
868
+ * Indicates a file that contains types usage of which is restricted.
869
+ *
870
+ * For more information on such restrictions please see the documentation of
871
+ * the type option called `internal_type`.
872
+ *
873
+ * If a file contains a declaration of a `service`, this option will NOT be applied to it.
874
+ * A service is not a data type, and therefore, this option does not apply to it.
875
+ * Internal services are not supported.
876
+ *
877
+ *
878
+ * @generated from extension: bool internal_all = 73942;
879
+ * Generated from Proto: spine/options.proto.
880
+ */
881
+ export const internal_all = /*@__PURE__*/ extDesc(file_spine_options, 31);
882
+ /**
883
+ * Indicates a file that contains elements of Service Provider Interface (SPI).
884
+ *
885
+ * This option applies to messages, enums, and services.
886
+ *
887
+ *
888
+ * @generated from extension: bool SPI_all = 73943;
889
+ * Generated from Proto: spine/options.proto.
890
+ */
891
+ export const SPI_all = /*@__PURE__*/ extDesc(file_spine_options, 32);
892
+ /**
893
+ * Indicates a file declaring public data type API that can change at any time,
894
+ * has no guarantee of API stability and backward-compatibility.
895
+ *
896
+ * If a file contains a declaration of a `service`, this option will NOT be applied to it.
897
+ * A service is not a data type, and therefore, this option does not apply to it.
898
+ * Experimental services are not supported.
899
+ *
900
+ *
901
+ * @generated from extension: bool experimental_all = 73944;
902
+ * Generated from Proto: spine/options.proto.
903
+ */
904
+ export const experimental_all = /*@__PURE__*/ extDesc(file_spine_options, 33);
905
+ /**
906
+ * Signifies that a public data type API is subject to incompatible changes, or even removal,
907
+ * in a future release.
908
+ *
909
+ * If a file contains a declaration of a `service`, this option will NOT be applied to it.
910
+ * A service is not a data type, and therefore, this option does not apply to it.
911
+ * Beta services are not supported.
912
+ *
913
+ *
914
+ * @generated from extension: bool beta_all = 73945;
915
+ * Generated from Proto: spine/options.proto.
916
+ */
917
+ export const beta_all = /*@__PURE__*/ extDesc(file_spine_options, 34);
918
+ /**
919
+ * Specifies a characteristic common for all the message types in the given file.
920
+ *
921
+ * Example: marking all the messages using the `(every_is)` file option.
922
+ * ```
923
+ * option (every_is).java_type = "ProjectCommand";
924
+ *
925
+ * message CreateProject {
926
+ * // ...
927
+ *
928
+ * message WithAssignee {
929
+ * // ...
930
+ * }
931
+ * }
932
+ *
933
+ * message DeleteProject { /*...*\/ }
934
+ * ```
935
+ *
936
+ * In the example above, `CreateProject`, `CreateProject.WithAssignee`, and `DeleteProject`
937
+ * messages are `ProjectCommand`-s.
938
+ *
939
+ * To specify a characteristic for a single message, please use the `(is)` message option.
940
+ * If both `(is)` and `(every_is)` options are applicable for a type, both are applied.
941
+ *
942
+ * When targeting Java, specify the name of a Java interface to be implemented by these
943
+ * message types via `(every_is).java_type`.
944
+ *
945
+ * When targeting TypeScript, specify the name of a TypeScript interface to be
946
+ * implemented by these message types via `(every_is).ts_type`.
947
+ *
948
+ *
949
+ * @generated from extension: EveryIsOption every_is = 73946;
950
+ * Generated from Proto: spine/options.proto.
951
+ */
952
+ export const every_is = /*@__PURE__*/ extDesc(file_spine_options, 35);
953
+ /**
954
+ * Indicates that the service is a part of Service Provider Interface (SPI).
955
+ *
956
+ * @generated from extension: bool SPI_service = 73971;
957
+ * Generated from Proto: spine/options.proto.
958
+ */
959
+ export const SPI_service = /*@__PURE__*/ extDesc(file_spine_options, 36);
960
+ //# sourceMappingURL=options_pb.js.map