@burdenoff/microfe-eventfullymanaged 2026.510.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/README.md +22 -0
  2. package/dist/dev/main.d.ts +2 -0
  3. package/dist/dev/main.d.ts.map +1 -0
  4. package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts +4 -0
  5. package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts.map +1 -0
  6. package/dist/eventfullymanaged/EventfullyManagedRoot.js +73 -0
  7. package/dist/eventfullymanaged/EventfullyManagedRoot.js.map +1 -0
  8. package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts +2 -0
  9. package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts.map +1 -0
  10. package/dist/eventfullymanaged/EventfullyManagedRoutes.js +297 -0
  11. package/dist/eventfullymanaged/EventfullyManagedRoutes.js.map +1 -0
  12. package/dist/eventfullymanaged/api/eventApi.d.ts +657 -0
  13. package/dist/eventfullymanaged/api/eventApi.d.ts.map +1 -0
  14. package/dist/eventfullymanaged/api/eventApi.js +630 -0
  15. package/dist/eventfullymanaged/api/eventApi.js.map +1 -0
  16. package/dist/eventfullymanaged/components/PageLayout.d.ts +12 -0
  17. package/dist/eventfullymanaged/components/PageLayout.d.ts.map +1 -0
  18. package/dist/eventfullymanaged/components/PageLayout.js +53 -0
  19. package/dist/eventfullymanaged/components/PageLayout.js.map +1 -0
  20. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts +25 -0
  21. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts.map +1 -0
  22. package/dist/eventfullymanaged/context/EventfullyManagedContext.js +46 -0
  23. package/dist/eventfullymanaged/context/EventfullyManagedContext.js.map +1 -0
  24. package/dist/eventfullymanaged/hooks/index.d.ts +3 -0
  25. package/dist/eventfullymanaged/hooks/index.d.ts.map +1 -0
  26. package/dist/eventfullymanaged/index.d.ts +27 -0
  27. package/dist/eventfullymanaged/index.d.ts.map +1 -0
  28. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts +2 -0
  29. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts.map +1 -0
  30. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js +79 -0
  31. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js.map +1 -0
  32. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts +2 -0
  33. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts.map +1 -0
  34. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js +62 -0
  35. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js.map +1 -0
  36. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts +2 -0
  37. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts.map +1 -0
  38. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js +89 -0
  39. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js.map +1 -0
  40. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts +2 -0
  41. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts.map +1 -0
  42. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js +81 -0
  43. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js.map +1 -0
  44. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts +14 -0
  45. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts.map +1 -0
  46. package/dist/eventfullymanaged/pages/modules/EntityListSection.js +36 -0
  47. package/dist/eventfullymanaged/pages/modules/EntityListSection.js.map +1 -0
  48. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts +2 -0
  49. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts.map +1 -0
  50. package/dist/eventfullymanaged/pages/modules/EventsPage.js +91 -0
  51. package/dist/eventfullymanaged/pages/modules/EventsPage.js.map +1 -0
  52. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts +2 -0
  53. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts.map +1 -0
  54. package/dist/eventfullymanaged/pages/modules/KioskPage.js +52 -0
  55. package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -0
  56. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts +2 -0
  57. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts.map +1 -0
  58. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js +65 -0
  59. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js.map +1 -0
  60. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts +9 -0
  61. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts.map +1 -0
  62. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js +309 -0
  63. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js.map +1 -0
  64. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts +2 -0
  65. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts.map +1 -0
  66. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +73 -0
  67. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -0
  68. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts +2 -0
  69. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts.map +1 -0
  70. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +88 -0
  71. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -0
  72. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts +2 -0
  73. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts.map +1 -0
  74. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js +55 -0
  75. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js.map +1 -0
  76. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts +2 -0
  77. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts.map +1 -0
  78. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js +93 -0
  79. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js.map +1 -0
  80. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts +2 -0
  81. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts.map +1 -0
  82. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js +93 -0
  83. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js.map +1 -0
  84. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts +2 -0
  85. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts.map +1 -0
  86. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js +257 -0
  87. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js.map +1 -0
  88. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts +2 -0
  89. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts.map +1 -0
  90. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js +131 -0
  91. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js.map +1 -0
  92. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts +2 -0
  93. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts.map +1 -0
  94. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js +91 -0
  95. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js.map +1 -0
  96. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts +2 -0
  97. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts.map +1 -0
  98. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +142 -0
  99. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -0
  100. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts +2 -0
  101. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts.map +1 -0
  102. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js +250 -0
  103. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js.map +1 -0
  104. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts +2 -0
  105. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts.map +1 -0
  106. package/dist/eventfullymanaged/pages/venues/VenueListPage.js +94 -0
  107. package/dist/eventfullymanaged/pages/venues/VenueListPage.js.map +1 -0
  108. package/dist/eventfullymanaged/store/eventfullyManagedStore.d.ts +47 -0
  109. package/dist/eventfullymanaged/store/eventfullyManagedStore.d.ts.map +1 -0
  110. package/dist/eventfullymanaged/types/index.d.ts +3649 -0
  111. package/dist/eventfullymanaged/types/index.d.ts.map +1 -0
  112. package/dist/eventfullymanaged/utils/cn.d.ts +2 -0
  113. package/dist/eventfullymanaged/utils/cn.d.ts.map +1 -0
  114. package/dist/eventfullymanaged/utils/cn.js +2 -0
  115. package/dist/eventfullymanaged/utils/constants.d.ts +3 -0
  116. package/dist/eventfullymanaged/utils/constants.d.ts.map +1 -0
  117. package/dist/eventfullymanaged/utils/navigation.d.ts +2 -0
  118. package/dist/eventfullymanaged/utils/navigation.d.ts.map +1 -0
  119. package/dist/generated/global-operations.d.ts +2 -0
  120. package/dist/generated/global-operations.d.ts.map +1 -0
  121. package/dist/generated/global-types.d.ts +20716 -0
  122. package/dist/generated/global-types.d.ts.map +1 -0
  123. package/dist/generated/wspace-operations.d.ts +2 -0
  124. package/dist/generated/wspace-operations.d.ts.map +1 -0
  125. package/dist/generated/wspace-types.d.ts +53363 -0
  126. package/dist/generated/wspace-types.d.ts.map +1 -0
  127. package/dist/index.d.ts +8 -0
  128. package/dist/index.d.ts.map +1 -0
  129. package/dist/index.js +2 -0
  130. package/dist/node_modules/@apollo/client/core/networkStatus.js +9 -0
  131. package/dist/node_modules/@apollo/client/core/networkStatus.js.map +1 -0
  132. package/dist/node_modules/@apollo/client/react/context/ApolloContext.js +18 -0
  133. package/dist/node_modules/@apollo/client/react/context/ApolloContext.js.map +1 -0
  134. package/dist/node_modules/@apollo/client/react/hooks/constants.js +6 -0
  135. package/dist/node_modules/@apollo/client/react/hooks/constants.js.map +1 -0
  136. package/dist/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js +14 -0
  137. package/dist/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js.map +1 -0
  138. package/dist/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js +8 -0
  139. package/dist/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js.map +1 -0
  140. package/dist/node_modules/@apollo/client/react/hooks/internal/wrapHook.js +16 -0
  141. package/dist/node_modules/@apollo/client/react/hooks/internal/wrapHook.js.map +1 -0
  142. package/dist/node_modules/@apollo/client/react/hooks/useApolloClient.js +12 -0
  143. package/dist/node_modules/@apollo/client/react/hooks/useApolloClient.js.map +1 -0
  144. package/dist/node_modules/@apollo/client/react/hooks/useMutation.js +99 -0
  145. package/dist/node_modules/@apollo/client/react/hooks/useMutation.js.map +1 -0
  146. package/dist/node_modules/@apollo/client/react/hooks/useQuery.js +129 -0
  147. package/dist/node_modules/@apollo/client/react/hooks/useQuery.js.map +1 -0
  148. package/dist/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js +37 -0
  149. package/dist/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js.map +1 -0
  150. package/dist/node_modules/@apollo/client/react/internal/index.js +6 -0
  151. package/dist/node_modules/@apollo/client/react/internal/index.js.map +1 -0
  152. package/dist/node_modules/@apollo/client/utilities/internal/canUseDOM.js +7 -0
  153. package/dist/node_modules/@apollo/client/utilities/internal/canUseDOM.js.map +1 -0
  154. package/dist/node_modules/@apollo/client/utilities/internal/compact.js +14 -0
  155. package/dist/node_modules/@apollo/client/utilities/internal/compact.js.map +1 -0
  156. package/dist/node_modules/@apollo/client/utilities/internal/constants.js +6 -0
  157. package/dist/node_modules/@apollo/client/utilities/internal/constants.js.map +1 -0
  158. package/dist/node_modules/@apollo/client/utilities/internal/deepFreeze.js +17 -0
  159. package/dist/node_modules/@apollo/client/utilities/internal/deepFreeze.js.map +1 -0
  160. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +9 -0
  161. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
  162. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
  163. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
  164. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
  165. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
  166. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +10 -0
  167. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
  168. package/dist/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js +9 -0
  169. package/dist/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js.map +1 -0
  170. package/dist/node_modules/@apollo/client/utilities/internal/mergeOptions.js +12 -0
  171. package/dist/node_modules/@apollo/client/utilities/internal/mergeOptions.js.map +1 -0
  172. package/dist/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js +8 -0
  173. package/dist/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js.map +1 -0
  174. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +10 -0
  175. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
  176. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +57 -0
  177. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
  178. package/dist/node_modules/@apollo/client/version.js +6 -0
  179. package/dist/node_modules/@apollo/client/version.js.map +1 -0
  180. package/dist/node_modules/@wry/equality/lib/index.js +89 -0
  181. package/dist/node_modules/@wry/equality/lib/index.js.map +1 -0
  182. package/dist/node_modules/graphql/error/GraphQLError.js +65 -0
  183. package/dist/node_modules/graphql/error/GraphQLError.js.map +1 -0
  184. package/dist/node_modules/graphql/error/syntaxError.js +12 -0
  185. package/dist/node_modules/graphql/error/syntaxError.js.map +1 -0
  186. package/dist/node_modules/graphql/jsutils/devAssert.js +8 -0
  187. package/dist/node_modules/graphql/jsutils/devAssert.js.map +1 -0
  188. package/dist/node_modules/graphql/jsutils/inspect.js +49 -0
  189. package/dist/node_modules/graphql/jsutils/inspect.js.map +1 -0
  190. package/dist/node_modules/graphql/jsutils/instanceOf.js +29 -0
  191. package/dist/node_modules/graphql/jsutils/instanceOf.js.map +1 -0
  192. package/dist/node_modules/graphql/jsutils/invariant.js +8 -0
  193. package/dist/node_modules/graphql/jsutils/invariant.js.map +1 -0
  194. package/dist/node_modules/graphql/jsutils/isObjectLike.js +8 -0
  195. package/dist/node_modules/graphql/jsutils/isObjectLike.js.map +1 -0
  196. package/dist/node_modules/graphql/language/ast.js +201 -0
  197. package/dist/node_modules/graphql/language/ast.js.map +1 -0
  198. package/dist/node_modules/graphql/language/blockString.js +19 -0
  199. package/dist/node_modules/graphql/language/blockString.js.map +1 -0
  200. package/dist/node_modules/graphql/language/characterClasses.js +20 -0
  201. package/dist/node_modules/graphql/language/characterClasses.js.map +1 -0
  202. package/dist/node_modules/graphql/language/directiveLocation.js +9 -0
  203. package/dist/node_modules/graphql/language/directiveLocation.js.map +1 -0
  204. package/dist/node_modules/graphql/language/kinds.js +9 -0
  205. package/dist/node_modules/graphql/language/kinds.js.map +1 -0
  206. package/dist/node_modules/graphql/language/lexer.js +248 -0
  207. package/dist/node_modules/graphql/language/lexer.js.map +1 -0
  208. package/dist/node_modules/graphql/language/location.js +18 -0
  209. package/dist/node_modules/graphql/language/location.js.map +1 -0
  210. package/dist/node_modules/graphql/language/parser.js +688 -0
  211. package/dist/node_modules/graphql/language/parser.js.map +1 -0
  212. package/dist/node_modules/graphql/language/printLocation.js +32 -0
  213. package/dist/node_modules/graphql/language/printLocation.js.map +1 -0
  214. package/dist/node_modules/graphql/language/source.js +22 -0
  215. package/dist/node_modules/graphql/language/source.js.map +1 -0
  216. package/dist/node_modules/graphql/language/tokenKind.js +9 -0
  217. package/dist/node_modules/graphql/language/tokenKind.js.map +1 -0
  218. package/dist/node_modules/graphql-tag/lib/index.js +76 -0
  219. package/dist/node_modules/graphql-tag/lib/index.js.map +1 -0
  220. package/dist/node_modules/graphql-tag/node_modules/tslib/tslib.es6.js +11 -0
  221. package/dist/node_modules/graphql-tag/node_modules/tslib/tslib.es6.js.map +1 -0
  222. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +21 -0
  223. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
  224. package/dist/node_modules/rxjs/dist/esm5/internal/Scheduler.js +14 -0
  225. package/dist/node_modules/rxjs/dist/esm5/internal/Scheduler.js.map +1 -0
  226. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +117 -0
  227. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
  228. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +93 -0
  229. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
  230. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +12 -0
  231. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
  232. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +46 -0
  233. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js.map +1 -0
  234. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js +25 -0
  235. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js.map +1 -0
  236. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js +16 -0
  237. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js.map +1 -0
  238. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js +22 -0
  239. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js.map +1 -0
  240. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js +27 -0
  241. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js.map +1 -0
  242. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js +46 -0
  243. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js.map +1 -0
  244. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js +31 -0
  245. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js.map +1 -0
  246. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js +8 -0
  247. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js.map +1 -0
  248. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js +11 -0
  249. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js.map +1 -0
  250. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js +17 -0
  251. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js.map +1 -0
  252. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js +16 -0
  253. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js.map +1 -0
  254. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +16 -0
  255. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
  256. package/dist/node_modules/rxjs/dist/esm5/internal/util/Immediate.js +20 -0
  257. package/dist/node_modules/rxjs/dist/esm5/internal/util/Immediate.js.map +1 -0
  258. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +13 -0
  259. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
  260. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
  261. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
  262. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +11 -0
  263. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
  264. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +10 -0
  265. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
  266. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js +12 -0
  267. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js.map +1 -0
  268. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
  269. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
  270. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js +21 -0
  271. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js.map +1 -0
  272. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
  273. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
  274. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +14 -0
  275. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
  276. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +52 -0
  277. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
  278. package/package.json +97 -0
@@ -0,0 +1,18 @@
1
+ import { invariant as e } from "../jsutils/invariant.js";
2
+ //#region node_modules/graphql/language/location.mjs
3
+ var t = /\r\n|[\n\r]/g;
4
+ function n(n, r) {
5
+ let i = 0, a = 1;
6
+ for (let o of n.body.matchAll(t)) {
7
+ if (typeof o.index == "number" || e(!1), o.index >= r) break;
8
+ i = o.index + o[0].length, a += 1;
9
+ }
10
+ return {
11
+ line: a,
12
+ column: r + 1 - i
13
+ };
14
+ }
15
+ //#endregion
16
+ export { n as getLocation };
17
+
18
+ //# sourceMappingURL=location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"location.js","names":[],"sources":["../../../../node_modules/graphql/language/location.mjs"],"sourcesContent":["import { invariant } from '../jsutils/invariant.mjs';\nconst LineRegExp = /\\r\\n|[\\n\\r]/g;\n/**\n * Represents a location in a Source.\n */\n\n/**\n * Takes a Source and a UTF-8 character offset, and returns the corresponding\n * line and column as a SourceLocation.\n */\nexport function getLocation(source, position) {\n let lastLineStart = 0;\n let line = 1;\n\n for (const match of source.body.matchAll(LineRegExp)) {\n typeof match.index === 'number' || invariant(false);\n\n if (match.index >= position) {\n break;\n }\n\n lastLineStart = match.index + match[0].length;\n line += 1;\n }\n\n return {\n line,\n column: position + 1 - lastLineStart,\n };\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAM,IAAa;AASnB,SAAgB,EAAY,GAAQ,GAAU;CAC5C,IAAI,IAAgB,GAChB,IAAO;AAEX,MAAK,IAAM,KAAS,EAAO,KAAK,SAAS,EAAW,EAAE;AAGpD,MAFA,OAAO,EAAM,SAAU,YAAY,EAAU,GAAM,EAE/C,EAAM,SAAS,EACjB;AAIF,EADA,IAAgB,EAAM,QAAQ,EAAM,GAAG,QACvC,KAAQ;;AAGV,QAAO;EACL;EACA,QAAQ,IAAW,IAAI;EACxB"}
@@ -0,0 +1,688 @@
1
+ import { syntaxError as e } from "../error/syntaxError.js";
2
+ import { Location as t, OperationTypeNode as n } from "./ast.js";
3
+ import { DirectiveLocation as r } from "./directiveLocation.js";
4
+ import { Kind as i } from "./kinds.js";
5
+ import { TokenKind as a } from "./tokenKind.js";
6
+ import { Lexer as o, isPunctuatorTokenKind as s } from "./lexer.js";
7
+ import { Source as c, isSource as l } from "./source.js";
8
+ //#region node_modules/graphql/language/parser.mjs
9
+ function u(e, t) {
10
+ let n = new d(e, t), r = n.parseDocument();
11
+ return Object.defineProperty(r, "tokenCount", {
12
+ enumerable: !1,
13
+ value: n.tokenCount
14
+ }), r;
15
+ }
16
+ var d = class {
17
+ constructor(e, t = {}) {
18
+ let { lexer: n, ...r } = t;
19
+ n ? this._lexer = n : this._lexer = new o(l(e) ? e : new c(e)), this._options = r, this._tokenCounter = 0;
20
+ }
21
+ get tokenCount() {
22
+ return this._tokenCounter;
23
+ }
24
+ parseName() {
25
+ let e = this.expectToken(a.NAME);
26
+ return this.node(e, {
27
+ kind: i.NAME,
28
+ value: e.value
29
+ });
30
+ }
31
+ parseDocument() {
32
+ return this.node(this._lexer.token, {
33
+ kind: i.DOCUMENT,
34
+ definitions: this.many(a.SOF, this.parseDefinition, a.EOF)
35
+ });
36
+ }
37
+ parseDefinition() {
38
+ if (this.peek(a.BRACE_L)) return this.parseOperationDefinition();
39
+ let t = this.peekDescription(), n = t ? this._lexer.lookahead() : this._lexer.token;
40
+ if (t && n.kind === a.BRACE_L) throw e(this._lexer.source, this._lexer.token.start, "Unexpected description, descriptions are not supported on shorthand queries.");
41
+ if (n.kind === a.NAME) {
42
+ switch (n.value) {
43
+ case "schema": return this.parseSchemaDefinition();
44
+ case "scalar": return this.parseScalarTypeDefinition();
45
+ case "type": return this.parseObjectTypeDefinition();
46
+ case "interface": return this.parseInterfaceTypeDefinition();
47
+ case "union": return this.parseUnionTypeDefinition();
48
+ case "enum": return this.parseEnumTypeDefinition();
49
+ case "input": return this.parseInputObjectTypeDefinition();
50
+ case "directive": return this.parseDirectiveDefinition();
51
+ }
52
+ switch (n.value) {
53
+ case "query":
54
+ case "mutation":
55
+ case "subscription": return this.parseOperationDefinition();
56
+ case "fragment": return this.parseFragmentDefinition();
57
+ }
58
+ if (t) throw e(this._lexer.source, this._lexer.token.start, "Unexpected description, only GraphQL definitions support descriptions.");
59
+ switch (n.value) {
60
+ case "extend": return this.parseTypeSystemExtension();
61
+ }
62
+ }
63
+ throw this.unexpected(n);
64
+ }
65
+ parseOperationDefinition() {
66
+ let e = this._lexer.token;
67
+ if (this.peek(a.BRACE_L)) return this.node(e, {
68
+ kind: i.OPERATION_DEFINITION,
69
+ operation: n.QUERY,
70
+ description: void 0,
71
+ name: void 0,
72
+ variableDefinitions: [],
73
+ directives: [],
74
+ selectionSet: this.parseSelectionSet()
75
+ });
76
+ let t = this.parseDescription(), r = this.parseOperationType(), o;
77
+ return this.peek(a.NAME) && (o = this.parseName()), this.node(e, {
78
+ kind: i.OPERATION_DEFINITION,
79
+ operation: r,
80
+ description: t,
81
+ name: o,
82
+ variableDefinitions: this.parseVariableDefinitions(),
83
+ directives: this.parseDirectives(!1),
84
+ selectionSet: this.parseSelectionSet()
85
+ });
86
+ }
87
+ parseOperationType() {
88
+ let e = this.expectToken(a.NAME);
89
+ switch (e.value) {
90
+ case "query": return n.QUERY;
91
+ case "mutation": return n.MUTATION;
92
+ case "subscription": return n.SUBSCRIPTION;
93
+ }
94
+ throw this.unexpected(e);
95
+ }
96
+ parseVariableDefinitions() {
97
+ return this.optionalMany(a.PAREN_L, this.parseVariableDefinition, a.PAREN_R);
98
+ }
99
+ parseVariableDefinition() {
100
+ return this.node(this._lexer.token, {
101
+ kind: i.VARIABLE_DEFINITION,
102
+ description: this.parseDescription(),
103
+ variable: this.parseVariable(),
104
+ type: (this.expectToken(a.COLON), this.parseTypeReference()),
105
+ defaultValue: this.expectOptionalToken(a.EQUALS) ? this.parseConstValueLiteral() : void 0,
106
+ directives: this.parseConstDirectives()
107
+ });
108
+ }
109
+ parseVariable() {
110
+ let e = this._lexer.token;
111
+ return this.expectToken(a.DOLLAR), this.node(e, {
112
+ kind: i.VARIABLE,
113
+ name: this.parseName()
114
+ });
115
+ }
116
+ parseSelectionSet() {
117
+ return this.node(this._lexer.token, {
118
+ kind: i.SELECTION_SET,
119
+ selections: this.many(a.BRACE_L, this.parseSelection, a.BRACE_R)
120
+ });
121
+ }
122
+ parseSelection() {
123
+ return this.peek(a.SPREAD) ? this.parseFragment() : this.parseField();
124
+ }
125
+ parseField() {
126
+ let e = this._lexer.token, t = this.parseName(), n, r;
127
+ return this.expectOptionalToken(a.COLON) ? (n = t, r = this.parseName()) : r = t, this.node(e, {
128
+ kind: i.FIELD,
129
+ alias: n,
130
+ name: r,
131
+ arguments: this.parseArguments(!1),
132
+ directives: this.parseDirectives(!1),
133
+ selectionSet: this.peek(a.BRACE_L) ? this.parseSelectionSet() : void 0
134
+ });
135
+ }
136
+ parseArguments(e) {
137
+ let t = e ? this.parseConstArgument : this.parseArgument;
138
+ return this.optionalMany(a.PAREN_L, t, a.PAREN_R);
139
+ }
140
+ parseArgument(e = !1) {
141
+ let t = this._lexer.token, n = this.parseName();
142
+ return this.expectToken(a.COLON), this.node(t, {
143
+ kind: i.ARGUMENT,
144
+ name: n,
145
+ value: this.parseValueLiteral(e)
146
+ });
147
+ }
148
+ parseConstArgument() {
149
+ return this.parseArgument(!0);
150
+ }
151
+ parseFragment() {
152
+ let e = this._lexer.token;
153
+ this.expectToken(a.SPREAD);
154
+ let t = this.expectOptionalKeyword("on");
155
+ return !t && this.peek(a.NAME) ? this.node(e, {
156
+ kind: i.FRAGMENT_SPREAD,
157
+ name: this.parseFragmentName(),
158
+ directives: this.parseDirectives(!1)
159
+ }) : this.node(e, {
160
+ kind: i.INLINE_FRAGMENT,
161
+ typeCondition: t ? this.parseNamedType() : void 0,
162
+ directives: this.parseDirectives(!1),
163
+ selectionSet: this.parseSelectionSet()
164
+ });
165
+ }
166
+ parseFragmentDefinition() {
167
+ let e = this._lexer.token, t = this.parseDescription();
168
+ return this.expectKeyword("fragment"), this._options.allowLegacyFragmentVariables === !0 ? this.node(e, {
169
+ kind: i.FRAGMENT_DEFINITION,
170
+ description: t,
171
+ name: this.parseFragmentName(),
172
+ variableDefinitions: this.parseVariableDefinitions(),
173
+ typeCondition: (this.expectKeyword("on"), this.parseNamedType()),
174
+ directives: this.parseDirectives(!1),
175
+ selectionSet: this.parseSelectionSet()
176
+ }) : this.node(e, {
177
+ kind: i.FRAGMENT_DEFINITION,
178
+ description: t,
179
+ name: this.parseFragmentName(),
180
+ typeCondition: (this.expectKeyword("on"), this.parseNamedType()),
181
+ directives: this.parseDirectives(!1),
182
+ selectionSet: this.parseSelectionSet()
183
+ });
184
+ }
185
+ parseFragmentName() {
186
+ if (this._lexer.token.value === "on") throw this.unexpected();
187
+ return this.parseName();
188
+ }
189
+ parseValueLiteral(t) {
190
+ let n = this._lexer.token;
191
+ switch (n.kind) {
192
+ case a.BRACKET_L: return this.parseList(t);
193
+ case a.BRACE_L: return this.parseObject(t);
194
+ case a.INT: return this.advanceLexer(), this.node(n, {
195
+ kind: i.INT,
196
+ value: n.value
197
+ });
198
+ case a.FLOAT: return this.advanceLexer(), this.node(n, {
199
+ kind: i.FLOAT,
200
+ value: n.value
201
+ });
202
+ case a.STRING:
203
+ case a.BLOCK_STRING: return this.parseStringLiteral();
204
+ case a.NAME: switch (this.advanceLexer(), n.value) {
205
+ case "true": return this.node(n, {
206
+ kind: i.BOOLEAN,
207
+ value: !0
208
+ });
209
+ case "false": return this.node(n, {
210
+ kind: i.BOOLEAN,
211
+ value: !1
212
+ });
213
+ case "null": return this.node(n, { kind: i.NULL });
214
+ default: return this.node(n, {
215
+ kind: i.ENUM,
216
+ value: n.value
217
+ });
218
+ }
219
+ case a.DOLLAR:
220
+ if (t) if (this.expectToken(a.DOLLAR), this._lexer.token.kind === a.NAME) {
221
+ let t = this._lexer.token.value;
222
+ throw e(this._lexer.source, n.start, `Unexpected variable "$${t}" in constant value.`);
223
+ } else throw this.unexpected(n);
224
+ return this.parseVariable();
225
+ default: throw this.unexpected();
226
+ }
227
+ }
228
+ parseConstValueLiteral() {
229
+ return this.parseValueLiteral(!0);
230
+ }
231
+ parseStringLiteral() {
232
+ let e = this._lexer.token;
233
+ return this.advanceLexer(), this.node(e, {
234
+ kind: i.STRING,
235
+ value: e.value,
236
+ block: e.kind === a.BLOCK_STRING
237
+ });
238
+ }
239
+ parseList(e) {
240
+ return this.node(this._lexer.token, {
241
+ kind: i.LIST,
242
+ values: this.any(a.BRACKET_L, () => this.parseValueLiteral(e), a.BRACKET_R)
243
+ });
244
+ }
245
+ parseObject(e) {
246
+ return this.node(this._lexer.token, {
247
+ kind: i.OBJECT,
248
+ fields: this.any(a.BRACE_L, () => this.parseObjectField(e), a.BRACE_R)
249
+ });
250
+ }
251
+ parseObjectField(e) {
252
+ let t = this._lexer.token, n = this.parseName();
253
+ return this.expectToken(a.COLON), this.node(t, {
254
+ kind: i.OBJECT_FIELD,
255
+ name: n,
256
+ value: this.parseValueLiteral(e)
257
+ });
258
+ }
259
+ parseDirectives(e) {
260
+ let t = [];
261
+ for (; this.peek(a.AT);) t.push(this.parseDirective(e));
262
+ return t;
263
+ }
264
+ parseConstDirectives() {
265
+ return this.parseDirectives(!0);
266
+ }
267
+ parseDirective(e) {
268
+ let t = this._lexer.token;
269
+ return this.expectToken(a.AT), this.node(t, {
270
+ kind: i.DIRECTIVE,
271
+ name: this.parseName(),
272
+ arguments: this.parseArguments(e)
273
+ });
274
+ }
275
+ parseTypeReference() {
276
+ let e = this._lexer.token, t;
277
+ if (this.expectOptionalToken(a.BRACKET_L)) {
278
+ let n = this.parseTypeReference();
279
+ this.expectToken(a.BRACKET_R), t = this.node(e, {
280
+ kind: i.LIST_TYPE,
281
+ type: n
282
+ });
283
+ } else t = this.parseNamedType();
284
+ return this.expectOptionalToken(a.BANG) ? this.node(e, {
285
+ kind: i.NON_NULL_TYPE,
286
+ type: t
287
+ }) : t;
288
+ }
289
+ parseNamedType() {
290
+ return this.node(this._lexer.token, {
291
+ kind: i.NAMED_TYPE,
292
+ name: this.parseName()
293
+ });
294
+ }
295
+ peekDescription() {
296
+ return this.peek(a.STRING) || this.peek(a.BLOCK_STRING);
297
+ }
298
+ parseDescription() {
299
+ if (this.peekDescription()) return this.parseStringLiteral();
300
+ }
301
+ parseSchemaDefinition() {
302
+ let e = this._lexer.token, t = this.parseDescription();
303
+ this.expectKeyword("schema");
304
+ let n = this.parseConstDirectives(), r = this.many(a.BRACE_L, this.parseOperationTypeDefinition, a.BRACE_R);
305
+ return this.node(e, {
306
+ kind: i.SCHEMA_DEFINITION,
307
+ description: t,
308
+ directives: n,
309
+ operationTypes: r
310
+ });
311
+ }
312
+ parseOperationTypeDefinition() {
313
+ let e = this._lexer.token, t = this.parseOperationType();
314
+ this.expectToken(a.COLON);
315
+ let n = this.parseNamedType();
316
+ return this.node(e, {
317
+ kind: i.OPERATION_TYPE_DEFINITION,
318
+ operation: t,
319
+ type: n
320
+ });
321
+ }
322
+ parseScalarTypeDefinition() {
323
+ let e = this._lexer.token, t = this.parseDescription();
324
+ this.expectKeyword("scalar");
325
+ let n = this.parseName(), r = this.parseConstDirectives();
326
+ return this.node(e, {
327
+ kind: i.SCALAR_TYPE_DEFINITION,
328
+ description: t,
329
+ name: n,
330
+ directives: r
331
+ });
332
+ }
333
+ parseObjectTypeDefinition() {
334
+ let e = this._lexer.token, t = this.parseDescription();
335
+ this.expectKeyword("type");
336
+ let n = this.parseName(), r = this.parseImplementsInterfaces(), a = this.parseConstDirectives(), o = this.parseFieldsDefinition();
337
+ return this.node(e, {
338
+ kind: i.OBJECT_TYPE_DEFINITION,
339
+ description: t,
340
+ name: n,
341
+ interfaces: r,
342
+ directives: a,
343
+ fields: o
344
+ });
345
+ }
346
+ parseImplementsInterfaces() {
347
+ return this.expectOptionalKeyword("implements") ? this.delimitedMany(a.AMP, this.parseNamedType) : [];
348
+ }
349
+ parseFieldsDefinition() {
350
+ return this.optionalMany(a.BRACE_L, this.parseFieldDefinition, a.BRACE_R);
351
+ }
352
+ parseFieldDefinition() {
353
+ let e = this._lexer.token, t = this.parseDescription(), n = this.parseName(), r = this.parseArgumentDefs();
354
+ this.expectToken(a.COLON);
355
+ let o = this.parseTypeReference(), s = this.parseConstDirectives();
356
+ return this.node(e, {
357
+ kind: i.FIELD_DEFINITION,
358
+ description: t,
359
+ name: n,
360
+ arguments: r,
361
+ type: o,
362
+ directives: s
363
+ });
364
+ }
365
+ parseArgumentDefs() {
366
+ return this.optionalMany(a.PAREN_L, this.parseInputValueDef, a.PAREN_R);
367
+ }
368
+ parseInputValueDef() {
369
+ let e = this._lexer.token, t = this.parseDescription(), n = this.parseName();
370
+ this.expectToken(a.COLON);
371
+ let r = this.parseTypeReference(), o;
372
+ this.expectOptionalToken(a.EQUALS) && (o = this.parseConstValueLiteral());
373
+ let s = this.parseConstDirectives();
374
+ return this.node(e, {
375
+ kind: i.INPUT_VALUE_DEFINITION,
376
+ description: t,
377
+ name: n,
378
+ type: r,
379
+ defaultValue: o,
380
+ directives: s
381
+ });
382
+ }
383
+ parseInterfaceTypeDefinition() {
384
+ let e = this._lexer.token, t = this.parseDescription();
385
+ this.expectKeyword("interface");
386
+ let n = this.parseName(), r = this.parseImplementsInterfaces(), a = this.parseConstDirectives(), o = this.parseFieldsDefinition();
387
+ return this.node(e, {
388
+ kind: i.INTERFACE_TYPE_DEFINITION,
389
+ description: t,
390
+ name: n,
391
+ interfaces: r,
392
+ directives: a,
393
+ fields: o
394
+ });
395
+ }
396
+ parseUnionTypeDefinition() {
397
+ let e = this._lexer.token, t = this.parseDescription();
398
+ this.expectKeyword("union");
399
+ let n = this.parseName(), r = this.parseConstDirectives(), a = this.parseUnionMemberTypes();
400
+ return this.node(e, {
401
+ kind: i.UNION_TYPE_DEFINITION,
402
+ description: t,
403
+ name: n,
404
+ directives: r,
405
+ types: a
406
+ });
407
+ }
408
+ parseUnionMemberTypes() {
409
+ return this.expectOptionalToken(a.EQUALS) ? this.delimitedMany(a.PIPE, this.parseNamedType) : [];
410
+ }
411
+ parseEnumTypeDefinition() {
412
+ let e = this._lexer.token, t = this.parseDescription();
413
+ this.expectKeyword("enum");
414
+ let n = this.parseName(), r = this.parseConstDirectives(), a = this.parseEnumValuesDefinition();
415
+ return this.node(e, {
416
+ kind: i.ENUM_TYPE_DEFINITION,
417
+ description: t,
418
+ name: n,
419
+ directives: r,
420
+ values: a
421
+ });
422
+ }
423
+ parseEnumValuesDefinition() {
424
+ return this.optionalMany(a.BRACE_L, this.parseEnumValueDefinition, a.BRACE_R);
425
+ }
426
+ parseEnumValueDefinition() {
427
+ let e = this._lexer.token, t = this.parseDescription(), n = this.parseEnumValueName(), r = this.parseConstDirectives();
428
+ return this.node(e, {
429
+ kind: i.ENUM_VALUE_DEFINITION,
430
+ description: t,
431
+ name: n,
432
+ directives: r
433
+ });
434
+ }
435
+ parseEnumValueName() {
436
+ if (this._lexer.token.value === "true" || this._lexer.token.value === "false" || this._lexer.token.value === "null") throw e(this._lexer.source, this._lexer.token.start, `${f(this._lexer.token)} is reserved and cannot be used for an enum value.`);
437
+ return this.parseName();
438
+ }
439
+ parseInputObjectTypeDefinition() {
440
+ let e = this._lexer.token, t = this.parseDescription();
441
+ this.expectKeyword("input");
442
+ let n = this.parseName(), r = this.parseConstDirectives(), a = this.parseInputFieldsDefinition();
443
+ return this.node(e, {
444
+ kind: i.INPUT_OBJECT_TYPE_DEFINITION,
445
+ description: t,
446
+ name: n,
447
+ directives: r,
448
+ fields: a
449
+ });
450
+ }
451
+ parseInputFieldsDefinition() {
452
+ return this.optionalMany(a.BRACE_L, this.parseInputValueDef, a.BRACE_R);
453
+ }
454
+ parseTypeSystemExtension() {
455
+ let e = this._lexer.lookahead();
456
+ if (e.kind === a.NAME) switch (e.value) {
457
+ case "schema": return this.parseSchemaExtension();
458
+ case "scalar": return this.parseScalarTypeExtension();
459
+ case "type": return this.parseObjectTypeExtension();
460
+ case "interface": return this.parseInterfaceTypeExtension();
461
+ case "union": return this.parseUnionTypeExtension();
462
+ case "enum": return this.parseEnumTypeExtension();
463
+ case "input": return this.parseInputObjectTypeExtension();
464
+ case "directive":
465
+ if (this._options.experimentalDirectivesOnDirectiveDefinitions) return this.parseDirectiveDefinitionExtension();
466
+ break;
467
+ }
468
+ throw this.unexpected(e);
469
+ }
470
+ parseSchemaExtension() {
471
+ let e = this._lexer.token;
472
+ this.expectKeyword("extend"), this.expectKeyword("schema");
473
+ let t = this.parseConstDirectives(), n = this.optionalMany(a.BRACE_L, this.parseOperationTypeDefinition, a.BRACE_R);
474
+ if (t.length === 0 && n.length === 0) throw this.unexpected();
475
+ return this.node(e, {
476
+ kind: i.SCHEMA_EXTENSION,
477
+ directives: t,
478
+ operationTypes: n
479
+ });
480
+ }
481
+ parseScalarTypeExtension() {
482
+ let e = this._lexer.token;
483
+ this.expectKeyword("extend"), this.expectKeyword("scalar");
484
+ let t = this.parseName(), n = this.parseConstDirectives();
485
+ if (n.length === 0) throw this.unexpected();
486
+ return this.node(e, {
487
+ kind: i.SCALAR_TYPE_EXTENSION,
488
+ name: t,
489
+ directives: n
490
+ });
491
+ }
492
+ parseObjectTypeExtension() {
493
+ let e = this._lexer.token;
494
+ this.expectKeyword("extend"), this.expectKeyword("type");
495
+ let t = this.parseName(), n = this.parseImplementsInterfaces(), r = this.parseConstDirectives(), a = this.parseFieldsDefinition();
496
+ if (n.length === 0 && r.length === 0 && a.length === 0) throw this.unexpected();
497
+ return this.node(e, {
498
+ kind: i.OBJECT_TYPE_EXTENSION,
499
+ name: t,
500
+ interfaces: n,
501
+ directives: r,
502
+ fields: a
503
+ });
504
+ }
505
+ parseInterfaceTypeExtension() {
506
+ let e = this._lexer.token;
507
+ this.expectKeyword("extend"), this.expectKeyword("interface");
508
+ let t = this.parseName(), n = this.parseImplementsInterfaces(), r = this.parseConstDirectives(), a = this.parseFieldsDefinition();
509
+ if (n.length === 0 && r.length === 0 && a.length === 0) throw this.unexpected();
510
+ return this.node(e, {
511
+ kind: i.INTERFACE_TYPE_EXTENSION,
512
+ name: t,
513
+ interfaces: n,
514
+ directives: r,
515
+ fields: a
516
+ });
517
+ }
518
+ parseUnionTypeExtension() {
519
+ let e = this._lexer.token;
520
+ this.expectKeyword("extend"), this.expectKeyword("union");
521
+ let t = this.parseName(), n = this.parseConstDirectives(), r = this.parseUnionMemberTypes();
522
+ if (n.length === 0 && r.length === 0) throw this.unexpected();
523
+ return this.node(e, {
524
+ kind: i.UNION_TYPE_EXTENSION,
525
+ name: t,
526
+ directives: n,
527
+ types: r
528
+ });
529
+ }
530
+ parseEnumTypeExtension() {
531
+ let e = this._lexer.token;
532
+ this.expectKeyword("extend"), this.expectKeyword("enum");
533
+ let t = this.parseName(), n = this.parseConstDirectives(), r = this.parseEnumValuesDefinition();
534
+ if (n.length === 0 && r.length === 0) throw this.unexpected();
535
+ return this.node(e, {
536
+ kind: i.ENUM_TYPE_EXTENSION,
537
+ name: t,
538
+ directives: n,
539
+ values: r
540
+ });
541
+ }
542
+ parseInputObjectTypeExtension() {
543
+ let e = this._lexer.token;
544
+ this.expectKeyword("extend"), this.expectKeyword("input");
545
+ let t = this.parseName(), n = this.parseConstDirectives(), r = this.parseInputFieldsDefinition();
546
+ if (n.length === 0 && r.length === 0) throw this.unexpected();
547
+ return this.node(e, {
548
+ kind: i.INPUT_OBJECT_TYPE_EXTENSION,
549
+ name: t,
550
+ directives: n,
551
+ fields: r
552
+ });
553
+ }
554
+ parseDirectiveDefinitionExtension() {
555
+ let e = this._lexer.token;
556
+ this.expectKeyword("extend"), this.expectKeyword("directive"), this.expectToken(a.AT);
557
+ let t = this.parseName(), n = this.parseConstDirectives();
558
+ if (n.length === 0) throw this.unexpected();
559
+ return this.node(e, {
560
+ kind: i.DIRECTIVE_EXTENSION,
561
+ name: t,
562
+ directives: n
563
+ });
564
+ }
565
+ parseDirectiveDefinition() {
566
+ let e = this._lexer.token, t = this.parseDescription();
567
+ this.expectKeyword("directive"), this.expectToken(a.AT);
568
+ let n = this.parseName(), r = this.parseArgumentDefs(), o = this._options.experimentalDirectivesOnDirectiveDefinitions ? this.parseConstDirectives() : [], s = this.expectOptionalKeyword("repeatable");
569
+ this.expectKeyword("on");
570
+ let c = this.parseDirectiveLocations();
571
+ return this.node(e, {
572
+ kind: i.DIRECTIVE_DEFINITION,
573
+ description: t,
574
+ name: n,
575
+ arguments: r,
576
+ directives: o,
577
+ repeatable: s,
578
+ locations: c
579
+ });
580
+ }
581
+ parseDirectiveLocations() {
582
+ return this.delimitedMany(a.PIPE, this.parseDirectiveLocation);
583
+ }
584
+ parseDirectiveLocation() {
585
+ let e = this._lexer.token, t = this.parseName();
586
+ if (Object.prototype.hasOwnProperty.call(r, t.value)) return t;
587
+ throw this.unexpected(e);
588
+ }
589
+ parseSchemaCoordinate() {
590
+ let e = this._lexer.token, t = this.expectOptionalToken(a.AT), n = this.parseName(), r;
591
+ !t && this.expectOptionalToken(a.DOT) && (r = this.parseName());
592
+ let o;
593
+ return (t || r) && this.expectOptionalToken(a.PAREN_L) && (o = this.parseName(), this.expectToken(a.COLON), this.expectToken(a.PAREN_R)), t ? o ? this.node(e, {
594
+ kind: i.DIRECTIVE_ARGUMENT_COORDINATE,
595
+ name: n,
596
+ argumentName: o
597
+ }) : this.node(e, {
598
+ kind: i.DIRECTIVE_COORDINATE,
599
+ name: n
600
+ }) : r ? o ? this.node(e, {
601
+ kind: i.ARGUMENT_COORDINATE,
602
+ name: n,
603
+ fieldName: r,
604
+ argumentName: o
605
+ }) : this.node(e, {
606
+ kind: i.MEMBER_COORDINATE,
607
+ name: n,
608
+ memberName: r
609
+ }) : this.node(e, {
610
+ kind: i.TYPE_COORDINATE,
611
+ name: n
612
+ });
613
+ }
614
+ node(e, n) {
615
+ return this._options.noLocation !== !0 && (n.loc = new t(e, this._lexer.lastToken, this._lexer.source)), n;
616
+ }
617
+ peek(e) {
618
+ return this._lexer.token.kind === e;
619
+ }
620
+ expectToken(t) {
621
+ let n = this._lexer.token;
622
+ if (n.kind === t) return this.advanceLexer(), n;
623
+ throw e(this._lexer.source, n.start, `Expected ${p(t)}, found ${f(n)}.`);
624
+ }
625
+ expectOptionalToken(e) {
626
+ return this._lexer.token.kind === e ? (this.advanceLexer(), !0) : !1;
627
+ }
628
+ expectKeyword(t) {
629
+ let n = this._lexer.token;
630
+ if (n.kind === a.NAME && n.value === t) this.advanceLexer();
631
+ else throw e(this._lexer.source, n.start, `Expected "${t}", found ${f(n)}.`);
632
+ }
633
+ expectOptionalKeyword(e) {
634
+ let t = this._lexer.token;
635
+ return t.kind === a.NAME && t.value === e ? (this.advanceLexer(), !0) : !1;
636
+ }
637
+ unexpected(t) {
638
+ let n = t ?? this._lexer.token;
639
+ return e(this._lexer.source, n.start, `Unexpected ${f(n)}.`);
640
+ }
641
+ any(e, t, n) {
642
+ this.expectToken(e);
643
+ let r = [];
644
+ for (; !this.expectOptionalToken(n);) r.push(t.call(this));
645
+ return r;
646
+ }
647
+ optionalMany(e, t, n) {
648
+ if (this.expectOptionalToken(e)) {
649
+ let e = [];
650
+ do
651
+ e.push(t.call(this));
652
+ while (!this.expectOptionalToken(n));
653
+ return e;
654
+ }
655
+ return [];
656
+ }
657
+ many(e, t, n) {
658
+ this.expectToken(e);
659
+ let r = [];
660
+ do
661
+ r.push(t.call(this));
662
+ while (!this.expectOptionalToken(n));
663
+ return r;
664
+ }
665
+ delimitedMany(e, t) {
666
+ this.expectOptionalToken(e);
667
+ let n = [];
668
+ do
669
+ n.push(t.call(this));
670
+ while (this.expectOptionalToken(e));
671
+ return n;
672
+ }
673
+ advanceLexer() {
674
+ let { maxTokens: t } = this._options, n = this._lexer.advance();
675
+ if (n.kind !== a.EOF && (++this._tokenCounter, t !== void 0 && this._tokenCounter > t)) throw e(this._lexer.source, n.start, `Document contains more that ${t} tokens. Parsing aborted.`);
676
+ }
677
+ };
678
+ function f(e) {
679
+ let t = e.value;
680
+ return p(e.kind) + (t == null ? "" : ` "${t}"`);
681
+ }
682
+ function p(e) {
683
+ return s(e) ? `"${e}"` : e;
684
+ }
685
+ //#endregion
686
+ export { u as parse };
687
+
688
+ //# sourceMappingURL=parser.js.map