@coasys/ad4m 0.13.0-test-interpretation-2 → 0.13.0-test-model-layer

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 (254) hide show
  1. package/lib/index.cjs +1982 -498
  2. package/lib/index.js +1982 -499
  3. package/lib/src/ai/AIClient.js +6 -3
  4. package/lib/src/apiClient.d.ts +40 -4
  5. package/lib/src/apiClient.js +149 -9
  6. package/lib/src/index.d.ts +3 -1
  7. package/lib/src/index.js +2 -0
  8. package/lib/src/model/Ad4mModel.d.ts +6 -5
  9. package/lib/src/model/Ad4mModel.js +246 -29
  10. package/lib/src/model/Ad4mModel.test.js +480 -735
  11. package/lib/src/model/decorators.d.ts +147 -4
  12. package/lib/src/model/decorators.js +70 -24
  13. package/lib/src/model/model-manifest.d.ts +41 -0
  14. package/lib/src/model/model-manifest.js +11 -0
  15. package/lib/src/model/query-sparql.test.js +92 -10
  16. package/lib/src/model/shacl-gen.js +33 -0
  17. package/lib/src/model/types.d.ts +9 -0
  18. package/lib/src/neighbourhood/NeighbourhoodProxy.test.js +33 -33
  19. package/lib/src/perspectives/AutoProcessor.d.ts +90 -24
  20. package/lib/src/perspectives/FlowInstance.d.ts +187 -0
  21. package/lib/src/perspectives/FlowInstance.js +336 -0
  22. package/lib/src/perspectives/FlowModels.d.ts +94 -0
  23. package/lib/src/perspectives/FlowModels.js +182 -0
  24. package/lib/src/perspectives/InterpretationModels.d.ts +12 -22
  25. package/lib/src/perspectives/InterpretationModels.js +2 -6
  26. package/lib/src/perspectives/PerspectiveClient.d.ts +68 -7
  27. package/lib/src/perspectives/PerspectiveClient.js +105 -10
  28. package/lib/src/perspectives/PerspectiveProxy.d.ts +142 -57
  29. package/lib/src/perspectives/PerspectiveProxy.js +388 -274
  30. package/lib/src/shacl/SHACLFlow.d.ts +273 -47
  31. package/lib/src/shacl/SHACLFlow.js +397 -88
  32. package/lib/src/shacl/SHACLShape.d.ts +8 -0
  33. package/lib/src/shacl/SHACLShape.js +17 -0
  34. package/lib/src/shacl/SHACLShape.test.js +82 -0
  35. package/package.json +2 -2
  36. package/src/ai/AIClient.ts +6 -3
  37. package/src/apiClient.test.ts +227 -0
  38. package/src/apiClient.ts +185 -9
  39. package/src/index.ts +3 -1
  40. package/src/model/Ad4mModel.test.ts +645 -0
  41. package/src/model/Ad4mModel.ts +245 -26
  42. package/src/model/decorators.ts +216 -35
  43. package/src/model/relation-filtering.test.ts +70 -20
  44. package/src/model/shacl-gen.ts +36 -0
  45. package/src/model/shacl-roundtrip.test.ts +130 -0
  46. package/src/model/types.ts +7 -0
  47. package/src/perspectives/AutoProcessor.ts +94 -24
  48. package/src/perspectives/FlowInstance.ts +369 -0
  49. package/src/perspectives/FlowModels.ts +157 -0
  50. package/src/perspectives/InterpretationModels.ts +13 -25
  51. package/src/perspectives/PerspectiveClient.test.ts +67 -6
  52. package/src/perspectives/PerspectiveClient.ts +142 -12
  53. package/src/perspectives/PerspectiveProxy.test.ts +406 -0
  54. package/src/perspectives/PerspectiveProxy.ts +459 -289
  55. package/src/perspectives/shacl-rpc.test.ts +258 -0
  56. package/src/shacl/SHACLFlow.test.ts +762 -35
  57. package/src/shacl/SHACLFlow.ts +680 -112
  58. package/src/shacl/SHACLShape.ts +31 -0
  59. package/lib/src/generated/rest/AIModelLoadingStatus.d.ts +0 -7
  60. package/lib/src/generated/rest/AIModelLoadingStatus.js +0 -2
  61. package/lib/src/generated/rest/AddAgentInfosRequest.d.ts +0 -3
  62. package/lib/src/generated/rest/AddAgentInfosRequest.js +0 -2
  63. package/lib/src/generated/rest/AddLinkExpressionRequest.d.ts +0 -6
  64. package/lib/src/generated/rest/AddLinkExpressionRequest.js +0 -1
  65. package/lib/src/generated/rest/AddLinkRequest.d.ts +0 -6
  66. package/lib/src/generated/rest/AddLinkRequest.js +0 -1
  67. package/lib/src/generated/rest/AddLinksBulkRequest.d.ts +0 -6
  68. package/lib/src/generated/rest/AddLinksBulkRequest.js +0 -1
  69. package/lib/src/generated/rest/AddSdnaRequest.d.ts +0 -6
  70. package/lib/src/generated/rest/AddSdnaRequest.js +0 -2
  71. package/lib/src/generated/rest/ApplyTemplateRequest.d.ts +0 -4
  72. package/lib/src/generated/rest/ApplyTemplateRequest.js +0 -2
  73. package/lib/src/generated/rest/AuthInfoInput.d.ts +0 -10
  74. package/lib/src/generated/rest/AuthInfoInput.js +0 -1
  75. package/lib/src/generated/rest/BroadcastRequest.d.ts +0 -6
  76. package/lib/src/generated/rest/BroadcastRequest.js +0 -1
  77. package/lib/src/generated/rest/CapabilityInput.d.ts +0 -5
  78. package/lib/src/generated/rest/CapabilityInput.js +0 -1
  79. package/lib/src/generated/rest/CommitBatchRequest.d.ts +0 -3
  80. package/lib/src/generated/rest/CommitBatchRequest.js +0 -2
  81. package/lib/src/generated/rest/ComputeLogEntry.d.ts +0 -9
  82. package/lib/src/generated/rest/ComputeLogEntry.js +0 -2
  83. package/lib/src/generated/rest/CreateExpressionRequest.d.ts +0 -4
  84. package/lib/src/generated/rest/CreateExpressionRequest.js +0 -2
  85. package/lib/src/generated/rest/CreatePerspectiveRequest.d.ts +0 -3
  86. package/lib/src/generated/rest/CreatePerspectiveRequest.js +0 -2
  87. package/lib/src/generated/rest/CreateSubjectRequest.d.ts +0 -6
  88. package/lib/src/generated/rest/CreateSubjectRequest.js +0 -2
  89. package/lib/src/generated/rest/CreateUserRequest.d.ts +0 -4
  90. package/lib/src/generated/rest/CreateUserRequest.js +0 -2
  91. package/lib/src/generated/rest/CreateUserResponse.d.ts +0 -5
  92. package/lib/src/generated/rest/CreateUserResponse.js +0 -2
  93. package/lib/src/generated/rest/DecoratedExpressionProof.d.ts +0 -6
  94. package/lib/src/generated/rest/DecoratedExpressionProof.js +0 -2
  95. package/lib/src/generated/rest/DecoratedLinkExpression.d.ts +0 -10
  96. package/lib/src/generated/rest/DecoratedLinkExpression.js +0 -1
  97. package/lib/src/generated/rest/DisposeQueryRequest.d.ts +0 -3
  98. package/lib/src/generated/rest/DisposeQueryRequest.js +0 -2
  99. package/lib/src/generated/rest/EmailTestRequest.d.ts +0 -6
  100. package/lib/src/generated/rest/EmailTestRequest.js +0 -2
  101. package/lib/src/generated/rest/EmbedRequest.d.ts +0 -4
  102. package/lib/src/generated/rest/EmbedRequest.js +0 -2
  103. package/lib/src/generated/rest/EntanglementProofInput.d.ts +0 -6
  104. package/lib/src/generated/rest/EntanglementProofInput.js +0 -2
  105. package/lib/src/generated/rest/EntanglementProofPreflightRequest.d.ts +0 -4
  106. package/lib/src/generated/rest/EntanglementProofPreflightRequest.js +0 -2
  107. package/lib/src/generated/rest/ExecuteCommandsRequest.d.ts +0 -4
  108. package/lib/src/generated/rest/ExecuteCommandsRequest.js +0 -2
  109. package/lib/src/generated/rest/ExportRequest.d.ts +0 -5
  110. package/lib/src/generated/rest/ExportRequest.js +0 -2
  111. package/lib/src/generated/rest/ExpressionManyRequest.d.ts +0 -3
  112. package/lib/src/generated/rest/ExpressionManyRequest.js +0 -2
  113. package/lib/src/generated/rest/ExpressionProof.d.ts +0 -4
  114. package/lib/src/generated/rest/ExpressionProof.js +0 -2
  115. package/lib/src/generated/rest/ExpressionProofInput.d.ts +0 -6
  116. package/lib/src/generated/rest/ExpressionProofInput.js +0 -2
  117. package/lib/src/generated/rest/FriendSendMessageRequest.d.ts +0 -3
  118. package/lib/src/generated/rest/FriendSendMessageRequest.js +0 -2
  119. package/lib/src/generated/rest/FriendsListRequest.d.ts +0 -3
  120. package/lib/src/generated/rest/FriendsListRequest.js +0 -2
  121. package/lib/src/generated/rest/GenerateAgentRequest.d.ts +0 -3
  122. package/lib/src/generated/rest/GenerateAgentRequest.js +0 -2
  123. package/lib/src/generated/rest/GenerateJwtRequest.d.ts +0 -4
  124. package/lib/src/generated/rest/GenerateJwtRequest.js +0 -2
  125. package/lib/src/generated/rest/GetSubjectDataRequest.d.ts +0 -4
  126. package/lib/src/generated/rest/GetSubjectDataRequest.js +0 -2
  127. package/lib/src/generated/rest/HostingInfoResponse.d.ts +0 -5
  128. package/lib/src/generated/rest/HostingInfoResponse.js +0 -2
  129. package/lib/src/generated/rest/HostingWalletResponse.d.ts +0 -4
  130. package/lib/src/generated/rest/HostingWalletResponse.js +0 -2
  131. package/lib/src/generated/rest/ImportAgentRequest.d.ts +0 -6
  132. package/lib/src/generated/rest/ImportAgentRequest.js +0 -2
  133. package/lib/src/generated/rest/ImportRequest.d.ts +0 -4
  134. package/lib/src/generated/rest/ImportRequest.js +0 -2
  135. package/lib/src/generated/rest/JoinNeighbourhoodRequest.d.ts +0 -3
  136. package/lib/src/generated/rest/JoinNeighbourhoodRequest.js +0 -2
  137. package/lib/src/generated/rest/KeepAliveQueryRequest.d.ts +0 -3
  138. package/lib/src/generated/rest/KeepAliveQueryRequest.js +0 -2
  139. package/lib/src/generated/rest/LanguageMetaInput.d.ts +0 -6
  140. package/lib/src/generated/rest/LanguageMetaInput.js +0 -2
  141. package/lib/src/generated/rest/Link.d.ts +0 -5
  142. package/lib/src/generated/rest/Link.js +0 -2
  143. package/lib/src/generated/rest/LinkExpression.d.ts +0 -10
  144. package/lib/src/generated/rest/LinkExpression.js +0 -1
  145. package/lib/src/generated/rest/LinkExpressionInput.d.ts +0 -10
  146. package/lib/src/generated/rest/LinkExpressionInput.js +0 -1
  147. package/lib/src/generated/rest/LinkInput.d.ts +0 -5
  148. package/lib/src/generated/rest/LinkInput.js +0 -2
  149. package/lib/src/generated/rest/LinkLanguageTemplatesRequest.d.ts +0 -3
  150. package/lib/src/generated/rest/LinkLanguageTemplatesRequest.js +0 -2
  151. package/lib/src/generated/rest/LinkMutationRequest.d.ts +0 -12
  152. package/lib/src/generated/rest/LinkMutationRequest.js +0 -1
  153. package/lib/src/generated/rest/LinkMutationResponse.d.ts +0 -9
  154. package/lib/src/generated/rest/LinkMutationResponse.js +0 -1
  155. package/lib/src/generated/rest/LinkMutations.d.ts +0 -6
  156. package/lib/src/generated/rest/LinkMutations.js +0 -1
  157. package/lib/src/generated/rest/LinkMutationsRequest.d.ts +0 -5
  158. package/lib/src/generated/rest/LinkMutationsRequest.js +0 -1
  159. package/lib/src/generated/rest/LinkStatus.d.ts +0 -1
  160. package/lib/src/generated/rest/LinkStatus.js +0 -2
  161. package/lib/src/generated/rest/LinkUpdateInput.d.ts +0 -5
  162. package/lib/src/generated/rest/LinkUpdateInput.js +0 -1
  163. package/lib/src/generated/rest/LockAgentRequest.d.ts +0 -3
  164. package/lib/src/generated/rest/LockAgentRequest.js +0 -2
  165. package/lib/src/generated/rest/LoginUserRequest.d.ts +0 -5
  166. package/lib/src/generated/rest/LoginUserRequest.js +0 -2
  167. package/lib/src/generated/rest/ModelType.d.ts +0 -1
  168. package/lib/src/generated/rest/ModelType.js +0 -2
  169. package/lib/src/generated/rest/NotificationGrantRequest.d.ts +0 -3
  170. package/lib/src/generated/rest/NotificationGrantRequest.js +0 -2
  171. package/lib/src/generated/rest/NotificationInput.d.ts +0 -10
  172. package/lib/src/generated/rest/NotificationInput.js +0 -2
  173. package/lib/src/generated/rest/OpenLinkRequest.d.ts +0 -3
  174. package/lib/src/generated/rest/OpenLinkRequest.js +0 -2
  175. package/lib/src/generated/rest/PermitCapabilityRequest.d.ts +0 -3
  176. package/lib/src/generated/rest/PermitCapabilityRequest.js +0 -2
  177. package/lib/src/generated/rest/PerspectiveInput.d.ts +0 -4
  178. package/lib/src/generated/rest/PerspectiveInput.js +0 -1
  179. package/lib/src/generated/rest/PromptRequest.d.ts +0 -4
  180. package/lib/src/generated/rest/PromptRequest.js +0 -2
  181. package/lib/src/generated/rest/PublicPerspectiveInput.d.ts +0 -4
  182. package/lib/src/generated/rest/PublicPerspectiveInput.js +0 -1
  183. package/lib/src/generated/rest/PublishLanguageRequest.d.ts +0 -5
  184. package/lib/src/generated/rest/PublishLanguageRequest.js +0 -1
  185. package/lib/src/generated/rest/PublishNeighbourhoodRequest.d.ts +0 -6
  186. package/lib/src/generated/rest/PublishNeighbourhoodRequest.js +0 -1
  187. package/lib/src/generated/rest/QueryRequest.d.ts +0 -7
  188. package/lib/src/generated/rest/QueryRequest.js +0 -2
  189. package/lib/src/generated/rest/RemoveLinkRequest.d.ts +0 -5
  190. package/lib/src/generated/rest/RemoveLinkRequest.js +0 -1
  191. package/lib/src/generated/rest/RemoveLinksBulkRequest.d.ts +0 -5
  192. package/lib/src/generated/rest/RemoveLinksBulkRequest.js +0 -1
  193. package/lib/src/generated/rest/RequestCapabilityRequest.d.ts +0 -4
  194. package/lib/src/generated/rest/RequestCapabilityRequest.js +0 -1
  195. package/lib/src/generated/rest/RequestPaymentRequest.d.ts +0 -3
  196. package/lib/src/generated/rest/RequestPaymentRequest.js +0 -2
  197. package/lib/src/generated/rest/RequestVerificationRequest.d.ts +0 -4
  198. package/lib/src/generated/rest/RequestVerificationRequest.js +0 -2
  199. package/lib/src/generated/rest/ResourceInput.d.ts +0 -4
  200. package/lib/src/generated/rest/ResourceInput.js +0 -2
  201. package/lib/src/generated/rest/SetDefaultModelRequest.d.ts +0 -4
  202. package/lib/src/generated/rest/SetDefaultModelRequest.js +0 -1
  203. package/lib/src/generated/rest/SetFreeHostingEnabledRequest.d.ts +0 -3
  204. package/lib/src/generated/rest/SetFreeHostingEnabledRequest.js +0 -2
  205. package/lib/src/generated/rest/SetHotWalletAddressRequest.d.ts +0 -3
  206. package/lib/src/generated/rest/SetHotWalletAddressRequest.js +0 -2
  207. package/lib/src/generated/rest/SetMultiUserRequest.d.ts +0 -3
  208. package/lib/src/generated/rest/SetMultiUserRequest.js +0 -2
  209. package/lib/src/generated/rest/SetOnlineStatusRequest.d.ts +0 -5
  210. package/lib/src/generated/rest/SetOnlineStatusRequest.js +0 -1
  211. package/lib/src/generated/rest/SetStatusRequest.d.ts +0 -3
  212. package/lib/src/generated/rest/SetStatusRequest.js +0 -2
  213. package/lib/src/generated/rest/SetUserFreeAccessRequest.d.ts +0 -4
  214. package/lib/src/generated/rest/SetUserFreeAccessRequest.js +0 -2
  215. package/lib/src/generated/rest/SignMessageRequest.d.ts +0 -3
  216. package/lib/src/generated/rest/SignMessageRequest.js +0 -2
  217. package/lib/src/generated/rest/SignalRequest.d.ts +0 -6
  218. package/lib/src/generated/rest/SignalRequest.js +0 -1
  219. package/lib/src/generated/rest/SubscribeQueryRequest.d.ts +0 -3
  220. package/lib/src/generated/rest/SubscribeQueryRequest.js +0 -2
  221. package/lib/src/generated/rest/SubscribeQueryResponse.d.ts +0 -4
  222. package/lib/src/generated/rest/SubscribeQueryResponse.js +0 -2
  223. package/lib/src/generated/rest/TrustedAgentsRequest.d.ts +0 -3
  224. package/lib/src/generated/rest/TrustedAgentsRequest.js +0 -2
  225. package/lib/src/generated/rest/UnlockAgentRequest.d.ts +0 -4
  226. package/lib/src/generated/rest/UnlockAgentRequest.js +0 -2
  227. package/lib/src/generated/rest/UpdateLinkRequest.d.ts +0 -7
  228. package/lib/src/generated/rest/UpdateLinkRequest.js +0 -1
  229. package/lib/src/generated/rest/UpdatePerspectiveRequest.d.ts +0 -3
  230. package/lib/src/generated/rest/UpdatePerspectiveRequest.js +0 -2
  231. package/lib/src/generated/rest/UpdateProfileRequest.d.ts +0 -5
  232. package/lib/src/generated/rest/UpdateProfileRequest.js +0 -1
  233. package/lib/src/generated/rest/UserStatistics.d.ts +0 -9
  234. package/lib/src/generated/rest/UserStatistics.js +0 -2
  235. package/lib/src/generated/rest/VerificationRequestResult.d.ts +0 -6
  236. package/lib/src/generated/rest/VerificationRequestResult.js +0 -2
  237. package/lib/src/generated/rest/VerifyEmailRequest.d.ts +0 -6
  238. package/lib/src/generated/rest/VerifyEmailRequest.js +0 -2
  239. package/lib/src/generated/rest/VerifySignatureRequest.d.ts +0 -5
  240. package/lib/src/generated/rest/VerifySignatureRequest.js +0 -2
  241. package/lib/src/generated/rest/WriteSettingsRequest.d.ts +0 -3
  242. package/lib/src/generated/rest/WriteSettingsRequest.js +0 -2
  243. package/lib/src/generated/rest/index.d.ts +0 -73
  244. package/lib/src/generated/rest/index.js +0 -8
  245. package/lib/src/generated/rest/routes.d.ts +0 -587
  246. package/lib/src/generated/rest/routes.js +0 -3
  247. package/lib/src/model/query-surreal.d.ts +0 -44
  248. package/lib/src/model/query-surreal.js +0 -249
  249. package/lib/src/model/surreal-utils.d.ts +0 -42
  250. package/lib/src/model/surreal-utils.js +0 -128
  251. package/lib/src/perspectives/PerspectiveProxy.test.d.ts +0 -1
  252. package/lib/src/perspectives/PerspectiveProxy.test.js +0 -34
  253. package/lib/src/restClient.d.ts +0 -52
  254. package/lib/src/restClient.js +0 -227
@@ -124,6 +124,15 @@ export interface SHACLPropertyShape {
124
124
  /** Expected datatype (e.g., xsd:string, xsd:integer) */
125
125
  datatype?: string;
126
126
 
127
+ /**
128
+ * CRDT ordering strategy for this collection ("linkedList"), when it has one.
129
+ *
130
+ * Declared in the shape rather than passed per query so the executor applies
131
+ * it to every writer — the ORM, MCP agents, raw WS-RPC callers, another app
132
+ * on the same neighbourhood.
133
+ */
134
+ ordering?: string;
135
+
127
136
  /** Node kind constraint (IRI, Literal, BlankNode) */
128
137
  nodeKind?: 'IRI' | 'Literal' | 'BlankNode';
129
138
 
@@ -486,6 +495,13 @@ export class SHACLShape {
486
495
  });
487
496
 
488
497
  // Constraints
498
+ if (prop.ordering) {
499
+ links.push({
500
+ source: propShapeId,
501
+ predicate: "ad4m://ordering",
502
+ target: `literal:string:${prop.ordering}`
503
+ } as any);
504
+ }
489
505
  if (prop.datatype) {
490
506
  links.push({
491
507
  source: propShapeId,
@@ -782,6 +798,15 @@ export class SHACLShape {
782
798
  l.source === propShapeId && l.predicate === "sh://datatype"
783
799
  );
784
800
  if (datatypeLink) prop.datatype = datatypeLink.target;
801
+
802
+ const orderingLink = links.find(l =>
803
+ l.source === propShapeId && l.predicate === "ad4m://ordering"
804
+ );
805
+ if (orderingLink) {
806
+ prop.ordering = orderingLink.target.replace(
807
+ /^literal:\/\/string:|^literal:string:/, ''
808
+ );
809
+ }
785
810
 
786
811
  const nodeKindLink = links.find(l =>
787
812
  l.source === propShapeId && l.predicate === "sh://nodeKind"
@@ -1091,6 +1116,11 @@ export class SHACLShape {
1091
1116
  transform: p.transform,
1092
1117
  interpretation_hint: p.interpretationHint,
1093
1118
  identity: p.identity,
1119
+ // The backend reads the ordering declaration back from the
1120
+ // `ad4m://ordering` link that `parse_shacl_to_links` writes from this
1121
+ // field. `ensureSubjectClass` ships `toJSON()`, so omitting it here
1122
+ // leaves `@HasMany({ ordering })` inert no matter what `toLinks()` does.
1123
+ ordering: p.ordering,
1094
1124
  })),
1095
1125
  constructor_actions: this.constructor_actions,
1096
1126
  destructor_actions: this.destructor_actions,
@@ -1143,6 +1173,7 @@ export class SHACLShape {
1143
1173
  transform: p.transform,
1144
1174
  interpretationHint: p.interpretation_hint,
1145
1175
  identity: p.identity,
1176
+ ordering: p.ordering,
1146
1177
  });
1147
1178
  }
1148
1179
 
@@ -1,7 +0,0 @@
1
- export type AIModelLoadingStatus = {
2
- model: string;
3
- progress: number;
4
- status: string;
5
- downloaded: boolean;
6
- loaded: boolean;
7
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type AddAgentInfosRequest = {
2
- agentInfos: Array<string>;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- import type { LinkExpression } from "./LinkExpression";
2
- export type AddLinkExpressionRequest = {
3
- link: LinkExpression;
4
- status: string | null;
5
- batchId: string | null;
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import type { LinkInput } from "./LinkInput";
2
- export type AddLinkRequest = {
3
- link: LinkInput;
4
- status: string | null;
5
- batchId: string | null;
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import type { LinkInput } from "./LinkInput";
2
- export type AddLinksBulkRequest = {
3
- links: Array<LinkInput>;
4
- status: string | null;
5
- batchId: string | null;
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- export type AddSdnaRequest = {
2
- name: string;
3
- sdnaCode: string | null;
4
- sdnaType: string;
5
- shaclJson: string | null;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type ApplyTemplateRequest = {
2
- sourceLanguageHash: string;
3
- templateData: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,10 +0,0 @@
1
- import type { CapabilityInput } from "./CapabilityInput";
2
- export type AuthInfoInput = {
3
- appDesc: string;
4
- appDomain: string;
5
- appIconPath: string | null;
6
- appName: string;
7
- appUrl: string | null;
8
- capabilities: Array<CapabilityInput> | null;
9
- userDid: string | null;
10
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import type { PerspectiveInput } from "./PerspectiveInput";
2
- export type BroadcastRequest = {
3
- payload: PerspectiveInput;
4
- signed: boolean | null;
5
- loopback: boolean | null;
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import type { ResourceInput } from "./ResourceInput";
2
- export type CapabilityInput = {
3
- can: Array<string>;
4
- with: ResourceInput;
5
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export type CommitBatchRequest = {
2
- batchId: string;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,9 +0,0 @@
1
- export type ComputeLogEntry = {
2
- id: number;
3
- userEmail: string;
4
- timestamp: string;
5
- operation: string;
6
- summary: string | null;
7
- cost: number;
8
- creditsAfter: number;
9
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type CreateExpressionRequest = {
2
- content: string;
3
- languageAddress: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type CreatePerspectiveRequest = {
2
- name: string;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- export type CreateSubjectRequest = {
2
- subjectClass: string;
3
- expressionAddress: string;
4
- initialValues: string | null;
5
- batchId: string | null;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type CreateUserRequest = {
2
- email: string;
3
- password: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,5 +0,0 @@
1
- export type CreateUserResponse = {
2
- did: string;
3
- success: boolean;
4
- error?: string;
5
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- export type DecoratedExpressionProof = {
2
- key: string;
3
- signature: string;
4
- valid: boolean | null;
5
- invalid: boolean | null;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,10 +0,0 @@
1
- import type { DecoratedExpressionProof } from "./DecoratedExpressionProof";
2
- import type { Link } from "./Link";
3
- import type { LinkStatus } from "./LinkStatus";
4
- export type DecoratedLinkExpression = {
5
- author: string;
6
- timestamp: string;
7
- data: Link;
8
- proof: DecoratedExpressionProof;
9
- status: LinkStatus | null;
10
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export type DisposeQueryRequest = {
2
- subscriptionId: string;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- export type EmailTestRequest = {
2
- action: string;
3
- to: string | null;
4
- email: string | null;
5
- expirySeconds: bigint | null;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type EmbedRequest = {
2
- modelId: string;
3
- text: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- export type EntanglementProofInput = {
2
- deviceKey: string;
3
- deviceKeyType: string;
4
- deviceKeySignedByDid: string;
5
- didSignedByDeviceKey: string | null;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type EntanglementProofPreflightRequest = {
2
- deviceKey: string;
3
- deviceKeyType: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type ExecuteCommandsRequest = {
2
- commands: any[];
3
- expression: any;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,5 +0,0 @@
1
- export type ExportRequest = {
2
- type: string;
3
- filePath: string;
4
- perspectiveUuid: string | null;
5
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type ExpressionManyRequest = {
2
- urls: Array<string>;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type ExpressionProof = {
2
- key: string;
3
- signature: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- export type ExpressionProofInput = {
2
- invalid: boolean | null;
3
- key: string | null;
4
- signature: string | null;
5
- valid: boolean | null;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type FriendSendMessageRequest = {
2
- message: string;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type FriendsListRequest = {
2
- dids: Array<string>;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type GenerateAgentRequest = {
2
- passphrase: string;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type GenerateJwtRequest = {
2
- rand: string;
3
- requestId: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type GetSubjectDataRequest = {
2
- subjectClass: string;
3
- expressionAddress: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,5 +0,0 @@
1
- export type HostingInfoResponse = {
2
- userInfo: any | null;
3
- rates: any | null;
4
- version: any | null;
5
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type HostingWalletResponse = {
2
- balance: any | null;
3
- pubkey: string | null;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- export type ImportAgentRequest = {
2
- did: string;
3
- didDocument: string;
4
- keystore: string;
5
- passphrase: string;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,4 +0,0 @@
1
- export type ImportRequest = {
2
- type: string;
3
- filePath: string;
4
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type JoinNeighbourhoodRequest = {
2
- url: string;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type KeepAliveQueryRequest = {
2
- subscriptionId: string;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- export type LanguageMetaInput = {
2
- description: string;
3
- name: string;
4
- possibleTemplateParams: Array<string> | null;
5
- sourceCodeLink: string | null;
6
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,5 +0,0 @@
1
- export type Link = {
2
- predicate: string | null;
3
- source: string;
4
- target: string;
5
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,10 +0,0 @@
1
- import type { ExpressionProof } from "./ExpressionProof";
2
- import type { Link } from "./Link";
3
- import type { LinkStatus } from "./LinkStatus";
4
- export type LinkExpression = {
5
- author: string;
6
- timestamp: string;
7
- data: Link;
8
- proof: ExpressionProof;
9
- status: LinkStatus | null;
10
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- import type { ExpressionProofInput } from "./ExpressionProofInput";
2
- import type { LinkInput } from "./LinkInput";
3
- import type { LinkStatus } from "./LinkStatus";
4
- export type LinkExpressionInput = {
5
- author: string;
6
- data: LinkInput;
7
- proof: ExpressionProofInput;
8
- timestamp: string;
9
- status: LinkStatus | null;
10
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export type LinkInput = {
2
- predicate: string | null;
3
- source: string;
4
- target: string;
5
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,3 +0,0 @@
1
- export type LinkLanguageTemplatesRequest = {
2
- addresses: Array<string>;
3
- };
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,12 +0,0 @@
1
- import type { LinkInput } from "./LinkInput";
2
- import type { LinkUpdateInput } from "./LinkUpdateInput";
3
- /**
4
- * Unified link mutation request (harmonised endpoint).
5
- */
6
- export type LinkMutationRequest = {
7
- additions: Array<LinkInput> | null;
8
- removals: Array<LinkInput> | null;
9
- updates: Array<LinkUpdateInput> | null;
10
- status: string | null;
11
- batchId: string | null;
12
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- import type { DecoratedLinkExpression } from "./DecoratedLinkExpression";
2
- /**
3
- * Unified link mutation response.
4
- */
5
- export type LinkMutationResponse = {
6
- additions: Array<DecoratedLinkExpression>;
7
- removals: Array<DecoratedLinkExpression>;
8
- updates: Array<DecoratedLinkExpression>;
9
- };
@@ -1 +0,0 @@
1
- export {};