@plitzi/sdk-shared 0.32.25 → 0.33.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 (244) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/auth/authFailureLink.d.ts +9 -0
  3. package/dist/auth/authFailureLink.mjs +20 -0
  4. package/dist/auth/failureChannel.d.ts +31 -0
  5. package/dist/auth/failureChannel.mjs +26 -0
  6. package/dist/auth/index.d.ts +3 -0
  7. package/dist/auth/index.mjs +3 -0
  8. package/dist/connectors/constants.d.ts +28 -0
  9. package/dist/connectors/constants.mjs +29 -0
  10. package/dist/connectors/index.d.ts +7 -0
  11. package/dist/connectors/index.mjs +5 -0
  12. package/dist/connectors/manifestTokens.d.ts +17 -0
  13. package/dist/connectors/manifestTokens.mjs +70 -0
  14. package/dist/connectors/presets.d.ts +22 -0
  15. package/dist/connectors/presets.mjs +220 -0
  16. package/dist/connectors/validateManifest.d.ts +28 -0
  17. package/dist/connectors/validateManifest.mjs +183 -0
  18. package/dist/dataSource/getBindingsDetails.mjs +1 -1
  19. package/dist/hooks/useNetwork.mjs +32 -26
  20. package/dist/hooks/usePlitziServiceContext.d.ts +1 -3
  21. package/dist/index.d.ts +2 -1
  22. package/dist/index.mjs +47 -40
  23. package/dist/navigation/index.d.ts +4 -0
  24. package/dist/navigation/index.mjs +3 -0
  25. package/dist/navigation/matchPath.d.ts +12 -0
  26. package/dist/navigation/matchPath.mjs +42 -0
  27. package/dist/navigation/routes.d.ts +28 -0
  28. package/dist/navigation/routes.mjs +124 -0
  29. package/dist/network/NetworkContext.d.ts +5 -3
  30. package/dist/network/NetworkInternalContext.d.ts +1 -2
  31. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation.d.ts +8 -0
  32. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation.mjs +16 -0
  33. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceRemoveConnectorMutation.d.ts +8 -0
  34. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceRemoveConnectorMutation.mjs +12 -0
  35. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceUpdateConnectorMutation.d.ts +8 -0
  36. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceUpdateConnectorMutation.mjs +16 -0
  37. package/dist/network/graphql/builder/Mutations/index.d.ts +9 -18
  38. package/dist/network/graphql/builder/Mutations/index.mjs +150 -156
  39. package/dist/network/graphql/builder/Queries/InitQuery.d.ts +1 -4
  40. package/dist/network/graphql/builder/Queries/InitQuery.mjs +2 -33
  41. package/dist/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.d.ts +9 -0
  42. package/dist/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.mjs +25 -0
  43. package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs +1 -0
  44. package/dist/network/graphql/builder/Queries/index.d.ts +3 -12
  45. package/dist/network/graphql/builder/Queries/index.mjs +22 -28
  46. package/dist/network/graphql/builder/Subscriptions/SpaceEventSubscription.d.ts +19 -0
  47. package/dist/network/graphql/builder/Subscriptions/SpaceEventSubscription.mjs +12 -0
  48. package/dist/network/graphql/builder/Subscriptions/index.d.ts +4 -163
  49. package/dist/network/graphql/builder/Subscriptions/index.mjs +3 -109
  50. package/dist/network/graphql/builder/index.d.ts +2 -2
  51. package/dist/network/graphql/builder/index.mjs +1 -1
  52. package/dist/network/graphql/index.mjs +1 -1
  53. package/dist/network/graphql/sdk/Mutations/index.d.ts +2 -13
  54. package/dist/network/graphql/sdk/Mutations/index.mjs +2 -9
  55. package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +1 -4
  56. package/dist/network/graphql/sdk/Queries/InitQuery.mjs +1 -13
  57. package/dist/network/graphql/sdk/Queries/index.d.ts +0 -12
  58. package/dist/network/graphql/sdk/Queries/index.mjs +8 -16
  59. package/dist/network/index.d.ts +3 -1
  60. package/dist/network/index.mjs +7 -6
  61. package/dist/network/spaceEvents.d.ts +405 -0
  62. package/dist/network/spaceEvents.mjs +244 -0
  63. package/dist/server/index.d.ts +5 -5
  64. package/dist/server/index.mjs +4 -3
  65. package/dist/server/rsc/refreshRsc.d.ts +16 -0
  66. package/dist/server/rsc/refreshRsc.mjs +16 -0
  67. package/dist/server/rsc/useRscRefresh.d.ts +2 -0
  68. package/dist/server/rsc/useRscRefresh.mjs +10 -0
  69. package/dist/server/rsc/useRscSync.d.ts +11 -0
  70. package/dist/server/rsc/useRscSync.mjs +20 -0
  71. package/dist/store/index.d.ts +54 -53
  72. package/dist/store/index.mjs +4 -3
  73. package/dist/store/renderSettings.d.ts +26 -0
  74. package/dist/store/renderSettings.mjs +39 -0
  75. package/dist/types/AuthTypes.d.ts +33 -3
  76. package/dist/types/BuilderTypes.d.ts +15 -0
  77. package/dist/types/CollectionTypes.d.ts +3 -49
  78. package/dist/types/CommonTypes.d.ts +17 -2
  79. package/dist/types/ConnectorTypes.d.ts +147 -0
  80. package/dist/types/ConnectorTypes.mjs +0 -0
  81. package/dist/types/DevToolsTypes.d.ts +18 -3
  82. package/dist/types/InteractionTypes.d.ts +1 -1
  83. package/dist/types/McpTypes/index.d.ts +0 -4
  84. package/dist/types/NavigationTypes.d.ts +0 -10
  85. package/dist/types/SchemaTypes.d.ts +27 -5
  86. package/dist/types/SdkTypes.d.ts +19 -2
  87. package/dist/types/ServerTypes.d.ts +296 -103
  88. package/dist/types/SpaceTypes.d.ts +17 -1
  89. package/dist/types/StoreTypes.d.ts +36 -0
  90. package/dist/types/index.d.ts +1 -0
  91. package/dist/websockets/RTCodec.d.ts +6 -0
  92. package/package.json +108 -309
  93. package/vite.config.ts +21 -1
  94. package/dist/collections/CollectionContext.d.ts +0 -2
  95. package/dist/collections/CollectionContext.mjs +0 -5
  96. package/dist/collections/index.d.ts +0 -3
  97. package/dist/collections/index.mjs +0 -2
  98. package/dist/network/graphql/builder/Mutations/Collection/CollectionAddMutation.d.ts +0 -4
  99. package/dist/network/graphql/builder/Mutations/Collection/CollectionAddMutation.mjs +0 -24
  100. package/dist/network/graphql/builder/Mutations/Collection/CollectionAddRecordMutation.d.ts +0 -4
  101. package/dist/network/graphql/builder/Mutations/Collection/CollectionAddRecordMutation.mjs +0 -16
  102. package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveMutation.d.ts +0 -4
  103. package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveMutation.mjs +0 -17
  104. package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveRecordMutation.d.ts +0 -4
  105. package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveRecordMutation.mjs +0 -14
  106. package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateMutation.d.ts +0 -4
  107. package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateMutation.mjs +0 -32
  108. package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateRecordMutation.d.ts +0 -4
  109. package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateRecordMutation.mjs +0 -16
  110. package/dist/network/graphql/builder/Queries/Collection/CollectionQuery.d.ts +0 -6
  111. package/dist/network/graphql/builder/Queries/Collection/CollectionQuery.mjs +0 -35
  112. package/dist/network/graphql/builder/Queries/Collection/CollectionRecordQuery.d.ts +0 -6
  113. package/dist/network/graphql/builder/Queries/Collection/CollectionRecordQuery.mjs +0 -16
  114. package/dist/network/graphql/builder/Queries/Collection/CollectionRecordsQuery.d.ts +0 -9
  115. package/dist/network/graphql/builder/Queries/Collection/CollectionRecordsQuery.mjs +0 -27
  116. package/dist/network/graphql/builder/Queries/Collection/CollectionsQuery.d.ts +0 -9
  117. package/dist/network/graphql/builder/Queries/Collection/CollectionsQuery.mjs +0 -37
  118. package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorConnectedSubscription.d.ts +0 -11
  119. package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorConnectedSubscription.mjs +0 -17
  120. package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorDisconnectedSubscription.d.ts +0 -11
  121. package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorDisconnectedSubscription.mjs +0 -17
  122. package/dist/network/graphql/builder/Subscriptions/Segment/SegmentAddTemplateSubscription.d.ts +0 -2
  123. package/dist/network/graphql/builder/Subscriptions/Segment/SegmentAddTemplateSubscription.mjs +0 -41
  124. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentAddElementSubscription.d.ts +0 -11
  125. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentAddElementSubscription.mjs +0 -40
  126. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentCloneElementSubscription.d.ts +0 -10
  127. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentCloneElementSubscription.mjs +0 -30
  128. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentMoveElementSubscription.d.ts +0 -10
  129. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentMoveElementSubscription.mjs +0 -15
  130. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentRemoveElementSubscription.d.ts +0 -6
  131. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentRemoveElementSubscription.mjs +0 -12
  132. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementSubscription.d.ts +0 -11
  133. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementSubscription.mjs +0 -27
  134. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementsSubscription.d.ts +0 -7
  135. package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementsSubscription.mjs +0 -27
  136. package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceAddVariableSubscription.d.ts +0 -7
  137. package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceAddVariableSubscription.mjs +0 -21
  138. package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceRemoveVariableSubscription.d.ts +0 -7
  139. package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceRemoveVariableSubscription.mjs +0 -14
  140. package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceUpdateVariableSubscription.d.ts +0 -7
  141. package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceUpdateVariableSubscription.mjs +0 -21
  142. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableSubscription.d.ts +0 -11
  143. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableSubscription.mjs +0 -16
  144. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableSubscription.d.ts +0 -10
  145. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableSubscription.mjs +0 -15
  146. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableSubscription.d.ts +0 -11
  147. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableSubscription.mjs +0 -16
  148. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleAddSelectorSubscription.d.ts +0 -17
  149. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleAddSelectorSubscription.mjs +0 -17
  150. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorSubscription.d.ts +0 -8
  151. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorSubscription.mjs +0 -13
  152. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorsSubscription.d.ts +0 -8
  153. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorsSubscription.mjs +0 -13
  154. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleUpdateSelectorSubscription.d.ts +0 -16
  155. package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleUpdateSelectorSubscription.mjs +0 -17
  156. package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleAddVariableSubscription.d.ts +0 -9
  157. package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleAddVariableSubscription.mjs +0 -14
  158. package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleRemoveVariableSubscription.d.ts +0 -8
  159. package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleRemoveVariableSubscription.mjs +0 -13
  160. package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleUpdateVariableSubscription.d.ts +0 -9
  161. package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleUpdateVariableSubscription.mjs +0 -14
  162. package/dist/network/graphql/builder/Subscriptions/Space/SpaceAddTemplateSubscription.d.ts +0 -11
  163. package/dist/network/graphql/builder/Subscriptions/Space/SpaceAddTemplateSubscription.mjs +0 -40
  164. package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdateSettingsSubscription.d.ts +0 -6
  165. package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdateSettingsSubscription.mjs +0 -12
  166. package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdatedSubscription.d.ts +0 -6
  167. package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdatedSubscription.mjs +0 -29
  168. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceAddElementSubscription.d.ts +0 -10
  169. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceAddElementSubscription.mjs +0 -39
  170. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceCloneElementSubscription.d.ts +0 -9
  171. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceCloneElementSubscription.mjs +0 -29
  172. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceMoveElementSubscription.d.ts +0 -9
  173. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceMoveElementSubscription.mjs +0 -14
  174. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceRemoveElementSubscription.d.ts +0 -5
  175. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceRemoveElementSubscription.mjs +0 -11
  176. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementSubscription.d.ts +0 -6
  177. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementSubscription.mjs +0 -26
  178. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementsSubscription.d.ts +0 -6
  179. package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementsSubscription.mjs +0 -26
  180. package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceAddPageFolderSubscription.d.ts +0 -6
  181. package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceAddPageFolderSubscription.mjs +0 -16
  182. package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceRemovePageFolderSubscription.d.ts +0 -5
  183. package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceRemovePageFolderSubscription.mjs +0 -11
  184. package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceUpdatePageFolderSubscription.d.ts +0 -6
  185. package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceUpdatePageFolderSubscription.mjs +0 -16
  186. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceAddPageSubscription.d.ts +0 -6
  187. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceAddPageSubscription.mjs +0 -26
  188. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceHomePageSubscription.d.ts +0 -6
  189. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceHomePageSubscription.mjs +0 -26
  190. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceRemovePageSubscription.d.ts +0 -5
  191. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceRemovePageSubscription.mjs +0 -11
  192. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceUpdatePageSubscription.d.ts +0 -6
  193. package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceUpdatePageSubscription.mjs +0 -26
  194. package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceAddVariableSubscription.d.ts +0 -6
  195. package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceAddVariableSubscription.mjs +0 -20
  196. package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceRemoveVariableSubscription.d.ts +0 -5
  197. package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceRemoveVariableSubscription.mjs +0 -11
  198. package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceUpdateVariableSubscription.d.ts +0 -6
  199. package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceUpdateVariableSubscription.mjs +0 -20
  200. package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdateSettingsSubscription.d.ts +0 -6
  201. package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdateSettingsSubscription.mjs +0 -12
  202. package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdatedSubscription.d.ts +0 -4
  203. package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdatedSubscription.mjs +0 -13
  204. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleAddSelectorSubscription.d.ts +0 -16
  205. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleAddSelectorSubscription.mjs +0 -16
  206. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorSubscription.d.ts +0 -7
  207. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorSubscription.mjs +0 -12
  208. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorsSubscription.d.ts +0 -7
  209. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorsSubscription.mjs +0 -12
  210. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleUpdateSelectorSubscription.d.ts +0 -15
  211. package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleUpdateSelectorSubscription.mjs +0 -16
  212. package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleAddSelectorVariableSubscription.d.ts +0 -10
  213. package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleAddSelectorVariableSubscription.mjs +0 -15
  214. package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleRemoveSelectorVariableSubscription.d.ts +0 -9
  215. package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleRemoveSelectorVariableSubscription.mjs +0 -14
  216. package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleUpdateSelectorVariableSubscription.d.ts +0 -10
  217. package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleUpdateSelectorVariableSubscription.mjs +0 -15
  218. package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleAddVariableSubscription.d.ts +0 -8
  219. package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleAddVariableSubscription.mjs +0 -13
  220. package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleRemoveVariableSubscription.d.ts +0 -7
  221. package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleRemoveVariableSubscription.mjs +0 -12
  222. package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleUpdateVariableSubscription.d.ts +0 -8
  223. package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleUpdateVariableSubscription.mjs +0 -13
  224. package/dist/network/graphql/sdk/Mutations/Collection/CollectionAddMutation.d.ts +0 -2
  225. package/dist/network/graphql/sdk/Mutations/Collection/CollectionAddRecordMutation.d.ts +0 -4
  226. package/dist/network/graphql/sdk/Mutations/Collection/CollectionAddRecordMutation.mjs +0 -16
  227. package/dist/network/graphql/sdk/Mutations/Collection/CollectionRemoveMutation.d.ts +0 -2
  228. package/dist/network/graphql/sdk/Mutations/Collection/CollectionRemoveRecordMutation.d.ts +0 -4
  229. package/dist/network/graphql/sdk/Mutations/Collection/CollectionRemoveRecordMutation.mjs +0 -14
  230. package/dist/network/graphql/sdk/Mutations/Collection/CollectionUpdateMutation.d.ts +0 -2
  231. package/dist/network/graphql/sdk/Mutations/Collection/CollectionUpdateRecordMutation.d.ts +0 -4
  232. package/dist/network/graphql/sdk/Mutations/Collection/CollectionUpdateRecordMutation.mjs +0 -16
  233. package/dist/network/graphql/sdk/Queries/Collection/CollectionQuery.d.ts +0 -6
  234. package/dist/network/graphql/sdk/Queries/Collection/CollectionQuery.mjs +0 -32
  235. package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordQuery.d.ts +0 -6
  236. package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordQuery.mjs +0 -14
  237. package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordsQuery.d.ts +0 -9
  238. package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordsQuery.mjs +0 -25
  239. package/dist/network/graphql/sdk/Queries/Collection/CollectionsQuery.d.ts +0 -9
  240. package/dist/network/graphql/sdk/Queries/Collection/CollectionsQuery.mjs +0 -25
  241. package/dist/server/rsc/RscContext.d.ts +0 -13
  242. package/dist/server/rsc/RscContext.mjs +0 -5
  243. package/dist/server/rsc/RscProvider.d.ts +0 -13
  244. package/dist/server/rsc/RscProvider.mjs +0 -42
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @plitzi/sdk-shared
2
2
 
3
+ ## 0.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - v0.33.0
8
+
3
9
  ## 0.32.25
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,9 @@
1
+ import { ErrorLink } from '@apollo/client/link/error';
2
+ /**
3
+ * Turns a GraphQL transport refusal into a session signal. A session dies at the server — revoked from another
4
+ * device, an account deactivated — and the client finds out from whichever request happens to be refused next. This
5
+ * is what makes that request count for something instead of surfacing as one failed query.
6
+ *
7
+ * Only transport-level refusals are read: a GraphQL error inside a 200 is the schema's business, not the session's.
8
+ */
9
+ export declare const createAuthFailureLink: (uri?: string) => ErrorLink;
@@ -0,0 +1,20 @@
1
+ import { authFailureFromResponse as e, reportAuthFailure as t } from "./failureChannel.mjs";
2
+ import { ServerError as n } from "@apollo/client";
3
+ import { ErrorLink as r } from "@apollo/client/link/error";
4
+ //#region src/auth/authFailureLink.ts
5
+ var i = (e) => {
6
+ try {
7
+ return JSON.parse(e);
8
+ } catch {
9
+ return;
10
+ }
11
+ }, a = (a) => new r(({ error: r }) => {
12
+ if (!n.is(r)) return;
13
+ let o = e(r.statusCode, i(r.bodyText));
14
+ o && t({
15
+ reason: o,
16
+ url: a
17
+ });
18
+ });
19
+ //#endregion
20
+ export { a as createAuthFailureLink };
@@ -0,0 +1,31 @@
1
+ import { AuthFailureReason } from '../types';
2
+ export type AuthFailureSignal = {
3
+ reason: AuthFailureReason;
4
+ /** The request that was refused. Auth listens only to refusals from its own backend — see `sameRegistrableDomain`. */
5
+ url?: string;
6
+ };
7
+ export type AuthFailureListener = (signal: AuthFailureSignal) => void;
8
+ /**
9
+ * Says that a backend refused a credential. A session can end between two checks — revoked from another device, an
10
+ * account deactivated — and the first thing that notices is whatever request got refused, not a timer. Reporting it
11
+ * here is how the network layers tell auth that reality moved on, without either knowing about the other.
12
+ */
13
+ export declare const reportAuthFailure: (signal: AuthFailureSignal) => void;
14
+ export declare const onAuthFailure: (listener: AuthFailureListener) => (() => void);
15
+ /**
16
+ * What an HTTP refusal means for the session. Stated once, because the provider and the network layers must not
17
+ * disagree about which refusals are renewable.
18
+ *
19
+ * A backend that names the reason (Plitzi's API answers `reason` on every 401) is believed. One that says nothing
20
+ * gets the benefit of the doubt — an unexplained 401 is treated as renewable, so a stale access token costs one
21
+ * refused renewal instead of signing out a session that was still good. Nothing below 401 or above 499 is an answer
22
+ * about the session at all: a 5xx means the backend failed, not that the caller is a stranger.
23
+ */
24
+ export declare const authFailureFromResponse: (status: number, body?: unknown) => AuthFailureReason | undefined;
25
+ /**
26
+ * Whether two URLs belong to the same site, by registrable domain rather than exact origin: a deployment spreads one
27
+ * auth universe over several hosts (`api.example.com`, `server.example.com`), and a refusal from any of them is about
28
+ * the same session. Across sites it is the opposite — a space that authenticates against its owner's backend must not
29
+ * lose its session because Plitzi's API refused something.
30
+ */
31
+ export declare const sameRegistrableDomain: (a?: string, b?: string) => boolean;
@@ -0,0 +1,26 @@
1
+ //#region src/auth/failureChannel.ts
2
+ var e = /* @__PURE__ */ new Set(), t = (t) => {
3
+ for (let n of e) n(t);
4
+ }, n = (t) => (e.add(t), () => e.delete(t)), r = [
5
+ "missing",
6
+ "expired",
7
+ "revoked",
8
+ "inactive",
9
+ "malformed",
10
+ "outdated",
11
+ "network"
12
+ ], i = (e, t) => {
13
+ if (e < 400 || e >= 500 || e !== 401 && e !== 403) return;
14
+ let n = t?.reason;
15
+ return typeof n == "string" && r.includes(n) ? n : e === 403 ? "inactive" : "expired";
16
+ }, a = (e) => /([^.]+\.[^.]+)$/.exec(e)?.[1] ?? e, o = (e, t) => {
17
+ if (!e || !t) return !1;
18
+ try {
19
+ let n = typeof window > "u" ? void 0 : window.location.href;
20
+ return a(new URL(e, n).hostname) === a(new URL(t, n).hostname);
21
+ } catch {
22
+ return !1;
23
+ }
24
+ };
25
+ //#endregion
26
+ export { i as authFailureFromResponse, n as onAuthFailure, t as reportAuthFailure, o as sameRegistrableDomain };
@@ -0,0 +1,3 @@
1
+ export { createAuthFailureLink } from './authFailureLink';
2
+ export { authFailureFromResponse, onAuthFailure, reportAuthFailure, sameRegistrableDomain } from './failureChannel';
3
+ export type { AuthFailureListener, AuthFailureSignal } from './failureChannel';
@@ -0,0 +1,3 @@
1
+ import { authFailureFromResponse as e, onAuthFailure as t, reportAuthFailure as n, sameRegistrableDomain as r } from "./failureChannel.mjs";
2
+ import { createAuthFailureLink as i } from "./authFailureLink.mjs";
3
+ export { e as authFailureFromResponse, i as createAuthFailureLink, t as onAuthFailure, n as reportAuthFailure, r as sameRegistrableDomain };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Values shared by the builder and the engine.
3
+ *
4
+ * They live here rather than beside the manifest types because they are values, not types: importing them from the
5
+ * package barrel would pull the whole barrel — and plitzi-ui with it — into the server process.
6
+ */
7
+ /** The read endpoint an element addresses when it names none. */
8
+ export declare const DEFAULT_READ_ENDPOINT = "list";
9
+ /** The HTTP vocabulary a connector can use. A declarative REST client has no business narrowing it further. */
10
+ export declare const CONNECTOR_HTTP_METHODS: readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"];
11
+ /**
12
+ * Methods that carry no request body.
13
+ *
14
+ * `DELETE` is here because sending a body with one is legal but widely mishandled by servers and proxies; a
15
+ * connector that needs to identify what to delete says so through the path or the query string instead.
16
+ */
17
+ export declare const BODYLESS_METHODS: readonly string[];
18
+ /** Methods that return nothing worth mapping, so a write using one resolves to no record. */
19
+ export declare const EMPTY_RESPONSE_METHODS: readonly string[];
20
+ /**
21
+ * Names offered to a new endpoint, in order.
22
+ *
23
+ * A connector's second read is far more often a single-record fetch than anything else, and its third a search —
24
+ * so the panel suggests the name the author was going to type. Past the list it falls back to a numbered name
25
+ * rather than inventing vocabulary nobody asked for.
26
+ */
27
+ export declare const READ_ENDPOINT_NAMES: readonly ["list", "detail", "search"];
28
+ export declare const WRITE_ENDPOINT_NAMES: readonly ["create", "update", "delete"];
@@ -0,0 +1,29 @@
1
+ //#region src/connectors/constants.ts
2
+ var e = "list", t = [
3
+ "GET",
4
+ "POST",
5
+ "PUT",
6
+ "PATCH",
7
+ "DELETE",
8
+ "HEAD",
9
+ "OPTIONS"
10
+ ], n = [
11
+ "GET",
12
+ "HEAD",
13
+ "OPTIONS",
14
+ "DELETE"
15
+ ], r = [
16
+ "HEAD",
17
+ "OPTIONS",
18
+ "DELETE"
19
+ ], i = [
20
+ "list",
21
+ "detail",
22
+ "search"
23
+ ], a = [
24
+ "create",
25
+ "update",
26
+ "delete"
27
+ ];
28
+ //#endregion
29
+ export { n as BODYLESS_METHODS, t as CONNECTOR_HTTP_METHODS, e as DEFAULT_READ_ENDPOINT, r as EMPTY_RESPONSE_METHODS, i as READ_ENDPOINT_NAMES, a as WRITE_ENDPOINT_NAMES };
@@ -0,0 +1,7 @@
1
+ export { BODYLESS_METHODS, CONNECTOR_HTTP_METHODS, DEFAULT_READ_ENDPOINT, EMPTY_RESPONSE_METHODS, READ_ENDPOINT_NAMES, WRITE_ENDPOINT_NAMES } from './constants';
2
+ export { connectorTokens, getConnectorTokens } from './manifestTokens';
3
+ export { connectorPresets, emptyManifest } from './presets';
4
+ export { validateConnectorManifest } from './validateManifest';
5
+ export type { ConnectorPreset } from './presets';
6
+ export type { ConnectorToken, ConnectorTokenScope } from './manifestTokens';
7
+ export type { ConnectorManifestIssue, ConnectorManifestReport } from './validateManifest';
@@ -0,0 +1,5 @@
1
+ import { BODYLESS_METHODS as e, CONNECTOR_HTTP_METHODS as t, DEFAULT_READ_ENDPOINT as n, EMPTY_RESPONSE_METHODS as r, READ_ENDPOINT_NAMES as i, WRITE_ENDPOINT_NAMES as a } from "./constants.mjs";
2
+ import { connectorTokens as o, getConnectorTokens as s } from "./manifestTokens.mjs";
3
+ import { connectorPresets as c, emptyManifest as l } from "./presets.mjs";
4
+ import { validateConnectorManifest as u } from "./validateManifest.mjs";
5
+ export { e as BODYLESS_METHODS, t as CONNECTOR_HTTP_METHODS, n as DEFAULT_READ_ENDPOINT, r as EMPTY_RESPONSE_METHODS, i as READ_ENDPOINT_NAMES, a as WRITE_ENDPOINT_NAMES, c as connectorPresets, o as connectorTokens, l as emptyManifest, s as getConnectorTokens, u as validateConnectorManifest };
@@ -0,0 +1,17 @@
1
+ export type ConnectorTokenScope = 'request' | 'filter' | 'write';
2
+ export type ConnectorToken = {
3
+ /** Written into a template as `{{value}}`. A trailing `.` marks a namespace whose keys the author names. */
4
+ value: string;
5
+ description: string;
6
+ scopes: ConnectorTokenScope[];
7
+ };
8
+ /**
9
+ * Every variable the engine binds when it renders a manifest template.
10
+ *
11
+ * This is the engine's contract stated once, so the builder can offer it as completions instead of asking authors
12
+ * to learn it from a preset. A token missing here is a token the author cannot discover — keep it in step with the
13
+ * `variables` maps in `fetchConnectorRecords` and `writeConnectorRecord`.
14
+ */
15
+ export declare const connectorTokens: ConnectorToken[];
16
+ export declare const getConnectorTokens: (scope: ConnectorTokenScope) => ConnectorToken[];
17
+ export default connectorTokens;
@@ -0,0 +1,70 @@
1
+ //#region src/connectors/manifestTokens.ts
2
+ var e = [
3
+ {
4
+ value: "resource",
5
+ description: "Content type the element asked for, e.g. the \"articles\" in /api/articles.",
6
+ scopes: ["request", "write"]
7
+ },
8
+ {
9
+ value: "limit",
10
+ description: "Page size the element asked for.",
11
+ scopes: ["request"]
12
+ },
13
+ {
14
+ value: "offset",
15
+ description: "Records to skip. Zero-based; use it for offset paging.",
16
+ scopes: ["request"]
17
+ },
18
+ {
19
+ value: "page",
20
+ description: "Page number. One-based; use it for page paging.",
21
+ scopes: ["request"]
22
+ },
23
+ {
24
+ value: "cursor",
25
+ description: "Token the previous response returned. Use it for cursor paging.",
26
+ scopes: ["request"]
27
+ },
28
+ {
29
+ value: "credential.",
30
+ description: "A key from the credential this connector resolves, e.g. credential.token.",
31
+ scopes: ["request", "write"]
32
+ },
33
+ {
34
+ value: "routeParams.",
35
+ description: "A parameter from the page URL, e.g. routeParams.slug for /blog/:slug.",
36
+ scopes: ["request", "filter"]
37
+ },
38
+ {
39
+ value: "queryParams.",
40
+ description: "A parameter from the query string, e.g. queryParams.tag for ?tag=news.",
41
+ scopes: ["request", "filter"]
42
+ },
43
+ {
44
+ value: "params.",
45
+ description: "Route and query parameters merged, route winning. Handy when either may carry the value.",
46
+ scopes: ["request", "filter"]
47
+ },
48
+ {
49
+ value: "field",
50
+ description: "The field a filter targets. Only inside an operator template.",
51
+ scopes: ["filter"]
52
+ },
53
+ {
54
+ value: "value",
55
+ description: "The value a filter compares. Only inside an operator template.",
56
+ scopes: ["filter"]
57
+ },
58
+ {
59
+ value: "id",
60
+ description: "The record being written to. Only inside a write path.",
61
+ scopes: ["write"]
62
+ },
63
+ {
64
+ value: "values.",
65
+ description: "A field of the record being written.",
66
+ scopes: ["write"]
67
+ }
68
+ ], t = (t) => e.filter((e) => e.scopes.includes(t));
69
+ //#endregion
70
+ export { e as connectorTokens, e as default, t as getConnectorTokens };
@@ -0,0 +1,22 @@
1
+ import { ConnectorManifestDraft } from '../types/ConnectorTypes';
2
+ /**
3
+ * Starting manifests for the APIs people actually run.
4
+ *
5
+ * A connector is a declarative REST client, so the presets cover both ends of what that means: the CMSs whose
6
+ * response shapes are worth remembering, and a plain REST service for everything else. Every field stays editable
7
+ * — a preset that goes stale because a vendor changed a response shape is fixed by editing a row, never by
8
+ * shipping a release, which is the entire reason connectors are data.
9
+ *
10
+ * They live in shared code because both authors read them: the builder panel offers them as a starting point, and
11
+ * an agent writing a connector through the MCP reads them as the worked examples of how a real provider expresses
12
+ * paging, filters and its response shape. One copy, so neither learns a shape the other has since fixed.
13
+ */
14
+ export type ConnectorPreset = {
15
+ id: string;
16
+ label: string;
17
+ /** What the connector needs from its credential, so the panel can say which keys to fill in. */
18
+ credentialKeys: string[];
19
+ manifest: ConnectorManifestDraft;
20
+ };
21
+ export declare const connectorPresets: ConnectorPreset[];
22
+ export declare const emptyManifest: ConnectorManifestDraft;
@@ -0,0 +1,220 @@
1
+ //#region src/connectors/presets.ts
2
+ var e = {
3
+ id: "blank",
4
+ label: "Blank",
5
+ credentialKeys: [],
6
+ manifest: {
7
+ baseUrl: "",
8
+ endpoints: { read: { list: {
9
+ path: "/{{resource}}",
10
+ idPath: "id"
11
+ } } },
12
+ pagination: "offset",
13
+ operators: { eq: "{{field}}={{value}}" }
14
+ }
15
+ }, t = [
16
+ e,
17
+ {
18
+ id: "rest",
19
+ label: "REST API",
20
+ credentialKeys: ["token"],
21
+ manifest: {
22
+ baseUrl: "https://api.example.com",
23
+ auth: {
24
+ in: "header",
25
+ name: "Authorization",
26
+ value: "Bearer {{credential.token}}"
27
+ },
28
+ endpoints: {
29
+ read: {
30
+ list: {
31
+ path: "/{{resource}}",
32
+ query: {
33
+ limit: "{{limit}}",
34
+ offset: "{{offset}}"
35
+ },
36
+ idPath: "id"
37
+ },
38
+ detail: {
39
+ path: "/{{resource}}/{{routeParams.id}}",
40
+ idPath: "id"
41
+ }
42
+ },
43
+ write: {
44
+ create: {
45
+ method: "POST",
46
+ path: "/{{resource}}"
47
+ },
48
+ update: {
49
+ method: "PUT",
50
+ path: "/{{resource}}/{{id}}"
51
+ },
52
+ delete: {
53
+ method: "DELETE",
54
+ path: "/{{resource}}/{{id}}"
55
+ }
56
+ }
57
+ },
58
+ pagination: "offset",
59
+ operators: { eq: "{{field}}={{value}}" }
60
+ }
61
+ },
62
+ {
63
+ id: "strapi",
64
+ label: "Strapi v5",
65
+ credentialKeys: ["token"],
66
+ manifest: {
67
+ baseUrl: "https://cms.example.com",
68
+ auth: {
69
+ in: "header",
70
+ name: "Authorization",
71
+ value: "Bearer {{credential.token}}"
72
+ },
73
+ endpoints: {
74
+ read: { list: {
75
+ path: "/api/{{resource}}",
76
+ query: {
77
+ "pagination[start]": "{{offset}}",
78
+ "pagination[limit]": "{{limit}}",
79
+ populate: "*"
80
+ },
81
+ itemsPath: "data",
82
+ totalPath: "meta.pagination.total",
83
+ idPath: "documentId",
84
+ valuesPath: "."
85
+ } },
86
+ write: {
87
+ create: {
88
+ method: "POST",
89
+ path: "/api/{{resource}}",
90
+ bodyPath: "data",
91
+ response: {
92
+ itemsPath: "data",
93
+ idPath: "documentId"
94
+ }
95
+ },
96
+ update: {
97
+ method: "PUT",
98
+ path: "/api/{{resource}}/{{id}}",
99
+ bodyPath: "data",
100
+ response: {
101
+ itemsPath: "data",
102
+ idPath: "documentId"
103
+ }
104
+ },
105
+ delete: {
106
+ method: "DELETE",
107
+ path: "/api/{{resource}}/{{id}}"
108
+ }
109
+ }
110
+ },
111
+ pagination: "offset",
112
+ operators: {
113
+ eq: "filters[{{field}}][$eq]={{value}}",
114
+ ne: "filters[{{field}}][$ne]={{value}}",
115
+ contains: "filters[{{field}}][$containsi]={{value}}",
116
+ gt: "filters[{{field}}][$gt]={{value}}",
117
+ lt: "filters[{{field}}][$lt]={{value}}"
118
+ },
119
+ media: { baseUrl: "https://cms.example.com" }
120
+ }
121
+ },
122
+ {
123
+ id: "wordpress",
124
+ label: "WordPress (REST)",
125
+ credentialKeys: [],
126
+ manifest: {
127
+ baseUrl: "https://blog.example.com",
128
+ endpoints: { read: { list: {
129
+ path: "/wp-json/wp/v2/{{resource}}",
130
+ query: {
131
+ per_page: "{{limit}}",
132
+ page: "{{page}}"
133
+ },
134
+ idPath: "id"
135
+ } } },
136
+ pagination: "page",
137
+ operators: {
138
+ eq: "{{field}}={{value}}",
139
+ contains: "search={{value}}"
140
+ }
141
+ }
142
+ },
143
+ {
144
+ id: "directus",
145
+ label: "Directus",
146
+ credentialKeys: ["token"],
147
+ manifest: {
148
+ baseUrl: "https://cms.example.com",
149
+ auth: {
150
+ in: "header",
151
+ name: "Authorization",
152
+ value: "Bearer {{credential.token}}"
153
+ },
154
+ endpoints: {
155
+ read: { list: {
156
+ path: "/items/{{resource}}",
157
+ query: {
158
+ offset: "{{offset}}",
159
+ limit: "{{limit}}",
160
+ meta: "filter_count"
161
+ },
162
+ itemsPath: "data",
163
+ totalPath: "meta.filter_count",
164
+ idPath: "id"
165
+ } },
166
+ write: {
167
+ create: {
168
+ method: "POST",
169
+ path: "/items/{{resource}}",
170
+ response: { itemsPath: "data" }
171
+ },
172
+ update: {
173
+ method: "PATCH",
174
+ path: "/items/{{resource}}/{{id}}",
175
+ response: { itemsPath: "data" }
176
+ },
177
+ delete: {
178
+ method: "DELETE",
179
+ path: "/items/{{resource}}/{{id}}"
180
+ }
181
+ }
182
+ },
183
+ pagination: "offset",
184
+ operators: {
185
+ eq: "filter[{{field}}][_eq]={{value}}",
186
+ ne: "filter[{{field}}][_neq]={{value}}",
187
+ contains: "filter[{{field}}][_contains]={{value}}"
188
+ },
189
+ media: { baseUrl: "https://cms.example.com/assets" }
190
+ }
191
+ },
192
+ {
193
+ id: "contentful",
194
+ label: "Contentful (CDA)",
195
+ credentialKeys: ["token", "spaceId"],
196
+ manifest: {
197
+ baseUrl: "https://cdn.contentful.com",
198
+ endpoints: { read: { list: {
199
+ path: "/spaces/{{credential.spaceId}}/environments/master/entries",
200
+ query: {
201
+ access_token: "{{credential.token}}",
202
+ content_type: "{{resource}}",
203
+ skip: "{{offset}}",
204
+ limit: "{{limit}}"
205
+ },
206
+ itemsPath: "items",
207
+ totalPath: "total",
208
+ idPath: "sys.id",
209
+ valuesPath: "fields"
210
+ } } },
211
+ pagination: "offset",
212
+ operators: {
213
+ eq: "fields.{{field}}={{value}}",
214
+ contains: "fields.{{field}}[match]={{value}}"
215
+ }
216
+ }
217
+ }
218
+ ], n = e.manifest;
219
+ //#endregion
220
+ export { t as connectorPresets, n as emptyManifest };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * The one connector-manifest validator.
3
+ *
4
+ * Three places decide whether a manifest is fit to store — the builder panel, the MCP write ops and the GraphQL
5
+ * mutation that persists it — and a manifest is only ever wrong in one way, so the rules live here rather than
6
+ * being restated (and drifting) at each entry point. The server runs it last, on whatever JSON actually arrived,
7
+ * which is why the input is `unknown`: it validates a document, it does not assume one.
8
+ *
9
+ * Errors are what the engine cannot recover from at request time; warnings are what will work but probably does
10
+ * not do what the author meant. Nothing here reaches the network — it is a pure inspection of the document.
11
+ */
12
+ export type ConnectorManifestIssue = {
13
+ /** Dotted path into the manifest, e.g. `endpoints.read.list.path`. */
14
+ path: string;
15
+ message: string;
16
+ hint?: string;
17
+ };
18
+ export type ConnectorManifestReport = {
19
+ valid: boolean;
20
+ errors: ConnectorManifestIssue[];
21
+ warnings: ConnectorManifestIssue[];
22
+ };
23
+ /**
24
+ * Validates a connector manifest document (a `ConnectorManifestDraft`; a stored `id` is ignored).
25
+ *
26
+ * Give it whatever you have — parsed JSON, an editor's working copy, a GraphQL argument. It never throws.
27
+ */
28
+ export declare const validateConnectorManifest: (input: unknown) => ConnectorManifestReport;