@gorth-io/structure 0.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +12 -0
  3. package/dist/cores/ably/ai-transport/index.cjs +1 -0
  4. package/dist/cores/ably/ai-transport/index.d.cts +1 -0
  5. package/dist/cores/ably/ai-transport/index.d.ts +1 -0
  6. package/dist/cores/ably/ai-transport/index.js +1 -0
  7. package/dist/cores/ably/ai-transport/react/index.cjs +1 -0
  8. package/dist/cores/ably/ai-transport/react/index.d.cts +1 -0
  9. package/dist/cores/ably/ai-transport/react/index.d.ts +1 -0
  10. package/dist/cores/ably/ai-transport/react/index.js +1 -0
  11. package/dist/cores/ably/chat/index.cjs +1 -0
  12. package/dist/cores/ably/chat/index.d.cts +1 -0
  13. package/dist/cores/ably/chat/index.d.ts +1 -0
  14. package/dist/cores/ably/chat/index.js +1 -0
  15. package/dist/cores/ably/chat/react/index.cjs +1 -0
  16. package/dist/cores/ably/chat/react/index.d.cts +1 -0
  17. package/dist/cores/ably/chat/react/index.d.ts +1 -0
  18. package/dist/cores/ably/chat/react/index.js +1 -0
  19. package/dist/cores/ably/index.cjs +1 -0
  20. package/dist/cores/ably/index.d.cts +1 -0
  21. package/dist/cores/ably/index.d.ts +1 -0
  22. package/dist/cores/ably/index.js +1 -0
  23. package/dist/cores/ably/liveobjects/index.cjs +1 -0
  24. package/dist/cores/ably/liveobjects/index.d.cts +1 -0
  25. package/dist/cores/ably/liveobjects/index.d.ts +1 -0
  26. package/dist/cores/ably/liveobjects/index.js +1 -0
  27. package/dist/cores/ably/liveobjects/react/index.cjs +1 -0
  28. package/dist/cores/ably/liveobjects/react/index.d.cts +1 -0
  29. package/dist/cores/ably/liveobjects/react/index.d.ts +1 -0
  30. package/dist/cores/ably/liveobjects/react/index.js +1 -0
  31. package/dist/cores/ably/modular/index.cjs +1 -0
  32. package/dist/cores/ably/modular/index.d.cts +1 -0
  33. package/dist/cores/ably/modular/index.d.ts +1 -0
  34. package/dist/cores/ably/modular/index.js +1 -0
  35. package/dist/cores/ably/push/index.cjs +1 -0
  36. package/dist/cores/ably/push/index.d.cts +2 -0
  37. package/dist/cores/ably/push/index.d.ts +2 -0
  38. package/dist/cores/ably/push/index.js +1 -0
  39. package/dist/cores/ably/react/index.cjs +1 -0
  40. package/dist/cores/ably/react/index.d.cts +1 -0
  41. package/dist/cores/ably/react/index.d.ts +1 -0
  42. package/dist/cores/ably/react/index.js +1 -0
  43. package/dist/cores/ably/spaces/index.cjs +1 -0
  44. package/dist/cores/ably/spaces/index.d.cts +3 -0
  45. package/dist/cores/ably/spaces/index.d.ts +3 -0
  46. package/dist/cores/ably/spaces/index.js +1 -0
  47. package/dist/cores/axios.cjs +1 -0
  48. package/dist/cores/axios.d.cts +3 -0
  49. package/dist/cores/axios.d.ts +3 -0
  50. package/dist/cores/axios.js +1 -0
  51. package/dist/cores/graphql/index.cjs +1 -0
  52. package/dist/cores/graphql/index.d.cts +1 -0
  53. package/dist/cores/graphql/index.d.ts +1 -0
  54. package/dist/cores/graphql/index.js +1 -0
  55. package/dist/cores/graphql/request.cjs +1 -0
  56. package/dist/cores/graphql/request.d.cts +1 -0
  57. package/dist/cores/graphql/request.d.ts +1 -0
  58. package/dist/cores/graphql/request.js +1 -0
  59. package/dist/cores/graphql/tag.cjs +1 -0
  60. package/dist/cores/graphql/tag.d.cts +1 -0
  61. package/dist/cores/graphql/tag.d.ts +1 -0
  62. package/dist/cores/graphql/tag.js +1 -0
  63. package/dist/cores/index.cjs +0 -0
  64. package/dist/cores/index.d.cts +1 -0
  65. package/dist/cores/index.d.ts +1 -0
  66. package/dist/cores/index.js +1 -0
  67. package/dist/cores/jose.cjs +1 -0
  68. package/dist/cores/jose.d.cts +1 -0
  69. package/dist/cores/jose.d.ts +1 -0
  70. package/dist/cores/jose.js +1 -0
  71. package/dist/cores/pg.cjs +1 -0
  72. package/dist/cores/pg.d.cts +3 -0
  73. package/dist/cores/pg.d.ts +3 -0
  74. package/dist/cores/pg.js +2 -0
  75. package/dist/cores/pg.js.map +1 -0
  76. package/dist/cores/postgres.cjs +1 -0
  77. package/dist/cores/postgres.d.cts +2 -0
  78. package/dist/cores/postgres.d.ts +2 -0
  79. package/dist/cores/postgres.js +2 -0
  80. package/dist/cores/postgres.js.map +1 -0
  81. package/dist/cores/supabase/index.cjs +1 -0
  82. package/dist/cores/supabase/index.d.cts +1 -0
  83. package/dist/cores/supabase/index.d.ts +1 -0
  84. package/dist/cores/supabase/index.js +1 -0
  85. package/dist/cores/supabase/postgrest.cjs +1 -0
  86. package/dist/cores/supabase/postgrest.d.cts +1 -0
  87. package/dist/cores/supabase/postgrest.d.ts +1 -0
  88. package/dist/cores/supabase/postgrest.js +1 -0
  89. package/dist/cores/supabase/server.cjs +1 -0
  90. package/dist/cores/supabase/server.d.cts +1 -0
  91. package/dist/cores/supabase/server.d.ts +1 -0
  92. package/dist/cores/supabase/server.js +1 -0
  93. package/dist/cores/supabase/ssr.cjs +1 -0
  94. package/dist/cores/supabase/ssr.d.cts +1 -0
  95. package/dist/cores/supabase/ssr.d.ts +1 -0
  96. package/dist/cores/supabase/ssr.js +1 -0
  97. package/dist/cores/uuid.cjs +1 -0
  98. package/dist/cores/uuid.d.cts +1 -0
  99. package/dist/cores/uuid.d.ts +1 -0
  100. package/dist/cores/uuid.js +1 -0
  101. package/dist/cores/zod.cjs +1 -0
  102. package/dist/cores/zod.d.cts +3 -0
  103. package/dist/cores/zod.d.ts +3 -0
  104. package/dist/cores/zod.js +1 -0
  105. package/dist/formatter-MMKFBkro.d.cts +12 -0
  106. package/dist/formatter-MMKFBkro.d.cts.map +1 -0
  107. package/dist/formatter-vjbCoK9k.d.ts +12 -0
  108. package/dist/formatter-vjbCoK9k.d.ts.map +1 -0
  109. package/dist/index.cjs +1 -0
  110. package/dist/index.d.cts +6 -0
  111. package/dist/index.d.ts +6 -0
  112. package/dist/index.js +1 -0
  113. package/dist/interface-BFsLlmGy.d.ts +1 -0
  114. package/dist/interface-BR9QNgXO.d.cts +283 -0
  115. package/dist/interface-BR9QNgXO.d.cts.map +1 -0
  116. package/dist/interface-ii8DV63k.d.ts +283 -0
  117. package/dist/interface-ii8DV63k.d.ts.map +1 -0
  118. package/dist/interface-weqBVeUf.d.cts +1 -0
  119. package/dist/lib/permission.cjs +0 -0
  120. package/dist/lib/permission.d.cts +1 -0
  121. package/dist/lib/permission.d.ts +1 -0
  122. package/dist/lib/permission.js +1 -0
  123. package/dist/modules/auth/client/index.cjs +1 -0
  124. package/dist/modules/auth/client/index.d.cts +5 -0
  125. package/dist/modules/auth/client/index.d.ts +5 -0
  126. package/dist/modules/auth/client/index.js +1 -0
  127. package/dist/modules/auth/client/retry.cjs +1 -0
  128. package/dist/modules/auth/client/retry.d.cts +11 -0
  129. package/dist/modules/auth/client/retry.d.cts.map +1 -0
  130. package/dist/modules/auth/client/retry.d.ts +11 -0
  131. package/dist/modules/auth/client/retry.d.ts.map +1 -0
  132. package/dist/modules/auth/client/retry.js +2 -0
  133. package/dist/modules/auth/client/retry.js.map +1 -0
  134. package/dist/modules/auth/interface.cjs +1 -0
  135. package/dist/modules/auth/interface.d.cts +8 -0
  136. package/dist/modules/auth/interface.d.cts.map +1 -0
  137. package/dist/modules/auth/interface.d.ts +8 -0
  138. package/dist/modules/auth/interface.d.ts.map +1 -0
  139. package/dist/modules/auth/interface.js +2 -0
  140. package/dist/modules/auth/interface.js.map +1 -0
  141. package/dist/modules/auth/policy.cjs +1 -0
  142. package/dist/modules/auth/policy.d.cts +15 -0
  143. package/dist/modules/auth/policy.d.cts.map +1 -0
  144. package/dist/modules/auth/policy.d.ts +15 -0
  145. package/dist/modules/auth/policy.d.ts.map +1 -0
  146. package/dist/modules/auth/policy.js +2 -0
  147. package/dist/modules/auth/policy.js.map +1 -0
  148. package/dist/modules/auth/server/crypto.cjs +1 -0
  149. package/dist/modules/auth/server/crypto.d.cts +3 -0
  150. package/dist/modules/auth/server/crypto.d.cts.map +1 -0
  151. package/dist/modules/auth/server/crypto.d.ts +3 -0
  152. package/dist/modules/auth/server/crypto.d.ts.map +1 -0
  153. package/dist/modules/auth/server/crypto.js +2 -0
  154. package/dist/modules/auth/server/crypto.js.map +1 -0
  155. package/dist/modules/auth/server/grant-guard.cjs +1 -0
  156. package/dist/modules/auth/server/grant-guard.d.cts +6 -0
  157. package/dist/modules/auth/server/grant-guard.d.cts.map +1 -0
  158. package/dist/modules/auth/server/grant-guard.d.ts +6 -0
  159. package/dist/modules/auth/server/grant-guard.d.ts.map +1 -0
  160. package/dist/modules/auth/server/grant-guard.js +2 -0
  161. package/dist/modules/auth/server/grant-guard.js.map +1 -0
  162. package/dist/modules/auth/server/identity-cache.cjs +1 -0
  163. package/dist/modules/auth/server/identity-cache.d.cts +8 -0
  164. package/dist/modules/auth/server/identity-cache.d.cts.map +1 -0
  165. package/dist/modules/auth/server/identity-cache.d.ts +8 -0
  166. package/dist/modules/auth/server/identity-cache.d.ts.map +1 -0
  167. package/dist/modules/auth/server/identity-cache.js +2 -0
  168. package/dist/modules/auth/server/identity-cache.js.map +1 -0
  169. package/dist/modules/auth/server/identity.cjs +1 -0
  170. package/dist/modules/auth/server/identity.d.cts +5 -0
  171. package/dist/modules/auth/server/identity.d.cts.map +1 -0
  172. package/dist/modules/auth/server/identity.d.ts +5 -0
  173. package/dist/modules/auth/server/identity.d.ts.map +1 -0
  174. package/dist/modules/auth/server/identity.js +2 -0
  175. package/dist/modules/auth/server/identity.js.map +1 -0
  176. package/dist/modules/auth/server/index.cjs +1 -0
  177. package/dist/modules/auth/server/index.d.cts +12 -0
  178. package/dist/modules/auth/server/index.d.ts +12 -0
  179. package/dist/modules/auth/server/index.js +1 -0
  180. package/dist/modules/auth/server/interface.cjs +0 -0
  181. package/dist/modules/auth/server/interface.d.cts +3 -0
  182. package/dist/modules/auth/server/interface.d.ts +3 -0
  183. package/dist/modules/auth/server/interface.js +1 -0
  184. package/dist/modules/auth/server/logout.cjs +1 -0
  185. package/dist/modules/auth/server/logout.d.cts +10 -0
  186. package/dist/modules/auth/server/logout.d.cts.map +1 -0
  187. package/dist/modules/auth/server/logout.d.ts +10 -0
  188. package/dist/modules/auth/server/logout.d.ts.map +1 -0
  189. package/dist/modules/auth/server/logout.js +2 -0
  190. package/dist/modules/auth/server/logout.js.map +1 -0
  191. package/dist/modules/auth/server/proof.cjs +1 -0
  192. package/dist/modules/auth/server/proof.d.cts +6 -0
  193. package/dist/modules/auth/server/proof.d.cts.map +1 -0
  194. package/dist/modules/auth/server/proof.d.ts +6 -0
  195. package/dist/modules/auth/server/proof.d.ts.map +1 -0
  196. package/dist/modules/auth/server/proof.js +2 -0
  197. package/dist/modules/auth/server/proof.js.map +1 -0
  198. package/dist/modules/auth/server/resource.cjs +1 -0
  199. package/dist/modules/auth/server/resource.d.cts +10 -0
  200. package/dist/modules/auth/server/resource.d.cts.map +1 -0
  201. package/dist/modules/auth/server/resource.d.ts +10 -0
  202. package/dist/modules/auth/server/resource.d.ts.map +1 -0
  203. package/dist/modules/auth/server/resource.js +2 -0
  204. package/dist/modules/auth/server/resource.js.map +1 -0
  205. package/dist/modules/auth/server/revocation.cjs +1 -0
  206. package/dist/modules/auth/server/revocation.d.cts +4 -0
  207. package/dist/modules/auth/server/revocation.d.cts.map +1 -0
  208. package/dist/modules/auth/server/revocation.d.ts +4 -0
  209. package/dist/modules/auth/server/revocation.d.ts.map +1 -0
  210. package/dist/modules/auth/server/revocation.js +2 -0
  211. package/dist/modules/auth/server/revocation.js.map +1 -0
  212. package/dist/modules/common/admin.cjs +1 -0
  213. package/dist/modules/common/admin.d.cts +4 -0
  214. package/dist/modules/common/admin.d.cts.map +1 -0
  215. package/dist/modules/common/admin.d.ts +4 -0
  216. package/dist/modules/common/admin.d.ts.map +1 -0
  217. package/dist/modules/common/admin.js +2 -0
  218. package/dist/modules/common/admin.js.map +1 -0
  219. package/dist/modules/common/client.cjs +1 -0
  220. package/dist/modules/common/client.d.cts +118 -0
  221. package/dist/modules/common/client.d.cts.map +1 -0
  222. package/dist/modules/common/client.d.ts +118 -0
  223. package/dist/modules/common/client.d.ts.map +1 -0
  224. package/dist/modules/common/client.js +2 -0
  225. package/dist/modules/common/client.js.map +1 -0
  226. package/dist/modules/common/index.cjs +1 -0
  227. package/dist/modules/common/index.d.cts +6 -0
  228. package/dist/modules/common/index.d.ts +6 -0
  229. package/dist/modules/common/index.js +1 -0
  230. package/dist/modules/common/realtime.cjs +0 -0
  231. package/dist/modules/common/realtime.d.cts +2 -0
  232. package/dist/modules/common/realtime.d.ts +2 -0
  233. package/dist/modules/common/realtime.js +1 -0
  234. package/dist/modules/common/upload.cjs +1 -0
  235. package/dist/modules/common/upload.d.cts +4 -0
  236. package/dist/modules/common/upload.d.cts.map +1 -0
  237. package/dist/modules/common/upload.d.ts +4 -0
  238. package/dist/modules/common/upload.d.ts.map +1 -0
  239. package/dist/modules/common/upload.js +2 -0
  240. package/dist/modules/common/upload.js.map +1 -0
  241. package/dist/modules/desktop/index.cjs +1 -0
  242. package/dist/modules/desktop/index.d.cts +6 -0
  243. package/dist/modules/desktop/index.d.ts +6 -0
  244. package/dist/modules/desktop/index.js +1 -0
  245. package/dist/modules/desktop/interface.cjs +0 -0
  246. package/dist/modules/desktop/interface.d.cts +2 -0
  247. package/dist/modules/desktop/interface.d.ts +2 -0
  248. package/dist/modules/desktop/interface.js +1 -0
  249. package/dist/modules/desktop/rpc.cjs +1 -0
  250. package/dist/modules/desktop/rpc.d.cts +7 -0
  251. package/dist/modules/desktop/rpc.d.cts.map +1 -0
  252. package/dist/modules/desktop/rpc.d.ts +7 -0
  253. package/dist/modules/desktop/rpc.d.ts.map +1 -0
  254. package/dist/modules/desktop/rpc.js +2 -0
  255. package/dist/modules/desktop/rpc.js.map +1 -0
  256. package/dist/modules/desktop/shortcut.cjs +1 -0
  257. package/dist/modules/desktop/shortcut.d.cts +6 -0
  258. package/dist/modules/desktop/shortcut.d.cts.map +1 -0
  259. package/dist/modules/desktop/shortcut.d.ts +6 -0
  260. package/dist/modules/desktop/shortcut.d.ts.map +1 -0
  261. package/dist/modules/desktop/shortcut.js +2 -0
  262. package/dist/modules/desktop/shortcut.js.map +1 -0
  263. package/dist/modules/http/caller.cjs +1 -0
  264. package/dist/modules/http/caller.d.cts +18 -0
  265. package/dist/modules/http/caller.d.cts.map +1 -0
  266. package/dist/modules/http/caller.d.ts +18 -0
  267. package/dist/modules/http/caller.d.ts.map +1 -0
  268. package/dist/modules/http/caller.js +2 -0
  269. package/dist/modules/http/caller.js.map +1 -0
  270. package/dist/modules/http/error.cjs +1 -0
  271. package/dist/modules/http/error.d.cts +2 -0
  272. package/dist/modules/http/error.d.ts +2 -0
  273. package/dist/modules/http/error.js +2 -0
  274. package/dist/modules/http/error.js.map +1 -0
  275. package/dist/modules/http/fetcher.cjs +1 -0
  276. package/dist/modules/http/fetcher.d.cts +6 -0
  277. package/dist/modules/http/fetcher.d.cts.map +1 -0
  278. package/dist/modules/http/fetcher.d.ts +6 -0
  279. package/dist/modules/http/fetcher.d.ts.map +1 -0
  280. package/dist/modules/http/fetcher.js +2 -0
  281. package/dist/modules/http/fetcher.js.map +1 -0
  282. package/dist/modules/http/index.cjs +1 -0
  283. package/dist/modules/http/index.d.cts +5 -0
  284. package/dist/modules/http/index.d.ts +5 -0
  285. package/dist/modules/http/index.js +1 -0
  286. package/dist/modules/http/response.cjs +1 -0
  287. package/dist/modules/http/response.d.cts +6 -0
  288. package/dist/modules/http/response.d.cts.map +1 -0
  289. package/dist/modules/http/response.d.ts +6 -0
  290. package/dist/modules/http/response.d.ts.map +1 -0
  291. package/dist/modules/http/response.js +2 -0
  292. package/dist/modules/http/response.js.map +1 -0
  293. package/dist/modules/supabase/express/client.cjs +1 -0
  294. package/dist/modules/supabase/express/client.d.cts +3 -0
  295. package/dist/modules/supabase/express/client.d.cts.map +1 -0
  296. package/dist/modules/supabase/express/client.d.ts +3 -0
  297. package/dist/modules/supabase/express/client.d.ts.map +1 -0
  298. package/dist/modules/supabase/express/client.js +2 -0
  299. package/dist/modules/supabase/express/client.js.map +1 -0
  300. package/dist/modules/supabase/express/index.cjs +1 -0
  301. package/dist/modules/supabase/express/index.d.cts +3 -0
  302. package/dist/modules/supabase/express/index.d.ts +3 -0
  303. package/dist/modules/supabase/express/index.js +1 -0
  304. package/dist/modules/supabase/express/server.cjs +1 -0
  305. package/dist/modules/supabase/express/server.d.cts +2 -0
  306. package/dist/modules/supabase/express/server.d.ts +2 -0
  307. package/dist/modules/supabase/express/server.js +1 -0
  308. package/dist/modules/supabase/next/client.cjs +1 -0
  309. package/dist/modules/supabase/next/client.d.cts +60 -0
  310. package/dist/modules/supabase/next/client.d.cts.map +1 -0
  311. package/dist/modules/supabase/next/client.d.ts +60 -0
  312. package/dist/modules/supabase/next/client.d.ts.map +1 -0
  313. package/dist/modules/supabase/next/client.js +2 -0
  314. package/dist/modules/supabase/next/client.js.map +1 -0
  315. package/dist/modules/supabase/next/index.cjs +1 -0
  316. package/dist/modules/supabase/next/index.d.cts +5 -0
  317. package/dist/modules/supabase/next/index.d.ts +5 -0
  318. package/dist/modules/supabase/next/index.js +1 -0
  319. package/dist/modules/supabase/next/middleware.cjs +1 -0
  320. package/dist/modules/supabase/next/middleware.d.cts +2 -0
  321. package/dist/modules/supabase/next/middleware.d.cts.map +1 -0
  322. package/dist/modules/supabase/next/middleware.d.ts +2 -0
  323. package/dist/modules/supabase/next/middleware.d.ts.map +1 -0
  324. package/dist/modules/supabase/next/middleware.js +2 -0
  325. package/dist/modules/supabase/next/middleware.js.map +1 -0
  326. package/dist/modules/supabase/next/server.cjs +1 -0
  327. package/dist/modules/supabase/next/server.d.cts +61 -0
  328. package/dist/modules/supabase/next/server.d.cts.map +1 -0
  329. package/dist/modules/supabase/next/server.d.ts +61 -0
  330. package/dist/modules/supabase/next/server.d.ts.map +1 -0
  331. package/dist/modules/supabase/next/server.js +2 -0
  332. package/dist/modules/supabase/next/server.js.map +1 -0
  333. package/dist/rolldown-runtime-BocRIvOZ.cjs +1 -0
  334. package/dist/utils/formatter.cjs +1 -0
  335. package/dist/utils/formatter.d.cts +2 -0
  336. package/dist/utils/formatter.d.ts +2 -0
  337. package/dist/utils/formatter.js +2 -0
  338. package/dist/utils/formatter.js.map +1 -0
  339. package/dist/utils/interface.cjs +0 -0
  340. package/dist/utils/interface.d.cts +2 -0
  341. package/dist/utils/interface.d.ts +2 -0
  342. package/dist/utils/interface.js +1 -0
  343. package/docs/auth.md +183 -0
  344. package/docs/modules.md +36 -0
  345. package/package.json +189 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ GORTH License
2
+
3
+ Copyright (c) 2020 - 2026 Gorth, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # @gorth/structure
2
+
3
+ Shared, configurable runtime infrastructure for the Gorth ecosystem.
4
+ Better Auth owns login, OAuth, sessions, token encryption and renewal; Structure
5
+ provides direct SDK exports and small reusable infrastructure helpers.
6
+
7
+ See [auth](docs/auth.md) for the native SDK boundaries, new helpers and
8
+ **breaking removal of the legacy custom auth engines**, and
9
+ [modules](docs/modules.md) for the public module inventory and verification.
10
+
11
+ No application configuration, env reads, API keys, database connection or
12
+ configured auth instance belongs in this package.
@@ -0,0 +1 @@
1
+ var e=require("@ably/ai-transport");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@ably/ai-transport";
@@ -0,0 +1 @@
1
+ export * from "@ably/ai-transport";
@@ -0,0 +1 @@
1
+ export*from"@ably/ai-transport";export{};
@@ -0,0 +1 @@
1
+ var e=require("@ably/ai-transport/react");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@ably/ai-transport/react";
@@ -0,0 +1 @@
1
+ export * from "@ably/ai-transport/react";
@@ -0,0 +1 @@
1
+ export*from"@ably/ai-transport/react";export{};
@@ -0,0 +1 @@
1
+ var e=require("@ably/chat");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@ably/chat";
@@ -0,0 +1 @@
1
+ export * from "@ably/chat";
@@ -0,0 +1 @@
1
+ export*from"@ably/chat";export{};
@@ -0,0 +1 @@
1
+ var e=require("@ably/chat/react");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@ably/chat/react";
@@ -0,0 +1 @@
1
+ export * from "@ably/chat/react";
@@ -0,0 +1 @@
1
+ export*from"@ably/chat/react";export{};
@@ -0,0 +1 @@
1
+ var e=require("ably");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "ably";
@@ -0,0 +1 @@
1
+ export * from "ably";
@@ -0,0 +1 @@
1
+ export*from"ably";export{};
@@ -0,0 +1 @@
1
+ var e=require("ably/liveobjects");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "ably/liveobjects";
@@ -0,0 +1 @@
1
+ export * from "ably/liveobjects";
@@ -0,0 +1 @@
1
+ export*from"ably/liveobjects";export{};
@@ -0,0 +1 @@
1
+ var e=require("ably/liveobjects/react");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "ably/liveobjects/react";
@@ -0,0 +1 @@
1
+ export * from "ably/liveobjects/react";
@@ -0,0 +1 @@
1
+ export*from"ably/liveobjects/react";export{};
@@ -0,0 +1 @@
1
+ var e=require("ably/modular");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "ably/modular";
@@ -0,0 +1 @@
1
+ export * from "ably/modular";
@@ -0,0 +1 @@
1
+ export*from"ably/modular";export{};
@@ -0,0 +1 @@
1
+ const e=require("../../../rolldown-runtime-BocRIvOZ.cjs");let t=require("ably/push");t=e.t(t,1),module.exports=t.default;
@@ -0,0 +1,2 @@
1
+ import push_default from "ably/push";
2
+ export = push_default;
@@ -0,0 +1,2 @@
1
+ import push_default from "ably/push";
2
+ export { push_default as default };
@@ -0,0 +1 @@
1
+ export{default}from"ably/push";
@@ -0,0 +1 @@
1
+ var e=require("ably/react");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "ably/react";
@@ -0,0 +1 @@
1
+ export * from "ably/react";
@@ -0,0 +1 @@
1
+ export*from"ably/react";export{};
@@ -0,0 +1 @@
1
+ const e=require("../../../rolldown-runtime-BocRIvOZ.cjs");let t=require("@ably/spaces");t=e.t(t,1),module.exports=t.default,Object.keys(t).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});
@@ -0,0 +1,3 @@
1
+ import spaces_default from "@ably/spaces";
2
+ export * from "@ably/spaces";
3
+ export { spaces_default as default };
@@ -0,0 +1,3 @@
1
+ import spaces_default from "@ably/spaces";
2
+ export * from "@ably/spaces";
3
+ export { spaces_default as default };
@@ -0,0 +1 @@
1
+ export{default}from"@ably/spaces";export*from"@ably/spaces";
@@ -0,0 +1 @@
1
+ const e=require("../rolldown-runtime-BocRIvOZ.cjs");let t=require("axios");t=e.t(t,1),module.exports=t.default,Object.keys(t).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});
@@ -0,0 +1,3 @@
1
+ import axios_default from "axios";
2
+ export * from "axios";
3
+ export { axios_default as default };
@@ -0,0 +1,3 @@
1
+ import axios_default from "axios";
2
+ export * from "axios";
3
+ export { axios_default as default };
@@ -0,0 +1 @@
1
+ export{default}from"axios";export*from"axios";
@@ -0,0 +1 @@
1
+ var e=require("graphql");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "graphql";
@@ -0,0 +1 @@
1
+ export * from "graphql";
@@ -0,0 +1 @@
1
+ export*from"graphql";export{};
@@ -0,0 +1 @@
1
+ var e=require("graphql-request");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "graphql-request";
@@ -0,0 +1 @@
1
+ export * from "graphql-request";
@@ -0,0 +1 @@
1
+ export*from"graphql-request";export{};
@@ -0,0 +1 @@
1
+ var e=require("graphql-tag");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "graphql-tag";
@@ -0,0 +1 @@
1
+ export * from "graphql-tag";
@@ -0,0 +1 @@
1
+ export*from"graphql-tag";export{};
File without changes
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1 @@
1
+ export{};
@@ -0,0 +1 @@
1
+ var e=require("jose");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "jose";
@@ -0,0 +1 @@
1
+ export * from "jose";
@@ -0,0 +1 @@
1
+ export*from"jose";export{};
@@ -0,0 +1 @@
1
+ const e=require("../rolldown-runtime-BocRIvOZ.cjs");let t=require("pg");t=e.t(t,1);var n=t.default;module.exports=n,Object.keys(t).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});
@@ -0,0 +1,3 @@
1
+ import pg_default from "pg";
2
+ export * from "pg";
3
+ export { pg_default as default };
@@ -0,0 +1,3 @@
1
+ import pg_default from "pg";
2
+ export * from "pg";
3
+ export { pg_default as default };
@@ -0,0 +1,2 @@
1
+ import e from"pg";export*from"pg";var t=e;export{t as default};
2
+ //# sourceMappingURL=pg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pg.js","names":["pg","pg_default"],"sources":["../../src/cores/pg.ts"],"sourcesContent":["import pg from \"pg\"\n\nexport * from \"pg\"\nexport default pg"],"mappings":"A,kCAGA,IAAAC,EAAeD,E"}
@@ -0,0 +1 @@
1
+ const e=require("../rolldown-runtime-BocRIvOZ.cjs");let t=require("postgres");t=e.t(t,1);var n=t.default;module.exports=n;
@@ -0,0 +1,2 @@
1
+ import postgres_default from "postgres";
2
+ export = postgres_default;
@@ -0,0 +1,2 @@
1
+ import postgres_default from "postgres";
2
+ export { postgres_default as default };
@@ -0,0 +1,2 @@
1
+ import e from"postgres";var t=e;export{t as default};
2
+ //# sourceMappingURL=postgres.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgres.js","names":["postgres","postgres_default"],"sources":["../../src/cores/postgres.ts"],"sourcesContent":["import postgres from \"postgres\"\n\nexport default postgres"],"mappings":"A,wBAEA,IAAAC,EAAeD,E"}
@@ -0,0 +1 @@
1
+ var e=require("@supabase/supabase-js");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@supabase/supabase-js";
@@ -0,0 +1 @@
1
+ export * from "@supabase/supabase-js";
@@ -0,0 +1 @@
1
+ export*from"@supabase/supabase-js";export{};
@@ -0,0 +1 @@
1
+ var e=require("@supabase/postgrest-js");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@supabase/postgrest-js";
@@ -0,0 +1 @@
1
+ export * from "@supabase/postgrest-js";
@@ -0,0 +1 @@
1
+ export*from"@supabase/postgrest-js";export{};
@@ -0,0 +1 @@
1
+ var e=require("@supabase/server");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@supabase/server";
@@ -0,0 +1 @@
1
+ export * from "@supabase/server";
@@ -0,0 +1 @@
1
+ export*from"@supabase/server";export{};
@@ -0,0 +1 @@
1
+ var e=require("@supabase/ssr");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "@supabase/ssr";
@@ -0,0 +1 @@
1
+ export * from "@supabase/ssr";
@@ -0,0 +1 @@
1
+ export*from"@supabase/ssr";export{};
@@ -0,0 +1 @@
1
+ var e=require("uuid");Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
@@ -0,0 +1 @@
1
+ export * from "uuid";
@@ -0,0 +1 @@
1
+ export * from "uuid";
@@ -0,0 +1 @@
1
+ export*from"uuid";export{};
@@ -0,0 +1 @@
1
+ const e=require("../rolldown-runtime-BocRIvOZ.cjs");let t=require("zod");t=e.t(t,1),module.exports=t.default,Object.keys(t).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});
@@ -0,0 +1,3 @@
1
+ import zod_default from "zod";
2
+ export * from "zod";
3
+ export { zod_default as default };
@@ -0,0 +1,3 @@
1
+ import zod_default from "zod";
2
+ export * from "zod";
3
+ export { zod_default as default };
@@ -0,0 +1 @@
1
+ export{default}from"zod";export*from"zod";
@@ -0,0 +1,12 @@
1
+ import { a as AuthIdentity, j as OAuthIdentityClaims, w as DesktopRpcResponse } from "./interface-BR9QNgXO.cjs";
2
+ import { AxiosResponse } from "axios";
3
+ /** Call only after provider identity validation. Never project authorization roles. */
4
+ declare function formatOAuthIdentity(data: OAuthIdentityClaims): AuthIdentity;
5
+ declare function formatEpochMilliseconds(value: Date | string | number): number;
6
+ declare function formatRpcFailure(status: number, message: string, code: number, label: string): DesktopRpcResponse;
7
+ declare function normalizeAccelerator(value: string): string;
8
+ declare function shortcutIdentity(accelerator: string, isMac: boolean): string;
9
+ declare function formatResponseHeaders(response: AxiosResponse<unknown>): Headers;
10
+ declare function formatResponseBody(data: unknown, headers: Headers): BodyInit | null;
11
+ export { formatRpcFailure as a, formatResponseHeaders as i, formatOAuthIdentity as n, normalizeAccelerator as o, formatResponseBody as r, shortcutIdentity as s, formatEpochMilliseconds as t };
12
+ //# sourceMappingURL=formatter-MMKFBkro.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatter-MMKFBkro.d.cts","names":[],"sources":["../src/utils/formatter.ts"],"mappings":";;;iBAQgB,oBAAoB,MAAM,sBAAsB;iBAWhD,wBAAwB,OAAO;iBAQ/B,iBACd,gBACA,iBACA,cACA,gBACC;iBASa,qBAAqB;iBAwCrB,iBAAiB,qBAAqB;iBAQtC,sBAAsB,UAAU,yBAAsB;iBA2BtD,mBACd,eACA,SAAS,UACR"}
@@ -0,0 +1,12 @@
1
+ import { a as AuthIdentity, j as OAuthIdentityClaims, w as DesktopRpcResponse } from "./interface-ii8DV63k.js";
2
+ import { AxiosResponse } from "axios";
3
+ /** Call only after provider identity validation. Never project authorization roles. */
4
+ declare function formatOAuthIdentity(data: OAuthIdentityClaims): AuthIdentity;
5
+ declare function formatEpochMilliseconds(value: Date | string | number): number;
6
+ declare function formatRpcFailure(status: number, message: string, code: number, label: string): DesktopRpcResponse;
7
+ declare function normalizeAccelerator(value: string): string;
8
+ declare function shortcutIdentity(accelerator: string, isMac: boolean): string;
9
+ declare function formatResponseHeaders(response: AxiosResponse<unknown>): Headers;
10
+ declare function formatResponseBody(data: unknown, headers: Headers): BodyInit | null;
11
+ export { formatRpcFailure as a, formatResponseHeaders as i, formatOAuthIdentity as n, normalizeAccelerator as o, formatResponseBody as r, shortcutIdentity as s, formatEpochMilliseconds as t };
12
+ //# sourceMappingURL=formatter-vjbCoK9k.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatter-vjbCoK9k.d.ts","names":[],"sources":["../src/utils/formatter.ts"],"mappings":";;;iBAQgB,oBAAoB,MAAM,sBAAsB;iBAWhD,wBAAwB,OAAO;iBAQ/B,iBACd,gBACA,iBACA,cACA,gBACC;iBASa,qBAAqB;iBAwCrB,iBAAiB,qBAAqB;iBAQtC,sBAAsB,UAAU,yBAAsB;iBA2BtD,mBACd,eACA,SAAS,UACR"}
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-BocRIvOZ.cjs");let t=require("@supabase/postgrest-js");t=e.t(t,1);let n=require("@supabase/ssr");n=e.t(n,1);let r=require("@supabase/supabase-js");r=e.t(r,1);let i=require("axios");i=e.t(i,1);let a=require("zod");a=e.t(a,1),Object.defineProperty(exports,"axios",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"sbssr",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"supabase",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"supabasep",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"zod",{enumerable:!0,get:function(){return a}});
@@ -0,0 +1,6 @@
1
+ import axios from "axios";
2
+ import * as supabase from "@supabase/supabase-js";
3
+ import * as supabasep from "@supabase/postgrest-js";
4
+ import * as sbssr from "@supabase/ssr";
5
+ import * as zod from "zod";
6
+ export { axios, sbssr, supabase, supabasep, zod };
@@ -0,0 +1,6 @@
1
+ import * as supabasep from "@supabase/postgrest-js";
2
+ import * as sbssr from "@supabase/ssr";
3
+ import * as supabase from "@supabase/supabase-js";
4
+ import axios from "axios";
5
+ import * as zod from "zod";
6
+ export { axios, sbssr, supabase, supabasep, zod };
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ import*as e from"@supabase/postgrest-js";import*as t from"@supabase/ssr";import*as n from"@supabase/supabase-js";import r from"axios";import*as i from"zod";export{r as axios,t as sbssr,n as supabase,e as supabasep,i as zod};
@@ -0,0 +1 @@
1
+ import "./interface-ii8DV63k.js";