@plumix/core 0.1.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.
- package/LICENSE +21 -0
- package/README.md +12 -0
- package/dist/admin/index.d.ts +2 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/admin/index.js +2 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/admin/runtime.d.ts +23 -0
- package/dist/admin/runtime.d.ts.map +1 -0
- package/dist/admin/runtime.js +46 -0
- package/dist/admin/runtime.js.map +1 -0
- package/dist/admin-bar/build-tree.d.ts +3 -0
- package/dist/admin-bar/build-tree.d.ts.map +1 -0
- package/dist/admin-bar/build-tree.js +35 -0
- package/dist/admin-bar/build-tree.js.map +1 -0
- package/dist/admin-bar/collect.d.ts +4 -0
- package/dist/admin-bar/collect.d.ts.map +1 -0
- package/dist/admin-bar/collect.js +29 -0
- package/dist/admin-bar/collect.js.map +1 -0
- package/dist/admin-bar/component.d.ts +15 -0
- package/dist/admin-bar/component.d.ts.map +1 -0
- package/dist/admin-bar/component.js +65 -0
- package/dist/admin-bar/component.js.map +1 -0
- package/dist/admin-bar/core-contributors.d.ts +12 -0
- package/dist/admin-bar/core-contributors.d.ts.map +1 -0
- package/dist/admin-bar/core-contributors.js +147 -0
- package/dist/admin-bar/core-contributors.js.map +1 -0
- package/dist/admin-bar/i18n.d.ts +34 -0
- package/dist/admin-bar/i18n.d.ts.map +1 -0
- package/dist/admin-bar/i18n.js +85 -0
- package/dist/admin-bar/i18n.js.map +1 -0
- package/dist/admin-bar/styles.d.ts +5 -0
- package/dist/admin-bar/styles.d.ts.map +1 -0
- package/dist/admin-bar/styles.js +252 -0
- package/dist/admin-bar/styles.js.map +1 -0
- package/dist/admin-bar/types.d.ts +64 -0
- package/dist/admin-bar/types.d.ts.map +1 -0
- package/dist/admin-bar/types.js +8 -0
- package/dist/admin-bar/types.js.map +1 -0
- package/dist/auth/api-tokens.d.ts +84 -0
- package/dist/auth/api-tokens.d.ts.map +1 -0
- package/dist/auth/api-tokens.js +121 -0
- package/dist/auth/api-tokens.js.map +1 -0
- package/dist/auth/authenticator.d.ts +109 -0
- package/dist/auth/authenticator.d.ts.map +1 -0
- package/dist/auth/authenticator.js +98 -0
- package/dist/auth/authenticator.js.map +1 -0
- package/dist/auth/bearer.d.ts +9 -0
- package/dist/auth/bearer.d.ts.map +1 -0
- package/dist/auth/bearer.js +28 -0
- package/dist/auth/bearer.js.map +1 -0
- package/dist/auth/bootstrap.d.ts +14 -0
- package/dist/auth/bootstrap.d.ts.map +1 -0
- package/dist/auth/bootstrap.js +27 -0
- package/dist/auth/bootstrap.js.map +1 -0
- package/dist/auth/config.d.ts +96 -0
- package/dist/auth/config.d.ts.map +1 -0
- package/dist/auth/config.js +98 -0
- package/dist/auth/config.js.map +1 -0
- package/dist/auth/cookies.d.ts +29 -0
- package/dist/auth/cookies.d.ts.map +1 -0
- package/dist/auth/cookies.js +70 -0
- package/dist/auth/cookies.js.map +1 -0
- package/dist/auth/csrf.d.ts +42 -0
- package/dist/auth/csrf.d.ts.map +1 -0
- package/dist/auth/csrf.js +80 -0
- package/dist/auth/csrf.js.map +1 -0
- package/dist/auth/device-flow-routes.d.ts +28 -0
- package/dist/auth/device-flow-routes.d.ts.map +1 -0
- package/dist/auth/device-flow-routes.js +90 -0
- package/dist/auth/device-flow-routes.js.map +1 -0
- package/dist/auth/device-flow.d.ts +111 -0
- package/dist/auth/device-flow.d.ts.map +1 -0
- package/dist/auth/device-flow.js +221 -0
- package/dist/auth/device-flow.js.map +1 -0
- package/dist/auth/email/messages.d.ts +21 -0
- package/dist/auth/email/messages.d.ts.map +1 -0
- package/dist/auth/email/messages.js +91 -0
- package/dist/auth/email/messages.js.map +1 -0
- package/dist/auth/email-change/cancel.d.ts +15 -0
- package/dist/auth/email-change/cancel.d.ts.map +1 -0
- package/dist/auth/email-change/cancel.js +18 -0
- package/dist/auth/email-change/cancel.js.map +1 -0
- package/dist/auth/email-change/errors.d.ts +13 -0
- package/dist/auth/email-change/errors.d.ts.map +1 -0
- package/dist/auth/email-change/errors.js +45 -0
- package/dist/auth/email-change/errors.js.map +1 -0
- package/dist/auth/email-change/index.d.ts +5 -0
- package/dist/auth/email-change/index.d.ts.map +1 -0
- package/dist/auth/email-change/index.js +5 -0
- package/dist/auth/email-change/index.js.map +1 -0
- package/dist/auth/email-change/request.d.ts +55 -0
- package/dist/auth/email-change/request.d.ts.map +1 -0
- package/dist/auth/email-change/request.js +93 -0
- package/dist/auth/email-change/request.js.map +1 -0
- package/dist/auth/email-change/routes.d.ts +17 -0
- package/dist/auth/email-change/routes.d.ts.map +1 -0
- package/dist/auth/email-change/routes.js +63 -0
- package/dist/auth/email-change/routes.js.map +1 -0
- package/dist/auth/email-change/verify.d.ts +30 -0
- package/dist/auth/email-change/verify.d.ts.map +1 -0
- package/dist/auth/email-change/verify.js +81 -0
- package/dist/auth/email-change/verify.js.map +1 -0
- package/dist/auth/flow-routes.d.ts +15 -0
- package/dist/auth/flow-routes.d.ts.map +1 -0
- package/dist/auth/flow-routes.js +15 -0
- package/dist/auth/flow-routes.js.map +1 -0
- package/dist/auth/identity.d.ts +96 -0
- package/dist/auth/identity.d.ts.map +1 -0
- package/dist/auth/identity.js +145 -0
- package/dist/auth/identity.js.map +1 -0
- package/dist/auth/index.d.ts +16 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +16 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/invite.d.ts +25 -0
- package/dist/auth/invite.d.ts.map +1 -0
- package/dist/auth/invite.js +53 -0
- package/dist/auth/invite.js.map +1 -0
- package/dist/auth/magic-link/errors.d.ts +13 -0
- package/dist/auth/magic-link/errors.d.ts.map +1 -0
- package/dist/auth/magic-link/errors.js +40 -0
- package/dist/auth/magic-link/errors.js.map +1 -0
- package/dist/auth/magic-link/index.d.ts +4 -0
- package/dist/auth/magic-link/index.d.ts.map +1 -0
- package/dist/auth/magic-link/index.js +6 -0
- package/dist/auth/magic-link/index.js.map +1 -0
- package/dist/auth/magic-link/request.d.ts +57 -0
- package/dist/auth/magic-link/request.d.ts.map +1 -0
- package/dist/auth/magic-link/request.js +119 -0
- package/dist/auth/magic-link/request.js.map +1 -0
- package/dist/auth/magic-link/routes.d.ts +20 -0
- package/dist/auth/magic-link/routes.d.ts.map +1 -0
- package/dist/auth/magic-link/routes.js +121 -0
- package/dist/auth/magic-link/routes.js.map +1 -0
- package/dist/auth/magic-link/verify.d.ts +43 -0
- package/dist/auth/magic-link/verify.d.ts.map +1 -0
- package/dist/auth/magic-link/verify.js +80 -0
- package/dist/auth/magic-link/verify.js.map +1 -0
- package/dist/auth/mailer/console.d.ts +22 -0
- package/dist/auth/mailer/console.d.ts.map +1 -0
- package/dist/auth/mailer/console.js +24 -0
- package/dist/auth/mailer/console.js.map +1 -0
- package/dist/auth/mailer/index.d.ts +4 -0
- package/dist/auth/mailer/index.d.ts.map +1 -0
- package/dist/auth/mailer/index.js +2 -0
- package/dist/auth/mailer/index.js.map +1 -0
- package/dist/auth/mailer/resolve.d.ts +12 -0
- package/dist/auth/mailer/resolve.d.ts.map +1 -0
- package/dist/auth/mailer/resolve.js +5 -0
- package/dist/auth/mailer/resolve.js.map +1 -0
- package/dist/auth/mailer/types.d.ts +25 -0
- package/dist/auth/mailer/types.d.ts.map +1 -0
- package/dist/auth/mailer/types.js +1 -0
- package/dist/auth/mailer/types.js.map +1 -0
- package/dist/auth/oauth/consumer.d.ts +37 -0
- package/dist/auth/oauth/consumer.d.ts.map +1 -0
- package/dist/auth/oauth/consumer.js +136 -0
- package/dist/auth/oauth/consumer.js.map +1 -0
- package/dist/auth/oauth/errors.d.ts +22 -0
- package/dist/auth/oauth/errors.d.ts.map +1 -0
- package/dist/auth/oauth/errors.js +57 -0
- package/dist/auth/oauth/errors.js.map +1 -0
- package/dist/auth/oauth/index.d.ts +7 -0
- package/dist/auth/oauth/index.d.ts.map +1 -0
- package/dist/auth/oauth/index.js +22 -0
- package/dist/auth/oauth/index.js.map +1 -0
- package/dist/auth/oauth/match.d.ts +19 -0
- package/dist/auth/oauth/match.d.ts.map +1 -0
- package/dist/auth/oauth/match.js +28 -0
- package/dist/auth/oauth/match.js.map +1 -0
- package/dist/auth/oauth/pkce.d.ts +3 -0
- package/dist/auth/oauth/pkce.d.ts.map +1 -0
- package/dist/auth/oauth/pkce.js +13 -0
- package/dist/auth/oauth/pkce.js.map +1 -0
- package/dist/auth/oauth/providers/github.d.ts +3 -0
- package/dist/auth/oauth/providers/github.d.ts.map +1 -0
- package/dist/auth/oauth/providers/github.js +39 -0
- package/dist/auth/oauth/providers/github.js.map +1 -0
- package/dist/auth/oauth/providers/google.d.ts +3 -0
- package/dist/auth/oauth/providers/google.d.ts.map +1 -0
- package/dist/auth/oauth/providers/google.js +26 -0
- package/dist/auth/oauth/providers/google.js.map +1 -0
- package/dist/auth/oauth/providers/index.d.ts +3 -0
- package/dist/auth/oauth/providers/index.d.ts.map +1 -0
- package/dist/auth/oauth/providers/index.js +3 -0
- package/dist/auth/oauth/providers/index.js.map +1 -0
- package/dist/auth/oauth/routes.d.ts +5 -0
- package/dist/auth/oauth/routes.d.ts.map +1 -0
- package/dist/auth/oauth/routes.js +134 -0
- package/dist/auth/oauth/routes.js.map +1 -0
- package/dist/auth/oauth/signup.d.ts +40 -0
- package/dist/auth/oauth/signup.d.ts.map +1 -0
- package/dist/auth/oauth/signup.js +92 -0
- package/dist/auth/oauth/signup.js.map +1 -0
- package/dist/auth/oauth/state.d.ts +19 -0
- package/dist/auth/oauth/state.d.ts.map +1 -0
- package/dist/auth/oauth/state.js +48 -0
- package/dist/auth/oauth/state.js.map +1 -0
- package/dist/auth/oauth/types.d.ts +81 -0
- package/dist/auth/oauth/types.d.ts.map +1 -0
- package/dist/auth/oauth/types.js +6 -0
- package/dist/auth/oauth/types.js.map +1 -0
- package/dist/auth/passkey/authenticate.d.ts +26 -0
- package/dist/auth/passkey/authenticate.d.ts.map +1 -0
- package/dist/auth/passkey/authenticate.js +124 -0
- package/dist/auth/passkey/authenticate.js.map +1 -0
- package/dist/auth/passkey/challenges.d.ts +31 -0
- package/dist/auth/passkey/challenges.d.ts.map +1 -0
- package/dist/auth/passkey/challenges.js +57 -0
- package/dist/auth/passkey/challenges.js.map +1 -0
- package/dist/auth/passkey/config.d.ts +18 -0
- package/dist/auth/passkey/config.d.ts.map +1 -0
- package/dist/auth/passkey/config.js +14 -0
- package/dist/auth/passkey/config.js.map +1 -0
- package/dist/auth/passkey/errors.d.ts +41 -0
- package/dist/auth/passkey/errors.d.ts.map +1 -0
- package/dist/auth/passkey/errors.js +85 -0
- package/dist/auth/passkey/errors.js.map +1 -0
- package/dist/auth/passkey/index.d.ts +7 -0
- package/dist/auth/passkey/index.d.ts.map +1 -0
- package/dist/auth/passkey/index.js +7 -0
- package/dist/auth/passkey/index.js.map +1 -0
- package/dist/auth/passkey/register.d.ts +39 -0
- package/dist/auth/passkey/register.d.ts.map +1 -0
- package/dist/auth/passkey/register.js +175 -0
- package/dist/auth/passkey/register.js.map +1 -0
- package/dist/auth/passkey/routes.d.ts +10 -0
- package/dist/auth/passkey/routes.d.ts.map +1 -0
- package/dist/auth/passkey/routes.js +450 -0
- package/dist/auth/passkey/routes.js.map +1 -0
- package/dist/auth/passkey/types.d.ts +59 -0
- package/dist/auth/passkey/types.d.ts.map +1 -0
- package/dist/auth/passkey/types.js +1 -0
- package/dist/auth/passkey/types.js.map +1 -0
- package/dist/auth/preview-token.d.ts +21 -0
- package/dist/auth/preview-token.d.ts.map +1 -0
- package/dist/auth/preview-token.js +43 -0
- package/dist/auth/preview-token.js.map +1 -0
- package/dist/auth/rbac.d.ts +81 -0
- package/dist/auth/rbac.d.ts.map +1 -0
- package/dist/auth/rbac.js +166 -0
- package/dist/auth/rbac.js.map +1 -0
- package/dist/auth/sessions.d.ts +69 -0
- package/dist/auth/sessions.d.ts.map +1 -0
- package/dist/auth/sessions.js +147 -0
- package/dist/auth/sessions.js.map +1 -0
- package/dist/auth/sign-in.d.ts +21 -0
- package/dist/auth/sign-in.d.ts.map +1 -0
- package/dist/auth/sign-in.js +26 -0
- package/dist/auth/sign-in.js.map +1 -0
- package/dist/auth/tokens.d.ts +9 -0
- package/dist/auth/tokens.d.ts.map +1 -0
- package/dist/auth/tokens.js +23 -0
- package/dist/auth/tokens.js.map +1 -0
- package/dist/base-path.d.ts +36 -0
- package/dist/base-path.d.ts.map +1 -0
- package/dist/base-path.js +57 -0
- package/dist/base-path.js.map +1 -0
- package/dist/cache/decision.d.ts +34 -0
- package/dist/cache/decision.d.ts.map +1 -0
- package/dist/cache/decision.js +47 -0
- package/dist/cache/decision.js.map +1 -0
- package/dist/cache/purge.d.ts +17 -0
- package/dist/cache/purge.d.ts.map +1 -0
- package/dist/cache/purge.js +82 -0
- package/dist/cache/purge.js.map +1 -0
- package/dist/cache/read-through.d.ts +30 -0
- package/dist/cache/read-through.d.ts.map +1 -0
- package/dist/cache/read-through.js +28 -0
- package/dist/cache/read-through.js.map +1 -0
- package/dist/cache/tags.d.ts +30 -0
- package/dist/cache/tags.d.ts.map +1 -0
- package/dist/cache/tags.js +46 -0
- package/dist/cache/tags.js.map +1 -0
- package/dist/cli/errors.d.ts +75 -0
- package/dist/cli/errors.d.ts.map +1 -0
- package/dist/cli/errors.js +85 -0
- package/dist/cli/errors.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +5 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/schema-codegen.d.ts +8 -0
- package/dist/cli/schema-codegen.d.ts.map +1 -0
- package/dist/cli/schema-codegen.js +21 -0
- package/dist/cli/schema-codegen.js.map +1 -0
- package/dist/cli/spawn.d.ts +7 -0
- package/dist/cli/spawn.d.ts.map +1 -0
- package/dist/cli/spawn.js +22 -0
- package/dist/cli/spawn.js.map +1 -0
- package/dist/cli/worker-codegen.d.ts +5 -0
- package/dist/cli/worker-codegen.d.ts.map +1 -0
- package/dist/cli/worker-codegen.js +41 -0
- package/dist/cli/worker-codegen.js.map +1 -0
- package/dist/config.d.ts +141 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.errors.d.ts +13 -0
- package/dist/config.errors.d.ts.map +1 -0
- package/dist/config.errors.js +20 -0
- package/dist/config.errors.js.map +1 -0
- package/dist/config.js +36 -0
- package/dist/config.js.map +1 -0
- package/dist/context/app.d.ts +260 -0
- package/dist/context/app.d.ts.map +1 -0
- package/dist/context/app.js +149 -0
- package/dist/context/app.js.map +1 -0
- package/dist/context/errors.d.ts +16 -0
- package/dist/context/errors.d.ts.map +1 -0
- package/dist/context/errors.js +27 -0
- package/dist/context/errors.js.map +1 -0
- package/dist/context/index.d.ts +3 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +3 -0
- package/dist/context/index.js.map +1 -0
- package/dist/context/stores.d.ts +19 -0
- package/dist/context/stores.d.ts.map +1 -0
- package/dist/context/stores.js +19 -0
- package/dist/context/stores.js.map +1 -0
- package/dist/db/errors.d.ts +2 -0
- package/dist/db/errors.d.ts.map +1 -0
- package/dist/db/errors.js +69 -0
- package/dist/db/errors.js.map +1 -0
- package/dist/db/index.d.ts +4 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +3 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db/libsql.d.ts +30 -0
- package/dist/db/libsql.d.ts.map +1 -0
- package/dist/db/libsql.js +33 -0
- package/dist/db/libsql.js.map +1 -0
- package/dist/db/schema/allowed_domains.d.ts +230 -0
- package/dist/db/schema/allowed_domains.d.ts.map +1 -0
- package/dist/db/schema/allowed_domains.js +16 -0
- package/dist/db/schema/allowed_domains.js.map +1 -0
- package/dist/db/schema/api_tokens.d.ts +497 -0
- package/dist/db/schema/api_tokens.d.ts.map +1 -0
- package/dist/db/schema/api_tokens.js +72 -0
- package/dist/db/schema/api_tokens.js.map +1 -0
- package/dist/db/schema/auth_tokens.d.ts +505 -0
- package/dist/db/schema/auth_tokens.d.ts.map +1 -0
- package/dist/db/schema/auth_tokens.js +36 -0
- package/dist/db/schema/auth_tokens.js.map +1 -0
- package/dist/db/schema/credentials.d.ts +551 -0
- package/dist/db/schema/credentials.d.ts.map +1 -0
- package/dist/db/schema/credentials.js +32 -0
- package/dist/db/schema/credentials.js.map +1 -0
- package/dist/db/schema/device_codes.d.ts +454 -0
- package/dist/db/schema/device_codes.d.ts.map +1 -0
- package/dist/db/schema/device_codes.js +96 -0
- package/dist/db/schema/device_codes.js.map +1 -0
- package/dist/db/schema/entries.d.ts +779 -0
- package/dist/db/schema/entries.d.ts.map +1 -0
- package/dist/db/schema/entries.js +53 -0
- package/dist/db/schema/entries.js.map +1 -0
- package/dist/db/schema/entry_term.d.ts +167 -0
- package/dist/db/schema/entry_term.d.ts.map +1 -0
- package/dist/db/schema/entry_term.js +21 -0
- package/dist/db/schema/entry_term.js.map +1 -0
- package/dist/db/schema/index.d.ts +13 -0
- package/dist/db/schema/index.d.ts.map +1 -0
- package/dist/db/schema/index.js +13 -0
- package/dist/db/schema/index.js.map +1 -0
- package/dist/db/schema/oauth_accounts.d.ts +230 -0
- package/dist/db/schema/oauth_accounts.d.ts.map +1 -0
- package/dist/db/schema/oauth_accounts.js +22 -0
- package/dist/db/schema/oauth_accounts.js.map +1 -0
- package/dist/db/schema/sessions.d.ts +338 -0
- package/dist/db/schema/sessions.d.ts.map +1 -0
- package/dist/db/schema/sessions.js +24 -0
- package/dist/db/schema/sessions.js.map +1 -0
- package/dist/db/schema/settings.d.ts +185 -0
- package/dist/db/schema/settings.d.ts.map +1 -0
- package/dist/db/schema/settings.js +16 -0
- package/dist/db/schema/settings.js.map +1 -0
- package/dist/db/schema/terms.d.ts +452 -0
- package/dist/db/schema/terms.d.ts.map +1 -0
- package/dist/db/schema/terms.js +28 -0
- package/dist/db/schema/terms.js.map +1 -0
- package/dist/db/schema/users.d.ts +556 -0
- package/dist/db/schema/users.d.ts.map +1 -0
- package/dist/db/schema/users.js +36 -0
- package/dist/db/schema/users.js.map +1 -0
- package/dist/document-merge.d.ts +21 -0
- package/dist/document-merge.d.ts.map +1 -0
- package/dist/document-merge.js +51 -0
- package/dist/document-merge.js.map +1 -0
- package/dist/entries/errors.d.ts +22 -0
- package/dist/entries/errors.d.ts.map +1 -0
- package/dist/entries/errors.js +26 -0
- package/dist/entries/errors.js.map +1 -0
- package/dist/entries/read-service.d.ts +25 -0
- package/dist/entries/read-service.d.ts.map +1 -0
- package/dist/entries/read-service.js +159 -0
- package/dist/entries/read-service.js.map +1 -0
- package/dist/hooks/block-render.d.ts +30 -0
- package/dist/hooks/block-render.d.ts.map +1 -0
- package/dist/hooks/block-render.js +11 -0
- package/dist/hooks/block-render.js.map +1 -0
- package/dist/hooks/errors.d.ts +9 -0
- package/dist/hooks/errors.d.ts.map +1 -0
- package/dist/hooks/errors.js +19 -0
- package/dist/hooks/errors.js.map +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/registry.d.ts +51 -0
- package/dist/hooks/registry.d.ts.map +1 -0
- package/dist/hooks/registry.js +104 -0
- package/dist/hooks/registry.js.map +1 -0
- package/dist/hooks/types.d.ts +17 -0
- package/dist/hooks/types.d.ts.map +1 -0
- package/dist/hooks/types.js +8 -0
- package/dist/hooks/types.js.map +1 -0
- package/dist/i18n/accept-language.d.ts +3 -0
- package/dist/i18n/accept-language.d.ts.map +1 -0
- package/dist/i18n/accept-language.js +61 -0
- package/dist/i18n/accept-language.js.map +1 -0
- package/dist/i18n/context.d.ts +10 -0
- package/dist/i18n/context.d.ts.map +1 -0
- package/dist/i18n/context.js +9 -0
- package/dist/i18n/context.js.map +1 -0
- package/dist/i18n/cookie.d.ts +8 -0
- package/dist/i18n/cookie.d.ts.map +1 -0
- package/dist/i18n/cookie.js +27 -0
- package/dist/i18n/cookie.js.map +1 -0
- package/dist/i18n/errors.d.ts +16 -0
- package/dist/i18n/errors.d.ts.map +1 -0
- package/dist/i18n/errors.js +28 -0
- package/dist/i18n/errors.js.map +1 -0
- package/dist/i18n/format.d.ts +13 -0
- package/dist/i18n/format.d.ts.map +1 -0
- package/dist/i18n/format.js +37 -0
- package/dist/i18n/format.js.map +1 -0
- package/dist/i18n/generic-type-labels.d.ts +209 -0
- package/dist/i18n/generic-type-labels.d.ts.map +1 -0
- package/dist/i18n/generic-type-labels.js +125 -0
- package/dist/i18n/generic-type-labels.js.map +1 -0
- package/dist/i18n/index.d.ts +10 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +19 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/label.d.ts +15 -0
- package/dist/i18n/label.d.ts.map +1 -0
- package/dist/i18n/label.js +25 -0
- package/dist/i18n/label.js.map +1 -0
- package/dist/i18n/load-catalog.d.ts +26 -0
- package/dist/i18n/load-catalog.d.ts.map +1 -0
- package/dist/i18n/load-catalog.js +54 -0
- package/dist/i18n/load-catalog.js.map +1 -0
- package/dist/i18n/locale-registry.d.ts +33 -0
- package/dist/i18n/locale-registry.d.ts.map +1 -0
- package/dist/i18n/locale-registry.js +72 -0
- package/dist/i18n/locale-registry.js.map +1 -0
- package/dist/i18n/resolve-locale.d.ts +10 -0
- package/dist/i18n/resolve-locale.d.ts.map +1 -0
- package/dist/i18n/resolve-locale.js +29 -0
- package/dist/i18n/resolve-locale.js.map +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/content-tools.d.ts +182 -0
- package/dist/mcp/content-tools.d.ts.map +1 -0
- package/dist/mcp/content-tools.js +67 -0
- package/dist/mcp/content-tools.js.map +1 -0
- package/dist/mcp/dispatch.d.ts +12 -0
- package/dist/mcp/dispatch.d.ts.map +1 -0
- package/dist/mcp/dispatch.js +30 -0
- package/dist/mcp/dispatch.js.map +1 -0
- package/dist/mcp/errors.d.ts +29 -0
- package/dist/mcp/errors.d.ts.map +1 -0
- package/dist/mcp/errors.js +36 -0
- package/dist/mcp/errors.js.map +1 -0
- package/dist/mcp/index.d.ts +3 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +2 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/registry.d.ts +13 -0
- package/dist/mcp/registry.d.ts.map +1 -0
- package/dist/mcp/registry.js +28 -0
- package/dist/mcp/registry.js.map +1 -0
- package/dist/mcp/schema-describe.d.ts +13 -0
- package/dist/mcp/schema-describe.d.ts.map +1 -0
- package/dist/mcp/schema-describe.js +49 -0
- package/dist/mcp/schema-describe.js.map +1 -0
- package/dist/mcp/schema-projection.d.ts +5 -0
- package/dist/mcp/schema-projection.d.ts.map +1 -0
- package/dist/mcp/schema-projection.js +11 -0
- package/dist/mcp/schema-projection.js.map +1 -0
- package/dist/mcp/server.d.ts +7 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +40 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/term-tools.d.ts +59 -0
- package/dist/mcp/term-tools.d.ts.map +1 -0
- package/dist/mcp/term-tools.js +77 -0
- package/dist/mcp/term-tools.js.map +1 -0
- package/dist/mcp/tool.d.ts +20 -0
- package/dist/mcp/tool.d.ts.map +1 -0
- package/dist/mcp/tool.js +1 -0
- package/dist/mcp/tool.js.map +1 -0
- package/dist/plugin/define.d.ts +77 -0
- package/dist/plugin/define.d.ts.map +1 -0
- package/dist/plugin/define.js +74 -0
- package/dist/plugin/define.js.map +1 -0
- package/dist/plugin/errors.d.ts +265 -0
- package/dist/plugin/errors.d.ts.map +1 -0
- package/dist/plugin/errors.js +330 -0
- package/dist/plugin/errors.js.map +1 -0
- package/dist/plugin/fields/checkbox.d.ts +19 -0
- package/dist/plugin/fields/checkbox.d.ts.map +1 -0
- package/dist/plugin/fields/checkbox.js +20 -0
- package/dist/plugin/fields/checkbox.js.map +1 -0
- package/dist/plugin/fields/color.d.ts +28 -0
- package/dist/plugin/fields/color.d.ts.map +1 -0
- package/dist/plugin/fields/color.js +30 -0
- package/dist/plugin/fields/color.js.map +1 -0
- package/dist/plugin/fields/date.d.ts +24 -0
- package/dist/plugin/fields/date.d.ts.map +1 -0
- package/dist/plugin/fields/date.js +23 -0
- package/dist/plugin/fields/date.js.map +1 -0
- package/dist/plugin/fields/datetime.d.ts +26 -0
- package/dist/plugin/fields/datetime.d.ts.map +1 -0
- package/dist/plugin/fields/datetime.js +25 -0
- package/dist/plugin/fields/datetime.js.map +1 -0
- package/dist/plugin/fields/email.d.ts +17 -0
- package/dist/plugin/fields/email.d.ts.map +1 -0
- package/dist/plugin/fields/email.js +18 -0
- package/dist/plugin/fields/email.js.map +1 -0
- package/dist/plugin/fields/entry-list.d.ts +28 -0
- package/dist/plugin/fields/entry-list.d.ts.map +1 -0
- package/dist/plugin/fields/entry-list.js +31 -0
- package/dist/plugin/fields/entry-list.js.map +1 -0
- package/dist/plugin/fields/entry.d.ts +40 -0
- package/dist/plugin/fields/entry.d.ts.map +1 -0
- package/dist/plugin/fields/entry.js +25 -0
- package/dist/plugin/fields/entry.js.map +1 -0
- package/dist/plugin/fields/errors.d.ts +35 -0
- package/dist/plugin/fields/errors.d.ts.map +1 -0
- package/dist/plugin/fields/errors.js +41 -0
- package/dist/plugin/fields/errors.js.map +1 -0
- package/dist/plugin/fields/index.d.ts +50 -0
- package/dist/plugin/fields/index.d.ts.map +1 -0
- package/dist/plugin/fields/index.js +37 -0
- package/dist/plugin/fields/index.js.map +1 -0
- package/dist/plugin/fields/json.d.ts +19 -0
- package/dist/plugin/fields/json.d.ts.map +1 -0
- package/dist/plugin/fields/json.js +20 -0
- package/dist/plugin/fields/json.js.map +1 -0
- package/dist/plugin/fields/multiselect.d.ts +21 -0
- package/dist/plugin/fields/multiselect.d.ts.map +1 -0
- package/dist/plugin/fields/multiselect.js +43 -0
- package/dist/plugin/fields/multiselect.js.map +1 -0
- package/dist/plugin/fields/number.d.ts +23 -0
- package/dist/plugin/fields/number.d.ts.map +1 -0
- package/dist/plugin/fields/number.js +24 -0
- package/dist/plugin/fields/number.js.map +1 -0
- package/dist/plugin/fields/parse-date.d.ts +7 -0
- package/dist/plugin/fields/parse-date.d.ts.map +1 -0
- package/dist/plugin/fields/parse-date.js +42 -0
- package/dist/plugin/fields/parse-date.js.map +1 -0
- package/dist/plugin/fields/password.d.ts +24 -0
- package/dist/plugin/fields/password.d.ts.map +1 -0
- package/dist/plugin/fields/password.js +25 -0
- package/dist/plugin/fields/password.js.map +1 -0
- package/dist/plugin/fields/radio.d.ts +16 -0
- package/dist/plugin/fields/radio.d.ts.map +1 -0
- package/dist/plugin/fields/radio.js +17 -0
- package/dist/plugin/fields/radio.js.map +1 -0
- package/dist/plugin/fields/range.d.ts +28 -0
- package/dist/plugin/fields/range.d.ts.map +1 -0
- package/dist/plugin/fields/range.js +46 -0
- package/dist/plugin/fields/range.js.map +1 -0
- package/dist/plugin/fields/repeater-validate.d.ts +34 -0
- package/dist/plugin/fields/repeater-validate.d.ts.map +1 -0
- package/dist/plugin/fields/repeater-validate.js +104 -0
- package/dist/plugin/fields/repeater-validate.js.map +1 -0
- package/dist/plugin/fields/repeater.d.ts +16 -0
- package/dist/plugin/fields/repeater.d.ts.map +1 -0
- package/dist/plugin/fields/repeater.js +68 -0
- package/dist/plugin/fields/repeater.js.map +1 -0
- package/dist/plugin/fields/richtext-validate.d.ts +61 -0
- package/dist/plugin/fields/richtext-validate.d.ts.map +1 -0
- package/dist/plugin/fields/richtext-validate.js +190 -0
- package/dist/plugin/fields/richtext-validate.js.map +1 -0
- package/dist/plugin/fields/richtext.d.ts +25 -0
- package/dist/plugin/fields/richtext.d.ts.map +1 -0
- package/dist/plugin/fields/richtext.js +31 -0
- package/dist/plugin/fields/richtext.js.map +1 -0
- package/dist/plugin/fields/select.d.ts +20 -0
- package/dist/plugin/fields/select.d.ts.map +1 -0
- package/dist/plugin/fields/select.js +21 -0
- package/dist/plugin/fields/select.js.map +1 -0
- package/dist/plugin/fields/term-list.d.ts +27 -0
- package/dist/plugin/fields/term-list.d.ts.map +1 -0
- package/dist/plugin/fields/term-list.js +30 -0
- package/dist/plugin/fields/term-list.js.map +1 -0
- package/dist/plugin/fields/term.d.ts +34 -0
- package/dist/plugin/fields/term.d.ts.map +1 -0
- package/dist/plugin/fields/term.js +24 -0
- package/dist/plugin/fields/term.js.map +1 -0
- package/dist/plugin/fields/text.d.ts +37 -0
- package/dist/plugin/fields/text.d.ts.map +1 -0
- package/dist/plugin/fields/text.js +31 -0
- package/dist/plugin/fields/text.js.map +1 -0
- package/dist/plugin/fields/textarea.d.ts +20 -0
- package/dist/plugin/fields/textarea.d.ts.map +1 -0
- package/dist/plugin/fields/textarea.js +21 -0
- package/dist/plugin/fields/textarea.js.map +1 -0
- package/dist/plugin/fields/time.d.ts +24 -0
- package/dist/plugin/fields/time.d.ts.map +1 -0
- package/dist/plugin/fields/time.js +23 -0
- package/dist/plugin/fields/time.js.map +1 -0
- package/dist/plugin/fields/url.d.ts +17 -0
- package/dist/plugin/fields/url.d.ts.map +1 -0
- package/dist/plugin/fields/url.js +18 -0
- package/dist/plugin/fields/url.js.map +1 -0
- package/dist/plugin/fields/user-list.d.ts +29 -0
- package/dist/plugin/fields/user-list.d.ts.map +1 -0
- package/dist/plugin/fields/user-list.js +31 -0
- package/dist/plugin/fields/user-list.js.map +1 -0
- package/dist/plugin/fields/user.d.ts +43 -0
- package/dist/plugin/fields/user.d.ts.map +1 -0
- package/dist/plugin/fields/user.js +30 -0
- package/dist/plugin/fields/user.js.map +1 -0
- package/dist/plugin/index.d.ts +7 -0
- package/dist/plugin/index.d.ts.map +1 -0
- package/dist/plugin/index.js +7 -0
- package/dist/plugin/index.js.map +1 -0
- package/dist/plugin/lookup.d.ts +92 -0
- package/dist/plugin/lookup.d.ts.map +1 -0
- package/dist/plugin/lookup.js +1 -0
- package/dist/plugin/lookup.js.map +1 -0
- package/dist/plugin/manifest.d.ts +1539 -0
- package/dist/plugin/manifest.d.ts.map +1 -0
- package/dist/plugin/manifest.js +913 -0
- package/dist/plugin/manifest.js.map +1 -0
- package/dist/plugin/provides-context.d.ts +26 -0
- package/dist/plugin/provides-context.d.ts.map +1 -0
- package/dist/plugin/provides-context.js +77 -0
- package/dist/plugin/provides-context.js.map +1 -0
- package/dist/plugin/register.d.ts +24 -0
- package/dist/plugin/register.d.ts.map +1 -0
- package/dist/plugin/register.js +45 -0
- package/dist/plugin/register.js.map +1 -0
- package/dist/plugin/setup-context.d.ts +224 -0
- package/dist/plugin/setup-context.d.ts.map +1 -0
- package/dist/plugin/setup-context.js +386 -0
- package/dist/plugin/setup-context.js.map +1 -0
- package/dist/plugin/validation/component-ref.d.ts +2 -0
- package/dist/plugin/validation/component-ref.d.ts.map +1 -0
- package/dist/plugin/validation/component-ref.js +7 -0
- package/dist/plugin/validation/component-ref.js.map +1 -0
- package/dist/plugin/validation/identifiers.d.ts +7 -0
- package/dist/plugin/validation/identifiers.d.ts.map +1 -0
- package/dist/plugin/validation/identifiers.js +92 -0
- package/dist/plugin/validation/identifiers.js.map +1 -0
- package/dist/plugin/validation/index.d.ts +7 -0
- package/dist/plugin/validation/index.d.ts.map +1 -0
- package/dist/plugin/validation/index.js +7 -0
- package/dist/plugin/validation/index.js.map +1 -0
- package/dist/plugin/validation/login-link.d.ts +3 -0
- package/dist/plugin/validation/login-link.d.ts.map +1 -0
- package/dist/plugin/validation/login-link.js +43 -0
- package/dist/plugin/validation/login-link.js.map +1 -0
- package/dist/plugin/validation/meta-box-fields.d.ts +6 -0
- package/dist/plugin/validation/meta-box-fields.d.ts.map +1 -0
- package/dist/plugin/validation/meta-box-fields.js +52 -0
- package/dist/plugin/validation/meta-box-fields.js.map +1 -0
- package/dist/plugin/validation/paths.d.ts +4 -0
- package/dist/plugin/validation/paths.d.ts.map +1 -0
- package/dist/plugin/validation/paths.js +44 -0
- package/dist/plugin/validation/paths.js.map +1 -0
- package/dist/plugin/validation/scheduled-task.d.ts +3 -0
- package/dist/plugin/validation/scheduled-task.d.ts.map +1 -0
- package/dist/plugin/validation/scheduled-task.js +14 -0
- package/dist/plugin/validation/scheduled-task.js.map +1 -0
- package/dist/rest/base.d.ts +27 -0
- package/dist/rest/base.d.ts.map +1 -0
- package/dist/rest/base.js +4 -0
- package/dist/rest/base.js.map +1 -0
- package/dist/rest/build-handler.d.ts +11 -0
- package/dist/rest/build-handler.d.ts.map +1 -0
- package/dist/rest/build-handler.js +53 -0
- package/dist/rest/build-handler.js.map +1 -0
- package/dist/rest/cors.d.ts +11 -0
- package/dist/rest/cors.d.ts.map +1 -0
- package/dist/rest/cors.js +58 -0
- package/dist/rest/cors.js.map +1 -0
- package/dist/rest/entries-resource.d.ts +44 -0
- package/dist/rest/entries-resource.d.ts.map +1 -0
- package/dist/rest/entries-resource.js +79 -0
- package/dist/rest/entries-resource.js.map +1 -0
- package/dist/rest/envelope.d.ts +18 -0
- package/dist/rest/envelope.d.ts.map +1 -0
- package/dist/rest/envelope.js +20 -0
- package/dist/rest/envelope.js.map +1 -0
- package/dist/rest/errors.d.ts +21 -0
- package/dist/rest/errors.d.ts.map +1 -0
- package/dist/rest/errors.js +16 -0
- package/dist/rest/errors.js.map +1 -0
- package/dist/rest/openapi.d.ts +4 -0
- package/dist/rest/openapi.d.ts.map +1 -0
- package/dist/rest/openapi.js +13 -0
- package/dist/rest/openapi.js.map +1 -0
- package/dist/rest/plugin-resources.d.ts +3 -0
- package/dist/rest/plugin-resources.d.ts.map +1 -0
- package/dist/rest/plugin-resources.js +37 -0
- package/dist/rest/plugin-resources.js.map +1 -0
- package/dist/rest/principal.d.ts +19 -0
- package/dist/rest/principal.d.ts.map +1 -0
- package/dist/rest/principal.js +27 -0
- package/dist/rest/principal.js.map +1 -0
- package/dist/rest/projection.d.ts +22 -0
- package/dist/rest/projection.d.ts.map +1 -0
- package/dist/rest/projection.js +99 -0
- package/dist/rest/projection.js.map +1 -0
- package/dist/rest/rest-base.d.ts +14 -0
- package/dist/rest/rest-base.d.ts.map +1 -0
- package/dist/rest/rest-base.js +36 -0
- package/dist/rest/rest-base.js.map +1 -0
- package/dist/rest/rest-routes.d.ts +14 -0
- package/dist/rest/rest-routes.d.ts.map +1 -0
- package/dist/rest/rest-routes.js +32 -0
- package/dist/rest/rest-routes.js.map +1 -0
- package/dist/rest/router.d.ts +117 -0
- package/dist/rest/router.d.ts.map +1 -0
- package/dist/rest/router.js +47 -0
- package/dist/rest/router.js.map +1 -0
- package/dist/rest/schemas.d.ts +102 -0
- package/dist/rest/schemas.d.ts.map +1 -0
- package/dist/rest/schemas.js +72 -0
- package/dist/rest/schemas.js.map +1 -0
- package/dist/rest/terms-resource.d.ts +22 -0
- package/dist/rest/terms-resource.d.ts.map +1 -0
- package/dist/rest/terms-resource.js +44 -0
- package/dist/rest/terms-resource.js.map +1 -0
- package/dist/revisions/errors.d.ts +6 -0
- package/dist/revisions/errors.d.ts.map +1 -0
- package/dist/revisions/errors.js +14 -0
- package/dist/revisions/errors.js.map +1 -0
- package/dist/revisions/repository.d.ts +55 -0
- package/dist/revisions/repository.d.ts.map +1 -0
- package/dist/revisions/repository.js +212 -0
- package/dist/revisions/repository.js.map +1 -0
- package/dist/revisions/slug-codec.d.ts +19 -0
- package/dist/revisions/slug-codec.d.ts.map +1 -0
- package/dist/revisions/slug-codec.js +61 -0
- package/dist/revisions/slug-codec.js.map +1 -0
- package/dist/revisions/snapshot-envelope.d.ts +20 -0
- package/dist/revisions/snapshot-envelope.d.ts.map +1 -0
- package/dist/revisions/snapshot-envelope.js +44 -0
- package/dist/revisions/snapshot-envelope.js.map +1 -0
- package/dist/route/compile.d.ts +15 -0
- package/dist/route/compile.d.ts.map +1 -0
- package/dist/route/compile.js +205 -0
- package/dist/route/compile.js.map +1 -0
- package/dist/route/current.d.ts +56 -0
- package/dist/route/current.d.ts.map +1 -0
- package/dist/route/current.js +50 -0
- package/dist/route/current.js.map +1 -0
- package/dist/route/edit-mode.d.ts +20 -0
- package/dist/route/edit-mode.d.ts.map +1 -0
- package/dist/route/edit-mode.js +22 -0
- package/dist/route/edit-mode.js.map +1 -0
- package/dist/route/errors.d.ts +19 -0
- package/dist/route/errors.d.ts.map +1 -0
- package/dist/route/errors.js +32 -0
- package/dist/route/errors.js.map +1 -0
- package/dist/route/intent.d.ts +35 -0
- package/dist/route/intent.d.ts.map +1 -0
- package/dist/route/intent.js +1 -0
- package/dist/route/intent.js.map +1 -0
- package/dist/route/match.d.ts +7 -0
- package/dist/route/match.d.ts.map +1 -0
- package/dist/route/match.js +18 -0
- package/dist/route/match.js.map +1 -0
- package/dist/route/paginate.d.ts +25 -0
- package/dist/route/paginate.d.ts.map +1 -0
- package/dist/route/paginate.js +24 -0
- package/dist/route/paginate.js.map +1 -0
- package/dist/route/path-chain.d.ts +22 -0
- package/dist/route/path-chain.d.ts.map +1 -0
- package/dist/route/path-chain.js +77 -0
- package/dist/route/path-chain.js.map +1 -0
- package/dist/route/permalink.d.ts +70 -0
- package/dist/route/permalink.d.ts.map +1 -0
- package/dist/route/permalink.js +163 -0
- package/dist/route/permalink.js.map +1 -0
- package/dist/route/preview.d.ts +12 -0
- package/dist/route/preview.d.ts.map +1 -0
- package/dist/route/preview.js +20 -0
- package/dist/route/preview.js.map +1 -0
- package/dist/route/render/archive-props.d.ts +39 -0
- package/dist/route/render/archive-props.d.ts.map +1 -0
- package/dist/route/render/archive-props.js +32 -0
- package/dist/route/render/archive-props.js.map +1 -0
- package/dist/route/render/asset-manifest.d.ts +23 -0
- package/dist/route/render/asset-manifest.d.ts.map +1 -0
- package/dist/route/render/asset-manifest.js +62 -0
- package/dist/route/render/asset-manifest.js.map +1 -0
- package/dist/route/render/build-resolved-entries.d.ts +11 -0
- package/dist/route/render/build-resolved-entries.d.ts.map +1 -0
- package/dist/route/render/build-resolved-entries.js +66 -0
- package/dist/route/render/build-resolved-entries.js.map +1 -0
- package/dist/route/render/inject-editor-bootstrap.d.ts +3 -0
- package/dist/route/render/inject-editor-bootstrap.d.ts.map +1 -0
- package/dist/route/render/inject-editor-bootstrap.js +13 -0
- package/dist/route/render/inject-editor-bootstrap.js.map +1 -0
- package/dist/route/render/inject-islands-bootstrap.d.ts +3 -0
- package/dist/route/render/inject-islands-bootstrap.d.ts.map +1 -0
- package/dist/route/render/inject-islands-bootstrap.js +34 -0
- package/dist/route/render/inject-islands-bootstrap.js.map +1 -0
- package/dist/route/render/render-template.d.ts +47 -0
- package/dist/route/render/render-template.d.ts.map +1 -0
- package/dist/route/render/render-template.js +370 -0
- package/dist/route/render/render-template.js.map +1 -0
- package/dist/route/render/resolved-entry.d.ts +58 -0
- package/dist/route/render/resolved-entry.d.ts.map +1 -0
- package/dist/route/render/resolved-entry.js +1 -0
- package/dist/route/render/resolved-entry.js.map +1 -0
- package/dist/route/render/template-hierarchy.d.ts +68 -0
- package/dist/route/render/template-hierarchy.d.ts.map +1 -0
- package/dist/route/render/template-hierarchy.js +88 -0
- package/dist/route/render/template-hierarchy.js.map +1 -0
- package/dist/route/render/tiptap.d.ts +8 -0
- package/dist/route/render/tiptap.d.ts.map +1 -0
- package/dist/route/render/tiptap.js +134 -0
- package/dist/route/render/tiptap.js.map +1 -0
- package/dist/route/resolve.d.ts +17 -0
- package/dist/route/resolve.d.ts.map +1 -0
- package/dist/route/resolve.js +408 -0
- package/dist/route/resolve.js.map +1 -0
- package/dist/rpc/authenticated.d.ts +2 -0
- package/dist/rpc/authenticated.d.ts.map +1 -0
- package/dist/rpc/authenticated.js +18 -0
- package/dist/rpc/authenticated.js.map +1 -0
- package/dist/rpc/base.d.ts +60 -0
- package/dist/rpc/base.d.ts.map +1 -0
- package/dist/rpc/base.js +4 -0
- package/dist/rpc/base.js.map +1 -0
- package/dist/rpc/build-handler.d.ts +12 -0
- package/dist/rpc/build-handler.d.ts.map +1 -0
- package/dist/rpc/build-handler.js +20 -0
- package/dist/rpc/build-handler.js.map +1 -0
- package/dist/rpc/errors.d.ts +59 -0
- package/dist/rpc/errors.d.ts.map +1 -0
- package/dist/rpc/errors.js +62 -0
- package/dist/rpc/errors.js.map +1 -0
- package/dist/rpc/hooks.d.ts +422 -0
- package/dist/rpc/hooks.d.ts.map +1 -0
- package/dist/rpc/hooks.js +2 -0
- package/dist/rpc/hooks.js.map +1 -0
- package/dist/rpc/index.d.ts +32 -0
- package/dist/rpc/index.d.ts.map +1 -0
- package/dist/rpc/index.js +20 -0
- package/dist/rpc/index.js.map +1 -0
- package/dist/rpc/meta/core.d.ts +132 -0
- package/dist/rpc/meta/core.d.ts.map +1 -0
- package/dist/rpc/meta/core.js +795 -0
- package/dist/rpc/meta/core.js.map +1 -0
- package/dist/rpc/meta/errors.d.ts +16 -0
- package/dist/rpc/meta/errors.d.ts.map +1 -0
- package/dist/rpc/meta/errors.js +26 -0
- package/dist/rpc/meta/errors.js.map +1 -0
- package/dist/rpc/namespaces.d.ts +2 -0
- package/dist/rpc/namespaces.d.ts.map +1 -0
- package/dist/rpc/namespaces.js +16 -0
- package/dist/rpc/namespaces.js.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/create.d.ts +72 -0
- package/dist/rpc/procedures/auth/allowed-domains/create.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/create.js +35 -0
- package/dist/rpc/procedures/auth/allowed-domains/create.js.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/delete.d.ts +70 -0
- package/dist/rpc/procedures/auth/allowed-domains/delete.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/delete.js +25 -0
- package/dist/rpc/procedures/auth/allowed-domains/delete.js.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/index.d.ts +281 -0
- package/dist/rpc/procedures/auth/allowed-domains/index.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/index.js +11 -0
- package/dist/rpc/procedures/auth/allowed-domains/index.js.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/list.d.ts +68 -0
- package/dist/rpc/procedures/auth/allowed-domains/list.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/list.js +19 -0
- package/dist/rpc/procedures/auth/allowed-domains/list.js.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/schemas.d.ts +16 -0
- package/dist/rpc/procedures/auth/allowed-domains/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/schemas.js +23 -0
- package/dist/rpc/procedures/auth/allowed-domains/schemas.js.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/update.d.ts +72 -0
- package/dist/rpc/procedures/auth/allowed-domains/update.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/allowed-domains/update.js +34 -0
- package/dist/rpc/procedures/auth/allowed-domains/update.js.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-list.d.ts +101 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-list.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-list.js +69 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-list.js.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-revoke.d.ts +64 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-revoke.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-revoke.js +35 -0
- package/dist/rpc/procedures/auth/api-tokens/admin-revoke.js.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/create.d.ts +84 -0
- package/dist/rpc/procedures/auth/api-tokens/create.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/create.js +50 -0
- package/dist/rpc/procedures/auth/api-tokens/create.js.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/index.d.ts +385 -0
- package/dist/rpc/procedures/auth/api-tokens/index.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/index.js +13 -0
- package/dist/rpc/procedures/auth/api-tokens/index.js.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/list.d.ts +74 -0
- package/dist/rpc/procedures/auth/api-tokens/list.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/list.js +32 -0
- package/dist/rpc/procedures/auth/api-tokens/list.js.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/revoke.d.ts +64 -0
- package/dist/rpc/procedures/auth/api-tokens/revoke.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/revoke.js +27 -0
- package/dist/rpc/procedures/auth/api-tokens/revoke.js.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/schemas.d.ts +27 -0
- package/dist/rpc/procedures/auth/api-tokens/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/api-tokens/schemas.js +68 -0
- package/dist/rpc/procedures/auth/api-tokens/schemas.js.map +1 -0
- package/dist/rpc/procedures/auth/credentials/delete.d.ts +64 -0
- package/dist/rpc/procedures/auth/credentials/delete.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/credentials/delete.js +44 -0
- package/dist/rpc/procedures/auth/credentials/delete.js.map +1 -0
- package/dist/rpc/procedures/auth/credentials/index.d.ts +203 -0
- package/dist/rpc/procedures/auth/credentials/index.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/credentials/index.js +9 -0
- package/dist/rpc/procedures/auth/credentials/index.js.map +1 -0
- package/dist/rpc/procedures/auth/credentials/list.d.ts +72 -0
- package/dist/rpc/procedures/auth/credentials/list.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/credentials/list.js +27 -0
- package/dist/rpc/procedures/auth/credentials/list.js.map +1 -0
- package/dist/rpc/procedures/auth/credentials/rename.d.ts +67 -0
- package/dist/rpc/procedures/auth/credentials/rename.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/credentials/rename.js +27 -0
- package/dist/rpc/procedures/auth/credentials/rename.js.map +1 -0
- package/dist/rpc/procedures/auth/credentials/schemas.d.ts +10 -0
- package/dist/rpc/procedures/auth/credentials/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/credentials/schemas.js +20 -0
- package/dist/rpc/procedures/auth/credentials/schemas.js.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/approve.d.ts +66 -0
- package/dist/rpc/procedures/auth/device-flow/approve.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/approve.js +42 -0
- package/dist/rpc/procedures/auth/device-flow/approve.js.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/deny.d.ts +64 -0
- package/dist/rpc/procedures/auth/device-flow/deny.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/deny.js +27 -0
- package/dist/rpc/procedures/auth/device-flow/deny.js.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/index.d.ts +194 -0
- package/dist/rpc/procedures/auth/device-flow/index.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/index.js +9 -0
- package/dist/rpc/procedures/auth/device-flow/index.js.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/lookup-helpers.d.ts +19 -0
- package/dist/rpc/procedures/auth/device-flow/lookup-helpers.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/lookup-helpers.js +17 -0
- package/dist/rpc/procedures/auth/device-flow/lookup-helpers.js.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/lookup.d.ts +64 -0
- package/dist/rpc/procedures/auth/device-flow/lookup.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/lookup.js +23 -0
- package/dist/rpc/procedures/auth/device-flow/lookup.js.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/schemas.d.ts +13 -0
- package/dist/rpc/procedures/auth/device-flow/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/device-flow/schemas.js +45 -0
- package/dist/rpc/procedures/auth/device-flow/schemas.js.map +1 -0
- package/dist/rpc/procedures/auth/index.d.ts +1524 -0
- package/dist/rpc/procedures/auth/index.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/index.js +21 -0
- package/dist/rpc/procedures/auth/index.js.map +1 -0
- package/dist/rpc/procedures/auth/login-links.d.ts +66 -0
- package/dist/rpc/procedures/auth/login-links.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/login-links.js +14 -0
- package/dist/rpc/procedures/auth/login-links.js.map +1 -0
- package/dist/rpc/procedures/auth/mailer/index.d.ts +66 -0
- package/dist/rpc/procedures/auth/mailer/index.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/mailer/index.js +5 -0
- package/dist/rpc/procedures/auth/mailer/index.js.map +1 -0
- package/dist/rpc/procedures/auth/mailer/schemas.d.ts +5 -0
- package/dist/rpc/procedures/auth/mailer/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/mailer/schemas.js +5 -0
- package/dist/rpc/procedures/auth/mailer/schemas.js.map +1 -0
- package/dist/rpc/procedures/auth/mailer/test-send.d.ts +64 -0
- package/dist/rpc/procedures/auth/mailer/test-send.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/mailer/test-send.js +44 -0
- package/dist/rpc/procedures/auth/mailer/test-send.js.map +1 -0
- package/dist/rpc/procedures/auth/oauth-providers.d.ts +59 -0
- package/dist/rpc/procedures/auth/oauth-providers.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/oauth-providers.js +8 -0
- package/dist/rpc/procedures/auth/oauth-providers.js.map +1 -0
- package/dist/rpc/procedures/auth/schemas.d.ts +27 -0
- package/dist/rpc/procedures/auth/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/schemas.js +28 -0
- package/dist/rpc/procedures/auth/schemas.js.map +1 -0
- package/dist/rpc/procedures/auth/session.d.ts +78 -0
- package/dist/rpc/procedures/auth/session.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/session.js +32 -0
- package/dist/rpc/procedures/auth/session.js.map +1 -0
- package/dist/rpc/procedures/auth/sessions/index.d.ts +198 -0
- package/dist/rpc/procedures/auth/sessions/index.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/sessions/index.js +9 -0
- package/dist/rpc/procedures/auth/sessions/index.js.map +1 -0
- package/dist/rpc/procedures/auth/sessions/list.d.ts +72 -0
- package/dist/rpc/procedures/auth/sessions/list.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/sessions/list.js +47 -0
- package/dist/rpc/procedures/auth/sessions/list.js.map +1 -0
- package/dist/rpc/procedures/auth/sessions/revoke-others.d.ts +62 -0
- package/dist/rpc/procedures/auth/sessions/revoke-others.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/sessions/revoke-others.js +47 -0
- package/dist/rpc/procedures/auth/sessions/revoke-others.js.map +1 -0
- package/dist/rpc/procedures/auth/sessions/revoke.d.ts +64 -0
- package/dist/rpc/procedures/auth/sessions/revoke.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/sessions/revoke.js +39 -0
- package/dist/rpc/procedures/auth/sessions/revoke.js.map +1 -0
- package/dist/rpc/procedures/auth/sessions/schemas.d.ts +7 -0
- package/dist/rpc/procedures/auth/sessions/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/auth/sessions/schemas.js +11 -0
- package/dist/rpc/procedures/auth/sessions/schemas.js.map +1 -0
- package/dist/rpc/procedures/entry/activity.d.ts +75 -0
- package/dist/rpc/procedures/entry/activity.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/activity.js +76 -0
- package/dist/rpc/procedures/entry/activity.js.map +1 -0
- package/dist/rpc/procedures/entry/bulk.d.ts +190 -0
- package/dist/rpc/procedures/entry/bulk.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/bulk.js +72 -0
- package/dist/rpc/procedures/entry/bulk.js.map +1 -0
- package/dist/rpc/procedures/entry/concurrency.d.ts +4 -0
- package/dist/rpc/procedures/entry/concurrency.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/concurrency.js +13 -0
- package/dist/rpc/procedures/entry/concurrency.js.map +1 -0
- package/dist/rpc/procedures/entry/content.d.ts +20 -0
- package/dist/rpc/procedures/entry/content.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/content.js +27 -0
- package/dist/rpc/procedures/entry/content.js.map +1 -0
- package/dist/rpc/procedures/entry/create-preview-link.d.ts +66 -0
- package/dist/rpc/procedures/entry/create-preview-link.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/create-preview-link.js +38 -0
- package/dist/rpc/procedures/entry/create-preview-link.js.map +1 -0
- package/dist/rpc/procedures/entry/create.d.ts +107 -0
- package/dist/rpc/procedures/entry/create.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/create.js +115 -0
- package/dist/rpc/procedures/entry/create.js.map +1 -0
- package/dist/rpc/procedures/entry/dashboard.d.ts +140 -0
- package/dist/rpc/procedures/entry/dashboard.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/dashboard.js +82 -0
- package/dist/rpc/procedures/entry/dashboard.js.map +1 -0
- package/dist/rpc/procedures/entry/delete-permanent.d.ts +90 -0
- package/dist/rpc/procedures/entry/delete-permanent.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/delete-permanent.js +28 -0
- package/dist/rpc/procedures/entry/delete-permanent.js.map +1 -0
- package/dist/rpc/procedures/entry/discard-draft.d.ts +65 -0
- package/dist/rpc/procedures/entry/discard-draft.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/discard-draft.js +43 -0
- package/dist/rpc/procedures/entry/discard-draft.js.map +1 -0
- package/dist/rpc/procedures/entry/duplicate.d.ts +90 -0
- package/dist/rpc/procedures/entry/duplicate.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/duplicate.js +86 -0
- package/dist/rpc/procedures/entry/duplicate.js.map +1 -0
- package/dist/rpc/procedures/entry/get.d.ts +105 -0
- package/dist/rpc/procedures/entry/get.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/get.js +56 -0
- package/dist/rpc/procedures/entry/get.js.map +1 -0
- package/dist/rpc/procedures/entry/helpers.d.ts +2 -0
- package/dist/rpc/procedures/entry/helpers.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/helpers.js +10 -0
- package/dist/rpc/procedures/entry/helpers.js.map +1 -0
- package/dist/rpc/procedures/entry/index.d.ts +1811 -0
- package/dist/rpc/procedures/entry/index.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/index.js +38 -0
- package/dist/rpc/procedures/entry/index.js.map +1 -0
- package/dist/rpc/procedures/entry/lifecycle.d.ts +77 -0
- package/dist/rpc/procedures/entry/lifecycle.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/lifecycle.js +223 -0
- package/dist/rpc/procedures/entry/lifecycle.js.map +1 -0
- package/dist/rpc/procedures/entry/list.d.ts +114 -0
- package/dist/rpc/procedures/entry/list.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/list.js +19 -0
- package/dist/rpc/procedures/entry/list.js.map +1 -0
- package/dist/rpc/procedures/entry/lookup.d.ts +4 -0
- package/dist/rpc/procedures/entry/lookup.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/lookup.js +120 -0
- package/dist/rpc/procedures/entry/lookup.js.map +1 -0
- package/dist/rpc/procedures/entry/meta.d.ts +64 -0
- package/dist/rpc/procedures/entry/meta.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/meta.js +65 -0
- package/dist/rpc/procedures/entry/meta.js.map +1 -0
- package/dist/rpc/procedures/entry/publish-scheduled.d.ts +21 -0
- package/dist/rpc/procedures/entry/publish-scheduled.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/publish-scheduled.js +50 -0
- package/dist/rpc/procedures/entry/publish-scheduled.js.map +1 -0
- package/dist/rpc/procedures/entry/publish.d.ts +92 -0
- package/dist/rpc/procedures/entry/publish.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/publish.js +111 -0
- package/dist/rpc/procedures/entry/publish.js.map +1 -0
- package/dist/rpc/procedures/entry/read-errors.d.ts +29 -0
- package/dist/rpc/procedures/entry/read-errors.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/read-errors.js +23 -0
- package/dist/rpc/procedures/entry/read-errors.js.map +1 -0
- package/dist/rpc/procedures/entry/refresh-block-loader.d.ts +65 -0
- package/dist/rpc/procedures/entry/refresh-block-loader.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/refresh-block-loader.js +42 -0
- package/dist/rpc/procedures/entry/refresh-block-loader.js.map +1 -0
- package/dist/rpc/procedures/entry/restore.d.ts +90 -0
- package/dist/rpc/procedures/entry/restore.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/restore.js +27 -0
- package/dist/rpc/procedures/entry/restore.js.map +1 -0
- package/dist/rpc/procedures/entry/revisions.d.ts +672 -0
- package/dist/rpc/procedures/entry/revisions.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/revisions.js +305 -0
- package/dist/rpc/procedures/entry/revisions.js.map +1 -0
- package/dist/rpc/procedures/entry/schemas.d.ts +172 -0
- package/dist/rpc/procedures/entry/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/schemas.js +171 -0
- package/dist/rpc/procedures/entry/schemas.js.map +1 -0
- package/dist/rpc/procedures/entry/search-terms.d.ts +45 -0
- package/dist/rpc/procedures/entry/search-terms.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/search-terms.js +79 -0
- package/dist/rpc/procedures/entry/search-terms.js.map +1 -0
- package/dist/rpc/procedures/entry/terms.d.ts +61 -0
- package/dist/rpc/procedures/entry/terms.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/terms.js +128 -0
- package/dist/rpc/procedures/entry/terms.js.map +1 -0
- package/dist/rpc/procedures/entry/trash.d.ts +90 -0
- package/dist/rpc/procedures/entry/trash.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/trash.js +27 -0
- package/dist/rpc/procedures/entry/trash.js.map +1 -0
- package/dist/rpc/procedures/entry/update.d.ts +110 -0
- package/dist/rpc/procedures/entry/update.d.ts.map +1 -0
- package/dist/rpc/procedures/entry/update.js +268 -0
- package/dist/rpc/procedures/entry/update.js.map +1 -0
- package/dist/rpc/procedures/lookup/index.d.ts +135 -0
- package/dist/rpc/procedures/lookup/index.d.ts.map +1 -0
- package/dist/rpc/procedures/lookup/index.js +7 -0
- package/dist/rpc/procedures/lookup/index.js.map +1 -0
- package/dist/rpc/procedures/lookup/list.d.ts +68 -0
- package/dist/rpc/procedures/lookup/list.d.ts.map +1 -0
- package/dist/rpc/procedures/lookup/list.js +23 -0
- package/dist/rpc/procedures/lookup/list.js.map +1 -0
- package/dist/rpc/procedures/lookup/resolve.d.ts +66 -0
- package/dist/rpc/procedures/lookup/resolve.d.ts.map +1 -0
- package/dist/rpc/procedures/lookup/resolve.js +18 -0
- package/dist/rpc/procedures/lookup/resolve.js.map +1 -0
- package/dist/rpc/procedures/lookup/schemas.d.ts +31 -0
- package/dist/rpc/procedures/lookup/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/lookup/schemas.js +55 -0
- package/dist/rpc/procedures/lookup/schemas.js.map +1 -0
- package/dist/rpc/procedures/lookup-adapters.d.ts +3 -0
- package/dist/rpc/procedures/lookup-adapters.d.ts.map +1 -0
- package/dist/rpc/procedures/lookup-adapters.js +36 -0
- package/dist/rpc/procedures/lookup-adapters.js.map +1 -0
- package/dist/rpc/procedures/lookup.errors.d.ts +15 -0
- package/dist/rpc/procedures/lookup.errors.d.ts.map +1 -0
- package/dist/rpc/procedures/lookup.errors.js +23 -0
- package/dist/rpc/procedures/lookup.errors.js.map +1 -0
- package/dist/rpc/procedures/search/index.d.ts +64 -0
- package/dist/rpc/procedures/search/index.d.ts.map +1 -0
- package/dist/rpc/procedures/search/index.js +25 -0
- package/dist/rpc/procedures/search/index.js.map +1 -0
- package/dist/rpc/procedures/settings/get.d.ts +60 -0
- package/dist/rpc/procedures/settings/get.d.ts.map +1 -0
- package/dist/rpc/procedures/settings/get.js +35 -0
- package/dist/rpc/procedures/settings/get.js.map +1 -0
- package/dist/rpc/procedures/settings/index.d.ts +125 -0
- package/dist/rpc/procedures/settings/index.d.ts.map +1 -0
- package/dist/rpc/procedures/settings/index.js +7 -0
- package/dist/rpc/procedures/settings/index.js.map +1 -0
- package/dist/rpc/procedures/settings/schemas.d.ts +15 -0
- package/dist/rpc/procedures/settings/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/settings/schemas.js +33 -0
- package/dist/rpc/procedures/settings/schemas.js.map +1 -0
- package/dist/rpc/procedures/settings/upsert.d.ts +63 -0
- package/dist/rpc/procedures/settings/upsert.d.ts.map +1 -0
- package/dist/rpc/procedures/settings/upsert.js +84 -0
- package/dist/rpc/procedures/settings/upsert.js.map +1 -0
- package/dist/rpc/procedures/term/create.d.ts +85 -0
- package/dist/rpc/procedures/term/create.d.ts.map +1 -0
- package/dist/rpc/procedures/term/create.js +73 -0
- package/dist/rpc/procedures/term/create.js.map +1 -0
- package/dist/rpc/procedures/term/delete.d.ts +78 -0
- package/dist/rpc/procedures/term/delete.d.ts.map +1 -0
- package/dist/rpc/procedures/term/delete.js +33 -0
- package/dist/rpc/procedures/term/delete.js.map +1 -0
- package/dist/rpc/procedures/term/get.d.ts +78 -0
- package/dist/rpc/procedures/term/get.d.ts.map +1 -0
- package/dist/rpc/procedures/term/get.js +18 -0
- package/dist/rpc/procedures/term/get.js.map +1 -0
- package/dist/rpc/procedures/term/helpers.d.ts +13 -0
- package/dist/rpc/procedures/term/helpers.d.ts.map +1 -0
- package/dist/rpc/procedures/term/helpers.js +33 -0
- package/dist/rpc/procedures/term/helpers.js.map +1 -0
- package/dist/rpc/procedures/term/index.d.ts +407 -0
- package/dist/rpc/procedures/term/index.d.ts.map +1 -0
- package/dist/rpc/procedures/term/index.js +13 -0
- package/dist/rpc/procedures/term/index.js.map +1 -0
- package/dist/rpc/procedures/term/list.d.ts +82 -0
- package/dist/rpc/procedures/term/list.d.ts.map +1 -0
- package/dist/rpc/procedures/term/list.js +19 -0
- package/dist/rpc/procedures/term/list.js.map +1 -0
- package/dist/rpc/procedures/term/lookup.d.ts +4 -0
- package/dist/rpc/procedures/term/lookup.d.ts.map +1 -0
- package/dist/rpc/procedures/term/lookup.js +111 -0
- package/dist/rpc/procedures/term/lookup.js.map +1 -0
- package/dist/rpc/procedures/term/meta.d.ts +33 -0
- package/dist/rpc/procedures/term/meta.d.ts.map +1 -0
- package/dist/rpc/procedures/term/meta.js +37 -0
- package/dist/rpc/procedures/term/meta.js.map +1 -0
- package/dist/rpc/procedures/term/read-errors.d.ts +23 -0
- package/dist/rpc/procedures/term/read-errors.d.ts.map +1 -0
- package/dist/rpc/procedures/term/read-errors.js +24 -0
- package/dist/rpc/procedures/term/read-errors.js.map +1 -0
- package/dist/rpc/procedures/term/schemas.d.ts +40 -0
- package/dist/rpc/procedures/term/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/term/schemas.js +32 -0
- package/dist/rpc/procedures/term/schemas.js.map +1 -0
- package/dist/rpc/procedures/term/update.d.ts +85 -0
- package/dist/rpc/procedures/term/update.d.ts.map +1 -0
- package/dist/rpc/procedures/term/update.js +95 -0
- package/dist/rpc/procedures/term/update.js.map +1 -0
- package/dist/rpc/procedures/user/cancel-email-change.d.ts +64 -0
- package/dist/rpc/procedures/user/cancel-email-change.d.ts.map +1 -0
- package/dist/rpc/procedures/user/cancel-email-change.js +35 -0
- package/dist/rpc/procedures/user/cancel-email-change.js.map +1 -0
- package/dist/rpc/procedures/user/delete.d.ts +83 -0
- package/dist/rpc/procedures/user/delete.d.ts.map +1 -0
- package/dist/rpc/procedures/user/delete.js +70 -0
- package/dist/rpc/procedures/user/delete.js.map +1 -0
- package/dist/rpc/procedures/user/disable.d.ts +82 -0
- package/dist/rpc/procedures/user/disable.d.ts.map +1 -0
- package/dist/rpc/procedures/user/disable.js +51 -0
- package/dist/rpc/procedures/user/disable.js.map +1 -0
- package/dist/rpc/procedures/user/enable.d.ts +82 -0
- package/dist/rpc/procedures/user/enable.d.ts.map +1 -0
- package/dist/rpc/procedures/user/enable.js +44 -0
- package/dist/rpc/procedures/user/enable.js.map +1 -0
- package/dist/rpc/procedures/user/get.d.ts +82 -0
- package/dist/rpc/procedures/user/get.d.ts.map +1 -0
- package/dist/rpc/procedures/user/get.js +27 -0
- package/dist/rpc/procedures/user/get.js.map +1 -0
- package/dist/rpc/procedures/user/helpers.d.ts +10 -0
- package/dist/rpc/procedures/user/helpers.d.ts.map +1 -0
- package/dist/rpc/procedures/user/helpers.js +16 -0
- package/dist/rpc/procedures/user/helpers.js.map +1 -0
- package/dist/rpc/procedures/user/index.d.ts +834 -0
- package/dist/rpc/procedures/user/index.d.ts.map +1 -0
- package/dist/rpc/procedures/user/index.js +25 -0
- package/dist/rpc/procedures/user/index.js.map +1 -0
- package/dist/rpc/procedures/user/invite.d.ts +68 -0
- package/dist/rpc/procedures/user/invite.d.ts.map +1 -0
- package/dist/rpc/procedures/user/invite.js +62 -0
- package/dist/rpc/procedures/user/invite.js.map +1 -0
- package/dist/rpc/procedures/user/list.d.ts +89 -0
- package/dist/rpc/procedures/user/list.d.ts.map +1 -0
- package/dist/rpc/procedures/user/list.js +75 -0
- package/dist/rpc/procedures/user/list.js.map +1 -0
- package/dist/rpc/procedures/user/lookup.d.ts +4 -0
- package/dist/rpc/procedures/user/lookup.d.ts.map +1 -0
- package/dist/rpc/procedures/user/lookup.js +95 -0
- package/dist/rpc/procedures/user/lookup.js.map +1 -0
- package/dist/rpc/procedures/user/meta.d.ts +32 -0
- package/dist/rpc/procedures/user/meta.d.ts.map +1 -0
- package/dist/rpc/procedures/user/meta.js +38 -0
- package/dist/rpc/procedures/user/meta.js.map +1 -0
- package/dist/rpc/procedures/user/pending-email-change.d.ts +76 -0
- package/dist/rpc/procedures/user/pending-email-change.d.ts.map +1 -0
- package/dist/rpc/procedures/user/pending-email-change.js +62 -0
- package/dist/rpc/procedures/user/pending-email-change.js.map +1 -0
- package/dist/rpc/procedures/user/request-email-change.d.ts +67 -0
- package/dist/rpc/procedures/user/request-email-change.d.ts.map +1 -0
- package/dist/rpc/procedures/user/request-email-change.js +86 -0
- package/dist/rpc/procedures/user/request-email-change.js.map +1 -0
- package/dist/rpc/procedures/user/schemas.d.ts +52 -0
- package/dist/rpc/procedures/user/schemas.d.ts.map +1 -0
- package/dist/rpc/procedures/user/schemas.js +44 -0
- package/dist/rpc/procedures/user/schemas.js.map +1 -0
- package/dist/rpc/procedures/user/set-locale.d.ts +61 -0
- package/dist/rpc/procedures/user/set-locale.d.ts.map +1 -0
- package/dist/rpc/procedures/user/set-locale.js +31 -0
- package/dist/rpc/procedures/user/set-locale.js.map +1 -0
- package/dist/rpc/procedures/user/update.d.ts +89 -0
- package/dist/rpc/procedures/user/update.d.ts.map +1 -0
- package/dist/rpc/procedures/user/update.js +137 -0
- package/dist/rpc/procedures/user/update.js.map +1 -0
- package/dist/rpc/router.d.ts +4893 -0
- package/dist/rpc/router.d.ts.map +1 -0
- package/dist/rpc/router.js +17 -0
- package/dist/rpc/router.js.map +1 -0
- package/dist/rpc/schemas.d.ts +3 -0
- package/dist/rpc/schemas.d.ts.map +1 -0
- package/dist/rpc/schemas.js +9 -0
- package/dist/rpc/schemas.js.map +1 -0
- package/dist/rpc/validation.d.ts +58 -0
- package/dist/rpc/validation.d.ts.map +1 -0
- package/dist/rpc/validation.js +72 -0
- package/dist/rpc/validation.js.map +1 -0
- package/dist/rpc/vmessage.d.ts +21 -0
- package/dist/rpc/vmessage.d.ts.map +1 -0
- package/dist/rpc/vmessage.js +20 -0
- package/dist/rpc/vmessage.js.map +1 -0
- package/dist/runtime/adapter.d.ts +38 -0
- package/dist/runtime/adapter.d.ts.map +1 -0
- package/dist/runtime/adapter.js +1 -0
- package/dist/runtime/adapter.js.map +1 -0
- package/dist/runtime/admin-shell.d.ts +11 -0
- package/dist/runtime/admin-shell.d.ts.map +1 -0
- package/dist/runtime/admin-shell.js +14 -0
- package/dist/runtime/admin-shell.js.map +1 -0
- package/dist/runtime/app.d.ts +165 -0
- package/dist/runtime/app.d.ts.map +1 -0
- package/dist/runtime/app.js +232 -0
- package/dist/runtime/app.js.map +1 -0
- package/dist/runtime/bindings.d.ts +6 -0
- package/dist/runtime/bindings.d.ts.map +1 -0
- package/dist/runtime/bindings.js +1 -0
- package/dist/runtime/bindings.js.map +1 -0
- package/dist/runtime/dispatcher.d.ts +11 -0
- package/dist/runtime/dispatcher.d.ts.map +1 -0
- package/dist/runtime/dispatcher.js +560 -0
- package/dist/runtime/dispatcher.js.map +1 -0
- package/dist/runtime/env-input.d.ts +19 -0
- package/dist/runtime/env-input.d.ts.map +1 -0
- package/dist/runtime/env-input.js +13 -0
- package/dist/runtime/env-input.js.map +1 -0
- package/dist/runtime/errors.d.ts +29 -0
- package/dist/runtime/errors.d.ts.map +1 -0
- package/dist/runtime/errors.js +32 -0
- package/dist/runtime/errors.js.map +1 -0
- package/dist/runtime/http.d.ts +10 -0
- package/dist/runtime/http.d.ts.map +1 -0
- package/dist/runtime/http.js +51 -0
- package/dist/runtime/http.js.map +1 -0
- package/dist/runtime/load-user-for-public-request.d.ts +3 -0
- package/dist/runtime/load-user-for-public-request.d.ts.map +1 -0
- package/dist/runtime/load-user-for-public-request.js +13 -0
- package/dist/runtime/load-user-for-public-request.js.map +1 -0
- package/dist/runtime/memory-storage.d.ts +8 -0
- package/dist/runtime/memory-storage.d.ts.map +1 -0
- package/dist/runtime/memory-storage.js +166 -0
- package/dist/runtime/memory-storage.js.map +1 -0
- package/dist/runtime/register-core-scheduled-tasks.d.ts +7 -0
- package/dist/runtime/register-core-scheduled-tasks.d.ts.map +1 -0
- package/dist/runtime/register-core-scheduled-tasks.js +38 -0
- package/dist/runtime/register-core-scheduled-tasks.js.map +1 -0
- package/dist/runtime/scheduled.d.ts +17 -0
- package/dist/runtime/scheduled.d.ts.map +1 -0
- package/dist/runtime/scheduled.js +33 -0
- package/dist/runtime/scheduled.js.map +1 -0
- package/dist/runtime/shortcode-registry.d.ts +10 -0
- package/dist/runtime/shortcode-registry.d.ts.map +1 -0
- package/dist/runtime/shortcode-registry.js +15 -0
- package/dist/runtime/shortcode-registry.js.map +1 -0
- package/dist/runtime/slots.d.ts +203 -0
- package/dist/runtime/slots.d.ts.map +1 -0
- package/dist/runtime/slots.js +1 -0
- package/dist/runtime/slots.js.map +1 -0
- package/dist/search/admin-search.d.ts +37 -0
- package/dist/search/admin-search.d.ts.map +1 -0
- package/dist/search/admin-search.js +24 -0
- package/dist/search/admin-search.js.map +1 -0
- package/dist/search/entries-handler.d.ts +10 -0
- package/dist/search/entries-handler.d.ts.map +1 -0
- package/dist/search/entries-handler.js +77 -0
- package/dist/search/entries-handler.js.map +1 -0
- package/dist/search/register-core-handlers.d.ts +8 -0
- package/dist/search/register-core-handlers.d.ts.map +1 -0
- package/dist/search/register-core-handlers.js +20 -0
- package/dist/search/register-core-handlers.js.map +1 -0
- package/dist/search/terms-handler.d.ts +9 -0
- package/dist/search/terms-handler.d.ts.map +1 -0
- package/dist/search/terms-handler.js +61 -0
- package/dist/search/terms-handler.js.map +1 -0
- package/dist/search/users-handler.d.ts +9 -0
- package/dist/search/users-handler.d.ts.map +1 -0
- package/dist/search/users-handler.js +49 -0
- package/dist/search/users-handler.js.map +1 -0
- package/dist/seo/canonical.d.ts +31 -0
- package/dist/seo/canonical.d.ts.map +1 -0
- package/dist/seo/canonical.js +81 -0
- package/dist/seo/canonical.js.map +1 -0
- package/dist/seo/feed.d.ts +73 -0
- package/dist/seo/feed.d.ts.map +1 -0
- package/dist/seo/feed.js +254 -0
- package/dist/seo/feed.js.map +1 -0
- package/dist/seo/head-defaults.d.ts +27 -0
- package/dist/seo/head-defaults.d.ts.map +1 -0
- package/dist/seo/head-defaults.js +82 -0
- package/dist/seo/head-defaults.js.map +1 -0
- package/dist/seo/register-sitemap-invalidator.d.ts +7 -0
- package/dist/seo/register-sitemap-invalidator.d.ts.map +1 -0
- package/dist/seo/register-sitemap-invalidator.js +43 -0
- package/dist/seo/register-sitemap-invalidator.js.map +1 -0
- package/dist/seo/robots.d.ts +20 -0
- package/dist/seo/robots.d.ts.map +1 -0
- package/dist/seo/robots.js +18 -0
- package/dist/seo/robots.js.map +1 -0
- package/dist/seo/site-settings.d.ts +6 -0
- package/dist/seo/site-settings.d.ts.map +1 -0
- package/dist/seo/site-settings.js +11 -0
- package/dist/seo/site-settings.js.map +1 -0
- package/dist/seo/sitemap-cache.d.ts +20 -0
- package/dist/seo/sitemap-cache.d.ts.map +1 -0
- package/dist/seo/sitemap-cache.js +96 -0
- package/dist/seo/sitemap-cache.js.map +1 -0
- package/dist/seo/sitemap.d.ts +26 -0
- package/dist/seo/sitemap.d.ts.map +1 -0
- package/dist/seo/sitemap.js +151 -0
- package/dist/seo/sitemap.js.map +1 -0
- package/dist/seo/xml.d.ts +3 -0
- package/dist/seo/xml.d.ts.map +1 -0
- package/dist/seo/xml.js +12 -0
- package/dist/seo/xml.js.map +1 -0
- package/dist/settings-core.d.ts +49 -0
- package/dist/settings-core.d.ts.map +1 -0
- package/dist/settings-core.js +113 -0
- package/dist/settings-core.js.map +1 -0
- package/dist/slugify.d.ts +14 -0
- package/dist/slugify.d.ts.map +1 -0
- package/dist/slugify.js +17 -0
- package/dist/slugify.js.map +1 -0
- package/dist/template-deps-core.d.ts +19 -0
- package/dist/template-deps-core.d.ts.map +1 -0
- package/dist/template-deps-core.js +35 -0
- package/dist/template-deps-core.js.map +1 -0
- package/dist/template-deps.d.ts +41 -0
- package/dist/template-deps.d.ts.map +1 -0
- package/dist/template-deps.js +90 -0
- package/dist/template-deps.js.map +1 -0
- package/dist/template.d.ts +84 -0
- package/dist/template.d.ts.map +1 -0
- package/dist/template.js +54 -0
- package/dist/template.js.map +1 -0
- package/dist/terms/errors.d.ts +22 -0
- package/dist/terms/errors.d.ts.map +1 -0
- package/dist/terms/errors.js +25 -0
- package/dist/terms/errors.js.map +1 -0
- package/dist/terms/read-service.d.ts +20 -0
- package/dist/terms/read-service.d.ts.map +1 -0
- package/dist/terms/read-service.js +53 -0
- package/dist/terms/read-service.js.map +1 -0
- package/dist/test/default-theme.d.ts +2 -0
- package/dist/test/default-theme.d.ts.map +1 -0
- package/dist/test/default-theme.js +28 -0
- package/dist/test/default-theme.js.map +1 -0
- package/dist/test/defer.d.ts +19 -0
- package/dist/test/defer.d.ts.map +1 -0
- package/dist/test/defer.js +22 -0
- package/dist/test/defer.js.map +1 -0
- package/dist/test/dispatcher.d.ts +139 -0
- package/dist/test/dispatcher.d.ts.map +1 -0
- package/dist/test/dispatcher.js +125 -0
- package/dist/test/dispatcher.js.map +1 -0
- package/dist/test/factories.d.ts +707 -0
- package/dist/test/factories.d.ts.map +1 -0
- package/dist/test/factories.js +336 -0
- package/dist/test/factories.js.map +1 -0
- package/dist/test/fixtures/webauthn.d.ts +40 -0
- package/dist/test/fixtures/webauthn.d.ts.map +1 -0
- package/dist/test/fixtures/webauthn.js +209 -0
- package/dist/test/fixtures/webauthn.js.map +1 -0
- package/dist/test/harness.d.ts +10 -0
- package/dist/test/harness.d.ts.map +1 -0
- package/dist/test/harness.js +34 -0
- package/dist/test/harness.js.map +1 -0
- package/dist/test/index.d.ts +17 -0
- package/dist/test/index.d.ts.map +1 -0
- package/dist/test/index.js +16 -0
- package/dist/test/index.js.map +1 -0
- package/dist/test/mailer.d.ts +26 -0
- package/dist/test/mailer.d.ts.map +1 -0
- package/dist/test/mailer.js +14 -0
- package/dist/test/mailer.js.map +1 -0
- package/dist/test/match.d.ts +14 -0
- package/dist/test/match.d.ts.map +1 -0
- package/dist/test/match.js +83 -0
- package/dist/test/match.js.map +1 -0
- package/dist/test/playwright/acting-as.d.ts +45 -0
- package/dist/test/playwright/acting-as.d.ts.map +1 -0
- package/dist/test/playwright/acting-as.js +50 -0
- package/dist/test/playwright/acting-as.js.map +1 -0
- package/dist/test/playwright/build-admin-chunk.d.ts +24 -0
- package/dist/test/playwright/build-admin-chunk.d.ts.map +1 -0
- package/dist/test/playwright/build-admin-chunk.js +61 -0
- package/dist/test/playwright/build-admin-chunk.js.map +1 -0
- package/dist/test/playwright/index.d.ts +78 -0
- package/dist/test/playwright/index.d.ts.map +1 -0
- package/dist/test/playwright/index.js +155 -0
- package/dist/test/playwright/index.js.map +1 -0
- package/dist/test/playwright/open-playground-db.d.ts +32 -0
- package/dist/test/playwright/open-playground-db.d.ts.map +1 -0
- package/dist/test/playwright/open-playground-db.js +49 -0
- package/dist/test/playwright/open-playground-db.js.map +1 -0
- package/dist/test/playwright/playwright-config.d.ts +84 -0
- package/dist/test/playwright/playwright-config.d.ts.map +1 -0
- package/dist/test/playwright/playwright-config.js +91 -0
- package/dist/test/playwright/playwright-config.js.map +1 -0
- package/dist/test/request.d.ts +66 -0
- package/dist/test/request.d.ts.map +1 -0
- package/dist/test/request.js +110 -0
- package/dist/test/request.js.map +1 -0
- package/dist/test/rpc.d.ts +86 -0
- package/dist/test/rpc.d.ts.map +1 -0
- package/dist/test/rpc.js +91 -0
- package/dist/test/rpc.js.map +1 -0
- package/dist/test/spies.d.ts +68 -0
- package/dist/test/spies.d.ts.map +1 -0
- package/dist/test/spies.js +144 -0
- package/dist/test/spies.js.map +1 -0
- package/dist/theme-errors.d.ts +37 -0
- package/dist/theme-errors.d.ts.map +1 -0
- package/dist/theme-errors.js +87 -0
- package/dist/theme-errors.js.map +1 -0
- package/dist/theme.d.ts +91 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.js +74 -0
- package/dist/theme.js.map +1 -0
- package/dist/welcome/i18n.d.ts +9 -0
- package/dist/welcome/i18n.d.ts.map +1 -0
- package/dist/welcome/i18n.js +51 -0
- package/dist/welcome/i18n.js.map +1 -0
- package/dist/welcome-theme.d.ts +10 -0
- package/dist/welcome-theme.d.ts.map +1 -0
- package/dist/welcome-theme.js +165 -0
- package/dist/welcome-theme.js.map +1 -0
- package/locales/admin-bar-ar.d.mts +1 -0
- package/locales/admin-bar-ar.mjs +1 -0
- package/locales/admin-bar-ar.po +49 -0
- package/locales/admin-bar-de.d.mts +1 -0
- package/locales/admin-bar-de.mjs +1 -0
- package/locales/admin-bar-de.po +49 -0
- package/locales/admin-bar-en.d.mts +1 -0
- package/locales/admin-bar-en.mjs +1 -0
- package/locales/admin-bar-en.po +49 -0
- package/locales/admin-bar-uk.d.mts +1 -0
- package/locales/admin-bar-uk.mjs +1 -0
- package/locales/admin-bar-uk.po +49 -0
- package/locales/admin-bar-zh-CN.d.mts +1 -0
- package/locales/admin-bar-zh-CN.mjs +1 -0
- package/locales/admin-bar-zh-CN.po +49 -0
- package/locales/welcome-ar.d.mts +1 -0
- package/locales/welcome-ar.mjs +1 -0
- package/locales/welcome-ar.po +33 -0
- package/locales/welcome-de.d.mts +1 -0
- package/locales/welcome-de.mjs +1 -0
- package/locales/welcome-de.po +33 -0
- package/locales/welcome-en.d.mts +1 -0
- package/locales/welcome-en.mjs +1 -0
- package/locales/welcome-en.po +33 -0
- package/locales/welcome-uk.d.mts +1 -0
- package/locales/welcome-uk.mjs +1 -0
- package/locales/welcome-uk.po +33 -0
- package/locales/welcome-zh-CN.d.mts +1 -0
- package/locales/welcome-zh-CN.mjs +1 -0
- package/locales/welcome-zh-CN.po +33 -0
- package/package.json +150 -0
|
@@ -0,0 +1,1524 @@
|
|
|
1
|
+
export declare const authRouter: {
|
|
2
|
+
readonly session: import("@orpc/server").DecoratedProcedure<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<{
|
|
3
|
+
user: {
|
|
4
|
+
id: number;
|
|
5
|
+
email: string;
|
|
6
|
+
name: string | null;
|
|
7
|
+
avatarUrl: string | null;
|
|
8
|
+
role: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
9
|
+
capabilities: string[];
|
|
10
|
+
} | null;
|
|
11
|
+
needsBootstrap: boolean;
|
|
12
|
+
}, {
|
|
13
|
+
user: {
|
|
14
|
+
id: number;
|
|
15
|
+
email: string;
|
|
16
|
+
name: string | null;
|
|
17
|
+
avatarUrl: string | null;
|
|
18
|
+
role: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
19
|
+
capabilities: string[];
|
|
20
|
+
} | null;
|
|
21
|
+
needsBootstrap: boolean;
|
|
22
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
23
|
+
readonly UNAUTHORIZED: {
|
|
24
|
+
readonly message: "Authentication required";
|
|
25
|
+
};
|
|
26
|
+
readonly BAD_REQUEST: {
|
|
27
|
+
readonly message: "Invalid input";
|
|
28
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
29
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
};
|
|
32
|
+
readonly FORBIDDEN: {
|
|
33
|
+
readonly message: "Permission denied";
|
|
34
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
35
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
};
|
|
38
|
+
readonly NOT_FOUND: {
|
|
39
|
+
readonly message: "Resource not found";
|
|
40
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
41
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
42
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
43
|
+
}, undefined>;
|
|
44
|
+
};
|
|
45
|
+
readonly CONFLICT: {
|
|
46
|
+
readonly message: "Resource conflict";
|
|
47
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
48
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
49
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
50
|
+
}, undefined>;
|
|
51
|
+
};
|
|
52
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
53
|
+
readonly message: "Payload too large";
|
|
54
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
55
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
56
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
57
|
+
}, undefined>;
|
|
58
|
+
};
|
|
59
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
60
|
+
readonly message: "Unsupported media type";
|
|
61
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
62
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
63
|
+
}, undefined>;
|
|
64
|
+
};
|
|
65
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
66
|
+
readonly message: "Block content failed registry validation";
|
|
67
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
68
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
69
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
70
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
71
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
72
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
73
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
74
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
75
|
+
}, undefined>, undefined>;
|
|
76
|
+
}, undefined>;
|
|
77
|
+
};
|
|
78
|
+
}>, Record<never, never>>;
|
|
79
|
+
readonly oauthProviders: import("@orpc/server").DecoratedProcedure<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<readonly import("../../../runtime/app.js").OAuthProviderSummary[], readonly import("../../../runtime/app.js").OAuthProviderSummary[]>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
80
|
+
readonly UNAUTHORIZED: {
|
|
81
|
+
readonly message: "Authentication required";
|
|
82
|
+
};
|
|
83
|
+
readonly BAD_REQUEST: {
|
|
84
|
+
readonly message: "Invalid input";
|
|
85
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
86
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
87
|
+
}, undefined>;
|
|
88
|
+
};
|
|
89
|
+
readonly FORBIDDEN: {
|
|
90
|
+
readonly message: "Permission denied";
|
|
91
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
92
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
};
|
|
95
|
+
readonly NOT_FOUND: {
|
|
96
|
+
readonly message: "Resource not found";
|
|
97
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
98
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
99
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
};
|
|
102
|
+
readonly CONFLICT: {
|
|
103
|
+
readonly message: "Resource conflict";
|
|
104
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
105
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
106
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
107
|
+
}, undefined>;
|
|
108
|
+
};
|
|
109
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
110
|
+
readonly message: "Payload too large";
|
|
111
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
112
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
113
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
114
|
+
}, undefined>;
|
|
115
|
+
};
|
|
116
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
117
|
+
readonly message: "Unsupported media type";
|
|
118
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
119
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
120
|
+
}, undefined>;
|
|
121
|
+
};
|
|
122
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
123
|
+
readonly message: "Block content failed registry validation";
|
|
124
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
125
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
126
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
127
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
128
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
129
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
130
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
131
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
132
|
+
}, undefined>, undefined>;
|
|
133
|
+
}, undefined>;
|
|
134
|
+
};
|
|
135
|
+
}>, Record<never, never>>;
|
|
136
|
+
readonly loginLinks: import("@orpc/server").DecoratedProcedure<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<{
|
|
137
|
+
id: string;
|
|
138
|
+
label: string;
|
|
139
|
+
href: string;
|
|
140
|
+
}[], {
|
|
141
|
+
id: string;
|
|
142
|
+
label: string;
|
|
143
|
+
href: string;
|
|
144
|
+
}[]>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
145
|
+
readonly UNAUTHORIZED: {
|
|
146
|
+
readonly message: "Authentication required";
|
|
147
|
+
};
|
|
148
|
+
readonly BAD_REQUEST: {
|
|
149
|
+
readonly message: "Invalid input";
|
|
150
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
151
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
152
|
+
}, undefined>;
|
|
153
|
+
};
|
|
154
|
+
readonly FORBIDDEN: {
|
|
155
|
+
readonly message: "Permission denied";
|
|
156
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
157
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
158
|
+
}, undefined>;
|
|
159
|
+
};
|
|
160
|
+
readonly NOT_FOUND: {
|
|
161
|
+
readonly message: "Resource not found";
|
|
162
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
163
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
164
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
165
|
+
}, undefined>;
|
|
166
|
+
};
|
|
167
|
+
readonly CONFLICT: {
|
|
168
|
+
readonly message: "Resource conflict";
|
|
169
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
170
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
171
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
172
|
+
}, undefined>;
|
|
173
|
+
};
|
|
174
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
175
|
+
readonly message: "Payload too large";
|
|
176
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
177
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
178
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
};
|
|
181
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
182
|
+
readonly message: "Unsupported media type";
|
|
183
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
184
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
185
|
+
}, undefined>;
|
|
186
|
+
};
|
|
187
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
188
|
+
readonly message: "Block content failed registry validation";
|
|
189
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
190
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
191
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
192
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
193
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
194
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
195
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
196
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
197
|
+
}, undefined>, undefined>;
|
|
198
|
+
}, undefined>;
|
|
199
|
+
};
|
|
200
|
+
}>, Record<never, never>>;
|
|
201
|
+
readonly allowedDomains: {
|
|
202
|
+
readonly list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").OptionalSchema<import("valibot").ObjectSchema<{}, undefined>, {}>, import("@orpc/server").Schema<{
|
|
203
|
+
domain: string;
|
|
204
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
205
|
+
isEnabled: boolean;
|
|
206
|
+
createdAt: Date;
|
|
207
|
+
}[], {
|
|
208
|
+
domain: string;
|
|
209
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
210
|
+
isEnabled: boolean;
|
|
211
|
+
createdAt: Date;
|
|
212
|
+
}[]>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
213
|
+
readonly UNAUTHORIZED: {
|
|
214
|
+
readonly message: "Authentication required";
|
|
215
|
+
};
|
|
216
|
+
readonly BAD_REQUEST: {
|
|
217
|
+
readonly message: "Invalid input";
|
|
218
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
219
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
220
|
+
}, undefined>;
|
|
221
|
+
};
|
|
222
|
+
readonly FORBIDDEN: {
|
|
223
|
+
readonly message: "Permission denied";
|
|
224
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
225
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
226
|
+
}, undefined>;
|
|
227
|
+
};
|
|
228
|
+
readonly NOT_FOUND: {
|
|
229
|
+
readonly message: "Resource not found";
|
|
230
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
231
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
232
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
233
|
+
}, undefined>;
|
|
234
|
+
};
|
|
235
|
+
readonly CONFLICT: {
|
|
236
|
+
readonly message: "Resource conflict";
|
|
237
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
238
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
239
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
240
|
+
}, undefined>;
|
|
241
|
+
};
|
|
242
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
243
|
+
readonly message: "Payload too large";
|
|
244
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
245
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
246
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
247
|
+
}, undefined>;
|
|
248
|
+
};
|
|
249
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
250
|
+
readonly message: "Unsupported media type";
|
|
251
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
252
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
253
|
+
}, undefined>;
|
|
254
|
+
};
|
|
255
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
256
|
+
readonly message: "Block content failed registry validation";
|
|
257
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
258
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
259
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
260
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
261
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
262
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
263
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
264
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
265
|
+
}, undefined>, undefined>;
|
|
266
|
+
}, undefined>;
|
|
267
|
+
};
|
|
268
|
+
}>, Record<never, never>>;
|
|
269
|
+
readonly create: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
270
|
+
readonly domain: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").RegexAction<string, "domain must be a valid hostname">]>;
|
|
271
|
+
readonly defaultRole: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["subscriber", "contributor", "author", "editor", "admin"], undefined>, "subscriber">;
|
|
272
|
+
readonly isEnabled: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, true>;
|
|
273
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
274
|
+
createdAt: Date;
|
|
275
|
+
domain: string;
|
|
276
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
277
|
+
isEnabled: boolean;
|
|
278
|
+
}, {
|
|
279
|
+
createdAt: Date;
|
|
280
|
+
domain: string;
|
|
281
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
282
|
+
isEnabled: boolean;
|
|
283
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
284
|
+
readonly UNAUTHORIZED: {
|
|
285
|
+
readonly message: "Authentication required";
|
|
286
|
+
};
|
|
287
|
+
readonly BAD_REQUEST: {
|
|
288
|
+
readonly message: "Invalid input";
|
|
289
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
290
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
291
|
+
}, undefined>;
|
|
292
|
+
};
|
|
293
|
+
readonly FORBIDDEN: {
|
|
294
|
+
readonly message: "Permission denied";
|
|
295
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
296
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
297
|
+
}, undefined>;
|
|
298
|
+
};
|
|
299
|
+
readonly NOT_FOUND: {
|
|
300
|
+
readonly message: "Resource not found";
|
|
301
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
302
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
303
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
304
|
+
}, undefined>;
|
|
305
|
+
};
|
|
306
|
+
readonly CONFLICT: {
|
|
307
|
+
readonly message: "Resource conflict";
|
|
308
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
309
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
310
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
311
|
+
}, undefined>;
|
|
312
|
+
};
|
|
313
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
314
|
+
readonly message: "Payload too large";
|
|
315
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
316
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
317
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
318
|
+
}, undefined>;
|
|
319
|
+
};
|
|
320
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
321
|
+
readonly message: "Unsupported media type";
|
|
322
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
323
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
324
|
+
}, undefined>;
|
|
325
|
+
};
|
|
326
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
327
|
+
readonly message: "Block content failed registry validation";
|
|
328
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
329
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
330
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
331
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
332
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
333
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
334
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
335
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
336
|
+
}, undefined>, undefined>;
|
|
337
|
+
}, undefined>;
|
|
338
|
+
};
|
|
339
|
+
}>, Record<never, never>>;
|
|
340
|
+
readonly update: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
341
|
+
readonly domain: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").RegexAction<string, "domain must be a valid hostname">]>;
|
|
342
|
+
readonly defaultRole: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["subscriber", "contributor", "author", "editor", "admin"], undefined>, undefined>;
|
|
343
|
+
readonly isEnabled: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
344
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
345
|
+
createdAt: Date;
|
|
346
|
+
domain: string;
|
|
347
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
348
|
+
isEnabled: boolean;
|
|
349
|
+
}, {
|
|
350
|
+
createdAt: Date;
|
|
351
|
+
domain: string;
|
|
352
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
353
|
+
isEnabled: boolean;
|
|
354
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
355
|
+
readonly UNAUTHORIZED: {
|
|
356
|
+
readonly message: "Authentication required";
|
|
357
|
+
};
|
|
358
|
+
readonly BAD_REQUEST: {
|
|
359
|
+
readonly message: "Invalid input";
|
|
360
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
361
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
362
|
+
}, undefined>;
|
|
363
|
+
};
|
|
364
|
+
readonly FORBIDDEN: {
|
|
365
|
+
readonly message: "Permission denied";
|
|
366
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
367
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
368
|
+
}, undefined>;
|
|
369
|
+
};
|
|
370
|
+
readonly NOT_FOUND: {
|
|
371
|
+
readonly message: "Resource not found";
|
|
372
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
373
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
374
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
375
|
+
}, undefined>;
|
|
376
|
+
};
|
|
377
|
+
readonly CONFLICT: {
|
|
378
|
+
readonly message: "Resource conflict";
|
|
379
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
380
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
381
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
382
|
+
}, undefined>;
|
|
383
|
+
};
|
|
384
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
385
|
+
readonly message: "Payload too large";
|
|
386
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
387
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
388
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
389
|
+
}, undefined>;
|
|
390
|
+
};
|
|
391
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
392
|
+
readonly message: "Unsupported media type";
|
|
393
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
394
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
395
|
+
}, undefined>;
|
|
396
|
+
};
|
|
397
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
398
|
+
readonly message: "Block content failed registry validation";
|
|
399
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
400
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
401
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
402
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
403
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
404
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
405
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
406
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
407
|
+
}, undefined>, undefined>;
|
|
408
|
+
}, undefined>;
|
|
409
|
+
};
|
|
410
|
+
}>, Record<never, never>>;
|
|
411
|
+
readonly delete: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
412
|
+
readonly domain: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").RegexAction<string, "domain must be a valid hostname">]>;
|
|
413
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
414
|
+
createdAt: Date;
|
|
415
|
+
domain: string;
|
|
416
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
417
|
+
isEnabled: boolean;
|
|
418
|
+
}, {
|
|
419
|
+
createdAt: Date;
|
|
420
|
+
domain: string;
|
|
421
|
+
defaultRole: "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
422
|
+
isEnabled: boolean;
|
|
423
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
424
|
+
readonly UNAUTHORIZED: {
|
|
425
|
+
readonly message: "Authentication required";
|
|
426
|
+
};
|
|
427
|
+
readonly BAD_REQUEST: {
|
|
428
|
+
readonly message: "Invalid input";
|
|
429
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
430
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
431
|
+
}, undefined>;
|
|
432
|
+
};
|
|
433
|
+
readonly FORBIDDEN: {
|
|
434
|
+
readonly message: "Permission denied";
|
|
435
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
436
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
437
|
+
}, undefined>;
|
|
438
|
+
};
|
|
439
|
+
readonly NOT_FOUND: {
|
|
440
|
+
readonly message: "Resource not found";
|
|
441
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
442
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
443
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
444
|
+
}, undefined>;
|
|
445
|
+
};
|
|
446
|
+
readonly CONFLICT: {
|
|
447
|
+
readonly message: "Resource conflict";
|
|
448
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
449
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
450
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
451
|
+
}, undefined>;
|
|
452
|
+
};
|
|
453
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
454
|
+
readonly message: "Payload too large";
|
|
455
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
456
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
457
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
458
|
+
}, undefined>;
|
|
459
|
+
};
|
|
460
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
461
|
+
readonly message: "Unsupported media type";
|
|
462
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
463
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
464
|
+
}, undefined>;
|
|
465
|
+
};
|
|
466
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
467
|
+
readonly message: "Block content failed registry validation";
|
|
468
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
469
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
470
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
471
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
472
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
473
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
474
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
475
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
476
|
+
}, undefined>, undefined>;
|
|
477
|
+
}, undefined>;
|
|
478
|
+
};
|
|
479
|
+
}>, Record<never, never>>;
|
|
480
|
+
};
|
|
481
|
+
readonly credentials: {
|
|
482
|
+
readonly list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").OptionalSchema<import("valibot").ObjectSchema<{}, undefined>, {}>, import("@orpc/server").Schema<{
|
|
483
|
+
id: string;
|
|
484
|
+
name: string | null;
|
|
485
|
+
isBackedUp: boolean;
|
|
486
|
+
transports: import("../../../index.js").CredentialTransport[] | null;
|
|
487
|
+
createdAt: Date;
|
|
488
|
+
lastUsedAt: Date;
|
|
489
|
+
}[], {
|
|
490
|
+
id: string;
|
|
491
|
+
name: string | null;
|
|
492
|
+
isBackedUp: boolean;
|
|
493
|
+
transports: import("../../../index.js").CredentialTransport[] | null;
|
|
494
|
+
createdAt: Date;
|
|
495
|
+
lastUsedAt: Date;
|
|
496
|
+
}[]>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
497
|
+
readonly UNAUTHORIZED: {
|
|
498
|
+
readonly message: "Authentication required";
|
|
499
|
+
};
|
|
500
|
+
readonly BAD_REQUEST: {
|
|
501
|
+
readonly message: "Invalid input";
|
|
502
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
503
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
504
|
+
}, undefined>;
|
|
505
|
+
};
|
|
506
|
+
readonly FORBIDDEN: {
|
|
507
|
+
readonly message: "Permission denied";
|
|
508
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
509
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
510
|
+
}, undefined>;
|
|
511
|
+
};
|
|
512
|
+
readonly NOT_FOUND: {
|
|
513
|
+
readonly message: "Resource not found";
|
|
514
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
515
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
516
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
517
|
+
}, undefined>;
|
|
518
|
+
};
|
|
519
|
+
readonly CONFLICT: {
|
|
520
|
+
readonly message: "Resource conflict";
|
|
521
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
522
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
523
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
524
|
+
}, undefined>;
|
|
525
|
+
};
|
|
526
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
527
|
+
readonly message: "Payload too large";
|
|
528
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
529
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
530
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
531
|
+
}, undefined>;
|
|
532
|
+
};
|
|
533
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
534
|
+
readonly message: "Unsupported media type";
|
|
535
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
536
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
537
|
+
}, undefined>;
|
|
538
|
+
};
|
|
539
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
540
|
+
readonly message: "Block content failed registry validation";
|
|
541
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
542
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
543
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
544
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
545
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
546
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
547
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
548
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
549
|
+
}, undefined>, undefined>;
|
|
550
|
+
}, undefined>;
|
|
551
|
+
};
|
|
552
|
+
}>, Record<never, never>>;
|
|
553
|
+
readonly rename: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
554
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 1024, undefined>]>;
|
|
555
|
+
readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, "name must be non-empty">, import("valibot").MaxLengthAction<string, 64, "name must be ≤ 64 chars">, import("valibot").RegexAction<string, "name must not contain newlines">]>;
|
|
556
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
557
|
+
id: string;
|
|
558
|
+
name: string | null;
|
|
559
|
+
}, {
|
|
560
|
+
id: string;
|
|
561
|
+
name: string | null;
|
|
562
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
563
|
+
readonly UNAUTHORIZED: {
|
|
564
|
+
readonly message: "Authentication required";
|
|
565
|
+
};
|
|
566
|
+
readonly BAD_REQUEST: {
|
|
567
|
+
readonly message: "Invalid input";
|
|
568
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
569
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
570
|
+
}, undefined>;
|
|
571
|
+
};
|
|
572
|
+
readonly FORBIDDEN: {
|
|
573
|
+
readonly message: "Permission denied";
|
|
574
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
575
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
576
|
+
}, undefined>;
|
|
577
|
+
};
|
|
578
|
+
readonly NOT_FOUND: {
|
|
579
|
+
readonly message: "Resource not found";
|
|
580
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
581
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
582
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
583
|
+
}, undefined>;
|
|
584
|
+
};
|
|
585
|
+
readonly CONFLICT: {
|
|
586
|
+
readonly message: "Resource conflict";
|
|
587
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
588
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
589
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
590
|
+
}, undefined>;
|
|
591
|
+
};
|
|
592
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
593
|
+
readonly message: "Payload too large";
|
|
594
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
595
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
596
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
597
|
+
}, undefined>;
|
|
598
|
+
};
|
|
599
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
600
|
+
readonly message: "Unsupported media type";
|
|
601
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
602
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
603
|
+
}, undefined>;
|
|
604
|
+
};
|
|
605
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
606
|
+
readonly message: "Block content failed registry validation";
|
|
607
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
608
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
609
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
610
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
611
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
612
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
613
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
614
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
615
|
+
}, undefined>, undefined>;
|
|
616
|
+
}, undefined>;
|
|
617
|
+
};
|
|
618
|
+
}>, Record<never, never>>;
|
|
619
|
+
readonly delete: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
620
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 1024, undefined>]>;
|
|
621
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
622
|
+
id: string;
|
|
623
|
+
}, {
|
|
624
|
+
id: string;
|
|
625
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
626
|
+
readonly UNAUTHORIZED: {
|
|
627
|
+
readonly message: "Authentication required";
|
|
628
|
+
};
|
|
629
|
+
readonly BAD_REQUEST: {
|
|
630
|
+
readonly message: "Invalid input";
|
|
631
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
632
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
633
|
+
}, undefined>;
|
|
634
|
+
};
|
|
635
|
+
readonly FORBIDDEN: {
|
|
636
|
+
readonly message: "Permission denied";
|
|
637
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
638
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
639
|
+
}, undefined>;
|
|
640
|
+
};
|
|
641
|
+
readonly NOT_FOUND: {
|
|
642
|
+
readonly message: "Resource not found";
|
|
643
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
644
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
645
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
646
|
+
}, undefined>;
|
|
647
|
+
};
|
|
648
|
+
readonly CONFLICT: {
|
|
649
|
+
readonly message: "Resource conflict";
|
|
650
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
651
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
652
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
653
|
+
}, undefined>;
|
|
654
|
+
};
|
|
655
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
656
|
+
readonly message: "Payload too large";
|
|
657
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
658
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
659
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
660
|
+
}, undefined>;
|
|
661
|
+
};
|
|
662
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
663
|
+
readonly message: "Unsupported media type";
|
|
664
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
665
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
666
|
+
}, undefined>;
|
|
667
|
+
};
|
|
668
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
669
|
+
readonly message: "Block content failed registry validation";
|
|
670
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
671
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
672
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
673
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
674
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
675
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
676
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
677
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
678
|
+
}, undefined>, undefined>;
|
|
679
|
+
}, undefined>;
|
|
680
|
+
};
|
|
681
|
+
}>, Record<never, never>>;
|
|
682
|
+
};
|
|
683
|
+
readonly sessions: {
|
|
684
|
+
readonly list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").OptionalSchema<import("valibot").ObjectSchema<{}, undefined>, {}>, import("@orpc/server").Schema<{
|
|
685
|
+
current: boolean;
|
|
686
|
+
id: string;
|
|
687
|
+
ipAddress: string | null;
|
|
688
|
+
userAgent: string | null;
|
|
689
|
+
createdAt: Date;
|
|
690
|
+
expiresAt: Date;
|
|
691
|
+
}[], {
|
|
692
|
+
current: boolean;
|
|
693
|
+
id: string;
|
|
694
|
+
ipAddress: string | null;
|
|
695
|
+
userAgent: string | null;
|
|
696
|
+
createdAt: Date;
|
|
697
|
+
expiresAt: Date;
|
|
698
|
+
}[]>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
699
|
+
readonly UNAUTHORIZED: {
|
|
700
|
+
readonly message: "Authentication required";
|
|
701
|
+
};
|
|
702
|
+
readonly BAD_REQUEST: {
|
|
703
|
+
readonly message: "Invalid input";
|
|
704
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
705
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
706
|
+
}, undefined>;
|
|
707
|
+
};
|
|
708
|
+
readonly FORBIDDEN: {
|
|
709
|
+
readonly message: "Permission denied";
|
|
710
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
711
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
712
|
+
}, undefined>;
|
|
713
|
+
};
|
|
714
|
+
readonly NOT_FOUND: {
|
|
715
|
+
readonly message: "Resource not found";
|
|
716
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
717
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
718
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
719
|
+
}, undefined>;
|
|
720
|
+
};
|
|
721
|
+
readonly CONFLICT: {
|
|
722
|
+
readonly message: "Resource conflict";
|
|
723
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
724
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
725
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
726
|
+
}, undefined>;
|
|
727
|
+
};
|
|
728
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
729
|
+
readonly message: "Payload too large";
|
|
730
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
731
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
732
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
733
|
+
}, undefined>;
|
|
734
|
+
};
|
|
735
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
736
|
+
readonly message: "Unsupported media type";
|
|
737
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
738
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
739
|
+
}, undefined>;
|
|
740
|
+
};
|
|
741
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
742
|
+
readonly message: "Block content failed registry validation";
|
|
743
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
744
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
745
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
746
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
747
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
748
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
749
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
750
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
751
|
+
}, undefined>, undefined>;
|
|
752
|
+
}, undefined>;
|
|
753
|
+
};
|
|
754
|
+
}>, Record<never, never>>;
|
|
755
|
+
readonly revoke: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
756
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>]>;
|
|
757
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
758
|
+
id: string;
|
|
759
|
+
}, {
|
|
760
|
+
id: string;
|
|
761
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
762
|
+
readonly UNAUTHORIZED: {
|
|
763
|
+
readonly message: "Authentication required";
|
|
764
|
+
};
|
|
765
|
+
readonly BAD_REQUEST: {
|
|
766
|
+
readonly message: "Invalid input";
|
|
767
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
768
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
769
|
+
}, undefined>;
|
|
770
|
+
};
|
|
771
|
+
readonly FORBIDDEN: {
|
|
772
|
+
readonly message: "Permission denied";
|
|
773
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
774
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
775
|
+
}, undefined>;
|
|
776
|
+
};
|
|
777
|
+
readonly NOT_FOUND: {
|
|
778
|
+
readonly message: "Resource not found";
|
|
779
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
780
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
781
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
782
|
+
}, undefined>;
|
|
783
|
+
};
|
|
784
|
+
readonly CONFLICT: {
|
|
785
|
+
readonly message: "Resource conflict";
|
|
786
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
787
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
788
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
789
|
+
}, undefined>;
|
|
790
|
+
};
|
|
791
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
792
|
+
readonly message: "Payload too large";
|
|
793
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
794
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
795
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
796
|
+
}, undefined>;
|
|
797
|
+
};
|
|
798
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
799
|
+
readonly message: "Unsupported media type";
|
|
800
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
801
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
802
|
+
}, undefined>;
|
|
803
|
+
};
|
|
804
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
805
|
+
readonly message: "Block content failed registry validation";
|
|
806
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
807
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
808
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
809
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
810
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
811
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
812
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
813
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
814
|
+
}, undefined>, undefined>;
|
|
815
|
+
}, undefined>;
|
|
816
|
+
};
|
|
817
|
+
}>, Record<never, never>>;
|
|
818
|
+
readonly revokeOthers: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").OptionalSchema<import("valibot").ObjectSchema<{}, undefined>, {}>, import("@orpc/server").Schema<{
|
|
819
|
+
revoked: number;
|
|
820
|
+
}, {
|
|
821
|
+
revoked: number;
|
|
822
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
823
|
+
readonly UNAUTHORIZED: {
|
|
824
|
+
readonly message: "Authentication required";
|
|
825
|
+
};
|
|
826
|
+
readonly BAD_REQUEST: {
|
|
827
|
+
readonly message: "Invalid input";
|
|
828
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
829
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
830
|
+
}, undefined>;
|
|
831
|
+
};
|
|
832
|
+
readonly FORBIDDEN: {
|
|
833
|
+
readonly message: "Permission denied";
|
|
834
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
835
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
836
|
+
}, undefined>;
|
|
837
|
+
};
|
|
838
|
+
readonly NOT_FOUND: {
|
|
839
|
+
readonly message: "Resource not found";
|
|
840
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
841
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
842
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
843
|
+
}, undefined>;
|
|
844
|
+
};
|
|
845
|
+
readonly CONFLICT: {
|
|
846
|
+
readonly message: "Resource conflict";
|
|
847
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
848
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
849
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
850
|
+
}, undefined>;
|
|
851
|
+
};
|
|
852
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
853
|
+
readonly message: "Payload too large";
|
|
854
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
855
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
856
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
857
|
+
}, undefined>;
|
|
858
|
+
};
|
|
859
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
860
|
+
readonly message: "Unsupported media type";
|
|
861
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
862
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
863
|
+
}, undefined>;
|
|
864
|
+
};
|
|
865
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
866
|
+
readonly message: "Block content failed registry validation";
|
|
867
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
868
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
869
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
870
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
871
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
872
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
873
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
874
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
875
|
+
}, undefined>, undefined>;
|
|
876
|
+
}, undefined>;
|
|
877
|
+
};
|
|
878
|
+
}>, Record<never, never>>;
|
|
879
|
+
};
|
|
880
|
+
readonly mailer: {
|
|
881
|
+
readonly testSend: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
882
|
+
readonly to: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>;
|
|
883
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
884
|
+
ok: true;
|
|
885
|
+
}, {
|
|
886
|
+
ok: true;
|
|
887
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
888
|
+
readonly UNAUTHORIZED: {
|
|
889
|
+
readonly message: "Authentication required";
|
|
890
|
+
};
|
|
891
|
+
readonly BAD_REQUEST: {
|
|
892
|
+
readonly message: "Invalid input";
|
|
893
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
894
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
895
|
+
}, undefined>;
|
|
896
|
+
};
|
|
897
|
+
readonly FORBIDDEN: {
|
|
898
|
+
readonly message: "Permission denied";
|
|
899
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
900
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
901
|
+
}, undefined>;
|
|
902
|
+
};
|
|
903
|
+
readonly NOT_FOUND: {
|
|
904
|
+
readonly message: "Resource not found";
|
|
905
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
906
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
907
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
908
|
+
}, undefined>;
|
|
909
|
+
};
|
|
910
|
+
readonly CONFLICT: {
|
|
911
|
+
readonly message: "Resource conflict";
|
|
912
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
913
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
914
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
915
|
+
}, undefined>;
|
|
916
|
+
};
|
|
917
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
918
|
+
readonly message: "Payload too large";
|
|
919
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
920
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
921
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
922
|
+
}, undefined>;
|
|
923
|
+
};
|
|
924
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
925
|
+
readonly message: "Unsupported media type";
|
|
926
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
927
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
928
|
+
}, undefined>;
|
|
929
|
+
};
|
|
930
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
931
|
+
readonly message: "Block content failed registry validation";
|
|
932
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
933
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
934
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
935
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
936
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
937
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
938
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
939
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
940
|
+
}, undefined>, undefined>;
|
|
941
|
+
}, undefined>;
|
|
942
|
+
};
|
|
943
|
+
}>, Record<never, never>>;
|
|
944
|
+
};
|
|
945
|
+
readonly apiTokens: {
|
|
946
|
+
readonly list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").OptionalSchema<import("valibot").ObjectSchema<{}, undefined>, {}>, import("@orpc/server").Schema<{
|
|
947
|
+
id: string;
|
|
948
|
+
name: string;
|
|
949
|
+
prefix: string;
|
|
950
|
+
expiresAt: Date | null;
|
|
951
|
+
lastUsedAt: Date | null;
|
|
952
|
+
createdAt: Date;
|
|
953
|
+
scopes: readonly string[] | null;
|
|
954
|
+
}[], {
|
|
955
|
+
id: string;
|
|
956
|
+
name: string;
|
|
957
|
+
prefix: string;
|
|
958
|
+
expiresAt: Date | null;
|
|
959
|
+
lastUsedAt: Date | null;
|
|
960
|
+
createdAt: Date;
|
|
961
|
+
scopes: readonly string[] | null;
|
|
962
|
+
}[]>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
963
|
+
readonly UNAUTHORIZED: {
|
|
964
|
+
readonly message: "Authentication required";
|
|
965
|
+
};
|
|
966
|
+
readonly BAD_REQUEST: {
|
|
967
|
+
readonly message: "Invalid input";
|
|
968
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
969
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
970
|
+
}, undefined>;
|
|
971
|
+
};
|
|
972
|
+
readonly FORBIDDEN: {
|
|
973
|
+
readonly message: "Permission denied";
|
|
974
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
975
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
976
|
+
}, undefined>;
|
|
977
|
+
};
|
|
978
|
+
readonly NOT_FOUND: {
|
|
979
|
+
readonly message: "Resource not found";
|
|
980
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
981
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
982
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
983
|
+
}, undefined>;
|
|
984
|
+
};
|
|
985
|
+
readonly CONFLICT: {
|
|
986
|
+
readonly message: "Resource conflict";
|
|
987
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
988
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
989
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
990
|
+
}, undefined>;
|
|
991
|
+
};
|
|
992
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
993
|
+
readonly message: "Payload too large";
|
|
994
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
995
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
996
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
997
|
+
}, undefined>;
|
|
998
|
+
};
|
|
999
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1000
|
+
readonly message: "Unsupported media type";
|
|
1001
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1002
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1003
|
+
}, undefined>;
|
|
1004
|
+
};
|
|
1005
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1006
|
+
readonly message: "Block content failed registry validation";
|
|
1007
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1008
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1009
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1010
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1011
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1012
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1013
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1014
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1015
|
+
}, undefined>, undefined>;
|
|
1016
|
+
}, undefined>;
|
|
1017
|
+
};
|
|
1018
|
+
}>, Record<never, never>>;
|
|
1019
|
+
readonly create: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
1020
|
+
readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, "name must be non-empty">, import("valibot").MaxLengthAction<string, 64, "name must be ≤ 64 chars">, import("valibot").RegexAction<string, "name must not contain newlines">]>;
|
|
1021
|
+
readonly expiresInDays: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").NullSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>], undefined>, 90>;
|
|
1022
|
+
readonly scopes: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").NullSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, "capability must be non-empty">, import("valibot").MaxLengthAction<string, 96, "capability must be ≤ 96 chars">, import("valibot").RegexAction<string, "capability uses [A-Za-z0-9_:.\\-*] only">]>, undefined>, import("valibot").MaxLengthAction<string[], 128, "≤ 128 scopes">]>], undefined>, null>;
|
|
1023
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
1024
|
+
secret: string;
|
|
1025
|
+
token: {
|
|
1026
|
+
id: string;
|
|
1027
|
+
name: string;
|
|
1028
|
+
prefix: string;
|
|
1029
|
+
expiresAt: Date | null;
|
|
1030
|
+
lastUsedAt: Date | null;
|
|
1031
|
+
createdAt: Date;
|
|
1032
|
+
scopes: readonly string[] | null;
|
|
1033
|
+
};
|
|
1034
|
+
}, {
|
|
1035
|
+
secret: string;
|
|
1036
|
+
token: {
|
|
1037
|
+
id: string;
|
|
1038
|
+
name: string;
|
|
1039
|
+
prefix: string;
|
|
1040
|
+
expiresAt: Date | null;
|
|
1041
|
+
lastUsedAt: Date | null;
|
|
1042
|
+
createdAt: Date;
|
|
1043
|
+
scopes: readonly string[] | null;
|
|
1044
|
+
};
|
|
1045
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
1046
|
+
readonly UNAUTHORIZED: {
|
|
1047
|
+
readonly message: "Authentication required";
|
|
1048
|
+
};
|
|
1049
|
+
readonly BAD_REQUEST: {
|
|
1050
|
+
readonly message: "Invalid input";
|
|
1051
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1052
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1053
|
+
}, undefined>;
|
|
1054
|
+
};
|
|
1055
|
+
readonly FORBIDDEN: {
|
|
1056
|
+
readonly message: "Permission denied";
|
|
1057
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1058
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
1059
|
+
}, undefined>;
|
|
1060
|
+
};
|
|
1061
|
+
readonly NOT_FOUND: {
|
|
1062
|
+
readonly message: "Resource not found";
|
|
1063
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1064
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
1065
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
1066
|
+
}, undefined>;
|
|
1067
|
+
};
|
|
1068
|
+
readonly CONFLICT: {
|
|
1069
|
+
readonly message: "Resource conflict";
|
|
1070
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1071
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1072
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1073
|
+
}, undefined>;
|
|
1074
|
+
};
|
|
1075
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
1076
|
+
readonly message: "Payload too large";
|
|
1077
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1078
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
1079
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1080
|
+
}, undefined>;
|
|
1081
|
+
};
|
|
1082
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1083
|
+
readonly message: "Unsupported media type";
|
|
1084
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1085
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1086
|
+
}, undefined>;
|
|
1087
|
+
};
|
|
1088
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1089
|
+
readonly message: "Block content failed registry validation";
|
|
1090
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1091
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1092
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1093
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1094
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1095
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1096
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1097
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1098
|
+
}, undefined>, undefined>;
|
|
1099
|
+
}, undefined>;
|
|
1100
|
+
};
|
|
1101
|
+
}>, Record<never, never>>;
|
|
1102
|
+
readonly revoke: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
1103
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>]>;
|
|
1104
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
1105
|
+
id: string;
|
|
1106
|
+
}, {
|
|
1107
|
+
id: string;
|
|
1108
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
1109
|
+
readonly UNAUTHORIZED: {
|
|
1110
|
+
readonly message: "Authentication required";
|
|
1111
|
+
};
|
|
1112
|
+
readonly BAD_REQUEST: {
|
|
1113
|
+
readonly message: "Invalid input";
|
|
1114
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1115
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1116
|
+
}, undefined>;
|
|
1117
|
+
};
|
|
1118
|
+
readonly FORBIDDEN: {
|
|
1119
|
+
readonly message: "Permission denied";
|
|
1120
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1121
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
1122
|
+
}, undefined>;
|
|
1123
|
+
};
|
|
1124
|
+
readonly NOT_FOUND: {
|
|
1125
|
+
readonly message: "Resource not found";
|
|
1126
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1127
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
1128
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
1129
|
+
}, undefined>;
|
|
1130
|
+
};
|
|
1131
|
+
readonly CONFLICT: {
|
|
1132
|
+
readonly message: "Resource conflict";
|
|
1133
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1134
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1135
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1136
|
+
}, undefined>;
|
|
1137
|
+
};
|
|
1138
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
1139
|
+
readonly message: "Payload too large";
|
|
1140
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1141
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
1142
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1143
|
+
}, undefined>;
|
|
1144
|
+
};
|
|
1145
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1146
|
+
readonly message: "Unsupported media type";
|
|
1147
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1148
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1149
|
+
}, undefined>;
|
|
1150
|
+
};
|
|
1151
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1152
|
+
readonly message: "Block content failed registry validation";
|
|
1153
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1154
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1155
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1156
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1157
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1158
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1159
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1160
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1161
|
+
}, undefined>, undefined>;
|
|
1162
|
+
}, undefined>;
|
|
1163
|
+
};
|
|
1164
|
+
}>, Record<never, never>>;
|
|
1165
|
+
readonly adminList: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
1166
|
+
readonly userId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
1167
|
+
readonly limit: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 200, undefined>]>, 50>;
|
|
1168
|
+
readonly offset: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, 0>;
|
|
1169
|
+
readonly includeRevoked: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, false>;
|
|
1170
|
+
}, undefined>, {}>, import("@orpc/server").Schema<{
|
|
1171
|
+
items: {
|
|
1172
|
+
id: string;
|
|
1173
|
+
name: string;
|
|
1174
|
+
prefix: string;
|
|
1175
|
+
scopes: readonly string[] | null;
|
|
1176
|
+
expiresAt: Date | null;
|
|
1177
|
+
lastUsedAt: Date | null;
|
|
1178
|
+
createdAt: Date;
|
|
1179
|
+
revokedAt: Date | null;
|
|
1180
|
+
user: {
|
|
1181
|
+
id: number;
|
|
1182
|
+
email: string;
|
|
1183
|
+
name: string | null;
|
|
1184
|
+
};
|
|
1185
|
+
}[];
|
|
1186
|
+
total: number;
|
|
1187
|
+
limit: number;
|
|
1188
|
+
offset: number;
|
|
1189
|
+
}, {
|
|
1190
|
+
items: {
|
|
1191
|
+
id: string;
|
|
1192
|
+
name: string;
|
|
1193
|
+
prefix: string;
|
|
1194
|
+
scopes: readonly string[] | null;
|
|
1195
|
+
expiresAt: Date | null;
|
|
1196
|
+
lastUsedAt: Date | null;
|
|
1197
|
+
createdAt: Date;
|
|
1198
|
+
revokedAt: Date | null;
|
|
1199
|
+
user: {
|
|
1200
|
+
id: number;
|
|
1201
|
+
email: string;
|
|
1202
|
+
name: string | null;
|
|
1203
|
+
};
|
|
1204
|
+
}[];
|
|
1205
|
+
total: number;
|
|
1206
|
+
limit: number;
|
|
1207
|
+
offset: number;
|
|
1208
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
1209
|
+
readonly UNAUTHORIZED: {
|
|
1210
|
+
readonly message: "Authentication required";
|
|
1211
|
+
};
|
|
1212
|
+
readonly BAD_REQUEST: {
|
|
1213
|
+
readonly message: "Invalid input";
|
|
1214
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1215
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1216
|
+
}, undefined>;
|
|
1217
|
+
};
|
|
1218
|
+
readonly FORBIDDEN: {
|
|
1219
|
+
readonly message: "Permission denied";
|
|
1220
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1221
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
1222
|
+
}, undefined>;
|
|
1223
|
+
};
|
|
1224
|
+
readonly NOT_FOUND: {
|
|
1225
|
+
readonly message: "Resource not found";
|
|
1226
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1227
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
1228
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
1229
|
+
}, undefined>;
|
|
1230
|
+
};
|
|
1231
|
+
readonly CONFLICT: {
|
|
1232
|
+
readonly message: "Resource conflict";
|
|
1233
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1234
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1235
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1236
|
+
}, undefined>;
|
|
1237
|
+
};
|
|
1238
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
1239
|
+
readonly message: "Payload too large";
|
|
1240
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1241
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
1242
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1243
|
+
}, undefined>;
|
|
1244
|
+
};
|
|
1245
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1246
|
+
readonly message: "Unsupported media type";
|
|
1247
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1248
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1249
|
+
}, undefined>;
|
|
1250
|
+
};
|
|
1251
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1252
|
+
readonly message: "Block content failed registry validation";
|
|
1253
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1254
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1255
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1256
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1257
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1258
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1259
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1260
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1261
|
+
}, undefined>, undefined>;
|
|
1262
|
+
}, undefined>;
|
|
1263
|
+
};
|
|
1264
|
+
}>, Record<never, never>>;
|
|
1265
|
+
readonly adminRevoke: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
1266
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>]>;
|
|
1267
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
1268
|
+
id: string;
|
|
1269
|
+
}, {
|
|
1270
|
+
id: string;
|
|
1271
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
1272
|
+
readonly UNAUTHORIZED: {
|
|
1273
|
+
readonly message: "Authentication required";
|
|
1274
|
+
};
|
|
1275
|
+
readonly BAD_REQUEST: {
|
|
1276
|
+
readonly message: "Invalid input";
|
|
1277
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1278
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1279
|
+
}, undefined>;
|
|
1280
|
+
};
|
|
1281
|
+
readonly FORBIDDEN: {
|
|
1282
|
+
readonly message: "Permission denied";
|
|
1283
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1284
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
1285
|
+
}, undefined>;
|
|
1286
|
+
};
|
|
1287
|
+
readonly NOT_FOUND: {
|
|
1288
|
+
readonly message: "Resource not found";
|
|
1289
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1290
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
1291
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
1292
|
+
}, undefined>;
|
|
1293
|
+
};
|
|
1294
|
+
readonly CONFLICT: {
|
|
1295
|
+
readonly message: "Resource conflict";
|
|
1296
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1297
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1298
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1299
|
+
}, undefined>;
|
|
1300
|
+
};
|
|
1301
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
1302
|
+
readonly message: "Payload too large";
|
|
1303
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1304
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
1305
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1306
|
+
}, undefined>;
|
|
1307
|
+
};
|
|
1308
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1309
|
+
readonly message: "Unsupported media type";
|
|
1310
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1311
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1312
|
+
}, undefined>;
|
|
1313
|
+
};
|
|
1314
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1315
|
+
readonly message: "Block content failed registry validation";
|
|
1316
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1317
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1318
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1319
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1320
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1321
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1322
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1323
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1324
|
+
}, undefined>, undefined>;
|
|
1325
|
+
}, undefined>;
|
|
1326
|
+
};
|
|
1327
|
+
}>, Record<never, never>>;
|
|
1328
|
+
};
|
|
1329
|
+
readonly deviceFlow: {
|
|
1330
|
+
readonly lookup: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
1331
|
+
readonly userCode: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToUpperCaseAction, import("valibot").TransformAction<string, string>, import("valibot").RegexAction<string, "user code must be 8 alphanum chars">]>;
|
|
1332
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
1333
|
+
ok: true;
|
|
1334
|
+
}, {
|
|
1335
|
+
ok: true;
|
|
1336
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
1337
|
+
readonly UNAUTHORIZED: {
|
|
1338
|
+
readonly message: "Authentication required";
|
|
1339
|
+
};
|
|
1340
|
+
readonly BAD_REQUEST: {
|
|
1341
|
+
readonly message: "Invalid input";
|
|
1342
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1343
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1344
|
+
}, undefined>;
|
|
1345
|
+
};
|
|
1346
|
+
readonly FORBIDDEN: {
|
|
1347
|
+
readonly message: "Permission denied";
|
|
1348
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1349
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
1350
|
+
}, undefined>;
|
|
1351
|
+
};
|
|
1352
|
+
readonly NOT_FOUND: {
|
|
1353
|
+
readonly message: "Resource not found";
|
|
1354
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1355
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
1356
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
1357
|
+
}, undefined>;
|
|
1358
|
+
};
|
|
1359
|
+
readonly CONFLICT: {
|
|
1360
|
+
readonly message: "Resource conflict";
|
|
1361
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1362
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1363
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1364
|
+
}, undefined>;
|
|
1365
|
+
};
|
|
1366
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
1367
|
+
readonly message: "Payload too large";
|
|
1368
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1369
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
1370
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1371
|
+
}, undefined>;
|
|
1372
|
+
};
|
|
1373
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1374
|
+
readonly message: "Unsupported media type";
|
|
1375
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1376
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1377
|
+
}, undefined>;
|
|
1378
|
+
};
|
|
1379
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1380
|
+
readonly message: "Block content failed registry validation";
|
|
1381
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1382
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1383
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1384
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1385
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1386
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1387
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1388
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1389
|
+
}, undefined>, undefined>;
|
|
1390
|
+
}, undefined>;
|
|
1391
|
+
};
|
|
1392
|
+
}>, Record<never, never>>;
|
|
1393
|
+
readonly approve: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
1394
|
+
readonly userCode: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToUpperCaseAction, import("valibot").TransformAction<string, string>, import("valibot").RegexAction<string, "user code must be 8 alphanum chars">]>;
|
|
1395
|
+
readonly tokenName: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, "name must be non-empty">, import("valibot").MaxLengthAction<string, 64, "name must be ≤ 64 chars">, import("valibot").RegexAction<string, "name must not contain newlines">]>;
|
|
1396
|
+
readonly scopes: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").NullSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, "capability must be non-empty">, import("valibot").MaxLengthAction<string, 96, "capability must be ≤ 96 chars">, import("valibot").RegexAction<string, "capability uses [A-Za-z0-9_:.\\-*] only">]>, undefined>, import("valibot").MaxLengthAction<string[], 128, "≤ 128 scopes">]>], undefined>, null>;
|
|
1397
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
1398
|
+
ok: true;
|
|
1399
|
+
}, {
|
|
1400
|
+
ok: true;
|
|
1401
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
1402
|
+
readonly UNAUTHORIZED: {
|
|
1403
|
+
readonly message: "Authentication required";
|
|
1404
|
+
};
|
|
1405
|
+
readonly BAD_REQUEST: {
|
|
1406
|
+
readonly message: "Invalid input";
|
|
1407
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1408
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1409
|
+
}, undefined>;
|
|
1410
|
+
};
|
|
1411
|
+
readonly FORBIDDEN: {
|
|
1412
|
+
readonly message: "Permission denied";
|
|
1413
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1414
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
1415
|
+
}, undefined>;
|
|
1416
|
+
};
|
|
1417
|
+
readonly NOT_FOUND: {
|
|
1418
|
+
readonly message: "Resource not found";
|
|
1419
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1420
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
1421
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
1422
|
+
}, undefined>;
|
|
1423
|
+
};
|
|
1424
|
+
readonly CONFLICT: {
|
|
1425
|
+
readonly message: "Resource conflict";
|
|
1426
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1427
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1428
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1429
|
+
}, undefined>;
|
|
1430
|
+
};
|
|
1431
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
1432
|
+
readonly message: "Payload too large";
|
|
1433
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1434
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
1435
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1436
|
+
}, undefined>;
|
|
1437
|
+
};
|
|
1438
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1439
|
+
readonly message: "Unsupported media type";
|
|
1440
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1441
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1442
|
+
}, undefined>;
|
|
1443
|
+
};
|
|
1444
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1445
|
+
readonly message: "Block content failed registry validation";
|
|
1446
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1447
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1448
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1449
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1450
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1451
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1452
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1453
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1454
|
+
}, undefined>, undefined>;
|
|
1455
|
+
}, undefined>;
|
|
1456
|
+
};
|
|
1457
|
+
}>, Record<never, never>>;
|
|
1458
|
+
readonly deny: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContextBase<typeof import("../../../db/schema/index.js")> & import("../../../index.js").AppContextExtensions & Record<never, never>, import("../../../index.js").AppContext>, import("@orpc/server").MergedCurrentContext<import("../../../index.js").AppContext, import("../../../index.js").AuthenticatedAppContext<typeof import("../../../db/schema/index.js")>>, import("valibot").ObjectSchema<{
|
|
1459
|
+
readonly userCode: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToUpperCaseAction, import("valibot").TransformAction<string, string>, import("valibot").RegexAction<string, "user code must be 8 alphanum chars">]>;
|
|
1460
|
+
}, undefined>, import("@orpc/server").Schema<{
|
|
1461
|
+
ok: true;
|
|
1462
|
+
}, {
|
|
1463
|
+
ok: true;
|
|
1464
|
+
}>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
|
|
1465
|
+
readonly UNAUTHORIZED: {
|
|
1466
|
+
readonly message: "Authentication required";
|
|
1467
|
+
};
|
|
1468
|
+
readonly BAD_REQUEST: {
|
|
1469
|
+
readonly message: "Invalid input";
|
|
1470
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1471
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1472
|
+
}, undefined>;
|
|
1473
|
+
};
|
|
1474
|
+
readonly FORBIDDEN: {
|
|
1475
|
+
readonly message: "Permission denied";
|
|
1476
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1477
|
+
readonly capability: import("valibot").StringSchema<undefined>;
|
|
1478
|
+
}, undefined>;
|
|
1479
|
+
};
|
|
1480
|
+
readonly NOT_FOUND: {
|
|
1481
|
+
readonly message: "Resource not found";
|
|
1482
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1483
|
+
readonly kind: import("valibot").StringSchema<undefined>;
|
|
1484
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
1485
|
+
}, undefined>;
|
|
1486
|
+
};
|
|
1487
|
+
readonly CONFLICT: {
|
|
1488
|
+
readonly message: "Resource conflict";
|
|
1489
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1490
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
1491
|
+
readonly key: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1492
|
+
}, undefined>;
|
|
1493
|
+
};
|
|
1494
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
1495
|
+
readonly message: "Payload too large";
|
|
1496
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1497
|
+
readonly limit: import("valibot").NumberSchema<undefined>;
|
|
1498
|
+
readonly received: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1499
|
+
}, undefined>;
|
|
1500
|
+
};
|
|
1501
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
1502
|
+
readonly message: "Unsupported media type";
|
|
1503
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1504
|
+
readonly mime: import("valibot").StringSchema<undefined>;
|
|
1505
|
+
}, undefined>;
|
|
1506
|
+
};
|
|
1507
|
+
readonly INVALID_BLOCK_CONTENT: {
|
|
1508
|
+
readonly message: "Block content failed registry validation";
|
|
1509
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1510
|
+
readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1511
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
1512
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
1513
|
+
readonly path: import("valibot").StringSchema<undefined>;
|
|
1514
|
+
readonly nodeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1515
|
+
readonly attributeName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1516
|
+
readonly markName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1517
|
+
}, undefined>, undefined>;
|
|
1518
|
+
}, undefined>;
|
|
1519
|
+
};
|
|
1520
|
+
}>, Record<never, never>>;
|
|
1521
|
+
};
|
|
1522
|
+
};
|
|
1523
|
+
export type AuthRouter = typeof authRouter;
|
|
1524
|
+
//# sourceMappingURL=index.d.ts.map
|