@party-stack/ontology 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/lib/OntologyConfig.d.ts +3 -2
  2. package/lib/OntologyConfig.d.ts.map +1 -1
  3. package/lib/cli/generate.d.ts.map +1 -1
  4. package/lib/cli/generate.js +65 -47
  5. package/lib/cli/generate.js.map +1 -1
  6. package/lib/cli/index.js +7 -4
  7. package/lib/cli/index.js.map +1 -1
  8. package/lib/cli/pull.d.ts.map +1 -1
  9. package/lib/cli/pull.js +10 -4
  10. package/lib/cli/pull.js.map +1 -1
  11. package/lib/examples/blog.d.ts +214 -17
  12. package/lib/examples/blog.d.ts.map +1 -1
  13. package/lib/examples/blog.js +20 -0
  14. package/lib/examples/blog.js.map +1 -1
  15. package/lib/examples/blog.live-queries.d.ts.map +1 -1
  16. package/lib/examples/blog.live-queries.js +4 -2
  17. package/lib/examples/blog.live-queries.js.map +1 -1
  18. package/lib/examples/generated/live.d.ts +2 -2
  19. package/lib/examples/generated/live.d.ts.map +1 -1
  20. package/lib/examples/generated/live.js +2 -3
  21. package/lib/examples/generated/live.js.map +1 -1
  22. package/lib/examples/generated/types.d.ts +13 -2
  23. package/lib/examples/generated/types.d.ts.map +1 -1
  24. package/lib/generate/builders.d.ts +9 -0
  25. package/lib/generate/builders.d.ts.map +1 -0
  26. package/lib/generate/builders.js +60 -0
  27. package/lib/generate/builders.js.map +1 -0
  28. package/lib/generate/builders.test.d.ts +2 -0
  29. package/lib/generate/builders.test.d.ts.map +1 -0
  30. package/lib/generate/builders.test.js +49 -0
  31. package/lib/generate/builders.test.js.map +1 -0
  32. package/lib/generate/index.d.ts +5 -0
  33. package/lib/generate/index.d.ts.map +1 -0
  34. package/lib/generate/index.js +5 -0
  35. package/lib/generate/index.js.map +1 -0
  36. package/lib/generate/live.d.ts.map +1 -1
  37. package/lib/generate/live.js +13 -8
  38. package/lib/generate/live.js.map +1 -1
  39. package/lib/generate/ontology.d.ts.map +1 -1
  40. package/lib/generate/ontology.js +29 -8
  41. package/lib/generate/ontology.js.map +1 -1
  42. package/lib/generate/types.d.ts +11 -1
  43. package/lib/generate/types.d.ts.map +1 -1
  44. package/lib/generate/types.js +178 -99
  45. package/lib/generate/types.js.map +1 -1
  46. package/lib/generate/types.test.js +118 -8
  47. package/lib/generate/types.test.js.map +1 -1
  48. package/lib/generate/utils/buildJsDocs.d.ts +7 -0
  49. package/lib/generate/utils/buildJsDocs.d.ts.map +1 -0
  50. package/lib/generate/utils/buildJsDocs.js +12 -0
  51. package/lib/generate/utils/buildJsDocs.js.map +1 -0
  52. package/lib/index.d.ts +4 -2
  53. package/lib/index.d.ts.map +1 -1
  54. package/lib/index.js +2 -1
  55. package/lib/index.js.map +1 -1
  56. package/lib/infer.d.ts +231 -0
  57. package/lib/infer.d.ts.map +1 -0
  58. package/lib/infer.js +10 -0
  59. package/lib/infer.js.map +1 -0
  60. package/lib/infer.test.d.ts +2 -0
  61. package/lib/infer.test.d.ts.map +1 -0
  62. package/lib/infer.test.js +116 -0
  63. package/lib/infer.test.js.map +1 -0
  64. package/lib/ir/generated/builders.d.ts +184 -184
  65. package/lib/ir/generated/builders.d.ts.map +1 -1
  66. package/lib/ir/generated/builders.js +25 -76
  67. package/lib/ir/generated/builders.js.map +1 -1
  68. package/lib/ir/generated/types.d.ts +37 -8
  69. package/lib/ir/generated/types.d.ts.map +1 -1
  70. package/lib/ir/schema.d.ts +1498 -5
  71. package/lib/ir/schema.d.ts.map +1 -1
  72. package/lib/ir/schema.js +521 -90
  73. package/lib/ir/schema.js.map +1 -1
  74. package/lib/ir/validate.d.ts.map +1 -1
  75. package/lib/ir/validate.js +31 -0
  76. package/lib/ir/validate.js.map +1 -1
  77. package/lib/ir/validate.test.js +53 -3
  78. package/lib/ir/validate.test.js.map +1 -1
  79. package/lib/json/index.d.ts +14 -0
  80. package/lib/json/index.d.ts.map +1 -0
  81. package/lib/json/index.js +158 -0
  82. package/lib/json/index.js.map +1 -0
  83. package/lib/json/index.test.d.ts +2 -0
  84. package/lib/json/index.test.d.ts.map +1 -0
  85. package/lib/json/index.test.js +123 -0
  86. package/lib/json/index.test.js.map +1 -0
  87. package/lib/live/LiveOntology.d.ts +44 -13
  88. package/lib/live/LiveOntology.d.ts.map +1 -1
  89. package/lib/live/LiveOntology.js +64 -37
  90. package/lib/live/LiveOntology.js.map +1 -1
  91. package/lib/live/LiveOntology.test.d.ts +2 -0
  92. package/lib/live/LiveOntology.test.d.ts.map +1 -0
  93. package/lib/live/LiveOntology.test.js +154 -0
  94. package/lib/live/LiveOntology.test.js.map +1 -0
  95. package/lib/live/OntologyBackendAdapter.d.ts +53 -0
  96. package/lib/live/OntologyBackendAdapter.d.ts.map +1 -0
  97. package/lib/live/OntologyBackendAdapter.js +2 -0
  98. package/lib/live/OntologyBackendAdapter.js.map +1 -0
  99. package/lib/live/actions/createLiveOntologyAction.d.ts +20 -0
  100. package/lib/live/actions/createLiveOntologyAction.d.ts.map +1 -0
  101. package/lib/live/actions/createLiveOntologyAction.js +22 -0
  102. package/lib/live/actions/createLiveOntologyAction.js.map +1 -0
  103. package/lib/live/actions/createLiveOntologyActions.d.ts +23 -0
  104. package/lib/live/actions/createLiveOntologyActions.d.ts.map +1 -0
  105. package/lib/live/actions/createLiveOntologyActions.js +129 -0
  106. package/lib/live/actions/createLiveOntologyActions.js.map +1 -0
  107. package/lib/live/actions/prepareActionParameters.d.ts +16 -0
  108. package/lib/live/actions/prepareActionParameters.d.ts.map +1 -0
  109. package/lib/live/actions/prepareActionParameters.js +251 -0
  110. package/lib/live/actions/prepareActionParameters.js.map +1 -0
  111. package/lib/live/actions/prepareActionParameters.test.d.ts +2 -0
  112. package/lib/live/actions/prepareActionParameters.test.d.ts.map +1 -0
  113. package/lib/live/actions/prepareActionParameters.test.js +165 -0
  114. package/lib/live/actions/prepareActionParameters.test.js.map +1 -0
  115. package/lib/live/attachments/attachmentSources.d.ts +7 -0
  116. package/lib/live/attachments/attachmentSources.d.ts.map +1 -0
  117. package/lib/live/attachments/attachmentSources.js +80 -0
  118. package/lib/live/attachments/attachmentSources.js.map +1 -0
  119. package/lib/live/attachments/createLiveOntologyAttachments.d.ts +38 -0
  120. package/lib/live/attachments/createLiveOntologyAttachments.d.ts.map +1 -0
  121. package/lib/live/attachments/createLiveOntologyAttachments.js +59 -0
  122. package/lib/live/attachments/createLiveOntologyAttachments.js.map +1 -0
  123. package/lib/live/attachments/createLiveOntologyAttachments.test.d.ts +2 -0
  124. package/lib/live/attachments/createLiveOntologyAttachments.test.d.ts.map +1 -0
  125. package/lib/live/attachments/createLiveOntologyAttachments.test.js +244 -0
  126. package/lib/live/attachments/createLiveOntologyAttachments.test.js.map +1 -0
  127. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts +3 -0
  128. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts.map +1 -0
  129. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js +5 -0
  130. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js.map +1 -0
  131. package/lib/live/expression.d.ts +16 -3
  132. package/lib/live/expression.d.ts.map +1 -1
  133. package/lib/live/expression.js +55 -47
  134. package/lib/live/expression.js.map +1 -1
  135. package/lib/live/expression.test.d.ts +2 -0
  136. package/lib/live/expression.test.d.ts.map +1 -0
  137. package/lib/live/expression.test.js +76 -0
  138. package/lib/live/expression.test.js.map +1 -0
  139. package/lib/live/index.d.ts +4 -1
  140. package/lib/live/index.d.ts.map +1 -1
  141. package/lib/live/index.js +4 -1
  142. package/lib/live/index.js.map +1 -1
  143. package/lib/live/mutators/OntologyEdits.d.ts +11 -0
  144. package/lib/live/mutators/OntologyEdits.d.ts.map +1 -0
  145. package/lib/live/mutators/OntologyEdits.js +66 -0
  146. package/lib/live/mutators/OntologyEdits.js.map +1 -0
  147. package/lib/live/mutators/createMutatorTx.d.ts +9 -0
  148. package/lib/live/mutators/createMutatorTx.d.ts.map +1 -0
  149. package/lib/live/mutators/createMutatorTx.js +67 -0
  150. package/lib/live/mutators/createMutatorTx.js.map +1 -0
  151. package/lib/live/mutators/createMutatorTx.test.d.ts +2 -0
  152. package/lib/live/mutators/createMutatorTx.test.d.ts.map +1 -0
  153. package/lib/live/mutators/createMutatorTx.test.js +90 -0
  154. package/lib/live/mutators/createMutatorTx.test.js.map +1 -0
  155. package/lib/live/mutators/runOptimisticAction.d.ts +15 -0
  156. package/lib/live/mutators/runOptimisticAction.d.ts.map +1 -0
  157. package/lib/live/mutators/runOptimisticAction.js +29 -0
  158. package/lib/live/mutators/runOptimisticAction.js.map +1 -0
  159. package/lib/live/mutators/types.d.ts +24 -0
  160. package/lib/live/mutators/types.d.ts.map +1 -0
  161. package/lib/live/mutators/types.js +2 -0
  162. package/lib/live/mutators/types.js.map +1 -0
  163. package/lib/live/objects/OntologyObject.d.ts +2 -0
  164. package/lib/live/objects/OntologyObject.d.ts.map +1 -0
  165. package/lib/live/objects/OntologyObject.js +2 -0
  166. package/lib/live/objects/OntologyObject.js.map +1 -0
  167. package/lib/live/objects/createLiveOntologyObjectCollection.d.ts +14 -0
  168. package/lib/live/objects/createLiveOntologyObjectCollection.d.ts.map +1 -0
  169. package/lib/live/objects/createLiveOntologyObjectCollection.js +59 -0
  170. package/lib/live/objects/createLiveOntologyObjectCollection.js.map +1 -0
  171. package/lib/live/objects/createLiveOntologyObjectCollection.test.d.ts +2 -0
  172. package/lib/live/objects/createLiveOntologyObjectCollection.test.d.ts.map +1 -0
  173. package/lib/live/objects/createLiveOntologyObjectCollection.test.js +176 -0
  174. package/lib/live/objects/createLiveOntologyObjectCollection.test.js.map +1 -0
  175. package/lib/live/objects/ontologyObjectCollectionId.d.ts +2 -0
  176. package/lib/live/objects/ontologyObjectCollectionId.d.ts.map +1 -0
  177. package/lib/live/objects/ontologyObjectCollectionId.js +4 -0
  178. package/lib/live/objects/ontologyObjectCollectionId.js.map +1 -0
  179. package/lib/live/outbox/createOntologyOutbox.d.ts +19 -0
  180. package/lib/live/outbox/createOntologyOutbox.d.ts.map +1 -0
  181. package/lib/live/outbox/createOntologyOutbox.js +321 -0
  182. package/lib/live/outbox/createOntologyOutbox.js.map +1 -0
  183. package/lib/live/outbox/createOntologyOutbox.test.d.ts +2 -0
  184. package/lib/live/outbox/createOntologyOutbox.test.d.ts.map +1 -0
  185. package/lib/live/outbox/createOntologyOutbox.test.js +914 -0
  186. package/lib/live/outbox/createOntologyOutbox.test.js.map +1 -0
  187. package/lib/live/outbox/leaderExecutor.d.ts +16 -0
  188. package/lib/live/outbox/leaderExecutor.d.ts.map +1 -0
  189. package/lib/live/outbox/leaderExecutor.js +143 -0
  190. package/lib/live/outbox/leaderExecutor.js.map +1 -0
  191. package/lib/live/outbox/outboxService.d.ts +5 -0
  192. package/lib/live/outbox/outboxService.d.ts.map +1 -0
  193. package/lib/live/outbox/outboxService.js +73 -0
  194. package/lib/live/outbox/outboxService.js.map +1 -0
  195. package/lib/live/outbox/outboxValues.d.ts +7 -0
  196. package/lib/live/outbox/outboxValues.d.ts.map +1 -0
  197. package/lib/live/outbox/outboxValues.js +76 -0
  198. package/lib/live/outbox/outboxValues.js.map +1 -0
  199. package/lib/live/outbox/projectionManager.d.ts +29 -0
  200. package/lib/live/outbox/projectionManager.d.ts.map +1 -0
  201. package/lib/live/outbox/projectionManager.js +155 -0
  202. package/lib/live/outbox/projectionManager.js.map +1 -0
  203. package/lib/live/outbox/repository.d.ts +29 -0
  204. package/lib/live/outbox/repository.d.ts.map +1 -0
  205. package/lib/live/outbox/repository.js +245 -0
  206. package/lib/live/outbox/repository.js.map +1 -0
  207. package/lib/live/outbox/service.d.ts +59 -0
  208. package/lib/live/outbox/service.d.ts.map +1 -0
  209. package/lib/live/outbox/service.js +2 -0
  210. package/lib/live/outbox/service.js.map +1 -0
  211. package/lib/live/outbox/types.d.ts +45 -0
  212. package/lib/live/outbox/types.d.ts.map +1 -0
  213. package/lib/live/outbox/types.js +7 -0
  214. package/lib/live/outbox/types.js.map +1 -0
  215. package/lib/meta/generated/live.d.ts +5 -0
  216. package/lib/meta/generated/live.d.ts.map +1 -0
  217. package/lib/{ontology → meta}/generated/live.js +2 -3
  218. package/lib/meta/generated/live.js.map +1 -0
  219. package/lib/{ontology → meta}/generated/types.d.ts +37 -8
  220. package/lib/meta/generated/types.d.ts.map +1 -0
  221. package/lib/meta/generated/types.js.map +1 -0
  222. package/lib/{ontology → meta}/ontology.d.ts +1 -0
  223. package/lib/meta/ontology.d.ts.map +1 -0
  224. package/lib/{ontology → meta}/ontology.js +7 -0
  225. package/lib/meta/ontology.js.map +1 -0
  226. package/lib/meta/pull.d.ts +2 -1
  227. package/lib/meta/pull.d.ts.map +1 -1
  228. package/lib/meta/pull.js +20 -5
  229. package/lib/meta/pull.js.map +1 -1
  230. package/lib/utils/index.d.ts +3 -0
  231. package/lib/utils/index.d.ts.map +1 -0
  232. package/lib/utils/index.js +2 -0
  233. package/lib/utils/index.js.map +1 -0
  234. package/lib/utils/provide.d.ts +2 -0
  235. package/lib/utils/provide.d.ts.map +1 -0
  236. package/lib/utils/provide.js +11 -0
  237. package/lib/utils/provide.js.map +1 -0
  238. package/lib/utils/targets.d.ts +35 -0
  239. package/lib/utils/targets.d.ts.map +1 -0
  240. package/lib/utils/targets.js +2 -0
  241. package/lib/utils/targets.js.map +1 -0
  242. package/lib/utils/typeNames.d.ts +26 -0
  243. package/lib/utils/typeNames.d.ts.map +1 -0
  244. package/lib/utils/typeNames.js +2 -0
  245. package/lib/utils/typeNames.js.map +1 -0
  246. package/lib/utils/types.d.ts +10 -0
  247. package/lib/utils/types.d.ts.map +1 -0
  248. package/lib/utils/types.js +48 -0
  249. package/lib/utils/types.js.map +1 -0
  250. package/lib/utils/types.test.d.ts +2 -0
  251. package/lib/utils/types.test.d.ts.map +1 -0
  252. package/lib/utils/types.test.js +157 -0
  253. package/lib/utils/types.test.js.map +1 -0
  254. package/lib/utils/values.d.ts +32 -0
  255. package/lib/utils/values.d.ts.map +1 -0
  256. package/lib/utils/values.js +2 -0
  257. package/lib/utils/values.js.map +1 -0
  258. package/package.json +21 -7
  259. package/lib/ir/generated/validators.d.ts +0 -49
  260. package/lib/ir/generated/validators.d.ts.map +0 -1
  261. package/lib/ir/generated/validators.js +0 -171
  262. package/lib/ir/generated/validators.js.map +0 -1
  263. package/lib/live/OntologyAdapter.d.ts +0 -12
  264. package/lib/live/OntologyAdapter.d.ts.map +0 -1
  265. package/lib/live/OntologyAdapter.js +0 -2
  266. package/lib/live/OntologyAdapter.js.map +0 -1
  267. package/lib/live/applyActionLogic.d.ts +0 -10
  268. package/lib/live/applyActionLogic.d.ts.map +0 -1
  269. package/lib/live/applyActionLogic.js +0 -59
  270. package/lib/live/applyActionLogic.js.map +0 -1
  271. package/lib/ontology/generated/live.d.ts +0 -5
  272. package/lib/ontology/generated/live.d.ts.map +0 -1
  273. package/lib/ontology/generated/live.js.map +0 -1
  274. package/lib/ontology/generated/types.d.ts.map +0 -1
  275. package/lib/ontology/generated/types.js.map +0 -1
  276. package/lib/ontology/ontology.d.ts.map +0 -1
  277. package/lib/ontology/ontology.js.map +0 -1
  278. /package/lib/{ontology → meta}/generated/types.js +0 -0
@@ -1,10 +1,18 @@
1
- import type { UnionTypeDef } from "@party-stack/schema";
2
1
  declare const _default: {
3
2
  types: ({
4
3
  name: string;
5
4
  type: {
6
5
  kind: "struct";
7
- value: import("@party-stack/schema").StructTypeDef;
6
+ value: {
7
+ readonly fields: [{
8
+ readonly name: "message";
9
+ readonly displayName: "Message";
10
+ readonly type: {
11
+ kind: "string";
12
+ value: {};
13
+ };
14
+ }];
15
+ };
8
16
  };
9
17
  description?: undefined;
10
18
  } | {
@@ -12,23 +20,1508 @@ declare const _default: {
12
20
  description: string;
13
21
  type: {
14
22
  kind: "struct";
15
- value: import("@party-stack/schema").StructTypeDef;
23
+ value: {
24
+ readonly fields: [{
25
+ readonly name: "options";
26
+ readonly displayName: "Options";
27
+ readonly type: {
28
+ kind: "list";
29
+ value: {
30
+ readonly elementType: {
31
+ kind: "struct";
32
+ value: {
33
+ readonly fields: [{
34
+ readonly name: "value";
35
+ readonly displayName: "Value";
36
+ readonly type: {
37
+ kind: "string";
38
+ value: {};
39
+ };
40
+ }, {
41
+ readonly name: "label";
42
+ readonly displayName: "Label";
43
+ readonly type: {
44
+ kind: "optional";
45
+ value: {
46
+ readonly type: {
47
+ kind: "string";
48
+ value: {};
49
+ };
50
+ };
51
+ };
52
+ }];
53
+ };
54
+ };
55
+ };
56
+ };
57
+ }];
58
+ };
59
+ };
60
+ } | {
61
+ name: string;
62
+ description: string;
63
+ type: {
64
+ kind: "struct";
65
+ value: {
66
+ readonly fields: [{
67
+ readonly name: "regex";
68
+ readonly displayName: "Regex";
69
+ readonly type: {
70
+ kind: "string";
71
+ value: {};
72
+ };
73
+ }];
74
+ };
75
+ };
76
+ } | {
77
+ name: string;
78
+ description: string;
79
+ type: {
80
+ kind: "union";
81
+ value: {
82
+ readonly variants: [{
83
+ readonly name: "enum";
84
+ readonly type: {
85
+ kind: "ref";
86
+ value: {
87
+ readonly name: "StringEnumConstraint";
88
+ };
89
+ };
90
+ }, {
91
+ readonly name: "regex";
92
+ readonly type: {
93
+ kind: "ref";
94
+ value: {
95
+ readonly name: "StringRegexConstraint";
96
+ };
97
+ };
98
+ }];
99
+ };
100
+ };
101
+ } | {
102
+ name: string;
103
+ description: string;
104
+ type: {
105
+ kind: "struct";
106
+ value: {
107
+ readonly fields: [{
108
+ readonly name: "constraint";
109
+ readonly displayName: "Constraint";
110
+ readonly type: {
111
+ kind: "optional";
112
+ value: {
113
+ readonly type: {
114
+ kind: "ref";
115
+ value: {
116
+ readonly name: "StringConstraint";
117
+ };
118
+ };
119
+ };
120
+ };
121
+ }];
122
+ };
123
+ };
124
+ } | {
125
+ name: string;
126
+ description: string;
127
+ type: {
128
+ kind: "struct";
129
+ value: {
130
+ readonly fields: [];
131
+ };
132
+ };
133
+ } | {
134
+ name: string;
135
+ description: string;
136
+ type: {
137
+ kind: "struct";
138
+ value: {
139
+ readonly fields: [{
140
+ readonly name: "elementType";
141
+ readonly displayName: "Element Type";
142
+ readonly type: {
143
+ kind: "ref";
144
+ value: {
145
+ readonly name: "TypeDef";
146
+ };
147
+ };
148
+ readonly description: "The type of elements in the list.";
149
+ }];
150
+ };
151
+ };
152
+ } | {
153
+ name: string;
154
+ description: string;
155
+ type: {
156
+ kind: "struct";
157
+ value: {
158
+ readonly fields: [{
159
+ readonly name: "keyType";
160
+ readonly displayName: "Key Type";
161
+ readonly type: {
162
+ kind: "ref";
163
+ value: {
164
+ readonly name: "TypeDef";
165
+ };
166
+ };
167
+ readonly description: "The type of keys (must be string right now).";
168
+ }, {
169
+ readonly name: "valueType";
170
+ readonly displayName: "Value Type";
171
+ readonly type: {
172
+ kind: "ref";
173
+ value: {
174
+ readonly name: "TypeDef";
175
+ };
176
+ };
177
+ readonly description: "The type of values.";
178
+ }];
179
+ };
180
+ };
181
+ } | {
182
+ name: string;
183
+ description: string;
184
+ type: {
185
+ kind: "struct";
186
+ value: {
187
+ readonly fields: [{
188
+ readonly name: "name";
189
+ readonly displayName: "Name";
190
+ readonly type: {
191
+ kind: "string";
192
+ value: {};
193
+ };
194
+ readonly description: "The field name in code.";
195
+ }, {
196
+ readonly name: "displayName";
197
+ readonly displayName: "Display Name";
198
+ readonly type: {
199
+ kind: "string";
200
+ value: {};
201
+ };
202
+ readonly description: "Human-readable name.";
203
+ }, {
204
+ readonly name: "type";
205
+ readonly displayName: "Type";
206
+ readonly type: {
207
+ kind: "ref";
208
+ value: {
209
+ readonly name: "TypeDef";
210
+ };
211
+ };
212
+ readonly description: "The field's type.";
213
+ }, {
214
+ readonly name: "description";
215
+ readonly displayName: "Description";
216
+ readonly type: {
217
+ kind: "optional";
218
+ value: {
219
+ readonly type: {
220
+ kind: "string";
221
+ value: {};
222
+ };
223
+ };
224
+ };
225
+ readonly description: "Optional description.";
226
+ }, {
227
+ readonly name: "deprecated";
228
+ readonly displayName: "Deprecated?";
229
+ readonly type: {
230
+ kind: "optional";
231
+ value: {
232
+ readonly type: {
233
+ kind: "ref";
234
+ value: {
235
+ readonly name: "Deprecation";
236
+ };
237
+ };
238
+ };
239
+ };
240
+ }];
241
+ };
242
+ };
243
+ } | {
244
+ name: string;
245
+ description: string;
246
+ type: {
247
+ kind: "struct";
248
+ value: {
249
+ readonly fields: [{
250
+ readonly name: "fields";
251
+ readonly displayName: "Fields";
252
+ readonly type: {
253
+ kind: "list";
254
+ value: {
255
+ readonly elementType: {
256
+ kind: "ref";
257
+ value: {
258
+ readonly name: "FieldDef";
259
+ };
260
+ };
261
+ };
262
+ };
263
+ }];
264
+ };
265
+ };
266
+ } | {
267
+ name: string;
268
+ description: string;
269
+ type: {
270
+ kind: "struct";
271
+ value: {
272
+ readonly fields: [{
273
+ readonly name: "name";
274
+ readonly displayName: "Name";
275
+ readonly type: {
276
+ kind: "string";
277
+ value: {};
278
+ };
279
+ readonly description: "The variant's discriminator value.";
280
+ }, {
281
+ readonly name: "type";
282
+ readonly displayName: "Type";
283
+ readonly type: {
284
+ kind: "ref";
285
+ value: {
286
+ readonly name: "TypeDef";
287
+ };
288
+ };
289
+ readonly description: "The variant's payload type.";
290
+ }];
291
+ };
292
+ };
293
+ } | {
294
+ name: string;
295
+ description: string;
296
+ type: {
297
+ kind: "struct";
298
+ value: {
299
+ readonly fields: [{
300
+ readonly name: "variants";
301
+ readonly displayName: "Variants";
302
+ readonly type: {
303
+ kind: "list";
304
+ value: {
305
+ readonly elementType: {
306
+ kind: "ref";
307
+ value: {
308
+ readonly name: "VariantDef";
309
+ };
310
+ };
311
+ };
312
+ };
313
+ }];
314
+ };
315
+ };
316
+ } | {
317
+ name: string;
318
+ description: string;
319
+ type: {
320
+ kind: "struct";
321
+ value: {
322
+ readonly fields: [{
323
+ readonly name: "type";
324
+ readonly displayName: "Type";
325
+ readonly type: {
326
+ kind: "ref";
327
+ value: {
328
+ readonly name: "TypeDef";
329
+ };
330
+ };
331
+ readonly description: "The wrapped type.";
332
+ }];
333
+ };
334
+ };
335
+ } | {
336
+ name: string;
337
+ description: string;
338
+ type: {
339
+ kind: "struct";
340
+ value: {
341
+ readonly fields: [{
342
+ readonly name: "okType";
343
+ readonly displayName: "Ok Type";
344
+ readonly type: {
345
+ kind: "ref";
346
+ value: {
347
+ readonly name: "TypeDef";
348
+ };
349
+ };
350
+ readonly description: "The type of the success value.";
351
+ }, {
352
+ readonly name: "errType";
353
+ readonly displayName: "Error Type";
354
+ readonly type: {
355
+ kind: "ref";
356
+ value: {
357
+ readonly name: "TypeDef";
358
+ };
359
+ };
360
+ readonly description: "The type of the error value.";
361
+ }];
362
+ };
363
+ };
364
+ } | {
365
+ name: string;
366
+ description: string;
367
+ type: {
368
+ kind: "struct";
369
+ value: {
370
+ readonly fields: [{
371
+ readonly name: "name";
372
+ readonly displayName: "Name";
373
+ readonly type: {
374
+ kind: "string";
375
+ value: {};
376
+ };
377
+ readonly description: "The name of the referenced type.";
378
+ }];
379
+ };
16
380
  };
17
381
  } | {
18
382
  name: string;
19
383
  description: string;
20
384
  type: {
21
385
  kind: "union";
22
- value: UnionTypeDef;
386
+ value: {
387
+ readonly variants: [{
388
+ readonly name: "string";
389
+ readonly type: {
390
+ kind: "ref";
391
+ value: {
392
+ readonly name: "StringTypeDef";
393
+ };
394
+ };
395
+ }, {
396
+ readonly name: "boolean";
397
+ readonly type: {
398
+ kind: "ref";
399
+ value: {
400
+ readonly name: "BooleanTypeDef";
401
+ };
402
+ };
403
+ }, {
404
+ readonly name: "integer";
405
+ readonly type: {
406
+ kind: "ref";
407
+ value: {
408
+ readonly name: "IntegerTypeDef";
409
+ };
410
+ };
411
+ }, {
412
+ readonly name: "float";
413
+ readonly type: {
414
+ kind: "ref";
415
+ value: {
416
+ readonly name: "FloatTypeDef";
417
+ };
418
+ };
419
+ }, {
420
+ readonly name: "double";
421
+ readonly type: {
422
+ kind: "ref";
423
+ value: {
424
+ readonly name: "DoubleTypeDef";
425
+ };
426
+ };
427
+ }, {
428
+ readonly name: "date";
429
+ readonly type: {
430
+ kind: "ref";
431
+ value: {
432
+ readonly name: "DateTypeDef";
433
+ };
434
+ };
435
+ }, {
436
+ readonly name: "timestamp";
437
+ readonly type: {
438
+ kind: "ref";
439
+ value: {
440
+ readonly name: "TimestampTypeDef";
441
+ };
442
+ };
443
+ }, {
444
+ readonly name: "geopoint";
445
+ readonly type: {
446
+ kind: "ref";
447
+ value: {
448
+ readonly name: "GeopointTypeDef";
449
+ };
450
+ };
451
+ }, {
452
+ readonly name: "list";
453
+ readonly type: {
454
+ kind: "ref";
455
+ value: {
456
+ readonly name: "ListTypeDef";
457
+ };
458
+ };
459
+ }, {
460
+ readonly name: "map";
461
+ readonly type: {
462
+ kind: "ref";
463
+ value: {
464
+ readonly name: "MapTypeDef";
465
+ };
466
+ };
467
+ }, {
468
+ readonly name: "struct";
469
+ readonly type: {
470
+ kind: "ref";
471
+ value: {
472
+ readonly name: "StructTypeDef";
473
+ };
474
+ };
475
+ }, {
476
+ readonly name: "union";
477
+ readonly type: {
478
+ kind: "ref";
479
+ value: {
480
+ readonly name: "UnionTypeDef";
481
+ };
482
+ };
483
+ }, {
484
+ readonly name: "optional";
485
+ readonly type: {
486
+ kind: "ref";
487
+ value: {
488
+ readonly name: "OptionalTypeDef";
489
+ };
490
+ };
491
+ }, {
492
+ readonly name: "result";
493
+ readonly type: {
494
+ kind: "ref";
495
+ value: {
496
+ readonly name: "ResultTypeDef";
497
+ };
498
+ };
499
+ }, {
500
+ readonly name: "ref";
501
+ readonly type: {
502
+ kind: "ref";
503
+ value: {
504
+ readonly name: "TypeRef";
505
+ };
506
+ };
507
+ }, {
508
+ readonly name: "attachment";
509
+ readonly type: {
510
+ kind: "ref";
511
+ value: {
512
+ readonly name: "AttachmentTypeDef";
513
+ };
514
+ };
515
+ }, {
516
+ readonly name: "objectReference";
517
+ readonly type: {
518
+ kind: "ref";
519
+ value: {
520
+ readonly name: "ObjectReferenceTypeDef";
521
+ };
522
+ };
523
+ }, {
524
+ readonly name: "unknown";
525
+ readonly type: {
526
+ kind: "ref";
527
+ value: {
528
+ readonly name: "UnknownTypeDef";
529
+ };
530
+ };
531
+ }];
532
+ };
533
+ };
534
+ } | {
535
+ name: string;
536
+ description: string;
537
+ type: {
538
+ kind: "struct";
539
+ value: {
540
+ readonly fields: [{
541
+ readonly name: "name";
542
+ readonly displayName: "Name";
543
+ readonly type: {
544
+ kind: "string";
545
+ value: {};
546
+ };
547
+ readonly description: "The type's name for use in code.";
548
+ }, {
549
+ readonly name: "description";
550
+ readonly displayName: "Description";
551
+ readonly type: {
552
+ kind: "optional";
553
+ value: {
554
+ readonly type: {
555
+ kind: "string";
556
+ value: {};
557
+ };
558
+ };
559
+ };
560
+ readonly description: "Optional documentation for the type.";
561
+ }, {
562
+ readonly name: "deprecated";
563
+ readonly displayName: "Deprecated?";
564
+ readonly type: {
565
+ kind: "optional";
566
+ value: {
567
+ readonly type: {
568
+ kind: "ref";
569
+ value: {
570
+ readonly name: "Deprecation";
571
+ };
572
+ };
573
+ };
574
+ };
575
+ }, {
576
+ readonly name: "type";
577
+ readonly displayName: "Type";
578
+ readonly type: {
579
+ kind: "ref";
580
+ value: {
581
+ readonly name: "TypeDef";
582
+ };
583
+ };
584
+ readonly description: "The type definition.";
585
+ }];
586
+ };
587
+ };
588
+ } | {
589
+ name: string;
590
+ description: string;
591
+ type: {
592
+ kind: "struct";
593
+ value: {
594
+ readonly fields: [{
595
+ readonly name: "meta";
596
+ readonly displayName: "Meta";
597
+ readonly type: {
598
+ kind: "optional";
599
+ value: {
600
+ readonly type: {
601
+ kind: "map";
602
+ value: {
603
+ readonly keyType: {
604
+ kind: "string";
605
+ value: {};
606
+ };
607
+ readonly valueType: {
608
+ kind: "unknown";
609
+ value: {};
610
+ };
611
+ };
612
+ };
613
+ };
614
+ };
615
+ }];
616
+ };
617
+ };
618
+ } | {
619
+ name: string;
620
+ description: string;
621
+ type: {
622
+ kind: "struct";
623
+ value: {
624
+ readonly fields: [{
625
+ readonly name: "objectType";
626
+ readonly displayName: "Object type";
627
+ readonly type: {
628
+ kind: "string";
629
+ value: {};
630
+ };
631
+ readonly description: "The referenced object type name.";
632
+ }];
633
+ };
634
+ };
635
+ } | {
636
+ name: string;
637
+ description: string;
638
+ type: {
639
+ kind: "struct";
640
+ value: {
641
+ readonly fields: [{
642
+ readonly name: "name";
643
+ readonly displayName: "Name";
644
+ readonly type: {
645
+ kind: "string";
646
+ value: {};
647
+ };
648
+ readonly description: "The property's name.";
649
+ }, {
650
+ readonly name: "displayName";
651
+ readonly displayName: "Display name";
652
+ readonly type: {
653
+ kind: "string";
654
+ value: {};
655
+ };
656
+ readonly description: "Human-readable name.";
657
+ }, {
658
+ readonly name: "type";
659
+ readonly displayName: "Type";
660
+ readonly type: {
661
+ kind: "ref";
662
+ value: {
663
+ readonly name: "TypeDef";
664
+ };
665
+ };
666
+ readonly description: "The property's type.";
667
+ }, {
668
+ readonly name: "description";
669
+ readonly displayName: "Description";
670
+ readonly type: {
671
+ kind: "optional";
672
+ value: {
673
+ readonly type: {
674
+ kind: "string";
675
+ value: {};
676
+ };
677
+ };
678
+ };
679
+ readonly description: "Optional description.";
680
+ }, {
681
+ readonly name: "deprecated";
682
+ readonly displayName: "Deprecated?";
683
+ readonly type: {
684
+ kind: "optional";
685
+ value: {
686
+ readonly type: {
687
+ kind: "ref";
688
+ value: {
689
+ readonly name: "Deprecation";
690
+ };
691
+ };
692
+ };
693
+ };
694
+ }];
695
+ };
23
696
  };
697
+ } | {
698
+ name: string;
699
+ description: string;
700
+ type: {
701
+ kind: "struct";
702
+ value: {
703
+ readonly fields: [{
704
+ readonly name: "name";
705
+ readonly displayName: "Name";
706
+ readonly type: {
707
+ kind: "string";
708
+ value: {};
709
+ };
710
+ readonly description: "The object type's programmatic name.";
711
+ }, {
712
+ readonly name: "displayName";
713
+ readonly displayName: "Display name";
714
+ readonly type: {
715
+ kind: "string";
716
+ value: {};
717
+ };
718
+ readonly description: "Human-readable name.";
719
+ }, {
720
+ readonly name: "pluralDisplayName";
721
+ readonly displayName: "Plural display name";
722
+ readonly type: {
723
+ kind: "string";
724
+ value: {};
725
+ };
726
+ }, {
727
+ readonly name: "primaryKey";
728
+ readonly displayName: "Primary key";
729
+ readonly type: {
730
+ kind: "string";
731
+ value: {};
732
+ };
733
+ readonly description: "The name of the property that serves as primary key.";
734
+ }, {
735
+ readonly name: "properties";
736
+ readonly displayName: "Properties";
737
+ readonly type: {
738
+ kind: "list";
739
+ value: {
740
+ readonly elementType: {
741
+ kind: "ref";
742
+ value: {
743
+ readonly name: "PropertyDef";
744
+ };
745
+ };
746
+ };
747
+ };
748
+ readonly description: "The object type's propertieo.";
749
+ }, {
750
+ readonly name: "description";
751
+ readonly displayName: "Description";
752
+ readonly type: {
753
+ kind: "optional";
754
+ value: {
755
+ readonly type: {
756
+ kind: "string";
757
+ value: {};
758
+ };
759
+ };
760
+ };
761
+ readonly description: "Optional description.";
762
+ }, {
763
+ readonly name: "deprecated";
764
+ readonly displayName: "Deprecated?";
765
+ readonly type: {
766
+ kind: "optional";
767
+ value: {
768
+ readonly type: {
769
+ kind: "ref";
770
+ value: {
771
+ readonly name: "Deprecation";
772
+ };
773
+ };
774
+ };
775
+ };
776
+ }];
777
+ };
778
+ };
779
+ } | {
780
+ name: string;
781
+ type: {
782
+ kind: "struct";
783
+ value: {
784
+ readonly fields: [{
785
+ readonly name: "objectType";
786
+ readonly displayName: "Object type";
787
+ readonly type: {
788
+ kind: "string";
789
+ value: {};
790
+ };
791
+ }, {
792
+ readonly name: "name";
793
+ readonly displayName: "Name";
794
+ readonly type: {
795
+ kind: "string";
796
+ value: {};
797
+ };
798
+ }, {
799
+ readonly name: "displayName";
800
+ readonly displayName: "Display name";
801
+ readonly type: {
802
+ kind: "string";
803
+ value: {};
804
+ };
805
+ }];
806
+ };
807
+ };
808
+ description?: undefined;
24
809
  } | {
25
810
  name: string;
26
811
  description: string;
27
812
  type: {
28
813
  kind: "string";
29
- value: import("@party-stack/schema").StringTypeDef;
814
+ value: {
815
+ readonly constraint: {
816
+ kind: "enum";
817
+ value: {
818
+ readonly options: [{
819
+ readonly value: "one";
820
+ readonly label: "One";
821
+ }, {
822
+ readonly value: "many";
823
+ readonly label: "Many";
824
+ }];
825
+ };
826
+ };
827
+ };
828
+ };
829
+ } | {
830
+ name: string;
831
+ description: string;
832
+ type: {
833
+ kind: "struct";
834
+ value: {
835
+ readonly fields: [{
836
+ readonly name: "id";
837
+ readonly displayName: "ID";
838
+ readonly type: {
839
+ kind: "string";
840
+ value: {};
841
+ };
842
+ }, {
843
+ readonly name: "source";
844
+ readonly displayName: "Source";
845
+ readonly type: {
846
+ kind: "ref";
847
+ value: {
848
+ readonly name: "LinkTypeSideDef";
849
+ };
850
+ };
851
+ }, {
852
+ readonly name: "target";
853
+ readonly displayName: "Target";
854
+ readonly type: {
855
+ kind: "ref";
856
+ value: {
857
+ readonly name: "LinkTypeSideDef";
858
+ };
859
+ };
860
+ }, {
861
+ readonly name: "foreignKey";
862
+ readonly displayName: "Foreign key";
863
+ readonly type: {
864
+ kind: "string";
865
+ value: {};
866
+ };
867
+ readonly description: "The foreign key on the source.";
868
+ }, {
869
+ readonly name: "cardinality";
870
+ readonly displayName: "Cardinality";
871
+ readonly type: {
872
+ kind: "string";
873
+ value: {
874
+ readonly constraint: {
875
+ kind: "enum";
876
+ value: {
877
+ readonly options: [{
878
+ readonly value: "one";
879
+ readonly label: "One";
880
+ }, {
881
+ readonly value: "many";
882
+ readonly label: "Many";
883
+ }];
884
+ };
885
+ };
886
+ };
887
+ };
888
+ readonly description: "How many sources are linked to the target.";
889
+ }];
890
+ };
891
+ };
892
+ } | {
893
+ name: string;
894
+ description: string;
895
+ type: {
896
+ kind: "struct";
897
+ value: {
898
+ readonly fields: [{
899
+ readonly name: "name";
900
+ readonly displayName: "Name";
901
+ readonly type: {
902
+ kind: "string";
903
+ value: {};
904
+ };
905
+ readonly description: "The parameter's name.";
906
+ }, {
907
+ readonly name: "displayName";
908
+ readonly displayName: "Display name";
909
+ readonly type: {
910
+ kind: "string";
911
+ value: {};
912
+ };
913
+ readonly description: "Human-readable name.";
914
+ }, {
915
+ readonly name: "type";
916
+ readonly displayName: "Type";
917
+ readonly type: {
918
+ kind: "ref";
919
+ value: {
920
+ readonly name: "TypeDef";
921
+ };
922
+ };
923
+ readonly description: "The parameter's type.";
924
+ }, {
925
+ readonly name: "description";
926
+ readonly displayName: "Description";
927
+ readonly type: {
928
+ kind: "optional";
929
+ value: {
930
+ readonly type: {
931
+ kind: "string";
932
+ value: {};
933
+ };
934
+ };
935
+ };
936
+ readonly description: "Optional description.";
937
+ }, {
938
+ readonly name: "deprecated";
939
+ readonly displayName: "Deprecated?";
940
+ readonly type: {
941
+ kind: "optional";
942
+ value: {
943
+ readonly type: {
944
+ kind: "ref";
945
+ value: {
946
+ readonly name: "Deprecation";
947
+ };
948
+ };
949
+ };
950
+ };
951
+ }, {
952
+ readonly name: "defaultValue";
953
+ readonly displayName: "Default value";
954
+ readonly type: {
955
+ kind: "optional";
956
+ value: {
957
+ readonly type: {
958
+ kind: "ref";
959
+ value: {
960
+ readonly name: "Expression";
961
+ };
962
+ };
963
+ };
964
+ };
965
+ readonly description: "The expression used when the caller does not provide a value.";
966
+ }];
967
+ };
968
+ };
969
+ } | {
970
+ name: string;
971
+ description: string;
972
+ type: {
973
+ kind: "struct";
974
+ value: {
975
+ readonly fields: [{
976
+ readonly name: "path";
977
+ readonly displayName: "Path";
978
+ readonly type: {
979
+ kind: "list";
980
+ value: {
981
+ readonly elementType: {
982
+ kind: "string";
983
+ value: {};
984
+ };
985
+ };
986
+ };
987
+ }];
988
+ };
989
+ };
990
+ } | {
991
+ name: string;
992
+ description: string;
993
+ type: {
994
+ kind: "struct";
995
+ value: {
996
+ readonly fields: [{
997
+ readonly name: "value";
998
+ readonly displayName: "Value";
999
+ readonly type: {
1000
+ kind: "unknown";
1001
+ value: {};
1002
+ };
1003
+ readonly description: "The literal value.";
1004
+ }];
1005
+ };
1006
+ };
1007
+ } | {
1008
+ name: string;
1009
+ description: string;
1010
+ type: {
1011
+ kind: "union";
1012
+ value: {
1013
+ readonly variants: [{
1014
+ readonly name: "uuid";
1015
+ readonly type: {
1016
+ kind: "ref";
1017
+ value: {
1018
+ readonly name: "UuidFunctionCall";
1019
+ };
1020
+ };
1021
+ }, {
1022
+ readonly name: "now";
1023
+ readonly type: {
1024
+ kind: "ref";
1025
+ value: {
1026
+ readonly name: "NowFunctionCall";
1027
+ };
1028
+ };
1029
+ }];
1030
+ };
1031
+ };
1032
+ } | {
1033
+ name: string;
1034
+ description: string;
1035
+ type: {
1036
+ kind: "union";
1037
+ value: {
1038
+ readonly variants: [{
1039
+ readonly name: "valueReference";
1040
+ readonly type: {
1041
+ kind: "ref";
1042
+ value: {
1043
+ readonly name: "ValueReferenceExpression";
1044
+ };
1045
+ };
1046
+ }, {
1047
+ readonly name: "contextReference";
1048
+ readonly type: {
1049
+ kind: "ref";
1050
+ value: {
1051
+ readonly name: "ContextReferenceExpression";
1052
+ };
1053
+ };
1054
+ }, {
1055
+ readonly name: "functionCall";
1056
+ readonly type: {
1057
+ kind: "ref";
1058
+ value: {
1059
+ readonly name: "FunctionCallExpression";
1060
+ };
1061
+ };
1062
+ }, {
1063
+ readonly name: "literal";
1064
+ readonly type: {
1065
+ kind: "ref";
1066
+ value: {
1067
+ readonly name: "LiteralExpression";
1068
+ };
1069
+ };
1070
+ }];
1071
+ };
1072
+ };
1073
+ } | {
1074
+ name: string;
1075
+ description: string;
1076
+ type: {
1077
+ kind: "struct";
1078
+ value: {
1079
+ readonly fields: [{
1080
+ readonly name: "property";
1081
+ readonly displayName: "Property";
1082
+ readonly type: {
1083
+ kind: "list";
1084
+ value: {
1085
+ readonly elementType: {
1086
+ kind: "string";
1087
+ value: {};
1088
+ };
1089
+ };
1090
+ };
1091
+ }, {
1092
+ readonly name: "value";
1093
+ readonly displayName: "Value";
1094
+ readonly type: {
1095
+ kind: "ref";
1096
+ value: {
1097
+ readonly name: "Expression";
1098
+ };
1099
+ };
1100
+ }];
1101
+ };
1102
+ };
1103
+ } | {
1104
+ name: string;
1105
+ description: string;
1106
+ type: {
1107
+ kind: "struct";
1108
+ value: {
1109
+ readonly fields: [{
1110
+ readonly name: "objectType";
1111
+ readonly displayName: "Object type";
1112
+ readonly type: {
1113
+ kind: "string";
1114
+ value: {};
1115
+ };
1116
+ }, {
1117
+ readonly name: "values";
1118
+ readonly displayName: "Values";
1119
+ readonly type: {
1120
+ kind: "list";
1121
+ value: {
1122
+ readonly elementType: {
1123
+ kind: "ref";
1124
+ value: {
1125
+ readonly name: "PropertyAssignment";
1126
+ };
1127
+ };
1128
+ };
1129
+ };
1130
+ }];
1131
+ };
1132
+ };
1133
+ } | {
1134
+ name: string;
1135
+ description: string;
1136
+ type: {
1137
+ kind: "struct";
1138
+ value: {
1139
+ readonly fields: [{
1140
+ readonly name: "object";
1141
+ readonly displayName: "Object";
1142
+ readonly type: {
1143
+ kind: "ref";
1144
+ value: {
1145
+ readonly name: "ValueReferenceExpression";
1146
+ };
1147
+ };
1148
+ }, {
1149
+ readonly name: "values";
1150
+ readonly displayName: "Values";
1151
+ readonly type: {
1152
+ kind: "list";
1153
+ value: {
1154
+ readonly elementType: {
1155
+ kind: "ref";
1156
+ value: {
1157
+ readonly name: "PropertyAssignment";
1158
+ };
1159
+ };
1160
+ };
1161
+ };
1162
+ }];
1163
+ };
1164
+ };
1165
+ } | {
1166
+ name: string;
1167
+ description: string;
1168
+ type: {
1169
+ kind: "struct";
1170
+ value: {
1171
+ readonly fields: [{
1172
+ readonly name: "object";
1173
+ readonly displayName: "Object";
1174
+ readonly type: {
1175
+ kind: "ref";
1176
+ value: {
1177
+ readonly name: "ValueReferenceExpression";
1178
+ };
1179
+ };
1180
+ }];
1181
+ };
1182
+ };
1183
+ } | {
1184
+ name: string;
1185
+ description: string;
1186
+ type: {
1187
+ kind: "union";
1188
+ value: {
1189
+ readonly variants: [{
1190
+ readonly name: "createObject";
1191
+ readonly type: {
1192
+ kind: "ref";
1193
+ value: {
1194
+ readonly name: "CreateObjectActionLogicStep";
1195
+ };
1196
+ };
1197
+ }, {
1198
+ readonly name: "updateObject";
1199
+ readonly type: {
1200
+ kind: "ref";
1201
+ value: {
1202
+ readonly name: "UpdateObjectActionLogicStep";
1203
+ };
1204
+ };
1205
+ }, {
1206
+ readonly name: "deleteObject";
1207
+ readonly type: {
1208
+ kind: "ref";
1209
+ value: {
1210
+ readonly name: "DeleteObjectActionLogicStep";
1211
+ };
1212
+ };
1213
+ }];
1214
+ };
1215
+ };
1216
+ } | {
1217
+ name: string;
1218
+ description: string;
1219
+ type: {
1220
+ kind: "struct";
1221
+ value: {
1222
+ readonly fields: [{
1223
+ readonly name: "name";
1224
+ readonly displayName: "Name";
1225
+ readonly type: {
1226
+ kind: "string";
1227
+ value: {};
1228
+ };
1229
+ readonly description: "The object type's programmatic name.";
1230
+ }, {
1231
+ readonly name: "displayName";
1232
+ readonly displayName: "Display name";
1233
+ readonly type: {
1234
+ kind: "string";
1235
+ value: {};
1236
+ };
1237
+ readonly description: "Human-readable name.";
1238
+ }, {
1239
+ readonly name: "parameters";
1240
+ readonly displayName: "Parameters";
1241
+ readonly type: {
1242
+ kind: "list";
1243
+ value: {
1244
+ readonly elementType: {
1245
+ kind: "ref";
1246
+ value: {
1247
+ readonly name: "ActionParameterDef";
1248
+ };
1249
+ };
1250
+ };
1251
+ };
1252
+ readonly description: "The action type's parametero.";
1253
+ }, {
1254
+ readonly name: "logic";
1255
+ readonly displayName: "Logic";
1256
+ readonly type: {
1257
+ kind: "list";
1258
+ value: {
1259
+ readonly elementType: {
1260
+ kind: "ref";
1261
+ value: {
1262
+ readonly name: "ActionLogicStep";
1263
+ };
1264
+ };
1265
+ };
1266
+ };
1267
+ readonly description: "The action type's local logic stepo.";
1268
+ }, {
1269
+ readonly name: "description";
1270
+ readonly displayName: "Description";
1271
+ readonly type: {
1272
+ kind: "optional";
1273
+ value: {
1274
+ readonly type: {
1275
+ kind: "string";
1276
+ value: {};
1277
+ };
1278
+ };
1279
+ };
1280
+ readonly description: "Optional description.";
1281
+ }, {
1282
+ readonly name: "deprecated";
1283
+ readonly displayName: "Deprecated?";
1284
+ readonly type: {
1285
+ kind: "optional";
1286
+ value: {
1287
+ readonly type: {
1288
+ kind: "ref";
1289
+ value: {
1290
+ readonly name: "Deprecation";
1291
+ };
1292
+ };
1293
+ };
1294
+ };
1295
+ }];
1296
+ };
1297
+ };
1298
+ } | {
1299
+ name: string;
1300
+ description: string;
1301
+ type: {
1302
+ kind: "struct";
1303
+ value: {
1304
+ readonly fields: [{
1305
+ readonly name: "name";
1306
+ readonly displayName: "Name";
1307
+ readonly type: {
1308
+ kind: "string";
1309
+ value: {};
1310
+ };
1311
+ readonly description: "The query function parameter's programmatic name.";
1312
+ }, {
1313
+ readonly name: "displayName";
1314
+ readonly displayName: "Display name";
1315
+ readonly type: {
1316
+ kind: "string";
1317
+ value: {};
1318
+ };
1319
+ readonly description: "Human-readable name.";
1320
+ }, {
1321
+ readonly name: "type";
1322
+ readonly displayName: "Type";
1323
+ readonly type: {
1324
+ kind: "ref";
1325
+ value: {
1326
+ readonly name: "TypeDef";
1327
+ };
1328
+ };
1329
+ }, {
1330
+ readonly name: "description";
1331
+ readonly displayName: "Description";
1332
+ readonly type: {
1333
+ kind: "optional";
1334
+ value: {
1335
+ readonly type: {
1336
+ kind: "string";
1337
+ value: {};
1338
+ };
1339
+ };
1340
+ };
1341
+ readonly description: "Optional description.";
1342
+ }, {
1343
+ readonly name: "deprecated";
1344
+ readonly displayName: "Deprecated?";
1345
+ readonly type: {
1346
+ kind: "optional";
1347
+ value: {
1348
+ readonly type: {
1349
+ kind: "ref";
1350
+ value: {
1351
+ readonly name: "Deprecation";
1352
+ };
1353
+ };
1354
+ };
1355
+ };
1356
+ }];
1357
+ };
1358
+ };
1359
+ } | {
1360
+ name: string;
1361
+ description: string;
1362
+ type: {
1363
+ kind: "struct";
1364
+ value: {
1365
+ readonly fields: [{
1366
+ readonly name: "name";
1367
+ readonly displayName: "Name";
1368
+ readonly type: {
1369
+ kind: "string";
1370
+ value: {};
1371
+ };
1372
+ readonly description: "The query function type's programmatic name.";
1373
+ }, {
1374
+ readonly name: "displayName";
1375
+ readonly displayName: "Display name";
1376
+ readonly type: {
1377
+ kind: "string";
1378
+ value: {};
1379
+ };
1380
+ readonly description: "Human-readable name.";
1381
+ }, {
1382
+ readonly name: "parameters";
1383
+ readonly displayName: "Parameters";
1384
+ readonly type: {
1385
+ kind: "list";
1386
+ value: {
1387
+ readonly elementType: {
1388
+ kind: "ref";
1389
+ value: {
1390
+ readonly name: "QueryFunctionParameterDef";
1391
+ };
1392
+ };
1393
+ };
1394
+ };
1395
+ readonly description: "The query function type's parameters.";
1396
+ }, {
1397
+ readonly name: "returnType";
1398
+ readonly displayName: "Return type";
1399
+ readonly type: {
1400
+ kind: "ref";
1401
+ value: {
1402
+ readonly name: "TypeDef";
1403
+ };
1404
+ };
1405
+ readonly description: "The query function type's return type.";
1406
+ }, {
1407
+ readonly name: "description";
1408
+ readonly displayName: "Description";
1409
+ readonly type: {
1410
+ kind: "optional";
1411
+ value: {
1412
+ readonly type: {
1413
+ kind: "string";
1414
+ value: {};
1415
+ };
1416
+ };
1417
+ };
1418
+ readonly description: "Optional description.";
1419
+ }, {
1420
+ readonly name: "deprecated";
1421
+ readonly displayName: "Deprecated?";
1422
+ readonly type: {
1423
+ kind: "optional";
1424
+ value: {
1425
+ readonly type: {
1426
+ kind: "ref";
1427
+ value: {
1428
+ readonly name: "Deprecation";
1429
+ };
1430
+ };
1431
+ };
1432
+ };
1433
+ }];
1434
+ };
1435
+ };
1436
+ } | {
1437
+ name: string;
1438
+ description: string;
1439
+ type: {
1440
+ kind: "struct";
1441
+ value: {
1442
+ readonly fields: [{
1443
+ readonly name: "types";
1444
+ readonly displayName: "Named types";
1445
+ readonly type: {
1446
+ kind: "list";
1447
+ value: {
1448
+ readonly elementType: {
1449
+ kind: "ref";
1450
+ value: {
1451
+ readonly name: "NamedTypeDef";
1452
+ };
1453
+ };
1454
+ };
1455
+ };
1456
+ readonly description: "Named, reusable value types.";
1457
+ }, {
1458
+ readonly name: "objectTypes";
1459
+ readonly displayName: "Object types";
1460
+ readonly type: {
1461
+ kind: "list";
1462
+ value: {
1463
+ readonly elementType: {
1464
+ kind: "ref";
1465
+ value: {
1466
+ readonly name: "ObjectTypeDef";
1467
+ };
1468
+ };
1469
+ };
1470
+ };
1471
+ readonly description: "Object type definitions.";
1472
+ }, {
1473
+ readonly name: "linkTypes";
1474
+ readonly displayName: "Link types";
1475
+ readonly type: {
1476
+ kind: "list";
1477
+ value: {
1478
+ readonly elementType: {
1479
+ kind: "ref";
1480
+ value: {
1481
+ readonly name: "LinkTypeDef";
1482
+ };
1483
+ };
1484
+ };
1485
+ };
1486
+ readonly description: "Relationship definitions between object types.";
1487
+ }, {
1488
+ readonly name: "actionTypes";
1489
+ readonly displayName: "Action types";
1490
+ readonly type: {
1491
+ kind: "list";
1492
+ value: {
1493
+ readonly elementType: {
1494
+ kind: "ref";
1495
+ value: {
1496
+ readonly name: "ActionTypeDef";
1497
+ };
1498
+ };
1499
+ };
1500
+ };
1501
+ readonly description: "Action type definitions.";
1502
+ }, {
1503
+ readonly name: "queryFunctionTypes";
1504
+ readonly displayName: "Query function types";
1505
+ readonly type: {
1506
+ kind: "list";
1507
+ value: {
1508
+ readonly elementType: {
1509
+ kind: "ref";
1510
+ value: {
1511
+ readonly name: "QueryFunctionTypeDef";
1512
+ };
1513
+ };
1514
+ };
1515
+ };
1516
+ readonly description: "Query function type definitions.";
1517
+ }];
1518
+ };
30
1519
  };
31
1520
  })[];
1521
+ objectTypes: never[];
1522
+ linkTypes: never[];
1523
+ actionTypes: never[];
1524
+ queryFunctionTypes: never[];
32
1525
  };
33
1526
  export default _default;
34
1527
  //# sourceMappingURL=schema.d.ts.map