palbase 0.51.5 → 0.52.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 (49) hide show
  1. package/dist/ai/index.js +2 -2
  2. package/dist/backend/engine.js +2 -2
  3. package/dist/backend/env.js +1 -1
  4. package/dist/backend/index.js +3 -3
  5. package/dist/backend/stack.js +1 -1
  6. package/dist/backend/test.js +2 -2
  7. package/dist/chunks/{WVZNY6TR.js → 37NZ7FQF.js} +2 -2
  8. package/dist/chunks/{P5S36NDV.js → 5KO4UA35.js} +1 -1
  9. package/dist/chunks/{EZR7WPWD.js → 5UABJER3.js} +2 -2
  10. package/dist/chunks/{4IO35MZM.js → APF5IF6Y.js} +2 -2
  11. package/dist/chunks/{6GAV3WR7.js → APZGUPLB.js} +1 -1
  12. package/dist/chunks/{YNLTIP7Y.js → B27F7B34.js} +2 -2
  13. package/dist/chunks/{FATSIZRW.js → DSARJ2I2.js} +2 -2
  14. package/dist/chunks/{DE3O7B5N.js → G5R3XS4L.js} +1 -1
  15. package/dist/chunks/{H7CTV7YV.js → GALBX4TX.js} +2 -2
  16. package/dist/chunks/{FNFBIOEM.js → HNHRBC3T.js} +1 -1
  17. package/dist/chunks/{XGYP7KI5.js → I2LYINPJ.js} +2 -2
  18. package/dist/chunks/{YVUBAUBD.js → JOWXG7GF.js} +2 -2
  19. package/dist/chunks/{P2XUFCKR.js → JQ27DY4F.js} +1 -1
  20. package/dist/chunks/{BGQPEQ6U.js → KGWTA56R.js} +2 -2
  21. package/dist/chunks/{D2IRW7TY.js → LBVEBEBO.js} +1 -1
  22. package/dist/chunks/{6F77DV6G.js → LE3D62CS.js} +2 -2
  23. package/dist/chunks/{I4OY4A2M.js → NPDH5OIL.js} +2 -2
  24. package/dist/chunks/{IRRKY4YY.js → PX3KRONM.js} +2 -2
  25. package/dist/chunks/{5DTGVH2A.js → RYU7JGGV.js} +2 -2
  26. package/dist/chunks/{BFIGE5KY.js → UZRO6V4L.js} +2 -2
  27. package/dist/chunks/{OGZMRR4U.js → WT2QHAIC.js} +2 -2
  28. package/dist/chunks/{BOOJKO26.js → ZAHZFFT4.js} +1 -1
  29. package/dist/chunks/{MPHBGWSE.js → ZBM3V4TJ.js} +2 -2
  30. package/dist/cli.js +124 -124
  31. package/dist/cloud/index.js +2 -2
  32. package/dist/refuse/ai.js +1 -1
  33. package/dist/refuse/backend.js +1 -1
  34. package/dist/refuse/cloud.js +1 -1
  35. package/dist/refuse/server.js +1 -1
  36. package/dist/server/index.js +2 -2
  37. package/dist/server/testing.js +2 -2
  38. package/dist/web/index.js +2 -2
  39. package/dist/web/message.js +2 -2
  40. package/dist/web/palbe.js +2 -2
  41. package/dist/web/paywall.js +2 -2
  42. package/dist/web/push-sw.js +1 -1
  43. package/dist/web/ssr.js +2 -2
  44. package/dist/web/vite.js +2 -2
  45. package/package.json +2 -2
  46. package/types/cloud/src/generated/project.d.ts +1 -1
  47. package/types/internal/src/modules/ai.d.ts +1 -1
  48. package/types/internal/src/modules/machines.d.ts +63 -1
  49. package/types/internal/src/modules/notify.d.ts +2 -2
@@ -166,7 +166,7 @@ export type EmailSend = {
166
166
  reply_to?: string;
167
167
  subject?: string;
168
168
  /**
169
- * A template's slug. Auth's (auth.*) are sent through the project's own provider: on the platform's shared sender they are auth's flows' alone (403 auth_template_reserved).
169
+ * A template's slug. Auth's (auth.*) are sent through the project's own provider: on the platform's shared sender they are auth's flows' alone (403 auth_template_reserved), but for an organization's invitation (auth.org_invitation), whose accept_link is a page of the project's own app (400 accept_link_not_allowed).
170
170
  */
171
171
  template?: string;
172
172
  text?: string;
@@ -2882,7 +2882,7 @@ export declare function client(t: Transport): {
2882
2882
  /**
2883
2883
  * Send an email
2884
2884
  *
2885
- * Queues an email through the project's own provider: a template with its variables — the platform's, as the project overrode them, or one it made — or a message composed whole. The platform's shared sender, which a project with no email provider of its own has, sends none of them for the project's key: auth's templates (auth.*) leave it from auth's own flows alone — a sign-up's confirmation, a password reset, a sign-in link — with auth's link, to the address the flow is for, and a key's send of one is refused with 403 `auth_template_reserved`; anything else is refused with 403 `own_provider_required`. Palbase's own project, Studio's, sends its notices and its organizations' invitations to Studio's developers through the shared sender with its key.
2885
+ * Queues an email through the project's own provider: a template with its variables — the platform's, as the project overrode them, or one it made — or a message composed whole. The platform's shared sender, which a project with no email provider of its own has, sends none of them for the project's key: auth's templates (auth.*) leave it from auth's own flows alone — a sign-up's confirmation, a password reset, a sign-in link — with auth's link, to the address the flow is for, and a key's send of one is refused with 403 `auth_template_reserved`, but for an organization's invitation (auth.org_invitation, variables inviter_name, org_name, accept_link, expires_at): any project's key sends it through the shared sender, in the platform's words and counted against its shared limits, when its accept_link is a page of the project's own app — on its auth site_url's address, or matching its redirect allow-list — and is refused with 400 `accept_link_not_allowed` otherwise (503 `auth_unavailable`, nothing sent, when auth could not be asked); its inviter_name and org_name are names and its expires_at a time — one line each, with no link or web address — or it is refused with 400 `invalid_invitation`. Anything else is refused with 403 `own_provider_required`. Palbase's own project, Studio's, sends its notices and its organizations' invitations to Studio's developers through the shared sender with its key.
2886
2886
  */
2887
2887
  sendEmail(input: {
2888
2888
  headers?: {