@adminide-stack/extension-api 0.0.2-alpha.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 (318) hide show
  1. package/LICENSE +39 -0
  2. package/README.md +9 -0
  3. package/lib/connections/jsonrpc2/connection.d.ts +55 -0
  4. package/lib/connections/jsonrpc2/connection.js +575 -0
  5. package/lib/connections/jsonrpc2/connection.js.map +1 -0
  6. package/lib/connections/jsonrpc2/connection.test.d.ts +1 -0
  7. package/lib/connections/jsonrpc2/connection.test.js +443 -0
  8. package/lib/connections/jsonrpc2/connection.test.js.map +1 -0
  9. package/lib/connections/jsonrpc2/events.d.ts +24 -0
  10. package/lib/connections/jsonrpc2/events.js +117 -0
  11. package/lib/connections/jsonrpc2/events.js.map +1 -0
  12. package/lib/connections/jsonrpc2/index.d.ts +5 -0
  13. package/lib/connections/jsonrpc2/index.js +24 -0
  14. package/lib/connections/jsonrpc2/index.js.map +1 -0
  15. package/lib/connections/jsonrpc2/linkedMap.d.ts +29 -0
  16. package/lib/connections/jsonrpc2/linkedMap.js +254 -0
  17. package/lib/connections/jsonrpc2/linkedMap.js.map +1 -0
  18. package/lib/connections/jsonrpc2/linkedMap.test.d.ts +1 -0
  19. package/lib/connections/jsonrpc2/linkedMap.test.js +62 -0
  20. package/lib/connections/jsonrpc2/linkedMap.test.js.map +1 -0
  21. package/lib/connections/jsonrpc2/messages.d.ts +117 -0
  22. package/lib/connections/jsonrpc2/messages.js +72 -0
  23. package/lib/connections/jsonrpc2/messages.js.map +1 -0
  24. package/lib/connections/jsonrpc2/test-helper.d.ts +8 -0
  25. package/lib/connections/jsonrpc2/test-helper.js +36 -0
  26. package/lib/connections/jsonrpc2/test-helper.js.map +1 -0
  27. package/lib/connections/jsonrpc2/trace.d.ts +30 -0
  28. package/lib/connections/jsonrpc2/trace.js +96 -0
  29. package/lib/connections/jsonrpc2/trace.js.map +1 -0
  30. package/lib/connections/jsonrpc2/transport.d.ts +36 -0
  31. package/lib/connections/jsonrpc2/transport.js +66 -0
  32. package/lib/connections/jsonrpc2/transport.js.map +1 -0
  33. package/lib/connections/jsonrpc2/transports/browser-websocket.d.ts +0 -0
  34. package/lib/connections/jsonrpc2/transports/browser-websocket.js +189 -0
  35. package/lib/connections/jsonrpc2/transports/browser-websocket.js.map +1 -0
  36. package/lib/connections/jsonrpc2/transports/merged.d.ts +0 -0
  37. package/lib/connections/jsonrpc2/transports/merged.js +239 -0
  38. package/lib/connections/jsonrpc2/transports/merged.js.map +1 -0
  39. package/lib/connections/jsonrpc2/transports/webSocket.d.ts +0 -0
  40. package/lib/connections/jsonrpc2/transports/webSocket.js +138 -0
  41. package/lib/connections/jsonrpc2/transports/webSocket.js.map +1 -0
  42. package/lib/connections/jsonrpc2/transports/webWorker.d.ts +22 -0
  43. package/lib/connections/jsonrpc2/transports/webWorker.js +111 -0
  44. package/lib/connections/jsonrpc2/transports/webWorker.js.map +1 -0
  45. package/lib/connections/proxy/index.d.ts +1 -0
  46. package/lib/connections/proxy/index.js +18 -0
  47. package/lib/connections/proxy/index.js.map +1 -0
  48. package/lib/connections/proxy/proxy.d.ts +49 -0
  49. package/lib/connections/proxy/proxy.js +108 -0
  50. package/lib/connections/proxy/proxy.js.map +1 -0
  51. package/lib/connections/proxy/proxy.test.d.ts +1 -0
  52. package/lib/connections/proxy/proxy.test.js +55 -0
  53. package/lib/connections/proxy/proxy.test.js.map +1 -0
  54. package/lib/connections/remote-rpc/browser-remote-rpc.d.ts +12 -0
  55. package/lib/connections/remote-rpc/browser-remote-rpc.js +62 -0
  56. package/lib/connections/remote-rpc/browser-remote-rpc.js.map +1 -0
  57. package/lib/connections/remote-rpc/browser-server-rpc.test.d.ts +0 -0
  58. package/lib/connections/remote-rpc/browser-server-rpc.test.js +317 -0
  59. package/lib/connections/remote-rpc/browser-server-rpc.test.js.map +1 -0
  60. package/lib/connections/remote-rpc/index.d.ts +1 -0
  61. package/lib/connections/remote-rpc/index.js +18 -0
  62. package/lib/connections/remote-rpc/index.js.map +1 -0
  63. package/lib/connections/remote-rpc/old-browser-remote-rpc.d.ts +12 -0
  64. package/lib/connections/remote-rpc/old-browser-remote-rpc.js +41 -0
  65. package/lib/connections/remote-rpc/old-browser-remote-rpc.js.map +1 -0
  66. package/lib/connections/remote-rpc/rxjs-websockets.d.ts +18 -0
  67. package/lib/connections/remote-rpc/rxjs-websockets.js +80 -0
  68. package/lib/connections/remote-rpc/rxjs-websockets.js.map +1 -0
  69. package/lib/constants/action-types.d.ts +30 -0
  70. package/lib/constants/action-types.js +38 -0
  71. package/lib/constants/action-types.js.map +1 -0
  72. package/lib/constants/index.d.ts +2 -0
  73. package/lib/constants/index.js +19 -0
  74. package/lib/constants/index.js.map +1 -0
  75. package/lib/constants/types.d.ts +8 -0
  76. package/lib/constants/types.js +12 -0
  77. package/lib/constants/types.js.map +1 -0
  78. package/lib/core/expr/evaluator.d.ts +27 -0
  79. package/lib/core/expr/evaluator.js +144 -0
  80. package/lib/core/expr/evaluator.js.map +1 -0
  81. package/lib/core/expr/evaluator.test.d.ts +1 -0
  82. package/lib/core/expr/evaluator.test.js +52 -0
  83. package/lib/core/expr/evaluator.test.js.map +1 -0
  84. package/lib/core/expr/index.d.ts +3 -0
  85. package/lib/core/expr/index.js +20 -0
  86. package/lib/core/expr/index.js.map +1 -0
  87. package/lib/core/expr/lexer.d.ts +114 -0
  88. package/lib/core/expr/lexer.js +418 -0
  89. package/lib/core/expr/lexer.js.map +1 -0
  90. package/lib/core/expr/parser.d.ts +52 -0
  91. package/lib/core/expr/parser.js +242 -0
  92. package/lib/core/expr/parser.js.map +1 -0
  93. package/lib/core/index.d.ts +2 -0
  94. package/lib/core/index.js +19 -0
  95. package/lib/core/index.js.map +1 -0
  96. package/lib/core/types/ext-host-types-bk.d.ts +0 -0
  97. package/lib/core/types/ext-host-types-bk.js +1275 -0
  98. package/lib/core/types/ext-host-types-bk.js.map +1 -0
  99. package/lib/core/types/ext-host-types.d.ts +32 -0
  100. package/lib/core/types/ext-host-types.js +71 -0
  101. package/lib/core/types/ext-host-types.js.map +1 -0
  102. package/lib/core/types/index.d.ts +1 -0
  103. package/lib/core/types/index.js +18 -0
  104. package/lib/core/types/index.js.map +1 -0
  105. package/lib/errors/errors.d.ts +1 -0
  106. package/lib/errors/errors.js +13 -0
  107. package/lib/errors/errors.js.map +1 -0
  108. package/lib/errors/index.d.ts +1 -0
  109. package/lib/errors/index.js +18 -0
  110. package/lib/errors/index.js.map +1 -0
  111. package/lib/index.d.ts +7 -0
  112. package/lib/index.js +24 -0
  113. package/lib/index.js.map +1 -0
  114. package/lib/interfaces/command.d.ts +28 -0
  115. package/lib/interfaces/command.js +3 -0
  116. package/lib/interfaces/command.js.map +1 -0
  117. package/lib/interfaces/configuration.d.ts +36 -0
  118. package/lib/interfaces/configuration.js +3 -0
  119. package/lib/interfaces/configuration.js.map +1 -0
  120. package/lib/interfaces/connection.d.ts +12 -0
  121. package/lib/interfaces/connection.js +3 -0
  122. package/lib/interfaces/connection.js.map +1 -0
  123. package/lib/interfaces/context.d.ts +12 -0
  124. package/lib/interfaces/context.js +3 -0
  125. package/lib/interfaces/context.js.map +1 -0
  126. package/lib/interfaces/contributions/contribution-service.d.ts +20 -0
  127. package/lib/interfaces/contributions/contribution-service.js +3 -0
  128. package/lib/interfaces/contributions/contribution-service.js.map +1 -0
  129. package/lib/interfaces/contributions/contribution.d.ts +383 -0
  130. package/lib/interfaces/contributions/contribution.js +49 -0
  131. package/lib/interfaces/contributions/contribution.js.map +1 -0
  132. package/lib/interfaces/contributions/index.d.ts +2 -0
  133. package/lib/interfaces/contributions/index.js +19 -0
  134. package/lib/interfaces/contributions/index.js.map +1 -0
  135. package/lib/interfaces/controller.d.ts +30 -0
  136. package/lib/interfaces/controller.js +3 -0
  137. package/lib/interfaces/controller.js.map +1 -0
  138. package/lib/interfaces/errors.d.ts +5 -0
  139. package/lib/interfaces/errors.js +3 -0
  140. package/lib/interfaces/errors.js.map +1 -0
  141. package/lib/interfaces/ext-services/contributon-registry.d.ts +45 -0
  142. package/lib/interfaces/ext-services/contributon-registry.js +3 -0
  143. package/lib/interfaces/ext-services/contributon-registry.js.map +1 -0
  144. package/lib/interfaces/ext-services/ext-services.d.ts +23 -0
  145. package/lib/interfaces/ext-services/ext-services.js +3 -0
  146. package/lib/interfaces/ext-services/ext-services.js.map +1 -0
  147. package/lib/interfaces/ext-services/extension-service.d.ts +8 -0
  148. package/lib/interfaces/ext-services/extension-service.js +3 -0
  149. package/lib/interfaces/ext-services/extension-service.js.map +1 -0
  150. package/lib/interfaces/ext-services/index.d.ts +8 -0
  151. package/lib/interfaces/ext-services/index.js +25 -0
  152. package/lib/interfaces/ext-services/index.js.map +1 -0
  153. package/lib/interfaces/ext-services/model-service.d.ts +89 -0
  154. package/lib/interfaces/ext-services/model-service.js +3 -0
  155. package/lib/interfaces/ext-services/model-service.js.map +1 -0
  156. package/lib/interfaces/ext-services/panel-view-registry.d.ts +21 -0
  157. package/lib/interfaces/ext-services/panel-view-registry.js +3 -0
  158. package/lib/interfaces/ext-services/panel-view-registry.js.map +1 -0
  159. package/lib/interfaces/ext-services/settings-service.d.ts +18 -0
  160. package/lib/interfaces/ext-services/settings-service.js +3 -0
  161. package/lib/interfaces/ext-services/settings-service.js.map +1 -0
  162. package/lib/interfaces/ext-services/view-service.d.ts +65 -0
  163. package/lib/interfaces/ext-services/view-service.js +4 -0
  164. package/lib/interfaces/ext-services/view-service.js.map +1 -0
  165. package/lib/interfaces/ext-services/viewer-service.d.ts +125 -0
  166. package/lib/interfaces/ext-services/viewer-service.js +5 -0
  167. package/lib/interfaces/ext-services/viewer-service.js.map +1 -0
  168. package/lib/interfaces/extension-manifest.d.ts +8 -0
  169. package/lib/interfaces/extension-manifest.js +3 -0
  170. package/lib/interfaces/extension-manifest.js.map +1 -0
  171. package/lib/interfaces/extension.d.ts +72 -0
  172. package/lib/interfaces/extension.js +3 -0
  173. package/lib/interfaces/extension.js.map +1 -0
  174. package/lib/interfaces/generated-models.d.ts +3716 -0
  175. package/lib/interfaces/generated-models.js +648 -0
  176. package/lib/interfaces/generated-models.js.map +1 -0
  177. package/lib/interfaces/graphql.d.ts +17 -0
  178. package/lib/interfaces/graphql.js +5 -0
  179. package/lib/interfaces/graphql.js.map +1 -0
  180. package/lib/interfaces/index.d.ts +21 -0
  181. package/lib/interfaces/index.js +38 -0
  182. package/lib/interfaces/index.js.map +1 -0
  183. package/lib/interfaces/languages-types.d.ts +65 -0
  184. package/lib/interfaces/languages-types.js +3 -0
  185. package/lib/interfaces/languages-types.js.map +1 -0
  186. package/lib/interfaces/model.d.ts +51 -0
  187. package/lib/interfaces/model.js +9 -0
  188. package/lib/interfaces/model.js.map +1 -0
  189. package/lib/interfaces/plain-types.d.ts +4 -0
  190. package/lib/interfaces/plain-types.js +6 -0
  191. package/lib/interfaces/plain-types.js.map +1 -0
  192. package/lib/interfaces/plainTypes.d.ts +68 -0
  193. package/lib/interfaces/plainTypes.js +3 -0
  194. package/lib/interfaces/plainTypes.js.map +1 -0
  195. package/lib/interfaces/platform-context.d.ts +82 -0
  196. package/lib/interfaces/platform-context.js +3 -0
  197. package/lib/interfaces/platform-context.js.map +1 -0
  198. package/lib/interfaces/react-props/action-item.d.ts +20 -0
  199. package/lib/interfaces/react-props/action-item.js +3 -0
  200. package/lib/interfaces/react-props/action-item.js.map +1 -0
  201. package/lib/interfaces/react-props/extension-controller.d.ts +11 -0
  202. package/lib/interfaces/react-props/extension-controller.js +3 -0
  203. package/lib/interfaces/react-props/extension-controller.js.map +1 -0
  204. package/lib/interfaces/react-props/index.d.ts +3 -0
  205. package/lib/interfaces/react-props/index.js +20 -0
  206. package/lib/interfaces/react-props/index.js.map +1 -0
  207. package/lib/interfaces/react-props/platform-context.d.ts +7 -0
  208. package/lib/interfaces/react-props/platform-context.js +3 -0
  209. package/lib/interfaces/react-props/platform-context.js.map +1 -0
  210. package/lib/interfaces/registry-extension.d.ts +21 -0
  211. package/lib/interfaces/registry-extension.js +3 -0
  212. package/lib/interfaces/registry-extension.js.map +1 -0
  213. package/lib/interfaces/settings.d.ts +51 -0
  214. package/lib/interfaces/settings.js +3 -0
  215. package/lib/interfaces/settings.js.map +1 -0
  216. package/lib/interfaces/text-document.d.ts +57 -0
  217. package/lib/interfaces/text-document.js +119 -0
  218. package/lib/interfaces/text-document.js.map +1 -0
  219. package/lib/interfaces/webview/index.d.ts +3 -0
  220. package/lib/interfaces/webview/index.js +20 -0
  221. package/lib/interfaces/webview/index.js.map +1 -0
  222. package/lib/interfaces/webview/webview-manager-service.d.ts +22 -0
  223. package/lib/interfaces/webview/webview-manager-service.js +3 -0
  224. package/lib/interfaces/webview/webview-manager-service.js.map +1 -0
  225. package/lib/interfaces/webview/webview-port-mapping.d.ts +4 -0
  226. package/lib/interfaces/webview/webview-port-mapping.js +3 -0
  227. package/lib/interfaces/webview/webview-port-mapping.js.map +1 -0
  228. package/lib/interfaces/webview/webview.d.ts +99 -0
  229. package/lib/interfaces/webview/webview.js +9 -0
  230. package/lib/interfaces/webview/webview.js.map +1 -0
  231. package/lib/main.d.ts +0 -0
  232. package/lib/main.js +3 -0
  233. package/lib/main.js.map +1 -0
  234. package/lib/protocol/client.protocol.d.ts +99 -0
  235. package/lib/protocol/client.protocol.js +8 -0
  236. package/lib/protocol/client.protocol.js.map +1 -0
  237. package/lib/protocol/common.protocol.d.ts +289 -0
  238. package/lib/protocol/common.protocol.js +68 -0
  239. package/lib/protocol/common.protocol.js.map +1 -0
  240. package/lib/protocol/editor-missing-types.d.ts +87 -0
  241. package/lib/protocol/editor-missing-types.js +10 -0
  242. package/lib/protocol/editor-missing-types.js.map +1 -0
  243. package/lib/protocol/index.d.ts +6 -0
  244. package/lib/protocol/index.js +24 -0
  245. package/lib/protocol/index.js.map +1 -0
  246. package/lib/protocol/proxy-identifier.d.ts +51 -0
  247. package/lib/protocol/proxy-identifier.js +59 -0
  248. package/lib/protocol/proxy-identifier.js.map +1 -0
  249. package/lib/protocol/rpc-logger.d.ts +8 -0
  250. package/lib/protocol/rpc-logger.js +60 -0
  251. package/lib/protocol/rpc-logger.js.map +1 -0
  252. package/lib/protocol/rpc-protocol.d.ts +148 -0
  253. package/lib/protocol/rpc-protocol.js +750 -0
  254. package/lib/protocol/rpc-protocol.js.map +1 -0
  255. package/lib/protocol/rpc-protocol.test.d.ts +1 -0
  256. package/lib/protocol/rpc-protocol.test.js +171 -0
  257. package/lib/protocol/rpc-protocol.test.js.map +1 -0
  258. package/lib/protocol/server.protocol-bk.d.ts +0 -0
  259. package/lib/protocol/server.protocol-bk.js +719 -0
  260. package/lib/protocol/server.protocol-bk.js.map +1 -0
  261. package/lib/protocol/server.protocol.d.ts +91 -0
  262. package/lib/protocol/server.protocol.js +31 -0
  263. package/lib/protocol/server.protocol.js.map +1 -0
  264. package/lib/protocol/shared/editor.d.ts +4 -0
  265. package/lib/protocol/shared/editor.js +28 -0
  266. package/lib/protocol/shared/editor.js.map +1 -0
  267. package/lib/protocol/shared/tasks.d.ts +104 -0
  268. package/lib/protocol/shared/tasks.js +4 -0
  269. package/lib/protocol/shared/tasks.js.map +1 -0
  270. package/lib/protocol/temporary-types.d.ts +198 -0
  271. package/lib/protocol/temporary-types.js +30 -0
  272. package/lib/protocol/temporary-types.js.map +1 -0
  273. package/lib/protocol/utils/index.d.ts +1 -0
  274. package/lib/protocol/utils/index.js +18 -0
  275. package/lib/protocol/utils/index.js.map +1 -0
  276. package/lib/protocol/utils/lazy-promise.d.ts +18 -0
  277. package/lib/protocol/utils/lazy-promise.js +69 -0
  278. package/lib/protocol/utils/lazy-promise.js.map +1 -0
  279. package/lib/utils/errors.d.ts +6 -0
  280. package/lib/utils/errors.js +19 -0
  281. package/lib/utils/errors.js.map +1 -0
  282. package/lib/utils/extensions.d.ts +9 -0
  283. package/lib/utils/extensions.js +25 -0
  284. package/lib/utils/extensions.js.map +1 -0
  285. package/lib/utils/helper.test.d.ts +9 -0
  286. package/lib/utils/helper.test.js +15 -0
  287. package/lib/utils/helper.test.js.map +1 -0
  288. package/lib/utils/index.d.ts +7 -0
  289. package/lib/utils/index.js +25 -0
  290. package/lib/utils/index.js.map +1 -0
  291. package/lib/utils/paths-util.d.ts +27 -0
  292. package/lib/utils/paths-util.js +127 -0
  293. package/lib/utils/paths-util.js.map +1 -0
  294. package/lib/utils/rxjs/combineLatestOrDefault.d.ts +28 -0
  295. package/lib/utils/rxjs/combineLatestOrDefault.js +111 -0
  296. package/lib/utils/rxjs/combineLatestOrDefault.js.map +1 -0
  297. package/lib/utils/rxjs/combineLatestOrDefault.test.d.ts +1 -0
  298. package/lib/utils/rxjs/combineLatestOrDefault.test.js +52 -0
  299. package/lib/utils/rxjs/combineLatestOrDefault.test.js.map +1 -0
  300. package/lib/utils/rxjs/index.d.ts +1 -0
  301. package/lib/utils/rxjs/index.js +18 -0
  302. package/lib/utils/rxjs/index.js.map +1 -0
  303. package/lib/utils/util.d.ts +19 -0
  304. package/lib/utils/util.js +57 -0
  305. package/lib/utils/util.js.map +1 -0
  306. package/lib/worker-lib/MessageTypes.d.ts +5 -0
  307. package/lib/worker-lib/MessageTypes.js +9 -0
  308. package/lib/worker-lib/MessageTypes.js.map +1 -0
  309. package/lib/worker-lib/index.d.ts +2 -0
  310. package/lib/worker-lib/index.js +19 -0
  311. package/lib/worker-lib/index.js.map +1 -0
  312. package/lib/worker-lib/webWorkerLink.d.ts +12 -0
  313. package/lib/worker-lib/webWorkerLink.js +96 -0
  314. package/lib/worker-lib/webWorkerLink.js.map +1 -0
  315. package/lib/worker-lib/workerUtils.d.ts +11 -0
  316. package/lib/worker-lib/workerUtils.js +178 -0
  317. package/lib/worker-lib/workerUtils.js.map +1 -0
  318. package/package.json +60 -0
@@ -0,0 +1,648 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useShowNotificationLazyQuery = exports.useShowNotificationQuery = exports.ShowNotificationDocument = exports.useNotificationsLazyQuery = exports.useNotificationsQuery = exports.NotificationsDocument = exports.useInstalledExtensionsLazyQuery = exports.useInstalledExtensionsQuery = exports.InstalledExtensionsDocument = exports.useGalleryLazyQuery = exports.useGalleryQuery = exports.GalleryDocument = exports.useExtensionsByLimitLazyQuery = exports.useExtensionsByLimitQuery = exports.ExtensionsByLimitDocument = exports.useGalleryExtensionLazyQuery = exports.useGalleryExtensionQuery = exports.GalleryExtensionDocument = exports.useContextMenuLazyQuery = exports.useContextMenuQuery = exports.ContextMenuDocument = exports.useRemoveMutation = exports.RemoveDocument = exports.useProviderDefinitionMutation = exports.ProviderDefinitionDocument = exports.useInstallMutation = exports.InstallDocument = exports.useShowContextMenuMutation = exports.ShowContextMenuDocument = exports.useHideContextMenuMutation = exports.HideContextMenuDocument = exports.useRunMenuActionMutation = exports.RunMenuActionDocument = exports.useCopyMutation = exports.CopyDocument = exports.ISortEnum = exports.INotificationViewItemLabelKind = exports.INotificationSeverity = exports.INotificationChangeType = exports.IMoleculerServiceName = exports.IMenuId = exports.IMarkupKind = exports.IGraphqlCallType = exports.IExtensionType = exports.IExtensionKind = exports.IEnvironmentSync = exports.IClientContainerService = exports.ICacheControlScope = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ const Apollo = require("@apollo/client");
6
+ const defaultOptions = {};
7
+ var ICacheControlScope;
8
+ (function (ICacheControlScope) {
9
+ ICacheControlScope["Public"] = "PUBLIC";
10
+ ICacheControlScope["Private"] = "PRIVATE";
11
+ })(ICacheControlScope = exports.ICacheControlScope || (exports.ICacheControlScope = {}));
12
+ var IClientContainerService;
13
+ (function (IClientContainerService) {
14
+ IClientContainerService["ExtensionController"] = "ExtensionController";
15
+ })(IClientContainerService = exports.IClientContainerService || (exports.IClientContainerService = {}));
16
+ var IEnvironmentSync;
17
+ (function (IEnvironmentSync) {
18
+ IEnvironmentSync["On"] = "on";
19
+ IEnvironmentSync["Off"] = "off";
20
+ IEnvironmentSync["Unset"] = "unset";
21
+ })(IEnvironmentSync = exports.IEnvironmentSync || (exports.IEnvironmentSync = {}));
22
+ var IExtensionKind;
23
+ (function (IExtensionKind) {
24
+ IExtensionKind["Ui"] = "ui";
25
+ IExtensionKind["Workspace"] = "workspace";
26
+ })(IExtensionKind = exports.IExtensionKind || (exports.IExtensionKind = {}));
27
+ var IExtensionType;
28
+ (function (IExtensionType) {
29
+ IExtensionType["System"] = "System";
30
+ IExtensionType["User"] = "User";
31
+ })(IExtensionType = exports.IExtensionType || (exports.IExtensionType = {}));
32
+ var IGraphqlCallType;
33
+ (function (IGraphqlCallType) {
34
+ IGraphqlCallType["Mutation"] = "mutation";
35
+ IGraphqlCallType["Query"] = "query";
36
+ })(IGraphqlCallType = exports.IGraphqlCallType || (exports.IGraphqlCallType = {}));
37
+ var IMarkupKind;
38
+ (function (IMarkupKind) {
39
+ IMarkupKind["Plaintext"] = "plaintext";
40
+ IMarkupKind["Markdown"] = "markdown";
41
+ })(IMarkupKind = exports.IMarkupKind || (exports.IMarkupKind = {}));
42
+ var IMenuId;
43
+ (function (IMenuId) {
44
+ IMenuId["CommandPalette"] = "CommandPalette";
45
+ IMenuId["MenubarAppearanceMenu"] = "MenubarAppearanceMenu";
46
+ IMenuId["MenubarDebugMenu"] = "MenubarDebugMenu";
47
+ IMenuId["MenubarEditMenu"] = "MenubarEditMenu";
48
+ IMenuId["MenubarFileMenu"] = "MenubarFileMenu";
49
+ IMenuId["MenubarGoMenu"] = "MenubarGoMenu";
50
+ IMenuId["MenubarNewBreakpointMenu"] = "MenubarNewBreakpointMenu";
51
+ IMenuId["MenubarPreferencesMenu"] = "MenubarPreferencesMenu";
52
+ IMenuId["MenubarRecentMenu"] = "MenubarRecentMenu";
53
+ IMenuId["MenubarSelectionMenu"] = "MenubarSelectionMenu";
54
+ IMenuId["MenubarSwitchEditorMenu"] = "MenubarSwitchEditorMenu";
55
+ IMenuId["MenubarSwitchGroupMenu"] = "MenubarSwitchGroupMenu";
56
+ IMenuId["MenubarTeamMenu"] = "MenubarTeamMenu";
57
+ IMenuId["MenubarViewMenu"] = "MenubarViewMenu";
58
+ IMenuId["OpenEditorContext"] = "OpenEditorContext";
59
+ IMenuId["ProblemsPanelContext"] = "ProblemsPanelContext";
60
+ IMenuId["ScmChangeContext"] = "SCMChangeContext";
61
+ IMenuId["ScmResourceContext"] = "SCMResourceContext";
62
+ IMenuId["ScmResourceGroupContext"] = "SCMResourceGroupContext";
63
+ IMenuId["ScmResourceControl"] = "SCMResourceControl";
64
+ IMenuId["ScmTitle"] = "SCMTitle";
65
+ IMenuId["SearchContext"] = "SearchContext";
66
+ IMenuId["StatusBarWindowIndicatorMenu"] = "StatusBarWindowIndicatorMenu";
67
+ IMenuId["TouchBarContext"] = "TouchBarContext";
68
+ IMenuId["ViewItemContext"] = "ViewItemContext";
69
+ IMenuId["ViewTitle"] = "ViewTitle";
70
+ IMenuId["CommentThreadTitle"] = "CommentThreadTitle";
71
+ IMenuId["CommentThreadActions"] = "CommentThreadActions";
72
+ IMenuId["CommentTitle"] = "CommentTitle";
73
+ IMenuId["CommentActions"] = "CommentActions";
74
+ })(IMenuId = exports.IMenuId || (exports.IMenuId = {}));
75
+ /** All Moleculer Topic names are extended from this. */
76
+ var IMoleculerServiceName;
77
+ (function (IMoleculerServiceName) {
78
+ IMoleculerServiceName["Dummy"] = "dummy";
79
+ })(IMoleculerServiceName = exports.IMoleculerServiceName || (exports.IMoleculerServiceName = {}));
80
+ var INotificationChangeType;
81
+ (function (INotificationChangeType) {
82
+ INotificationChangeType["Add"] = "ADD";
83
+ INotificationChangeType["Change"] = "CHANGE";
84
+ INotificationChangeType["Remove"] = "REMOVE";
85
+ })(INotificationChangeType = exports.INotificationChangeType || (exports.INotificationChangeType = {}));
86
+ var INotificationSeverity;
87
+ (function (INotificationSeverity) {
88
+ INotificationSeverity["Ignore"] = "Ignore";
89
+ INotificationSeverity["Info"] = "Info";
90
+ INotificationSeverity["Warning"] = "Warning";
91
+ INotificationSeverity["Error"] = "Error";
92
+ })(INotificationSeverity = exports.INotificationSeverity || (exports.INotificationSeverity = {}));
93
+ var INotificationViewItemLabelKind;
94
+ (function (INotificationViewItemLabelKind) {
95
+ INotificationViewItemLabelKind["Severity"] = "SEVERITY";
96
+ INotificationViewItemLabelKind["Message"] = "MESSAGE";
97
+ INotificationViewItemLabelKind["Actions"] = "ACTIONS";
98
+ INotificationViewItemLabelKind["Progress"] = "PROGRESS";
99
+ })(INotificationViewItemLabelKind = exports.INotificationViewItemLabelKind || (exports.INotificationViewItemLabelKind = {}));
100
+ var ISortEnum;
101
+ (function (ISortEnum) {
102
+ ISortEnum["Asc"] = "ASC";
103
+ ISortEnum["Desc"] = "DESC";
104
+ })(ISortEnum = exports.ISortEnum || (exports.ISortEnum = {}));
105
+ exports.CopyDocument = (0, client_1.gql) `
106
+ mutation Copy($value: String) {
107
+ copy(value: $value) @client
108
+ }
109
+ `;
110
+ /**
111
+ * __useCopyMutation__
112
+ *
113
+ * To run a mutation, you first call `useCopyMutation` within a React component and pass it any options that fit your needs.
114
+ * When your component renders, `useCopyMutation` returns a tuple that includes:
115
+ * - A mutate function that you can call at any time to execute the mutation
116
+ * - An object with fields that represent the current status of the mutation's execution
117
+ *
118
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
119
+ *
120
+ * @example
121
+ * const [copyMutation, { data, loading, error }] = useCopyMutation({
122
+ * variables: {
123
+ * value: // value for 'value'
124
+ * },
125
+ * });
126
+ */
127
+ function useCopyMutation(baseOptions) {
128
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
129
+ return Apollo.useMutation(exports.CopyDocument, options);
130
+ }
131
+ exports.useCopyMutation = useCopyMutation;
132
+ exports.RunMenuActionDocument = (0, client_1.gql) `
133
+ mutation RunMenuAction($argument: ContributionActionRunInput) {
134
+ runMenuAction(argument: $argument) @client
135
+ }
136
+ `;
137
+ /**
138
+ * __useRunMenuActionMutation__
139
+ *
140
+ * To run a mutation, you first call `useRunMenuActionMutation` within a React component and pass it any options that fit your needs.
141
+ * When your component renders, `useRunMenuActionMutation` returns a tuple that includes:
142
+ * - A mutate function that you can call at any time to execute the mutation
143
+ * - An object with fields that represent the current status of the mutation's execution
144
+ *
145
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
146
+ *
147
+ * @example
148
+ * const [runMenuActionMutation, { data, loading, error }] = useRunMenuActionMutation({
149
+ * variables: {
150
+ * argument: // value for 'argument'
151
+ * },
152
+ * });
153
+ */
154
+ function useRunMenuActionMutation(baseOptions) {
155
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
156
+ return Apollo.useMutation(exports.RunMenuActionDocument, options);
157
+ }
158
+ exports.useRunMenuActionMutation = useRunMenuActionMutation;
159
+ exports.HideContextMenuDocument = (0, client_1.gql) `
160
+ mutation HideContextMenu {
161
+ hideContextMenu @client
162
+ }
163
+ `;
164
+ /**
165
+ * __useHideContextMenuMutation__
166
+ *
167
+ * To run a mutation, you first call `useHideContextMenuMutation` within a React component and pass it any options that fit your needs.
168
+ * When your component renders, `useHideContextMenuMutation` returns a tuple that includes:
169
+ * - A mutate function that you can call at any time to execute the mutation
170
+ * - An object with fields that represent the current status of the mutation's execution
171
+ *
172
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
173
+ *
174
+ * @example
175
+ * const [hideContextMenuMutation, { data, loading, error }] = useHideContextMenuMutation({
176
+ * variables: {
177
+ * },
178
+ * });
179
+ */
180
+ function useHideContextMenuMutation(baseOptions) {
181
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
182
+ return Apollo.useMutation(exports.HideContextMenuDocument, options);
183
+ }
184
+ exports.useHideContextMenuMutation = useHideContextMenuMutation;
185
+ exports.ShowContextMenuDocument = (0, client_1.gql) `
186
+ mutation ShowContextMenu($delegate: ContextMenuInput) {
187
+ showContextMenu(delegate: $delegate) @client
188
+ }
189
+ `;
190
+ /**
191
+ * __useShowContextMenuMutation__
192
+ *
193
+ * To run a mutation, you first call `useShowContextMenuMutation` within a React component and pass it any options that fit your needs.
194
+ * When your component renders, `useShowContextMenuMutation` returns a tuple that includes:
195
+ * - A mutate function that you can call at any time to execute the mutation
196
+ * - An object with fields that represent the current status of the mutation's execution
197
+ *
198
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
199
+ *
200
+ * @example
201
+ * const [showContextMenuMutation, { data, loading, error }] = useShowContextMenuMutation({
202
+ * variables: {
203
+ * delegate: // value for 'delegate'
204
+ * },
205
+ * });
206
+ */
207
+ function useShowContextMenuMutation(baseOptions) {
208
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
209
+ return Apollo.useMutation(exports.ShowContextMenuDocument, options);
210
+ }
211
+ exports.useShowContextMenuMutation = useShowContextMenuMutation;
212
+ exports.InstallDocument = (0, client_1.gql) `
213
+ mutation install($vsix: String!) {
214
+ install(vsix: $vsix) {
215
+ id
216
+ uuid
217
+ }
218
+ }
219
+ `;
220
+ /**
221
+ * __useInstallMutation__
222
+ *
223
+ * To run a mutation, you first call `useInstallMutation` within a React component and pass it any options that fit your needs.
224
+ * When your component renders, `useInstallMutation` returns a tuple that includes:
225
+ * - A mutate function that you can call at any time to execute the mutation
226
+ * - An object with fields that represent the current status of the mutation's execution
227
+ *
228
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
229
+ *
230
+ * @example
231
+ * const [installMutation, { data, loading, error }] = useInstallMutation({
232
+ * variables: {
233
+ * vsix: // value for 'vsix'
234
+ * },
235
+ * });
236
+ */
237
+ function useInstallMutation(baseOptions) {
238
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
239
+ return Apollo.useMutation(exports.InstallDocument, options);
240
+ }
241
+ exports.useInstallMutation = useInstallMutation;
242
+ exports.ProviderDefinitionDocument = (0, client_1.gql) `
243
+ mutation providerDefinition($params: TextDocumentPositionParamsInput) {
244
+ hoverProviderDefinition(params: $params) @client
245
+ }
246
+ `;
247
+ /**
248
+ * __useProviderDefinitionMutation__
249
+ *
250
+ * To run a mutation, you first call `useProviderDefinitionMutation` within a React component and pass it any options that fit your needs.
251
+ * When your component renders, `useProviderDefinitionMutation` returns a tuple that includes:
252
+ * - A mutate function that you can call at any time to execute the mutation
253
+ * - An object with fields that represent the current status of the mutation's execution
254
+ *
255
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
256
+ *
257
+ * @example
258
+ * const [providerDefinitionMutation, { data, loading, error }] = useProviderDefinitionMutation({
259
+ * variables: {
260
+ * params: // value for 'params'
261
+ * },
262
+ * });
263
+ */
264
+ function useProviderDefinitionMutation(baseOptions) {
265
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
266
+ return Apollo.useMutation(exports.ProviderDefinitionDocument, options);
267
+ }
268
+ exports.useProviderDefinitionMutation = useProviderDefinitionMutation;
269
+ exports.RemoveDocument = (0, client_1.gql) `
270
+ mutation remove($id: String!) {
271
+ removeExtension(id: $id)
272
+ }
273
+ `;
274
+ /**
275
+ * __useRemoveMutation__
276
+ *
277
+ * To run a mutation, you first call `useRemoveMutation` within a React component and pass it any options that fit your needs.
278
+ * When your component renders, `useRemoveMutation` returns a tuple that includes:
279
+ * - A mutate function that you can call at any time to execute the mutation
280
+ * - An object with fields that represent the current status of the mutation's execution
281
+ *
282
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
283
+ *
284
+ * @example
285
+ * const [removeMutation, { data, loading, error }] = useRemoveMutation({
286
+ * variables: {
287
+ * id: // value for 'id'
288
+ * },
289
+ * });
290
+ */
291
+ function useRemoveMutation(baseOptions) {
292
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
293
+ return Apollo.useMutation(exports.RemoveDocument, options);
294
+ }
295
+ exports.useRemoveMutation = useRemoveMutation;
296
+ exports.ContextMenuDocument = (0, client_1.gql) `
297
+ query ContextMenu {
298
+ contextMenu @client {
299
+ id
300
+ isShow
301
+ anchor {
302
+ x
303
+ y
304
+ height
305
+ width
306
+ }
307
+ menuItems {
308
+ id
309
+ label
310
+ enabled
311
+ run {
312
+ type
313
+ document
314
+ variables
315
+ }
316
+ }
317
+ }
318
+ }
319
+ `;
320
+ /**
321
+ * __useContextMenuQuery__
322
+ *
323
+ * To run a query within a React component, call `useContextMenuQuery` and pass it any options that fit your needs.
324
+ * When your component renders, `useContextMenuQuery` returns an object from Apollo Client that contains loading, error, and data properties
325
+ * you can use to render your UI.
326
+ *
327
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
328
+ *
329
+ * @example
330
+ * const { data, loading, error } = useContextMenuQuery({
331
+ * variables: {
332
+ * },
333
+ * });
334
+ */
335
+ function useContextMenuQuery(baseOptions) {
336
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
337
+ return Apollo.useQuery(exports.ContextMenuDocument, options);
338
+ }
339
+ exports.useContextMenuQuery = useContextMenuQuery;
340
+ function useContextMenuLazyQuery(baseOptions) {
341
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
342
+ return Apollo.useLazyQuery(exports.ContextMenuDocument, options);
343
+ }
344
+ exports.useContextMenuLazyQuery = useContextMenuLazyQuery;
345
+ exports.GalleryExtensionDocument = (0, client_1.gql) `
346
+ query galleryExtension($extensionID: String!) {
347
+ galleryExtension(extensionID: $extensionID) {
348
+ id
349
+ name
350
+ icon
351
+ version
352
+ description
353
+ publisher
354
+ installCount
355
+ publisherDisplayName
356
+ rating
357
+ ratingCount
358
+ displayName
359
+ assets {
360
+ download {
361
+ uri
362
+ fallbackUri
363
+ }
364
+ }
365
+ resources {
366
+ icon
367
+ readme
368
+ manifest
369
+ changelog
370
+ }
371
+ }
372
+ }
373
+ `;
374
+ /**
375
+ * __useGalleryExtensionQuery__
376
+ *
377
+ * To run a query within a React component, call `useGalleryExtensionQuery` and pass it any options that fit your needs.
378
+ * When your component renders, `useGalleryExtensionQuery` returns an object from Apollo Client that contains loading, error, and data properties
379
+ * you can use to render your UI.
380
+ *
381
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
382
+ *
383
+ * @example
384
+ * const { data, loading, error } = useGalleryExtensionQuery({
385
+ * variables: {
386
+ * extensionID: // value for 'extensionID'
387
+ * },
388
+ * });
389
+ */
390
+ function useGalleryExtensionQuery(baseOptions) {
391
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
392
+ return Apollo.useQuery(exports.GalleryExtensionDocument, options);
393
+ }
394
+ exports.useGalleryExtensionQuery = useGalleryExtensionQuery;
395
+ function useGalleryExtensionLazyQuery(baseOptions) {
396
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
397
+ return Apollo.useLazyQuery(exports.GalleryExtensionDocument, options);
398
+ }
399
+ exports.useGalleryExtensionLazyQuery = useGalleryExtensionLazyQuery;
400
+ exports.ExtensionsByLimitDocument = (0, client_1.gql) `
401
+ query ExtensionsByLimit($first: Int!, $prioritizeExtensionIDs: [String!]!) {
402
+ extensions(first: $first, prioritizeExtensionIDs: $prioritizeExtensionIDs) {
403
+ nodes {
404
+ id
405
+ url
406
+ extensionID
407
+ viewerCanAdminister
408
+ manifest {
409
+ bundleURL
410
+ raw
411
+ name
412
+ activationEvents
413
+ }
414
+ }
415
+ }
416
+ }
417
+ `;
418
+ /**
419
+ * __useExtensionsByLimitQuery__
420
+ *
421
+ * To run a query within a React component, call `useExtensionsByLimitQuery` and pass it any options that fit your needs.
422
+ * When your component renders, `useExtensionsByLimitQuery` returns an object from Apollo Client that contains loading, error, and data properties
423
+ * you can use to render your UI.
424
+ *
425
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
426
+ *
427
+ * @example
428
+ * const { data, loading, error } = useExtensionsByLimitQuery({
429
+ * variables: {
430
+ * first: // value for 'first'
431
+ * prioritizeExtensionIDs: // value for 'prioritizeExtensionIDs'
432
+ * },
433
+ * });
434
+ */
435
+ function useExtensionsByLimitQuery(baseOptions) {
436
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
437
+ return Apollo.useQuery(exports.ExtensionsByLimitDocument, options);
438
+ }
439
+ exports.useExtensionsByLimitQuery = useExtensionsByLimitQuery;
440
+ function useExtensionsByLimitLazyQuery(baseOptions) {
441
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
442
+ return Apollo.useLazyQuery(exports.ExtensionsByLimitDocument, options);
443
+ }
444
+ exports.useExtensionsByLimitLazyQuery = useExtensionsByLimitLazyQuery;
445
+ exports.GalleryDocument = (0, client_1.gql) `
446
+ query gallery($query: GalleryQueryInput) {
447
+ gallery(query: $query) {
448
+ page
449
+ firstPage {
450
+ id
451
+ name
452
+ icon
453
+ version
454
+ description
455
+ publisher
456
+ installCount
457
+ publisherDisplayName
458
+ rating
459
+ ratingCount
460
+ displayName
461
+ assets {
462
+ download {
463
+ uri
464
+ fallbackUri
465
+ }
466
+ }
467
+ }
468
+ }
469
+ }
470
+ `;
471
+ /**
472
+ * __useGalleryQuery__
473
+ *
474
+ * To run a query within a React component, call `useGalleryQuery` and pass it any options that fit your needs.
475
+ * When your component renders, `useGalleryQuery` returns an object from Apollo Client that contains loading, error, and data properties
476
+ * you can use to render your UI.
477
+ *
478
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
479
+ *
480
+ * @example
481
+ * const { data, loading, error } = useGalleryQuery({
482
+ * variables: {
483
+ * query: // value for 'query'
484
+ * },
485
+ * });
486
+ */
487
+ function useGalleryQuery(baseOptions) {
488
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
489
+ return Apollo.useQuery(exports.GalleryDocument, options);
490
+ }
491
+ exports.useGalleryQuery = useGalleryQuery;
492
+ function useGalleryLazyQuery(baseOptions) {
493
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
494
+ return Apollo.useLazyQuery(exports.GalleryDocument, options);
495
+ }
496
+ exports.useGalleryLazyQuery = useGalleryLazyQuery;
497
+ exports.InstalledExtensionsDocument = (0, client_1.gql) `
498
+ query installedExtensions {
499
+ installed {
500
+ identifier {
501
+ id
502
+ uuid
503
+ }
504
+ galleryIdentifier {
505
+ id
506
+ uuid
507
+ }
508
+ extension {
509
+ name
510
+ id
511
+ icon
512
+ displayName
513
+ installCount
514
+ description
515
+ version
516
+ identifier {
517
+ id
518
+ uuid
519
+ }
520
+ publisherDisplayName
521
+ }
522
+ }
523
+ }
524
+ `;
525
+ /**
526
+ * __useInstalledExtensionsQuery__
527
+ *
528
+ * To run a query within a React component, call `useInstalledExtensionsQuery` and pass it any options that fit your needs.
529
+ * When your component renders, `useInstalledExtensionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
530
+ * you can use to render your UI.
531
+ *
532
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
533
+ *
534
+ * @example
535
+ * const { data, loading, error } = useInstalledExtensionsQuery({
536
+ * variables: {
537
+ * },
538
+ * });
539
+ */
540
+ function useInstalledExtensionsQuery(baseOptions) {
541
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
542
+ return Apollo.useQuery(exports.InstalledExtensionsDocument, options);
543
+ }
544
+ exports.useInstalledExtensionsQuery = useInstalledExtensionsQuery;
545
+ function useInstalledExtensionsLazyQuery(baseOptions) {
546
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
547
+ return Apollo.useLazyQuery(exports.InstalledExtensionsDocument, options);
548
+ }
549
+ exports.useInstalledExtensionsLazyQuery = useInstalledExtensionsLazyQuery;
550
+ exports.NotificationsDocument = (0, client_1.gql) `
551
+ query Notifications {
552
+ notifications @client {
553
+ notifications {
554
+ index
555
+ severity
556
+ message
557
+ actions {
558
+ primary {
559
+ id
560
+ label
561
+ tooltip
562
+ class
563
+ enabled
564
+ checked
565
+ radio
566
+ run {
567
+ type
568
+ document
569
+ variables
570
+ }
571
+ }
572
+ secondary {
573
+ id
574
+ label
575
+ tooltip
576
+ class
577
+ enabled
578
+ checked
579
+ radio
580
+ run {
581
+ type
582
+ document
583
+ variables
584
+ }
585
+ }
586
+ }
587
+ sticky
588
+ }
589
+ }
590
+ }
591
+ `;
592
+ /**
593
+ * __useNotificationsQuery__
594
+ *
595
+ * To run a query within a React component, call `useNotificationsQuery` and pass it any options that fit your needs.
596
+ * When your component renders, `useNotificationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
597
+ * you can use to render your UI.
598
+ *
599
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
600
+ *
601
+ * @example
602
+ * const { data, loading, error } = useNotificationsQuery({
603
+ * variables: {
604
+ * },
605
+ * });
606
+ */
607
+ function useNotificationsQuery(baseOptions) {
608
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
609
+ return Apollo.useQuery(exports.NotificationsDocument, options);
610
+ }
611
+ exports.useNotificationsQuery = useNotificationsQuery;
612
+ function useNotificationsLazyQuery(baseOptions) {
613
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
614
+ return Apollo.useLazyQuery(exports.NotificationsDocument, options);
615
+ }
616
+ exports.useNotificationsLazyQuery = useNotificationsLazyQuery;
617
+ exports.ShowNotificationDocument = (0, client_1.gql) `
618
+ query showNotification($notification: NotificationInput) {
619
+ showNotification(notification: $notification) @client
620
+ }
621
+ `;
622
+ /**
623
+ * __useShowNotificationQuery__
624
+ *
625
+ * To run a query within a React component, call `useShowNotificationQuery` and pass it any options that fit your needs.
626
+ * When your component renders, `useShowNotificationQuery` returns an object from Apollo Client that contains loading, error, and data properties
627
+ * you can use to render your UI.
628
+ *
629
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
630
+ *
631
+ * @example
632
+ * const { data, loading, error } = useShowNotificationQuery({
633
+ * variables: {
634
+ * notification: // value for 'notification'
635
+ * },
636
+ * });
637
+ */
638
+ function useShowNotificationQuery(baseOptions) {
639
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
640
+ return Apollo.useQuery(exports.ShowNotificationDocument, options);
641
+ }
642
+ exports.useShowNotificationQuery = useShowNotificationQuery;
643
+ function useShowNotificationLazyQuery(baseOptions) {
644
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
645
+ return Apollo.useLazyQuery(exports.ShowNotificationDocument, options);
646
+ }
647
+ exports.useShowNotificationLazyQuery = useShowNotificationLazyQuery;
648
+ //# sourceMappingURL=generated-models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-models.js","sourceRoot":"","sources":["../../src/interfaces/generated-models.ts"],"names":[],"mappings":";;;AAIA,2CAAqC;AACrC,yCAAyC;AAMzC,MAAM,cAAc,GAAI,EAAE,CAAA;AA2E1B,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;AAC7C,CAAC,EAFW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAElC;AA2KD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,6BAAS,CAAA;IACT,+BAAW,CAAA;IACX,mCAAe,CAAA;AACjB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AA4XD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,yCAAuB,CAAA;AACzB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AA0ND,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;AACf,CAAC,EAHW,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,CAAC;AAClI,CAAC;AAHT,0EAGS;AAII,QAAA,qBAAqB,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAyCnC,CAAC;AAEN;;;;;;;;;;;;;;GAcG;AACH,SAAgB,qBAAqB,CAAC,WAAwF;IACtH,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,QAAQ,CAAoD,6BAAqB,EAAE,OAAO,CAAC,CAAC;AAC5G,CAAC;AAHP,sDAGO;AACP,SAAgB,yBAAyB,CAAC,WAA4F;IAC5H,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,YAAY,CAAoD,6BAAqB,EAAE,OAAO,CAAC,CAAC;AAChH,CAAC;AAHT,8DAGS;AAII,QAAA,wBAAwB,GAAG,IAAA,YAAG,EAAA;;;;KAItC,CAAC;AAEN;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,WAA8F;IAC/H,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,QAAQ,CAA0D,gCAAwB,EAAE,OAAO,CAAC,CAAC;AACrH,CAAC;AAHP,4DAGO;AACP,SAAgB,4BAA4B,CAAC,WAAkG;IACrI,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,YAAY,CAA0D,gCAAwB,EAAE,OAAO,CAAC,CAAC;AACzH,CAAC;AAHT,oEAGS"}
@@ -0,0 +1,17 @@
1
+ export declare const graphQLContent: unique symbol;
2
+ import { ApolloQueryResult } from '@apollo/client';
3
+ export interface GraphQLDocument {
4
+ [graphQLContent]: string;
5
+ }
6
+ export interface SuccessGraphQLResult<T> {
7
+ data: T;
8
+ errors: undefined;
9
+ }
10
+ export interface ErrorGraphQLResult {
11
+ data: undefined;
12
+ errors: any; /** GQL.IGraphQLResponseError[]; */
13
+ }
14
+ export declare type GraphQLResult<T> = ApolloQueryResult<T>;
15
+ export interface GraphQLError extends Error {
16
+ queryName: string;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.graphQLContent = void 0;
4
+ exports.graphQLContent = Symbol('graphQLContent');
5
+ //# sourceMappingURL=graphql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/interfaces/graphql.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC"}