@coasys/ad4m 0.13.0-test-3 → 0.13.0-test-5

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 (337) hide show
  1. package/README.md +2 -25
  2. package/jest-setup.ts +1 -1
  3. package/lib/index.cjs +6717 -15519
  4. package/lib/index.js +4811 -13662
  5. package/lib/src/Ad4mClient.d.ts +7 -3
  6. package/lib/src/Ad4mClient.js +39 -13
  7. package/lib/src/agent/Agent.js +26 -272
  8. package/lib/src/agent/AgentClient.d.ts +10 -21
  9. package/lib/src/agent/AgentClient.js +75 -427
  10. package/lib/src/agent/AgentStatus.js +2 -37
  11. package/lib/src/ai/AIClient.d.ts +12 -4
  12. package/lib/src/ai/AIClient.js +81 -285
  13. package/lib/src/ai/AITypes.d.ts +55 -0
  14. package/lib/src/ai/AITypes.js +18 -0
  15. package/lib/src/ai/Tasks.js +10 -133
  16. package/lib/src/apiClient.d.ts +52 -0
  17. package/lib/src/apiClient.js +231 -0
  18. package/lib/src/expression/Expression.d.ts +1 -1
  19. package/lib/src/expression/Expression.js +13 -122
  20. package/lib/src/expression/ExpressionClient.d.ts +3 -3
  21. package/lib/src/expression/ExpressionClient.js +13 -76
  22. package/lib/src/expression/ExpressionRef.js +2 -25
  23. package/lib/src/generated/api/AIModelLoadingStatus.d.ts +7 -0
  24. package/lib/src/generated/api/AIModelLoadingStatus.js +2 -0
  25. package/lib/src/generated/api/AddLinkExpressionRequest.d.ts +6 -0
  26. package/lib/src/generated/api/AddLinkExpressionRequest.js +1 -0
  27. package/lib/src/generated/api/AddLinkRequest.d.ts +6 -0
  28. package/lib/src/generated/api/AddLinkRequest.js +1 -0
  29. package/lib/src/generated/api/AddLinksBulkRequest.d.ts +6 -0
  30. package/lib/src/generated/api/AddLinksBulkRequest.js +1 -0
  31. package/lib/src/generated/api/AddSdnaRequest.d.ts +6 -0
  32. package/lib/src/generated/api/AddSdnaRequest.js +2 -0
  33. package/lib/src/generated/api/ApplyTemplateRequest.d.ts +4 -0
  34. package/lib/src/generated/api/ApplyTemplateRequest.js +2 -0
  35. package/lib/src/generated/api/AuthInfoInput.d.ts +10 -0
  36. package/lib/src/generated/api/AuthInfoInput.js +1 -0
  37. package/lib/src/generated/api/CapabilityInput.d.ts +5 -0
  38. package/lib/src/generated/api/CapabilityInput.js +1 -0
  39. package/lib/src/generated/api/CommitBatchRequest.d.ts +3 -0
  40. package/lib/src/generated/api/CommitBatchRequest.js +2 -0
  41. package/lib/src/generated/api/ComputeLogEntry.d.ts +9 -0
  42. package/lib/src/generated/api/ComputeLogEntry.js +2 -0
  43. package/lib/src/generated/api/CreateExpressionRequest.d.ts +4 -0
  44. package/lib/src/generated/api/CreateExpressionRequest.js +2 -0
  45. package/lib/src/generated/api/CreatePerspectiveRequest.d.ts +3 -0
  46. package/lib/src/generated/api/CreatePerspectiveRequest.js +2 -0
  47. package/lib/src/generated/api/CreateSubjectRequest.d.ts +6 -0
  48. package/lib/src/generated/api/CreateSubjectRequest.js +2 -0
  49. package/lib/src/generated/api/EmbedRequest.d.ts +4 -0
  50. package/lib/src/generated/api/EmbedRequest.js +2 -0
  51. package/lib/src/generated/api/EntanglementProofInput.d.ts +6 -0
  52. package/lib/src/generated/api/EntanglementProofInput.js +2 -0
  53. package/lib/src/generated/api/ExecuteCommandsRequest.d.ts +4 -0
  54. package/lib/src/generated/api/ExecuteCommandsRequest.js +2 -0
  55. package/lib/src/generated/api/ExportRequest.d.ts +5 -0
  56. package/lib/src/generated/api/ExportRequest.js +2 -0
  57. package/lib/src/generated/api/ExpressionManyRequest.d.ts +3 -0
  58. package/lib/src/generated/api/ExpressionManyRequest.js +2 -0
  59. package/lib/src/generated/api/ExpressionProof.d.ts +4 -0
  60. package/lib/src/generated/api/ExpressionProof.js +2 -0
  61. package/lib/src/generated/api/ExpressionProofInput.d.ts +6 -0
  62. package/lib/src/generated/api/ExpressionProofInput.js +2 -0
  63. package/lib/src/generated/api/FriendSendMessageRequest.d.ts +3 -0
  64. package/lib/src/generated/api/FriendSendMessageRequest.js +2 -0
  65. package/lib/src/generated/api/FriendsListRequest.d.ts +3 -0
  66. package/lib/src/generated/api/FriendsListRequest.js +2 -0
  67. package/lib/src/generated/api/GenerateAgentRequest.d.ts +3 -0
  68. package/lib/src/generated/api/GenerateAgentRequest.js +2 -0
  69. package/lib/src/generated/api/GenerateJwtRequest.d.ts +4 -0
  70. package/lib/src/generated/api/GenerateJwtRequest.js +2 -0
  71. package/lib/src/generated/api/GetSubjectDataRequest.d.ts +4 -0
  72. package/lib/src/generated/api/GetSubjectDataRequest.js +2 -0
  73. package/lib/src/generated/api/ImportAgentRequest.d.ts +6 -0
  74. package/lib/src/generated/api/ImportAgentRequest.js +2 -0
  75. package/lib/src/generated/api/ImportRequest.d.ts +4 -0
  76. package/lib/src/generated/api/ImportRequest.js +2 -0
  77. package/lib/src/generated/api/JoinNeighbourhoodRequest.d.ts +3 -0
  78. package/lib/src/generated/api/JoinNeighbourhoodRequest.js +2 -0
  79. package/lib/src/generated/api/LanguageMetaInput.d.ts +6 -0
  80. package/lib/src/generated/api/LanguageMetaInput.js +2 -0
  81. package/lib/src/generated/api/Link.d.ts +5 -0
  82. package/lib/src/generated/api/Link.js +2 -0
  83. package/lib/src/generated/api/LinkExpression.d.ts +10 -0
  84. package/lib/src/generated/api/LinkExpression.js +1 -0
  85. package/lib/src/generated/api/LinkExpressionInput.d.ts +10 -0
  86. package/lib/src/generated/api/LinkExpressionInput.js +1 -0
  87. package/lib/src/generated/api/LinkInput.d.ts +5 -0
  88. package/lib/src/generated/api/LinkInput.js +2 -0
  89. package/lib/src/generated/api/LinkLanguageTemplatesRequest.d.ts +3 -0
  90. package/lib/src/generated/api/LinkLanguageTemplatesRequest.js +2 -0
  91. package/lib/src/generated/api/LinkMutations.d.ts +6 -0
  92. package/lib/src/generated/api/LinkMutations.js +1 -0
  93. package/lib/src/generated/api/LinkStatus.d.ts +1 -0
  94. package/lib/src/generated/api/LinkStatus.js +2 -0
  95. package/lib/src/generated/api/LockAgentRequest.d.ts +3 -0
  96. package/lib/src/generated/api/LockAgentRequest.js +2 -0
  97. package/lib/src/generated/api/ModelType.d.ts +1 -0
  98. package/lib/src/generated/api/ModelType.js +2 -0
  99. package/lib/src/generated/api/NotificationInput.d.ts +10 -0
  100. package/lib/src/generated/api/NotificationInput.js +2 -0
  101. package/lib/src/generated/api/OpenLinkRequest.d.ts +3 -0
  102. package/lib/src/generated/api/OpenLinkRequest.js +2 -0
  103. package/lib/src/generated/api/PermitCapabilityRequest.d.ts +3 -0
  104. package/lib/src/generated/api/PermitCapabilityRequest.js +2 -0
  105. package/lib/src/generated/api/PerspectiveInput.d.ts +4 -0
  106. package/lib/src/generated/api/PerspectiveInput.js +1 -0
  107. package/lib/src/generated/api/PromptRequest.d.ts +4 -0
  108. package/lib/src/generated/api/PromptRequest.js +2 -0
  109. package/lib/src/generated/api/PublishLanguageRequest.d.ts +5 -0
  110. package/lib/src/generated/api/PublishLanguageRequest.js +1 -0
  111. package/lib/src/generated/api/PublishNeighbourhoodRequest.d.ts +6 -0
  112. package/lib/src/generated/api/PublishNeighbourhoodRequest.js +1 -0
  113. package/lib/src/generated/api/QueryRequest.d.ts +7 -0
  114. package/lib/src/generated/api/QueryRequest.js +2 -0
  115. package/lib/src/generated/api/RemoveLinkRequest.d.ts +5 -0
  116. package/lib/src/generated/api/RemoveLinkRequest.js +1 -0
  117. package/lib/src/generated/api/RemoveLinksBulkRequest.d.ts +5 -0
  118. package/lib/src/generated/api/RemoveLinksBulkRequest.js +1 -0
  119. package/lib/src/generated/api/ResourceInput.d.ts +4 -0
  120. package/lib/src/generated/api/ResourceInput.js +2 -0
  121. package/lib/src/generated/api/SetDefaultModelRequest.d.ts +4 -0
  122. package/lib/src/generated/api/SetDefaultModelRequest.js +1 -0
  123. package/lib/src/generated/api/SetFreeHostingEnabledRequest.d.ts +3 -0
  124. package/lib/src/generated/api/SetFreeHostingEnabledRequest.js +2 -0
  125. package/lib/src/generated/api/SetMultiUserRequest.d.ts +3 -0
  126. package/lib/src/generated/api/SetMultiUserRequest.js +2 -0
  127. package/lib/src/generated/api/SetStatusRequest.d.ts +3 -0
  128. package/lib/src/generated/api/SetStatusRequest.js +2 -0
  129. package/lib/src/generated/api/SignMessageRequest.d.ts +3 -0
  130. package/lib/src/generated/api/SignMessageRequest.js +2 -0
  131. package/lib/src/generated/api/TrustedAgentsRequest.d.ts +3 -0
  132. package/lib/src/generated/api/TrustedAgentsRequest.js +2 -0
  133. package/lib/src/generated/api/UnlockAgentRequest.d.ts +4 -0
  134. package/lib/src/generated/api/UnlockAgentRequest.js +2 -0
  135. package/lib/src/generated/api/UpdateLinkRequest.d.ts +7 -0
  136. package/lib/src/generated/api/UpdateLinkRequest.js +1 -0
  137. package/lib/src/generated/api/UpdatePerspectiveRequest.d.ts +3 -0
  138. package/lib/src/generated/api/UpdatePerspectiveRequest.js +2 -0
  139. package/lib/src/generated/api/UserStatistics.d.ts +9 -0
  140. package/lib/src/generated/api/UserStatistics.js +2 -0
  141. package/lib/src/generated/api/VerificationRequestResult.d.ts +6 -0
  142. package/lib/src/generated/api/VerificationRequestResult.js +2 -0
  143. package/lib/src/generated/api/VerifySignatureRequest.d.ts +5 -0
  144. package/lib/src/generated/api/VerifySignatureRequest.js +2 -0
  145. package/lib/src/generated/api/WriteSettingsRequest.d.ts +3 -0
  146. package/lib/src/generated/api/WriteSettingsRequest.js +2 -0
  147. package/lib/src/generated/api/index.d.ts +42 -0
  148. package/lib/src/generated/api/index.js +7 -0
  149. package/lib/src/index.d.ts +6 -1
  150. package/lib/src/index.js +6 -1
  151. package/lib/src/jestSetup.d.ts +0 -1
  152. package/lib/src/jestSetup.js +1 -1
  153. package/lib/src/language/Icon.js +2 -21
  154. package/lib/src/language/Language.d.ts +1 -1
  155. package/lib/src/language/Language.js +10 -76
  156. package/lib/src/language/LanguageClient.d.ts +2 -2
  157. package/lib/src/language/LanguageClient.js +15 -105
  158. package/lib/src/language/LanguageHandle.js +2 -41
  159. package/lib/src/language/LanguageMeta.js +4 -75
  160. package/lib/src/language/LanguageRef.js +2 -25
  161. package/lib/src/links/Links.js +14 -111
  162. package/lib/src/model/Ad4mModel.d.ts +76 -44
  163. package/lib/src/model/Ad4mModel.js +635 -479
  164. package/lib/src/model/Ad4mModel.test.js +371 -815
  165. package/lib/src/model/ModelQueryBuilder.d.ts +15 -27
  166. package/lib/src/model/ModelQueryBuilder.js +163 -224
  167. package/lib/src/model/decorators.d.ts +22 -0
  168. package/lib/src/model/decorators.js +7 -0
  169. package/lib/src/model/hydration.d.ts +3 -93
  170. package/lib/src/model/hydration.js +3 -970
  171. package/lib/src/model/index.d.ts +0 -4
  172. package/lib/src/model/index.js +0 -4
  173. package/lib/src/model/model-manifest.d.ts +41 -0
  174. package/lib/src/model/model-manifest.js +11 -0
  175. package/lib/src/model/query-sparql.d.ts +4 -67
  176. package/lib/src/model/query-sparql.js +26 -322
  177. package/lib/src/model/query-sparql.test.js +35 -218
  178. package/lib/src/model/query-utils.d.ts +1 -0
  179. package/lib/src/model/query-utils.js +46 -1
  180. package/lib/src/model/shacl-gen.js +4 -0
  181. package/lib/src/model/types.d.ts +51 -43
  182. package/lib/src/model/types.js +4 -1
  183. package/lib/src/neighbourhood/Neighbourhood.js +4 -32
  184. package/lib/src/neighbourhood/NeighbourhoodClient.d.ts +3 -3
  185. package/lib/src/neighbourhood/NeighbourhoodClient.js +40 -203
  186. package/lib/src/perspectives/LinkQuery.js +2 -42
  187. package/lib/src/perspectives/Perspective.d.ts +1 -1
  188. package/lib/src/perspectives/Perspective.js +10 -52
  189. package/lib/src/perspectives/PerspectiveClient.d.ts +13 -17
  190. package/lib/src/perspectives/PerspectiveClient.js +179 -429
  191. package/lib/src/perspectives/PerspectiveClient.test.js +55 -0
  192. package/lib/src/perspectives/PerspectiveDiff.js +4 -31
  193. package/lib/src/perspectives/PerspectiveHandle.js +3 -43
  194. package/lib/src/perspectives/PerspectiveProxy.d.ts +106 -71
  195. package/lib/src/perspectives/PerspectiveProxy.js +289 -310
  196. package/lib/src/runtime/RuntimeClient.d.ts +6 -6
  197. package/lib/src/runtime/RuntimeClient.js +93 -467
  198. package/lib/src/runtime/RuntimeTypes.d.ts +101 -0
  199. package/lib/src/runtime/RuntimeTypes.js +45 -0
  200. package/lib/src/shacl/SHACLShape.d.ts +7 -0
  201. package/lib/src/shacl/SHACLShape.js +19 -0
  202. package/lib/src/shacl/SHACLShape.test.js +82 -0
  203. package/lib/src/typeDefs.js +3 -628
  204. package/package.json +6 -18
  205. package/rollup.config.js +0 -7
  206. package/src/Ad4mClient.test.ts +1179 -1340
  207. package/src/Ad4mClient.ts +40 -15
  208. package/src/agent/Agent.ts +0 -99
  209. package/src/agent/AgentClient.ts +112 -526
  210. package/src/agent/AgentStatus.ts +0 -12
  211. package/src/ai/AIClient.ts +96 -296
  212. package/src/ai/AITypes.ts +66 -0
  213. package/src/ai/Tasks.ts +0 -52
  214. package/src/apiClient.ts +283 -0
  215. package/src/expression/Expression.ts +3 -43
  216. package/src/expression/ExpressionClient.ts +14 -77
  217. package/src/expression/ExpressionRef.ts +0 -6
  218. package/src/generated/api/AIModelLoadingStatus.ts +3 -0
  219. package/src/generated/api/AddLinkExpressionRequest.ts +4 -0
  220. package/src/generated/api/AddLinkRequest.ts +4 -0
  221. package/src/generated/api/AddLinksBulkRequest.ts +4 -0
  222. package/src/generated/api/AddSdnaRequest.ts +3 -0
  223. package/src/generated/api/ApplyTemplateRequest.ts +3 -0
  224. package/src/generated/api/AuthInfoInput.ts +4 -0
  225. package/src/generated/api/CapabilityInput.ts +4 -0
  226. package/src/generated/api/CommitBatchRequest.ts +3 -0
  227. package/src/generated/api/ComputeLogEntry.ts +3 -0
  228. package/src/generated/api/CreateExpressionRequest.ts +3 -0
  229. package/src/generated/api/CreatePerspectiveRequest.ts +3 -0
  230. package/src/generated/api/CreateSubjectRequest.ts +3 -0
  231. package/src/generated/api/EmbedRequest.ts +3 -0
  232. package/src/generated/api/EntanglementProofInput.ts +3 -0
  233. package/src/generated/api/ExecuteCommandsRequest.ts +3 -0
  234. package/src/generated/api/ExportRequest.ts +3 -0
  235. package/src/generated/api/ExpressionManyRequest.ts +3 -0
  236. package/src/generated/api/ExpressionProof.ts +3 -0
  237. package/src/generated/api/ExpressionProofInput.ts +3 -0
  238. package/src/generated/api/FriendSendMessageRequest.ts +3 -0
  239. package/src/generated/api/FriendsListRequest.ts +3 -0
  240. package/src/generated/api/GenerateAgentRequest.ts +3 -0
  241. package/src/generated/api/GenerateJwtRequest.ts +3 -0
  242. package/src/generated/api/GetSubjectDataRequest.ts +3 -0
  243. package/src/generated/api/ImportAgentRequest.ts +3 -0
  244. package/src/generated/api/ImportRequest.ts +3 -0
  245. package/src/generated/api/JoinNeighbourhoodRequest.ts +3 -0
  246. package/src/generated/api/LanguageMetaInput.ts +3 -0
  247. package/src/generated/api/Link.ts +3 -0
  248. package/src/generated/api/LinkExpression.ts +6 -0
  249. package/src/generated/api/LinkExpressionInput.ts +6 -0
  250. package/src/generated/api/LinkInput.ts +3 -0
  251. package/src/generated/api/LinkLanguageTemplatesRequest.ts +3 -0
  252. package/src/generated/api/LinkMutations.ts +5 -0
  253. package/src/generated/api/LinkStatus.ts +3 -0
  254. package/src/generated/api/LockAgentRequest.ts +3 -0
  255. package/src/generated/api/ModelType.ts +3 -0
  256. package/src/generated/api/NotificationInput.ts +3 -0
  257. package/src/generated/api/OpenLinkRequest.ts +3 -0
  258. package/src/generated/api/PermitCapabilityRequest.ts +3 -0
  259. package/src/generated/api/PerspectiveInput.ts +4 -0
  260. package/src/generated/api/PromptRequest.ts +3 -0
  261. package/src/generated/api/PublishLanguageRequest.ts +4 -0
  262. package/src/generated/api/PublishNeighbourhoodRequest.ts +4 -0
  263. package/src/generated/api/QueryRequest.ts +6 -0
  264. package/src/generated/api/RemoveLinkRequest.ts +4 -0
  265. package/src/generated/api/RemoveLinksBulkRequest.ts +4 -0
  266. package/src/generated/api/ResourceInput.ts +3 -0
  267. package/src/generated/api/SetDefaultModelRequest.ts +4 -0
  268. package/src/generated/api/SetFreeHostingEnabledRequest.ts +3 -0
  269. package/src/generated/api/SetMultiUserRequest.ts +3 -0
  270. package/src/generated/api/SetStatusRequest.ts +3 -0
  271. package/src/generated/api/SignMessageRequest.ts +3 -0
  272. package/src/generated/api/TrustedAgentsRequest.ts +3 -0
  273. package/src/generated/api/UnlockAgentRequest.ts +3 -0
  274. package/src/generated/api/UpdateLinkRequest.ts +5 -0
  275. package/src/generated/api/UpdatePerspectiveRequest.ts +3 -0
  276. package/src/generated/api/UserStatistics.ts +3 -0
  277. package/src/generated/api/VerificationRequestResult.ts +3 -0
  278. package/src/generated/api/VerifySignatureRequest.ts +3 -0
  279. package/src/generated/api/WriteSettingsRequest.ts +3 -0
  280. package/src/generated/api/index.ts +49 -0
  281. package/src/index.ts +6 -1
  282. package/src/jestSetup.ts +1 -1
  283. package/src/language/Icon.ts +0 -4
  284. package/src/language/Language.ts +2 -23
  285. package/src/language/LanguageClient.ts +21 -132
  286. package/src/language/LanguageHandle.ts +0 -14
  287. package/src/language/LanguageMeta.ts +0 -29
  288. package/src/language/LanguageRef.ts +0 -7
  289. package/src/links/Links.ts +0 -37
  290. package/src/model/Ad4mModel.test.ts +766 -1173
  291. package/src/model/Ad4mModel.ts +664 -529
  292. package/src/model/ModelQueryBuilder.ts +203 -251
  293. package/src/model/decorators.ts +29 -0
  294. package/src/model/hydration.ts +3 -1037
  295. package/src/model/index.ts +0 -4
  296. package/src/model/query-sparql.test.ts +34 -242
  297. package/src/model/query-sparql.ts +27 -337
  298. package/src/model/query-utils.ts +47 -2
  299. package/src/model/shacl-gen.ts +5 -0
  300. package/src/model/types.ts +55 -44
  301. package/src/neighbourhood/Neighbourhood.ts +0 -9
  302. package/src/neighbourhood/NeighbourhoodClient.ts +42 -207
  303. package/src/neighbourhood/NeighbourhoodProxy.test.ts +34 -36
  304. package/src/perspectives/LinkQuery.ts +0 -15
  305. package/src/perspectives/Perspective.ts +1 -12
  306. package/src/perspectives/PerspectiveClient.test.ts +206 -148
  307. package/src/perspectives/PerspectiveClient.ts +247 -442
  308. package/src/perspectives/PerspectiveDiff.ts +0 -8
  309. package/src/perspectives/PerspectiveHandle.ts +1 -12
  310. package/src/perspectives/PerspectiveProxy.test.ts +41 -0
  311. package/src/perspectives/PerspectiveProxy.ts +331 -348
  312. package/src/runtime/RuntimeClient.ts +112 -474
  313. package/src/runtime/RuntimeTypes.ts +144 -0
  314. package/src/shacl/SHACLShape.test.ts +94 -0
  315. package/src/shacl/SHACLShape.ts +27 -0
  316. package/src/typeDefs.ts +3 -5
  317. package/tsconfig.json +3 -7
  318. package/shims/reflect-metadata.ts +0 -0
  319. package/shims/type-graphql.ts +0 -75
  320. package/src/PubSub.ts +0 -17
  321. package/src/agent/AgentResolver.ts +0 -263
  322. package/src/ai/AIResolver.ts +0 -372
  323. package/src/buildSchema.ts +0 -43
  324. package/src/expression/ExpressionResolver.ts +0 -64
  325. package/src/language/LanguageResolver.ts +0 -98
  326. package/src/model/Subject.ts +0 -159
  327. package/src/model/hydration-batch.ts +0 -205
  328. package/src/model/hydration-batching.test.ts +0 -563
  329. package/src/model/prolog-facts.ts +0 -145
  330. package/src/model/query-prolog.ts +0 -148
  331. package/src/model/query-sparql-batch.ts +0 -301
  332. package/src/model/subscription-delta.test.ts +0 -207
  333. package/src/model/subscription-pool.ts +0 -211
  334. package/src/neighbourhood/NeighbourhoodResolver.ts +0 -100
  335. package/src/perspectives/PerspectiveResolver.ts +0 -364
  336. package/src/runtime/RuntimeResolver.ts +0 -749
  337. package/src/unwrapApolloResult.ts +0 -16
@@ -1,628 +1,3 @@
1
-
2
- export const typeDefsString = `
3
- type AIModelLoadingStatus {
4
- downloaded: Boolean!
5
- loaded: Boolean!
6
- model: String!
7
- progress: Float!
8
- status: String!
9
- }
10
-
11
- type AIPromptExamples {
12
- input: String!
13
- output: String!
14
- }
15
-
16
- input AIPromptExamplesInput {
17
- input: String!
18
- output: String!
19
- }
20
-
21
- type AITask {
22
- createdAt: String!
23
- metaData: String
24
- modelId: String!
25
- name: String!
26
- promptExamples: [AIPromptExamples!]!
27
- systemPrompt: String!
28
- taskId: String!
29
- updatedAt: String!
30
- }
31
-
32
- input AITaskInput {
33
- metaData: String
34
- modelId: String!
35
- name: String!
36
- promptExamples: [AIPromptExamplesInput!]!
37
- systemPrompt: String!
38
- }
39
-
40
- type Agent {
41
- did: String!
42
- directMessageLanguage: String
43
- perspective: Perspective
44
- }
45
-
46
- type AgentSignature {
47
- publicKey: String!
48
- signature: String!
49
- }
50
-
51
- type AgentStatus {
52
- did: String
53
- didDocument: String
54
- error: String
55
- isInitialized: Boolean!
56
- isUnlocked: Boolean!
57
- }
58
-
59
- type Apps {
60
- auth: AuthInfo!
61
- requestId: String!
62
- revoked: Boolean
63
- token: String!
64
- }
65
-
66
- type AuthInfo {
67
- appDesc: String!
68
- appIconPath: String
69
- appName: String!
70
- appUrl: String!
71
- capabilities: [Capability!]!
72
- }
73
-
74
- input AuthInfoInput {
75
- appDesc: String!
76
- appDomain: String!
77
- appIconPath: String
78
- appName: String!
79
- appUrl: String
80
- capabilities: [CapabilityInput!]
81
- }
82
-
83
- type Capability {
84
- can: [String!]!
85
- with: Resource!
86
- }
87
-
88
- input CapabilityInput {
89
- can: [String!]!
90
- with: ResourceInput!
91
- }
92
-
93
- type ComputeLogEntry {
94
- cost: Float!
95
- creditsAfter: Float!
96
- id: Float!
97
- operation: String!
98
- summary: String
99
- timestamp: String!
100
- userEmail: String!
101
- }
102
-
103
- scalar DateTime
104
-
105
- type EntanglementProof {
106
- deviceKey: String!
107
- deviceKeySignedByDid: String!
108
- deviceKeyType: String!
109
- did: String!
110
- didSignedByDeviceKey: String
111
- didSigningKeyId: String!
112
- }
113
-
114
- input EntanglementProofInput {
115
- deviceKey: String!
116
- deviceKeySignedByDid: String!
117
- deviceKeyType: String!
118
- did: String!
119
- didSignedByDeviceKey: String!
120
- didSigningKeyId: String!
121
- }
122
-
123
- type ExceptionInfo {
124
- addon: String
125
- message: String!
126
- title: String!
127
- type: Int!
128
- }
129
-
130
- type ExpressionProof {
131
- invalid: Boolean
132
- key: String
133
- signature: String
134
- valid: Boolean
135
- }
136
-
137
- input ExpressionProofInput {
138
- invalid: Boolean
139
- key: String
140
- signature: String
141
- valid: Boolean
142
- }
143
-
144
- type ExpressionRendered {
145
- author: String!
146
- data: String!
147
- icon: Icon!
148
- language: LanguageRef!
149
- proof: ExpressionProof!
150
- timestamp: String!
151
- }
152
-
153
- type HostingUserInfo {
154
- email: String!
155
- freeAccess: Boolean!
156
- hotWalletAddress: String
157
- remainingCredits: String!
158
- }
159
-
160
- type Icon {
161
- code: String!
162
- }
163
-
164
- input InteractionCall {
165
- name: String!
166
- parametersStringified: String!
167
- }
168
-
169
- type InteractionMeta {
170
- label: String!
171
- name: String!
172
- parameters: [InteractionParameter!]!
173
- }
174
-
175
- type InteractionParameter {
176
- name: String!
177
- type: String!
178
- }
179
-
180
- type LanguageHandle {
181
- address: String!
182
- constructorIcon: Icon
183
- icon: Icon
184
- name: String!
185
- settings: String
186
- settingsIcon: Icon
187
- }
188
-
189
- type LanguageMeta {
190
- address: String!
191
- author: String!
192
- description: String
193
- name: String!
194
- possibleTemplateParams: [String!]
195
- sourceCodeLink: String
196
- templateAppliedParams: String
197
- templateSourceLanguageAddress: String
198
- templated: Boolean
199
- }
200
-
201
- input LanguageMetaInput {
202
- description: String = ""
203
- name: String!
204
- possibleTemplateParams: [String!]
205
- sourceCodeLink: String
206
- }
207
-
208
- type LanguageRef {
209
- address: String!
210
- name: String!
211
- }
212
-
213
- type Link {
214
- predicate: String
215
- source: String!
216
- target: String!
217
- }
218
-
219
- type LinkExpression {
220
- author: String!
221
- data: Link!
222
- proof: ExpressionProof!
223
- status: String
224
- timestamp: String!
225
- }
226
-
227
- input LinkExpressionInput {
228
- author: String!
229
- data: LinkInput!
230
- proof: ExpressionProofInput!
231
- status: String = "shared"
232
- timestamp: String!
233
- }
234
-
235
- type LinkExpressionMutations {
236
- additions: [LinkExpression!]!
237
- removals: [LinkExpression!]!
238
- }
239
-
240
- type LinkExpressionUpdated {
241
- newLink: LinkExpression!
242
- oldLink: LinkExpression!
243
- }
244
-
245
- input LinkInput {
246
- predicate: String
247
- source: String!
248
- target: String!
249
- }
250
-
251
- input LinkMutations {
252
- additions: [LinkInput!]!
253
- removals: [LinkExpressionInput!]!
254
- }
255
-
256
- input LinkQuery {
257
- fromDate: DateTime
258
- limit: Float
259
- predicate: String
260
- source: String
261
- target: String
262
- untilDate: DateTime
263
- }
264
-
265
- type LocalModel {
266
- fileName: String!
267
- huggingfaceRepo: String
268
- revision: String
269
- tokenizerSource: TokenizerSource
270
- }
271
-
272
- input LocalModelInput {
273
- fileName: String!
274
- huggingfaceRepo: String
275
- revision: String
276
- tokenizerSource: TokenizerSourceInput
277
- }
278
-
279
- type Model {
280
- api: ModelApi
281
- id: String!
282
- local: LocalModel
283
- modelType: String!
284
- name: String!
285
- }
286
-
287
- type ModelApi {
288
- apiKey: String!
289
- apiType: String!
290
- baseUrl: String!
291
- model: String!
292
- }
293
-
294
- input ModelApiInput {
295
- apiKey: String!
296
- apiType: String!
297
- baseUrl: String!
298
- model: String!
299
- }
300
-
301
- input ModelInput {
302
- api: ModelApiInput
303
- local: LocalModelInput
304
- modelType: String!
305
- name: String!
306
- }
307
-
308
- type Mutation {
309
- addTrustedAgents(agents: [String!]!): [String!]!
310
- agentAddEntanglementProofs(proofs: [EntanglementProofInput!]!): [EntanglementProof!]!
311
- agentDeleteEntanglementProofs(proofs: [EntanglementProofInput!]!): [EntanglementProof!]!
312
- agentEntanglementProofPreFlight(deviceKey: String!, deviceKeyType: String!): EntanglementProof!
313
- agentGenerate(passphrase: String!): AgentStatus!
314
- agentGenerateJwt(rand: String!, requestId: String!): String!
315
- agentImport(did: String!, didDocument: String!, keystore: String!, passphrase: String!): AgentStatus!
316
- agentLock(passphrase: String!): AgentStatus!
317
- agentPermitCapability(auth: String!): String!
318
- agentRemoveApp(requestId: String!): [Apps!]!
319
- agentRequestCapability(authInfo: AuthInfoInput!): String!
320
- agentRevokeToken(requestId: String!): [Apps!]!
321
- agentSignMessage(message: String!): AgentSignature!
322
- agentUnlock(holochain: Boolean!, passphrase: String!): AgentStatus!
323
- agentUpdateDirectMessageLanguage(directMessageLanguage: String!): Agent!
324
- agentUpdatePublicPerspective(perspective: PerspectiveInput!): Agent!
325
- aiAddModel(model: ModelInput!): String!
326
- aiAddTask(task: AITaskInput!): AITask!
327
- aiCloseTranscriptionStream(streamId: String!): String!
328
- aiEmbed(modelId: String!, text: String!): String!
329
- aiFeedTranscriptionStream(audio: [Float!]!, streamIds: [String!]!): String!
330
- aiOpenTranscriptionStream(modelId: String!, params: VoiceActivityParamsInput): String!
331
- aiPrompt(prompt: String!, taskId: String!): String!
332
- aiRemoveModel(modelId: String!): Boolean!
333
- aiRemoveTask(taskId: String!): AITask!
334
- aiSetDefaultModel(modelId: String!, modelType: String!): Boolean!
335
- aiUpdateModel(model: ModelInput!, modelId: String!): Boolean!
336
- aiUpdateTask(task: AITaskInput!, taskId: String!): AITask!
337
- deleteTrustedAgents(agents: [String!]!): [String!]!
338
- expressionCreate(content: String!, languageAddress: String!): String!
339
- expressionInteract(interactionCall: InteractionCall!, url: String!): String
340
- languageApplyTemplateAndPublish(sourceLanguageHash: String!, templateData: String!): LanguageRef!
341
- languagePublish(languageMeta: LanguageMetaInput!, languagePath: String!): LanguageMeta!
342
- languageRemove(address: String!): Boolean!
343
- languageWriteSettings(languageAddress: String!, settings: String!): Boolean!
344
- neighbourhoodJoinFromUrl(url: String!): PerspectiveHandle!
345
- neighbourhoodPublishFromPerspective(linkLanguage: String!, meta: PerspectiveInput!, perspectiveUUID: String!): String!
346
- neighbourhoodSendBroadcast(loopback: Boolean, payload: PerspectiveInput!, perspectiveUUID: String!): Boolean!
347
- neighbourhoodSendBroadcastU(loopback: Boolean, payload: PerspectiveUnsignedInput!, perspectiveUUID: String!): Boolean!
348
- neighbourhoodSendSignal(payload: PerspectiveInput!, perspectiveUUID: String!, remoteAgentDid: String!): Boolean!
349
- neighbourhoodSendSignalU(payload: PerspectiveUnsignedInput!, perspectiveUUID: String!, remoteAgentDid: String!): Boolean!
350
- neighbourhoodSetOnlineStatus(perspectiveUUID: String!, status: PerspectiveInput!): Boolean!
351
- neighbourhoodSetOnlineStatusU(perspectiveUUID: String!, status: PerspectiveUnsignedInput!): Boolean!
352
- perspectiveAdd(name: String!): PerspectiveHandle!
353
- perspectiveAddLink(batchId: String, link: LinkInput!, status: String = "shared", uuid: String!): LinkExpression!
354
- perspectiveAddLinkExpression(batchId: String, link: LinkExpressionInput!, status: String = "shared", uuid: String!): LinkExpression!
355
- perspectiveAddLinks(batchId: String, links: [LinkInput!]!, status: String = "shared", uuid: String!): [LinkExpression!]!
356
- perspectiveAddSdna(name: String!, sdnaCode: String, sdnaType: String!, shaclJson: String, uuid: String!): Boolean!
357
- perspectiveCommitBatch(batchId: String!, uuid: String!): LinkExpressionMutations!
358
- perspectiveCreateBatch(uuid: String!): String!
359
- perspectiveCreateSubject(batchId: String, expressionAddress: String!, initialValues: String, subjectClass: String!, uuid: String!): Boolean!
360
- perspectiveDisposeQuerySubscription(subscriptionId: String!, uuid: String!): Boolean!
361
- perspectiveExecuteCommands(batchId: String, commands: String!, expression: String!, parameters: String, uuid: String!): Boolean!
362
- perspectiveGetSubjectData(expressionAddress: String!, subjectClass: String!, uuid: String!): String!
363
- perspectiveKeepAliveQuery(subscriptionId: String!, uuid: String!): Boolean!
364
- perspectiveLinkMutations(mutations: LinkMutations!, status: String, uuid: String!): LinkExpressionMutations!
365
- perspectivePublishSnapshot(uuid: String!): String
366
- perspectiveRemove(uuid: String!): Boolean!
367
- perspectiveRemoveLink(batchId: String, link: LinkExpressionInput!, uuid: String!): Boolean!
368
- perspectiveRemoveLinks(batchId: String, links: [LinkExpressionInput!]!, uuid: String!): [LinkExpression!]!
369
- perspectiveSubscribeQuery(query: String!, uuid: String!): QuerySubscription!
370
- perspectiveUpdate(name: String!, uuid: String!): PerspectiveHandle
371
- perspectiveUpdateLink(batchId: String, newLink: LinkInput!, oldLink: LinkExpressionInput!, uuid: String!): LinkExpression!
372
- runtimeAddFriends(dids: [String!]!): [String!]!
373
- runtimeAddKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
374
- runtimeCreateUser(appInfo: AuthInfoInput, email: String!, password: String!): UserCreationResult!
375
- runtimeEmailTestClearCodes: Boolean!
376
- runtimeEmailTestGetCode(email: String!): String
377
- runtimeEmailTestModeDisable: Boolean!
378
- runtimeEmailTestModeEnable: Boolean!
379
- runtimeEmailTestSetExpiry(email: String!, expiresAt: Float!, verificationType: String!): Boolean!
380
- runtimeExportDb(filePath: String!): Boolean!
381
- runtimeExportPerspective(filePath: String!, perspectiveUuid: String!): Boolean!
382
- runtimeFriendSendMessage(did: String!, message: PerspectiveInput!): Boolean!
383
- runtimeGrantNotification(id: String!): Boolean!
384
- runtimeHcAddAgentInfos(agentInfos: String!): Boolean!
385
- runtimeImportDb(filePath: String!): Boolean!
386
- runtimeImportPerspective(filePath: String!): Boolean!
387
- runtimeLoginUser(email: String!, password: String!): String!
388
- runtimeOpenLink(url: String!): Boolean!
389
- runtimeQuit: Boolean!
390
- runtimeReinstallUnytDna: PaymentRequestResult!
391
- runtimeRemoveFriends(dids: [String!]!): [String!]!
392
- runtimeRemoveKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
393
- runtimeRemoveNotification(id: String!): Boolean!
394
- runtimeRequestInstallNotification(notification: NotificationInput!): String!
395
- runtimeRequestLoginVerification(appInfo: AuthInfoInput, email: String!): VerificationRequestResult!
396
- runtimeRequestPayment(amountHOT: String!): PaymentRequestResult!
397
- runtimeRestartHolochain: Boolean!
398
- runtimeSendHot(amount: String!, recipient: String!): PaymentRequestResult!
399
- runtimeSetFreeHostingEnabled(enabled: Boolean!): Boolean!
400
- runtimeSetHotWalletAddress(address: String!): Boolean!
401
- runtimeSetMultiUserEnabled(enabled: Boolean!): Boolean!
402
- runtimeSetStatus(status: PerspectiveInput!): Boolean!
403
- runtimeSetUnytMembraneProof(proof: String!): PaymentRequestResult!
404
- runtimeSetUserCredits(amount: Float!, email: String!): Boolean!
405
- runtimeSetUserFreeAccess(email: String!, enabled: Boolean!): Boolean!
406
- runtimeTestEmail(to: String!): Boolean!
407
- runtimeUpdateNotification(id: String!, notification: NotificationInput!): Boolean!
408
- runtimeVerifyEmailCode(code: String!, email: String!, verificationType: String!): String!
409
- }
410
-
411
- type Neighbourhood {
412
- linkLanguage: String!
413
- meta: Perspective!
414
- }
415
-
416
- type NeighbourhoodExpression {
417
- author: String!
418
- data: Neighbourhood!
419
- proof: ExpressionProof!
420
- timestamp: String!
421
- }
422
-
423
- type Notification {
424
- appIconPath: String!
425
- appName: String!
426
- appUrl: String!
427
- description: String!
428
- granted: Boolean!
429
- id: String!
430
- perspectiveIds: [String!]!
431
- trigger: String!
432
- webhookAuth: String!
433
- webhookUrl: String!
434
- }
435
-
436
- input NotificationInput {
437
- appIconPath: String!
438
- appName: String!
439
- appUrl: String!
440
- description: String!
441
- perspectiveIds: [String!]!
442
- trigger: String!
443
- webhookAuth: String!
444
- webhookUrl: String!
445
- }
446
-
447
- type OnlineAgent {
448
- did: String!
449
- status: PerspectiveExpression!
450
- }
451
-
452
- type PaymentRequestResult {
453
- message: String!
454
- success: Boolean!
455
- }
456
-
457
- type Perspective {
458
- links: [LinkExpression!]!
459
- }
460
-
461
- type PerspectiveExpression {
462
- author: String!
463
- data: Perspective!
464
- proof: ExpressionProof!
465
- timestamp: String!
466
- }
467
-
468
- type PerspectiveHandle {
469
- name: String!
470
- neighbourhood: NeighbourhoodExpression
471
- owners: [String!]
472
- sharedUrl: String
473
- state: String!
474
- uuid: String!
475
- }
476
-
477
- input PerspectiveInput {
478
- links: [LinkExpressionInput!]!
479
- }
480
-
481
- input PerspectiveUnsignedInput {
482
- links: [LinkInput!] = []
483
- }
484
-
485
- type Query {
486
- agent: Agent!
487
- agentByDID(did: String!): Agent
488
- agentGetApps: [Apps!]!
489
- agentGetEntanglementProofs: [EntanglementProof!]!
490
- agentIsLocked: Boolean!
491
- agentStatus: AgentStatus!
492
- aiGetDefaultModel(modelType: String!): Model!
493
- aiGetModels: [Model!]!
494
- aiModelLoadingStatus(model: String!): AIModelLoadingStatus!
495
- aiTasks: [AITask!]!
496
- expression(url: String!): ExpressionRendered
497
- expressionInteractions(url: String!): [InteractionMeta!]!
498
- expressionMany(urls: [String!]!): [ExpressionRendered]!
499
- expressionRaw(url: String!): String
500
- getTrustedAgents: [String!]!
501
- language(address: String!): LanguageHandle
502
- languageMeta(address: String!): LanguageMeta!
503
- languageSource(address: String!): String!
504
- languages(filter: String): [LanguageHandle!]!
505
- neighbourhoodHasTelepresenceAdapter(perspectiveUUID: String!): Boolean!
506
- neighbourhoodOnlineAgents(perspectiveUUID: String!): [OnlineAgent!]!
507
- neighbourhoodOtherAgents(perspectiveUUID: String!): [String!]!
508
- perspective(uuid: String!): PerspectiveHandle
509
- perspectiveQueryLinks(query: LinkQuery!, uuid: String!): [LinkExpression!]
510
- perspectiveQueryProlog(query: String!, uuid: String!): String!
511
- perspectiveSnapshot(uuid: String!): Perspective
512
- perspectives: [PerspectiveHandle!]!
513
- runtimeComputeLog(limit: Float, since: String, userEmail: String): [ComputeLogEntry!]!
514
- runtimeFreeHostingEnabled: Boolean!
515
- runtimeFriendStatus(did: String!): PerspectiveExpression
516
- runtimeFriends: [String!]!
517
- runtimeGetNetworkMetrics: String!
518
- runtimeHcAgentInfos: String!
519
- runtimeHostingUserInfo: HostingUserInfo!
520
- runtimeHotAgentPubkey: String!
521
- runtimeHotWalletBalance: String!
522
- runtimeHotWalletHistory(page: Float, perPage: Float): String!
523
- runtimeInfo: RuntimeInfo!
524
- runtimeKnownLinkLanguageTemplates: [String!]!
525
- runtimeListUsers: [UserStatistics!]!
526
- runtimeMessageInbox(filter: String): [PerspectiveExpression!]!
527
- runtimeMessageOutbox(filter: String): [SentMessage!]!
528
- runtimeMultiUserEnabled: Boolean!
529
- runtimeNotifications: [Notification!]!
530
- runtimeUnytAgentKey: String!
531
- runtimeUnytVersionInfo: String!
532
- runtimeVerifyStringSignedByDid(data: String!, did: String!, didSigningKeyId: String!, signedData: String!): Boolean!
533
- }
534
-
535
- type QuerySubscription {
536
- result: String!
537
- subscriptionId: String!
538
- }
539
-
540
- type Resource {
541
- domain: String!
542
- pointers: [String!]!
543
- }
544
-
545
- input ResourceInput {
546
- domain: String!
547
- pointers: [String!]!
548
- }
549
-
550
- type RuntimeInfo {
551
- ad4mExecutorVersion: String!
552
- isInitialized: Boolean!
553
- isUnlocked: Boolean!
554
- }
555
-
556
- type SentMessage {
557
- message: PerspectiveExpression!
558
- recipient: String!
559
- }
560
-
561
- type Subscription {
562
- agentAppsChanged: [Apps!]
563
- agentStatusChanged: AgentStatus
564
- agentUpdated: Agent
565
- aiTranscriptionText(streamId: String!): String!
566
- exceptionOccurred: ExceptionInfo
567
- neighbourhoodSignal(perspectiveUUID: String!): PerspectiveExpression
568
- perspectiveAdded: PerspectiveHandle
569
- perspectiveLinkAdded(uuid: String!): LinkExpression
570
- perspectiveLinkRemoved(uuid: String!): LinkExpression
571
- perspectiveLinkUpdated(uuid: String!): LinkExpressionUpdated
572
- perspectiveQuerySubscription(subscriptionId: String!): String!
573
- perspectiveRemoved: String
574
- perspectiveSyncStateChange(uuid: String!): String!
575
- perspectiveUpdated: PerspectiveHandle
576
- runtimeMessageReceived: PerspectiveExpression
577
- runtimeNotificationTriggered: TriggeredNotification
578
- }
579
-
580
- type TokenizerSource {
581
- fileName: String!
582
- repo: String!
583
- revision: String!
584
- }
585
-
586
- input TokenizerSourceInput {
587
- fileName: String!
588
- repo: String!
589
- revision: String!
590
- }
591
-
592
- type TriggeredNotification {
593
- notification: Notification!
594
- perspectiveId: String!
595
- triggerMatch: String!
596
- }
597
-
598
- type UserCreationResult {
599
- did: String!
600
- error: String
601
- success: Boolean!
602
- }
603
-
604
- type UserStatistics {
605
- did: String!
606
- email: String!
607
- freeAccess: Boolean!
608
- hotWalletAddress: String
609
- lastSeen: String
610
- perspectiveCount: Int!
611
- remainingCredits: String!
612
- }
613
-
614
- type VerificationRequestResult {
615
- isExistingUser: Boolean!
616
- message: String!
617
- requiresPassword: Boolean!
618
- success: Boolean!
619
- }
620
-
621
- input VoiceActivityParamsInput {
622
- endThreshold: Float
623
- endWindow: Float
624
- startThreshold: Float
625
- startWindow: Float
626
- timeBeforeSpeech: Float
627
- }
628
- `
1
+ // Placeholder for type definition string.
2
+ // Previously generated by buildSchema; kept for backward compatibility.
3
+ export const typeDefsString = "";
package/package.json CHANGED
@@ -6,10 +6,10 @@
6
6
  "types": "lib/src/index.d.ts",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "build": "patch-package && tsc && pnpm run buildSchema && pnpm run bundle",
10
- "buildSchema": "tsx lib/src/buildSchema.js",
9
+ "build": "patch-package && tsc && pnpm run bundle",
11
10
  "bundle": "rollup -c rollup.config.js",
12
- "test": "jest --forceExit"
11
+ "test": "jest --forceExit",
12
+ "generate:api-types": "cd ../rust-executor && TS_RS_EXPORT_DIR=../core/src/generated/api/ cargo test --lib 2>/dev/null && echo \"API types generated to core/src/generated/api/\""
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -31,26 +31,17 @@
31
31
  },
32
32
  "homepage": "https://ad4m.dev",
33
33
  "dependencies": {
34
- "@apollo/client": "3.7.10",
35
34
  "@holochain/client": "0.16.0",
36
35
  "base64-js": "*",
37
- "class-validator": "^0.13.1",
38
- "express": "4.18.2",
39
- "graphql": "15.7.2",
40
- "pako": "*",
41
- "reflect-metadata": "^0.1.13"
36
+ "pako": "*"
42
37
  },
43
38
  "devDependencies": {
44
- "@apollo/server": "^4.9.4",
45
- "@rollup/plugin-alias": "^3.1.5",
46
39
  "@rollup/plugin-commonjs": "^20.0.0",
47
40
  "@rollup/plugin-node-resolve": "^13.0.4",
48
41
  "@types/jest": "^29",
49
42
  "@types/node": "*",
50
- "@types/yargs": "*",
51
43
  "concat-md": "^0.5.0",
52
44
  "cross-fetch": "^3.1.4",
53
- "graphql-ws": "5.12.0",
54
45
  "honkit": "^4.0.0",
55
46
  "jest": "^29",
56
47
  "patch-package": "^8.0.0",
@@ -59,15 +50,12 @@
59
50
  "rollup": "^2.56.3",
60
51
  "ts-jest": "^29",
61
52
  "tsx": "^4.21.0",
62
- "type-graphql": "1.1.1",
63
53
  "typescript": "^4.6.2",
64
54
  "ws": "8.13.0"
65
55
  },
66
56
  "patchedDependencies": {},
67
57
  "pnpm": {
68
- "patchedDependencies": {
69
- "graphql@15.7.2": "patches/graphql@15.7.2.patch"
70
- }
58
+ "patchedDependencies": {}
71
59
  },
72
- "version": "0.13.0-test-3"
60
+ "version": "0.13.0-test-5"
73
61
  }
package/rollup.config.js CHANGED
@@ -1,4 +1,3 @@
1
- import alias from '@rollup/plugin-alias';
2
1
  import nodeResolve from '@rollup/plugin-node-resolve';
3
2
  import commonjs from '@rollup/plugin-commonjs';
4
3
 
@@ -15,12 +14,6 @@ module.exports = {
15
14
  }
16
15
  ],
17
16
  plugins: [
18
- alias({
19
- entries: [
20
- { find: 'type-graphql', replacement: './lib/shims/type-graphql.js' },
21
- { find: 'reflect-metadata', replacement: './lib/shims/reflect-metadata.js' }
22
- ]
23
- }),
24
17
  nodeResolve(),
25
18
  commonjs()
26
19
  ]