@namera-ai/api 0.0.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 (105) hide show
  1. package/README.md +58 -0
  2. package/dist/common.js +13 -0
  3. package/dist/common.js.map +1 -0
  4. package/dist/index.d.ts +32 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +40 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/middlewares/admin.d.ts +25 -0
  9. package/dist/middlewares/admin.d.ts.map +1 -0
  10. package/dist/middlewares/admin.js +18 -0
  11. package/dist/middlewares/admin.js.map +1 -0
  12. package/dist/middlewares/auth.d.ts +640 -0
  13. package/dist/middlewares/auth.d.ts.map +1 -0
  14. package/dist/middlewares/auth.js +26 -0
  15. package/dist/middlewares/auth.js.map +1 -0
  16. package/dist/middlewares/index.d.ts +3 -0
  17. package/dist/routes/address-metadata.d.ts +147 -0
  18. package/dist/routes/address-metadata.d.ts.map +1 -0
  19. package/dist/routes/address-metadata.js +24 -0
  20. package/dist/routes/address-metadata.js.map +1 -0
  21. package/dist/routes/api-key.d.ts +864 -0
  22. package/dist/routes/api-key.d.ts.map +1 -0
  23. package/dist/routes/api-key.js +31 -0
  24. package/dist/routes/api-key.js.map +1 -0
  25. package/dist/routes/auth/core/index.d.ts +4 -0
  26. package/dist/routes/auth/core/magic-link.d.ts +34 -0
  27. package/dist/routes/auth/core/magic-link.d.ts.map +1 -0
  28. package/dist/routes/auth/core/magic-link.js +25 -0
  29. package/dist/routes/auth/core/magic-link.js.map +1 -0
  30. package/dist/routes/auth/core/session.d.ts +805 -0
  31. package/dist/routes/auth/core/session.d.ts.map +1 -0
  32. package/dist/routes/auth/core/session.js +31 -0
  33. package/dist/routes/auth/core/session.js.map +1 -0
  34. package/dist/routes/auth/core/user.d.ts +45 -0
  35. package/dist/routes/auth/core/user.d.ts.map +1 -0
  36. package/dist/routes/auth/core/user.js +15 -0
  37. package/dist/routes/auth/core/user.js.map +1 -0
  38. package/dist/routes/auth/index.d.ts +11 -0
  39. package/dist/routes/auth/notification.d.ts +392 -0
  40. package/dist/routes/auth/notification.d.ts.map +1 -0
  41. package/dist/routes/auth/notification.js +40 -0
  42. package/dist/routes/auth/notification.js.map +1 -0
  43. package/dist/routes/auth/oauth.d.ts +1347 -0
  44. package/dist/routes/auth/oauth.d.ts.map +1 -0
  45. package/dist/routes/auth/oauth.js +62 -0
  46. package/dist/routes/auth/oauth.js.map +1 -0
  47. package/dist/routes/auth/organization/index.d.ts +4 -0
  48. package/dist/routes/auth/organization/invitation.d.ts +400 -0
  49. package/dist/routes/auth/organization/invitation.d.ts.map +1 -0
  50. package/dist/routes/auth/organization/invitation.js +55 -0
  51. package/dist/routes/auth/organization/invitation.js.map +1 -0
  52. package/dist/routes/auth/organization/members.d.ts +250 -0
  53. package/dist/routes/auth/organization/members.d.ts.map +1 -0
  54. package/dist/routes/auth/organization/members.js +37 -0
  55. package/dist/routes/auth/organization/members.js.map +1 -0
  56. package/dist/routes/auth/organization/organization.d.ts +196 -0
  57. package/dist/routes/auth/organization/organization.d.ts.map +1 -0
  58. package/dist/routes/auth/organization/organization.js +31 -0
  59. package/dist/routes/auth/organization/organization.js.map +1 -0
  60. package/dist/routes/beta-invite.d.ts +24 -0
  61. package/dist/routes/beta-invite.d.ts.map +1 -0
  62. package/dist/routes/beta-invite.js +20 -0
  63. package/dist/routes/beta-invite.js.map +1 -0
  64. package/dist/routes/billing.d.ts +34 -0
  65. package/dist/routes/billing.d.ts.map +1 -0
  66. package/dist/routes/billing.js +14 -0
  67. package/dist/routes/billing.js.map +1 -0
  68. package/dist/routes/dashboard.d.ts +58 -0
  69. package/dist/routes/dashboard.d.ts.map +1 -0
  70. package/dist/routes/dashboard.js +14 -0
  71. package/dist/routes/dashboard.js.map +1 -0
  72. package/dist/routes/ens.d.ts +14 -0
  73. package/dist/routes/ens.d.ts.map +1 -0
  74. package/dist/routes/ens.js +15 -0
  75. package/dist/routes/ens.js.map +1 -0
  76. package/dist/routes/execution.d.ts +816 -0
  77. package/dist/routes/execution.d.ts.map +1 -0
  78. package/dist/routes/execution.js +50 -0
  79. package/dist/routes/execution.js.map +1 -0
  80. package/dist/routes/health.d.ts +10 -0
  81. package/dist/routes/health.d.ts.map +1 -0
  82. package/dist/routes/health.js +10 -0
  83. package/dist/routes/health.js.map +1 -0
  84. package/dist/routes/index.d.ts +23 -0
  85. package/dist/routes/portfolio.d.ts +94 -0
  86. package/dist/routes/portfolio.d.ts.map +1 -0
  87. package/dist/routes/portfolio.js +16 -0
  88. package/dist/routes/portfolio.js.map +1 -0
  89. package/dist/routes/session-key.d.ts +1844 -0
  90. package/dist/routes/session-key.d.ts.map +1 -0
  91. package/dist/routes/session-key.js +55 -0
  92. package/dist/routes/session-key.js.map +1 -0
  93. package/dist/routes/signature.d.ts +195 -0
  94. package/dist/routes/signature.d.ts.map +1 -0
  95. package/dist/routes/signature.js +38 -0
  96. package/dist/routes/signature.js.map +1 -0
  97. package/dist/routes/waitlist.d.ts +42 -0
  98. package/dist/routes/waitlist.d.ts.map +1 -0
  99. package/dist/routes/waitlist.js +27 -0
  100. package/dist/routes/waitlist.js.map +1 -0
  101. package/dist/routes/wallet.d.ts +547 -0
  102. package/dist/routes/wallet.d.ts.map +1 -0
  103. package/dist/routes/wallet.js +50 -0
  104. package/dist/routes/wallet.js.map +1 -0
  105. package/package.json +61 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key.d.ts","names":[],"sources":["../../src/routes/api-key.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBa,oBAAoB"}
@@ -0,0 +1,31 @@
1
+ import { CommonErrors } from "../common.js";
2
+ import { Authorization } from "../middlewares/auth.js";
3
+ import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/unstable/httpapi";
4
+ import { ApiKeyCreationError, ApiKeyNotFoundError, SessionKeyNotFoundError } from "@namera-ai/protocol";
5
+ import { CreateApiKeyRequest, CreateApiKeyResponse, GetApiKeyRequest, GetApiKeyResponse, ListApiKeysResponse, RevokeApiKeyRequest, RevokeApiKeyResponse } from "@namera-ai/protocol/dto";
6
+
7
+ //#region src/routes/api-key.ts
8
+ var ApiKeyGroup = class extends HttpApiGroup.make("apiKey").add(HttpApiEndpoint.post("create", "/", {
9
+ payload: CreateApiKeyRequest,
10
+ success: CreateApiKeyResponse.pipe(HttpApiSchema.status("Created")),
11
+ error: [
12
+ ApiKeyCreationError,
13
+ SessionKeyNotFoundError,
14
+ ...CommonErrors
15
+ ]
16
+ }).annotate(OpenApi.Summary, "Create an API key with session-key grants"), HttpApiEndpoint.get("list", "/", {
17
+ success: ListApiKeysResponse,
18
+ error: CommonErrors
19
+ }).annotate(OpenApi.Summary, "List API keys for the active organization"), HttpApiEndpoint.get("get", "/:apiKeyId", {
20
+ params: GetApiKeyRequest,
21
+ success: GetApiKeyResponse,
22
+ error: [ApiKeyNotFoundError, ...CommonErrors]
23
+ }).annotate(OpenApi.Summary, "Get an API key and its authorized session keys"), HttpApiEndpoint.post("revoke", "/:apiKeyId/revoke", {
24
+ params: RevokeApiKeyRequest,
25
+ success: RevokeApiKeyResponse,
26
+ error: [ApiKeyNotFoundError, ...CommonErrors]
27
+ }).annotate(OpenApi.Summary, "Revoke an API key and all of its session-key grants")).annotate(OpenApi.Description, "Organization API keys and session-key grants").middleware(Authorization).prefix("/api-keys") {};
28
+
29
+ //#endregion
30
+ export { ApiKeyGroup };
31
+ //# sourceMappingURL=api-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key.js","names":[],"sources":["../../src/routes/api-key.ts"],"sourcesContent":["import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from \"effect/unstable/httpapi\";\n\nimport {\n ApiKeyCreationError,\n ApiKeyNotFoundError,\n SessionKeyNotFoundError,\n} from \"@namera-ai/protocol\";\nimport {\n CreateApiKeyRequest,\n CreateApiKeyResponse,\n GetApiKeyRequest,\n GetApiKeyResponse,\n ListApiKeysResponse,\n RevokeApiKeyRequest,\n RevokeApiKeyResponse,\n} from \"@namera-ai/protocol/dto\";\n\nimport { CommonErrors } from \"#/common\";\nimport { Authorization } from \"#/middlewares/index\";\n\nexport class ApiKeyGroup extends HttpApiGroup.make(\"apiKey\")\n .add(\n HttpApiEndpoint.post(\"create\", \"/\", {\n payload: CreateApiKeyRequest,\n success: CreateApiKeyResponse.pipe(HttpApiSchema.status(\"Created\")),\n error: [ApiKeyCreationError, SessionKeyNotFoundError, ...CommonErrors],\n }).annotate(OpenApi.Summary, \"Create an API key with session-key grants\"),\n HttpApiEndpoint.get(\"list\", \"/\", {\n success: ListApiKeysResponse,\n error: CommonErrors,\n }).annotate(OpenApi.Summary, \"List API keys for the active organization\"),\n HttpApiEndpoint.get(\"get\", \"/:apiKeyId\", {\n params: GetApiKeyRequest,\n success: GetApiKeyResponse,\n error: [ApiKeyNotFoundError, ...CommonErrors],\n }).annotate(OpenApi.Summary, \"Get an API key and its authorized session keys\"),\n HttpApiEndpoint.post(\"revoke\", \"/:apiKeyId/revoke\", {\n params: RevokeApiKeyRequest,\n success: RevokeApiKeyResponse,\n error: [ApiKeyNotFoundError, ...CommonErrors],\n }).annotate(OpenApi.Summary, \"Revoke an API key and all of its session-key grants\"),\n )\n .annotate(OpenApi.Description, \"Organization API keys and session-key grants\")\n .middleware(Authorization)\n .prefix(\"/api-keys\") {}\n"],"mappings":";;;;;;;AAoBA,IAAa,cAAb,cAAiC,aAAa,KAAK,QAAQ,CAAC,CACzD,IACC,gBAAgB,KAAK,UAAU,KAAK;CAClC,SAAS;CACT,SAAS,qBAAqB,KAAK,cAAc,OAAO,SAAS,CAAC;CAClE,OAAO;EAAC;EAAqB;EAAyB,GAAG;CAAY;AACvE,CAAC,CAAC,CAAC,SAAS,QAAQ,SAAS,2CAA2C,GACxE,gBAAgB,IAAI,QAAQ,KAAK;CAC/B,SAAS;CACT,OAAO;AACT,CAAC,CAAC,CAAC,SAAS,QAAQ,SAAS,2CAA2C,GACxE,gBAAgB,IAAI,OAAO,cAAc;CACvC,QAAQ;CACR,SAAS;CACT,OAAO,CAAC,qBAAqB,GAAG,YAAY;AAC9C,CAAC,CAAC,CAAC,SAAS,QAAQ,SAAS,gDAAgD,GAC7E,gBAAgB,KAAK,UAAU,qBAAqB;CAClD,QAAQ;CACR,SAAS;CACT,OAAO,CAAC,qBAAqB,GAAG,YAAY;AAC9C,CAAC,CAAC,CAAC,SAAS,QAAQ,SAAS,qDAAqD,CACpF,CAAC,CACA,SAAS,QAAQ,aAAa,8CAA8C,CAAC,CAC7E,WAAW,aAAa,CAAC,CACzB,OAAO,WAAW,CAAC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MagicLinkGroup } from "./magic-link.js";
2
+ import { SessionGroup } from "./session.js";
3
+ import { UserGroup } from "./user.js";
4
+ export { MagicLinkGroup, SessionGroup, UserGroup };
@@ -0,0 +1,34 @@
1
+ import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/unstable/httpapi";
2
+ import { Schema } from "effect";
3
+ //#region src/routes/auth/core/magic-link.d.ts
4
+ declare const MagicLinkGroup_base: HttpApiGroup.HttpApiGroup<"magicLink", HttpApiEndpoint.HttpApiEndpoint<"redeemInvite", "POST", "/auth/magic-link/redeem-invite", never, never, Schema.toCodecJson<Schema.Struct<{
5
+ readonly inviteCode: Schema.String;
6
+ }>>, never, HttpApiSchema.WithHeaders<Schema.toCodecJson<Schema.Struct<{
7
+ readonly returnTo: Schema.String;
8
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
9
+ "cache-control": Schema.Literal<"no-store">;
10
+ }>>>, Schema.toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof import("@namera-ai/protocol").InvalidMagicLinkError | typeof import("@namera-ai/protocol").MagicLinkAttemptsExceededError | typeof import("@namera-ai/protocol").BetaInviteRequiredError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"request", "POST", "/auth/magic-link/request", never, never, Schema.toCodecJson<Schema.Struct<{
11
+ readonly email: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "Email">;
12
+ readonly inviteCode: Schema.optional<Schema.String>;
13
+ readonly returnTo: Schema.optionalKey<Schema.String>;
14
+ }>>, never, HttpApiSchema.WithHeaders<Schema.toCodecJson<Schema.Struct<{
15
+ readonly message: Schema.Literal<"If this email can sign in, we sent a sign-in email.">;
16
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
17
+ "cache-control": Schema.Literal<"no-store">;
18
+ }>>>, Schema.toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof import("@namera-ai/protocol").InvalidMagicLinkError | typeof import("@namera-ai/protocol").MagicLinkAttemptsExceededError | typeof import("@namera-ai/protocol").BetaInviteRequiredError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"verify", "POST", "/auth/magic-link/verify", never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
19
+ readonly type: Schema.Literal<"token">;
20
+ readonly id: Schema.brand<Schema.String, "VerificationId">;
21
+ readonly token: Schema.String;
22
+ }>, Schema.Struct<{
23
+ readonly type: Schema.Literal<"code">;
24
+ readonly email: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "Email">;
25
+ readonly code: Schema.String;
26
+ }>]>>, never, HttpApiSchema.WithHeaders<Schema.toCodecJson<Schema.Struct<{
27
+ readonly returnTo: Schema.String;
28
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
29
+ "cache-control": Schema.Literal<"no-store">;
30
+ }>>>, Schema.toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof import("@namera-ai/protocol").InvalidMagicLinkError | typeof import("@namera-ai/protocol").MagicLinkAttemptsExceededError | typeof import("@namera-ai/protocol").BetaInviteRequiredError>, never, never>, false>;
31
+ declare class MagicLinkGroup extends MagicLinkGroup_base {}
32
+ //#endregion
33
+ export { MagicLinkGroup };
34
+ //# sourceMappingURL=magic-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"magic-link.d.ts","names":[],"sources":["../../../../src/routes/auth/core/magic-link.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBa,uBAAuB"}
@@ -0,0 +1,25 @@
1
+ import { CommonErrors } from "../../../common.js";
2
+ import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/unstable/httpapi";
3
+ import { Schema } from "effect";
4
+ import { MagicLinkErrors } from "@namera-ai/protocol";
5
+ import { RedeemBetaInviteRequest, RequestMagicLinkRequest, RequestMagicLinkResponse, VerifyMagicLinkRequest, VerifyMagicLinkResponse } from "@namera-ai/protocol/dto";
6
+
7
+ //#region src/routes/auth/core/magic-link.ts
8
+ const NoStoreHeaders = { "cache-control": Schema.Literal("no-store") };
9
+ var MagicLinkGroup = class extends HttpApiGroup.make("magicLink").add(HttpApiEndpoint.post("redeemInvite", "/redeem-invite", {
10
+ payload: RedeemBetaInviteRequest,
11
+ error: [...MagicLinkErrors, ...CommonErrors],
12
+ success: HttpApiSchema.WithHeaders(VerifyMagicLinkResponse, NoStoreHeaders)
13
+ }).annotate(OpenApi.Summary, "Complete email-verified signup using the restricted signup cookie"), HttpApiEndpoint.post("request", "/request", {
14
+ payload: RequestMagicLinkRequest,
15
+ error: [...MagicLinkErrors, ...CommonErrors],
16
+ success: HttpApiSchema.WithHeaders(RequestMagicLinkResponse.pipe(HttpApiSchema.status("Accepted")), NoStoreHeaders)
17
+ }).annotate(OpenApi.Summary, "Request a magic-link sign-in email"), HttpApiEndpoint.post("verify", "/verify", {
18
+ payload: VerifyMagicLinkRequest,
19
+ error: [...MagicLinkErrors, ...CommonErrors],
20
+ success: HttpApiSchema.WithHeaders(VerifyMagicLinkResponse, NoStoreHeaders)
21
+ }).annotate(OpenApi.Summary, "Verify a magic link or email code")).annotate(OpenApi.Description, "Passwordless authentication").prefix("/auth/magic-link") {};
22
+
23
+ //#endregion
24
+ export { MagicLinkGroup };
25
+ //# sourceMappingURL=magic-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"magic-link.js","names":[],"sources":["../../../../src/routes/auth/core/magic-link.ts"],"sourcesContent":["import { Schema } from \"effect\";\nimport { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from \"effect/unstable/httpapi\";\n\nimport { MagicLinkErrors } from \"@namera-ai/protocol\";\nimport {\n RequestMagicLinkRequest,\n RequestMagicLinkResponse,\n VerifyMagicLinkRequest,\n VerifyMagicLinkResponse,\n RedeemBetaInviteRequest,\n} from \"@namera-ai/protocol/dto\";\n\nimport { CommonErrors } from \"#/common\";\n\nconst NoStoreHeaders = {\n \"cache-control\": Schema.Literal(\"no-store\"),\n};\n\nexport class MagicLinkGroup extends HttpApiGroup.make(\"magicLink\")\n .add(\n HttpApiEndpoint.post(\"redeemInvite\", \"/redeem-invite\", {\n payload: RedeemBetaInviteRequest,\n error: [...MagicLinkErrors, ...CommonErrors],\n success: HttpApiSchema.WithHeaders(VerifyMagicLinkResponse, NoStoreHeaders),\n }).annotate(\n OpenApi.Summary,\n \"Complete email-verified signup using the restricted signup cookie\",\n ),\n HttpApiEndpoint.post(\"request\", \"/request\", {\n payload: RequestMagicLinkRequest,\n error: [...MagicLinkErrors, ...CommonErrors],\n success: HttpApiSchema.WithHeaders(\n RequestMagicLinkResponse.pipe(HttpApiSchema.status(\"Accepted\")),\n NoStoreHeaders,\n ),\n }).annotate(OpenApi.Summary, \"Request a magic-link sign-in email\"),\n HttpApiEndpoint.post(\"verify\", \"/verify\", {\n payload: VerifyMagicLinkRequest,\n error: [...MagicLinkErrors, ...CommonErrors],\n success: HttpApiSchema.WithHeaders(VerifyMagicLinkResponse, NoStoreHeaders),\n }).annotate(OpenApi.Summary, \"Verify a magic link or email code\"),\n )\n .annotate(OpenApi.Description, \"Passwordless authentication\")\n .prefix(\"/auth/magic-link\") {}\n"],"mappings":";;;;;;;AAcA,MAAM,iBAAiB,EACrB,iBAAiB,OAAO,QAAQ,UAAU,EAC5C;AAEA,IAAa,iBAAb,cAAoC,aAAa,KAAK,WAAW,CAAC,CAC/D,IACC,gBAAgB,KAAK,gBAAgB,kBAAkB;CACrD,SAAS;CACT,OAAO,CAAC,GAAG,iBAAiB,GAAG,YAAY;CAC3C,SAAS,cAAc,YAAY,yBAAyB,cAAc;AAC5E,CAAC,CAAC,CAAC,SACD,QAAQ,SACR,mEACF,GACA,gBAAgB,KAAK,WAAW,YAAY;CAC1C,SAAS;CACT,OAAO,CAAC,GAAG,iBAAiB,GAAG,YAAY;CAC3C,SAAS,cAAc,YACrB,yBAAyB,KAAK,cAAc,OAAO,UAAU,CAAC,GAC9D,cACF;AACF,CAAC,CAAC,CAAC,SAAS,QAAQ,SAAS,oCAAoC,GACjE,gBAAgB,KAAK,UAAU,WAAW;CACxC,SAAS;CACT,OAAO,CAAC,GAAG,iBAAiB,GAAG,YAAY;CAC3C,SAAS,cAAc,YAAY,yBAAyB,cAAc;AAC5E,CAAC,CAAC,CAAC,SAAS,QAAQ,SAAS,mCAAmC,CAClE,CAAC,CACA,SAAS,QAAQ,aAAa,6BAA6B,CAAC,CAC5D,OAAO,kBAAkB,CAAC,CAAC,CAAC"}